@charset "utf-8";
/* CSS Document */

/*全体設定*/
html{
  font-size: 62.5%; /* -> 10px */ 
  font-family: 'Noto Sans JP', sans-serif;
}

body{
  background: #f2ddb1;
}

/* 下層ページ設定 */
.wrapper{
  max-width: 980px;
  margin: 0 auto 160px;
  background-color: #fff;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.wrapper h2{
  text-align: center;
  padding-top: 70px;
  margin-bottom:55px;
}

.explanation{
  max-width: 660px;
  width: 100%;
  font-size: 1.8rem;
  margin: 0 auto 40px;
}

.ex_2{
  margin-top: 1.8rem;
}


/*header設定*/
header{
  background-color: #b93387;
  width: 100%;
}

.gnav{
  display: flex;
  max-width: 980px;
  width: 100%;
  height: 80px;
  margin: 0 auto;
  align-items: center;
}

nav{
    margin: 0 0 0 auto;
}

.menu{
  display: flex;
	text-align: center;
}

.menu a{
	font-size: 2.2rem;
	color: #fff;
  line-height: 7rem;
	position: relative;
  display: block;
}

/* menu項目ホバーアクション */
.menu a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

.menu a:hover::after {
  transform: scale(1, 1);
}

/* menu各項目の間隔 */
header li:nth-child(1){
	width: 75px;
	margin-right: 5px;
}

header li:nth-child(2){
	width: 75px;
	margin-right: 5px;
}

header li:nth-child(3){
	width: 105px;
	margin-right: 5px;
}

header li:nth-child(4){
	width: 145px;
}

.logo:hover{
  opacity: 0.8;
}

/*ここから下がハンバーガーメニューのスタイル*/
.gnavi__sp-style {
  display: none;
}

/*ヒーローイメージ*/
.main_visual img{
  display: block;
  max-width: 980px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
/*ヒーローイメージ*/

/* コンテンツ部分の設定 */
/* 川越いもとは？部分の設定 */
#about {
  background-image: url("../img/about_bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
    /*background-attachment: fixed;パララックス（実験的、スマホでバグったら外す）*/
  text-align: center;
  margin-top: 80px;
  height: auto;
  position:relative;
  padding-bottom: 110px;
}

/*実験背景画像に透過色を重ねる*/
/*#about::before{
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(255,255,255,0.2);
}*/
/*実験背景画像に透過色を重ねる*/

.what_kawagoeimo{
  margin-top: 110px;
  margin-bottom: 90px;
  max-width: 814px;
  width: 100%;
}

#about p{
  padding: 40px;
  font-size: 2.8rem;
  line-height: 4rem;
}

.about_box{
  background: #fff;
  max-width: 860px;
  opacity: 0.8;
  margin: 0 auto;
  text-align: justify;
  border-radius: 10px;
}


/* TOP-各コンテンツフレックスボックス共通設定 */
#oimo_column .wrap,#mail_order .wrap{
  display: flex;
  padding-top: 60px;
  padding-bottom: 28px;
  padding-left: 20px;
  padding-right: 20px;
  justify-content: space-between;
  max-width: 900px;
  width: 100%;
  margin:0 auto;
}

#oimo_recipe .wrap{
  display: flex;
  padding-top: 60px;
  padding-bottom: 28px;
  padding-left: 20px;
  padding-right: 20px;
  justify-content: space-between;
  max-width: 900px;
  width: 100%;
  margin:0 auto;
  flex-direction: row-reverse;
}


/* TOP-各コンテンツ部分設定 */
#oimo_column,#oimo_recipe,#mail_order{
  max-width: 980px;
  margin: 80px auto 60px;
  background-color: #fff;
  border-radius: 10px;
}

#mail_order{
  max-width: 980px;
  margin: 80px auto 160px;
  background-color: #fff;
}

#oimo_column .box1,#mail_order .box1{
  margin-right: 20px;
}

#oimo_recipe .box1{
  margin-left: 20px;
}

/*画像の大きさの設定*/
#oimo_column .box1 img,#oimo_recipe .box1 img,#mail_order .box1 img{
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
}

#oimo_column h2 img,#oimo_recipe h2 img,#mail_order h2 img{
  max-width: 400px;
  width: 100%;
}

#oimo_column .box2 p,#oimo_recipe .box2 p,#mail_order .box2 p{
  max-width: 400px;
  font-size: 2.2rem;
  line-height: 3rem;
  margin-top: 28px;
}

/* TOP-各コンテンツのボタン設定 */
#oimo_column .more,#mail_order .more,#oimo_recipe .more{
	display       : inline-block;
	border-radius : 10px;
	font-size     : 18px;
	text-align    : center;
	padding       : 14px 37px 15px 35px;
	background    : #7ad37a;
	color         : #000;
	line-height   : 18px;
	text-decoration: none;
  left: auto;
}

#oimo_column .more_wrap,#oimo_recipe .more_wrap,#mail_order .more_wrap{
  max-width: 900px;
  margin: 0 auto;
  text-align: right;
  padding-bottom: 28px;
  padding-right: 20px;
}

#oimo_column .more:hover,#oimo_recipe .more:hover,#mail_order .more:hover{
  opacity: 0.8;
}

/* お問い合わせページの設定 */
/* コンタクトフォームの設定 */
.contact_form{
  font-size: 2.2rem;
  margin: 0 auto;
  max-width: 660px;
  width: 100%;
}

.contact_form th{
  font-weight: normal;
  width: 38%;
  padding: 24px 15px 24px 0;
}

.contact_form td{
  width: 62%;
  padding: 18px 0;
}


.contact_form tr{
  border-top: 2px solid #f2ddb1;
}

.contact_form tr:last-child{
  border-bottom: 2px solid #f2ddb1;
}

.contact_form .mandatory{
  font-size: 1.6rem;
  background: #b93387;
	margin-right: 6px;
	padding: 2px 7px 3px;
	color: #fff;
	border-radius: 5px;
  font-weight: bold;
}

.contact_form .any{
  font-size: 1.6rem;
  background: #aaa;
	margin-right: 6px;
	padding: 2px 7px 3px;
	color: #fff;
	border-radius: 5px;
  font-weight: bold;
}

.contact_form input{
  border-radius: 5px;
	border: 1px solid #ccc;
  /*padding: 4px 0 7px 11px;*/
  padding-left: 10px;
  padding-bottom: 7px;
  width: 100%;
  line-height: 1.4;
}

.contact_form textarea{
  border-radius: 5px;
	border: 1px solid #ccc;
  height: 240px;
  width: 100%;
  /*padding: 4px 0 7px 11px;*/
  padding-left: 10px;
  padding-bottom: 7px;
  line-height: 1.4;
}  

input:focus,
textarea:focus{
	outline: #b93387 solid 1px;
}

/* placeholderの文字色指定 */
::placeholder {
  color: #ccc;
}

/* reset.cssからラベル要素のカーソル設定の修正 */
label[for] {
  cursor: default;
}

/* 送信ボタンの設定 */
.Form_button {
	font-size: 2.2rem;
	font-weight: 500;
	max-width: 243px;
	margin: 49px auto 0;
	display: block;
	cursor: pointer;
	padding: 15px 22px 18px;
	border-radius: 10px;
	background: #7ad37a;
}

.Form_button:hover{
  opacity: 0.8;
}

#Form{
  padding-bottom: 70px;
}

/*レシピ一覧ページの設定*/
.recipe_box{
  border: #414141 solid 1px;
  max-width: 287px;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.recipe_box:nth-child(n + 3){
  margin-top: 55px;
}

.recipe_box_inner{
  width: 269px;
  margin: 7px auto 24px;
}

.recipe_box h3{
  font-size: 1.8rem;
}

.cooking_time{
  font-size: 1.6rem;
  position: relative;
  padding-left: 21px;
  margin-top: 5px;
}

.cooking_time::before{
  content: url(../img/watch.png);
  position: absolute;
  left: 0;
}

.recipe_explanation{
  font-size: 1.6rem;
  color: #b93387;
  margin-top: 5px;
}
  
.recipe_box_wrapper{
  max-width: 660px;
  margin: 0 auto;
  padding-bottom: 180px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* フッターあしらいの設定 */
.footer_imo{
  text-align: center;
}

.footer_imo img{
  max-width: 980px;
  width: 100%;
}


/* footer設定 */
footer{
  background-color: #beb297;
}

footer .sns_icons a{
  margin-left: 5px;
}

footer .sns_icons a:nth-child(1){
  margin-left: 0;
}

footer .sns_icons a:hover{
  opacity: 0.8;
}

footer .footer_contents{
  max-width: 860px;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

footer .adress{
  font-size: 2rem;
}

footer .kawagoeimo_shinkoukai{
  font-size: 2.8rem;
  margin-bottom: 5px;
}

footer .copyright,footer .strong{
  text-align: center;
  font-size: 1rem;
  padding-bottom: 10px;
}

footer strong{
  font-weight: normal;
  font-size: 1.6rem;
  color: #f00;
}

/*totopボタンの設定*/
.totop_button {
    position: fixed;
    bottom: 20px;
    right: 10px;
}

@media (max-width: 768px){
  /*ハンバーガーメニューの設定*/
  header{
  background-color: #b93387;
  position: fixed;
  z-index: 999;
  width: 100%;
}
 
  .main_visual{
    padding-top: 80px;
  }
  
  .menu{
    display: none;/* レスポンシブ確認用 *//*ブレークポイントに達するとgnavが消える挙動をする*/
  }
  
  .gnavi__pc-style {
  display: none;    
}
.gnavi__sp-style {
  display: block;
}
  /*メニューボタン　展開前*/
.menu-btn {
  display : block;
  position: fixed;
  z-index: 3;
  right: 30px;
  top: 20px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
  
  .menu-btn span {
  display : block;
  position: absolute;
  width: 30px;
  height: 2px ;
  left: 6px;
  background: #fff;
  transition: 0.3s ease-in-out;
}
.menu-btn span:nth-of-type(1) {
  top: 10px;
}
.menu-btn span:nth-of-type(2) {
  top: 20px;
}
.menu-btn span:nth-of-type(3) {
  top: 30px;
}
  
  /*メニューボタン　展開後*/
.menu-btn.active span:nth-child(1) {
  top: 16px;
  left: 6px;
  background :#fff;
  transform: rotate(-45deg);
}
.menu-btn.active span:nth-child(2),
.menu-btn.active span:nth-child(3) {
  top: 16px;
  background :#fff;
  transform: rotate(45deg);
}
  
  /*スマホ用のメニュー*/
.gnavi__sp-style {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  color: #fff;
  background-color: #b93387;
  text-align: center;
  width: 100%;
  height: 100vh;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
  display: flex;
  align-items: center;
  visibility: hidden;
}

  .gnavi__sp-style.active {
    opacity: 100;
    visibility: visible;
  }

.gnavi__sp-style ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
  
.gnavi__sp-style ul li {
  list-style-type: none;
  padding: 0;
  transition: .4s all;
  position: relative;
  margin: 0 auto;
}
.gnavi__sp-style ul li:last-of-type {
  padding-bottom: 0;
}

.gnavi__sp-style ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
  	font-size: 2.2rem;
}
.gnavi__sp-style.active {
  opacity: 1;
}

  .gnavi__sp-style ul li a:hover{
    color: #FFFFFF;
  }

  .gnavi__sp-style ul li a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

.gnavi__sp-style ul li a:hover::after {
  transform: scale(1, 1);
}
 
   /* TOP-About部分設定 */
  #about{
    margin-top: 40px;
  }
  
  .what_kawagoeimo{
  margin-top: 100px;
  margin-bottom: 50px;
  width: 100%;
  padding: 0 40px;
}
  #about p{
    line-height: 3.5rem;
    font-size: 2rem;
  }
  
  .about_box{
    margin-left: 40px;
    margin-right: 40px;
  }
  
  
  /* TOP-おいもコラム、通信販売部分設定 */  
 #oimo_column,#oimo_recipe,#mail_order{
    margin-left: 40px;
    margin-right: 40px;
}
  
  #oimo_column,#oimo_recipe,#mail_order{
    margin-top: 0;
    margin-bottom: 30px;
  }
  
  #oimo_column{
    margin-top: 30px;
  }
  
  #mail_order{
    margin-bottom: 60px;
  }
 #oimo_column .box1,#oimo_recipe .box1,#mail_order .box1{
    max-width: 440px;
    width: 100%;
    margin:0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  #oimo_column .box2 h2,#oimo_recipe .box2 h2,#mail_order .box2 h2{
    max-width: 440px;
    width: 100%;
    margin: 30px auto 20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  #oimo_column .box2 p,#oimo_recipe .box2 p,#mail_order .box2 p{
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1.8rem;
  }
  
  #oimo_column .wrap,#oimo_recipe .wrap,#mail_order .wrap{
  display: block;
  padding-top: 40px;
  padding-left:  0px;
  padding-right: 0px;
}

  #oimo_column .more_wrap,#oimo_recipe .more_wrap,#mail_order .more_wrap{
    text-align: center;
  }

  /* お問い合わせページ設定 */
  #contact h2 img{
    padding-top: 80px;
    max-width: 400px;
    width: 100%;
  }
  
  #contact th,td{
    display: block;
  }
  
  #contact th{
    width: 100%
  }
  
  #contact td{
    width: 100%;
    padding-top: 0;
  }
  
  .wrapper{
    padding-left: 40px;
    padding-right: 40px;
  }
  
  /*レシピページ設定*/
    #recipe h2 img{
    padding-top: 80px;
      max-width: 345px;
      width: 100%;
  }
  
  .recipe_box:nth-child(2){
  margin-top: 55px;
}
  
  .recipe_box{
    margin-left: auto;
    margin-right: auto;
  }
  
  .recipe_box_wrapper{
    display: block;
    padding-bottom: 100px;
  }
  
  /* footer設定 */
  footer .footer_contents{
    display: block;
    text-align: center;
  }
  
  footer .sns_icons{
    margin-bottom: 20px;
  }
  
  footer .sns_icons img{
    width: 40px;
    margin-left: 10px;
  }

  footer .sns_icons img:nth-child(1){
  margin-left: 0;
}

  .totop_button {
    display: none;
}
}