/*
Theme Name: Yamaten
Description: Yamaten
Author: MN
Author URI: http://mn-arts.com/
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:300,700&subset=japanese');
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP:400,700&subset=japanese');

* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

body {
  background: #f8f8f8;
  color: #000;
  /*font-family: 'Noto Sans JP', sans-serif;*/
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  letter-spacing: .03em;
  font-size: 15px;
  font-weight: 300;
  line-height: 2;
  min-width: 1100px;
}

.serif {
  font-family: 'Noto Serif JP', serif;
}

a {
  color: #000;
  text-decoration: none;
  transition: .3s;
}

a:hover {
  opacity: .5;
}

.inline-link a {
border-bottom: 1px solid #000;
}

img {
  width: 100%;
}

figure img {
  display: block;
}

.center {
  text-align: center;
}

.w80 {
  width: 80%;
  margin: 0 auto;
  max-width: 1000px;
}

.mt25 {
  margin-top: 25px;
}

.mt50 {
  margin-top: 50px;
}

.mt100 {
  margin-top: 100px;
}

.mt150 {
  margin-top: 150px;
}

.mt200 {
  margin-top: 200px;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f8f8f8;
  transition: 1.4s;
  z-index: 10000;
}

#loading div {
  animation: spin 1.4s linear infinite normal;
  border: 1px solid #ddd;
  border-right-color: #888;
  border-radius: 50%;
  height: 40px;
  left: 50%;
  position: fixed;
  top: 50%;
  margin: -20px 0 0 -20px;
  width: 40px;
}

@keyframes spin {
  from {} to {
    transform: rotate(360deg);
  }
}

#loading.hide {
  opacity: 0;
  visibility: hidden;
}

#loading.hide div {
  display: none;
}

header {
  position: fixed;
  left: 0;
  top: 0;
  padding: 150px 50px 50px;
  width: 300px;
  background: rgba(255,255,255,0);
  z-index: 100;
  transition: .3s;
}

header:hover {
  background: rgba(255,255,255,1);
}

.glogo {
  position: fixed;
  left: 50px;
  top: 50px;
  width: 50px;
  padding-left: 2px;
  z-index: 110;
}

header .title {
  position: fixed;
  right: 60px;
  top: 60px;
  width: 70px;
  z-index: 101;
  transition: .3s;
}

header .gnavi {
  list-style: none;
  font-size: 90%;
  line-height: 1.5;
  opacity: 0;
  transition: .3s;
}

header .gnavi a {
  display: block;
  margin-bottom: 15px;
}

header .gnavi.show,
header:hover .gnavi {
  opacity: 1;
}

header .gnavi .sub {
  font-size: 90%;
  padding: 5px 0 15px 15px;
}

header .gnavi .sub a {
  display: block;
}

.smp_btn {
  display: none;
}

@media screen and (max-width: 1280px){
  .glogo {
    left: 30px;
    top: 30px;
  }

  header {
    padding: 120px 30px 30px;
    width: 250px;
  }

  header .title {
    right: 30px;
    top: 30px;
    height: 65px;
    width: 60px;
    overflow: hidden;
  }

  header .title img {
    position: absolute;
    left: 0;
    bottom: 0;
  }

  header .gnavi {
    margin-top: 20px;
  }
}

.scroll {
  position: fixed;
  left: 50%;
  bottom: 5vh;
  z-index: 102;
  transition: .3s;
  cursor: pointer;
}

.scroll::after {
  content: '';
  display: block;
  margin: -7px 0 0 -7px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: rotate(45deg);
  width: 14px;
  height: 14px;
}

.scroll.hide {
  opacity: 0;
}

.pagetop {
  margin: 200px auto;
  width: 14px;
  cursor: pointer;
}

.pagetop::after {
  content: '';
  display: block;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  transform: rotate(45deg);
  width: 14px;
  height: 14px;
}

footer {
  background: #111;
  color: #fff;
  padding: 50px;
  position: relative;
  z-index: 102;
}

footer .logo {
  font-weight: 700;
  font-size: 120%;
}

footer address {
  margin-top: 20px;
  font-style: normal;
  font-size: 85%;
}

footer .copyright {
  color: #666;
  font-size: 75%;
  margin-top: 50px;
}

#main {
}

#main > figure:first-child {
  height: 90vh;
  position: relative;
  overflow: hidden;
  background: none no-repeat center center;
  background-size: cover;
}

#main .body {
  padding-left: 300px;
}

#main h2 {
  font-size: 225%;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .05em;
}

#main h3 {
  font-size: 150%;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .05em;
}

#main h4 {
  font-size: 133%;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .05em;
}

#main h4::before {
  content: '';
  display: block;
  background: #000;
  width: 30px;
  height: 1px;
  overflow: hidden;
  margin-bottom: 1em;
}

#main h5 {
  font-size: 117%;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .05em;
}

#slides {
  height: 90vh;
  position: relative;
}

#slides .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/wordpress/wp-content/uploads/2019/12/top.jpg) center center no-repeat;
  background-size: cover;
  opacity: 0;
  transition: 2s;
}

#slides .slide.show {
  opacity: 1;
}

#slides .slide_02 {
  background-image: url(/wordpress/wp-content/uploads/2019/12/item_10_L.jpg);
}

#slides .slide_03 {
  background-image: url(/wordpress/wp-content/uploads/2019/12/item_11_L.jpg);
}

#slides .slide_04 {
  background-image: url(/wordpress/wp-content/uploads/2019/12/kameboko.jpg);
}

#slides .slide_05 {
  background-image: url(/wordpress/wp-content/uploads/2021/12/sakananbou.jpg);
}

.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex.rev {
  flex-direction: row-reverse;
}

.flex .photo {
  width: 55%;
}

.flex .text {
  width: 40%;
}

.flex.s .photo {
  width: 40%;
}

.flex.s .text {
  width: 55%;
}

.flex.s .text p {
  font-size: 90%;
}

.flex.ss .photo {
  width: 15%;
}

.flex.ss .text {
  width: 82%;
}

.thumb {
  align-items: center;
}

.thumb .photo {
  width: 35%;
}

.thumb .text {
  width: 60%;
}

.award {
  border: 1px solid #000;
  padding: 15px;
}

.award h5 {
  padding-bottom: 10px;
}

.item {
  width: 32%;
  display: block;
  margin-top: 50px;
  background: #fff;
}

.item:nth-last-of-type(-n+2) {
  margin-top: 0;
  height: 0;
}

.item h5 {
  padding: 25px;
}

.lineup .item figure img {
  filter: brightness(96%);
}

.lineup_nav {
  margin-top: 200px;
  text-align: center;
  width: 100%;
  max-width: inherit;
  padding-right: 300px;
}

.lineup_nav a {
  display: inline-block;
  width: 200px;
  height: 20px;
  line-height: 20px;
}

.spec {
  color: #444;
  border: 1px solid #ddd;
  border-width: 1px 0 1px 0;
  padding: 25px 0;
  font-size: 90%;
}

.tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  color: #fff;
  background: #FF3D00;
  font-size: 14px;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  letter-spacing: .05em;
  padding: 4px;
}

#main h3.category {
  font-size: 225%;
  letter-spacing: .05em;
}

.archive article:nth-of-type(n+2) {
  margin-top: 30px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

.archive #main h5 {
  padding-top: 5px;
}

.archive #main .content-body {
  color: #666;
  padding-top: 10px;
  line-height: 1.7;
}

.archive #main a {
  color: #ee6622;
}

.history .photo img {
  filter: grayscale(1);
}

.history table {
  border: 0;
  border-collapse: collapse;
  width: 100%;
}

.history tr {
  border-top: 1px solid #ddd;
}

.history th {
  width: 180px;
  color: #666;
  font-weight: 300;
  padding: 15px 0;
  text-align: left;
  vertical-align: top;
}

.history td {
  padding: 15px 0;
}

.history iframe {
  width: 100%;
}

.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.youtube iframe,
.youtube video {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

.news .scroll {
  display: none;
}

.shopping .box {
  display: inline-block;
  background: #000;
  line-height: 60px;
  color: #fff;
  padding: 0 30px;
  font-weight: 700;
}

.forsupplier .box {
  display: inline-block;
  background: #000;
  line-height: 60px;
  color: #fff;
  padding: 0 30px;
  font-weight: 700;
}






@media screen and (max-width: 768px) {

body {
  font-size: 13px;
  min-width: inherit;
}

.w80 {
  width: 84%;
}

.mt25 {
  margin-top: 15px;
}

.mt50 {
  margin-top: 35px;
}

.mt100 {
  margin-top: 70px;
}

.mt150 {
  margin-top: 100px;
}

.mt200 {
  margin-top: 135px;
}

header {
  background: rgba(255,255,255,1);
  padding: 90px 8vw;
  width: 100%;
  right: 0;
  bottom: 0;
  z-index: 103;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

header.show {
  opacity: 1;
  visibility: visible;
}

header .gnavi {
  opacity: 1;
  padding-right: 80px;
}

header .gnavi .sub {
  display: none;
}

.glogo {
  width: 50px;
  height: 60px;
  left: 10px;
  top: 10px;
  padding: 10px;
}

header .title {
  top: 120px;
  height: auto;
  width: 50px;
  overflow: auto;
}

header .title img {
  position: static;
}

.smp_btn {
  display: block;
  background: #181f71;
  color: #fff;
  position: fixed;
  right: 0;
  top: 0;
  width: 60px;
  line-height: 40px;
  font-size: 300%;
  padding: 0 0 5px;
  text-align: center;
  z-index: 105;
}

.smp_btn span {
  font-size: 25%;
  display: block;
  line-height: 15px;
}

.scroll {
  display: none;
}

.pagetop {
  margin: 100px auto;
}

.pagetop::after {
  content: '';
  display: block;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  transform: rotate(45deg);
  width: 14px;
  height: 14px;
}

footer {
  padding: 8vw;
}

#main .body {
  padding-left: 0;
}

#main > figure:first-child {
  height: 70vw;
}

#main h2 {
  font-size: 150%;
  text-align: center;
  margin-bottom: 35px;
}

#main h3 {
  font-size: 133%;
}

#main h3.category {
  font-size: 175%;
  text-align: center;
  margin-bottom: 35px;
}

#main h4 {
  font-size: 125%;
}

#main h5 {
  font-size: 112%;
}

/*#slides {
  height: 70vw;
}

#slides .slide {
  position: relative;
  height: 56vw;
  opacity: 1;
}*/

#slides .slide_01 {
  background-image: url(/wordpress/wp-content/uploads/2019/12/smptop_1.jpg);
}

#slides .slide_02 {
  background-image: url(/wordpress/wp-content/uploads/2019/12/smptop_2.jpg);
}

#slides .slide_03 {
  background-image: url(/wordpress/wp-content/uploads/2019/12/smptop_3.jpg);
}

#slides .slide_04 {
  background-image: url(/wordpress/wp-content/uploads/2019/12/smptop_4.jpg);
}

.flex {
  display: block;
}

.flex .photo,
.flex .text,
.thumb .photo,
.thumb .text {
  width: 100% !important;
}

.flex .text h4 {
  margin-top: 25px;
}

.flex .text,
.thumb .text {
  margin-top: 15px;
}

.flex.ss {
  display: flex;
}

.flex.ss .photo {
  width: 20% !important;
}

.flex.ss .text {
  margin-top: 0;
  width: 75% !important;
}

.home .col3 {
  max-width: 500px;
}

.home .col3 .item {
  width: 100%;
}

.lineup .body .col3 {
  display: flex;
  margin-top: 35px;
}

.item {
  width: 49%;
  margin-top: 15px;
}

.gift {
  width: 100%;
}

.item h5 {
  font-size: 100% !important;
  padding: 10px 15px;
}

.home .item h5 {
  font-size: 112% !important;
  padding: 20px 0;
}

.lineup_nav {
  margin-top: 100px;
  padding-right: 0;
}

.lineup_nav a {
  width: 30%;
}

.history tr,
.history th,
.history td {
  display: block;
  width: 100%;
}

.history th {
  padding: 15px 0 0;
}

.history td {
  padding: 5px 0 15px 0;
}

.history iframe {
  height: 70vw;
}

.shopping .box {
  display: block;
  line-height: 70px;
  padding: 0;
  text-align: center;
}

.forsupplier .box {
  display: block;
  line-height: 70px;
  padding: 0;
  text-align: center;
}

}

.lang {
  position: absolute;
  left: 140px;
  top: 65px;
  font-size: 85%;
width: 200px;
}

.lang span {
  opacity: .5;
}

@media screen and (max-width: 1280px){
.lang {
  left: 110px;
  top: 45px;
}
}

@media screen and (max-width: 768px) {
.lang {
  left: 80px;
  top: 25px;
  font-size: 93%;
}
}