/* =============================================
   Gutenberg alignment override
   コーダーCSSがGutenbergの配置機能を上書きしないようにする
============================================= */
.wp-block-buttons.has-text-align-left { justify-content: flex-start !important; }
.wp-block-buttons.has-text-align-center { justify-content: center !important; }
.wp-block-buttons.has-text-align-right { justify-content: flex-end !important; }
.has-text-align-left { text-align: left !important; }
.has-text-align-center { text-align: center !important; }
.has-text-align-right { text-align: right !important; }

body{ background: url("../images/page_top.png") center top no-repeat; background-size: 100% auto;}
.sec_tmpl_block{ padding: 80px 0;}
.sec_tmpl_bg{ background: #F5F5F5;}
.sec_tmpl_orange{ background: #F89B3F;}
.sec_tmpl_orange h2{ color: #fff;}
@media screen and (max-width:768px){
.sec_tmpl_block{ padding: 10% 0;}
}



/*fv*/
.tmpl_fv{ padding: 50px 0; margin-bottom: -80px; position: relative; z-index: 1;}
.tmpl_fv h1{ font-size: 2.4rem; color: #F89B3E; margin-bottom: 20px;}
.tmpl_fv p{ font-size: 0.9rem;}

.tmpl_fv .tmpl_pankuzu{ margin-top: 40px; border: 1px solid #F89B3E; padding: 10px 20px; border-radius: 80px;}
.tmpl_fv .tmpl_pankuzu ul{ display: flex; flex-wrap: wrap; font-size: 0.7rem;}
.tmpl_fv .tmpl_pankuzu ul li a{ color: #F89B3E;}
.tmpl_fv .tmpl_pankuzu ul li a:hover{ text-decoration: underline;}
.tmpl_fv .tmpl_pankuzu ul li:after{ content: ">"; margin: 0 0.75em; color: #F89B3E;}
.tmpl_fv .tmpl_pankuzu ul li:last-child:after{ display: none;}
@media screen and (max-width:768px){
.tmpl_fv{ padding: 7.5% 0; margin-bottom: -10%;}
.tmpl_fv h1{ font-size: 2rem; margin-bottom: 5%;}
.tmpl_fv p{ font-size: 0.8rem;}

.tmpl_fv .tmpl_pankuzu{ margin-top: 7.5%; padding: 1.875% 3.75%; border-radius: 10vw;}
.tmpl_fv .tmpl_pankuzu ul{ font-size: 0.66rem;}
}



/*txt_parts*/
h2{ font-size: 1.6rem; color: #F89B3E; margin: 60px auto 50px;}
h2:first-child{ margin-top: 0;}
h3{ font-size: 1.2rem; color: #F89B3E; margin: 50px auto 40px; padding-left: 42px; position: relative;}
h3:before{ content: ""; width: 32px; height: 2px; background: #F89B3E; position: absolute; left: 0; top: 0.5em;}
h3:first-child{ margin-top: 0;}
h4{ font-size: 1rem; margin: 40px auto 20px;}
h4:first-child{ margin-top: 0;}
p{ font-size: 0.9rem; font-weight: 400; line-height: 1.66em; margin-bottom: 1em;}
p:last-child{ margin: 0;}
p.att{ font-size: 0.75rem;}
@media screen and (max-width:768px){
h2{ font-size: 1.4rem; margin: 10% auto;}
h3{ font-size: 1rem; margin: 10% auto 7.5%; padding-left: 7.5vw;}
h3:before{ width: 5vw; height: 2px;}
h4{ font-size: 0.9rem; margin: 7.5% auto 5%;}
p{ font-size: 0.8rem;}
p.att{ font-size: 0.66rem;}
}



/*list*/
.tmpl_list01 ul{ font-size: 0.9rem; line-height: 2em;}
.tmpl_list01 ul li{ padding-left: 22px; position: relative;}
.tmpl_list01 ul li:before{ content: ""; width: 12px; height: 12px; background: #F89B3E; position: absolute; left: 0; top: 0.66em; border-radius: 50%;}
@media screen and (max-width:768px){
.tmpl_list01 ul{ font-size: 0.8rem; line-height: 1.75em;}
.tmpl_list01 ul li{ padding-left: 3.75vw; margin-bottom: 0.25em;}
.tmpl_list01 ul li:before{ width: 1.875vw; height: 1.875vw; top: 0.6em;}
}

.tmpl_list02 ol{ font-size: 0.9rem; line-height: 2em;}
.tmpl_list02 ol li{ padding-left: 32px; position: relative;}
.tmpl_list02 ol li span{ display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; font-size: 0.55rem; background: #F89B3E; color: #fff; position: absolute; left: 0; top: 0.33em; border-radius: 50%;}
@media screen and (max-width:768px){
.tmpl_list02 ol{ font-size: 0.8rem; line-height: 1.75em;}
.tmpl_list02 ol li{ padding-left: 5vw; margin-bottom: 0.25em;}
.tmpl_list02 ol li span{ width: 3.75vw; height: 3.75vw; font-size: 0.5rem; top: 0.5em;}
}



/*btn*/
.tmpl_btns{ display: flex; align-items: center; gap: 0 50px;}
.tmpl_btn_primary_wrap{ margin: 0;}
.tmpl_btn_primary{ padding: 25px 75px; background: #F89B3E; color: #fff; display: flex; align-items: center; justify-content: center; width: fit-content; position: relative; border-radius: 4px; transition: 0.3s;}
.tmpl_btn_primary:hover{ opacity: 0.85; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(248,155,62,0.3);}
.tmpl_btn_primary .tmpl_btn_icon{ line-height: 0; position: absolute; left: 24px; top: 50%; transform: translateY(-50%);}
.tmpl_btn_primary .tmpl_btn_icon img{ height: 24px;}
.tmpl_btn_primary .tmpl_btn_label{ font-size: 0.9rem; font-weight: bold;}
.tmpl_btn_primary:after{ content: ""; width: 10px; height: 10px; background: url("../images/ico_arrow2.png") center center no-repeat; background-size: 100%; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);}

.tmpl_btn_secondary_wrap{ margin: 0;}
.tmpl_btn_secondary{ padding: 10px 45px 10px 35px; border: 1px solid #F89B3E; color: #F89B3E; display: flex; align-items: center; justify-content: center; width: fit-content; position: relative; border-radius: 4px; transition: 0.3s;}
.tmpl_btn_secondary:hover{ opacity: 1; color: #fff; background: #F89B3E;}
.tmpl_btn_secondary:hover .tmpl_btn_label{ color: #fff;}
.tmpl_btn_secondary .tmpl_btn_label{ font-size: 0.8rem; font-weight: bold;}
.tmpl_btn_secondary:after{ content: ""; width: 10px; height: 10px; background: url("../images/ico_arrow.png") center center no-repeat; background-size: 100%; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); transition: 0.3s;}
.tmpl_btn_secondary:hover:after{ background-image: url("../images/ico_arrow2.png");}
@media screen and (max-width:768px){
.tmpl_btns{ flex-direction: column; align-items: flex-start; gap: 3.75vw 0;}
.tmpl_btn_primary{ padding: 2.5vw 12.5vw;}
.tmpl_btn_primary .tmpl_btn_icon{ left: 3.75vw;}
.tmpl_btn_primary .tmpl_btn_icon img{ height: 5vw;}
.tmpl_btn_primary .tmpl_btn_label{ font-size: 0.9rem;}
.tmpl_btn_primary:after{ width: 2.5vw; height: 2.5vw; right: 3.75vw;}

.tmpl_btn_secondary{ padding: 1.875vw 7.5vw;}
.tmpl_btn_secondary .tmpl_btn_label{ font-size: 0.7rem;}
.tmpl_btn_secondary:after{ width: 2.5vw; height: 2.5vw; right: 3.75vw;}
}



/*label*/
.tmpl_labels{ display: flex; align-items: center; gap: 0 10px; margin-top: 20px;}
.tmpl_label{ display: flex; align-items: center; justify-content: center; width: fit-content; font-size: 0.9rem; font-weight: bold; letter-spacing: 0; padding: 0.5em 1em; border-radius: 2em;}
.tmpl_label.tmpl_label01{ background: #F89B3E; border: 1px solid #F89B3E; color: #fff;}
.tmpl_label.tmpl_label02{ border: 1px solid #F89B3E; color: #F89B3E; font-size: 0.8rem; letter-spacing: 0; padding: 0.33em 1em;}
.tmpl_label.tmpl_label03{ border: 1px solid #000; color: #000; font-size: 0.8rem; letter-spacing: 0; padding: 0.33em 1em;}

.tmpl_cat{ display: flex; align-items: center; justify-content: center; width: fit-content; background: #FCF4E8; color: #F89B3E; font-size: 0.75rem; letter-spacing: 0; font-weight: bold; padding: 0.33em 1em; border-radius: 30px;}
.tmpl_cat.tmpl_cat01{ background: #FCF4E8; color: #F89B3E;}
.tmpl_cat.tmpl_cat02{ background: #E5F8E7; color: #18D026;}
.tmpl_cat.tmpl_cat03{ background: #E5F2FF; color: #3E9BF8;}
@media screen and (max-width:768px){
.tmpl_labels{ flex-direction: column; align-items: flex-start; gap: 1.875vw 0;}
.tmpl_label{ font-size: 0.8rem;}
.tmpl_label.tmpl_label02{ font-size: 0.7rem;}
.tmpl_label.tmpl_label03{ font-size: 0.7rem;}

.tmpl_cat{ font-size: 0.7rem; border-radius: 10vw;}
}



/*decoration*/
.tmpl_bg_org{ background: rgba(248,155,62,0.13);}
.tmpl_tel_txt{ display: flex; flex-direction: column;}
.tmpl_tel_txt strong{ font-size: 2.8rem; line-height: 1em; color: #F89B3E}
.tmpl_tel_txt span{ font-size: 0.75rem; line-height: 1em; font-weight: 400; margin-top: 1em;}
@media screen and (max-width:768px){
.tmpl_tel_txt strong{ font-size: 2.4rem;}
.tmpl_tel_txt span{ font-size: 0.7rem;}
}



/*box*/
.tmpl_box{ border: 1px solid #F89B3E; padding: 80px; margin-top: 40px;}
.tmpl_box.tmpl_bg_wh{ background: #fff;}
@media screen and (max-width:768px){
.tmpl_box{ padding: 7.5%; margin-top: 7.5%;}
}



/*card*/
.tmpl_card{ display: flex; flex-wrap: wrap; gap: 15px;}
.tmpl_card .tmpl_card_item{ width: calc(33.33% - 15px); background: #fff; position: relative;}
.tmpl_card .tmpl_card_item .tmpl_card_item_body{ padding: 30px 30px 105px;}
.tmpl_card .tmpl_card_item .tmpl_card_item_body h3{ padding: 0 0 10px; text-align: center; font-size: 0.8rem; margin-bottom: 20px; border-bottom: 1px solid #F89B3E;}
.tmpl_card .tmpl_card_item .tmpl_card_item_body h3:before{ display: none;}
.tmpl_card .tmpl_card_item .tmpl_card_item_body h4{ text-align: center; font-size: 1.2rem; margin: 20px auto 15px;}
.tmpl_card .tmpl_card_item .tmpl_btn_secondary_wrap{ display: flex; align-items: center; justify-content: center; margin: 0; position: absolute; left: 0; right: 0; bottom: 30px;}
@media screen and (max-width:768px){
.tmpl_card{ display: block;}
.tmpl_card .tmpl_card_item{ width: 100%; margin-top: 5%; padding-bottom: 5%;}
.tmpl_card .tmpl_card_item .tmpl_card_item_body{ padding: 5%;}
.tmpl_card .tmpl_card_item .tmpl_card_item_body h3{ padding: 0 0 2.5%; font-size: 0.8rem; margin-bottom: 3.75%;}
.tmpl_card .tmpl_card_item .tmpl_card_item_body h4{ font-size: 1.2rem; margin: 3.75% auto 2.5%;}
.tmpl_card .tmpl_card_item .tmpl_btn_secondary_wrap{ margin: 0; position: static;}
}



/*result*/
.tmpl_result{ display: flex; flex-wrap: wrap; gap: 15px;}
.tmpl_result .tmpl_result_box{ display: flex; flex-direction: column; align-items: center; justify-content: center; width: calc(33.33% - 15px); background: #fff; padding: 30px; text-align: center;}
.tmpl_result .tmpl_result_box dl{ width: 100%;}
.tmpl_result .tmpl_result_box dl dt{ font-size: 1rem; font-weight: bold; border-bottom: 1px solid #000; padding-bottom: 15px; margin-bottom: 20px;}
.tmpl_result .tmpl_result_box dl dd strong{ font-size: 3.2rem; line-height: 1em; color: #F89B3E;}
.tmpl_result .tmpl_result_box dl dd span{ font-size: 2rem; line-height: 1em; color: #F89B3E; font-weight: bold;}
@media screen and (max-width:768px){
.tmpl_result{ gap: 1.875vw;}
.tmpl_result .tmpl_result_box{ width: calc(50% - 1.875vw); padding: 5%;}
.tmpl_result .tmpl_result_box dl dt{ font-size: 0.9rem; padding-bottom: 3.75%; margin-bottom: 5%;}
.tmpl_result .tmpl_result_box dl dd strong{ font-size: 2.4rem;}
.tmpl_result .tmpl_result_box dl dd span{ font-size: 1.6rem;}
}



/*point*/
.tmpl_point .tmpl_point_inner{ display: flex;}
.tmpl_point .tmpl_point_inner .tmpl_point_img{ width: 480px;}
.tmpl_point .tmpl_point_inner .tmpl_point_list{ flex: 1; margin-left: 40px;}
.tmpl_point .tmpl_point_inner .tmpl_point_list ul li{ border: 1px solid #F89B3E; padding: 40px; margin-bottom: 15px;}
.tmpl_point .tmpl_point_inner .tmpl_point_list ul li:last-child{ margin-bottom: 0;}
.tmpl_point .tmpl_point_inner .tmpl_point_list ul li h3{ font-size: 1rem; margin-bottom: 10px; padding: 0;}
.tmpl_point .tmpl_point_inner .tmpl_point_list ul li h3:before{ display: none;}
@media screen and (max-width:768px){
.tmpl_point .tmpl_point_inner{ display: block;}
.tmpl_point .tmpl_point_inner .tmpl_point_img{ width: 66.66%; margin: 0 auto 5%;}
.tmpl_point .tmpl_point_inner .tmpl_point_list{ margin: 0;}
.tmpl_point .tmpl_point_inner .tmpl_point_list ul li{ padding: 3.75%; margin-bottom: 1.875%;}
.tmpl_point .tmpl_point_inner .tmpl_point_list ul li h3{ font-size: 0.9rem; margin-bottom: 1.875%;}
}



/*voice*/
.tmpl_voice ul{ display: flex; flex-wrap: wrap; gap: 20px;}
.tmpl_voice ul li{ background: #fff; width: calc(50% - 20px); padding: 20px;}
.tmpl_voice ul li .txt{ padding: 40px 40px; position: relative;}
.tmpl_voice ul li .txt:before{ content: ""; width: 32px; height: 32px; background: url("../images/voice_ico.png") center center; background-size: 100%; position: absolute; left: 0; top: 0;}
.tmpl_voice ul li .txt:after{ content: ""; width: 32px; height: 32px; background: url("../images/voice_ico.png") center center; background-size: 100%; position: absolute; right: 0; bottom: 0; transform: rotate(180deg);}
.tmpl_voice ul li .txt p{ font-size: 1rem;}
.tmpl_voice ul li p.name{ margin-top: 20px; font-size: 0.9rem; font-weight: bold; color: #F89B3E; padding: 1em 1em 0; border-top: 1px solid #F89B3E;}
@media screen and (max-width:768px){
.tmpl_voice ul{ display: block;}
.tmpl_voice ul li{ width: 100%; padding: 3.75%; margin-top: 3.75%;}
.tmpl_voice ul li .txt{ padding: 5vw 5vw;}
.tmpl_voice ul li .txt:before{ width: 3.75vw; height: 3.75vw}
.tmpl_voice ul li .txt:after{ width: 3.75vw; height: 3.75vw}
.tmpl_voice ul li .txt p{ font-size: 0.9rem;}
.tmpl_voice ul li p.name{ margin-top: 3.75%; font-size: 0.8rem;}
}



/*news*/
.tmpl_news_list ul{ display: flex; flex-wrap: wrap; gap: 30px;}
.tmpl_news_list ul li{ width: calc(33.33% - 30px);}
.tmpl_news_list ul li a{ display: flex; flex-direction: column; border: 1px solid #F89B3E; padding: 30px; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;}
.tmpl_news_list ul li a:hover{ opacity: 1; transform: translateY(-4px); box-shadow: 0 6px 16px rgba(248,155,62,0.15);}
.tmpl_news_list ul li a figure{ margin-bottom: 15px;}
.tmpl_news_list ul li a .tmpl_date_cat{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px;}
.tmpl_news_list ul li a .tmpl_date_cat .tmpl_date{ display: flex; align-items: center; justify-content: center; font-size: 0.9rem; line-height: 1em;}
.tmpl_news_list ul li a h3{ font-size: 1rem; color: #F89B3E; min-height: 2.5em; margin: 0; padding: 0;}
.tmpl_news_list ul li a h3:before{ display: none;}
@media screen and (max-width:768px){
.tmpl_news_list ul{ display: block;}
.tmpl_news_list ul li{ width: 100%; padding: 0; margin-bottom: 3.75%;}
.tmpl_news_list ul li:last-child{ margin-bottom: 0;}
.tmpl_news_list ul li a{ padding: 5%;}
.tmpl_news_list ul li a figure{ margin-bottom: 3.75%;}
.tmpl_news_list ul li a .tmpl_date_cat{ margin-bottom: 3.75%;}
.tmpl_news_list ul li a .tmpl_date_cat .tmpl_date{ font-size: 0.8rem;}
.tmpl_news_list ul li a h3{ font-size: 1rem;}
}



/*timeline*/
.tmpl_timeline ul{ padding-left: 48px; position: relative;}
.tmpl_timeline ul:before{ content: ""; width: 1px; height: 100%; background: #F89B3E; position: absolute; left: 16px; top: 0;}
.tmpl_timeline ul li{ padding: 0 0 30px; margin-bottom: 30px; position: relative;}
.tmpl_timeline ul li:last-child{ margin-bottom: 0;}
.tmpl_timeline ul li:before{ content: ""; width: 33px; height: 33px; background: #F89B3E; position: absolute; left: -48px; top: -0.1em; border-radius: 50%;}

.tmpl_timeline .tmpl_timeline_item{ display: flex; justify-content: space-between;}
.tmpl_timeline .tmpl_timeline_item .tmpl_timeline_item_img{ width: 320px;}
.tmpl_timeline .tmpl_timeline_item .tmpl_timeline_item_txt{ flex: 1; margin-right: 50px;}
.tmpl_timeline .tmpl_timeline_item .tmpl_timeline_item_txt h3{ padding-left: 0; margin: 0 0 30px;}
.tmpl_timeline .tmpl_timeline_item .tmpl_timeline_item_txt h3:before{ display: none;}
.tmpl_timeline .tmpl_timeline_item .tmpl_timeline_item_txt p{ margin: 15px 0 0;}
@media screen and (max-width:768px){
.tmpl_timeline ul{ padding-left: 7.5vw;}
.tmpl_timeline ul:before{ left: 2.5vw; top: 0;}
.tmpl_timeline ul li{ padding: 0 0 5%; margin-bottom: 5%;}
.tmpl_timeline ul li:before{ width: calc(5vw + 1px); height: calc(5vw + 1px); left: -7.5vw; top: -0.1em;}

.tmpl_timeline .tmpl_timeline_item{ display: block}
.tmpl_timeline .tmpl_timeline_item .tmpl_timeline_item_img{ width: 66.66%; margin: 5% 0 0;}
.tmpl_timeline .tmpl_timeline_item .tmpl_timeline_item_txt{ margin: 0;}
.tmpl_timeline .tmpl_timeline_item .tmpl_timeline_item_txt h3{ margin: 0 0 5%;}
.tmpl_timeline .tmpl_timeline_item .tmpl_timeline_item_txt p{ margin: 2.5% 0 0;}
}



/*table*/
.tmpl_table table{ width: 100%; border-collapse: collapse; border-spacing: 0;}
.tmpl_table table tr th{ border: 1px solid #F89B3E; background: #FAEDDC; font-size: 1rem; font-weight: bold; color: #F89B3E; padding: 1.5rem;}
.tmpl_table table tr td{ border: 1px solid #F89B3E; font-size: 0.9rem; font-weight: 400; padding: 1.5rem;}
@media screen and (max-width:768px){
.tmpl_table table tr th{ display: block; width: 100%; font-size: 0.9rem; padding: 0.5rem 1rem;}
.tmpl_table table tr:not(:first-child) th{ border-top: none;}
.tmpl_table table tr td{ display: block; width: 100%; font-size: 0.8rem; padding: 1rem; border-top: none;}
}


/* =============================================
   お知らせ詳細ページ（single.php）
============================================= */

/* メタ情報（日付+カテゴリ） */
.single_meta{ display: flex; align-items: center; gap: 15px; margin: 20px 0 0;}
.single_meta .tmpl_date{ font-size: 0.9rem; color: #666;}
@media screen and (max-width:768px){
.single_meta{ margin: 5% 0 0; gap: 2.5vw;}
.single_meta .tmpl_date{ font-size: 0.8rem;}
}

/* 記事本体 */
.single_article{ max-width: 900px; margin: 0 auto;}

/* アイキャッチ */
.single_eyecatch{ margin: 0 auto 40px; text-align: center;}
.single_eyecatch img{ width: 100%; height: auto; border-radius: 4px;}
@media screen and (max-width:768px){
.single_eyecatch{ margin: 0 auto 7.5%;}
}

/* 本文 */
.single_body{ font-size: 0.9rem; line-height: 2em; font-weight: 400;}
.single_body p{ margin-bottom: 1.5em;}
.single_body p:last-child{ margin-bottom: 0;}
.single_body h2{ font-size: 1.4rem; color: #F89B3E; margin: 50px 0 20px; padding-left: 42px; position: relative;}
.single_body h2:before{ content: ""; width: 32px; height: 2px; background: #F89B3E; position: absolute; left: 0; top: 0.5em;}
.single_body h3{ font-size: 1.2rem; color: #F89B3E; margin: 40px 0 15px; padding-left: 42px; position: relative;}
.single_body h3:before{ content: ""; width: 32px; height: 2px; background: #F89B3E; position: absolute; left: 0; top: 0.5em;}
.single_body h4{ font-size: 1rem; margin: 30px 0 10px;}
.single_body img{ max-width: 100%; height: auto; border-radius: 4px; margin: 20px 0;}
.single_body ul,
.single_body ol{ margin: 0 0 1.5em 1.5em;}
.single_body li{ margin-bottom: 0.5em;}
.single_body blockquote{ border-left: 3px solid #F89B3E; padding: 20px 30px; margin: 30px 0; background: #FFF8F0;}
.single_body table{ width: 100%; border-collapse: collapse; margin: 30px 0;}
.single_body table th,
.single_body table td{ border: 1px solid #F89B3E; padding: 12px; font-size: 0.85rem;}
.single_body table th{ background: #FAEDDC; font-weight: bold; color: #F89B3E;}
@media screen and (max-width:768px){
.single_body{ font-size: 0.8rem; line-height: 1.75em;}
.single_body h2{ font-size: 1.2rem; margin: 10% 0 5%; padding-left: 7.5vw;}
.single_body h2:before{ width: 5vw;}
.single_body h3{ font-size: 1rem; margin: 7.5% 0 3.75%; padding-left: 7.5vw;}
.single_body h3:before{ width: 5vw;}
}

/* 前後ナビ */
.single_nav{ display: flex; justify-content: space-between; align-items: stretch; margin-top: 80px; padding-top: 40px; border-top: 1px solid #eee;}
.single_nav_prev,
.single_nav_next{ width: 35%;}
.single_nav_list{ width: 20%; display: flex; align-items: center; justify-content: center;}
.single_nav_list a{ display: flex; align-items: center; justify-content: center; width: 170px; height: 45px; border: 1px solid #F89B3E; color: #F89B3E; border-radius: 4px; font-size: 0.8rem; font-weight: bold; transition: 0.3s;}
.single_nav_list a:hover{ background: #F89B3E; color: #fff;}
.single_nav a{ display: block; padding: 15px; border-radius: 4px; transition: background 0.3s;}
.single_nav a:hover{ background: #FFF8F0;}
.single_nav_label{ display: block; font-size: 0.7rem; color: #F89B3E; font-weight: bold; margin-bottom: 5px;}
.single_nav_title{ display: block; font-size: 0.85rem; line-height: 1.5em; color: #333;}
.single_nav_next{ text-align: right;}
@media screen and (max-width:768px){
.single_nav{ display: block; margin-top: 10%; padding-top: 7.5%;}
.single_nav_prev,
.single_nav_next,
.single_nav_list{ width: 100%; margin-bottom: 3.75%;}
.single_nav_list a{ width: 100%; height: 10vw;}
}



/* =============================================
   Contact Form 7 — 永愛友テーマ用
============================================= */

/* --- フォーム全体 --- */
.cf7_form_wrap{
  max-width: 800px;
  margin: 0 auto;
}

/* --- 必須マーク案内 --- */
.cf7_form_note{
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 32px;
  text-align: right;
}

/* --- 各行 --- */
.cf7_form_row{
  margin-bottom: 28px;
}
.cf7_form_row:last-child{ margin-bottom: 0;}

/* --- 2列レイアウト（構成案 .form-row 対応） --- */
.cf7_form_row_half{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
}

/* --- フォームグループ --- */
.cf7_form_group{
  display: flex;
  flex-direction: column;
}

/* --- ラベル --- */
.cf7_form_label{
  margin-bottom: 10px;
}
.cf7_form_label label{
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
}

/* --- 必須バッジ --- */
.cf7_required{
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 8px;
  border-radius: 3px;
  background: #F89B3E;
  color: #fff;
  margin-left: 8px;
  flex-shrink: 0;
}
.cf7_form_note .cf7_required{
  margin-left: 0;
  margin-right: 4px;
  vertical-align: middle;
}

/* --- 入力要素 --- */
.cf7_form_wrap input[type="text"],
.cf7_form_wrap input[type="email"],
.cf7_form_wrap input[type="tel"],
.cf7_form_wrap select,
.cf7_form_wrap textarea{
  width: 100%;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-family: inherit;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}
.cf7_form_wrap input[type="text"]:focus,
.cf7_form_wrap input[type="email"]:focus,
.cf7_form_wrap input[type="tel"]:focus,
.cf7_form_wrap select:focus,
.cf7_form_wrap textarea:focus{
  border-color: #F89B3E;
  outline: none;
  box-shadow: 0 0 0 3px rgba(248,155,62,0.12);
}
.cf7_form_wrap textarea{
  min-height: 160px;
  resize: vertical;
}
.cf7_form_wrap select{
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.cf7_form_wrap input::placeholder,
.cf7_form_wrap textarea::placeholder{
  color: #bbb;
}

/* --- ヒントテキスト --- */
.cf7_form_hint{
  font-size: 0.75rem;
  color: #999;
  margin-top: 8px;
  line-height: 1.6;
}

/* --- 個人情報同意 --- */
.cf7_form_row_privacy{
  margin-top: 36px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
.cf7_form_privacy_text p{
  font-size: 0.85rem;
  margin: 0 0 12px;
}
.cf7_form_privacy_text a{
  color: #F89B3E;
  text-decoration: underline;
}
.cf7_form_input_checkbox .wpcf7-list-item{
  margin: 0;
}
.cf7_form_input_checkbox label{
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0 6px;
}

/* --- 送信ボタン --- */
.cf7_form_row_submit{
  text-align: center;
  margin-top: 40px;
}
.cf7_submit_btn{
  display: inline-block;
  padding: 18px 80px;
  background: #F89B3E;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  letter-spacing: 0.05em;
}
.cf7_submit_btn:hover{
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(248,155,62,0.3);
}
.cf7_submit_btn:disabled{
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* --- バリデーションエラー --- */
.wpcf7-not-valid{
  border-color: #e74c3c !important;
}
.wpcf7-not-valid-tip{
  display: block;
  font-size: 0.75rem;
  color: #e74c3c;
  margin-top: 6px;
}

/* --- 送信メッセージ --- */
.wpcf7-response-output{
  margin: 24px auto 0 !important;
  padding: 16px 20px !important;
  border-radius: 8px !important;
  font-size: 0.85rem;
  text-align: center;
  max-width: 800px;
}
.wpcf7 form.sent .wpcf7-response-output{
  border: 1px solid #27ae60 !important;
  background: #eafaf1;
  color: #1e8449;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output{
  border: 1px solid #e74c3c !important;
  background: #fdecea;
  color: #c0392b;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output{
  border: 1px solid #e67e22 !important;
  background: #fef5e7;
  color: #d35400;
}

/* --- CF7 スピナー --- */
.wpcf7-spinner{
  margin: 16px auto 0;
  display: block;
}

/* --- CF7 レスポンシブ --- */
@media screen and (max-width: 768px){
  .cf7_form_row_half{
    grid-template-columns: 1fr;
    gap: 28px 0;
  }
  .cf7_form_wrap input[type="text"],
  .cf7_form_wrap input[type="email"],
  .cf7_form_wrap input[type="tel"],
  .cf7_form_wrap select,
  .cf7_form_wrap textarea{
    font-size: 16px;
    padding: 12px 14px;
  }
  .cf7_submit_btn{
    width: 100%;
    padding: 16px 20px;
  }
  .cf7_form_row_privacy{
    padding: 16px;
  }
  .cf7_form_note{
    text-align: left;
  }
}

/* --- reCAPTCHA v3 バッジ非表示 --- */
.grecaptcha-badge{
  visibility: hidden !important;
}

/* --- reCAPTCHA 帰属表示 --- */
.cf7_recaptcha_notice{
  text-align: center;
  color: #999;
  margin-top: 24px !important;
}
.cf7_recaptcha_notice a{
  color: #999;
  text-decoration: underline;
}

/* --- サンクスページ --- */
.cf7_thanks_box{
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
}
.cf7_thanks_box h2{
  margin-bottom: 32px;
}
.cf7_thanks_box .wp-block-buttons{
  margin-top: 40px;
}
@media screen and (max-width: 768px){
  .cf7_thanks_box{
    padding: 10% 5%;
  }
}


/* =============================================
   沿革タイムライン — Gutenbergネイティブ版
   wp:group .tmpl_timeline_entry で構成
============================================= */
.tmpl_timeline > .wp-block-group__inner-container{
  padding-left: 48px;
  position: relative;
}
.tmpl_timeline > .wp-block-group__inner-container:before{
  content: "";
  width: 1px;
  height: 100%;
  background: #F89B3E;
  position: absolute;
  left: 16px;
  top: 0;
}
.tmpl_timeline_entry{
  padding: 0 0 30px;
  margin-bottom: 30px;
  position: relative;
}
.tmpl_timeline_entry:last-child{
  margin-bottom: 0;
}
.tmpl_timeline_entry:before{
  content: "";
  width: 33px;
  height: 33px;
  background: #F89B3E;
  position: absolute;
  left: -48px;
  top: -0.1em;
  border-radius: 50%;
}
.tmpl_timeline_entry h3{
  padding-left: 0;
  margin: 0 0 10px;
}
.tmpl_timeline_entry h3:before{
  display: none;
}
.tmpl_timeline_entry .tmpl_label{
  margin-bottom: 20px;
}
.tmpl_timeline_entry .wp-block-columns{
  gap: 40px;
}
.tmpl_timeline_entry .wp-block-image img{
  width: 100%;
  height: auto;
  border-radius: 4px;
}
@media screen and (max-width:768px){
  .tmpl_timeline > .wp-block-group__inner-container{
    padding-left: 7.5vw;
  }
  .tmpl_timeline > .wp-block-group__inner-container:before{
    left: 2.5vw;
  }
  .tmpl_timeline_entry{
    padding: 0 0 5%;
    margin-bottom: 5%;
  }
  .tmpl_timeline_entry:before{
    width: calc(5vw + 1px);
    height: calc(5vw + 1px);
    left: -7.5vw;
  }
  .tmpl_timeline_entry .wp-block-columns{
    gap: 20px;
  }
}


/* =============================================
   About — スタッフ紹介セクション
============================================= */
/* スタッフ写真の下マージン */
.tmpl_box .wp-block-image{
  margin-bottom: 20px;
}
/* 写真カラム（横並び）の下マージン */
.tmpl_box .wp-block-columns{
  margin-bottom: 24px;
}
/* カラム内画像は除外（創業者等の横並び） */
.tmpl_box .wp-block-columns .wp-block-image{
  margin-bottom: 0;
}
/* スタッフボックス間の余白 */
.tmpl_box + .tmpl_box{
  margin-top: 40px;
}
@media screen and (max-width:768px){
  .tmpl_box .wp-block-image{
    margin-bottom: 5%;
  }
  .tmpl_box + .tmpl_box{
    margin-top: 7.5%;
  }
}


/* =============================================
   service01 — 特徴カード / ハイライト / カラム余白
============================================= */
.tmpl_feature_cols{
  margin-bottom: 20px !important;
}
.tmpl_feature_cols:last-of-type{
  margin-bottom: 0 !important;
}

.tmpl_feature_card{
  background: #fafafa;
  padding: 35px 30px;
  border: none;
  border-left: 4px solid #F89B3E;
  border-radius: 0;
  margin-top: 0;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tmpl_feature_card:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.tmpl_feature_card h3,
.tmpl_feature_card h3:before{ display: none;}
.tmpl_feature_card h4{
  font-size: 1.1rem;
  color: #F89B3E;
  margin: 0 0 15px;
}
.tmpl_feature_card p{
  margin-bottom: 0.75em;
}

.tmpl_feature_notes{
  background: #f5f5f5;
  border-left-color: #999;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tmpl_feature_notes p.att{
  margin-bottom: 10px;
}
.tmpl_feature_notes p.att:last-child{
  margin-bottom: 0;
}

.tmpl_highlight_item{
  background: #fff;
  padding: 35px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}
.tmpl_highlight_item h4{
  color: #F89B3E;
  margin: 0 0 15px;
}

@media screen and (max-width:768px){
  .tmpl_feature_card{
    padding: 24px 20px;
  }
  .tmpl_feature_card h4{
    font-size: 1rem;
  }
  .tmpl_highlight_item{
    padding: 24px 20px;
  }
}


/* =============================================
   service01 — プラン表
============================================= */
.tmpl_plan_table_wrap{
  margin-top: 40px;
}
.tmpl_plan_table_wrap h3{
  font-size: 1.1rem;
  color: #F89B3E;
  margin: 40px 0 20px;
  padding-left: 42px;
  position: relative;
}
.tmpl_plan_table_wrap h3:before{
  content: "";
  width: 32px;
  height: 2px;
  background: #F89B3E;
  position: absolute;
  left: 0;
  top: 0.5em;
}
.tmpl_plan_table_wrap h3:first-child{
  margin-top: 0;
}
.tmpl_plan_table_scroll{
  overflow-x: auto;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}
.tmpl_plan_table{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 600px;
}
.tmpl_plan_table th,
.tmpl_plan_table td{
  padding: 14px 12px;
  text-align: center;
  border: 1px solid #ddd;
  vertical-align: middle;
}

/* ヘッダー */
.tmpl_plan_th_item{
  background: #333;
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding-left: 20px;
}
.tmpl_plan_th_a{
  background: #F89B3E;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  min-width: 140px;
}
.tmpl_plan_th_b{
  background: #727272;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  min-width: 140px;
}

/* カテゴリ行 */
.tmpl_plan_cat_row{
  background: #F5F5F5;
}
.tmpl_plan_cat_row th{
  font-weight: 700;
  color: #333;
  text-align: left;
  padding-left: 20px;
}

/* 項目名 */
.tmpl_plan_item{
  text-align: left;
  padding-left: 15px;
  font-size: 0.8rem;
  color: #555;
}

/* 金額 */
.tmpl_plan_amount{
  font-weight: 500;
  color: #333;
}
.tmpl_plan_amount strong{
  font-size: 1.05rem;
  color: #d35400;
}

/* 注釈 */
.tmpl_plan_notes{
  background: #FAFAFA;
  padding: 24px;
  border-radius: 4px;
  margin-top: 20px;
}
.tmpl_plan_notes p{
  font-size: 0.75rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 8px;
}
.tmpl_plan_notes p:last-child{
  margin-bottom: 0;
}

@media screen and (max-width:768px){
  .tmpl_plan_table{
    font-size: 0.75rem;
    min-width: 500px;
  }
  .tmpl_plan_table th,
  .tmpl_plan_table td{
    padding: 10px 8px;
  }
  .tmpl_plan_table_wrap h3{
    font-size: 1rem;
    margin: 7.5% 0 5%;
    padding-left: 7.5vw;
  }
  .tmpl_plan_table_wrap h3:before{
    width: 5vw;
  }
}


/* =============================================
   パスワード保護ページ（service01等）
   WPの post-password-form をテーマに合わせてデザイン
============================================= */
.post-password-form{
  max-width: 460px;
  margin: 0 auto;
  padding: 60px 50px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  text-align: center;
}
.post-password-form p:first-child{
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 28px;
}
.post-password-form p:first-child:before{
  content: "🔒";
  display: block;
  font-size: 48px;
  margin-bottom: 16px;
}
.post-password-form label{
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
  text-align: left;
}
.post-password-form input[type="password"]{
  width: 100%;
  padding: 14px 18px;
  font-size: 1.1rem;
  font-family: inherit;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  text-align: center;
  letter-spacing: 0.15em;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.post-password-form input[type="password"]:focus{
  border-color: #F89B3E;
  outline: none;
  box-shadow: 0 0 0 3px rgba(248,155,62,0.12);
}
.post-password-form input[type="submit"]{
  display: inline-block;
  width: 100%;
  padding: 16px 40px;
  background: #F89B3E;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  letter-spacing: 0.05em;
}
.post-password-form input[type="submit"]:hover{
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(248,155,62,0.3);
}

/* パスワード保護ページの背景調整 */
.post-password-required .sec_tmpl_block{
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-password-required .tmpl_inner{
  width: 100%;
}

/* パスワードページ用 案内テキスト */
.tmpl_password_notice{
  text-align: center;
  max-width: 460px;
  margin: 0 auto 32px;
}
.tmpl_password_notice h2{
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.tmpl_password_notice p{
  font-size: 0.85rem;
  color: #666;
}
@media screen and (max-width:768px){
  .post-password-form{
    padding: 40px 24px;
    margin: 0 5%;
  }
  .post-password-form input[type="password"]{
    font-size: 16px;
  }
}

/* =============================================
   準備中ボタン（審査中の商品詳細ページ導線）
   公開時に不要になったらこのブロックごと削除可
============================================= */
.tmpl_btn_secondary.is-preparing{
  border-color: #cccccc;
  background: #f0f0f0;
  color: #888888;
  pointer-events: none;
  cursor: default;
}
.tmpl_btn_secondary.is-preparing .tmpl_btn_label{ color: #888888;}
.tmpl_btn_secondary.is-preparing:after{ opacity: 0.35;}
