@charset "UTF-8";

/* ==========================================================================
   0. Base & Variables
   ========================================================================== */
:root {
    --primary-color: #d97736;
    --primary-light: #fdf5f0;
    --primary-dark: #8c3b1a;
    --accent-gold: #e6a13d;
    --text-main: #332d29;
    --text-muted: #736b65;
    --bg-white: #ffffff;
    --border-color: #f0e6e0;
    /* --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif; */
    --font-base: 'BIZ UDPGothic', sans-serif;
    /* --font-serif: 'Shippori Mincho', '游明朝', 'Yu Mincho', serif; */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: clip;
}

body {
    font-family: var(--font-base);
    color: var(--text-main);

    background-attachment: fixed;
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

/* 入力部品もページ本文と同じ書体を使用する。 */
button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover {
    opacity: 0.82;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

p,
h1 {
    margin: 0;
}


/* ==========================================================================
   画面全体にずっとついてくる固定背景サークル
   ========================================================================== */
.fixed-bg-circles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.fixed-bg-circles .bg-circle {
    position: absolute;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    will-change: transform;
}

/* 1. 左側：ピンクの円（淡い塗り ＋ 繊細なリング線） */
.fixed-bg-circles .circle-pink {
    width: clamp(340px, 36vw, 560px);
    left: -10vw;
    top: 45%;
    transform: translateY(-50%);
    background-color: rgba(255, 222, 222, 0.40);
    border: 1.5px solid rgba(245, 163, 163, 0.65);
}

/* 2. 右上：オレンジの円（淡い塗り ＋ 繊細なリング線） */
.fixed-bg-circles .circle-orange {
    width: clamp(360px, 38vw, 620px);
    right: -8vw;
    top: 8%;
    background-color: rgba(255, 235, 205, 0.45);
    border: 1.5px solid rgba(247, 185, 107, 0.65);
}

/* 3. 右下〜下部：グリーンの円（繊細なリング線 ＋ ごく淡い透過） */
.fixed-bg-circles .circle-green {
    width: clamp(320px, 34vw, 540px);
    right: 12vw;
    bottom: -15vh;
    border: 1.5px solid rgba(162, 217, 161, 0.70);
    background-color: rgba(215, 245, 215, 0.20);
}

@media (max-width: 991px) {
    .fixed-bg-circles .circle-pink {
        width: 320px;
        left: -120px;
        top: 35%;
    }

    .fixed-bg-circles .circle-orange {
        width: 340px;
        right: -100px;
        top: 5%;
    }

    .fixed-bg-circles .circle-green {
        width: 280px;
        right: -40px;
        bottom: -60px;
    }
}

/* ==========================================================================
   オープニング ＆ ヒーロー・白の山 順次出現アニメーション
   ========================================================================== */
/* オープニング幕 */
.opening-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #fff7f3 0%, #fffbf8 50%, #fef6ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.opening-overlay.is-loaded {
    opacity: 0;
    visibility: hidden;
}

.opening-logo img {
    width: 130px;
    animation: openingLogoPop 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes openingLogoPop {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 3つの円：キーフレーム */
@keyframes circleInCenter {
    0% {
        opacity: 0;
        transform: translate(-50%, -20px) scale(0.65);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0%) scale(1);
    }
}

@keyframes circleInLeft {
    0% {
        opacity: 0;
        transform: translate(-20px, 60%) scale(0.65);
    }

    100% {
        opacity: 1;
        transform: translate(0%, 50%) scale(1);
    }
}

@keyframes circleInRight {
    0% {
        opacity: 0;
        transform: translate(20px, 60%) scale(0.65);
    }

    100% {
        opacity: 1;
        transform: translate(0%, 50%) scale(1);
    }
}

/* 白の山＆メニュー：下からぽわんと弾むキーフレーム */
@keyframes mountainPopUp {
    0% {
        opacity: 0;
        transform: translateY(140px);
    }

    70% {
        opacity: 1;
        transform: translateY(-10px);
    }

    /* ぽわんと少しオーバーシュート */
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ★ 順次アニメーション発火定義 */
.hero-anim-start .pos-lg.js-circle-anim {
    animation: circleInCenter 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.15s;
}

.hero-anim-start .pos-md.js-circle-anim {
    animation: circleInLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

.hero-anim-start .pos-sm.js-circle-anim {
    animation: circleInRight 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.65s;
}

.hero-anim-start .about-mountain-content.js-mountain-anim {
    animation: mountainPopUp 1.05s cubic-bezier(0.34, 1.45, 0.64, 1) forwards 0.95s;
}

/* アニメーション前の初期待機状態 */
.circle-item.js-circle-anim {
    opacity: 0;
    will-change: transform, opacity;
}

.about-mountain-content.js-mountain-anim {
    opacity: 0;
    transform: translateY(140px);
    will-change: transform, opacity;
}

/* ==========================================================================
   1. Header
   ========================================================================== */
#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

#mainHeader.is-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ★ 左上のロゴ扇形ボックス：初期は画面上部に格納、is-activeでスッと出現 */
#mainHeader .headerLogoContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    height: 250px;
    border-radius: 0 0 100% 0;
    background-color: white;
    box-shadow: -4px 4px 20px rgba(230, 122, 83, 0.8);
    z-index: 1050;
    cursor: pointer;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, box-shadow 0.3s ease;
}

#mainHeader.is-active .headerLogoContainer {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ★ ヘッダーバー：初期は透明、is-activeで白い帯とシャドウが出現 */
#mainHeader .header-container {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    height: 100%;
    padding-right: 240px;
    position: relative;
    background-color: transparent;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
    pointer-events: none;
}

#mainHeader.is-active .header-container {
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    pointer-events: auto;
}

.logo-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-sub {
    font-size: 1rem;
    color: #4a3b32;
    /* color: var(--primary-color); */
    font-weight: 700;
    letter-spacing: 0.1em;
}

.logo-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a3b32;
    letter-spacing: 0.08em;
    line-height: 1.1;
}

/* ★ ナビゲーション：初期は非表示、is-activeでフワッと表示 */
#headerNav {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mainHeader.is-active #headerNav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#headerNav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#headerNav ul li a {
    font-size: 18px;
    font-weight: 500;
    color: #4a3b32;
    white-space: nowrap;
}

#headerNav ul li a:hover {
    color: #e67a53;
}

/* ★ 右上採用ボタン：最初から常時固定表示・いつでもクリック可能 */
#mainHeader .recruit-corner-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;
    border-radius: 0 0 0 100%;
    background: linear-gradient(135deg, #ffa87d 0%, #F16E36 45%, #E55420 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: -4px 4px 20px rgba(230, 122, 83, 0.25);
    z-index: 1050;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#mainHeader .recruit-corner-btn .corner-pc-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 25px;
    padding-bottom: 15px;
    color: #ffffff;
    width: 100%;
    height: 100%;
}

#mainHeader .recruit-corner-btn .btn-main-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.2;
}

#mainHeader .recruit-corner-btn .btn-sub-text {
    font-size: 11px;
    letter-spacing: 0.05em;
    margin-top: 6px;
    opacity: 0.95;
}

.corner-hamburger-icon {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 26px;
    height: 20px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 20px;
    margin-bottom: 12px;
}

.corner-hamburger-icon .bar {
    width: 100%;
    height: 2px;
    background-color: #3b302a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.is-menu-open .corner-hamburger-icon .bar-top {
    transform: translateY(9px) rotate(45deg);
}

.is-menu-open .corner-hamburger-icon .bar-mid {
    opacity: 0;
}

.is-menu-open .corner-hamburger-icon .bar-bot {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(60, 55, 52, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 16px 14px;
}

.mobile-drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-card {
    width: min(300px, 86vw);
    background-color: #dcd9d6;
    border-radius: 26px;
    padding: 70px 24px 34px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    transform: translateY(-15px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.is-active .mobile-menu-card {
    transform: translateY(0) scale(1);
}

.menu-top-corner-arc {
    position: absolute;
    top: 0;
    right: 0;
    width: 105px;
    height: 105px;
    border-radius: 0 0 0 100%;
    background: linear-gradient(135deg, #ffc499 0%, #e67a53 100%);
    pointer-events: none;
    opacity: 0.95;
}

.mobile-menu-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #4a3b32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    box-shadow: 0 4px 12px rgba(230, 122, 83, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.mobile-menu-close-btn:hover {
    background-color: #ffffff;
    color: #d97736;
    transform: rotate(90deg) scale(1.08);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: #4a4039;
    letter-spacing: 0.08em;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-link:hover {
    color: #d97736;
    transform: translateY(-2px);
}

.mobile-menu-contact-wrap {
    margin-top: 36px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.mobile-menu-contact-btn {
    width: 100%;
    background-color: #f2ba57;
    color: #4a3828 !important;
    text-align: center;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 14px rgba(242, 186, 87, 0.35);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-contact-btn:hover {
    background-color: #e5a73e;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    #mainHeader {
        height: 70px;
        padding: 0;
    }

    #mainHeader .header-container {
        padding-right: 0;
    }

    #mainHeader .headerLogoContainer {
        width: 220px;
        height: 150px;
    }

    #mainHeader .recruit-corner-btn {
        width: 105px;
        height: 105px;
        z-index: 1060;
        pointer-events: auto;
    }
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: radial-gradient(circle at 5% 40%, rgba(255, 167, 38, 0.5) 0%, transparent 50%),
        /* 左：オレンジ */
        radial-gradient(circle at 35% 5%, rgba(255, 112, 67, 0.5) 0%, transparent 50%),
        /* 上部：赤/ピンク系 */
        radial-gradient(circle at 85% 10%, rgba(255, 238, 88, 0.5) 0%, transparent 45%),
        /* 右上：黄色（黄色は元々薄いため少し高めに設定） */
        radial-gradient(circle at 95% 65%, rgba(102, 187, 106, 0.5) 0%, transparent 50%);


    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero-section .hero-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

.circle-stage-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.circles-cluster {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle-item {
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    transform-origin: center center;
    will-change: width, height, top, left, z-index;
}

.circle-layer {
    position: absolute;
    border-radius: 50%;
    will-change: transform, opacity;
}

.circle-bg-white {
    width: 108%;
    height: 108%;
    /* background-color: #ffffff; */
    top: -4%;
    right: -4%;
    z-index: 1;
    aspect-ratio: 1 / 1;
    /* box-shadow: 0 16px 45px rgba(180, 130, 100, 0.12); */
}

.circle-bg-color {
    width: 104%;
    height: 104%;
    top: -2%;
    right: -2%;
    z-index: 2;
    aspect-ratio: 1 / 1;
}

.circle-base-img {
    width: 96%;
    height: 96%;
    top: 2%;
    left: 2%;
    z-index: 3;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    clip-path: inset(0 0 20% 0);
}

.circle-overlay-white {
    width: 92%;
    height: 92%;
    /* background-color: rgba(255, 255, 255, 0.18); */
    top: -2%;
    left: -2%;
    z-index: 2;
    pointer-events: none;
    aspect-ratio: 1 / 1;
}

.circle-border {
    width: 95%;
    height: 95%;
    top: -6%;
    left: -6%;
    border-width: 1px;
    border-style: solid;
    z-index: 2;
    pointer-events: none;
    aspect-ratio: 1 / 1;
}

/* ★ ご指定いただいたコードを適用：すりガラスを解除し透過率を向上 */
.circle-center-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 34%;
    /* height: 34%; */
    min-width: 100px;
    /* min-height: 100px; */
    max-width: 240px;
    /* max-height: 240px;
    border-radius: 50%; */
    /* background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(140, 100, 80, 0.10); */
    z-index: 10;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    padding: 8px;
    text-align: center;
    pointer-events: auto;
    box-sizing: border-box;

}

.badge-title {
    /* font-family: var(--font-serif); */
    font-size: 36px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.4em;
    margin-bottom: 4px;
    padding-bottom: 4px;
    white-space: nowrap;
}

.badge-link {
    font-size: 18px;
    color: white;
    letter-spacing: 0.1em;
    opacity: 0.95;
    white-space: nowrap;
}

.theme-elderly .circle-bg-color {
    background-color: rgb(247, 185, 107, 1);
}

.theme-elderly .circle-border {
    border-color: #d88a7c;
}

.theme-elderly .badge-title {
    border-bottom-color: #c45a4a;
}

.theme-disabled .circle-bg-color {
    background-color: #ffad95;
}

.theme-disabled .circle-border {
    border-color: #dfad5e;
}

.theme-disabled .badge-title {
    border-bottom-color: #d48d2a;
}

.theme-child .circle-bg-color {
    background-color: #99c674;
}

.theme-child .circle-border {
    border-color: #6fae96;
}

.theme-child .badge-title {
    border-bottom-color: #3e8a63;
}

/* 1. 手前（大） */
.pos-lg {
    width: clamp(320px, 40vw, 650px);
    /* 最小320px、基準40vw、最大650px */
    height: clamp(320px, 40vw, 650px);
    transform: translate(-50%, 0%);
    top: -10%;
    left: 50%;
    z-index: 30;
}

.pos-lg .circle-bg-white {
    transform: translate(8.5%, -8.5%);
    opacity: 0.80;
}

.pos-lg .circle-bg-color {
    /* transform: translate(3.5%, -3.5%); */

}

.pos-lg .circle-border {
    transform: translate(3%, -5%);
}

.pos-lg .circle-overlay-white {
    background-color: rgb(247, 185, 107, 0.5);
    top: -10%;
    left: 15%;
}

.pos-lg .circle-base-img {}

.pos-lg .circle-center-content {
    opacity: 1;
}

/* 2. 中（奥1） */
.pos-md {
    width: clamp(320px, 40vw, 650px);
    /* pos-lg と同じ値 */
    height: clamp(320px, 40vw, 650px);
    /* pos-lg と同じ値 */
    transform: translate(0%, 50%);
    top: -15%;
    left: 0%;
    z-index: 20;
}

.pos-md .circle-bg-white {
    transform: translate(6%, -6%);
    opacity: 0.50;
}

.pos-md .circle-bg-color {
    /* transform: translate(2.5%, -2.5%); */
}

.pos-md .circle-border {
    transform: translate(-5%, 10%);
    opacity: 0.50;
}

.pos-md .circle-overlay-white {
    background-color: rgb(255 173 149 / 0.5);

    top: -27%;
    left: -14%;
}

.pos-md .circle-base-img {
    /* opacity: 0.55; */
}

.pos-md .circle-center-content {
    /* width: 40%;
    height: 40%;
    padding: 4px;
    opacity: 0.75; */
}

.pos-md .badge-title {
    /* font-size: 11px;
    letter-spacing: 0.08em;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none; */
}

.pos-md .badge-link {
    /* display: none; */
}

/* 3. 小（奥2） */
.pos-sm {
    width: clamp(320px, 40vw, 650px);
    /* pos-lg と同じ値 */
    height: clamp(320px, 40vw, 650px);
    /* pos-lg と同じ値 */
    transform: translate(0%, 50%);
    top: -15%;
    right: 0%;
    z-index: 10;
}

.pos-sm .circle-bg-white {
    transform: translate(5%, -5%);
    opacity: 0.40;
}

.pos-sm .circle-bg-color {
    /* transform: translate(2%, -2%); */
}

.pos-sm .circle-border {
    transform: translate(25%, 10%);
    opacity: 0.45;
}

.pos-sm .circle-overlay-white {
    background-color: rgb(153 198 116 / 0.5);
    top: -15%;
    left: 40%;
}

.pos-sm .circle-base-img {
    /* opacity: 0.45; */
}

.pos-sm .circle-center-content {
    /* width: 42%;
    height: 42%;
    padding: 2px;
    opacity: 0.70; */
}

.pos-sm .badge-title {
    /* font-size: 9.5px;
    letter-spacing: 0.04em;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none; */
}

.pos-sm .badge-link {
    /* display: none; */
}

.hero-section .hero-catch-position {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hero-section .vertical-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 40px;
    font-weight: 700;
    color: #3d2e28;
    letter-spacing: 0.25em;
    line-height: 1.8;
    margin: 0;
    white-space: nowrap;
}

.hero-section .vertical-title .line-1,
.hero-section .vertical-title .line-2 {
    display: block;
}

.hero-section .vertical-title .line-2 {
    margin-top: 2.2em;
}

.side-dot-nav {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 120px;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    background-color: #ffffff;
    padding: 20px 0;
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 0 35px 2px rgba(255, 140, 50, 0.45), 0 8px 24px -4px rgba(255, 140, 50, 0.27);
}

.side-dot-nav li a {
    font-size: 13px;
    color: #6b574d;
    text-align: center;
    padding: 12px 24px;
    display: block;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: transform 0.2s ease, color 0.2s ease;
}

.side-dot-nav li a:hover {
    color: var(--primary-color);
    transform: translateX(-4px);
    font-weight: 700;
}

.hero-news-bar {
    position: absolute;
    bottom: 15%;
    right: 10%;
    background: rgba(184, 163, 150, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.1rem 3.5rem 1.1rem 2rem;
    color: #ffffff;
    z-index: 35;
    width: clamp(480px, 35vw, 640px);
    box-shadow: -4px -4px 20px rgba(0, 0, 0, 0.06);
}

.hero-news-bar .news-badge-wrap {
    margin-bottom: 0.5rem;
}

.hero-news-bar .news-label {
    background: #ffffff;
    color: #8c7365;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 9999px;
    display: inline-block;
}

.hero-news-bar .news-lines {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hero-news-bar .news-line-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.84rem;
    padding-top: 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-news-bar .news-line-item:first-child {
    border-top: none;
    padding-top: 0;
}

.hero-news-bar .news-date {
    font-size: 0.82rem;
    opacity: 0.95;
    white-space: nowrap;
}

.hero-news-bar .news-text {
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 75px 0 30px 0;
        display: flex;
        flex-direction: column;
    }

    .hero-section .hero-container {
        order: 1;
        height: auto;
        position: relative;
    }

    .circle-stage-container {
        position: relative;
        width: 90vmin;
        height: 90vmin;
        max-width: 820px;
        max-height: 820px;
        margin-top: 1.5rem;
        left: -15%;
    }

    .pos-lg {
        width: 85%;
        height: 85%;
        top: 16%;
        left: 19%;
        z-index: 30;
    }

    .pos-lg .circle-overlay-white {
        transform: translate(-4.5%, -4.5%);
        opacity: 0.20;
    }

    .pos-md {
        width: 40%;
        height: 40%;
        top: 0%;
        left: 20%;
        z-index: 20;
    }

    .pos-sm {
        width: 35%;
        height: 35%;
        top: 20%;
        left: 10%;
        z-index: 10;
    }

    .circle-center-content {
        width: 50%;
        height: 50%;
    }

    .badge-title {
        font-size: 20px;
    }

    .hero-section .hero-catch-position {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 10px;
        width: 100%;
        padding-right: 6%;
    }

    .hero-section .vertical-title {
        writing-mode: horizontal-tb;
        font-size: 20px;
        letter-spacing: 0.12em;
        line-height: 1.5;
        margin: 0;
    }

    .hero-section .vertical-title .line-1,
    .hero-section .vertical-title .line-2 {
        display: block;
        text-align: right;
    }

    .hero-section .vertical-title .line-2 {
        margin-top: 0.3em;
    }

    .side-dot-nav {
        display: none;
    }

    .hero-news-bar {
        order: 2;
        position: relative;
        bottom: auto;
        right: auto;
        margin: 28px auto 0;
        background: rgba(184, 163, 150, 0.85);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 1rem 1.4rem;
        color: #ffffff;
        z-index: 35;
        width: 90%;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        border-radius: 6px;
    }
}

.quick-nav a {
    background: linear-gradient(transparent 60%, #f7bf91 60%);
    color: #4a3b32;

}

/* ==========================================================================
   3. About Section
   ========================================================================== */
.about-section {
    width: 100%;
    position: relative;
    background: transparent;
    overflow: clip;
    margin-top: -480px;
    /* ズレる場合は -250px 〜 -320pxの間で微調整してください */
}


.clip-wave {
    -webkit-clip-path: url(#top-wave-clip);
    clip-path: url(#top-wave-clip);
}

/* 山なりエリア内の調整用CSS */
.about-mountain-content {
    background-color: #ffffff;
    height: auto !important;
    position: relative;
}

.about-mountain-content .container {
    padding-top: 120px !important;
    /* 山の形状に合わせて上からの距離を調整してください */
}



.slider-wrapper {
    position: relative;
    overflow: clip;
    width: 100%;
    padding: 8px 0;
    contain: paint layout;
}

.slider-track {
    display: flex;
    align-items: center;
    margin-left: 50%;
    will-change: transform;
}

.slide-item {
    flex-shrink: 0;
    padding: 0 12px;
    box-sizing: border-box;
}

.slide-card {
    position: relative;
    height: 440px;
    border-radius: 36px;
    overflow: hidden;
    background-color: #ffffff;
    transform: scale(0.96);
    opacity: 0.85;
}

.slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0.7;
    pointer-events: none;
}

.about-badge-card {
    position: absolute;
    bottom: 30px;
    left: 56px;
    z-index: 30;
}

.about-badge-link {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 14px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    width: 501px;
}

.about-badge-link .badge-title {
    /* font-family: var(--font-serif); */
    /* font-size: 20px; */
    font-weight: 700;
    color: #3d2e28;
}

.about-badge-link .badge-title-sub {
    font-size: 16px;
    font-weight: normal;
}

.badge-divider {
    width: 48px;
    height: 1px;
    background-color: #8c7a6b;
    opacity: 0.6;
}

.badge-en {
    font-size: 13px;
    font-weight: 500;
    color: #6e5d53;
    letter-spacing: 0.08em;
}

.badge-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #3b302a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-arrow svg {
    width: 14px;
    height: 14px;
}

.dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.dot-btn {
    height: 10px;
    width: 10px;
    border-radius: 9999px;
    background-color: #d1c7be;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.dot-btn:hover {
    background-color: #a89c91;
}

.dot-btn.active {
    width: 28px;
    background-color: #3b302a;
}

@media (max-width: 991px) {
    .slide-card {
        height: 280px;
        border-radius: 24px;
    }

    .about-badge-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
        padding: 0 16px;
        width: 100%;
    }

    .about-badge-link {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================================================
   4. Services Section
   ========================================================================== */
.services-section {
    width: 100%;
    margin-top: 20vh;
    margin-bottom: 30vh;
    position: relative;
    background: transparent;
}

.services-deco-art {
    position: absolute;
    top: -45px;
    left: -15px;
    z-index: 5;
    width: 90px;
    pointer-events: none;
}

.service-card {
    position: relative;
    border-radius: 40px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 12px 32px rgba(220, 160, 140, 0.12);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card .service-title {
    font-size: 22px;
    font-weight: 700;
    color: #3d2e28;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-card .service-title .first-letter {
    font-size: 32px;
    font-weight: 900;
    margin-right: 4px;
}

.service-card-top-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-card-body {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
}

.service-tag {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    border-radius: 4px;
    margin: 16px 0 10px 0;
}

.category-block:first-child>.service-tag {
    margin-top: 0;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-size: 13px;
    font-weight: 500;
    color: #3d2e28;
    line-height: 1.7;
    margin-bottom: 6px;
    padding-left: 14px;
    position: relative;
}

.service-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}

.service-list li.sub-address {
    font-size: 11px;
    color: #77665c;
    padding-left: 14px;
    margin-top: -2px;
}

.service-list li.sub-address::before {
    display: none;
}

.child-info-box {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 12px;
    color: #3d2e28;
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.child-info-box .spec-row {
    display: flex;
    margin-bottom: 4px;
    line-height: 1.5;
}

.child-info-box .spec-label {
    font-weight: 700;
    white-space: nowrap;
}

.service-card-bg-photo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    opacity: 0.35;
    mix-blend-mode: multiply;
    z-index: 1;
    pointer-events: none;
}

.service-card-btn {
    position: absolute;
    right: 24px;
    bottom: -18px;
    z-index: 10;
    color: #ffffff;
    padding: 8px 20px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.service-card-btn i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.service-card-btn:hover i {
    transform: translateX(3px);
}

.service-card.theme-pink {
    background: linear-gradient(180deg, rgba(255, 240, 240, 0.85) 0%, rgba(255, 222, 222, 0.95) 100%);
    border: 20px solid rgba(245, 163, 163, 1);
}

.service-card.theme-pink .service-title,
.service-card.theme-pink .service-title .first-letter {
    color: #e25c5c;
}

.service-card.theme-pink .service-tag,
.service-card.theme-pink .service-card-btn {
    background-color: #f28b8b;
}

.service-card.theme-pink .service-list li::before {
    background-color: #e25c5c;
}

.service-card.theme-orange {
    background: linear-gradient(180deg, rgba(255, 248, 235, 0.85) 0%, rgba(255, 232, 205, 0.95) 100%);
    border: 20px solid rgba(247, 185, 107, 1);
}

.service-card.theme-orange .service-title,
.service-card.theme-orange .service-title .first-letter {
    color: #e08b2b;
}

.service-card.theme-orange .service-tag,
.service-card.theme-orange .service-card-btn {
    background-color: #f5a84b;
}

.service-card.theme-orange .service-list li::before {
    background-color: #e08b2b;
}

.service-card.theme-green {
    background: linear-gradient(180deg, rgba(240, 250, 240, 0.85) 0%, rgba(215, 242, 215, 0.95) 100%);
    border: 20px solid rgba(162, 217, 161, 1);
}

.service-card.theme-green .service-title,
.service-card.theme-green .service-title .first-letter {
    color: #4a9e48;
}

.service-card.theme-green .service-tag,
.service-card.theme-green .service-card-btn {
    background-color: #73c471;
}

.service-card.theme-green .service-list li::before {
    background-color: #4a9e48;
}

@media (max-width: 991px) {
    .services-section {
        margin-top: 40px;
        margin-bottom: 80px;
        padding: 40px 0;
        overflow-x: clip;
    }

    .services-section .services-container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    .services-section .services-scroll-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-left: 20px;
        padding-right: 24px;
        padding-bottom: 25px;
        margin-left: 0;
        margin-right: 0;
        gap: 16px;
        scrollbar-width: none;
    }

    .services-section .services-scroll-row::-webkit-scrollbar {
        display: none;
    }

    .services-section .services-scroll-col {
        flex: 0 0 82%;
        width: 82%;
        max-width: 82%;
        scroll-snap-align: start;
        padding-left: 0;
        padding-right: 0;
    }
}

/* ==========================================================================
   5. Recruit Section
   ========================================================================== */
.recruit-section {
    width: 100%;
    position: relative;
    background: transparent;
    overflow-x: clip;
}


.recruit-blur-bg {
    position: absolute;
    top: -1rem;
    bottom: -1rem;
    left: 0;
    right: 0;
    background-color: #eda526;
    /* background-image: url(../img/top/recruit05.webp); */
    /* background-size: cover; */
    /* background-position: center; */
    /* filter: blur(10px) brightness(1.02) saturate(1.15); */
    transform: scale(1.08);
    /* opacity: 0.85; */
    z-index: 0;
    pointer-events: none;
    /* -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 8%, black 22%, black 78%, rgba(0, 0, 0, 0.4) 92%, transparent 100%); */
    /* mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 8%, black 22%, black 78%, rgba(0, 0, 0, 0.4) 92%, transparent 100%); */
}


.recruit-inner {
    /* max-width: 1320px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recruit-bg-text {
    width: 15%;
    writing-mode: vertical-rl;
    /* text-orientation: upright; */
    z-index: 2;
    pointer-events: none;
    /* font-family: 'Helvetica Neue', Arial, sans-serif; */
    font-size: 100px;
    line-height: 1;
    letter-spacing: 16px;
    -webkit-text-stroke: 1px #ffffff;
    color: white;
    /* -webkit-text-fill-color: rgba(246, 224, 130, 0.85); */
}



.recruit-card {
    width: 80%;
    height: 80%;
    padding: 60px 64px 72px 64px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(180, 140, 120, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.recruit-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    margin-bottom: 40px;
}

.recruit-header-line {
    width: 140px;
    height: 1px;
    background-color: #a08c80;
    display: inline-block;
}

.recruit-title {
    font-size: 28px;
    font-weight: 700;
    color: #3d2e28;
}

.recruit-members {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 64px;
    bottom: -60px;
    z-index: 10;
    align-items: center;
}

.recruit-member-item {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(120, 80, 60, 0.15);
}

.recruit-member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
}

.recruit-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 64px;
    bottom: 32px;
    z-index: 10;
}

.recruit-btn-text {
    font-size: 13px;
    font-weight: 700;
    color: #4a3025;
}

.recruit-btn-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #f7c948;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

@media (max-width: 991px) {
    .recruit-section {
        padding: 60px 0 80px 0;
    }

    .recruit-inner {
        width: 92%;
        margin: 0 auto;
    }

    .recruit-bg-text {
        font-size: 75px;
        top: 0px;
        left: 0;
        transform: translate(0%, -75%);
        max-width: 100%;
    }

    .recruit-card {
        padding: 24px 20px 30px 20px;
    }

    .recruit-members {
        position: static;
        justify-content: center;
        margin: 20px 0 24px 0;
    }

    .recruit-member-item {
        width: 100px;
        height: 100px;
    }

    .recruit-link-btn {
        position: static;
        justify-content: flex-end;
    }
}

/* ==========================================================================
   6. News Section
   ========================================================================== */
.news-section {
    position: relative;
    margin-top: 120px;
    margin-bottom: 100px;
    background: transparent;
}

.news-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 16px 45px rgba(180, 130, 100, 0.1);
    padding: 55px 60px 65px 60px;
    display: flex;
    gap: 50px;
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.news-left-col {
    width: 220px;
    flex-shrink: 0;
}

.news-header {
    margin-bottom: 35px;
}

.news-title-ja {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1f1b18;
    margin: 0;
    line-height: 1.15;
    letter-spacing: 0.04em;
}

.news-title-en {
    font-size: 0.95rem;
    color: #3b302a;
    font-weight: 600;
    display: block;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.news-category-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-cat-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #9c948e;
    cursor: pointer;
    text-align: left;
    transition: color 0.25s ease;
}

.news-cat-btn:hover {
    color: var(--primary-color);
}

.news-cat-btn.is-active {
    color: #d96e2f;
    font-weight: 700;
}

.news-right-col {
    flex-grow: 1;
    min-width: 0;
    padding-top: 10px;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #d8cfc7;
}

.news-row {
    border-bottom: 1px solid #d8cfc7;
    transition: background-color 0.2s ease;
}

.news-row:hover {
    background-color: rgba(255, 245, 238, 0.45);
}

.news-row.is-hidden {
    display: none !important;
}

.news-row-link {
    display: flex;
    align-items: center;
    padding: 16px 8px;
    gap: 20px;
}

.news-date {
    font-size: 0.95rem;
    color: #2b2521;
    font-weight: 500;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    width: 95px;
}

.news-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 25px;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    flex-shrink: 0;
    text-align: center;
}

.badge-recruit-fill {
    background-color: #17184b;
    color: #ffffff;
    border: 1px solid #17184b;
}

.badge-care {
    background-color: #ffffff;
    border: 1.5px solid #ea7a5c;
    color: #ea7a5c;
}

.badge-disability {
    background-color: #ffffff;
    border: 1.5px solid #e29547;
    color: #e29547;
}

.badge-child {
    background-color: #ffffff;
    border: 1.5px solid #7cb359;
    color: #7cb359;
}

.badge-recruit-outline {
    background-color: #ffffff;
    border: 1.5px solid #17184b;
    color: #17184b;
}

.news-title-text {
    flex-grow: 1;
    font-size: 0.92rem;
    color: #2b2521;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 15px;
}

.news-row:hover .news-title-text {
    color: var(--primary-color);
}

.news-action-mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.mark-arrow-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.72rem;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.news-row:hover .mark-arrow-circle {
    transform: translateX(3px);
    opacity: 0.9;
}

/* ★ カテゴリ別矢印背景色 */
.mark-arrow-circle.arrow-recruit {
    background-color: #17184b;
}

.mark-arrow-circle.arrow-care {
    background-color: #ea7a5c;
}

.mark-arrow-circle.arrow-disability {
    background-color: #e29547;
}

.mark-arrow-circle.arrow-child {
    background-color: #7cb359;
}

.news-view-all-btn {
    position: absolute;
    right: 30px;
    bottom: -22px;
    background-color: #4a3b32;
    color: #ffffff;
    padding: 10px 24px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(74, 59, 50, 0.28);
    transition: background-color 0.25s ease, transform 0.25s ease;
    z-index: 5;
}

.news-view-all-btn:hover {
    background-color: #d96e2f;
    color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .news-section {
        margin-top: 60px;
        margin-bottom: 60px;
        padding: 0 16px;
    }

    .news-card {
        padding: 28px 16px 45px 16px;
        flex-direction: column;
        gap: 16px;
        border-radius: 20px;
    }

    .news-left-col {
        width: 100%;
    }

    .news-header {
        margin-bottom: 14px;
    }

    .news-title-ja {
        font-size: 1.85rem;
    }

    /* ★ スマホ時：整然と並ぶチップ（ピル型）タブデザインへ刷新 */
    .news-category-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding-bottom: 14px;
        border-bottom: 1px solid #eee5df;
    }

    .news-cat-btn {
        font-size: 0.82rem;
        padding: 6px 14px;
        border-radius: 9999px;
        background-color: #f5efe9;
        color: #6b5e54;
        transition: all 0.2s ease;
    }

    .news-cat-btn.is-active {
        background-color: #d96e2f;
        color: #ffffff;
        font-weight: 700;
    }

    .news-row-link {
        padding: 14px 4px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .news-date {
        font-size: 0.82rem;
        width: auto;
    }

    .news-badge {
        width: 60px;
        height: 22px;
        font-size: 0.68rem;
    }

    .news-title-text {
        width: 100%;
        order: 3;
        white-space: normal;
        font-size: 0.85rem;
        line-height: 1.5;
        padding-right: 0;
    }

    .news-action-mark {
        margin-left: auto;
        order: 2;
    }

    .news-view-all-btn {
        right: 20px;
        bottom: -18px;
        padding: 8px 18px;
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   7. Contact Section
   ========================================================================== */
.contact-section {
    position: relative;
    padding: 90px 20px 100px 20px;
    background: transparent;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(60, 45, 35, 0.07);
}

.contact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.contact-header .contact-line {
    width: 100%;
    height: 1.5px;
    background-color: #333333;
}

.contact-header .contact-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

.contact-subtext {
    font-size: 1.05rem;
    font-weight: 700;
    color: #444444;
    margin-bottom: 24px;
}

.contact-tel-wrap {
    margin-bottom: 24px;
}

.contact-tel-link {
    /* display: inline-flex; */
    align-items: baseline;
    color: #4a2d1d;
}

.contact-tel-link .tel-number {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1;
}

.contact-tel-link .tel-label {
    font-size: 1.35rem;
    font-weight: 700;
    margin-left: 6px;
}

.contact-hours-badge {
    display: inline-block;
    background-color: #5c3b28;
    color: #ffffff;
    padding: 10px 36px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .contact-section {
        padding: 50px 16px;
    }

    .contact-card {
        padding: 30px 16px;
    }

    .contact-tel-link .tel-number {
        font-size: 2rem;
    }
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
#mainFooter {
    position: relative;
    background-color: #ffffff;
    padding-top: 70px;
    font-size: 0.9rem;
    color: #555555;
    overflow: hidden;
}

.footer-recruit-arch {
    position: absolute;
    right: 0;
    bottom: 55px;
    width: 290px;
    height: 290px;
    border-radius: 100% 0% 0% 0%;
    background: linear-gradient(135deg, #f7b28b 0%, #e68370 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 20px 20px;
    color: #ffffff;
    z-index: 5;
}

.footer-recruit-arch .arch-content {
    text-align: right;
    margin-right: 35px;
    margin-top: 35px;
}

.footer-recruit-arch .arch-title {
    font-size: 1.85rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.footer-recruit-arch .arch-sub {
    font-size: 0.88rem;
    font-weight: 700;
    margin-top: 6px;
    display: block;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo-link .logo-text-group {
    display: flex;
    flex-direction: column;
}

.footer-logo-link .logo-sub {
    font-size: 0.72rem;
    color: #777777;
    line-height: 1;
}

.footer-logo-link .logo-main {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.footer-catch {
    font-size: 0.82rem;
    color: #666666;
    margin-bottom: 18px;
    font-weight: 500;
}

.footer-address-info {
    line-height: 1.6;
    font-size: 0.84rem;
    color: #555555;
}

.footer-sns-list .sns-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    transition: color 0.2s ease;
}

.footer-sns-list .sns-icon:hover {
    color: var(--primary-color);
}

.footer-badges {
    display: flex;
    align-items: center;
}

.badge-img-wrap img {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

/* ★ 上段4カラム：画像通りの縦仕切り線（ボーダー） */
.sitemap-col {
    border-left: 1px solid #333333;
    padding: 0 16px 0 20px;
}

.sitemap-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 18px;
    white-space: nowrap;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
    line-height: 2.2;
}

.sitemap-list a {
    color: #555555;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: color 0.2s ease;
}

.sitemap-list a:hover,
.sitemap-list a.is-active {
    color: #e68370;
}

/* ★ 「理事長あいさつ」等の左ドット */
.sitemap-list a.is-active::before,
.sitemap-col:first-child .sitemap-list a:hover::before {
    content: '●';
    font-size: 0.6rem;
    color: #e68370;
    position: absolute;
    left: -12px;
    top: 6px;
}

/* ★ 右端の「＋」アイコン */
.sitemap-plus {
    font-size: 0.95rem;
    font-weight: 400;
    color: #777777;
    line-height: 1;
}

/* ★ 下段3カラム：上段と同じ仕切り線で揃える */
.sitemap-bottom-grid {
    margin-top: 36px;
}

.sitemap-bottom-col {
    border-left: 1px solid #333333;
    padding: 0 16px 0 20px;
}

.sitemap-bottom-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: #222222;
    display: block;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.sitemap-bottom-link:hover {
    color: var(--primary-color);
}

.footer-copyright {
    background-color: #4a2d1d;
    color: #ffffff;
    text-align: center;
    padding: 16px 0;
    font-size: 0.78rem;
    height: 55px;
}

@media (max-width: 991px) {
    #mainFooter {
        display: flex;
        flex-direction: column;
        padding-top: 40px;
    }

    .footer-container {
        order: 1;
        padding-bottom: 0 !important;
    }

    .footer-recruit-arch {
        order: 2;
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% - 32px);
        height: auto;
        margin: 24px auto 30px;
        border-radius: 14px;
        padding: 16px 20px;
        box-shadow: 0 6px 18px rgba(230, 131, 112, 0.25);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer-recruit-arch .arch-content {
        text-align: left;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .footer-recruit-arch .arch-title {
        font-size: 1.25rem;
        line-height: 1.2;
    }

    .footer-recruit-arch .arch-sub {
        font-size: 0.85rem;
        margin-top: 0;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .footer-copyright {
        order: 3;
    }

    /* モバイル時：2列配置での枠線調整 */
    .sitemap-col {
        border-left: none;
        padding: 12px 10px;
        border-top: 1px solid #ded5cc;
    }

    .sitemap-col:nth-child(1),
    .sitemap-col:nth-child(2) {
        border-top: none;
    }

    .sitemap-col:nth-child(even) {
        border-left: 1px solid #ded5cc;
    }

    .sitemap-bottom-grid {
        margin-top: 20px;
        border-top: 1px solid #ded5cc;
        padding-top: 10px;
    }

    .sitemap-bottom-col {
        border-left: none;
        padding: 8px 10px;
    }

    .sitemap-bottom-col:nth-child(even) {
        border-left: 1px solid #ded5cc;
    }
}

/* ==========================================================================
   9. Common UI (Floating Button & Ambient Blobs)
   ========================================================================== */
/* 一般ページ共通：フッターのお問い合わせカード */
/* 全ページ共通のフッターメニュー。 */
footer .footer-menu {
    display: grid;
    grid-template-columns: .85fr 1.6fr 1.9fr .7fr;
    gap: 20px;
    text-align: left;
}

footer .footer-menu-column {
    min-width: 0;
}

footer .footer-menu-heading {
    display: block;
    margin: 0 0 16px;
    padding-left: 8px;
    border-left: 1px solid #a7988d;
    color: #514943;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

footer .footer-menu a {
    color: inherit;
    text-decoration: none;
}

footer .footer-menu-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0 0 0 18px;
    list-style: none;
    color: #81756d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

footer .footer-menu-list a {
    position: relative;
    display: block;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

footer .footer-menu a:is(:hover, :focus-visible) {
    color: #f58e83;
}

footer .footer-menu-list a::before {
    content: "";
    position: absolute;
    top: .6em;
    left: -12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
}

footer .footer-menu-list a:is(:hover, :focus-visible)::before {
    opacity: 1;
}

footer .footer-menu-secondary {
    display: grid;
    gap: 28px;
    margin-top: 48px;
}

footer .footer-menu-secondary .footer-menu-heading {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    footer .footer-menu {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    footer .footer-menu-about {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        align-items: start;
    }

    footer .footer-menu-about > .footer-menu-heading {
        grid-column: 1;
        grid-row: 1;
    }

    footer .footer-menu-about > .footer-menu-list {
        grid-column: 1;
        grid-row: 2;
    }

    footer .footer-menu-secondary {
        grid-column: 2;
        grid-row: 1 / 3;
        gap: 20px;
        margin-top: 0;
    }
}

.footer-contact {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 59vw;
    padding: 8vw 0;
    overflow: hidden;
    background: #fff;
    color: #62544b;
    text-align: center;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: normal;
}

.footer-contact-card {
    position: relative;
    z-index: 1;
    width: 75vw;
    padding: 4.5vw 6vw;
    border: none;
    border-radius: 3vw;
    background: #fff;
    box-shadow: 0 0 35px #e9ca9e88;
}

.footer-contact-card h2 {
    display: flex;
    align-items: center;
    gap: 2.7vw;
    margin: 0 0 1.725vw;
    font-size: 1.35vw;
    font-weight: 500;
}

.footer-contact-card h2::before,
.footer-contact-card h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #8a7b73;
}

.footer-contact-message {
    margin: 0 0 .6vw;
    color: #333;
    font-size: 1.0125vw;
}

.footer-contact-phone {
    display: block;
    color: #62544b;
    font-size: 4.05vw;
    font-weight: 600;
    line-height: 1.8;
    white-space: nowrap;
    text-decoration: none;
}

.footer-contact-phone:hover {
    color: #774617;
}

.footer-contact-phone small {
    font-size: 1.95vw;
}

.footer-contact-hours {
    width: max-content;
    max-width: 100%;
    margin: 1vw auto 0;
    padding: .4vw 4.5vw;
    background: #5e4d42;
    color: #fff;
    font-size: 1.275vw;
}

.footer-contact-bubble {
    position: absolute;
    width: 28vw;
    height: 28vw;
    border-radius: 50%;
    pointer-events: none;
    animation: footer-contact-drift 4s ease-in-out infinite alternate;
}

.footer-contact-bubble::after {
    content: "";
    position: absolute;
    inset: -1vw 1vw 0 -1vw;
    border: 1px solid;
    border-radius: 50%;
}

.footer-contact-peach {
    right: -3vw;
    top: 3vw;
    background: #fff1e0;
    color: #ff921a;
}

.footer-contact-pink {
    left: -15vw;
    bottom: -7vw;
    width: 39vw;
    height: 39vw;
    background: #fff3f7;
    color: #ff83b8;
    animation-delay: -1.3s;
}

.footer-contact-green {
    right: 17vw;
    bottom: 6vw;
    width: 26vw;
    height: 26vw;
    background: #f4f8e8;
    color: #9ed686;
    animation-delay: -2.6s;
}

@keyframes footer-contact-drift {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(6vw, -7.5vw);
    }
}

@media (max-width: 767.98px) {
    .footer-contact {
        min-height: 430px;
        padding: 60px 0;
    }

    .footer-contact-card {
        width: calc(100% - 36px);
        padding: 30px 20px;
        border-radius: 22px;
    }

    .footer-contact-card h2 {
        gap: 16px;
        margin-bottom: 20px;
        font-size: 16px;
    }

    .footer-contact-message {
        font-size: 12px;
    }

    .footer-contact-phone {
        font-size: clamp(23px, 6.8vw, 40px);
    }

    .footer-contact-phone small {
        font-size: 13px;
    }

    .footer-contact-hours {
        margin-top: 12px;
        padding: 6px 20px;
        font-size: 12px;
    }

    .footer-contact-bubble {
        min-width: 170px;
        min-height: 170px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-contact-bubble {
        animation: none;
    }
}

/* 複数の連絡先は番号ごとに独立した電話リンクとして表示する。 */
.footer-contact-phones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 32px;
    row-gap: 8px;
}

.footer-contact .footer-contact-phones .footer-contact-phone {
    font-size: clamp(24px, 2.7vw, 44px);
    line-height: 1.5;
}

.footer-contact-phone-divider {
    display: block;
    flex: 0 0 1px;
    width: 1px;
    height: clamp(24px, 2.7vw, 44px);
    background: #a9988c;
}

@media (max-width: 767.98px) {
    .footer-contact-phones {
        flex-direction: column;
        gap: 8px;
    }

    .footer-contact .footer-contact-phones .footer-contact-phone {
        font-size: clamp(22px, 6vw, 32px);
    }

    .footer-contact-phone-divider {
        width: 80px;
        height: 1px;
    }
}
