@charset "UTF-8";

/* =================================================================
                        共通設定
===================================================================*/

:root {
  /* ========================= フォント ========================= */
    --font-family-base: "Outfit", "Noto Sans JP", sans-serif;

  /* ========================= フォントサイズ：日本語タイトル ========================= */
    --font-size-title-catch: clamp(2.2rem, 3.125vw, 4.5rem);
    --font-size-title-xxxl: 5.0rem;
    --font-size-title-xxl: 4.2rem;
    --font-size-title-xl: 3.0rem;
    --font-size-title-lg: 2.4rem;
    --font-size-title-md: 2.4rem;
    --font-size-title-sm: 2.1rem;
    --font-size-title-s: 2.0rem;

  /* ========================= フォントサイズ：英語タイトル ========================= */
    --font-size-title-hero-en: clamp(18rem, 15.9722222vw, 23rem);
    --font-size-title-xl-en: 11rem;

  /* ========================= フォントサイズ：本文テキスト ========================= */
    --font-size-text-lg: 1.8rem;
    --font-size-text-md: 1.6rem;
    --font-size-text-sm: 1.4rem;

  /* ========================= フォントサイズ：ボタン ========================= */
    --font-size-button: 1.6rem;
    --font-size-button-lg: 2.1rem;

  /* ========================= カラー：背景色 ========================= */
    --color-bg-primary: #3357B8;       /* メインのブルー背景 */
    --color-bg-accent: #AED9FF;        /* 補助のスカイブルー背景 */
    --color-bg-sub-accent: #DFF0FF;        /* 補助のスカイブルー背景 */
    --color-bg-surface: #F5FBFD;       /* ごく薄い背景（白っぽい） */
    --color-bg-gray-light: #F7F7F7;    /* 明るいグレー背景 */
    --color-bg-gray: #E2E2E2;          /* 標準グレー背景 */
    --color-bg-white: #FFFFFF;          /* 白背景 */

  /* ========================= カラー：テキスト色 ========================= */
    --color-text-base: #333333;        /* 標準テキスト（黒寄り） */
    --color-text-sub: #525252;         /* サブテキスト（薄い黒） */
    --color-text-accent: #3357B8;      /* アクセントテキスト（青） */
    --color-text-highlight: #0290D6;   /* 軽めの補助テキスト（スカイブルー） */
    --color-text-white: #ffffff;       /* 白テキスト */
}


/* ========================= タブレット・レスポンシブ対応（1024px以下） ========================= */
@media (max-width: 1024px) {
    :root {
        /* ========================= フォントサイズ（英語タイトル） ========================= */
        --font-size-title-hero-en: clamp(6rem, 15.9722222vw, 18rem);
        --font-size-title-en: clamp(9rem, 6vw, 11rem);

        /* ========================= フォントサイズ（日本語タイトル） ========================= */
        --font-size-title-hero: clamp(7rem, 1.2vw, 8rem);
        --font-size-title-xxxl: clamp(3.8rem, 1.2vw, 4.2rem);
        --font-size-title-xxl: clamp(3.4rem, 1.2vw, 3.8rem);
        --font-size-title-xl: clamp(2.8rem, 1.2vw, 3.2rem);
        --font-size-title-lg: clamp(2.4rem, 1.2vw, 2.6rem);
        --font-size-title-md: clamp(2.0rem, 1.2vw, 2.4rem);
        --font-size-title-sm: clamp(1.8rem, 1.2vw, 2.1rem);
        --font-size-title-s: clamp(1.6rem, 1.2vw, 2.0rem);

        /* ========================= フォントサイズ（本文テキスト） ========================= */
        --font-size-text-sm: clamp(1.2rem, 1.2vw, 1.4rem);
        --font-size-text-md: clamp(1.4rem, 1.2vw, 1.6rem);
        --font-size-text-lg: clamp(1.4rem, 1.2vw, 1.8rem);
    }
}

/* ========================= SP・レスポンシブ対応（768px以下） ========================= */
@media (max-width: 768px) {
    :root {
        /* ========================= フォントサイズ（英語タイトル） ========================= */
        --font-size-title-en: 6rem;

        /* ========================= フォントサイズ（日本語タイトル） ========================= */
        --font-size-title-hero: 3.6rem;
        --font-size-title-xxxl: 2.4rem;
        --font-size-title-xxl: 2rem;
        --font-size-title-xl: 2rem;
        --font-size-title-lg: 1.6rem;
        --font-size-title-md: 1.6rem;
        --font-size-title-sm: 1.6rem;

        /* ========================= フォントサイズ（本文テキスト） ========================= */
        --font-size-text-lg: 1.4rem;
        --font-size-text-md: 1.4rem;
        --font-size-text-sm: 1.2rem;
    }
}


/* =================================================================
                        ベース・共通・リセット系
===================================================================*/

/* 全体の基準フォントサイズを設定（1rem = 10px） */
html {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* 基本のフォント設定・色・行間など */
body {    
    margin: 0;
    padding: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-text-md);
    letter-spacing: 0.02em;
    color: var(--color-text-base);
    line-height: 1.75;
    background-color: #fff;
    box-sizing: border-box;
}

p {
    padding-bottom: 1.25em;
    font-size: var(--font-size-text-md);
    font-weight: 500;
    color: var(--color-text-sub);
    line-height: 1.75;
}

a {
    text-decoration: none;
    color: var(--color-text-base);
    font-size: var(--font-size-body-md);
}

/* 全要素の box-sizing を border-box に */
*, *::before, *::after {
    box-sizing: border-box;
}

/* リストのデフォルトスタイルを消す */
ul, ol {
    list-style: none;
}

/* ===============================================================
    LAYOUT - レイアウト定義
=============================================================== */
.header,
.footer {
    width: 100%;
    font-weight: bold;
}

.header__inner,
.footer__inner {
    margin: 0 auto;
    padding: 0 40px; /* 左右余白 */
}

.main {
    width: 100%;
    margin: 0 auto;
}

.section {
    padding: 60px 0 ; /* セクション余白 */
}

.br-pc {
    display: block;
}

.br-sp {
    display: none;
}

@media (max-width: 1200px) {
    .header__inner {
        padding: 0 24px;
    }

}

/* ========================= タブレット・レスポンシブ対応（1024px以下） ========================= */
@media (max-width: 1024px) { 
    .header__inner,
    .footer__inner {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .br-pc {
        display: none;
    }

    .br-sp {
    display: block;
    }
}

/* ===============================================================
    Header
=============================================================== */
.header {
    position: fixed;
    z-index: 9999;
    background-color: var(--color-bg-white);
}

.header__inner {
    height: 120px;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between; /* ロゴとnavを左右に配置 */
}

.header__logo {
    width: 225px;
}

.header__logo img {
    width: 100%;
    min-width: 130px;
}

/* ナビゲーション - 全体ラッパー */
.header__nav {
    display: flex;
    align-items: center;
}

/* ハンバーガーボタン（SP表示） */
.header__hamburger {
    display: none;
}

/* ナビリスト */
.nav-list {
    display: flex;
    column-gap: 24px;
    width: 100%;
    list-style: none;
    align-items: center;
    font-size: var(--font-size-body-md);
    color: var(--color-text-white);
}


/* 最初のメニューを左寄せ */
.nav-list__item:first-child {
    margin-left: auto;
}

.nav-list__item.sp {
    display: none;
}

/* 最後のメニューを右寄せ */
.nav-list__item.nav-list__item--news {
    margin-right: auto;
}

.nav-list__item a {
    transition: opacity .6s ease;
}

.nav-list__item a:hover {
    opacity: .5;
}

/* お問い合わせメニュー */
.header__menu--contact {
    padding: 1.5em 2em;
    background-color: var(--color-bg-primary);
    color: var(--color-text-white);
    border-radius: 16px;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.header__menu--contact:hover {
    opacity: 0.6;
}

.header__menu--contact a {
    color: var(--color-text-white);
}

.header__menu--contact a:hover {
    opacity: 0.6;
}

/* ========================= タブレット・レスポンシブ対応（1024px以下） ========================= */
@media (max-width: 1024px) {

    .header__logo {
        width: 18.05555555vw;
    }

    .header__logo img {
        width: 100%;
        min-width: 120px;
    }

    .nav-list {
        font-size: 1.2rem;
        color: var(--text-color-white);
    }

    .nav-list__item--contact a {
        height: 36px;
        padding: 0 11px;
        line-height: 36px;
        font-size: 1.2rem;
    }
}

/* ========================= SP・レスポンシブ対応（768px以下） ========================= */
@media (max-width: 768px) {
    /* 背景・文字色を強制的に白黒へ */
    .header {
        background-color: var(--color-bg-white);
        color: var(--color-text-base);
    }

    .header__inner {
        height: 60px;
    }

    .nav-list {
        color: var(--color-text-base);
    }

    .nav-list__item.sp {
        display: block;
    }

    .header__hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 36px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10001;
    }

    .header__hamburger span {
        width: 100%;
        height: 2px;
        background-color: var(--color-text-base);
        transition: all 0.3s ease;
        display: block;
        transform-origin: center;
    }

    /* ハンバーガー展開時の変化（×になる） */
    .header.nav-open .header__hamburger span:nth-child(1) {
        transform: rotate(45deg);
        position: relative;
        top: 8px; /* 中央に寄せる */
    }

    .header.nav-open .header__hamburger span:nth-child(2) {
        opacity: 0;
    }

    .header.nav-open .header__hamburger span:nth-child(3) {
        transform: rotate(-45deg);
        position: relative;
        top: -8px; /* 中央に寄せる */
    }

    /* モバイルメニューのスライド表示 */
    .header__nav {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.97);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        flex-direction: column;
        padding: 40px 20px;
        box-sizing: border-box;
        z-index: 10000;
    }

    .header.nav-open .header__nav {
        transform: translateX(0);
    }

    .nav-list {
        display: block;
        height: auto;
        text-align: center;
        color: var(--color-text-base);
    }

    .nav-list__item {
        margin: 0 0 20px 0;
    }
    .nav-list__item:first-child {
        margin: 0 0 20px 0;
    }
    .nav-list__item:not(.nav-list__item--contact) {
        margin: 0 0 20px 0;
    }

    .nav-list__item--contact a {
        background-color: var(--text-color-blue);
        color: #fff;
        padding: 10px 24px;
        border-radius: 20px;
        display: inline-block;
        line-height: 1.5;
    }
}

/* ===============================================================
    フッター
=============================================================== */
.footer {
    width: 100%;
    padding: 1.75em;
    background-color: #F6F6F6;
    text-align: center;
}

.footer small {
    font-size: var(--font-size-body-md);
    font-weight: 500;
    color: var(--color-text-sub);

}

/* ========================= SP・レスポンシブ対応（768px以下） ========================= */
@media (max-width: 768px) {
    .footer {
        padding: 1em;
        font-size: 1.2rem;
    }

}

/* ===============================================================
    装飾 共通
=============================================================== */
.btn-link {
    display: inline-block;
    padding: 1.4em 2.5em;
    background-color: var(--color-bg-primary);
    color: var(--color-text-white);
    font-size: var(--font-size-text-lg);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    line-height: 1.4;
}

.btn-link.btn--white {
    background-color: var(--color-bg-white);
    color: var(--color-text-accent);
}

.btn-link:hover {
    opacity: 0.7;
}

.text-link {
    text-decoration: underline;
    color: var(--color-text-accent);
    transition: opacity 0.3s ease;
}

.text-link:hover {
    opacity: 0.7;
}


.topSection__logo {
}

span.under-line--blue {
    display: inline;
    padding: 0 4px 2px 4px;
    background: linear-gradient(transparent 50%, var(--color-bg-accent) 0%);
}

span.under-line--gray {
    display: inline;
    padding: 0 4px 2px 4px;
    background: linear-gradient(transparent 50%, #C0C0C0 0%);
}

.topSection__title.speech-bubble {
    display: inline-block;
    position: relative;
    margin: 0 auto 40px;
    padding: 0.4em 2em;
    border-radius: 16px;
    background-color: var(--color-bg-primary);
    text-align: center;
    color: var(--color-text-white);
    letter-spacing: 0.06em;
}

.topSection__title.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 20px 10px 0 10px;
    border-color: var(--color-bg-primary) transparent transparent;
    translate: -50% 100%;
}

.topSection__title.speech-bubble.margin-40px {
    margin-top: -40px;
}

/* 下層ページ */
.section__title.speech-bubble {
    display: inline-block;
    position: relative;
    margin: 0 auto 40px;
    padding: 0.4em 2em;
    border-radius: 16px;
    background-color: var(--color-bg-primary);
    font-size: var(--font-size-title-xxl);
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.06em;
    color: var(--color-text-white);
    letter-spacing: 0.06em;
}

.section__title.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 20px 10px 0 10px;
    border-color: var(--color-bg-primary) transparent transparent;
    translate: -50% 100%;
}

.section__subtitle {
    display: block;
    font-size: var(--font-size-title-lg);
    line-height: 1.2;
}

.section__title.speech-bubble.margin-50px {
    margin-top: -60px;
}


/* リスト */
.list {
    list-style: none;
    font-weight: 500;
    color: var(--color-text-sub);
}

.list--dot-blue li {
    position: relative;
    padding-left: 1em;
    margin-bottom: 0.5em;
}

.list--dot-blue li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 4px;
    height: 4px;
    background-color: var(--color-text-accent); /* 例: #007BFFなど */
    border-radius: 50%;
}


/* ========================= SP・レスポンシブ対応（768px以下） ========================= */
@media (max-width: 768px) {
    .topSection__title.speech-bubble {
        margin: 0 auto 20px;
        padding: 0.6em 2em;
    }
    

    .topSection__title.speech-bubble::after {
        border-width: 10px 6px 0 6px;
    }


    .section__title.speech-bubble.margin-50px {
        margin-top: -30px;
    }

    .section__title.speech-bubble {
        padding: 0.4em 1em;
    }



}

/* ===============================================================
    下層ページ 共通パーツ
=============================================================== */
/* KV */
.pageKv {
    margin-bottom: 40px;
    width: 100%;
    height: 340px;
}

.pageKv__inner {    
    width: calc(100% - 48px);
    max-width: 1220px;
    margin: 0 auto;
    padding: 198px 0 58px;
    border-bottom: 1px  solid var(--color-text-sub);
    box-sizing: border-box;
}

.pageKv__title {
    padding-left: 8.1%;
    font-size: var(--font-size-title-xxxl);
    line-height: 1;
    color: var(--color-bg-primary);
}

.pageKv__title > span.pageKv__en-title {
    display: block;
    margin-bottom: 0.5em;
    font-size: var(--font-size-text-lg);
    line-height: 1;
    color: var(--color-text-sub);
}

/* 下層ページのh2タイトル */
.pageSection__title {
    margin-bottom: 30px;
    font-size: var(--font-size-title-xl);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    color: var(--color-text-accent);
}

.pageSection__title > span.pageSection__title--sm {
    font-size: var(--font-size-title-s);
    font-weight: 700;
}




/* ========================= SP・レスポンシブ対応（768px以下） ========================= */
@media (max-width: 768px) {
    .pageKv {
        margin-bottom: 30px;
        height: initial;
    }

    .pageKv__inner {
        width: calc(100% - 48px);
        margin: 0 auto;
        padding: 80px 0 36px;
        border-bottom: 1px  solid var(--color-text-sub);
        box-sizing: border-box;
    }

    .pageKv__title {
        padding-left: 0;
    }

    /* 下層ページのh2タイトル */
    .pageSection__title {
        margin-bottom: 20px;
    }
    

}