@charset "UTF-8";

/*
SP ～519px
tab 520px～959px
PC 960px～
*/

/*===================
変数宣言
===================*/

:root {
    --succy-blue: #bbddef;
    --trust-navy: #275A9B;
    --pure-white: #ffffff;
    --calm-gray: #8f9aa5;
    --growth-coral: #ff8673;
    --text-color: #30303e;

    --primary-blue: #bbddef;
    --navy: #275A9B;
    --accent-orange: #ff8673;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #fafbfc;

    /* SUCCYカラーパレット */
    --text-light: #666666;
    --bg-light: #fafbfc;
    --shadow-light: rgba(39, 90, 155, 0.08);
    --shadow-medium: rgba(39, 90, 155, 0.15);
    --shadow-hover: rgba(39, 90, 155, 0.20);

    /* フォントサイズ変数 */
    --section-title-size: clamp(1.8rem, 4vw, 2.4rem);
    --review-title-size: clamp(1rem, 2.5vw, 1.1rem);
    --review-text-size: clamp(0.9rem, 2.2vw, 0.95rem);
    --review-meta-size: clamp(0.85rem, 2vw, 0.9rem);

    /* スペーシング変数 */
    --section-padding: clamp(3rem, 6vw, 5rem);
    --card-padding: clamp(1.5rem, 3vw, 2rem);
    --card-gap: clamp(1rem, 2vw, 1.5rem);


    /* SUCCYカラーパレット */
    /* --light-blue: #bbddef; */
    --primary-navy: #275A9B;
    --accent-orange: #ff8673;
    --text-navy: #1a2332;
    --text-highlight: #2c3e50;
    --white: #ffffff;
    --text-dark: #333333;
    --shadow-light: rgba(39, 90, 155, 0.15);
    --shadow-medium: rgba(39, 90, 155, 0.25);
    --shadow-heavy: rgba(39, 90, 155, 0.35);

    /* ボタン設定 */
    --btn-radius: 50px;
    --btn-padding: 18px 36px;
    --btn-font-size: 1.1rem;
    --btn-font-weight: 500;
    --btn-min-height: 56px;

    /* モバイル用設定 */
    --btn-mobile-padding: 16px 28px;
    --btn-mobile-font-size: 1rem;
    --btn-mobile-min-height: 52px;

    --sp-text-ss: 1.2rem;
    --sp-text-s: 1.4rem;
    --sp-text: 1.6rem;
    --sp-title-s: 2rem;
    --sp-title: 2.2rem;

    --size-ss: 1.3rem;
    --size-sm: 1.4rem;
    --size-m: 1.6rem;
    --size-md-sp: 1.8rem;
    --size-md: 2rem;
    --size-lg: 2.6rem;
    --size-lg-sp: 3rem;
    --size-xl: 3.5rem;
    --size-xxl: 4.3rem;
    --font-sans: "Noto Sans JP",
        sans-serif;
    --font-serif: "Noto Serif JP",
        serif;
    --line-height: 1.75;
    --gutter-base: 8px;
    --section-gutter: calc(var(--gutter-base)*10);
    --section-gutter-pc: calc(var(--gutter-base)*20);
    --contents-gutter: calc(var(--gutter-base)*5);
    --contents-gutter-pc: calc(var(--gutter-base)*10);
    --side-gutter: calc(var(--gutter-base)*3);
    --footer-gutter: calc(var(--gutter-base)*30);
    --footer-gutter-pc: calc(var(--gutter-base)*40);

    /* フォントサイズ変数 */
    --title-size: clamp(2rem, 4vw, 2.8rem);
    --subtitle-size: clamp(1.3rem, 3vw, 1.7rem);
    --text-size: clamp(1rem, 2.5vw, 1.15rem);
    --number-size: clamp(3.5rem, 6vw, 4.5rem);
    --quote-size: clamp(1.05rem, 2.8vw, 1.2rem);

    /* スペーシング変数 */
    --section-padding: clamp(2.5rem, 5vw, 4.5rem);
    --content-gap: clamp(2rem, 4vw, 3.5rem);
    --section-gap: clamp(3rem, 6vw, 5rem);
}

/*===================
共通設定
===================*/
html {
    font-size: 62.5%;
}

body {
    font-size: var(--size-md-sp);
    color: var(--text-color);
    font-family: var(--font-serif);
    line-height: var(--line-height);
    background-color: #fff;
    width: 100%;
    overflow-x: hidden;

}

@media screen and (min-width:768px) {
    body {
        font-size: var(--size-md);
    }
}

/*==========min-width:768px==========*/

a {
    text-decoration: none;
    color: #fff;
}

.break {
    display: inline-block;
}

.sp-only {
    display: none;
    --line-height: 1.75;
}

@media screen and (max-width: 767px) {
    .sp-only {
        display: block;
    }
}


.section-gutter {
    padding: var(--contents-gutter) 0;
}

/* .section-gutter {
    padding: var(--section-gutter) var(--side-gutter);
} */

.bg_01 {
    background-color: #E7F5FD;
}

.bg_02 {
    background-color: #f2f7fa;
}



/*===================
汎用クラス
===================*/
.center {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* =====================
   Base Styles
   ===================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP';
    /* color: var(--trust-navy); */
    background: var(--pure-white);
}

/* =====================
   Navbar
   ===================== */
.navbar {
    position: sticky;
    font-family: var(--font-serif);
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    background: var(--succy-blue);

}

/* メインCTAボタン */
.header-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    min-height: var(--btn-min-height);
    background: linear-gradient(135deg, var(--primary-navy) 0%, #4a7bb7 100%);
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: var(--btn-radius);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

/* ホバーエフェクト */
.header-cta-button:hover {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff9b8a 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-heavy);
}

/* ボタン内のアイコン */
.header-cta-button .icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.header-cta-button:hover .icon {
    transform: translateX(3px);
}

/* 光るエフェクト */
.header-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.header-cta-button:hover::before {
    left: 100%;
}

/* アクティブ状態 */
.header-cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}


.navbar__logo {
    width: 130px;
}

/* ===== CTA Button ===== */

/* メインCTAボタン */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--btn-padding);
    min-height: var(--btn-min-height);
    background: linear-gradient(135deg, var(--primary-navy) 0%, #4a7bb7 100%);
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: var(--btn-radius);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

/* ホバーエフェクト */
.cta-button:hover {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff9b8a 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-heavy);
}

/* ボタン内のアイコン */
.cta-button .icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.cta-button:hover .icon {
    transform: translateX(3px);
}

/* 光るエフェクト */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* アクティブ状態 */
.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}






/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cta-button {
        padding: var(--btn-mobile-padding);
        min-height: var(--btn-mobile-min-height);
        font-size: var(--btn-mobile-font-size);
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 16px 24px;
        font-size: 0.95rem;
        letter-spacing: 0.03em;
    }
}


/* ===== Burger Icon ===== */
.burger {
    width: 28px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.burger span {
    height: 2px;
    width: 100%;
    background: var(--trust-navy);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ===== Mobile Menu ===== */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    padding: 80px 24px;
    background: var(--pure-white);
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); */
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;


}

.nav-menu.open {
    right: 0;
}

.nav-menu a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    font-family: var(--font-serif);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--succy-blue);
    transition: width 0.25s ease;
}

@media screen and (min-width:992px) {
    .nav-menu a:hover::after {
        width: 100%;
    }
}

/*==========min-width:992px==========*/

.nav-menu .mobile-cta {
    margin-top: 1.6rem;
    color: #fff;
    justify-content: center;
}

/* ===== Desktop ===== */
@media (min-width: 992px) {
    .burger {
        display: none;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        height: auto;
        width: auto;
        padding: 0;
        gap: 3.2rem;
        box-shadow: none;
        background: transparent;
        transition: none;
        align-items: center;
    }

    .nav-menu a {
        color: var(--pure-white);
        /* font-size: 0.95rem; */
    }

    .nav-menu a::after {
        background: var(--pure-white);
    }

    nav .btn-cta {
        padding: 1rem 2.56rem;
    }

    .nav-menu .mobile-cta {
        margin-top: 0;

    }

    .nav-menu a.btn-cta:hover::after {
        width: 0;
    }

}

/*===================
ボタン
===================*/

.btn-succy-outline {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--pure-white);
    background-color: #275A9B;
    /* ボタン本体をネイビーにして文字を白 */
    transition: all 0.3s ease;
    position: relative;
    z-index: 0;
    overflow: hidden;

}


.btn-succy-outline::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 2px solid var(--pure-white);
    /* border-radius: 2px; */
    z-index: -1;
}

.btn-succy-outline:hover {
    background-color: var(--growth-coral);
    color: var(--pure-white);
    border-color: var(--growth-coral);
}

.btn-wrapper {
    text-align: center;
    margin-top: 3.2rem;
    /* 任意で上下に余白 */
}


/*===================
旧ボタン
===================*/

.double-border-button {
    display: inline-block;
    padding: 16px 40px;
    color: #FFFFFF;
    /* 文字色を白 */
    font-size: 18px;
    text-decoration: none;
    text-align: center;
    position: relative;
    background: #8AAFBF;
    /* 青グレー */
    border-radius: 1px;
    transition: all 0.3s ease-in-out;
}

.double-border-button::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 2px solid white;
    border-radius: 1px;
}

.double-border-button:hover {
    background: #7B9DAE;
    /* 少し濃い青グレー */
}

/*===================
スマホ下部ボタン
===================*/
.succy-fixed-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background-color: var(--trust-navy);
    border-top: 1px solid var(--succy-blue);
    z-index: 9999;
}

.succy-nav-btn {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-family: var(--font-sans);
    font-size: 1.92rem;
    color: var(--pure-white);
    text-decoration: none;
    border-right: 1px solid var(--succy-blue);
    transition: background-color 0.3s ease;
}

.succy-nav-btn:last-child {
    border-right: none;
}

/* .succy-nav-btn:hover {
    background-color: var(--succy-blue);
    color: var(--trust-navy);
} */

.succy-nav-btn i {
    display: block;
    font-size: 2.88rem;
    margin-bottom: 4px;
}

@media screen and (min-width: 768px) {
    .succy-fixed-nav {
        display: none;
    }
}


/* メインの見出しスタイル */
.section-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: var(--size-xl);
    font-weight: 500;
    color: var(--navy);
    text-align: center;
    position: relative;
    margin: 80px 0 60px;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

/* 手描き風のアンダーライン */
.section-heading::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 20%, var(--navy) 50%, var(--primary-blue) 80%, transparent 100%);
    border-radius: 50px;
    opacity: 0.8;
}

/* 手描き感のあるドット装飾 */
.section-heading::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
    opacity: 0.7;
    box-shadow:
        -25px 5px 0 -2px var(--primary-blue),
        25px 5px 0 -2px var(--primary-blue),
        -15px -8px 0 -3px var(--navy),
        15px -8px 0 -3px var(--navy);
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .section-heading {
        font-size: 1.8rem;
        margin: 60px 0 40px;
    }

    .section-heading::after {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .section-heading {
        font-size: 1.6rem;
        letter-spacing: 0.05em;
    }

    .section-heading::before {
        box-shadow:
            -15px 3px 0 -2px var(--primary-blue),
            15px 3px 0 -2px var(--primary-blue),
            -8px -8px 0 -3px var(--navy),
            8px -8px 0 -3px var(--navy);
    }
}

.button-center {

    text-align: center;
    margin-top: 2rem;
}

/*===================
フッター
===================*/
.footer {
    background-color: #275A9B;
    color: #ffffff;
    padding: 3.2rem 1.6rem 10.2rem;
    text-align: center;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.24rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links li a {
    color: #ffffff;
    font-size: var(--size-md);
    text-decoration: none;
    font-family: var(--font-serif);
    font-weight: bold;
}

@media screen and (min-width:992px) {
    .footer-links li a:hover {
        text-decoration: underline;
    }
}

/*==========min-width:992px==========*/
.footer-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.footer-icons img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
    /* 白く表示 */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-icons a:hover img {
    opacity: 1;
}

.footer-copy {
    font-size: 1.2rem;
    color: #bbddef;
}