@charset "Shift_JIS";


/**************** 1. 全体共通・パララックス土台 ****************/
*{
	margin: 0; padding: 0; box-sizing: border-box;
}

#main-nav, .sp-fixed-menu{
    z-index: 9999 !important;
}

.parallax-section{
    position: relative;
    width: 100%;
    min-height: 100vh; 
    height: auto !important; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    z-index: 1;
}
.section1.parallax-section{
    display: block;
    height: 100vh !important;
    min-height: 100vh;
    overflow: hidden;
}

@media (max-width: 768px) {
    .section1 .container {
        padding-top: 10vh !important;
        flex-direction: column;
    }
    .section1 .image-area.fade-in-right{
        position: relative; 
        width: 70%;
        margin: 30px auto 0;
        right: auto;
        bottom: auto;
    }
}

.section1 .container{
    position: relative;
    z-index: 20;
    max-width: 1500px;
    width: 90%;
    margin: 0 auto;
    padding-top: 15vh; 
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.bg-parallax-layer{
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    clip-path: inset(0 0 0 0);
    z-index: -1 !important; 
}

.bg-parallax-layer::before{
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    will-change: transform;
}

/**************** 2. 各セクション背景指定 ****************/

.section1 .bg-parallax-layer::before{
    background-image: url('image/canvas/aq1.webp');
    opacity: 0;
    animation: mainFadeIn 1s ease forwards 0.8s;
}

/* セクション2:  */
.section2 .bg-parallax-layer::before{
	background-image: none;
	background-color: #003366 ;
}

/* セクション 3 */
.section3 .bg-parallax-layer::before{
    background-image: url('image/canvas/canvas.jpg'); 
}
@media (max-width: 768px) {
    .section3 .bg-parallax-layer::before{
        background-image: url('image/canvas/spcanvas.jpg') !important;     
        position: absolute !important; 
        background-attachment: scroll !important;
    }
}
/* セクション 4 */
.section4 .bg-parallax-layer::before{
	background-image : url(image/canvas/canvas4.webp);

}
.section4 .bg-parallax-layer::before {
        background-image: none !important;
        background-color: #f1f1f1 !important; 
        background-attachment: scroll !important;
    }
}
.section5 .bg-parallax-layer::before{
	background-color: #f0f7ff;
}
.section6 .bg-parallax-layer::before{
	background-image : url(image/canvas/canvas5.jpg)!important;
}
.section7 .bg-parallax-layer::before{
	background-color: #eaf4ff;
	background-image : url(image/canvas/canvas10.jpg);
}
.section8 .bg-parallax-layer::before{
	background-color: #f0f8ff;
}
.section9 .bg-parallax-layer::before{
	background-color: #e3f1ff;
	background-image : url(image/canvas/3111.webp)!important;
}
.section10 .bg-parallax-layer::before{
	background-color: #efefef;
}
.section11 .bg-parallax-layer::before{
	background-color: white;
}

/**************** 3. セクション1専用アニメーション層 ****************/

.bg-zoom-layer{
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('image/canvas/aq1.jpg');
    background-size: cover;
    background-position: center;
    z-index: 2;
    animation: zoomFadeOut 0.8s ease-out both 0s;
    pointer-events: none;
}

@keyframes zoomFadeOut {
    0% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 0; visibility: hidden; }
}

@keyframes mainFadeIn {
    to { opacity: 1; }
}
/**************** 4. コンテンツ・テキスト (最前面) ****************/

.container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;    
    padding-top: 10vh;     
    position: relative;
    z-index: 20;
    max-width: 1500px;
    width: 90%;
    margin: 0 auto;
    height: 100%;
}

@media (max-width: 768px) {
    .container{
        padding-top: 0px !important;
        flex-direction: column;
        align-items: flex-start;
    }
}
.text-area{
	width: 60%;
}

.text-area h1.main-title{
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 1段目テキスト */
.text-area .fade-in-up:nth-child(1){
	display: block;
	opacity: 0;
	color: #ffffff;/* 文字色は白 */
    
    /* 【サイズアップ】*/
	font-size: 2.0rem;
	font-weight: 900;
	line-height: 1.3;
	margin-bottom: 25px;
	text-shadow: 2px 2px 0px #000000, -2px 2px 0px #000000, 2px -2px 0px #000000, -2px -2px 0px #000000, 0px 5px 15px rgba(0, 0, 0, 0.8), 0px 10px 30px rgba(0, 0, 0, 0.5);
	animation: fadeInUp 1s ease forwards 1.5s;
	margin-top: -20px;
}

@media (max-width: 768px) {
    	.text-area .fade-in-up:nth-child(1){
	font-size: 1.8rem;	
	line-height: 1.4;
	text-shadow: 1.5px 1.5px 0px #000000, -1.5px 1.5px 0px #000000, 1.5px -1.5px 0px #000000, -1.5px -1.5px 0px #000000, 0px 4px 10px rgba(0, 0, 0, 0.8);	
	margin-top: -80px;	
    }
}

.text-area .skew-bg{
    display: inline-block !important;
    width: fit-content;
    background: #003366 !important; 
    color: #ffffff;
    padding: 40px 45px !important; 
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    
    /* 1. 金色の太枠（ */
    border: 3px solid #d4af37 !important; 
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.5) !important; 
    
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (max-width: 768px) {
    .text-area .skew-bg{
        box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5) !important; 
    }
}

.text-area .skew-bg span{
    display: block;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
}

.text-area .fade-in-up:nth-child(2) { animation: fadeInUpSkew 1s ease forwards 1.8s !important; }
.text-area .fade-in-up:nth-child(3) { animation: fadeInUpSkew 1s ease forwards 2.1s !important; }

/* ロゴエリア */
.image-area.fade-in-right{
    position: absolute; 
    z-index: 15 !important;
    right: 0% ; 
    bottom: 5% ;   
    width: 25%; 
    max-width: 450px;    
    opacity: 0;
    animation: fadeInRight 1s ease forwards 2.5s;
}

.image-area img{
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3)); 
}

@media (max-width: 768px) {
    .image-area.fade-in-right{
        position: relative !important;
        right: -20% !important;
        bottom: 10% !important;
        margin: 40px auto 0;
        width: 70%;  
        max-width: 280px;
        text-align: center;
    }
    .text-area .skew-bg{
        box-shadow: 5px 5px 0px #ffcc00;
        padding: 15px 30px !important;
    }
    .text-area .skew-bg span{
        font-size: 1.8rem !important; 
        letter-spacing: -0.02em;
        text-align: center;
        width: 100%;
        line-height: 1.4 !important; 
    }
    /* ロゴエリア */
     .image-area.fade-in-right{
         right: -25%!important; 
         bottom: 13%  !important; 
         width: 50%!important; 
     } 
}
.image-area img{
	width: 100%; height: auto; display: block;
}

/* スクロール誘導 */
.scroll-enabler{
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    z-index: 100; color: white; opacity: 0; animation: mainFadeIn 1s ease forwards 3.5s;
}
.arrow-down{
	font-size: 30px; color: #e60012; display: inline-block; animation: arrowBounce 1.5s infinite;
}

/**************** 5. アニメーション定義 ****************/

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUpSkew {
    0% { opacity: 0; transform: translateY(30px)  }
    100% { opacity: 1; transform: translateY(0)  }
}
@keyframes fadeInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/**************** 6. スマホ表示（768px以下） ****************/

@media (max-width: 768px) {
    .section1 .bg-parallax-layer::before, 
    .section1 .bg-zoom-layer{
        background-image: url('image/canvas/aq2.webp') !important;
    }

    .container {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 10vh;
    }

    .text-area{
	width: 100%;
}
    .text-area .fade-in-up:nth-child(1){
	font-size: 1.6rem !important; margin-bottom: 15px;
}
    
    .text-area .skew-bg{
        padding: 15px 20px !important;
        margin-bottom: 15px !important;
    }
    .text-area .skew-bg span{
	font-size: 1.8rem !important;
}

    .image-area.fade-in-right{
        width: 60%;
        bottom: 15%;
        right: 5%;
    }
}
/************** ▽スクロール全体 ************/
.scroll-enabler{
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    opacity: 0; /* 初期状態 */
    animation: mainFadeIn 1s ease forwards 3.5s; /* 3.5秒後に出現 */
}

.mouse p{
    color: #fff;
    font-size: 20px;
    letter-spacing: 0.3em;
    margin-bottom: 5px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    font-weight: bold;
}

.arrow-down{
    font-size: 35px;
    color: #e60012; 
    display: inline-block;
    line-height: 1;
    animation: 
        mainFadeIn 1s ease forwards 3.5s,
        solidBlink 1.2s ease-in-out infinite 4.5s;
}

/* 点滅アニメーション */
@keyframes solidBlink {
    0%, 100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
    50% { 
        opacity: 0.2; 
        transform: translateY(8px);
    }
} 

@keyframes mainFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* =================================================
   1. ヘッダー・フッターの初期状態（画面外に隠す）
==================================================== */
#main-nav{
    position: fixed;
    top: -120px;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    transition: top 0.5s ease-in-out;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    pointer-events: none; 
}

/* --- SP固定メニューの初期状態（下に隠す） --- */
.sp-fixed-menu{
    display: none; 
    position: fixed;
    bottom: -120px;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 2000;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* --- 表示用クラス（JSで付与） --- */
.is-active#main-nav{
	top: 0; pointer-events: auto;
}
.sp-fixed-menu.is-active{
	bottom: 0;
}

/* --- PCロゴ・ナビデザイン --- */
.nav-container{
	max-width: 1500px; width: 95%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
}
.logo-pc{
	display: block; height: 80px; width: auto;
}
.logo-sp{
	display: none;
}
.nav-links{
	display: flex; list-style: none; gap: 30px;
}
.nav-links a{
	text-decoration: none; color: #333; font-weight: bold;
}
.menu-btn{
	display: none;
}

/* --- スマホ表示 (768px以下) --- */
@media (max-width: 768px) {
    .logo-pc{
	display: none !important;
}
    .logo-sp{
	display: block !important; height: 60px;
}
    /* --- 共通の文字装飾 --- */
    .fixed-nav-link span{
    font-size: 17px; 
    font-weight: bold;
    margin-top: 2px;  
   }
    /* 電話設定 */
   .link-tel img{
    height: 40px !important;
    width: auto;
    margin-bottom: 2px;
   }
    .sp-fixed-menu{
    height: 80px;
   }
   /* メールアイコン設定 */
   .link-line img{
    height: 40px !important; 
    width: auto;
    margin-bottom: 2px; 
    }
    .sp-fixed-menu { display: flex; } 

    /* ハンバーガーボタン */
    .menu-btn{
	display: block; width: 30px; height: 22px; position: relative; z-index: 2100; cursor: pointer;
}
    .menu-btn span{
	position: absolute; left: 0; width: 100%; height: 2px; background: #333; transition: 0.4s;
}
    .menu-btn span:nth-child(1){
	top: 0;
}
    .menu-btn span:nth-child(2){
	top: 10px;
}
    .menu-btn span:nth-child(3){
	bottom: 0;
}
    .menu-btn.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    .menu-btn.active span:nth-child(2) { opacity: 0; }
    .menu-btn.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
    .nav-links{
        position: fixed; top: 0; right: -100%; width: 75%; height: 100vh;
        background: #fff; flex-direction: column; justify-content: center; align-items: center;
        gap: 40px; transition: 0.5s; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.open{
	right: 0;
}
    
    .nav-content { flex: 1; display: flex; }
    .fixed-nav-link{
	flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #fff; font-size: 11px; font-weight: bold;
}
    .link-tel{
	background: #e60012;
}
    .link-line{
	background: #006697;
}
    .fixed-nav-link img{
	height: 24px; margin-bottom: 4px;
}
}

/* ======================================================
  セクション２　悩み & サービス紹介
======================================================*/
/* 1. セクション全体 */
.parallax-section.section2{
    display: block !important;
    height: auto !important;
    min-height: 100vh !important;
    padding: 80px 0 100px 0 !important;
    overflow: visible !important;
    position: relative;
    z-index: 1;
}
/* 背景レイヤー（現在のanimationを継続） */
.section2 .bg-parallax-layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.section2 .content{
    width: 95%;
    max-width: auto!important;
    margin: auto;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    text-align: center !important;
}
.section-title.fade-only{
	width: auto;
	max-width: 600px;
	margin-top: 10px!important;
	margin-right: auto;
	margin-bottom: 40px;
	margin-left: auto;
	opacity: 0;
	line-height: 1;
	transform: translateY(40px);
	transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}
@media screen and (max-width: 768px) {
    .section2 .section-title.fade-only{
        margin-top: 0px !important; 
        margin-bottom: -20px !important; 
    }
}
.section-title.fade-only img{
	width: 100%;
	height: inherit;
	display: block;
	margin-top: -30px;
}
/* 2. カードを並べる親要素 (PC) */
.section2 .worries{
    display: flex !important;
    flex-wrap: wrap !important; 
    justify-content: center !important;
    gap: 25px !important;
    width: 98% !important;
    max-width: 1600px !important;
    margin: 40px auto !important;
}
/* 3. 個別のカード */
.section2 .detail{
    flex: 1 1 280px !important; 
    min-width: 0 !important; 
    max-width: 400px !important;
    box-sizing: border-box !important;
}
.section-two .detail ul li{
    list-style-type: disc;
    font-size: clamp(16px, 1.8vw, 24px) !important; 
    
    line-height: 1.5;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
    white-space: normal !important; 
    overflow: visible !important;
    text-overflow: clip !important;
}

@media screen and (max-width: 768px) {
    .section2 .worries {
        flex-direction: column !important;
        flex-wrap: nowrap !important; 
        align-items: center !important;
        gap: 20px !important;
    }
    .section2 .detail{
        width: 95% !important;
        flex: none !important;
        max-width: none !important;
    }
}

.section2 .detail{
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 300px !important;
    max-width: 500px !important; 
    padding: 25px 20px !important; 
    box-sizing: border-box !important;
}


.section2 .detail .img-wrap img{
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
}


.section2 .card-caption{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background-color: #ffffff;
	background-image: none;
	background-repeat: repeat;
	background-attachment: scroll;
	background-position: 0% 0%;
	background-size: auto auto;
	background-origin: padding-box;
	background-clip: border-box;
	color: #0080c0;
	width: 100%;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
	padding-top: 12px;
	padding-right: 0px!important;
	padding-bottom: 12px;
	padding-left: 0px!important;
	font-size: 26px!important;
	font-weight: 900;
	box-sizing: border-box;
}
.section2 .card-caption img{
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important; 
    object-fit: cover;
    flex-shrink: 0 !important; 
    margin-right: 12px;
    margin-top: auto;
    margin-bottom: auto;
}

@media screen and (min-width: 1025px) {
    .section2 .worries{
        display: flex !important;
        flex-wrap: nowrap !important; 
        justify-content: center !important;
        gap: 12px !important;
        width: 98% !important;
        max-width: 1600px !important;
        margin: 30px auto 0 !important;
    }

    .section2 .detail{
        flex: 1 1 23% !important; 
        min-width: 230px !important;
        max-width: 400px !important;
        box-sizing: border-box !important;
    }

    .section-two .detail ul li{
        font-size: clamp(16px, 1.4vw, 22px) !important;
        white-space: normal !important; 
        line-height: 1.4 !important;
    }


    .section2 .card-caption img{
        width: clamp(70px, 5vw, 70px) !important;
        height: clamp(70px, 5vw, 70px) !important;
        min-width: 50px !important;
    }
}
@media screen and (max-width: 768px) {
    	.section2 .card-caption{
	display: flex;	
	align-items: center !important;      
	height: auto;	
	min-height: 90px;
	line-height: 1.2;
	padding-top: 10px;	
	padding-bottom: 10px;
	overflow: visible;	
	box-sizing: border-box;	
	font-size: 30px!important;
}

    .section2 .card-caption img{
        width: 70px !important;
        height: 70px !important; 
        min-height: 70px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-right: 15px !important;
        
        object-fit: cover !important; 
        flex-shrink: 0 !important; 
        display: block !important;
    }
}


.section2 .detail{
    padding-top: 0 !important; 
    overflow: hidden;
}


@media screen and (max-width: 768px) {
    .section2 .card-caption{
        font-size: 1.3rem;
        padding: 10px 12px;
        border-left-width: 6px; 
    }
    .section2 .card-caption img{
        width: 30px !important;
        height: 30px !important;
    }
}

@media screen and (max-width: 900px) {
    .section2 .worries {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }
    .section2 .detail{
        width: 95% !important;
        max-width: none !important;
    }
}

.section-title.fade-only.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.worries{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
    padding: 20px 0;
}


.detail{
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 20px 15px 40px 15px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-align: left;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.detail img{
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    display: block;
    margin-bottom: 15px;
}

.section-two .detail ul{
    padding-left: 20px;
    margin: 0;
}

.section-two .detail ul li{
    list-style-type: disc;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
    font-size: clamp(21px, 2.2cqi, 25px);   
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: bold;
    color: #333;
}

.detail {
    container-type: inline-size;
}

.sub-message{
    margin-top: 60px;
    margin-bottom: 50px;
    text-align: center;
}

.sub-message h2{
	color: white;
	font-weight: bold;
	display: inline-block;
	position: relative;
	padding-bottom: 15px;
	font-size: clamp(32px, 5vw, 60px);
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease, transform 0.8s ease;
	text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.sub-message h2::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; 
    height: 6px;
    background-color: yellow;
    border-radius: 3px;
    transition: width 1.0s ease-in-out;
    transition-delay: 0.6s; 
}

/* 5. 問い合わせボックス */
.box-container{
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    gap: 30px; 
    align-items: center;
    background-color: #ffffff !important;
    padding: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 20px auto;
    border: 8px solid yellow;
    box-sizing: border-box; 
}

.text-content{
    text-align: left;
    font-size: 28px;
    color: #e60012;
    font-weight: bold;
    flex-shrink: 0;
}

.image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.image-gallery img{
    max-width: 100%; 
    height: auto;
    transition: transform 0.3s ease;
}

.image-gallery a:hover img {
    transform: scale(1.05);
}

/* 6. アニメーション発火用クラス */
.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* カードの時間差表示 */
.detail.is-visible:nth-child(1) { transition-delay: 0.2s; }
.detail.is-visible:nth-child(2) { transition-delay: 0.4s; }
.detail.is-visible:nth-child(3) { transition-delay: 0.6s; }
.detail.is-visible:nth-child(4) { transition-delay: 0.8s; }

/* 下線の伸長 */
.sub-message h2.is-visible::after{
    width: 100%;
}

.fade-only {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}

.sp-only{
	display: none;
}

@media screen and (max-width: 900px) {
    .pc-only{
	display: none !important;
}
    .sp-only{
	display: block !important;
}

    .worries{
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .box-container{
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
        
    .text-content{
        width: 100% !important;
        font-size: 28px!important; 
        text-align: center !important; 
        display: flex !important;
        justify-content: center !important;
        flex-direction: column !important;
    }

    .text-content p{
        display: inline-block !important;
        text-align: center !important; 
        line-height: 1.4 !important;
        margin: 0 auto !important;
        padding: 0 !important; 
        text-indent: 0 !important;  
    }
    .image-gallery{
        flex-direction: column;
        width: 100%;
    }
     	.section-title.fade-only{
	
	max-width: auto;/	
	margin-bottom: 0px;	
	font-size: 30px;	
	margin-bottom: 10px	!important;
	margin-top: -60px!important;
	
   }
      .sub-message{
	
        margin-top: 20px !important;
        margin-bottom: 50px	!important;
    }
    	.sub-message h2{
	
	font-size: 2.2rem;	
	line-height: 1.3;	
	margin-top: 30px;
	width: 100%;
	text-align: center;	
	margin-bottom: 30px;	
    }

/* マーカー位置を調整 */
    .section2 .sub-message h2.highlight-text::after{
        /* 下端からの距離を調整 */
        bottom: -5px !important; 
        
        /* 線の太さ（高さ）を調整 */
        height: 40% !important; 
        
        /* 透過度 */
        background-color: rgba(255, 247, 10, 0.8) !important;
    }

    /* 文字自体の行間 */
    .section2 .sub-message h2{
        line-height: 1.6 !important;
        padding-bottom: 10px !important;
    }
       .detail{
        width: 95% !important; /* カードを横幅いっぱい */
        max-width: none !important;
        padding: 20px 25px 40px 25px !important; /* 左右の余白 */
    }

    .section-two .detail ul{
        padding-left: 25px; 
        display: inline-block; /* 中央寄せ */
        text-align: left;
    }

    .section-two .detail ul li{
        font-size: 25px!important;
        margin-bottom: 10px;
    }
    .parallax-section.section2{
        padding-bottom: 20px !important; 
        height: auto !important;  
        min-height: 0 !important;
    }

    .section2 .box-container{
        margin-bottom: 10px !important; 
    }

    .section2 .fade-only{
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* ======================================================
  強みセクション (Section3 / bg3)
====================================================== */
.parallax-section.section3{
        padding-top: 100px !important;
        padding-bottom: 150px !important;
        min-height: auto !important;
    }

.bg3 .content-container{
    max-width: 1700px;
    margin: auto;
    padding-top: 10px;
    padding-right: 5%;
    padding-bottom: 50px;
    padding-left: 5%;
    color: white; 
}

.section-title{
	text-align: center;
	font-size: 3rem;
	margin-bottom: 0px;
	letter-spacing: 0.2em;
	padding-bottom: 40px;
	color: #ffffff;
	font-weight: 900;
}

/* 2カラム行の基本設定 */
.split-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px; 
    gap: 4%;
}

/* 左右反転設定 */
.split-row.reverse {
    flex-direction: row-reverse;
}

.split-image, .split-text{
    width: 48%;
}

.split-image img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px; 
    /* 影の演出 */
    filter: drop-shadow(15px 15px 0px rgba(0, 0, 0, 1.0)) 
            drop-shadow(20px 20px 10px rgba(0, 0, 0, 0.3));
    transform: rotate(0deg);
}

.sub-title{
    display: block;
    font-size: 1.5rem;
    color: #fff70a; 
    margin-bottom: 10px;
    font-weight: bold;
}

.split-text h3{
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #fff; 
}

.split-text p{
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* --- スライド演出のアニメーション設定 --- */
.slide-left, .slide-right, .fade-only {
    opacity: 0;
    transition: opacity 1.5s ease-out, transform 1.2s ease-out;
}

.slide-left { transform: translateX(-60px); }  /* 左から */
.slide-right { transform: translateX(60px); } /* 右から */


.slide-left.is-visible, 
.slide-right.is-visible,
.fade-only.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- マーカーアニメーション (highlight-text) --- */
.highlight-text{
    position: relative;
    z-index: 1;
    display: inline-block; 
    margin-bottom: 20px;
    padding: 0 0.5em;
    font-weight: bold;
    font-size: 1.3rem;
    color: #000; 
}

.highlight-text::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; 
    height: 100%; 
    background-color: #fff70a; /* マーカー色 */
    transition: width 0.8s ease-out;
    transition-delay: 0.5s; /* スライドが終わった後に引く */
    z-index: -1; 
}

/* 表示されたらラインを引く */
.is-visible .highlight-text::after,
.highlight-text.is-visible::after{
    width: 100%;
}

.section3 .split-row:last-of-type{
    margin-bottom: 0 !important;
}


@media screen and (max-width: 768px) {
    .parallax-section.section3{
        padding-bottom: 0px !important; 
        padding-top: 60px !important;
    }
    .section-title{
	padding-bottom: 20px!important;
} 

    .section3 .split-row:last-of-type .split-text{
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .section3 .split-image{
        width: 100vw !important;
        position: relative !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        left: 0 !important;
        padding: 0 !important;
    }

    .section3 .split-image img{
        width: 100% !important;
        max-width: 100vw !important;
        height: auto !important;
        border-radius: 0 !important; 
        filter: none !important; 
        display: block !important;
    }

    .section3 .split-text{
        padding-top: 20px !important;
        width: 98% !important; 
        margin: 0 auto !important;
    }
}
/* ======================================================
  (Media Queries)
====================================================== */
@media (max-width: 768px) {
    .bg3 .content-container{
        padding: 40px 3% !important;
    }

    .section-title{
	
	font-size: 30px!important;	
	letter-spacing: 0.1em;	
	margin-top: -10px!important;	
	margin-bottom: 20px!important;	
}

    .split-row, .split-row.reverse{
        flex-direction: column; 
        gap: 30px;
        margin-bottom: 60px;
    }

    .split-image, .split-text{
        width: 100%;
    }

    .split-image {
        width: 100vw;
        margin-left: calc(-3vw);
    }

    .split-image img{
        border-radius: 0;
        filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.3)) !important;
    }

    .split-text h3{
        font-size: 1.5rem;
        margin-top: 10px;
    }

    .split-text p{
        font-size: 1rem;
        padding: 0 10px;
    }

    .sub-title{
        font-size: 1.1rem;
    }
}

html, body{
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .split-image{
        width: 100% !important; 
        margin-left: 0 !important;
        padding: 0 !important;
    }
    
    .split-image img{
        width: 100% !important;
        max-width: 100% !important;
    }

    .parallax-section{
        width: 100vw;
        max-width: 100%;
    }
}
/* ======================================================
  Section 4 (サービス紹介)
====================================================== */

.section4 .content-container{
    width: 96% !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 40px 0 !important;
}
.section4 .section-title{
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
	font-size: 40px; 
	color: #003366;
	font-weight: 900;	
	margin-bottom: -20px!important;
}

@media screen and (min-width: 1025px) {
    .section4 .service-grid{
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: stretch !important; 
        gap: 15px !important; 
        width: 100% !important;
        max-width: 100% !important;
    }

    .section4 .detail{
        flex: 1 !important;
        width: 24% !important;
        background: #ffffff;
        border-top: 8px solid #006697;
        padding: 25px 15px !important;
        border-radius: 8px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        display: flex;
        flex-direction: column;
    }
}

.section4 .detail .img-wrap img{
    width: 100% !important;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.section4 .detail p{
    text-align: left;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333;
}

.section4 .detail p b{
	color: #e60012; font-weight: bold;
}

.section4 .service-points{
    margin-top: auto !important; 
    background: #f1f8ff;
    padding: 15px;
    border-radius: 6px;
    border-left: 5px solid #006697;
    text-align: left;
}

.section4 .point-title{
    display: block;
    font-weight: bold;
    color: #006697;
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px dashed #006697;
}

.section4 .service-points ul li{
    list-style: none;
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.section4 .caution-text{
    font-size: 0.75rem;
    color: #777;
    margin-top: 10px;
}
@media screen and (max-width: 768px) {
    .section4 .section-title{
	font-size: 25px !important;  
       margin-bottom: 15px!important;   
}

    .parallax-section.section4{
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: -20px !important;
    }

    .section4 .service-grid.worries{
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important; 
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .section4 .detail{
        width: 100% !important;
        margin: 0 0 0 0 !important; 
        padding: 20px 15px 20px 15px !important; 
    }

    .section4 .detail:last-child{
        margin-bottom: 0 !important;
    }

    .section4 .content-container{
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* --- Section 4 見出しデザイン（Section 2と統一） --- */
.section4 .card-caption{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
    color: #006697 !important; /* メイン青 */
    margin: -25px -15px 20px -15px !important;
    width: calc(100% + 30px) !important;
    padding: 15px !important;
    
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    box-sizing: border-box !important;
}

/* アイコン画像のサイズ固定（PC/SP共通） */
.section4 .card-caption img{
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    margin-right: 15px !important;
    border-radius: 4px;
}

@media screen and (max-width: 768px) {
    .section4 .card-caption{
        font-size: 1.25rem !important;
        margin: -20px -15px 15px -15px !important;
        width: calc(100% + 30px) !important;
        min-height: 85px !important; 
    }
    
    .section4 .card-caption img{
        width: 60px !important;
        height: 60px !important;
    }

    .section4 .service-grid {
        gap: 15px !important;
    }
    
    .section4 .detail{
        padding-top: 0 !important;
        margin-bottom: 10px !important;
    }
}

/*************************************************
 Section 4：サービスBOX
**************************************************/

/* --- 1. PC版（1025px以上）：4カラム・--- */
@media screen and (min-width: 1025px) {
    .section4 .service-grid{
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 15px !important;
        max-width: 1600px !important;
        margin: 0 auto !important;
    }

    .section4 .detail{
        height: auto !important;
        min-height: 820px !important; 
        display: flex !important;
        flex-direction: column !important;
    }

    /* 一段目：タイトル*/
    .section4 .card-caption{
        height: 120px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 15px !important;
        margin-bottom: 20px !important;
        border-left: 6px solid #d4af37 !important;
        background: #fff !important;
        box-sizing: border-box !important;
    }

    .section4 .service-intro, 
    .section4 .service-intro2, 
    .section4 .service-intro3, 
    .section4 .service-intro4{
        height: auto !important;
        min-height: 200px !important;
        margin-bottom: 20px !important;
        display: block !important;
        overflow: visible !important;
    }

     .section4 .service-points{
        flex-grow: 1 !important; /* 残りのスペースを埋める */
        margin-top: 0 !important;
        height: auto !important;
    }
}

/* --- 2. 中間サイズ（769px?1024px） --- */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .section4 .service-grid{
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important;
        padding: 0 20px !important;
    }
    .section4 .detail{
        flex: 0 1 45% !important; 
        height: auto !important;
    }

    .section4 .service-intro, .section4 .service-intro2, 
    .section4 .service-intro3, .section4 .service-intro4{
        height: auto !important; 
        min-height: 220px !important;
        margin-bottom: 20px !important;
    }
}

@media screen and (max-width: 768px) {
    .section4 .service-grid{
        display: block !important;
        padding: 0 15px !important;
    }
    .section4 .detail{
        width: 100% !important;
        margin-bottom: 30px !important;
        height: auto !important;
    }

    .section4 .card-caption,
    .section4 .service-intro, .section4 .service-intro2, 
    .section4 .service-intro3, .section4 .service-intro4{
        height: auto !important;
        min-height: 0 !important;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1400px) {
    .section4 .card-caption{
        font-size: 1.05rem !important; /* 少し小さくして1行に収まりやすくする */
    }
    .section4 .service-intro p{
        font-size: 0.85rem !important;
    }
}
/* ======================================================
  Section 5 (参考価格)
====================================================== */

.section5 .bg-parallax-layer::before{
    background-image: url('image/canvas/bg5.jpg') !important;
}

.price-grid{
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 98%;
    max-width: 1600px;
    margin: 40px auto;
}

.price-card{
    flex: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0; 
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}
.section5 .section-title{
	color: #003366;
	text-shadow: none;
	font-weight: 900;
	font-size: 40px;
}

.section5 .sub-message{
    margin: 60px auto 40px;
    padding: 30px 20px;
    background: #003366; /* 紺色 */
    border-radius: 8px;
    width: fit-content;
    max-width: 90%;
}

.section5 .sub-message h3{
    color: #ffffff !important; 
    font-size: clamp(24px, 4vw, 42px);
    margin: 0;
    line-height: 1.4;
    text-shadow: none;
}

.section5 .highlight-text::after{
    background-color: #fff70a !important;
    height: 10% !important; 
    bottom: -15% !important;
}
.price-card.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.section5 .card-header{
    margin: 0 !important;
    display: block !important;

    /* 2. 背景色と文字色 */
    background: #003366 !important; /* 濃紺 */
    color: #ffffff !important; 

    /* 3. 余白と文字の配置 */
    padding: 20px 15px !important;
    text-align: center !important;
    font-size: 1.15rem !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
    border-radius: 8px 8px 0 0 !important;
}

/* スマホ用の文字サイズ */
@media screen and (max-width: 768px) {
    .section5 .card-header{
        font-size: 1.1rem !important;
        padding: 15px 10px !important;
    }
	.section5 .section-title{
	
	font-size: 2.0rem;	
	line-height: 1.6;
	margin-bottom: 20px!important;
	display: block;	
	text-align: center;	
	margin-top: 0px!important;	
}
}

.section5 .card-body{
    padding: 25px 20px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.section5 .location{
    color: #006697;
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.section5 .case-desc{
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

.section5 .price-box{
    margin-top: auto;
    background: #fff9e6;
    border: 2px solid #fff70a;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.price-label{
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.price-main{
    color: #e60012;
    font-weight: bold;
}
.price-amount{
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

.price-card:nth-child(1) { transition-delay: 0.1s; }
.price-card:nth-child(2) { transition-delay: 0.3s; }
.price-card:nth-child(3) { transition-delay: 0.5s; }

@media screen and (max-width: 900px) {
    .price-grid{
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 10px;
    }
    	.section5 .section-title{
	
	font-weight: 900;	
	margin-top: 0px!important; 
	
}
    .price-card{
        width: 100%;
        max-width: 500px;
        opacity: 1 !important; 
    }
}
@media screen and (max-width: 768px) {

    .section5 .price-grid{
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
    }

    .section5 .price-card{
        margin-bottom: 0 !important; 
        padding-bottom: 0 !important;
    }

    .section5 .card-body{
        padding: 15px !important; 
    }
}
@media screen and (min-width: 1025px) {

    .parallax-section.section5{
        padding-top: 80px !important; 
        padding-bottom: 100px !important; 
        min-height: auto !important;
    }

    .section5 .section-title{
        margin-top: 0 !important;
        margin-bottom: 30px !important; 
        font-size: 2.4rem !important;
    }

    .price-grid{
        margin-top: 0 !important;
        margin-bottom: 40px !important; 
        max-width: 1200px !important; 
        gap: 25px !important;
    }

    .section5 .sub-message{
        margin: 0 auto 30px !important; 
        padding: 30px 150px !important;
        width: auto !important; 
        max-width: 1600px !important;
        display: inline-block !important; 
        position: relative;
        left: 50%;
        transform: translateX(-50%); 
        white-space: nowrap !important; 
    }
        .section5 .sub-message h3{
        display: block !important;
        font-size: 2.2rem !important; 
        white-space: nowrap !important; 
        letter-spacing: 0.1em;
    }

    .section5 .sub-message h3 br.sp-only{
        display: none !important;
    }

    .section5 .box-container{
        margin-top: 0 !important;
        padding: 15px 50px !important; 
        max-width: 1100px !important;
    }
}
/************************************************
ロゴの補正 
*************************************************/
.image-area.fade-in-right{
    max-width: 100%;
}
@media screen and (max-width: 768px) {

    .parallax-section{
        display: block !important;
        position: relative !important;
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        z-index: 1 !important;
        clear: both !important;
    }


    .bg-parallax-layer{
        position: absolute !important;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: -1 !important;
        clip-path: inset(0 0 0 0) !important;
    }

    .bg-parallax-layer::before{
        position: absolute !important;
        background-attachment: scroll !important;
        height: 100% !important;
    }

    .section2, .section3, .section4, .section5{
        margin-bottom: 0 !important;
        border: none !important;
    }

    .content-container, .content{
        position: relative !important;
        z-index: 2 !important;
        width: 96% !important;
        margin: 0 auto !important;
    }
}
/* ======================================================
  Section 6 施工事例
====================================================== */

.parallax-section.section6{
    padding-bottom: 80px !important;
    overflow: visible !important;
}

.section6 .case-title{
    text-align: center !important;
    position: relative;
    padding: 25px 0;
    margin: 60px auto 40px !important;
    max-width: 800px;
    font-weight: 900;
    font-size: clamp(28px, 4vw, 44px);
    color: #ffffff;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.section6 .case-title::before,
.section6 .case-title::after{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, transparent, #a87e2f, transparent);
}
.section6 .case-title::before{
	top: 0;
}
.section6 .case-title::after{
	bottom: 0;
}

/* 3. スライダーコンテナ */
.custom-swiper-container{
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 55px !important;
    overflow: visible !important;
}

.custom-swiper{
    width: 100%;
    overflow: hidden;
}

/* 4. カード（スライド）レイアウト */
.swiper-slide{
    height: auto !important;
    display: flex !important;
    padding: 15px 10px !important;
    box-sizing: border-box !important;
}

.case-item{
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.case-item img{
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important; 
    object-fit: contain !important;
    background-color: #f7f7f7;
    display: block;
}

/* 5. カード内情報エリア */
.case-info{
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.case-item-title{
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.case-meta{
    font-size: 1.1rem;
    color: #a87e2f; 
    font-weight: bold;
    margin-bottom: 10px;
}

.case-text{
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    text-align: left;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* 6. 価格ボックス */
.case-sub-content{
    margin-top: auto;
    width: 100%;
}

.case-price-container{
    background-color: #fffaf0;
    border: 2px solid #e60000; 
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    width: 95%;
    margin: 0 auto;
}

.price-row.new-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px;
}

.new-price .label{
	font-size: 1rem; color: #333;
}
.new-price .value{
	font-size: 2.1rem; color: #e60000; font-weight: 900;
}
.new-price .tax-in{
	font-size: 0.85rem; color: #333;
}

/* 7. 左右ボタン */
.swiper-button-prev, .swiper-button-next{
    color: #333 !important;
    background: #fff !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    z-index: 100 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.swiper-button-prev::after, .swiper-button-next::after{
	font-size: 18px !important; font-weight: bold;
}
.swiper-button-prev{
	left: 5px !important;
}
.swiper-button-next{
	right: 5px !important;
}

/* 8. 関西実績リンク */
.case-archive-link{
    text-align: center;
    margin-top: 50px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
}
.archive-btn{
    display: inline-block;
    padding: 15px 35px;
    background: #d32f2f;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.swiper-pagination-bullet{
    background: #ffffff !important;
    opacity: 0.5 !important;
    width: 10px !important;
    height: 10px !important;
}
.swiper-pagination-bullet-active{
    background: #ffffff !important;
    opacity: 1 !important;
    transform: scale(1.2); 
}

@media screen and (min-width: 769px) {
    .swiper-pagination{
        position: relative !important;
        bottom: 0 !important;
        margin-top: 50px !important; 
        padding-bottom: 20px !important;
    }
}

@media screen and (max-width: 768px) {
    .swiper-pagination{
        position: relative !important;
        margin-top: 30px !important;
        bottom: 0 !important;
    }
}

@media screen and (max-width: 768px) {
     .section6 .case-item{
        min-height: 620px !important;
        display: flex !important;
        flex-direction: column !important;
        background: #fff !important;
        margin: 0 10px !important;
    }


    .section6 .case-item img{
        height: 220px !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    .section6 .case-title{
        margin-top: -10px !important;
        letter-spacing: 0.1em !important;
    }

    .custom-swiper-container{
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        transform: none !important;
        padding: 0 15px !important;
        overflow: visible !important;
    }

    .custom-swiper{
        overflow: hidden !important;
    }

    .swiper-slide{
        flex: 0 0 100% !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .case-item{
        height: auto !important;
        padding-bottom: 20px !important;
        margin: 0 !important;
        width: 100% !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    }

    .case-item img{
        aspect-ratio: 16 / 11 !important;
        width: 100% !important;
    }

    /* 4. テキストエリア */
    .case-info{
        padding: 15px 15px 25px 15px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .case-info h3{
	 
        font-size: 1.25rem !important; 
        line-height: 1.3 !important;
    }

    .case-text{
	 
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }

    /* 5. 価格ボックス（赤枠） */
    .case-sub-content{
        display: block !important;
        margin-top: auto !important;
    }

    .case-price-container{
        width: 100% !important;
        height: auto !important;
        min-height: 110px !important;
        padding: 15px 5px !important;
        margin: 10px auto 0 !important;
        border: 2px solid #e60012 !important;
        background-color: #fffaf0 !important;
        box-sizing: border-box !important;
    }

    /* 6. 価格テキスト */
    .price-row.new-price {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }

    .new-price .label{
	font-size: 0.8rem !important;
}
    .new-price .value{
	font-size: 1.6rem !important; line-height: 1.1 !important;
}
    .new-price .tax-in{
	font-size: 0.8rem !important;
}

    /* 7. ナビゲーション */
    .swiper-button-prev, .swiper-button-next{
	 
        display: none !important; 
    }

    .swiper-pagination{
        display: block !important;
        position: relative !important;
        margin-top: 20px !important;
        bottom: 0 !important;
    }
}

/*************************:::****************
 3. スライダーコンテナ
--- *****************************************/

@media screen and (min-width: 1025px) {
    .parallax-section.section6 .custom-swiper-container{
        position: relative !important;
        width: 96vw !important;
        max-width: 1600px !important;
        margin-left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 0 80px !important; 
        left: auto !important;
        right: auto !important;
    }
}

@media screen and (max-width: 768px) {
    .parallax-section.section6 .custom-swiper-container{
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        transform: none !important;
        left: 0 !important;
        padding: 0 10px !important; 
        overflow: hidden !important;
    }

    .section6 .swiper-slide{
        width: 100% !important;
        padding: 0 !important;
    }

    .section6 .case-item{
        width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }

    .section6 .case-price-container{
        width: 100% !important;
        margin: 10px 0 0 0 !important;
        box-sizing: border-box !important;
    }
    
    .section6 .case-item img{
        width: 100% !important;
        margin: 0 !important;
    }
}
/*************************************************
 --- 管理組合様向け特設ページ--- 
***************************************************/
.mansion-special-link{
    text-align: center;
    margin: 40px auto 80px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%); /* ロイヤルブルー */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    max-width: 1100px;
    border: 1px solid rgba(168, 126, 47, 0.3); /* 薄い金の縁取り */
}

.mansion-special-link::before{
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(168, 126, 47, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.mansion-title{
    color: #ffffff !important;
    font-size: clamp(22px, 3.5vw, 36px) !important;
    font-weight: 900 !important;
    margin-bottom: 25px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.05em !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.mansion-title .en-sub{
    display: block;
    font-size: 0.8rem;
    color: #a87e2f; /* ゴールド */
    letter-spacing: 0.3em;
    margin-bottom: 10px;
    font-family: 'Times New Roman', serif;
    font-weight: normal;
}

.mansion-lead{
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 500;
}

/* 光るエフェクト */
.mansion-btn{
    display: inline-block;
    position: relative;
    padding: 20px 60px;
    background: linear-gradient(to right, #a87e2f, #d4af37, #a87e2f); /* ゴールド */
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.mansion-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    filter: brightness(1.1);
}

/*光らせるアニメーション */
.btn-shine{
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    animation: shine 4s infinite;
}

@keyframes shine {
    100% { left: 200%; }
}

.mansion-special-link{
    margin-bottom: 10px !important;
}

.parallax-section.section6{
    padding-bottom: 50px !important;
}

@media screen and (max-width: 768px) {
    .mansion-special-link{
        margin-bottom: 0px !important;
        padding-bottom: 30px !important; 
    }   .mansion-lead{
        font-size: 0.95rem;
        margin-bottom: 30px;
        text-align: left;
    }
    .mansion-btn{
        padding: 18px 30px;
        font-size: 1.1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .parallax-section.section6{
        padding-bottom: 40px !important;
    }
}
/* ======================================================
  Section 7：施工フロー
====================================================== */

.parallax-section.section7{
    padding: 0 0 80px 0 !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

.section7 .bg-parallax-layer{
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2 !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

.section7 .bg-parallax-layer::after{
    content: "" !important;
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.0) !important;
    z-index: -1 !important;
}

.section7 .section-title{
	text-align: center;
	position: relative;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
	margin-right: auto;
	margin-bottom: 30px;
	margin-left: auto;
	max-width: 800px;
	font-weight: 900;
	font-size: clamp(30px, 4vw, 46px);
	color: #003366;
	letter-spacing: 0.15em;
	text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.6);
}

.section7 .flow-container.worries{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 65px 30px !important;
    width: 100% !important;
    max-width: 1500px !important;
    margin: 40px auto 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* 4. 各カード */
.section7 .flow-item.detail{
    position: relative !important;
    flex: 0 1 calc(33.333% - 30px) !important; 
    min-width: 320px !important;
    order: 0 !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 0 35px 0 !important;
    box-sizing: border-box !important;
}

.section7 .flow-item:nth-child(1) { animation-delay: 0.1s !important; transition-delay: 0.1s !important; }
.section7 .flow-item:nth-child(2) { animation-delay: 0.3s !important; transition-delay: 0.3s !important; }
.section7 .flow-item:nth-child(3) { animation-delay: 0.5s !important; transition-delay: 0.5s !important; }
.section7 .flow-item:nth-child(4) { animation-delay: 0.7s !important; transition-delay: 0.7s !important; }
.section7 .flow-item:nth-child(5) { animation-delay: 0.9s !important; transition-delay: 0.9s !important; }
.section7 .flow-item:nth-child(6) { animation-delay: 1.1s !important; transition-delay: 1.1s !important; }

/* 6. STEPバッジ */
.section7 .step-badge{
    position: absolute !important;
    top: -18px !important;
    left: 15px !important;
    background: #a87e2f !important;
    color: #fff !important;
    padding: 6px 18px !important;
    font-weight: 900 !important;
    font-size: 0.9rem !important;
    border-radius: 4px !important;
    z-index: 10 !important;
}

/* 7. キャプションとアイコン */
.section7 .card-caption{
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    color: #006697 !important;
    border-left: 8px solid #a87e2f !important;
    min-height: 95px !important;
    padding: 10px 15px !important;
    font-size: 1.3rem !important;
    font-weight: bold !important;
    border-bottom: 1px solid #eee !important;
    margin: 0 0 20px 0 !important;
}

.section7 .card-caption img{
    width: 70px !important;
    height: 70px !important;
    margin-right: 15px !important;
    object-fit: contain !important;
}

/* 8. 説明文 */
.section7 .case-text{
    padding: 0 20px !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #333 !important;
}

/* 9. スマホ対応 */
@media screen and (max-width: 768px) {
    .section7 .flow-container.worries {
        flex-direction: column !important;
        gap: 50px !important;
    }
    .section7 .flow-item.detail{
        width: 95% !important;
        flex: none !important;
    }

    .section7 .flow-item { animation-delay: 0.1s !important; }
}
    .parallax-section.section7{
        padding-top: 15px !important;
        padding-bottom: 60px !important;
    }

    .section7 .section-title{
        margin-top: 20px !important;
        margin-bottom: 40px !important;
        line-height: 1.4 !important;
        padding: 0 15px !important;
    }
}

/* ======================================================
  Section 8 (Q&A)
====================================================== */

.parallax-section.section8{
    padding: 80px 0 !important;
    position: relative;
    z-index: 1;
    background: #f8f9fa;
}

/* 1. タイトル画像 */
.section8 .section-title-img{
    text-align: center;
    margin-bottom: 50px;
}
.section8 .section-title-img img{
    max-width: 750px;
    width: 90%;
    height: auto;
}
.section8 .faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section8 .faq-item.animated {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (min-width: 1025px) {
    .section8 .faq-item:nth-child(odd).animated {
        transition-delay: 0.1s;
    }
    .section8 .faq-item:nth-child(even).animated {
        transition-delay: 0.3s;
    }
}
@media screen and (min-width: 1025px) {
    .section8 .faq-container{
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 30px 2% !important;
        
        width: 96vw !important;
        max-width: 1600px !important;
        margin-left: 50% !important;
        transform: translateX(-50%) !important;
        margin-bottom: 80px !important; 
    }
}

.section8 .faq-item{
    flex: 0 1 48% !important;
    margin-bottom: 10px;
}

.section8 .faq-box{
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: 100%;
    border: 1px solid #eee;
}

.section8 .q-box{
    background: #003366 !important;
    color: #ffffff !important;
    padding: 22px 25px !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    line-height: 1.5;
    border-left: 8px solid #d4af37 !important; /* 明るい金 */
    display: flex;
    align-items: center;
}

.section8 .a-box{
    padding: 25px !important;
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
    color: #333 !important;
}
.faq-simple-title{

    margin: 40px auto 60px !important; 
    display: block; 
    text-align: center;
    font-size: 2.4rem;
    color: #003366;
    font-weight: 900;
    position: relative;
    padding-bottom: 15px;
    width: fit-content; 
}

.faq-simple-title::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; 
    height: 4px;
    background: #d4af37;
}

@media screen and (max-width: 768px) {
    .section8 .faq-container{
        width: 100% !important;
        margin-left: 0 !important;
        transform: none !important;
        padding: 0 15px !important;
    }
    
    .section8 .faq-item{
        flex: 0 1 100% !important;
        margin-bottom: 20px !important;
    }

    .section8 .q-box{
        font-size: 1rem !important;
        padding: 15px 20px !important;
    }

    .section8 .faq-item{
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 15px !important; 
    }

    .section8 .faq-box{
        height: auto !important;
        min-height: 0 !important;
    }

    .section8 .q-box{
        padding: 10px 15px !important;
        min-height: 0 !important;
        height: auto !important;
        font-size: 0.95rem !important;
    }

    .section8 .a-box{
        padding: 12px 15px !important;
        height: auto !important;
        min-height: 0 !important;
        font-size: 0.88rem !important;
        line-height: 1.5 !important;

        margin-bottom: 25px !important; 
    }
    .faq-simple-title{
        margin: 0px auto 30px !important;
        font-size: 1.6rem;
        line-height: 1.5;
    }
}
/****************************************
 エリアセクション全体の調整
*****************************************/

.section9{
    padding: 0px 0 !important;
    background: #ffffff !important;
    position: relative;
    z-index: 1;
}

.area-description{
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
    font-weight: bold;
}

.area-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.area-box{
    flex: 1 1 350px; 
    max-width: 350px;
}

.area-inner{
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.area-inner:hover{
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.area-inner h3{
    color: #003366;
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d4af37;
    text-align: center;
}

.area-inner ul{
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    list-style: none;
    padding: 0;
}

.area-inner ul li{
    font-size: 1.1rem;
    color: #333;
    font-weight: bold;
}

.area-note{
    text-align: center;
    margin-top: 50px;
    font-size: 0.95rem;
    color: #888;
}
/* --- エリアセクション：フェードイン設定 --- */
.section9 .area-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* アニメーション発火時 */
.section9 .area-box.animated {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (min-width: 1025px) {
    /* 左側の列 */
    .section9 .area-box:nth-child(odd).animated {
        transition-delay: 0.1s;
    }
    /* 右側の列 */
    .section9 .area-box:nth-child(even).animated {
        transition-delay: 0.3s;
    }
}

@media screen and (max-width: 1024px) {
    .section9 .area-box.animated {
        transition-delay: 0.1s;
    }
}
@media screen and (max-width: 768px) {
    .section9{
	 
        padding: 40px 0 !important; 
    }
    .area-box{
	 
        max-width: 100% !important; 
        margin-bottom: -10px !important;
        flex: 0 1 100% !important;
    }
    .area-box:last-child{
        margin-bottom: 0 !important;
    }
    .area-inner{
	 
        padding: 30px !important; 
    }
}
@media screen and (min-width: 1025px) {

    .section9{
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        min-height: auto !important;
    }

    .section9 .faq-simple-title{
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        display: block !important;
        text-align: center;
        width: fit-content;
        font-size: 2.2rem !important;
    }

    .area-description{
        margin-top: 0 !important;
        margin-bottom: 30px !important;
    }

    .section9 .content{
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}
/*************************************************
Section 10 リフォームローン 
**************************************************/
.section10{
    padding: 30px 0 !important;
    background: #f8f9fa !important; 
    position: relative;
    z-index: 1;
}

.loan-section .section-description{
    text-align: center;
    color: #333;
    font-weight: bold;
    margin-bottom: 40px;
}

.loan-table-wrapper{
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.loan-table{
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
}

.loan-table th{
    width: 30%;
    background: #003366; /* 紺 */
    color: #fff;
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #004488;
    white-space: nowrap;
}

.loan-table td{
    padding: 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    line-height: 1.6;
}

.loan-table tr:last-child th,
.loan-table tr:last-child td{
    border-bottom: none;
}

.scroll-hint{
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
}

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

    .section10{
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .loan-table-wrapper{
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin: 40px 0 20px !important;
        border: 1px solid #eee;
    }

    .loan-table{
        min-width: 500px !important;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .loan-table th{
        position: -webkit-sticky;
        position: sticky;
        left: 0;
        z-index: 10;
        width: 140px !important;
        background: #003366 !important;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }

    .scroll-hint{
        margin-top: 25px !important;
        margin-bottom: 40px !important;
        color: #d32f2f;
        font-weight: bold;
        text-align: center;
    }
}

/*************************************************
Section 11 会社概要
**************************************************/

.section11{
    padding: 30px 0 !important; 
    background: #ffffff !important;
    position: relative;
    z-index: 1;
}

.section11 .section-description{
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-weight: bold;
}


@media screen and (min-width: 1025px) {

    .profile-container,
    .section11 .profile-container{
        width: 1100px !important;
        max-width: 1100px !important;
        min-width: 1100px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

    .section11 .profile-table{
        width: 100% !important;
        table-layout: fixed !important;
    }

    .section11 .box-container{
        max-width: 1100px !important;
        width: 1100px !important;
        margin: 50px auto 0 !important;
    }
}
.profile-table{
    width: 100%;
    border-collapse: collapse;
}

.profile-table th{
    width: 25%;
    background: #f8f9fa;
    color: #003366;
    padding: 25px;
    text-align: left;
    font-weight: 900;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.profile-table td{
    padding: 25px;

    border-bottom: 1px solid #eee;
    line-height: 1.8;
    color: #333;
}

.area-tag{
    display: inline-block;
    background: #003366;
    color: #fff;
    padding: 2px 10px;
    font-size: 0.8rem;
    margin-right: 10px;
    border-radius: 3px;
}

.license-list span{
    display: inline-block;
    margin-right: 15px;
    font-weight: bold;
    color: #555;
}

.final-closing{
    margin: 80px auto 50px;
    text-align: center;
}

.final-closing p{
    font-size: 1.5rem;
    font-weight: 900;
    color: #003366;
    line-height: 1.6;
    background: linear-gradient(transparent 70%, #fff3b0 70%);
    display: inline-block;
}


@media screen and (max-width: 768px) {
    .section11{
	 
        padding: 40px 0 !important; 
    }
    .section-description{
         margin-bottom: 20px!important; 
   }
     
    .profile-container{
        width: 95% !important;
        max-width: none !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .profile-table, 
    .profile-table tr, 
    .profile-table th, 
    .profile-table td{
        display: block !important;
        width: 100% !important;
    }

    .profile-table tr{
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .profile-table th{
        background: transparent !important;
        padding: 10px 15px 5px !important;
        font-size: 0.9rem !important;
    }

    .profile-table td{
        padding: 5px 15px 10px !important;
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        border: none !important;
    }

    .final-closing p{
	
	font-size: 1.1rem;	
	padding-top: 0px;	
	padding-right: 10px;	
	padding-bottom: 0px;	
	padding-left: 10px;	
	margin-bottom: 30px;	
	margin-top: -30px;	
}

    .license-list span{
        margin-bottom: 5px;
    }
}


@media screen and (min-width: 1025px) {
    .sp-only{
	display: none !important;
}
    .pc-only{
	display: block !important;
}
    .sub-message h2 br.sp-only{
	display: none !important;
}
}

@media screen and (max-width: 1024px) {
    .pc-only{
	display: none !important;
}
    .sp-only{
	display: block !important;
}
    br.sp-only{
	display: inline !important;
}
}

/*************************************************
問い合わせＢＯＸ調整
**************************************************/

@media screen and (min-width: 1025px) {

    .section10 .loan-table-wrapper{
        max-width: 900px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .section10 .box-container{
        max-width: 1100px !important;
        width: 100% !important;
        margin: 50px auto 0 !important;
    }

    .section11 .profile-container{
        max-width: 1100px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .section2 .box-container,
    .section5 .box-container{
        max-width: 1100px !important;
        width: 100% !important;
        margin: 40px auto 0 !important;
    }

    .box-container{
        padding: 20px 50px !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
}
/*************************************************
フッター
**************************************************/

.l-footer{
    background: #003366; /* 紺 */
    color: #fff;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.l-footer__inner{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.l-footer__content{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.l-footer__info { flex: 1 1 400px; }
.l-footer__nav { flex: 1 1 250px; }
.l-footer__license { flex: 1 1 300px; }

.l-footer__logo img{
    max-height: 50px;
    margin-bottom: 20px;
}

.l-footer__nav-title{
    font-weight: bold;
    border-left: 4px solid #d4af37; /* 金 */
    padding-left: 10px;
    margin-bottom: 20px;
}

.l-footer__nav-list{
    list-style: none;
    padding: 0;
}

.l-footer__nav-list li{
	margin-bottom: 10px;
}
.l-footer__nav-list a{
	color: #fff; text-decoration: none; font-size: 0.85rem;
}
.l-footer__nav-list a:hover{
	color: #d4af37;
}

.l-footer__license-txt{
    font-size: 0.8rem;
    line-height: 1.8;
    color: #ccc;
}

.l-footer__bottom{
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.l-footer__official-links{
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-sub-link{
    color: #d4af37 !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: opacity 0.3s;
}

.footer-sub-link:hover{
    opacity: 0.7;
    text-decoration: underline;
}
    
@media screen and (max-width: 768px) {
    .l-footer{
	padding: 40px 0 20px;
}
    .l-footer__content { flex-direction: column; gap: 30px; }
    .l-footer__info, .l-footer__nav, .l-footer__license { flex: 1 1 100%; }
}
　　.l-footer__official-links{
        text-align: center;
        align-items: center;
        margin-bottom: 30px;
    }
}

/*************************************************
/* モーダル全体のオーバーレイ */
**************************************************/

.modal-overlay {
    display: none; 
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100vh !important;
    background: rgba(0, 51, 102, 0.98) !important;
    z-index: 9999999999 !important; 
    align-items: center; justify-content: center;
    backdrop-filter: blur(15px);
}

.modal-inner{
    z-index: 1000000000 !important;
    position: relative;
    background: #fff !important;
}
@keyframes modal-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close{
    position: absolute;
    top: 15px; right: 20px;
    font-size: 40px; color: #ccc;
    cursor: pointer;
}

.modal-title{
    color: #003366; font-weight: 900; font-size: 2rem;
    text-align: center; margin-bottom: 10px;
}

.modal-sub{
    text-align: center; font-size: 0.9rem; color: #666; margin-bottom: 30px;
}

.modal-buttons {
    display: flex; flex-direction: column; gap: 15px;
}

.m-btn{
    display: flex; align-items: center; justify-content: center;
    padding: 15px; border-radius: 12px;
    text-decoration: none; color: #fff; font-weight: bold;
    transition: transform 0.2s;
}

.m-btn:active { transform: scale(0.98); }

.m-btn span{
	text-align: left; line-height: 1.2; font-size: 1.1rem;
}
.m-btn span span{
	display: block; font-size: 0.8rem; font-weight: normal; opacity: 0.9;
}

/* 各ボタンの色 */
.m-btn--tel{
	background: #d4af37;
} /* 金色 */
.m-btn--mail{
	background: #003366;
} /* 紺色 */
.m-btn--line{
	background: #06C755;
} /* LINE緑 */

.modal-footer-txt{
    margin-top: 30px; text-align: center; font-size: 0.75rem; color: #999;
}