/*
Theme Name:story_tcd041_child
Template:story_tcd041
Version:2.0
*/

html{font-size:62.5%;}
* {margin: 0;padding: 0;box-sizing: border-box;}
img {border: none;vertical-align: bottom;line-height: 0;}
main{display: block;}
h1,h2,h3,h4,h5,h6{font-size: 100%;font-weight: normal;font-family: "BIZ UDPGothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;}
h1,h1 a {font-size:26px;font-size:2.6rem;}
h2,h2 a {font-size:22px;font-size:2.2rem;}
h3 {font-size:20px;font-size:2.0rem;}
h4,h5 {font-size:18px;font-size:1.8rem;}
p,dl,a,ul,li,table,dt,dt a,figcaption {font-size:15px;font-size:1.5rem;font-family: "BIZ UDPGothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;}
a {text-decoration: none;color: inherit;line-height:inherit;font-size:inherit;cursor: pointer;transition-duration: 0.4s;}
a:hover{color:rgba(150,150,150,1);text-decoration: none;}
ul,p,tr,td,table{margin:0;padding:0;color: #333;}
p{line-height: 1.8;color: #333;text-align: justify;text-justify: inter-ideograph;-moz-font-feature-settings: "palt";-webkit-font-feature-settings: "palt";font-feature-settings: "palt";}
li,dd{list-style:none;margin: 0;padding: 0;color: #333;}
.cf:after{content: "";clear: both;display: block;}
.no-border{border: 0px!important;}
span.ib{display: inline-block;}
.attention{margin-left: 1em!important;text-indent: -1em;}
.attention:before{content: "※";}
.upper-1200,.upper-1024,.upper-767{display: block;}
.under-1200,.under-1024,.under-767{display: none;}
.fbox{display: -webkit-flex;display: flex;-webkit-flex-wrap: wrap;flex-wrap:wrap;-webkit-justify-content: space-between;justify-content:space-between;}
.fbox-column{-webkit-flex-direction: column;flex-direction:column;}
.fbox-start{-webkit-justify-content: flex-start;justify-content:flex-start;}
.fbox-end{-webkit-justify-content: flex-end;justify-content:flex-end;}
.fbox-center{-webkit-justify-content: center;justify-content:center;}
.fali-center{-webkit-align-items: center;align-items:center;}
.fali-end{-webkit-align-items: flex-end;align-items:flex-end;}
.fali-start{-webkit-align-items: flex-start;align-items:flex-start;}
.fali-base{-webkit-align-items: baseline;align-items:baseline;}
:root {
	--main-color: rgba(0,84,167,1);
	--sub-color: rgba(54,132,210,1);
	--srf-font: "游明朝","YuMincho","Hiragino Mincho ProN","Hiragino Mincho Pro","ＭＳ 明朝",serif;
}
.red{color: red;}
.blue{color:var(--main-color);}
.sky-blue{color:var(--sub-color);}
.mi{width: 100%;height: auto;}
.st{font-size:75%;}

.lato{font-family: "Lato", sans-serif;font-weight: 700}
.signage {display:none;}

.sticky{position: sticky;top: 0;z-index: 50;}
.multi-column-box{-moz-column-count: 2;-webkit-column-count: 2;column-count: 2;-moz-column-gap: 50px;-webkit-column-gap: 50px;column-gap: 50px;}
.srf{font-family:var(--srf-font)}
.pt0{padding-top: 0!important;}
.mt0{margin-top: 0!important;}
.mt15{margin-top: 15px!important;}
body{color: #000;font-size:10px;font-size:1.0rem;width:100%;line-height:1.8;font-family: "BIZ UDPGothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;background-color: #fff;}
/*---------------------------------------------------------common-----------------------------------------------*/

section.common-section{
	max-width: 1920px;
	width: 100%;
	margin: 0 auto;
	position: relative;
	padding: 80px 0;
}
div.common-inner{
	margin: 0 auto;
	max-width: 1240px;
	width: 100%;
	padding: 0 10px;
}
div.common-narrow-inner{
	margin: 0 auto;
	max-width: 900px;
	width: 100%;
	padding: 0 10px;
}
section.wide-section{
	width: 100%;
}
section.gray-section{
	background-color: rgba(247, 247, 247, 1.0);
}
div.common-title-wrapper{
	margin-bottom: 70px;
}
div.common-title-wrapper h2{
	font-size: 66px;
	font-weight: bold;
}
div.common-title-wrapper p{
	font-size: 16px;
}
div.common-btn-wrapper{
	margin: 40px auto 0;
	text-align: center;
}
div.common-btn-wrapper-left{
	text-align: left;
}
div.common-btn a{
	display: inline-block;
	font-size: 14px;
	color: #fff;
	text-align: center;
	border-radius: 50px;
	background-image: linear-gradient(-90deg, var(--main-color), var(--sub-color));
	position: relative;
}
div.common-btn a:before{
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(90deg, var(--main-color), var(--sub-color));
	opacity: 0;
	transition-duration: .4s;
	border-radius: 50px;
}
div.common-btn a:hover:before{
	opacity: 1;
}
div.common-btn a span{
	display: block;
	position: relative;
	padding: 18px 135px 18px 90px;

}
div.common-btn a span:after{
	content: "";
	width: 20px;
	height: 1px;
	background-color: #fff;
	position: absolute;
	right: 90px;
	top: 30px;
}
div.common-btn a span:before{
	content: "";
	width: 8px;
	height: 1px;
	background-color: #fff;
	position: absolute;
	right: 89.5px;
	top: 28px;
	transform: rotate(30deg);
}
div.common-btn-small-wrapper{
	margin: 15px auto 0;
}
div.common-btn-small p{
	display: inline-block;
	font-size: 14px;
	color: #fff;
	text-align: center;
	border-radius: 50px;
	background-image: linear-gradient(-90deg, var(--main-color), var(--sub-color));
	position: relative;
}
div.common-btn-small p:before{
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(90deg, var(--main-color), var(--sub-color));
	opacity: 0;
	transition-duration: .4s;
	border-radius: 50px;
}
div.common-btn-small p:hover:before{
	opacity: 1;
}
div.common-btn-small p span{
	display: block;
	position: relative;
	padding: 8px 45px 8px 30px;

}
div.common-btn-small p span:after{
	content: "";
	width: 18px;
	height: 1px;
	background-color: #fff;
	position: absolute;
	right: 20px;
	top: 20px;
}
div.common-btn-small p span:before{
	content: "";
	width: 6px;
	height: 1px;
	background-color: #fff;
	position: absolute;
	right: 20px;
	top: 18px;
	transform: rotate(30deg);
}
/*---------------------------------------------------------child-common-----------------------------------------*/
div.main div.post-header{
	margin-top: 160px;
}
/*---------------------------------------------------------header-----------------------------------------------*/
.header .header-bar {
	background-color: rgba(255, 255, 255, .9);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 15;
}
.breadcrumb-wrapper {
    position: relative;
    top: 60px;
}
div.header-inner{
	padding: 5px;
}
.logo-image img{
	width: 100%!important;
	height: auto!important;
}
nav.header-nav{
	margin-right: 50px;
}
nav.header-nav ul > li{
	position: relative;
}
nav.header-nav ul > li:not(:last-child){
	margin-right: 50px;
}
nav.header-nav ul li a{
	font-size: 14px;
	line-height: 1.0;
	position: relative;
	display: block;
	padding: 1em;
}
nav.header-nav ul li a:after{
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background-color: #999;
	transition-duration: .4s;
	transition-property: all;
}
nav.header-nav ul li a:hover:after{
	width: 100%;
}
div.header-contact-btn a{
	display: block;
	font-size: 14px;
	xxcolor: #fff;
	xxtext-align: center;
	xxborder-radius: 50px;
	xxbackground-image: linear-gradient(-90deg, var(--main-color), var(--sub-color));
	position: relative;
}
nav.header-nav ul li div.header-contact-btn a:after{
	content: none;
}
div.header-contact-btn a:before{
	content: "";
	position: absolute;
	inset: 0;
	xxbackground-image: linear-gradient(90deg, var(--main-color), var(--sub-color));
	opacity: 0;
	transition-duration: .4s;
	border-radius: 50px;
}
div.header-contact-btn a:hover:before{
	opacity: 1;
}
div.header-contact-btn a span{
	display: block;
	position: relative;
	padding: 18px 70px 18px 35px;

}
div.header-contact-btn a span:after{
	content: "";
	width: 20px;
	height: 1px;
	background-color: #fff;
	position: absolute;
	right: 25px;
	top: 24px;
}
div.header-contact-btn a span:before{
	content: "";
	width: 8px;
	height: 1px;
	background-color: #fff;
	position: absolute;
	right: 24.5px;
	top: 22px;
	transform: rotate(30deg);
}

/** 追記 **/

/* ==========================================
   ① 共通のサブメニュー（ドロップダウン）設定
   （文字が縦に潰れるのを防ぎ、綺麗に表示します）
========================================== */
nav.header-nav ul > li {
    position: relative;
}
nav.header-nav ul > li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    display: none;
    min-width: 250px; /* ★幅をしっかり確保して縦長になるのを防ぐ */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 0;
}
nav.header-nav ul > li:hover ul.sub-menu {
    display: block;
}
nav.header-nav ul > li ul.sub-menu li {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #f0f0f0; /* メニュー間の薄い区切り線 */
}
nav.header-nav ul > li ul.sub-menu li a {
    display: block !important;
    padding: 15px 20px !important;
    text-align: left !important;
    color: #333 !important;
    white-space: nowrap !important; /* ★文字が強制的に改行されるのを防ぐ */
    font-size: 14px !important;
}
nav.header-nav ul > li ul.sub-menu li a:after {
    content: none !important; /* ホバー時の下線アニメーションを消去 */
}
nav.header-nav ul > li ul.sub-menu li a:hover {
    background-color: #f9f9f9 !important;
}

/* ==========================================
   ② 「お問い合わせ」ボタン本体のデザイン
========================================== */
nav.header-nav ul > li.contact-btn > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    color: #fff !important;
    border-radius: 50px !important;
    background-image: linear-gradient(-90deg, var(--main-color), var(--sub-color)) !important;
    position: relative !important;
    padding: 0 35px !important; 
    z-index: 1;
    height: 50px !important; /* ボタンの高さを固定 */
}
nav.header-nav ul > li.contact-btn > a:after {
    content: none !important;
}
/* ホバー時の背景グラデーション */
nav.header-nav ul > li.contact-btn > a:before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: linear-gradient(90deg, var(--main-color), var(--sub-color)) !important;
    opacity: 0 !important;
    transition-duration: .4s !important;
    border-radius: 50px !important;
    z-index: -1 !important;
}
nav.header-nav ul > li.contact-btn > a:hover:before {
    opacity: 1 !important;
}

/* ==========================================
   ③ 「お問い合わせ」の白い矢印の復活
========================================== */
nav.header-nav ul > li.contact-btn > a span {
    position: relative !important;
    display: inline-block !important;
    padding-right: 30px !important; /* 矢印を入れるための右側の余白 */
}
/* 矢印（横線） */
nav.header-nav ul > li.contact-btn > a span:after {
    content: "" !important;
    width: 20px !important;
    height: 1px !important;
    background-color: #fff !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
/* 矢印（斜め線） */
nav.header-nav ul > li.contact-btn > a span:before {
    content: "" !important;
    width: 8px !important;
    height: 1px !important;
    background-color: #fff !important;
    position: absolute !important;
    right: 0 !important;
    top: calc(50% - 3px) !important;
    transform: rotate(30deg) !important;
}

/* ==========================================
   ④ 「お問い合わせ」内の子メニューの装飾リセット
========================================== */
nav.header-nav ul > li.contact-btn ul.sub-menu {
    right: 0; /* 右端に揃える */
    left: auto;
    top: 60px; /* ボタンから少し下にずらす */
}
nav.header-nav ul > li.contact-btn ul.sub-menu li a {
    background: none !important;
    color: #333 !important;
    border-radius: 0 !important;
    height: auto !important;
}
nav.header-nav ul > li.contact-btn ul.sub-menu li a span {
    padding-right: 0 !important;
}
nav.header-nav ul > li.contact-btn ul.sub-menu li a span:after,
nav.header-nav ul > li.contact-btn ul.sub-menu li a span:before {
    content: none !important; /* 子メニュー内で矢印が出ないようにする */
}

/** 追記 **/


div.humberger-wrapper{
	display: none;
}
div.humberger-wrapper > div.humberger{
	margin:0 auto;
	position: absolute;
	cursor: pointer;
	height: 20px;
	padding:0 20px;
	width: 40px;
	right: 18px;
	top: 25px;
}
div.humberger-wrapper > div.humberger:before{
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: #333;
	content: "";
	top: 0;
	left: 0;
	transition-duration: .4s;
}
/* ▼修正箇所1：三本線の下線が半分になるのを防ぐ */
div.humberger-wrapper > div.humberger:after{
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: #333;
	content: "";
	bottom: 0;
	left: 0;
	transition-duration: .4s;
}
div.humberger-wrapper > div.humberger div:after{
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: #333;
	content: "";
	bottom: 50%;
	left: 0;
}
/* ▼修正箇所2：ホバー時に変な矢印(←)に変形するアニメーションを無効化 */
div.humberger-wrapper > div.humberger:hover:before{
	top: 0;
	left: 0;
	transform: none;
	width: 100%;
}
div.humberger-wrapper > div.humberger:hover:after{
	bottom: 0;
	left: 0;
	transform: none;
	width: 100%;
}

div.header-bar{
	height: auto;
	background-color: transparent!important;
}


/*------- ここから --------*/
aside.side-menu{
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(-45deg, var(--main-color), var(--sub-color));
    z-index: 60;
    position: fixed;
    left: 110vw;
    top: 0;
    opacity: 0;
    transition-duration: .6s;
    overflow-y: scroll;
}
div.side-menu-main{
    padding: 15px;
}
div.side-menu-main h2{
    max-width: 219px;
    width: 50%;
    margin: 0 auto 60px;
}
div.side-menu-list-wrapper{
    margin-top: 60px;
}
div.side-menu-wrapper{
    width: 50%;
    padding-right: 80px;
}
div.side-menu-wrapper h3{
    font-size: 34px;
    font-size: 3.4rem;
    margin-bottom: 15px;
}

/* ▼修正箇所3：メニュー展開後の「閉じるボタン」を綺麗な「×」にする */
div.menu-close{
    margin:0 auto 30px;
    position: absolute;
    cursor: pointer;
    height: 20px;
    padding:0 20px;
    width: 40px;
    right: 18px;
    top: 30px;
}
div.menu-close:before{
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    content: "";
    top: 50%;
    right: 0;
    transform: rotate(45deg);
}
div.menu-close:after{
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    content: "";
    top: 50%;
    right: 0;
    transform: rotate(-45deg);
}
div.menu-close div:after{
    display: none;
}

/* -------------------------------------
 ここから下が、アコーディオン用の新しい設定です
-------------------------------------- */

/* メニューのテキストとリスト全体のリセット */
nav.side-nav a {
    text-align: left;
    color: #fff;
    text-decoration: none;
}
nav.side-nav ul {
    margin-top: 25px;
    padding: 0;
    width: 100%;
    display: block;
}
nav.side-nav ul li {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
}

/* 親メニュー（dt）の区切り線と余白 */
nav.side-nav ul li dl {
    display: block;
    border-bottom: 1px dashed #fff; /* 白い点線の区切り */
    margin: 0;
    padding: 0;
    height: auto;
}
nav.side-nav ul li dl dt {
    position: relative;
    padding: 15px 0;
    text-align: left;
}
nav.side-nav ul li dl dt a {
    font-size: 18px;
    display: block;
    padding-right: 30px;
}

/* 右側のアイコン（+ と >） */
nav.side-nav ul li dl dt::after {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 16px;
    font-weight: normal;
}
/* 子メニューがない場合は > を表示 */
nav.side-nav ul li dl:not(:has(dd)) dt::after {
    content: ">";
}
/* 子メニューがある場合は + を表示 */
nav.side-nav ul li dl:has(dd) dt {
    cursor: pointer;
}
nav.side-nav ul li dl:has(dd) dt::after {
    content: "+";
    font-size: 24px;
}
/* 開いている時は - にする */
nav.side-nav ul li dl.is-open dt::after {
    content: "-";
}

/* 子メニュー（dd）のスタイル */
nav.side-nav ul li dl dd {
    display: none;
    text-align: left;
    padding: 10px 0 10px 20px;
    border-top: 1px dotted rgba(255, 255, 255, 0.5);
    margin: 0;
}
nav.side-nav ul li dl dd a {
    font-size: 15px;
    display: block;
    padding: 8px 0;
}

/*------- ここまで --------*/
/*---------------------------------------------------------footer-----------------------------------------------*/
footer{

}
section.to-the-top{
	position: fixed;
	z-index: 10;
	right: 15px;
	bottom: 15px;
	background-color: var(--main-color);
	opacity: 0;
	transition-duration: .4s;
	padding: 0 15px;
}
section.to-the-top p a{
	color: #fff;
}
section.footer-contact-section{
	background-image: linear-gradient(180deg, var(--main-color), var(--sub-color));
	padding-top: 60px;
}
section.footer-contact-section div.common-title-wrapper h2{
	text-align: center;
	font-size: 60px;
	color: #fff;
}
nav.footer-contact-nav ul{
	gap: 30px;
}
nav.footer-contact-nav ul li{
	min-width: 360px;
	padding: 20px 35px;
	background-color: #fff;
	width: 30%;
}
nav.footer-contact-nav ul li a{
	gap: 20px;
	width: 100%;
}
div.footer-contact-texts p{
	text-align: center;
}
p.footer-contact-tel{
	font-size: 26px;
	line-height: 1.4;
}
section.footer-nav-section{
	background: rgba(0, 0, 0, 0) url('images/bg-footer-nav.jpg') no-repeat center center / cover;
}
section.footer-nav-section nav ul{
	gap: 50px;
}
section.footer-nav-section nav ul li a{
	color: #fff;
	position: relative;
	display: inline-block;
	padding-bottom: 0px;
}
section.footer-nav-section nav ul li a:before{
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	width: 0px;
	background-color: transparent;
	transition-duration: .4s;
	transition-property: all;
}
section.footer-nav-section nav ul li a:hover:before{
	width: 100%;
	background-color: #fff;
}
section.footer-nav-section nav ul li dl dd{
	margin-top: 10px;
	position: relative;
	color: #fff;
	padding-left: 20px;
}
section.footer-nav-section nav ul li dl dd:before{
	content: "〉";
	font-size: 11px;
	position: absolute;
	left: 0;
	top: 3px;
}
section.footer-nav-section nav ul li dl dd:first-of-type{
	margin-top: 25px;
}
section.footer-adress-section{
	background-image: linear-gradient(0deg, var(--main-color), rgba(0, 0, 0, 1.0));
	padding-bottom: 25px;
}
section.footer-adress-section p{
	color: #fff;
}
section.footer-adress-section figcaption{
	color: #fff;
	margin-top: 5px;
	text-align: center;
}
div.footer-attr figure{
	width: 219px;
	margin-right: 40px;
}
div.footer-attr p{
	line-height: 2.4;
}
figure.support-fig{
	width: 360px;
}
div.copy-wrapper{
	margin-top: 80px;
}
div.copy-wrapper p{
	color: #fff;
	text-align: center;
}
/*---------------------------------------------------------top--------------------------------------------------*/


section.index-top-image{
	width: 100%;
	margin: 0 auto;
	max-width: 1920px;
	padding-left: 8.6%;
	padding-bottom: 100px;
	padding-top: 60px;
	background-image: linear-gradient(0deg, var(--main-color) 0%, var(--sub-color) 50%, transparent 50.1%);
	height: 85vh;
	position: relative;
}
div.index-top-paragraphs{
	position: absolute;
	inset: 0;
	padding-left: 15vw;
	height: 100%;
	z-index: 2;
	padding-bottom: 100px;
}
div.index-top-paragraphs h2{
	color: #fff;
	font-style: italic;
	font-weight: 400;
	display: inline-block;
	border-bottom: 1px solid #fff;
	font-size: 4.2vw;
	line-height: 1.0;
	margin-bottom: 15px;
	padding-bottom: 10px;
}
div.index-top-paragraphs p{
	line-height: 1.4;
	font-size: 24px;
	color: #fff;
}
section.index-new-section div.common-title-wrapper h2{
	text-align: center;
}
section.index-new-section div.common-title-wrapper p{
	text-align: center;
}
ul.index-news-list{
	width: 100%;
}
ul.index-news-list li{
	padding: 30px 90px;
	border-top: 1px dotted #000;
}
ul.index-news-list li:last-child{
	border-bottom: 1px dotted #000;
}
ul.index-news-list li p.index-news-list-date{
	width: 7em;
	font-size: 16px;
}
ul.index-news-list li a{
	width: calc(100% - 9em);
	font-size: 16px;
}
section.index-possibility-section{
	z-index: 2;
}
div.index-possibility-wrapper{
	gap: 100px;
}
div.index-possibility-wrapper figure{
	width: calc(50% - 50px);
}
div.index-possibility-wrapper > div{
	width: calc(50% - 50px);
}
div.index-possibility-texts h3{
	color: rgba(153, 153, 153, 1.0);
	font-size: 72px;
	font-weight: bold;
	line-height: 1.2;
	margin-left: -120px;
	padding-right: 120px;
}
div.index-possibility-paragraphs{
	margin-top: 50px;
}
div.index-possibility-paragraphs h4{
	margin-bottom: 40px;
	font-size: 28px;
	font-weight: bold;
}
div.index-possibility-paragraphs p{
	padding-left: 1em;
	text-align: left;
}
section.index-column-section{
	background: rgba(0, 0, 0, 0) url('images/top/bg-column.png') no-repeat center center / cover;
}
section.index-column-section div.common-title-wrapper h2{
	text-align: center;
}
ul.index-column-list{
	gap: 35px;
	margin-top: 70px;
}
ul.index-column-list li{
	width: calc((100% - 105px) / 4);
	background-color: #fff;
	border-radius: 5px;
	filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, .4));
	padding: 15px 10px;
	transition-duration: .4s;
}
ul.index-column-list li:hover{
	filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, .4));
}

/* スマホの時だけ設定を上書きする */
@media screen and (max-width: 767px) {
    ul.index-column-list li figure{
        margin-bottom: 25px;
        overflow: hidden;
    }
    ul.index-column-list li figure img{
        transition-duration: .4s;
    }
    ul.index-column-list li figure img:hover{
        transform: scale(1.1);
    }
}

section.index-link-section{
	padding-top: 0!important;
	padding-bottom: 0!important;
}
nav.index-link-nav ul li{
	
}
nav.index-link-nav ul li.index-link-big{
	width: 33.3333%;
	height: 25vw;
}
nav.index-link-nav ul li.index-link-big1{
	background: rgba(0, 0, 0, 0) url('images/top/btn-link1.jpg') no-repeat center center / cover;
}
nav.index-link-nav ul li.index-link-big2{
	background: rgba(0, 0, 0, 0) url('images/top/btn-link2.jpg') no-repeat center center / cover;
}
nav.index-link-nav ul li.index-link-big3{
	background: rgba(0, 0, 0, 0) url('images/top/btn-link3.jpg') no-repeat center center / cover;
}
nav.index-link-nav ul li.index-link-small{
	width: 50%;
	height: 17.4vw;
}
nav.index-link-nav ul li.index-link-small1{
	background: rgba(0, 0, 0, 0) url('images/top/btn-link4.jpg') no-repeat center center / cover;
}
nav.index-link-nav ul li.index-link-small2{
	background: rgba(0, 0, 0, 0) url('images/top/btn-link5.jpg') no-repeat center center / cover;
}
nav.index-link-nav ul li h5{
	color: #fff;
	font-size: 3.4vw;
	text-align: center;
	line-height: 1.0;
	z-index: 2;
}
nav.index-link-nav ul li a{
	width: 100%;
	height: 100%;
	position: relative;
}
nav.index-link-nav ul li a:before{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	content: "";
	background-color: rgba(0, 0, 0, .5);
	transition-duration: .4s;
}
nav.index-link-nav ul li a:hover:before{
	background-color: rgba(0, 0, 0, .2);
}
section.index-business-section{
	overflow: hidden;
}
div.index-business-title-wrapper{
	position: relative;
	z-index: 99;
	padding-left: 17.7%;
	margin-bottom: 0;
}
article.index-business-article{
	position: relative;
}
article.index-business-article1{
	z-index: 6;
}
article.index-business-article2{
	z-index: 5;
}
article.index-business-article3{
	z-index: 4;
}
article.index-business-article4{
	z-index: 3;
}
article.index-business-article5{
	z-index: 2;
}
article.index-business-article:not(:last-child){
	margin-bottom: 40px;
}
article.index-business-right{
	padding-left: 17.7%;
}
article.index-business-left{
	padding-right: 10%;
}
article.index-business-left div.index-business-texts{
	padding-left: 7.7%;
}
div.index-business-inner figure{
	width: 49.5vw;
}
div.index-business-inner div.index-business-texts{
	width: calc(100% - 49.5vw - 40px);
	margin: 0 20px;
}
div.index-business-inner div.index-business-texts h3{
	font-size: 2.0vw;
	font-weight: bold;
	letter-spacing: -.02em;
	margin-top: 20px;
}
div.index-business-inner div.index-business-texts h3 span{
	font-style: italic;
}
div.index-business-inner div.index-business-texts h5{
	font-size: 1.35vw;
	margin-top: 5px;
}
div.index-business-paragraphs{
	margin-top: 30px;
	padding: 45px 25px;
	background-color: #fff;
	filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, .2));
}
div.index-business-paragraphs p{
	font-size: 16px;
}
div.more-wrapper{
	margin-top: 30px;
}
div.more-wrapper a{
	display: block;
	text-align: center;
	padding: 6px 50px 6px 20px;
	background-image: linear-gradient(90deg, rgba(0, 160, 233, 1.0), rgba(45, 173, 231, 1.0));
	color: #fff;
	font-weight: 300;
	border-radius: 4px;
	font-size: 14px;
	position: relative;
}
div.more-wrapper a:after{
	content: "";
	width: 18px;
	height: 1px;
	background-color: #fff;
	position: absolute;
	right: 20px;
	top: 19px;
}
div.more-wrapper a:before{
	content: "";
	width: 6px;
	height: 1px;
	background-color: #fff;
	position: absolute;
	right: 20px;
	top: 17px;
	transform: rotate(30deg);
}
div.gradient-bg{
	position: absolute;
	background-image: linear-gradient(180deg, var(--main-color), var(--sub-color));
	width: 17vw;
	height: 31vw;
	z-index: -1;
}
div.gradient-bg1{
	top:  100px;
	left: 0;
}
div.gradient-bg2{
	top: 200px;
	right: 0;
	width: 19vw;
}
div.gradient-bg3{
	top: 200px;
	left: 0;
	width: 30vw;
}
div.gradient-bg4{
	top: 100px;
	right: 0;
	width: 15vw;
	height: 22vw;
}
div.gradient-bg5{
	top: 200px;
	right: 0;
	width: 58vw;
	height: 22vw;
}
/*---------------------------------------------------------child-common------------------------------------------*/
.post-content {
		font-size: 16px;
		line-height: 3.0!important;
}

.post-content h2 {
	font-size: 2.8em;
	padding: 10px 0px 30px;
}

.post-content h3 {
	font-size: 1.8em;
	padding: 10px 0px 20px;
	color: #333333;
}

.midashi {
	position: relative;
	padding: 1em 2em;
	border-bottom: 2px solid #00a0e9;
}

.midashi:before {
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 5%;
	height: 2px;
	content: '';
	background: #0054a7;
}

.read {
	font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	color: #00134b;
}


.parallax {
	/*background-image: url("/files/about_haikei02.webp");*/
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 50vh;
	margin: 80px 0;
}


.sub_m{
	font-size:0.9em; 
	color: #00a0e9;
}

.ptrb80{
	padding-top: 80px;
	padding-right: 80px;
	padding-bottom: 80px;
	padding-left: 0px;
}

.pic2 img {
	border-radius: 20px;
}

.haikei02{
	background-color: #f4fbfc;
	padding: 80px 0px 20px;
}
/*---------------------------------------------------------table------------------------------------------------*/
table{

	margin:20px auto 2px;
	width: 100%;
	border-spacing: 8px;
}
td,th{
	padding: 15px 25px;
	-moz-font-feature-settings: "palt";
	-webkit-font-feature-settings: "palt";
	font-feature-settings: "palt";
	font-weight: normal;
	line-height: 1.2;
	text-align: left;
}
th{
	background-color: rgba(172,50,50,1);
	color: #fff;
	width: 25%;
	vertical-align: top;
}
td{
	background-color: #f6f6f6;
	width: 75%;
}
table tr:nth-child(even) td{
	background-color: #fbfbfb;
}



/*-------------------------------トップ調整------------------------------*/

section.common-section {max-width: 100%;}
div.index-business-inner div.index-business-texts {width: calc(100% - 61% - 40px);}
div.index-business-inner figure {width: 60%;}
div.common-inner {max-width: 75vw;}
section.index-top-image {max-width: 100%;}
article.index-business-left div.index-business-texts {padding-left: 1%;}

/*-------------------------------トップ調整------------------------------*/


/*---------------------------------------------------------slides-----------------------------------------------*/
section.swiper-container-main{
	width: 100%;
	margin: 0 auto;
	position: relative;
	height: 100%!important;
}
section.swiper-container-main:before{
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(105deg, rgba(0, 0, 0, .7) 50%, rgba(0, 0, 0, 0) 50.1%);
	z-index: 2;
	width: 100%;
}
/*section.swiper-container-main li.slide1{
	background: rgba(0, 0, 0, 0) url('images/top/slide/slide1.jpg') no-repeat center center / cover;
}
section.swiper-container-main li.slide2{
	background: rgba(0, 0, 0, 0) url('images/top/slide/slide2.jpg') no-repeat center center / cover;
}*/


/*---------------------------------------------------------1370px以下--------------------------------------------*/
@media screen and (max-width: 1370px) {

}
/*---------------------------------------------------------1320px以下--------------------------------------------*/
@media screen and (max-width: 1320px) {

}
/*---------------------------------------------------------1225px以下--------------------------------------------*/
@media screen and (max-width: 1225px) {
	nav.header-nav ul li:not(:last-child){
		margin-right: 25px;
	}
	article.index-business-article:not(:last-child){
		margin-bottom: 20px;
	}
}
/*---------------------------------------------------------1100px以下--------------------------------------------*/
@media screen and (max-width: 1100px) {

}
/*---------------------------------------------------------1024px以下--------------------------------------------*/
@media screen and (max-width: 1024px) {
	nav.header-nav ul li:not(:last-child){
		display: none;
	}
	section.index-top-image{
		padding-left: 0;
		padding-bottom: 50px;
	}
	article.index-business-right{
		padding-left: 0;
	}
	article.index-business-left{
		padding-right: 0;
	}
	article.index-business-left div.index-business-texts{
		padding-left: 0;
	}
	div.footer-attr{
		width: 100%;
		-webkit-justify-content: center;justify-content:center;
	}
	section.common-section{
		padding-top: 40px;
		padding-bottom: 40px;
	}
	figure.support-fig{
		margin: 20px auto;
	}
}
/*---------------------------------------------------------920px以下--------------------------------------------*/
@media screen and (max-width: 920px) {

}
/*---------------------------------------------------------880px以下---------------------------------------------*/
@media screen and (max-width: 880px) {

}
/*---------------------------------------------------------767px以下---------------------------------------------*/
@media screen and (max-width: 767px) {
	.upper-767{
		display: none;
	}
	ul.index-column-list{
		gap: 15px;
		margin-top: 30px;
	}
	ul.index-column-list li{
		width: calc((100% - 15px ) / 2);
	}
	div.index-possibility-texts h3{
		font-size: 40px;
		margin-left: 0;
		padding-right: 0;
		text-align: center;
	}
	div.index-possibility-wrapper{
		-webkit-flex-direction: column;flex-direction:column;
		gap: 40px;
	}
	div.index-possibility-paragraphs{
		margin-top: 20px;
	}
	div.index-possibility-paragraphs h4{
		text-align: center;
	}
	div.index-possibility-wrapper figure{
		width: 100%;
		margin: 0 auto;
		max-width: 500px;
	}
	div.index-possibility-wrapper > div{
		width: 100%;
	}
	div.common-btn-wrapper-left{
		text-align: center;
	}
	div.index-top-paragraphs{
		padding-left: 50px;
	}
	div.common-title-wrapper h2{
		font-size: 40px;
	}
	div.index-business-title-wrapper{
		padding-left: 0;
		text-align: center;
	}
	div.footer-attr p{
		font-size: 14px;
	}
	div.footer-attr-text{
		width: 100%;
		margin-top: 25px;
	}
	div.footer-attr-text p{
		text-align: center;
	}
	section.footer-contact-section div.common-title-wrapper h2{
		font-size: 40px;
	}
	ul.index-news-list li{
		padding: 30px 15px;
	}
	nav.index-link-nav ul li.index-link-big{
		width: 100%;
		height: 40vw;
	}
	nav.index-link-nav ul li.index-link-small{
		width: 100%;
		height: 40vw;
	}
	nav.index-link-nav ul li h5{
		font-size: 30px;
	}
	div.main div.post-header{
		margin: 100px auto 20px;
	}
	.post-content h2 {
		font-size: 1.8em;
	}
	.post-content h3 {
		font-size: 1.4em;
	}
}
/*---------------------------------------------------------650px以下---------------------------------------------*/
@media screen and (max-width: 650px) {
	div.header-inner h1{
		width: 140px;
		line-height: 1.0;
	}
	div.header-contact-btn a span{
		padding: 9px 25px;
	}
	div.header-contact-btn a span::before{
			content: none;
	}
	div.header-contact-btn a span::after{
			content: none;
	}
	div.index-top-paragraphs{
		padding-left: 15px;
		padding-right: 15px;
	}
	div.index-top-paragraphs h2{
		font-size: 32px;
	}
	div.index-top-paragraphs p{
		font-size: 20px;
	}
	section.index-top-image{
		padding-top: 0px;
	}
	div.index-business-inner div.index-business-texts{
		width: 100%;
		margin: 0;
		padding: 0 15px;
	}
	div.index-business-inner div.index-business-texts h3{
		font-size: 22px;
	}
	div.index-business-inner div.index-business-texts h5{
		font-size: 18px;
	}
	div.index-business-inner figure{
		width: 98%;
		margin: 0 auto 15px;
	}
	article.index-business-right div.index-business-inner{
		-webkit-flex-direction: column-reverse;flex-direction:column-reverse;
	}
	div.index-business-paragraphs p{
		font-size: 15px;
	}
	section.footer-nav-section{
		display: none;
	}
	ul.index-news-list li a{
		font-size: 15px;
	}
	div.index-top-paragraphs p{
		font-size: 18px;
	}
	div.humberger-wrapper{
		display: block;
	}
	div.humberger-wrapper > div.humberger{
	}
	.logo-image{
		width: 140px!important;
		line-height: 1.0!important;
	}
}
/*---------------------------------------------------------550px以下---------------------------------------------*/
@media screen and (max-width: 550px) {

}
/*---------------------------------------------------------480px以下---------------------------------------------*/
@media screen and (max-width: 480px) {
	ul.index-news-list li p.index-news-list-date{
		width: 100%;
		text-align: center;
		border-bottom: none;
		margin-bottom: 4px;
	}
	ul.index-news-list li a{
		width: 100%;
		text-align: center;
	}
}

/*---------------------------------------------------------追加---------------------------------------------*/



*, *:before, *:after {
	box-sizing: border-box;
}
.col_2{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_2 > div{
	width: 50%;
	padding: 10px;
}
@media screen and (max-width: 960px) {
	.col_2 > div{
		width: 100%;
	}
}

*, *:before, *:after {
	box-sizing: border-box;
}
.col_3{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_3 > div{
	width: 33.33333%;
	padding: 10px;
}
@media screen and (max-width: 960px) {
	.col_3 > div{
		width: 50%;
	}
}
@media screen and (max-width: 480px) {
	.col_3 > div{
		width: 100%;
	}
}


*, *:before, *:after {
	box-sizing: border-box;
}
.col_4{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_4 > div{
	width: 23%;
	padding: 10px;
}
@media screen and (max-width: 960px) {
	.col_4 > div{
		width: 33.33333%;
	}
}
@media screen and (max-width: 480px) {
	.col_4 > div{
		width: 50%;
	}
}



.mt80{
		margin-top: 80px;
}

.mt50{
		margin-top: 50px;
}

.pt50{
		padding-top: 50px;
}

.pt80{
		padding-top: 80px;
}

@media screen and (max-width: 780px) {
	.pt80{
    padding: 30px 0px!important;
	}
}


.midashi_h2 {
  border-left: 4px solid #0155a8;
}

.midashi {
  position: relative;
  padding: 1em 2em;
  border-bottom: 2px solid #00a0e9;
}

.midashi:before {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 5%;
  height: 2px;
  content: '';
  background: #0054a7;
}


@media screen and (max-width: 680px) {
    .sp_imgdb {
        display: block !important;
        float: none !important;
        margin: 0 auto !important;
    }
}

/* ふわ　*/
.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

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

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
    
.fadeUpTrigger{
    opacity: 0;
}


.midashi_h4 {
  position: relative;
  line-height: 1.4;
  padding:0.25em 1em;
  display: inline-block;
  top:0;
}

.midashi_h4:before, .midashi_h4:after { 
  position: absolute;
  top: 0;
  content:'';
  width: 8px;
  height: 100%;
  display: inline-block;
}
.midashi_h4:before {
  border-left: solid 1px black;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
  left: 0;
}
.midashi_h4:after {
  content: '';
  border-top: solid 1px black;
  border-right: solid 1px black;
  border-bottom: solid 1px black;
  right: 0;
}


/* ------- スマホのみ改行 ------- */
@media screen and (min-width: 650px){	
  .pconly { display:block; }
  .sponly { display:none; }
}
/* ------- スマホのみ改行 ------- */

@media screen and (max-width: 650px){	
  .pconly { display:none; }
  .sponly { display:block; }
}


/*/////////////////////お問い合わせフォームのcssはじまり////////////////////////*/

/* 同意ボタンにチェックが入ったら色が変わる */
div.wpcf7 .wpcf7-submit:disabled {
    background: #aaa;
    border-color: #aaa;
    color: #ddd;
}

.wpcf7-form input[type=button],
.wpcf7-form input[type=submit] {
    font-size: 20px;
    height: 60px;
    width: 60%;
    background: #002e72;
    transition: all 0.3s;
    margin: 0px auto;
    color: #fff;
    display: inline-block;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 2px 2px 2px #ddd;
}

.wpcf7 input.wpcf7-submit:hover {
    background-color: #002e72;
}

/*全体*/
.wpcf7 {
    border: none !important;
    background: none !important;
    max-width: 1200px;
    margin: auto !important;
}

#page_content .wpcf7 {
    width: auto;
    margin: 0 auto !important;
    padding: 0;
}

/*見出し欄*/
.inquiry th {
    font-size: 18px;
    text-align: left !important;
    color: #333 !important;
    font-weight: bold;
    width: 30%;
    background: #fff !important;
    border: solid 2px #fff !important;
    vertical-align: middle !important;
    padding: 10px 15px 7px !important;
    line-height: 2.2 !important;
}

/*通常欄*/
.inquiry td {
    font-size: 16px;
    color: #111;
    border: solid 2px #fff !important;
    padding: 20px !important;
    line-height: 2.2 !important;
    background-color: #fff;
}

/*入力欄*/
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
    width: 95% !important;
    padding: 8px 15px;
    margin-right: 10px !important;
    border: 1px solid #d7d7d7;
    border-radius: 10px !important;
}

/* 必須 */
.hissu {
    font-size: 0.8em;
    color: #fff;
    display: block;
    float: right;
    margin-right: 18px;
    background-color: #ca2a2a;
    padding: 0px 10px;
    border-radius: 10px;
}

/* チェックボックスラジオボタン */
span.wpcf7-list-item {
    margin: 0 20px 0 0;
}

.wpcf7-list-item-label {
    font-size: 16px !important;
}

/* 記入例の文字色 */
::placeholder {
    color: #ccc !important;
}

:-ms-input-placeholder {
    color: #ccc !important;
}

::-ms-input-placeholder {
    color: #ccc !important;
}

.p-entry__body table {
    width: 100%;
}

.wpcf7 .wpcf7-list-item {
    display: inline-block;
}

.wpcf7-validates-as-date {
    margin-bottom: 10px;
}

/*スマホContact Form 7カスタマイズ*/
@media(max-width:767px) {
    .inquiry tr th {
        background: #eee !important;
        padding: 15px !important;
    }

    .inquiry th,
    .inquiry td {
        display: block !important;
        width: 100% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important;
    }

    .inquiry tr:first-child th {
        border-top: 1px solid #d7d7d7 !important !important;
    }

    .wpcf7 form {
        margin: 1.5em 0;
    }

    .wpcf7-form input[type=button],
    .wpcf7-form input[type=submit] {
        width: 100%;
    }

    .inquiry th {
        padding: 0 !important;
        line-height: 1 !important;
    }

    .wpcf7 p {
        margin-bottom: 0em;
    }

    .inquiry td {
        padding: 0px !important;
        margin-bottom: 30px;
    }

    .wpcf7 .wpcf7-list-item {
        display: inline-block;
    }

    input.wpcf7-form-control.wpcf7-text,
    textarea.wpcf7-form-control.wpcf7-textarea {
        border-radius: 10px !important;
    }

    .hissu {
        font-size: 0.7em;
    }
}

.wpcf7 p {
    font-size: 18px;
}

.contact_b p{
	text-align: center;
}



/*/////////////////////お問い合わせフォームのcss終わり////////////////////////*/


/*//////スマホ調整/////////*/
@media only screen and (max-width: 767px) {
    .post-content p {
        margin-bottom: 23px;
		margin-right: 10px;
		margin-left: 10px;
    }
}
/*//////スマホ調整/////////*/




/*---------------------------------------------------------emergency------------------------------------------*/

/* 緊急連絡先テーブル全体のスタイル */
.emergency-table { 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 0;
    margin-bottom: 120px; 
    border: 1px solid #cccccc; /* 外枠 */
    border-radius: 8px;
    overflow: hidden;
}

/* 各セルの共通設定 */
.emergency-table th, 
.emergency-table td { 
    padding: 15px 20px; 
    text-align: left; 
    border-bottom: 1px solid #cccccc;
    line-height: 1.6;
}

/* ラベル列（左側）の背景色と境界線 */
.emergency-table th { 
    background-color: #f0f0f0; 
    width: 30%; 
    font-weight: 600; 
    color: #333;
    border-right: 1px solid #cccccc;
}

/* 偶数行（2, 4, 6...行目）の背景色（ゼブラ模様） */
.emergency-table tr:nth-child(even) td { 
    background-color: #f9f9f9; 
}
.emergency-table tr:nth-child(even) th { 
    background-color: #e8e8e8; 
}

/* その他項目の改行を維持 */
.emergency-other-content { 
    white-space: pre-wrap; 
}

div.ewd-ufaq-faq-title div.ewd-ufaq-post-margin-symbol {
    margin-right: 10px;
    position: relative;
    top: 11px;
}

.breadcrumb-wrapper {
    z-index: 999!important;
}

/* 古い手動目次を非表示にする */
nav.toc[aria-label="目次"] {
    display: none !important;
}

/* Easy Table of Contents のカスタマイズ */
#ez-toc-container {
    background-color: #faf9f7; /* 背景をわずかに温かみのある白に */
    border: none; /* デフォルトの野暮ったい枠線を消す */
    border-top: 3px solid #333; /* 上部に黒系のアクセントライン */
    padding: 2em 2.5em; /* 内側の余白を広げてゆったりと */
    box-shadow: 0 4px 15px rgba(0,0,0,0.04); /* ほんの少しだけ影をつけて浮かせる */
    border-radius: 4px; /* 少しだけ角を丸く */
}

/****** ブログの目次 ******/
/* タイトル部分 */
#ez-toc-container p.ez-toc-title {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center; /* タイトルを中央寄せに */
    margin-bottom: 1em;
    color: #333;
}

/* 折りたたみアイコンの位置調整 */
#ez-toc-container .ez-toc-title-container {
    justify-content: center;
}

/* リンクの装飾 */
#ez-toc-container ul.ez-toc-list li a {
    color: #555;
    text-decoration: none; /* デフォルトの下線を消す */
    transition: 0.3s; /* ホバー時の変化を滑らかに */
}

/* ホバー（マウスオーバー）時の色 */
#ez-toc-container ul.ez-toc-list li a:hover {
    color: #bfa98e; /* サイドバーの雰囲気に合わせたベージュブラウン */
    text-decoration: underline;
}

/* ブログのページナビゲーションの下余白 */
.page_navi {
    margin-bottom: 80px;
}

/*** 右固定ボタン ***/
.sidefix {position: fixed;right: 0;top: 17%;}

@media screen and (max-width: 640px) {
    .pconly { display:none; }
}

/*** 右固定ボタン ***/

.banner01{
margin: 0px 0px 5px 0px;
}

.banner01 a:hover img{
  opacity:0.7;
  filter: alpha(opacity=70); 
}






/* ==========================================
   【最終奥義】メニュー逃げ防止 ＆ 白い幕の完全破壊
========================================== */
/** 追記ここから（過去のものはすべて削除してください） **/

/* ===================================================
   ① お問い合わせボタン本体のデザイン
=================================================== */
html body nav.header-nav ul > li.contact-btn > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    color: #fff !important;
    border-radius: 50px !important;
    background-image: linear-gradient(-90deg, var(--main-color), var(--sub-color)) !important;
    position: relative !important;
    padding: 0 35px !important; 
    z-index: 1 !important;
    height: 50px !important;
}
html body nav.header-nav ul > li.contact-btn > a:after {
    content: none !important;
}
html body nav.header-nav ul > li.contact-btn > a:before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: linear-gradient(90deg, var(--main-color), var(--sub-color)) !important;
    opacity: 0 !important;
    transition-duration: .4s !important;
    border-radius: 50px !important;
    z-index: -1 !important;
}
html body nav.header-nav ul > li.contact-btn > a:hover:before {
    opacity: 1 !important;
}
html body nav.header-nav ul > li.contact-btn > a span {
    position: relative !important;
    display: inline-block !important;
    padding-right: 30px !important;
}
html body nav.header-nav ul > li.contact-btn > a span:after {
    content: "" !important;
    width: 20px !important;
    height: 1px !important;
    background-color: #fff !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
html body nav.header-nav ul > li.contact-btn > a span:before {
    content: "" !important;
    width: 8px !important;
    height: 1px !important;
    background-color: #fff !important;
    position: absolute !important;
    right: 0 !important;
    top: calc(50% - 3px) !important;
    transform: rotate(30deg) !important;
}

/* ===================================================
   ② 【完全独立】お問い合わせボタン専用のドロップダウン
=================================================== */
html body nav.header-nav ul > li.contact-btn {
    position: relative !important;
}
html body nav.header-nav ul > li.contact-btn ul.sub-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    z-index: 9999 !important;
    display: none !important;
    min-width: 240px !important;
    margin-top: 10px !important; /* ボタンとの綺麗な隙間 */
    padding: 0 !important;
    background: #fff !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    border-radius: 4px !important;
}
html body nav.header-nav ul > li.contact-btn:hover ul.sub-menu {
    display: block !important;
}

/* マウス落下防止の透明な橋（お問い合わせメニューにだけ架ける） */
html body nav.header-nav ul > li.contact-btn ul.sub-menu::before {
    content: "" !important;
    position: absolute !important;
    bottom: 100% !important;
    left: 0 !important;
    width: 100% !important;
    height: 30px !important;
    background: transparent !important;
}

/* ===================================================
   ③ お問い合わせ子メニュー内のリンク装飾
=================================================== */
html body nav.header-nav ul > li.contact-btn ul.sub-menu li {
    border-bottom: 1px solid #eee !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body nav.header-nav ul > li.contact-btn ul.sub-menu li:last-child {
    border-bottom: none !important;
}
html body nav.header-nav ul > li.contact-btn ul.sub-menu li a {
    display: block !important;
    padding: 15px 20px !important;
    color: #333 !important;
    background: transparent !important;
    font-size: 14px !important;
    text-align: left !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    text-decoration: none !important;
}
html body nav.header-nav ul > li.contact-btn ul.sub-menu li a:hover {
    background-color: #f5f5f5 !important;
}
html body nav.header-nav ul > li.contact-btn ul.sub-menu li a:after,
html body nav.header-nav ul > li.contact-btn ul.sub-menu li a:before {
    content: none !important;
}


/* ===================================================
   ④ 【全メニュー共通】下層ページの「逃げ（落下）」防止策（完全版）
=================================================== */
/* 1. パンくずリスト等の干渉を防ぐため、ヘッダーを最前面へ固定 */
html body .header,
html body .header-bar {
    z-index: 99999 !important;
}

/* 2. マウスを乗せた時限定で、親メニューの足元から巨大な橋を架ける */
html body nav.header-nav ul > li:hover::after {
    content: "" !important;
    position: absolute !important;
    top: 100% !important; /* 親メニューのすぐ下からスタート */
    left: -10px !important;
    width: calc(100% + 20px) !important;
    height: 150px !important; /* スクロール前の広い隙間にも絶対に届く長さ */
    background: transparent !important;
}

/* 前回の古い橋は削除・無効化 */
html body nav.header-nav ul > li > ul.sub-menu::after {
    content: none !important;
}
/** 追記ここまで **/

/* ヘッダーの背景を強制的に白80%にする */
.header-bar,
.header-bar.header-bar-fixed,
#site_wrap header .header-bar {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

/* 全画面ページ｜スマホの横余白 */
@media screen and (max-width: 780px) {
    .width-1150 {
    width: 94%!important;
    margin: 0 auto;
    }
}


/* ===================================================
   【スマホ版】ヘッダー被り防止のマスター設定
   （これ一箇所で全てのページを制御します）
=================================================== */
@media screen and (max-width: 991px) {
    /* 1. 全ページ共通でヘッダー分を上に確保 */
    body {
        padding-top: 80px !important; /* ヘッダーの高さに合わせて微調整してください */
    }

    /* 2. もし特定のページでズレる場合だけここで調整 */
    body.single {
        padding-top: 80px !important;
    }
}



/* ===================================================
   【スマホ版】コラム記事詳細
=================================================== */
/* 埋め込み（iframe）をスマホで中央寄せにする */
@media screen and (max-width: 767px) {
    .post-content .wp-embedded-content,
    .post-content iframe {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        width: 90% !important; /* 枠の横幅を調整 */
    }
}

/* スマホ版：記事タイトルの位置を上に調整 */
@media screen and (max-width: 767px) {
    div.main div.post-header {
        margin-top: 20px !important; /* 今は100pxになっています。お好みで30px, 40px等に変更してください */
    }
}

/* タグ（.post-category）とタイトルの間隔を広げる */
@media screen and (max-width: 767px) {
    .post-category {
        display: inline-block !important; 
        margin-top: 10px !important;
    }
}


/* スマホメニューでBUSINESSテキストが表示されるのを防ぐ */
aside.side-menu {
    z-index: 999999 !important;
}


@media screen and (max-width: 991px) {

    
 /* ② スマホ版のロゴを横に長く（大きく）する */
    .header-bar .logo.logo-image {
        max-width: 60% !important; /* 65%だと窮屈でメニューが潰れるため少し下げます */
        width: 100% !important;
        height: auto !important;
        flex-shrink: 1 !important; /* ロゴは画面に合わせて縮むのを許可 */
    }
    .header-bar .logo.logo-image img {
        width: 100% !important;  
        height: auto !important; 
        max-height: none !important;
    }

    /* ③ ヘッダー内の要素が下に落ちないように横一列に固定（修正版） */
    .header-bar .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important; /* 両端にきれいに配置する */
        flex-wrap: nowrap !important;
        height: auto !important; /* 50pxの固定をやめて中身に合わせる（隙間対策） */
        margin-bottom: 0 !important;
    }

    /* ★追加：ハンバーガーメニューやアイコンが潰れて崩れるのを防ぐ */
    .header-bar .header-inner > div,
    .header-bar .header-inner > nav,
    .header-bar .header-inner > button,
    .header-bar .header-inner > a {
        flex-shrink: 0 !important;
    }

    /* ④ 「お問い合わせ」の文字を消してメールアイコンに変更し、高さを微調整 */
    .header-bar .header-inner a[href*="contact"] {
        font-size: 0 !important;
        color: transparent !important;
        display: inline-block !important;
        width: 40px !important;
        height: 40px !important;
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 30px auto !important;
        margin-right: 15px !important;
        margin-left: auto !important;
        padding: 0 !important;
        transform: translateY(-4px) !important;
    }
    
    /* ⑤ メールアイコンの下に出るサブメニューを強制的に隠す） */
    .header-bar .header-inner a[href*="contact"] + .sub-menu {
        display: none !important;
    }
}

/* -------------------------------------
 スマホ版：親要素の制限を解除して、コラムを画面いっぱいに広げる
-------------------------------------- */
@media screen and (max-width: 767px) {
    
    /* 1. 親要素の横幅制限を一時的に解除する */
    .index-column-section .common-inner,
    .index-column-section .common-title-wrapper {
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* 2. Gridレイアウトの再定義 */
    ul.index-column-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px 10px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* 3. 各アイテムの強制表示 */
    ul.index-column-list > li {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* 4. 画像の引き伸ばし防止 */
    ul.index-column-list > li img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }
}

    /* TOPページコラムの画像と日にちの間を狭める */
ul.index-column-list li figure {
    margin-bottom: 0px;
    overflow: hidden;
}

/* スマホの時だけパンくずリストを非表示にする */
@media screen and (max-width: 991px) {
    .breadcrumb-wrapper {
        display: none !important;
    }
}

@media screen and (max-width: 787px) { 
	#menu-item-686 {display: none!important;}
	div.header-inner {padding: 15px 5px;}
	div.gradient-bg1 {
		top: 150px;
		left: 0;
		width: 90vw;
		height: 30vw;
	}
	div.gradient-bg2 {
		top: 150px;
		right: 0;
		width: 90vw;
		height: 30vw;
	}
	div.gradient-bg3 {
		top: 150px;
		left: 0;
		width: 90vw;
		height: 30vw;
	}
	div.gradient-bg4 {
		top: 150px;
		right: 0;
		width: 90vw;
		height: 30vw;
	}
	div.gradient-bg5 {
		top: 150px;
		right: 0;
		width: 90vw;
		height: 30vw;
	}
}