/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20210719
*/


/*全サイト共通CSS
 ---------------------------------------------------------------------------------------------------*/
html {
  overflow-x: hidden;
}
main{
	padding:0 !important;
}
.image{
	width:100%;
}
.center{
	text-align:center;
}

.pc{
	display:block;
}
.sp{
	display:none;
}


.container{
	max-width:1200px;
	margin:auto;
}
/* FLEX（flex）
------------------------------------------ */
.flex{
	display:flex;
	align-items:center;
	flex-wrap: wrap;
}
.flex-between{
	justify-content:space-between;
}
.flex-center{
	justify-content:center;
}
.flex-start{
	justify-content:start;
}
.flex-end{
	justify-content:end;
}
.flex-align-start{
	align-items: start;
}
.flex-item10{
	width:10%;
}
.flex-item15{
	width:15%;
}
.flex-item20,.flex-item20_none{
	width:20%;
}
.flex-item25,.flex-item25_none{
	width:25%;
}
.flex-item30{
	width:33%;
}
.flex-item40{
	width:40%;
}
.flex-item45{
	width:45%;
}
.flex-item60{
	width:60%;
}
.flex-item70{
	width:70%;
}

@media screen and (max-width:767px){
	.flex {
		flex-direction: column;        
		align-items: center;            
		justify-content: center;      
	}
	.flex-item10,.flex-item15,.flex-item20,.flex-item25,.flex-item30,.flex-item40,.flex-item45,.flex-item60,.flex-item70{
		width: 100%;
	}
	.reverse{
		flex-direction: column-reverse;
	}
}

/* ===========================================
 アニメーション（anime）
 * ======================================== */
.fade {
  opacity: 0;
}
.fadeAnime {
  animation-name: fadeAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 1;
}
@keyframes fadeAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeDown{
	opacity:0;
}
.fadeDownAnime{
	animation-name:fadeDownAnime;
	animation-duration:2s;
	animation-fill-mode:forwards;
}
@keyframes fadeDownAnime{
  from {
    opacity: 0;
	transform: translateY(-100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

.fadeUp{
	opacity:0;
}
.fadeUpAnime{
	animation-name:fadeUPAnime;
	animation-duration:2s;
	animation-fill-mode:forwards;
	opacity:0;
}
@keyframes fadeUPAnime{
  from {
	  opacity: 0;
	  transform: translateY(10px);
  }

  to {
	  opacity: 1;
	  transform: translateY(0);
  }
}

/*左から右にフェードイン*/
.fadeIn{
	opacity:0;
}
.fadeInAnime{
	animation-name:fadeInAnime;
	animation-duration:2s;
	animation-fill-mode:forwards;
	animation-delay:0.5s;
	opacity:0;
}
@keyframes fadeInAnime {
  0% {
     opacity: 0;
     transform: translateX(-20px);
  }
  100% {
     opacity: 1;
     transform: translateX(0);
  }
}

/*右から左にフェードイン*/
.fadeIn2{
	animation-name:fadeInAnime2;
	animation-duration:2s;
	animation-fill-mode:forwards;
	opacity:0;
}
@keyframes fadeInAnime2 {
  0% {
     opacity: 0;
     transform: translateX(20px);
  }
  100% {
     opacity: 1;
     transform: translateX(0);
  }
}

/*拡大フェードイン*/
.fadeScale{
	animation-name:fadeScaleAnime;
	animation-duration:2s;
	animation-fill-mode:forwards;
	opacity:0;
}
@keyframes fadeScaleAnime {
  0% {
     opacity: 0;
     transform: scale(0.9);
  }
  100% {
     opacity: 1;
     transform:scale(1);
  }
}

/*マーカー（蛍光ペン）アニメーション*/
.point{
  background: linear-gradient(transparent 70%, #FFBC4B 70%);
  display: inline;
  /* 背景の繰り返しを停止 */
  background-repeat: no-repeat;
  /* マーカーの横方向を0にして縮める */
  background-size: 0% 100%;
  /* マーカーが引かれる速度を指定 */
  transition:background-size 1.5s;
}

/* マーカーが引かれる際に付与するクラス */
.point.on {
  /* 横方向を100%にして、マーカーを引く */
  background-size: 100% 100%;
}




/*言語切り替えボタン*/
.menu-item.lang-menu {
	display: flex;/*他のli要素と高さを合わせる*/
	align-items: end; 
	height: 100%;
}
.langbutton{
	width:120px;
	height:100%;
	font-size:11px;	
	font-weight:bold;
	border:solid 1px #fff;
	border-radius:5px;
	padding:0 5px;
	color:#fff;
}
.langbutton select {
    background: url('https://fakeorbake.com/wp-content/themes/affinger-child/images/langage_icon.png') no-repeat left center;
    background-size: 18px;
    padding-left: 22px;  /* アイコン分のスペースを確保 */
	padding-top:5px;
	padding-bottom:5px;
}

/* TOP
------------------------------------------ */
/*FV*/
.colum1.st-lp-wide .widget_text{
	max-width:initial !important;
}
.fv_box{
	background:#f7f6f2;
	padding:7% 3% 3% 3%;
	margin: 0 calc(50% - 50vw);/*背景画面いっぱいに拡大*/
}
.fv_box h2{
	font-size:80px !important;
	font-weight:bold;
}
.fv_box .subtitle{
	font-size:25px;
	margin-top:50px;
}
.fv_box .image img{
	max-width:70%;
}
.fv_bottom_box{
	margin: 0 calc(50% - 50vw);/*背景画面いっぱいに拡大*/
}
.fv_bottom{
	position: relative; 
	width: 100%;      
}
.fv_bottom img {
	width: 100%;
    height: auto;
    display: block;
	margin:auto;
}
.fv_bottom .guide{
	position: absolute;
    top: 10%;          
    left: 85%;         
    transform: translate(-50%, -50%); 
	font-size:9px;
	line-height:1.4em;
	width:370px;
	max-width:100%;
	margin-top:20px;
	margin-left:auto;
	margin-right:0;
	text-align:left;
}

/*TOP 信頼・実績*/
.credibility{
	font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #fff;
}
.credibility .decoration img{
	width:40px;
}
.credibility .midashi{
	font-size: 2.5rem !important;
    font-weight: bold !important;
    text-align: center !important;
    color: #fff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5) !important;
	margin-bottom:60px !important;
}
.credibility .highlight {
	font-size:2.5rem;
	color: #FFD84D;
}



.top_about{
	margin-top:10%;
}
.top_about .midashi{
	font-size: 2.5rem !important;
    font-weight: bold !important;
    text-align: center !important;
	line-height:1.6 !important;
    color: #fff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5) !important;
}
.top_about .highlight {
	font-size:2.5rem;
	color: #FFD84D;
	position: relative;
	display: inline-block; /* ← 文字幅に合わせるため */
	z-index: 1;
}
.top_about .highlight::after {
  content: "";
  position: absolute;
  left: -1em;
  bottom: -6px; 
  width: calc(100% + 2em); 
  height: 3px; 
  background: url("https://fakeorbake.com/wp-content/themes/affinger-child/images/gold_line_text.png") no-repeat center;
  background-size: cover; 
  z-index: -1; 

  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.0s ease-out;
	transition-delay: 0s;
}
/* 画面内に入ったら発火（JSで .goldLineAnime を付与） */
.goldLineAnime .gold-underline::after {
	transform: scaleX(1);
	transition-delay: 0.5s;
}
/* 低速/軽減設定のユーザー配慮 */
@media (prefers-reduced-motion: reduce) {
  .gold-underline::after { transition: none; transform: none; }
}

.top_about .text{
	color:#fff;
	font-size:17px;
}
.top_about .image{
	margin-top:5%;
}

.top_product,.top_store{
	margin-top:10% !important;
}
.top_product .midashi,.top_store .midashi{
	font-size: 2.5rem !important;
    font-weight: bold !important;
    text-align: center !important;
	line-height:1.6 !important;
    color: #fff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5) !important;
	position: relative;
	display: inline-block; 
	margin: 0 auto;      
}
.top_product .midashi::after,
.top_store  .midashi::after {
	content: "" !important;
	position: absolute;
	bottom: 0;          
	left: 0 !important;          
	right: 0;           
	width: 70%;         
	height: 3px;
	margin: 0 auto;   
	background: url("https://fakeorbake.com/wp-content/themes/affinger-child/images/gold_line_text.png") no-repeat center;
	background-size: 100% 100%;
}


.top_product .highlight, .top_store .highlight {
	color: #FFD84D !important;
}
.top_product .flex{
	max-width:800px;
	margin:auto;
	margin-top:70px;
}
.top_product_image{
	margin-bottom:30px;
}
.more_button {
	display: inline-block;
    padding: 8px 30px;
    background-color: #f5f3ed; 
	border:solid 1px #f5f3ed;
    color: #222;               
    font-size: 15px;
    text-decoration: none;
    border: none;      
    font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
}
.more_button:hover {
	color: #FFD84D; /* ホバー時に少し濃く */
	background-color:#242424;
	border:solid 1px #fff;
}

.top_store{
	margin: 0 calc(50% - 50vw);/*背景画面いっぱいに拡大*/
}
.top_store .map_message{
	margin-top:50px;
	background:#F4D35E;
	padding:20px 0 !important;
	font-size:20px;
}
.top_store .map_message .red{
	color:#ff3131;
}
.top_store #shop-map{ 
	width:100vw; 
	height:520px; 
}
.leaflet-container { 
	font: inherit; 
} 

.top_future{
	margin: 0 calc(50% - 50vw);/*背景画面いっぱいに拡大*/
}

.gold_line{
	line-height: 0;      
	font-size: 0;       
	margin: 0 calc(50% - 50vw);/*背景画面いっぱいに拡大*/         
}
.gold_line img{
	display: block;      
	width: 100vw;           
	margin: 0 auto;       
	height: auto;
}
.online-shop-banner{
	color:#fff !important;
	padding:10% 0;
	background-image:url('https://fakeorbake.com/wp-content/themes/affinger-child/images/online-shop-banner_bg.jpg');
	background-size:cover;
	background-position:center;
	margin: 0 calc(50% - 50vw);/*背景画面いっぱいに拡大*/
}
.online-shop-banner h2{
	color:#fff !important;
	font-size:55px !important;
	line-height:1.2em !important;
	font-weight:bold !important;
}
.online-shop-banner .button{
	max-width:350px;
}
.online-shop-banner .button:hover{
	opacity:0.9;
}
.online-shop-banner .cart{
	max-width:450px;
}


/* 長良川鉄道様用ページ（/nagatetsu）
------------------------------------------ */
.page-nagatetsu{
	width:100%;
	max-width:650px;
	margin:auto;
}

/* お問い合わせ（contact）
------------------------------------------ */
.contact-page{
	color:#fff;
}
.contact-page h2{
	color:#fff !important;
	font-size:55px !important;
	line-height:1.2em !important;
	font-weight:bold !important;
	margin-top:6% !important;
}
.contact-page .text {
    width: 594px;
    max-width: 90%;
    margin: auto;
}
.contact-page .image{
	width:100vw;
	margin-top:100px !important;
	margin: 0 calc(50% - 50vw);/*背景画面いっぱいに拡大*/
}

/*MW WP FORM*/
.contact-page .cform{
	width:75%;
	margin:8% auto;
	border:none;
}
.contact-page .cform th{
	width:35%;
	padding:30px 70px 30px 10px;
	font-size:18px;
	border-bottom:solid 1px #fff;
	border-left:none;
	text-align:right;
}
.contact-page .cform td{
	border-bottom:solid 1px #fff;
	border-left:none;
}
.contact-page input, .contact-page textarea{
	border:none !important;
	height:100%;
	outline: none;
	background:none;
	border:none;
	color:#fff;
}
.contact-page textarea{
	height:200px;
}
.contact-page textarea::placeholder {
	padding-top:10%;
}

/* 1) 標準 :autofill（対応ブラウザ用） */
input:autofill,
textarea:autofill,
select:autofill {
  background: #242424 !important;
  color: #fff !important;
}

/* 2) Chrome/Edge/Safari 用（WebKit系） */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  /* 既定の黄背景を“塗りつぶして”打ち消す */
  box-shadow: 0 0 0 1000px #242424 inset !important;
  border: none;
}
/* 3) Firefox 用 */
input:-moz-autofill,
textarea:-moz-autofill,
select:-moz-autofill {
  background: #242424 !important;
  color: #fff !important;
}

.contact-page .policy{
	width:75%;
	height:200px;
	overflow-y:scroll;
	border:solid 0.5px #fff;
	padding:10px 6px;
	margin:auto;
}
.contact-page .policy .policy_title{
	font-size:20px;
	margin-bottom:20px;
}
.contact-page .policy_check{
	text-align:center;
	margin:20px auto;
}
.contact-page .guide_box {
  width: 60%;
  margin: auto;
}

.required-srt{
	background-color:red;
	color:#FFF;
	font-size:12px;
	padding:5px;
	margin-left:30px;
}
.any-srt{
	background:#0276C3;
	color:#FFF;
	font-size:12px;
	padding:5px;
	margin-left:30px;
}
.submit_div{
	text-align:center;
}
.submit_div input{
	width:280px;
	background:#fff;
	color:black;
	margin-top:40px !important;
	margin-bottom:10%;
	padding:15px 10px !important;
	font-size:15px;
}
.submit_div input:hover{
	opacity:0.7;
}

.contact-page input[type="checkbox"] {
	position: relative;
	width: 16px;
	height: 16px;
	border: 1px solid #000;
	vertical-align: -5px;
	-webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
	padding:0 !important;
}
.contact-page input[type="checkbox"] {
	border-radius: 2px;
	-webkit-appearance: none;
     -moz-appearance: none;
	appearance: none;
	border:solid 1px #fff !important;
}
.contact-page input[type="checkbox"]:checked:before {
  position: absolute;
  top: 1px;
  left: 4px;
  transform: rotate(50deg);
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
}

/*完了画面(complete画面)*/
.mw_wp_form_complete .complete{
	width:594px;
	max-width:90%;
	margin:30px auto;
	padding:30px;
	background:#fff;
	color:black;
}

/*タブレット横向き以下*/
@media screen and (max-width: 1199px) {
	.contact-page .cform {
		width: 70%;
		table-layout: fixed;
		border-collapse: collapse;
	}
	.contact-page .cform th,
	.contact-page .cform td {
		padding: 10px;
		vertical-align: top;
	}
	.contact-page .cform th {
		width: 40%;
		font-weight: bold;
		text-align: left;
		white-space: nowrap;
	}
	.contact-page .cform td {
		width: 60%;
	}
	
}
/*タブレット縦向き以下*/
@media screen and (max-width:991px){
	.contact-page .cform {
		width: 90%;
	}
	.contact-page .policy{
		width:90%;
	}
	.contact-page .guide_box {
		width: 80%;
	}
}
@media screen and (max-width:767px){	
	.contact-page .policy .policy_title{
		font-size:18px;
	}
	.contact-page .cform th, .contact-page .cform td{
		width:100%;
		display:block;
	}
	.contact-page .cform th{
		text-align:center;
	}
	.contact-page .cform td{
		height:50px;
	}
	.contact-page .cform td.otoiawase{
		height:200px;
	}
	.contact-page input, .contact-page textarea{
		width:100%;
	}
	.submit_div input{
		width:80%;
	}
}



/* フッター（footer）
------------------------------------------ */
.footer_logo{
	display:block;
	margin:auto;
	max-width:250px;
}



/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
	.pc{
		display:none;
	}
	.sp{
		display:block;
	}


	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	
	/*-- ここまで --*/
}
