@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 62.5%;
}
body {
  background: #ffffff;
  background-size: cover;
  color: #333;
  text-align: center;
  font-size: 1.4rem;
  font-family: Raleway, "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}


/* --------------------------------
 * parts
 * -------------------------------- */
.heading {
  position: relative;
  display: inline-block;
  margin: 30px 0 15px;
  padding-bottom: 15px;
  letter-spacing: 2px;
  font-size: 4rem;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.heading::before,
.heading::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #999;
}
.heading::before {
  bottom: 5px;
}
.button {
  display: inline-block;
  width: 200px;
  padding: 20px;
  border-radius: 4px;
  background-color: #b17843;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 1.2rem;
}
.button:hover {
  opacity: 0.9;
}
.button2 {
  display: inline-block;
  width: 200px;
  padding: 20px;
  border-radius: 4px;
  background-color: #748996;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 1.2rem;
}
.button2:hover {
  opacity: 0.9;
}
.button-showy {
  background-color: #D29E04;
}
.button-ghost {
  border: 1px solid #fff;
  background-color: rgba(255, 255, 255, 0.15);
}
/* --------------------------------
 * メニュー
 * -------------------------------- */
/* ヘッダー */
header {
	position: relative;
  height:62px;
  background-color:#fff;
}
.header-container {
  width:auto;
	padding: 10px 0 0 10px;
  background: #ffffff;
}
.header-logo {
	margin: 0;
	width: 139px;
	height: 44px;
	background-image: url(../images/logo.png);
	background-size: 139px 44px;
	background-repeat: no-repeat;
	text-indent: -9999px;
}
@media screen and (min-width: 768px) {
	/* ヘッダー */
	.header-container {
		padding: 10px 0 0 10px;
	}
	.header-logo {
		width: 139px;
		height: 44px;
		background-size: 139px 44px;
	}
}
.header-navbtn {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 30;
	width: 62px;
	height: 62px;
	background-image: url(../images/navbtn.png);
	background-size: 62px 62px;
}
.header-navbtn:hover, .header-navbtn:active {
	background-color: #c9c3b6;
}
@media screen and (min-width: 768px) {
	.header-navbtn {
		display: none;
	}
}

/* ナビゲーション */
nav {
	font-size: 1.4rem;
	background: #ffffff;
}
@media screen and (min-width: 768px) {
	nav {
		font-size: 1.4rem;
	}
}
.nav-container {
	position: absolute;
	top: 62px;
	right: 0;
	z-index: 20;
	margin: 0;
	padding: 0;
	width: 100%;
	background: #ffffff;
	box-shadow: 0px 5px 5px  rgba(0,0,0,0.4);
}
.globalnav {
	list-style: none;
	margin: 0;
	padding: 0;
}
.globalnav li a {
	display: block;
  width: 100%;
	padding: 15px 20px;
	border-bottom: 1px solid #c9c3b6;
	text-decoration: none;
	line-height: 100%;
	color: #333;
}
.globalnav li a:hover,
.globalnav li a.current {
	background: #e6d9c7;
	color: #ffffff;
}
@media screen and (min-width: 768px) {
	.nav-container {
		position: relative;
		top: 0;
		left: 0;
		padding: 0 20px 0 20px;
		width: 100%;
		background: none;
		box-shadow: none;
	}
	.globalnav {
		display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
	}
  .globalnav ul{
   margin: 0;
	}
	.globalnav li {
  margin:0 10px 0 10px;
	}
	.globalnav li a {
    width: 100%;
		padding: 10px 0;
		text-align: center;
    border-bottom: none;
	}
	.globalnav li a:hover,
  .globalnav li a.current {
    background: #fff;
    color: gray;
	}
}
/* ========== Javascript用CSS ========== */
/* ナビゲーションを最初は非表示。 */
#js-slidemenu {
	display: none;
}
/* パソコン向けではナビゲーションを常に表示 */
@media screen and (min-width: 768px) {
	#js-slidemenu {
		display: block !important; 
	}
}
/* ナビゲーションが開いたときに画面を暗くする処理のためのCSS */
.js-slidemenu-effect {
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.4;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
}
.header-nav-wrapper{
  position:fixed;
  z-index:11;
  left:0;
  top:0;
  width:100%;
}
@media screen and (min-width: 768px) {
	.header-nav-wrapper {
		display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width:100%;
    background-color:#fff;
	}
}
.main-wrapper{
  position:absolute;
  z-index: 9;
  left:0;
  top:44px;
  width:100%;
}
/* --------------------------------
 * main-img
 * -------------------------------- */
.main-img {
  height:650px;
  background: url(../images/63657777.jpg) center top no-repeat;
  background-size:cover;
  position:relative;
}
.main-conts{
  
}
.main-title{
	width:500px;
	height:auto;
	position:absolute;
	top:50%;
	left:50%;
  margin-top:-150px;
  margin-left:-250px;
}


/* --------------------------------
 * about
 * -------------------------------- */
.about {
  padding: 80px 30px;
  background-color: #fff;
  color: #333;
}
.about-text {
  margin: 30px 0;
  line-height: 2.5;
}
  /* --- 東京堂せしぼん発酵の町 --- */
/*中のコンテンツを横並び+中央寄せ+写真と文字の水平方向を中央に合わせる */
.broken-back {
  display: flex;
  justify-content: center;
  align-items: center;
  width:100%;
  margin:30px 0 30px 0;
  padding:30px 0 30px 0;
  background-color: rgb(236, 233, 219);
}
.broken {
  display: flex;
  justify-content: center;
  align-items: center;
  width:100%;
  max-width:1200px;
  background-color: rgb(236, 233, 219);
}
.broken__text{
  text-align: left;
}
/*line-height+letter-spacingで文字のレイアウトを調整*/
/*rerative+leftで写真側に寄せる(ここ大事！！)*/
/*写真との重なり順をz-indexを調節*/
.broken__texts_l {
  line-height: 30px;
  letter-spacing: 1px;
  position: relative;
  left: 5%;
  padding: 10px 30px 20px 30px;
  z-index: 2;
  color: #333;
  background-color: rgba(255,255,255,0.5);
}
.broken__texts_r {
  order:2;
  line-height: 30px;
  letter-spacing: 1px;
  position: relative;
  right: 2%;
  padding: 10px 30px 20px 30px;
  z-index: 2;
  color: #333;
  background-color: rgba(255,255,255,0.5);
}
.broken__title {
  font-size: 3rem;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
/*pタグの一番上のみ上に余白を作る*/
.broken__text:first-of-type {
  margin-top: 40px;
}
.broken__photo-r{
  height: auto;
  width: 50%;
}
.broken__photo-l{
  order:1;
  height: auto;
  width: 35%;
}
.broken__btn {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  border: 1px solid #f1b65d;
  color: #f1b65d;
  border-radius: 30px;
}
/* --------------------------------
 * 注釈文字デザイン
 * -------------------------------- */
p.note {
  font-size: 1.2rem;
}

/* --------------------------------
 * まぜこみ上越のフレーバー
 * -------------------------------- */
.btn-mazekomi{
  display:flex;
  justify-content: center;
}
.btn-mazekomi .button {
  width: 30%;
  margin-top: 20px;
  margin-right: 2.5%;
  margin-left: 2.5%;
  padding: 3px;
  background-color: rgb(204, 77, 38);
}
.rate{
  position: relative;
  display: inline-block;
  }
  .rate:before{
  content: "★★★★★";
  color: #ccc;
  }
  
  .rate0-5:after,
  .rate1:before,
  .rate1:after,
  .rate1-5:before,
  .rate1-5:after,
  .rate2:before,
  .rate2:after,
  .rate2-5:before,
  .rate2-5:after,
  .rate3:before,
  .rate3:after,
  .rate3-5:before,
  .rate3-5:after,
  .rate4:before,
  .rate4:after,
  .rate4-5:before,
  .rate4-5:after,
  .rate5:after{
  position: absolute;
  top:0;
  left:0;
  color: #FFA500;
  overflow: hidden;
  height: 24px;
  }
  
  .rate .rate0-5:after,
  .rate .rate1-5:after,
  .rate .rate2-5:after,
  .rate .rate3-5:after,
  .rate .rate4-5:after{
    width: 8px;
    content: "★";
  }
  
  .rate .rate1:after,
  .rate .rate1-5:before{
    content: "★";
  }
  .rate .rate1-5:after{
    left: 1em;
  }
  .rate .rate2:after,
  .rate .rate2-5:before{
    content: "★★";
  }
  .rate .rate2-5:after{
    left: 2em;
  }
  .rate .rate3:after,
  .rate .rate3-5:before{
    content: "★★★";
  }
  .rate .rate3-5:after{
    left: 3em;
  }
  .rate .rate4:after,
  .rate .rate4-5:before{
    content: "★★★★";
  }
  .rate .rate4-5:after{
    left: 4em;
  }
  .rate .rate5:after{
    content: "★★★★★";
  }
/* --------------------------------
 * STORY
 * -------------------------------- */
.works {
  padding: 80px 0;
  background-color: #ffffff;
}
.works-wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 60px;
}
.work-box {
  display: flex;
  width: 100%;
  max-width: 1200px;
}
.s-matidamiso{
}
.s-sake{
}
.s-sake .work-image{
  order:2;
}
.s-sake .work-description{
  order:1;
}
.s-doburoku{
}
.work-image {
  position: relative;
  width: 50%;
  margin:0;
  padding:0;
}
.work-image img{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}
.work-description {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e7e0cb;
}
.work-description-inner {
  background-color: rgb(255, 255, 255);
  padding:0 30px 0 30px;
  width:100%;
}
.work-text {
  font-size: 1.2rem;
  line-height: 2;
  text-align: left;
}
.btn-shop{
  display:flex;
  justify-content: center;
}
.btn-shop .button {
  width: 30%;
  margin-top: 20px;
  margin-right: 2.5%;
  margin-left: 2.5%;
  margin-bottom: 20px;
  padding: 3px;
  background-color: #D29E04;
}


/* --------------------------------
 * skills
 * -------------------------------- */
.skills {
  padding: 80px 0;
  background-color: #fff;
  color: #333;
}
.skills-wrapper {
  display: table;
  width: 80%;
  margin: 50px auto 0;
  table-layout: fixed;
}
.skill-box {
  display: table-cell;
}
.skill-box img{
  width:150px;
  height:150px;
  margin-bottom: 30px;
}
.skill-box .seien{
	border-radius: 75px;
}
.skill-title {
  margin: 0 20px 20px;
  font-size: 2rem;
}
.skill-text {
  margin: 0 20px;
  line-height: 2;
}

/* --------------------------------
 * contact
 * -------------------------------- */
.contact {
  padding: 80px 0 150px;
}
.contact-form {
  width: 50%;
  margin: 50px auto 0;
}
.contact-form input[type=text],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 15px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.contact-form input[type=text]:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5) inset;
}
.contact-form textarea {
  height: 150px;
}
.contact-form input[type=submit] {
  display: block;
  width: 200px;
  margin: 40px auto 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.contact-form input[type=submit]:hover {
  background-color: rgba(255, 255, 255, 0.05);
}


/* --------------------------------
 * footer
 * -------------------------------- */
.footer {
  padding: 12px 0;
  font-size: 1.3rem;
}


/* --------------------------------
 * smart phone
 * -------------------------------- */
@media (max-width: 1024px) {
  body {
    background-image: none;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 1.3rem;
  }
  .heading {
    margin-top: 20px;
    font-size: 2.5rem;
  }
  .button:hover {
    opacity: 1;
  }
/* ---main-img--- */
 .main-img {
  height:500px;
  background: url(../images/63657777.jpg) center top no-repeat;
  background-size:cover;
  position:relative;
}
.main-conts{
  
}
.main-title{
	width:400px;
	height:auto;
	position:absolute;
	top:50%;
	left:50%;
  margin-top:-150px;
  margin-left:-200px;
}
 /* ---メニュー --- */
 .g-menu{
  width:100%;
  height:auto;
  position:fixed;
  z-index:10;
  left:0;
  top:0;
  background-color: #fff;
}
.main-wrapper{
  position:absolute;
  zindex:0;
  left:0;
  top:50px;
  width:100%;
}

  /* --- header --- */
  .main-img {
    padding-top: 60px;
  }
  .site-title-sub {
    font-size: 1.7rem;
  }
  .site-title-sub::before,
  .site-title-sub::after {
    display: block;
    width: 80%;
    margin: 10px auto;
  }
  .site-title {
    margin-top: 35px;
    font-size: 5rem;
  }
  /* --- works --- */
  .works-wrapper,
  .work-box {
    display: block;
    width:100%;
  }
  .work-image {
    position: static;
    width:100%;
  }
  .work-image img{
    position: static;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    object-fit: cover;
  }
  .work-description{
    width:100%;
  }
  /* --- about --- */
  .about-text {
    line-height: 1.8;
  }
  /* --- 東京堂せしぼん発酵の町 --- */
  .broken {
  display: block;
  }
  .broken__texts_l {
    position: static;
    padding: 10px 30px 20px 30px;
    margin: 0 20px 20px 20px;
    color: #333;
    background-color: rgba(255,255,255,0.5);
  }
  .broken__texts_r {
    position: static;
    padding: 10px 30px 20px 30px;
    margin: 0 20px 20px 20px;
    color: #333;
    background-color: rgba(255,255,255,0.5);
  }
  .broken__title {
    font-size:3rem;
  }
  .broken__text {
    font-size:;
  }
  /*pタグの一番上のみ上に余白を作る*/
  .broken__text:first-of-type {
    margin-top: 20px;
  }
  .broken__photo-r{
    height: auto;
    width: 100%;
  }
  .broken__photo-l{
    order:1;
    height: auto;
    width: 100%;
  }
  .broken__btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    border: 1px solid #f1b65d;
    color: #f1b65d;
    border-radius: 30px;
  }

  /* --- skills --- */
  .skills-wrapper,
  .skill-box {
    display: block;
  }
  .skill-box {
    margin: 40px auto;
  }
  .skill-icon {
    width: 100px;
    height: 100px;
    font-size: 5rem;
    line-height: 92px;
  }
  .skill-text {
    margin: 0;
  }
  /* --- contact --- */
  .contact {
    padding-bottom: 80px;
  }
  .contact-form {
    width: 80%;
  }
}
