.m-top{
  top: 100px;
}

.m-top-ttl {
  display: flex;
  position    : relative;
  margin      : auto;
  box-sizing  : border-box;
  width   : 100%;
  height: 100%;
  background-color: #222955;
  opacity: 0.8;
}

.m-top-ttl h2 {
  font-size: 2.3em;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  margin-left: 10%;
  color:  #ffffff;
  text-shadow    : 
  2px  2px 1px #000000,
 -2px  2px 1px #000000,
  2px -2px 1px #000000,
 -2px -2px 1px #000000,
  2px  0px 1px #000000,
  0px  2px 1px #000000,
 -2px  0px 1px #000000,
  0px -2px 1px #000000; 
}
.m-top-img{
  width: 50%;
  height: 400px;
}
.m-top-img img{
  height: 100%;
  display: block;
  margin: 0 auto;
}

.m-top-ttl span {
  font-size: 16px;
  display: contents;
  text-align: right;
  padding-right: 20px;
}

.m-top-sub {
  color: #333;
  padding: 50px 10%;
  border-top: 5px solid #1a1672;
  border-bottom: 5px solid #1a1672;
}

.banner{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a16721a;
  border-bottom: 5px solid #1a1672;
}
.banner img{
  width: 300px;
  height: 225px;
  margin: auto 30px;
  display: block;
}
.banner a:hover{
  opacity: 0.5;
}
.product {
  margin: 30px 10%;
  font-size: 1.1em;
  color: black;
}

.product h3 {
  position: relative;
  display: inline-block;
  padding: 0 55px;
  font-size: 1.3em;
  margin-bottom: 50px;
}

.product h3:before,.product h3:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: black;
}

.product h3:before {
  left: 0;
}

.product h3:after {
  right: 0;
}

.product-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.product-main a {
  display: block;
  text-align: center;
  width: 25%;
  padding: 0 10px;
  border-left: 1px solid lightgray;
  border-right: 1px solid lightgray;
  text-decoration: none;
  color: #1a1672;
}

.product-main b {
  display: block;
  font-size: 1.3em;
}

.frame1 {
  background-image: url(../img/hermesealS-2.jpg);
}

.frame2 {
  background-image: url(../img/hermesealSS80CHB.jpg);
}

.frame3 {
  background-image: url(../img/hermetiteR-30.jpg);
}

.frame4 {
  background-image: url(../img/hermesuper-alpha.jpg);
}

.product-main div {
  background-size: cover;
  position: relative;
  display: inline-block;
  border-radius: 50%;
  width: 200px;
  height: 200px;
}

.product-main :hover {
  opacity: 0.5;
}

.product-sub {
  width: 500px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  margin: 50px auto;
  background-color: #1a1672;
  border-right: 3px solid #333;
  border-bottom: 3px solid #333;
}

.product-sub a {
  display: block;
  color: white;
  text-decoration: none;
}

.product-sub :hover {
  opacity: 0.5;
}

.subcontents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 0 10%;
}

.subcontents span {
  font-size: 1.1em;
  color: white;
  background-color: #1a1672;
  display: inline;
  padding: 0 5px;
}

.leftmenu {
  width: 450px;
  margin: 5px;
  display:        flex;
  flex-direction: column;
  justify-content: space-between
}

.news table {
  width: 100%;
  margin-top: 3px;
  line-height: 3em;
}

.news th {
  width: 15%;
  border-bottom: 1px solid #333;
  /* font-size: 0.8em; */
  text-align: left;
}

.news td {
  width: 85%;
  border-bottom: 1px solid #333;
  /* font-size: 0.8em; */
}
.news td :hover{
  opacity: 0.5;
}

.news td a {
  text-decoration: none;
}

.news p {
  text-align: right;
  font-size: 0.8em;
  margin: 10px 0;
}

/* 新着情報「NEW!」表示 */

.news table span{
  display        : inline-block;       /* インラインボックス定義  */
  background     : #ff0000;            /* 背景色                  */
  color          : #ffffff;            /* 文字色                  */
  font-weight    : bold;               /* 太字                    */
  font-size      : 10pt;               /* ベースの文字サイズ      */
  letter-spacing : -1px;               /* 文字間隔詰め            */
  line-height    : 1;                  /* 1行の高さ               */
  vertical-align : baseline;                /* 基準の高さ位置          */
  margin         : 0;                  /* 外余白なし              */
  padding        : 2px;                /* 反転時の内余白          */
  transform      : scale(0.6)          /* 文字サイズ変更          */
                   translateX(-30%);    /* 横位置調整              */
                                       /* ブリンクのアニメ指定    */
  animation      : newAnime .7s infinite alternate;
}
@keyframes newAnime {
  0% { color      : #ff0000;          /* ブリンク時の文字色      */
       background : #ffffff;          /* ブリンク時の背景色      */
     }
     100% { color      : #ffffff;          /* ブリンク時の文字色      */
      background : #ff0000;          /* ブリンク時の背景色      */
    }
  }
  
  /* ここまで */

  .sds a{
    width: 100%;
    max-width: 400px;
    height: 45px;
    line-height: 45px;
    display: block;
    margin: 0 auto;
    text-align: center;
    position    : relative;
    box-sizing  : border-box;
    background  : linear-gradient(to bottom, #cfd87a, #d69136);
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 20px;
    text-decoration: none;
    text-shadow : 2px 3px #ffffff;
  }
  
  
  .pickup {
    margin-top: 20px;
  }
  
  .pickup img {
  width: 100%;
  margin-top: 3px;
}

.rightmenu {
  width: 450px;
  margin: 5px;
}
.rightmenu a:hover{
  opacity: 0.5;
}

.rightmenu img {
  margin-top: 3px;
}
.rightmenu span{
  margin: 5px;
}

.topic img {
  width: 100%;
}
.topic a{
  width: 100%;
  max-width: 400px;
  height: 45px;
  line-height: 45px;
  display: block;
  margin: 5px auto;
  text-align: center;
  background  : linear-gradient(to bottom, #f6fcdb, #d9f17b);
  font-size: 1.4em;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  letter-spacing: 10px;
  text-shadow: 
       2px  2px 0px #000000,
      -2px  2px 0px #000000,
       2px -2px 0px #000000,
      -2px -2px 0px #000000,
       2px  0px 0px #000000,
       0px  2px 0px #000000,
      -2px  0px 0px #000000,
       0px -2px 0px #000000;
}
.new a{
  width: 100%;
  max-width: 400px;
  height: 45px;
  line-height: 45px;
  display: block;
  margin: 5px auto;
  text-align: center;
  background  : linear-gradient(to bottom, #fceddb, #ef7bf1);
  font-size: 1.4em;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  letter-spacing: 10px;
  text-shadow: 
       2px  2px 0px #000000,
      -2px  2px 0px #000000,
       2px -2px 0px #000000,
      -2px -2px 0px #000000,
       2px  0px 0px #000000,
       0px  2px 0px #000000,
      -2px  0px 0px #000000,
       0px -2px 0px #000000;
}

.english img {
  width: 100%;
  max-width: 400px;
  height: 45px;
  display: block;
  margin: 5px auto;
}

.catalog a{
  width: 100%;
  max-width: 400px;
  height: 45px;
  line-height: 45px;
  display: block;
  margin: 5px auto;
  text-align: center;
  position    : relative;
  box-sizing  : border-box;
  background  : linear-gradient(to bottom, #dbfcef, #66baff);
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 20px;
  text-decoration: none;
  text-shadow : 2px 3px #ffffff;
}
@media screen and (max-width: 1080px) {
  .product {
    margin: 30px 1%;
  }
  .subcontents {
    margin: 0 1%;
  }
}


@media screen and (max-width: 960px) {
 
  .m-top-ttl{
     height: 350px;
     background-image: url(../img/main-img.jpg);
     background-position: center;
     background-size: cover;
     background-repeat: no-repeat;

  }
  .m-top-ttl h2 {
    margin: 100px auto 100px 10%;
    position: absolute;
  }
  .m-top-img{
    height: auto;
    width: auto;
  }
  .m-top-ttl img{
    display: none;
  }
  .product-main div {
    width: 150px;
    height: 150px;
  }
}


@media screen and (max-width: 750px){

  .m-top-ttl{
    height: 200px;
  }
  .m-top-ttl h2 {
    margin: 50px 10px;
  font-size: 1.5em;
  }
  .m-top-sub {
    padding: 10px;
  }
  .banner{
    justify-content: space-around;
  }
  .banner img{
    width: 150px;
    height: 112px;
    margin: 0 auto;
  }
  .product-main {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .product-main a {
    width: 40%;
  }
  .product-main b {
    font-size: 1em;
  }
  .product-main div {
    width: 100px;
    height: 100px;
  }
  .product-main p {
    font-size: 0.8em;
  }
  .product-sub {
    width: 98%;
  }
  .subcontents {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .leftmenu {
    width: auto;
  }
  .pickup {
    display: none;
  }
  .rightmenu {
    width: auto;
  }
  .catalog a{
    font-size: 1.2em;
  }
}