/*
Theme Name: Arkhe
Theme URI: https://arkhe-theme.com/
Version: 3.13.0
Tested up to: 7.0
Requires at least: 6.7
Requires PHP: 8.0
Description: A very simple theme for production templates. Customize as you like.
Tags: two-columns, one-column, right-sidebar, custom-colors, custom-menu, editor-style, theme-options, block-styles, wide-blocks
Author: LOOS,Inc.
Author URI: https://loos.co.jp/
Text Domain: arkhe
Domain Path: /languages
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* 画像置き換え用 共通点線フレーム */
.placeholder-img {
    color: #4a5568;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
}

/* ==========================================
    1. 全体・共通リセット & 共通クラス
    ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-feature-settings: "palt" 1;
    font-variant-alternates: proportional-width;
    -webkit-font-smoothing: antialiased;
    color: #333;
    overflow-x: hidden;
    background-color: #ffffff;
}
section {
    overflow: hidden;
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; padding: 0; }

/* 【ダミー画像対策】後から本物の画像を放り込んでも崩れず、
    画像がない状態（今）でもグレーのボックスとして表示させる特殊CSS */
img {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
}

/* サイトタイトル共通構造 */
h2.title {
    text-align: center;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 900;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.6;
}
h2.title span.blue-text {
    color: #0071bc;
}
.site-branding {
    width: 80%;
    max-width: 240px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 100;
    transition: .4s;
}
@media screen and (min-width: 769px) {
    h2.title {
        margin-bottom: 60px;
    }
}
.site-branding .logo-img { height: 45px; width: auto; margin:15px 0 0; background-color: transparent; }
.site-branding .logo-img::after { display: none; } /* ロゴにはダミー用文字を出さない */
.site-branding .logo-text { 
    font-size: clamp(11px, 2vw, 13px); 
    display: flex; 
    flex-direction: column; 
    line-height: 1.4; 
    margin-top: 10px;
}
/* スクロールした時のヘッダーの動き */
.bg .site-branding {
    opacity: 0 !important;
    pointer-events: none !important;
}
@media screen and (min-width: 769px) {
    .site-branding .logo-img { 
        height: 65px; 
        transition: .4s;
    }
    /* スクロールしたらロゴ小さく */
    .bg .site-branding .logo-img { 
        height: 45px; 
        margin-top: 0;
    }
    .site-branding .logo-text {
        margin-top: 0;        
    }
}
.theme-white .site-branding { color: #ffffff; }
.theme-blue .site-branding { color: #0074be; }

/* 共通青ボタン（カプセル型） */
.btn-blue-capsule {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0074be;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    max-width: 400px;
    height: 55px;
    border-radius: 50px;
    margin: 0 auto;
    transition: opacity 0.3s;
    box-shadow: 0 4px 15px rgba(0, 116, 190, 0.15);
}
.btn-blue-capsule:hover {
    opacity: 0.9;
}
@media screen and (min-width: 769px) {
    .btn-blue-capsule { font-size: 18px; height: 60px; max-width: 480px; }
}
.sp-only { display: block; }
.pc-only { display: none; }
@media screen and (min-width: 769px) {
    .sp-only { display: none; }
    .pc-only { display: block; }
}
/* ==========================================
    2. ヘッダー領域
    ========================================== */
.pc-header {
    display: none;
    background-color: transparent; 
    height: 75px; 
    padding-left: 30px; 
    position: relative; 
    z-index: 100;
}
@media screen and (min-width: 769px) { 
    .pc-header { 
        position: fixed;
        top: 0;
        width: 100%;
        display: flex; 
        justify-content: center; 
        align-items: center; 
        transition: .4s;
    }
    .pc-header.bg {
        background-color: #0074be;
    }
    .pc-header.bg  .btn-cta-pc{
        border-radius: 0;
    }
}
.pc-nav { width: 65%; margin-left: auto; margin-right: 20px; }
.pc-nav ul { display: flex; gap: 3%; align-items: center; justify-content: flex-end; }
.pc-nav a { color: #ffffff; font-size: 16px; font-weight: 700; transition: opacity 0.3s; }
.pc-nav a:hover { opacity: 0.8; }
.pc-header .pc-btn-wrap { height: 100%; }
.pc-header .btn-cta-pc {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background-color: #ffd400; 
    color: #333;
    font-size: 16px; 
    font-weight: 700; 
    height: 100%;
    min-width : 150px;
    padding: 0 15px; 
    border-radius: 0 0 0 25px; 
    transition: background-color 0.3s;
    transition: .4s;
}
.pc-header .btn-cta-pc:hover { background-color: #ffe033; }

.sp-header {
    height: 65px;
    width: 100%; 
    padding-left: 8px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: fixed; 
    top: 0;
    z-index: 100;
}
@media screen and (min-width: 769px) { .sp-header { display: none; } }
.menu-open-btn {
    background-color: #ffffff; 
    height: 65px; 
    padding: 15px; 
    border-radius: 0 0 0 20px; 
    position: fixed;
    right: 0;
    top: 0;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
}
.menu-open-btn .menu-icon { width: 32px; height: auto; background: transparent; }
.menu-open-btn .menu-icon::after { display: none; }
.menu-open-btn .menu-btn-text { color: #0074be; font-size: 11px; font-weight: 700; }

/* SPメニュー */
.sp-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #ffffff; z-index: 9999;
    display: flex; flex-direction: column; transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.sp-menu-overlay.is-active { transform: translateY(0); }
.sp-menu-overlay.is-active .site-branding { 
    background-color: transparent !important;
}
.sp-menu-overlay.is-active .site-branding .logo-img {
    height: 75px;
}
.sp-menu-overlay.is-active .site-branding .logo-text {
    font-size: 13px;
}
.sp-menu-header { height: 90px; padding-left: 20px; display: flex; justify-content: space-between; align-items: center; }
.menu-close-btn { 
    height: 65px; 
    padding: 15px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 5px; 
    position: fixed;
    right: 0;
    top: 0;
}
.menu-close-btn .menu-icon { width: 24px; height: auto; background: transparent; }
.menu-close-btn .menu-icon::after { display: none; }
.menu-close-btn .menu-btn-text { color: #0074be; font-size: 11px; font-weight: 700; }
.sp-nav { margin-top: 30px; padding: 0 40px; }
.sp-nav li { border-bottom: 1px dashed #0074be; padding: 18px 0; }
.sp-nav a { color: #0074be; font-size: 16px; font-weight: 700; display: flex; align-items: center; }
.sp-nav a::before { content: ""; display: inline-block; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #ffd400; margin-right: 15px; }
.sp-btn-wrap { margin-top: 25px; padding: 0 30px; }
.btn-cta-sp { display: flex; align-items: center; justify-content: center; background-color: #0074be; color: #ffffff; font-size: 16px; font-weight: 700; width: 100%; padding: 10px 0; border-radius: 25px; }


/* ==========================================
    3. ファーストビュー領域
    ========================================== */
.fv-section {
    position: relative; 
    width: 100%; 
    height: 85vh; 
    min-height: 700px;
    background-color: #eaf6fc; 
    display: flex; 
    flex-direction: column;
    justify-content: flex-end;
}
.fv-blue-bg {
    background-size: cover; 
    background-position: center bottom; 
    padding: 0; 
    position: relative; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
}
@media screen and (min-width: 769px) { 
    .fv-section {
        height: 98vh; 
        min-height: 900px; 
        max-height: 1000px;
        padding-top: 0;
    }    
    .fv-blue-bg { 
        background-image: url('image/img_05_fv_bg_pc.png'); 
        padding-top: 0; 
    } 
}
@media screen and (min-width: 1080px) { 
    .fv-blue-bg { 
        padding-top: 15%; 
    }
}
@media screen and (max-width: 768px) { 
    .fv-blue-bg { 
        background-image: url('image/img_05_fv_bg_sp.png'); 
        justify-content: flex-end;
        padding: 20% 0 15%;
        }
}
.fv-clouds-container { 
    width: 98%; 
    max-width: 550px; 
    margin: 30px auto 5%;
    height: 30vh;
    max-height: 145px;
    display: flex;
    position: relative;
    z-index: 5; 
}
@media screen and (min-width: 769px) { 
    .fv-clouds-container { 
        width: 100%; 
        max-width: 1280px; 
        height: 100%;
        max-height: 220px;
        display: flex; 
        justify-content: center; 
        align-items: center; 
        bottom: -20%;
        margin: 0 auto 5%;
        position: relative;
        z-index: 5; 
    } 
}

.cloud-item { 
    position: relative; 
    width: 32%; 
    max-width: 260px; 
    margin: 0 auto; 
    aspect-ratio: 340 / 240; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transform: translateY(30px); 
}
.cloud-item img::after { display: none; }
@media screen and (max-width: 769px) { 
    .cloud-item {
        width: 25%;
        margin: 0;
    }
    #js-cloud-1 { 
        bottom: -42%;
        left: 6%;
    }
    #js-cloud-2 { 
        top: 15%;
        left: -7%;
    }
    #js-cloud-3 { 
        top: 8%;
        right: -3%;
    }
    #js-cloud-4 { 
        bottom: -25%;
        right: 8%;
    }
}
@media screen and (min-width: 769px) {
    .cloud-item { margin: 0; }
    #js-cloud-1 { transform: translate(0%, calc(-45% + 30px)); }
    #js-cloud-2 { transform: translate(-5%, 30px); }
    #js-cloud-3 { transform: translate(5%, 30px); }
    #js-cloud-4 { transform: translate(0%, calc(-45% + 30px)); }
}
.cloud-bg-img { 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    right: 0; 
    left: 0;
    margin: auto -32.5%; 
    width: 165%; 
    z-index: 1; 
    background: transparent !important; 
}
img.cloud-bg-img { 
    max-width: 165%;
}
.cloud-content { 
    position: relative; 
    z-index: 2; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 6px; 
    width: 76%; 
    padding-bottom: 8px; 
}
.cloud-text { 
    color: #333; 
    font-size: clamp(15px, 2vw, 20px); 
    font-weight: 700; 
    line-height: 1.6; 
    text-align: center; 
    z-index: 2;
    position: absolute;
    top: auto;
    bottom: auto;
    left: -32.5%;
    right: -32.5%;
}

@media screen and (min-width: 769px) {
    .cloud-bg-img { 
        margin: auto 0; 
    }
    img.cloud-bg-img { 
        max-width: 100%;
    }
    .cloud-bg-img { 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100%; 
        object-fit: contain; 
    }    
    .cloud-text {
        position: unset; 
        left: 0%;
        right: 0%;
    }
}
#js-cloud-4 .cloud-text {
    font-size: clamp(14px, 2vw, 18px);
}
.cloud-icon { 
    width: 52px; 
    height: auto; 
    position: absolute;
    background: transparent !important; 
    z-index: 2;
}
.cloud-icon.icon-01 { 
    top: 5%; 
    left: 10%; 
}
.cloud-icon.icon-02 { 
    top: 8%; 
    right: 0%; 
}
.cloud-icon.icon-03 { 
    top: -6%;
    right: 32%;
}
.cloud-icon.icon-04 { 
    top: 0%;
    right: 0%; 
}
@media screen and (min-width: 769px) { 
    .cloud-bg-img { 
        width: 120%; 
        height: auto; 
    }
    .cloud-text { 
        margin-top: 15px;
    } 
    .cloud-icon { 
        width: 65px; 
    }
    .cloud-icon.icon-01 { 
        top: 5%; 
        left: 10%; 
    }
    .cloud-icon.icon-02 { 
        top: 8%; 
        right: 0%; 
    }
    .cloud-icon.icon-03 { 
        top: 8%;
        right: -15%;
    }
    .cloud-icon.icon-04 { 
        top: -8%;
        right: 35%; 
    }
}
.fv-catch-block { 
    text-align: center; 
    color: #ffffff; 
    margin: 0; 
    position: relative; 
    z-index: 5; 
    opacity: 0; 
}
.catch-sub { 
    font-size: clamp(16px, 2.5vw, 30px); 
    font-weight: 700; 
    margin-bottom: 5px; 
}
.catch-main { 
    font-size: clamp(20px, 3vw, 30px); 
    font-weight: 700; 
    line-height: 1.5; 
    display: inline-block;
}
.catch-main strong { 
    display: inline-block;
    color: #ffd400; 
    font-size: clamp(26px, 3.5vw, 42px); 
    font-weight: 900 !important; 
    margin-bottom: 8px; 
}
.doctor-img { 
    position: absolute; 
    bottom: 0; 
    height: 200px; 
    width: auto; 
    z-index: 6; 
    opacity: 0; 
    background: transparent !important; 
}
.doctor-img::after { display: none; }
.doctor-left { left: 1%; transform: translateX(-30px); }
.doctor-right { right: 1%; transform: translateX(30px); }
@media screen and (min-width: 769px) { 
    .fv-catch-block { 
        margin: 0 0 8%; 
    }
    .doctor-img { 
        height: 32vh;
        min-height: 240px;
        max-height: 350px;
        bottom: -10px; } 
    .doctor-left { left: 11%; } 
    .doctor-right { right: 11%; } 
}

.fv-bottom-sky { 
    position: relative; 
    width: 100%;
    height: 35%;
    padding: 0; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start;
    background-color: transparent; 
    background-image: url('image/img_15_town_pc.png');
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center bottom;
}
@media screen and (min-width: 769px) { 
    .fv-bottom-sky { 
        background-size: 75%;
        min-height: 260px; 
    } 
}

.fv-sub-logo-wrap { text-align: center; margin: 20px 0 15px; position: relative; z-index: 10; }
.fv-sub-logo-wrap .logo-yomi { font-size: 11px; font-weight: 700; color: #0074be; letter-spacing: 0.3em; display: block; margin-bottom: 4px; }
.fv-sub-logo-wrap .logo-main-img { height: 40px; width: auto; margin: 0 auto; background: transparent !important; }
.fv-sub-logo-wrap .logo-main-img::after { display: none; }
@media screen and (min-width: 769px) { 
    .fv-sub-logo-wrap .logo-yomi { font-size: 13px; } 
    .fv-sub-logo-wrap .logo-main-img { height: 55px; } }

.capsule-bar { background-color: #0074be; 
    color: #ffffff; 
    font-size: 11px; 
    font-weight: 700; 
    padding: 10px 35px 10px 15px; 
    text-align: center; 
    position: relative; 
    z-index: 10; 
    max-width: 90%; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}
@media screen and (min-width: 769px) { .capsule-bar { font-size: 14px; padding: 12px 40px; } }
.capsule-chara { 
    position: absolute; 
    right: -30px;
    bottom: 0;
    top: 0;
    margin: auto;
    width: 70px;
    height: auto; 
    background: transparent !important; 
}
.capsule-chara::after { display: none; }

.town-back-container { 
    width: 100%; 
    height: 80px;
    margin-top: auto; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    line-height: 0; 
    overflow: hidden;
}

.town-img-pc::after { 
    display: none; 
}
.town-img-sp { 
    display: block; 
    width: 100%; 
    height: auto; 
    background: transparent !important; 
}
.town-img-sp::after { 
    display: none; 
}
@media screen and (min-width: 769px) { 
    .town-img-pc { 
        display: block; 
    } 
    .town-img-sp { 
        display: none; 
    } 
}

/* FVアニメーションパーツループ */
.deco-part { 
    position: absolute; 
    z-index: 2; 
    pointer-events: none; 
    background: transparent !important; 
}
.deco-part::after { 
    display: none; 
}
.deco-cloud-1 { 
    top: 12%; 
    left: -2%; 
    width: 45px; 
    animation: floatAnim 4s ease-in-out infinite alternate; 
}
.deco-cloud-2 { 
    top: 42%; 
    right: 13%; 
    width: 45px; 
    animation: floatAnim 4.8s ease-in-out infinite alternate-reverse; 
}
@media screen and (min-width: 769px) { 
    .deco-cloud-1 { 
        width: 90px; 
        left: 10%; 
    } 
    .deco-cloud-2 { 
        width: 50px; 
        right: 30%; 
    } 
    }
.deco-bird-1 { 
    top: 8%; 
    left: 8%; 
    width: 65px; 
    animation: yuraAnim 3s ease-in-out infinite alternate; 
    z-index: 6;
}
.deco-bird-2 { 
    bottom: 18%; 
    left: 0%; 
    width: 70px; 
    animation: yuraAnim 3.5s ease-in-out infinite alternate-reverse; 
    z-index: 6;
}
.deco-balloon { 
    bottom: 50%; 
    right: 0%; 
    width: 68px; 
    animation: floatAnim 5.5s ease-in-out infinite alternate; 
}
@media screen and (min-width: 769px) { 
    .deco-bird-1 { 
        width: 85px; 
        top: 5%;
        left: 26%; 
    } 
    .deco-bird-2 { 
        width: 55px; 
        left: 10%; 
    } 
    .deco-balloon { 
        width: 60px; 
        bottom: 15%;
        right: 5%;
    } 
}
.moving-car { 
    position: absolute; 
    bottom: 0; 
    width: 40px; 
    height: auto; 
    z-index: 15; 
    animation: driveCar 16s linear infinite; 
    background: transparent !important; 
}
.moving-car::after { 
    display: none; 
}
@media screen and (min-width: 769px) { 
    .moving-car { 
        width: 50px; 
    } 
}

@keyframes floatAnim { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); } }
@keyframes yuraAnim { 0% { transform: rotate(-6deg) translateY(0); } 100% { transform: rotate(8deg) translateY(-4px); } }
@keyframes driveCar { 0% { left: 100%; } 100% { left: -10%; } }


/* ==========================================
    5. フッター領域
    ========================================== */
.site-footer { background-color: #0074be; color: #ffffff; width: 100%; }
.footer-main { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 60px 40px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 30px; 
    flex-wrap: wrap;
}
@media screen and (min-width: 769px) { 
    .footer-main { 
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center; 
        gap: 20px; 
        padding: 80px 40px; 
    } 
}
.footer-info-block { display: flex; 
    flex-direction: column; 
    gap: 20px; 
    width: 100%; 
    order: 3; 
}
@media screen and (min-width: 769px) { 
    .footer-info-block { 
        width: 25%;
        min-width: 280px; 
        order: 1; 
    } 
}
.footer-address { font-style: normal; font-size: 15px; line-height: 1.8; font-weight: 500; letter-spacing: 0.02em; }
.footer-nav-block { 
    order: 1; 
    width: 100%; 
}
@media screen and (min-width: 769px) { 
    .footer-nav-block { 
        width: 60%; 
        order: 2; 
        margin-top: 15px; 
    } }
.footer-nav-block ul { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    gap: 15px 0; 
}
.footer-nav-block ul li { 
    width: 50%;
}
@media screen and (min-width: 769px) { 
    .footer-nav-block ul { 
        justify-content: space-between; 
        gap: 15px 1.5%; 
    } 
    .footer-nav-block ul li{ 
        width: 32%;
    }
}
.footer-nav-block a { 
    font-size: 16px; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    transition: opacity 0.3s; 
}
@media screen and (min-width: 769px) { 
    .footer-nav-block a { 
        font-size: 18px; 
    } 
}
.footer-nav-block a:hover { 
    opacity: 0.8; 
}
.footer-nav-block li a::before { 
    content: ""; 
    display: inline-block; 
    width: 0; 
    height: 0; 
    border-style: solid; 
    border-width: 6px 0 6px 9px; 
    border-color: transparent transparent transparent #ffd400; 
    margin-right: 10px;    
}
@media screen and (min-width: 769px) { 
    .footer-nav-block a::before { display: none; 
    } 
}
.footer-btn-block { 
    width: 100%; 
    display: flex; 
    justify-content: center; 
    order: 2;    
    margin-top: 30px;
}
@media screen and (min-width: 769px) { 
    .footer-btn-block { 
        width: auto; 
        order: 3; 
        justify-content: flex-end;
    } 
}
.btn-cta-footer { display: flex; align-items: center; justify-content: center; background-color: #ffd400; color: #333; font-size: 18px; font-weight: 700; width: 100%; max-width: 340px; height: 60px; border-radius: 50px; transition: background-color 0.3s; }
@media screen and (min-width: 769px) { 
    .btn-cta-footer { width: 220px; height: 55px; font-size: 18px; } 
}
.btn-cta-footer:hover { background-color: #ffe033; }
.footer-copyright { background-color: #0b5486; text-align: center; padding: 25px 20px; font-size: 13px; font-weight: 500; letter-spacing: 0.03em; }


/* ==========================================
    6. JS制御用アニメーションクラス
    ========================================== */
.cloud-item.animated { animation: fvFadeUpSP 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
#js-cloud-1.animated { animation: fvFadeUp1 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
#js-cloud-2.animated { animation: fvFadeUp2 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
#js-cloud-3.animated { animation: fvFadeUp3 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
#js-cloud-4.animated { animation: fvFadeUp4 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
@keyframes fvFadeUp1 { to { opacity: 1; transform: translate(-3%, 0); } }
@keyframes fvFadeUp2 { to { opacity: 1; transform: translate(-3%, -45%); } }
@keyframes fvFadeUp3 { to { opacity: 1; transform: translate(3%, -45%); } }
@keyframes fvFadeUp4 { to { opacity: 1; transform: translate(3%, 0); } }

.doctor-img.animated { animation: docAppear 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.fv-catch-block.animated { animation: fvFadeIn 1s ease-out forwards; }
@keyframes docAppear { to { opacity: 1; transform: translateX(0); } }
@keyframes fvFadeIn { to { opacity: 1; } }


/* ==========================================
    4. 中のコンテンツ領域（セクション01：新規実装）
    ========================================== */
.section-contents {
    margin: 0 auto;
}
/* セクション総合大見出し */
.main-section-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}
.main-section-title span {
    color: #0074be; /* 医科・歯科専門の集換に / ホームページ制作・運用 を青に */
}
@media screen and (min-width: 769px) {
    .main-section-title { font-size: 32px; margin-bottom: 80px; }
}

/* 2つのアメーバ風・波型背景ブロックの共通設定 */
.wave-concept-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}
@media screen and (min-width: 769px) {
    .wave-concept-container { gap: 60px; margin-bottom: 80px; }
}

.wave-block {
    position: relative;
    width: 100%;
    padding: 50px 30px;
    background-color: #eaf6fc; /* 仮の薄水色（画像が読み込まれたら背景画像が優先されます） */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50px; /* 画像がない時用の丸み */
    display: flex;
    flex-direction: column;
    gap: 25px;
}
/* PC版：アメーバ背景の表示と横並び制御 */
@media screen and (min-width: 769px) {
    .wave-block {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 60px 80px;
        gap: 50px;
        border-radius: 0;
        background-color: transparent;
    }
    .wave-block-01 { background-image: url('image/img_17_section01_bg1.png'); }
    .wave-block-02 { background-image: url('image/img_18_section01_bg2.png'); }
}

/* 波型ブロック内のテキストと画像サイズ */
.wave-text-side {
    flex: 1;
}
.wave-text-side h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin-bottom: 15px;
    letter-spacing: 0.03em;
}
.wave-text-side p {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.8;
    letter-spacing: 0.02em;
}
@media screen and (min-width: 769px) {
    .wave-text-side h3 { font-size: 22px; margin-bottom: 20px; }
    .wave-text-side p { font-size: 15px; }
}

.wave-img-side {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 4 / 3; /* ダミーボックスの形を綺麗に保つ */
}
@media screen and (min-width: 769px) {
    .wave-img-side { width: 42%; max-width: none; margin: 0; }
    /* 2つ目のブロックはPC版で「左画像・右テキスト」に反転 */
    .wave-block-02 { flex-direction: row-reverse; }
}

/* 下部：3つの強み・サービスカードエリア */
.service-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 60px 0 40px 0;
}
@media screen and (min-width: 769px) {
    .service-cards-grid {
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
        margin: 80px 0 50px 0;
    }
}

/* カード単体の構造 */
.service-card-item {
    display: flex;
    flex-direction: column; /* 基本は「上画像・下テキスト」 */
    width: 100%;
}
@media screen and (min-width: 769px) {
    .service-card-item {
        width: 31%; /* PC版はスッキリ3カラム並び */
    }
}

/* 【重要】SP版でのみ「左右互い違い（テキスト・画像交互）」にする大技CSS */
@media screen and (max-width: 768px) {
    .service-card-item {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    .service-card-item:nth-child(even) {
        flex-direction: row-reverse; /* 2つ目のカード（リニューアル）だけ左右反転 */
    }
    .service-card-item .card-img-wrap {
        width: 45%;
        aspect-ratio: 1 / 1; /* SP版は正方形に近いコンパクトなグレーマスに */
    }
    .service-card-item .card-text-wrap {
        width: 55%;
    }
}

/* カード内の各パーツ調整 */
.card-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 15px;
}
@media screen and (min-width: 769px) {
    .card-img-wrap { margin-bottom: 20px; }
}

.card-text-wrap h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}
.card-text-wrap p {
    font-size: 13px;
    font-weight: 500;
    color: #444444;
    line-height: 1.6;
}
@media screen and (min-width: 769px) {
    .card-text-wrap h4 { font-size: 18px; margin-bottom: 12px; }
    .card-text-wrap p { font-size: 14px; line-height: 1.7; }
}

/* セクション内ボタンの上下マージン */
.section-contents .btn-blue-capsule {
    margin-top: 20px;
}

/* ==========================================================================
   特徴・サービスセクション共通
   ========================================================================== */
.features-section {
    width: 100%;
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.features-section .container {
    max-width: 1100px; /* カンプのコンテンツ幅に合わせた最適サイズ */
    margin: 0 auto;
    padding: 0 30px;
}

/* ==========================================================================
   アメーバ状背景ブロック（2段構成）
   ========================================================================== */
.blob-block {
    position: relative;
    width: 100%;
}
.blob-block.item-left {    
    margin-bottom: 60px;
}

    /* アメーバ状の背景デザイン（CSSのborder-radiusで歪みを再現） */
.blob-bg {
    position: absolute;
    top: -5%;
    left: -15%;
    width: 130%;
    height: 110%;
    background-color: #e6f4f8; /* 極めて薄い水色 */
    z-index: 1;
}

/* カンプ特有の左右非対称な歪みをそれぞれに適用 */
.bg-type1 {
    border-radius: 48% 52% 54% 46% / 42% 46% 54% 58%;
}
.bg-type2 {
    border-radius: 52% 48% 44% 56% / 46% 52% 48% 54%;
}

/* コンテンツの配置（テキストと画像） */
.blob-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.item-right .image-area {
    order: 2; /* 2つ目のブロックはテキストを右側に配置 */
}
.item-right .text-area {
    order: 1; /* 2つ目のブロックはテキストを右側に配置 */
}
@media (min-width: 768px) {
    .blob-content {
        gap: 40px;
        padding: 25px 0;
    }    
    .item-right .image-area {
        order: 1; /* 2つ目のブロックはテキストを右側に配置 */
    }
    .item-right .text-area {
        order: 2; /* 2つ目のブロックはテキストを右側に配置 */
    }
}
.blob-block .text-area {
    width: 55%;
    max-width: 380px;
}
.blob-block .image-area {
    width: 30%;
}
/* ブロック内のテキスト装飾 */
.block-title {
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 700;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    width: 50%;
}
.block-text {
    font-size: clamp(14px, 3vw, 16px);
    line-height: 1.8;
    color: #333;
    text-align: justify;
}
@media (min-width: 768px) {
    .block-title {
        width: 100%;
    }
}

/* ==========================================================================
   中央共通 青色長方形ボタン
   ========================================================================== */
.center-btn-wrap {
    text-align: center;
    margin: 50px 0 80px;
}

.center-btn-wrap.mgt-60 {
    margin-top: 60px;
    margin-bottom: 0;
}

.btn-blue-rect {
    display: inline-block;
    background-color: #0071bc;
    color: #fff;
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 700;
    padding: 18px 80px;
    border-radius: 4px; /* 緩やかな角丸 */
    transition: all 0.2s ease;
}

.btn-blue-rect:hover {
    transform: translateY(2px);
    background-color: #0062a3;
}

/* ==========================================================================
   3カラム サービスグリッド
   ========================================================================== */
.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.service-card {
    width: 25%; /* 3カラムの均等配置 */
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}
.service-card:first-child {
    margin-top: 0;
}
/* カード内の画像領域 */
.card-img {
    width: 95%;
    height: auto; /* 正方形に近い縦横比 */
    margin: 0 auto -15px;
    padding: 0;
    background-color: #e6f4f8;
    border-radius: 50%;
}
.card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}
.card-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}
@media (max-width: 768px) {
    .card-img {
        width: 48%;
        height: auto;
        margin: 0 -5% -28% auto;
    }
    h4.card-title {
            width: 55%;
            margin-bottom: 5%;
    }
}

/* ==========================================================================
   レスポンシブ用の微調整（必要に応じて）
   ========================================================================== */
@media (max-width: 768px) {
    .blob-content, .services-grid {
        flex-wrap: wrap;
        position: relative;
        gap: 0;
    }
    .blob-block .text-area, .service-card {
        width: 100%;
        max-width: 550px;
        margin-top: 50px;
        margin-left: auto;
        margin-right: auto;
    }
    .blob-block .image-area,
    .blob-block .image-area img {
        width: 80%;
        height: auto;
        position: absolute;
        top: -15px;
        right: -10px;
    }
    .btn-blue-rect {
        padding: 15px 30px;
        width: 100%;
    }
}

/* ==========================================================================
   無料相談（CTA）セクション
   ========================================================================== */
.cta-section {
    width: 100%;
    padding: 60px 0;
    /* CSSで斜めストライプ背景を再現（#e6f4f8 = 前回のライトブルー） */
    background: repeating-linear-gradient(
        135deg,
        #e6f4f8,
        #e6f4f8 8px,
        #f4fdff 8px,
        #f4fdff 16px
    );
}

.container-cta {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 2カラムフレックス配置 */
.cta-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

/* 左側テキストエリア */
.cta-left {
    width: fit-content;
}

.cta-list {
    margin-bottom: 25px;
}

.cta-list li {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.8;
    list-style: none;
}

.cta-lead {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ボタン周りの装飾 */
.cta-btn-area {
    text-align: center;
    max-width: 400px;
}

.cta-attention {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

/* 青色幅広コンバージョンボタン */
.btn-cta-blue-large {
    display: block;
    width: 100%;
    background-color: #0071bc;
    color: #fff;
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 700;
    text-align: center;
    padding: 15px 0;
    margin-top: 15px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-cta-blue-large:hover {
    transform: translateY(2px);
    background-color: #0062a3;
}

/* 右側画像エリア */
.cta-right {
    width: 46%;
}

.cta-main-img {
    width: 100%;
    height: auto; /* カンプの縦横比に合わせたボリューム */
}

/* ==========================================================================
   タブレット・スマホ用レスポンシブ
   ========================================================================== */
@media (max-width: 768px) {
    .cta-flex {
        flex-direction: column-reverse; /* スマホ時は画像を上に持ってくる場合、好みに応じてcolumnに */
        gap: 40px;
    }
    
    .cta-left, .cta-right {
        width: 100%;
    }
    
    .cta-btn-area {
        max-width: 100%;
    }
}

/* ==========================================================================
   選ばれる理由セクション
   ========================================================================== */
.reasons-section {
    width: 100%;
    padding: 60px 0;
    background: url('image/img_section_bg.png') repeat;
    background-color: #f6f3eb; /* カンプの淡いアイボリー系背景色 */
    /* ※将来的に背景パターン画像を敷く場合はここに background-image を指定してください */
}

.container-reasons {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ==========================================================================
   上部：概要ブロック（イラスト＆L字テキスト）
   ========================================================================== */
.reasons-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

/* 左側イラストエリア */
.summary-thumb {
    width: 20%;
    max-width: 250px;
    background-color: transparent;
    border-color: #cbd5e1;
}

/* 右側テキストボックス（L字装飾の親） */
.summary-text-box {
    width: 60%;
    position: relative;
    padding: 30px 40px;
}

/* L字線の共通定義 */
.deco-line-lt, .deco-line-rb {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid #0071bc;
}

/* 左上のL字 */
.deco-line-lt {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

/* 右下のL字 */
.deco-line-rb {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* 概要テキスト中身 */
.summary-text-content p {
    font-size: 15px;
    line-height: 2;
    color: #333;
    margin-bottom: 8px;
    text-align: justify;
}

.summary-text-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   下部：3つの理由（3カラムカード）
   ========================================================================== */
.reasons-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.reason-card {
    width: 25%;
    position: relative; /* 子要素の丸数字を絶対配置するため */
    display: flex;
    flex-direction: column;
}

/* カード左上の丸数字 */
.card-number {
    position: absolute;
    top: 0;
    left: 10%;
    width: 44px;
    height: 44px;
    background-color: #0071bc;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* カード内画像（カンプ準拠で背景を白に） */
.card-img.img-white {
    width: 100%;
    height: auto;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 auto -15px;
}

/* カード内タイトル */
.card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

/* カード内説明文 */
.card-text {
    font-size: 13.5px;
    line-height: 1.7;
    color: #333;
    text-align: justify;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 768px) {
    .reasons-summary {
        flex-direction: column;
        gap: 20px;
    }
    .summary-thumb, .summary-text-box {
        width: 100%;
    }
    .summary-text-box {
        padding: 25px;
    }
    .reasons-grid {
        flex-direction: column;
    }
    .reason-card {
        width: 100%;
    }
    .card-img.img-white {
        width: 75%;
        aspect-ratio: 1 / 1;
    }
}

/* ==========================================================================
   サービス内容セクション
   ========================================================================== */
.services-section {
    width: 100%;
    padding: 60px 0;
    /* CTAセクションと共通の斜めストライプ背景 */
    background: repeating-linear-gradient(
        135deg,
        #e6f4f8,
        #e6f4f8 8px,
        #f4fdff 8px,
        #f4fdff 16px
    )
}

.container-services {
    max-width: 1000px; /* 少しタイトめに並べることでカンプの凝縮感を再現 */
    margin: 0 auto;
    padding: 0 40px;
}

/* サービスリストのアイテム根幹 */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 90px; /* ブロック間の程よい縦余白 */
}

.service-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

/* 2番目、4番目の要素を反転（左画像 / 右テキスト）させるためのクラス */
.service-item.row-reverse {
    flex-direction: row-reverse;
}

/* 各要素の幅割り当て */
.item-text {
    width: 38%;
}

.item-image-wrap {
    width: 44%;
    position: relative; /* 飛び出すイラストアイコンの基準点 */
}

/* テキスト装飾 */
.item-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}
.item-description {
    font-size: 14.5px;
    line-height: 2;
    color: #333;
    margin-bottom: 30px;
    text-align: justify;
}
.item-title,
.item-description {
    margin-bottom: 15px;
}

/* ボタン（幅いっぱいに広がらない、テキストに応じた青い長方形） */
.btn-service-blue {
    display: inline-block;
    background-color: #0071bc;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    padding: 14px 35px;
    border-radius: 4px;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-service-blue:hover {
    transform: translateY(2px);
    background-color: #0062a3;
}

/* メイン画像枠（カンプ通り、白背景のスクエア） */
.item-img.img-white {
    width: 100%;
    height: auto; /* カンプに合わせた縦長すぎない比率 */
}

/* ==========================================================================
   はみ出すイラストアイコンの絶対配置群
   ========================================================================== */
.badge-icon {
    position: absolute;
    width: 125px;
    height: 60px;
    z-index: 5;
    font-size: 10px;
}

/* 各ブロックごとのカンプに準拠した出現位置 */
.icon-pc { top: -25px; right: -15px; }       /* 1つ目: 右上 */
.icon-graph { top: -20px; right: -25px; }    /* 2つ目: 右上（反転時も画像基準の右上） */
.icon-seo { top: -25px; right: -15px; }      /* 3つ目: 右上 */
.icon-pencil { top: -25px; left: -15px; }    /* 4つ目: 左上 */
.icon-building { top: -25px; left: -20px; }  /* 5つ目: 左上 */

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 768px) {
    .service-item, .service-item.row-reverse {
        flex-direction: column; /* スマホ時はすべて縦並び、テキストが先 */
        gap: 10px;
    }
    .item-text {
        order: 2; /* テキストは2番目 */
    }
    .item-image-wrap {
        order: 1; /* 画像を先に表示 */
    }
    .item-text, .item-image-wrap {
        width: 100%;
    }
    .item-img.img-white {
        height: 260px;
        overflow: hidden;
    }
    .btn-service-blue {
        display: block;
        text-align: center;
        padding: 14px 10px;
    }
    .services-list {
        gap: 80px;
    }
}

/* ==========================================================================
   料金プランセクション
   ========================================================================== */
.plan-section {
    width: 100%;
    padding: 60px 0;
    background: url('image/img_section_bg.png') repeat;
    background-color: #f6f3eb; /* 選ばれる理由セクションと共通のアイボリー */
}

.container-plan {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ==========================================================================
   上部：概要ブロック（イラスト＆L字テキスト）
   ========================================================================== */
.plan-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

/* 左側イラストエリア（吹き出し含め相対配置の親に） */
.plan-summary .summary-thumb-wrap {
    width: 20%;
    max-width: 250px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 768px) {
    .plan-summary .summary-thumb-wrap {
        width: 100%;
    }
}

/* 右側テキストボックス */
.plan-summary .summary-text-box {
    width: 60%;
    position: relative;
    padding: 25px;
}

.plan-summary .summary-text-content p {
    font-size: 15px;
    line-height: 2;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.plan-summary .summary-text-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   下部：3つのプラン（3カラムカード）
   ========================================================================== */
.plan-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 高さが異なっても上揃えにする */
    gap: 60px;
}

.plan-card {
    width: 25%;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* カード内画像（カンプ準拠で背景を白に） */
.plan-card .card-img.img-white {
    width: 100%;
    height: auto;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 auto -15px;
}

/* プラン内容の枠組み */
.card-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 金額の個別ブロック */
.price-item {
    border-bottom: 1px dashed #8f9092;
    padding-bottom: 12px;
}

.price-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.price-amount {
    font-size: 16px;
    font-weight: 700;
    color: #0071bc; /* プラン金額は鮮やかな青 */
}

/* 数字部分を大きく強調 */
.num-large {
    font-size: 36px;
    font-weight: 900;
}

/* --- カード1: 注意書きテキスト --- */
.plan-notes {
    padding-left: 0;
    margin-top: 5px;
}

.plan-notes li {
    font-size: 12px;
    line-height: 1.6;
    color: #555;
    list-style: none;
    text-indent: -1em;
    padding-left: 1em;
}

/* --- カード2: 計算例ボックス --- */
.plan-example-box {
    font-size: 12px;
    line-height: 1.6;
    color: #444;
}

.example-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

/* --- カード3: 支援内容ボックス --- */
.plan-details-box {
    font-size: 12px;
    line-height: 1.6;
    color: #333;
}

.details-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 768px) {
    .plan-summary {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    .summary-thumb-wrap, .plan-summary .summary-text-box {
        width: 100%;
    }
    .plan-grid {
        flex-direction: column;
    }
    .plan-card {
        width: 100%;
    }
    .plan-card .card-img.img-white {
        width: 75%;
        aspect-ratio: 1 / 1;
    }
}

/* ==========================================================================
   制作・運営の流れセクション
   ========================================================================== */
.flow-section {
    width: 100%;
    padding: 60px 0;
    /* 共通の斜めストライプ背景 */
    background: repeating-linear-gradient(
        135deg,
        #e6f4f8,
        #e6f4f8 8px,
        #f4fdff 8px,
        #f4fdff 16px
    );
}

.container-flow {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

/* フロー全体のリストラッパー */
.flow-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- メインの白ビジュアルカード --- */
.flow-card {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #0071bc;
    border-radius: 12px;
    padding: 40px 50px;
    position: relative; /* 左上の丸数字の基準点 */
    box-shadow: 0 8px 20px rgba(0, 113, 188, 0.05);
}

/* カード左上の丸数字 */
.flow-card .card-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    background-color: #0071bc;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* カード内部のレイアウト */
.card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.card-left {
    width: 60%;
}

.card-right.img-gray {
    width: 35%;
    height: auto;
}

/* テキスト装飾 */
.card-heading {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-text {
    font-size: 14px;
    line-height: 2;
    color: #333;
    text-align: justify;
    margin-bottom: 25px;
}

.card-text:last-child {
    margin-bottom: 0;
}

/* ステップ01専用のボタン */
.btn-flow-blue {
    display: inline-block;
    background-color: #0071bc;
    color: #fff;
    font-size: clamp(14px, 2.5vw, 16px);
    text-align: center;
    font-weight: 700;
    padding: 12px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-flow-blue:hover {
    transform: translateY(2px);
    background-color: #0062a3;
}

/* --- ステップ間を繋ぐ太い下矢印 (CSS clip-path構造) --- */
.flow-arrow {
    width: 44px;
    height: 35px;
    background-color: #0071bc;
    margin: 0 0 -10px;
    /* 綺麗な矢印の形にクリッピング */
    clip-path: polygon(30% 0%, 70% 0%, 70% 50%, 100% 50%, 50% 100%, 0% 50%, 30% 50%);
    z-index: 2;
}

/* ==========================================================================
   レスポンシブ（スマホ対応）
   ========================================================================== */
@media (max-width: 768px) {
    .flow-card {
        padding: 35px 20px 20px;
    }
    .flow-card .card-number {
        top: -15px;
        left: -8px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .card-content {
        flex-direction: column;
        gap: 25px;
    }
    .card-left, .card-right.img-gray {
        width: 100%;
        overflow: hidden;
    }
    .card-right.img-gray {
        height: 200px;
    }
    .btn-flow-blue {
        display: block;
        text-align: center;
    }
    .flow-title {
        font-size: 22px;
    }
}

/* ==========================================================================
   よくあるご質問（FAQ）セクション
   ========================================================================== */
.faq-section {
    width: 100%;
    padding: 60px 0;
    background: url('image/img_section_bg.png') repeat;
    background-color: #f6f3eb; /* プランセクション等と共通のアイボリー */
}

.container-faq {
    max-width: 940px; /* カンプの凝縮感に合わせた少しスリムな横幅 */
    margin: 0 auto;
    padding: 0 30px;
}

/* FAQリストラッパー */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px; /* カード同士の間隔 */
}

/* 各質問・回答を包む白い角丸カード */
.faq-item {
    width: 100%;
    background-color: #ffffff;
    border-radius: 20px; /* カンプ準拠の大きめの角丸 */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02); /* 軽めのシャドウ */
    transition: box-shadow 0.3s ease;
}

/* --- 質問エリア（ボタン構造） --- */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    position: relative;
}

/* Qアイコン（濃い青の丸） */
.faq-q-icon {
    width: 40px;
    height: 40px;
    background-color: #0071bc;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
}

/* 質問テキスト */
.faq-q-text {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    flex-grow: 1;
    line-height: 1.4;
    padding-right: 20px;
}

/* 右端の開閉トグルマーク（CSSで一本線と✕を表現） */
.faq-toggle-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: "";
    position: absolute;
    background-color: #0071bc; /* アイコンの青い線色 */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 通常（閉じている時）：横線一本 */
.faq-toggle-icon::before {
    width: 20px;
    height: 2.5px;
    top: 11px;
    left: 2px;
}
.faq-toggle-icon::after {
    width: 2.5px;
    height: 20px;
    top: 2px;
    left: 11px;
    opacity: 0; /* 縦線は透明にしてマイナスに見せる */
    transform: scaleY(0);
}

/* 開いている時（.is-open）のトグル形状：✕マークに変形 */
.faq-item.is-open .faq-toggle-icon::before {
    transform: rotate(45deg);
    top: 11px;
}
.faq-item.is-open .faq-toggle-icon::after {
    opacity: 1;
    transform: scaleY(1) rotate(45deg);
    top: 2px;
}

/* --- 回答エリア（開閉アニメーション用） --- */
.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out; /* JSと連動した滑らかな開閉 */
}

/* 開いている時のカード内スタイル境界線（青い点線） */
.faq-item.is-open .faq-question {
    border-bottom: 1px dotted #0071bc;
}

.faq-answer-inner {
    padding: 30px 40px 35px;
    display: flex;
    align-items: flex-start;
}

/* Aアイコン（水色の丸） */
.faq-a-icon {
    width: 40px;
    height: 40px;
    background-color: #00a0e9; /* Qより少し明るい水色 */
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
}

/* 回答テキスト */
.faq-a-text {
    font-size: 14.5px;
    line-height: 1.7;
    color: #333;
}
.faq-a-text p {
    margin-bottom: 8px;
}
.faq-a-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 768px) {
    .faq-question, .faq-answer-inner {
        padding: 20px;
    }
    .faq-q-icon, .faq-a-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin-right: 12px;
    }
    .faq-q-text {
        font-size: 14px;
    }
    .faq-a-text {
        font-size: 13.5px;
    }
}

/* ==========================================================================
   フッターセクション
   ========================================================================== */
.footer {
    width: 100%;
}

/* 上部：メインブルーエリア */
.footer-upper {
    background-color: #0071bc; /* ファーストビュー・ヘッダーと共通の青 */
    padding: 70px 0;
}

.container-footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* --- 左側：ロゴ＆会社概要 --- */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo {
    width: 280px;
    height: 60px;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-info {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.8;
}

.footer-info .company-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.footer-info .company-address,
.footer-info .company-tel {
    font-weight: normal;
    letter-spacing: 0.02em;
}

/* --- 右側：ナビ＆コンバージョンボタン --- */
.footer-right {
    display: flex;
    align-items: center;
    gap: 50px;
    padding-top: 10px; /* 左側のロゴの高さの重心に合わせる調整 */
}

.footer-nav-list {
    display: flex;
    gap: 30px;
}

.footer-nav-list a {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.footer-nav-list a:hover {
    opacity: 0.75;
}

/* お問い合わせボタン（カンプに合わせた完全なカプセル型丸角） */
.btn-footer-contact {
    display: inline-block;
    background-color: #fff200; /* ヘッダーと同じ鮮やかな黄色 */
    color: #333;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 45px;
    border-radius: 50px; /* 完全に丸い両端（カプセル形状） */
    text-align: center;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-footer-contact:hover {
    background-color: #e6da00;
    transform: translateY(1px);
}

/* --- 下部：コピーライトエリア（一段濃いネイビー） --- */
.footer-bottom {
    background-color: #005387; /* カンプ底部の濃い紺色 */
    padding: 25px 0;
    text-align: center;
}

.copyright {
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.03em;
    font-family: Arial, sans-serif;
}

/* ==========================================================================
   レスポンシブ（スマホ・タブレット対応）
   ========================================================================== */
@media (max-width: 900px) {
    .container-footer {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
        width: 100%;
        padding-top: 0;
    }
    
    .footer-nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .btn-footer-contact {
        display: block;
        width: 100%;
        max-width: 340px;
    }
}