@charset "UTF-8";

/* ============================================
   東京デッセル - メインスタイルシート
   Colors: #f8e9ca (main), #5284bf (sub), #f5d04a (yellow accent)
   Fonts: Zen Kaku Gothic New (JP), Josefin Sans (EN)
============================================ */

/* ===== CSS Variables ===== */
:root {
    --color-main: #f8e9ca;
    --color-sub: #5284bf;
    --color-sub-light: #a8c6e8;
    --color-yellow: #f5d04a;
    --color-orange: #f08739;
    --color-text: #333;
    --color-text-light: #555;
    --color-white: #fff;
    --color-border: #e5e0d0;
    --color-back: #f8f5e9;

    --font-jp: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --font-en: 'Josefin Sans', sans-serif;

    --content-max: 1200px;
    --content-sub: 1080px;
    --content-pad: 24px;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 8px 24px rgba(82, 132, 191, 0.15);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
    /* 10px base */
}

body {
    font-family: var(--font-jp);
    font-size: 1.5rem;
    /* 15px */
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    opacity: 0.7;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== Common ===== */
.container,
.container_sub {
    max-width: var(--content-max);
    margin: 50px auto;
    padding: 0 var(--content-pad);
    width: 100%;
}

.container_sub {
    max-width: var(--content-sub);
}

.en-font {
    font-family: var(--font-en);
}

section[id] {
    scroll-margin-top: 80px;
}

.sp_br {
    display: none;
}

@media (max-width: 1205px) {
    html {
        font-size: 60%;
        scroll-behavior: auto;
    }

    section[id] {
        scroll-margin-top: 60px;
    }

}

@media (max-width: 599px) {
    .sp {
        display: none;
    }

    .sp_br {
        display: block;
    }
}

@media (max-width: 399px) {
    .container, .container_sub {
        padding: 0 15px;
    }
}

/* ============================================
   Header
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-main);
    z-index: 1000;
    height: 80px;
    transition: box-shadow 0.3s ease;
}

.header.is-scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header__inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__logo div {
    margin-top: 5px;
}

.header__logo-img {
    width: 135px;
    height: auto;
}

.header__logo-text {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    /* color: var(--color-sub); */
    letter-spacing: 0.05em;
    display: block;
    font-weight: 600;
}

.header__logo-text span {
    font-size: clamp(1.2rem, 1.5vw, 1.4rem);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header__nav>.header__info>.header__logo {
    display: none;
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__nav-link {
    display: inline-block;
    padding: 2px 18px;
    background-color: var(--color-white);
    border-radius: 999px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    border: 1px solid transparent;
    transition: all 0.3s var(--ease-out);
}

.header__nav-link:hover {
    background-color: var(--color-sub);
    color: var(--color-white);
    opacity: 1;
    transform: translateY(-2px);
}

.header__info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header__address {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-text);
}

.header__contact-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header__tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 18px;
    background-color: var(--color-sub);
    color: var(--color-white);
    border-radius: 999px;
    font-family: var(--font-en);
    font-weight: 500;
    font-size: 2.4rem;
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 3px 18px 1px;
    pointer-events: none;
}

.header__tel:hover {
    opacity: 1;
}

.header__tel span {
    position: relative;
    top: 2px;
}

.header__hours {
    font-size: 1.6rem;
    /* color: var(--color-text-light); */
    align-items: center;
    background-color: #fff;
    border-radius: 999px;
    text-align: center;
    line-height: 1.2;
    padding: 1px 14px;
    margin: 4px 15px;
}

.header__hours span {
    font-family: var(--font-en);
}

/* Hamburger - mobile only */
.header__hamburger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1100;
}

.header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-sub);
    transition: all 0.3s var(--ease-out);
}

.header__hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.header__hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Smartphone */
@media (max-width: 1205px) {
    .header {
        height: 60px;
    }

    .header__inner {
        padding: 0 16px;
    }

    .header__nav,
    .header__info {
        display: none;
    }

    .header__hamburger {
        display: flex;
    }

    /* Mobile nav drawer */
    .header__nav.is-open {
        display: flex;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--color-main);
        padding: 30px 20px;
        flex-direction: column;
        align-items: stretch;
        /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
        height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .header__nav>.header__info>.header__logo {
        display: block;
    }

    .header__nav.is-open .header__nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .header__nav.is-open .header__nav-link {
        display: block;
        text-align: center;
        padding: 14px;
        font-size: 1.5rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .header__info.is-open {
        display: flex;
        position: static;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--color-main);
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        /* box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1); */
        text-align: center;
    }

    .header__info.is-open .header__tel,
    .header__info.is-open .header__hours {
        padding: 10px 18px 10px;
        width: 200px;
        justify-content: center;
    }

    .header__info.is-open .header__hours {
        font-size: 1.8rem;
    }

    .header__contact-wrap {
        gap: 10px;
    }

    .header__tel {
        pointer-events: auto;
    }
}



/* ============================================
   Hero (MV)
============================================ */
.hero {
    padding-top: 80px;
    background-color: #f8e9ca;
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero__bg-img {
    /* width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block; */

    width: auto;
    height: 100%;
    max-width: none;
    transform: scale(1.2);
    transform-origin: right center;
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 140px;
    position: relative;
    z-index: 2;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero__title {
    font-size: clamp(3rem, 2vw + 1rem, 4rem);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.hero__title-block {
    display: inline-block;
    background-color: #fc845b;
    color: #fff;
    padding: 5px;
    line-height: 1.3;
}

.hero__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: clamp(1.8rem, 1vw + 1.2rem, 2rem);
    line-height: 1.6;
}

.hero__list-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text);
    font-weight: 700;
    background-color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    padding-left: 35px;
}

.hero__list-item::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 4%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-image: url('../images/checkBox.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

.hero__list-item.no-check {
    padding-left: 10px;
}

.hero__list-item.no-check::before {
    content: '';
    width: 0;
    margin: 0;
}

/* Triple Zero Banner */
.triple-zero {
    position: relative;
    /* margin: -50px auto 0; */
    margin: 0 auto;
    max-width: 720px;
    padding: 0 24px;
    z-index: 10;
    transform: translateY(40%);
}

.triple-zero__inner {
    text-align: center;
    position: relative;
}

.triple-zero__img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s var(--ease-out);
}

@media (max-width: 768px) {

    /* Hero */
    .hero__bg-img {
        object-position: 70% center;
        opacity: 0.5;
    }

    .hero__inner {
        padding: 30px 16px 80px;
        min-height: 380px;
    }

    .hero__content {
        max-width: 100%;
    }

    /* .hero__title {
        font-size: 2.4rem;
    } */

    .hero__list {
        font-size: 1.4rem;
    }

    .triple-zero {
        padding: 0 16px;
        margin-top: -30px;
    }
}

@media (max-width: 399px) {
    .hero__title {
        font-size: 2.6rem;
    }

    .hero__list-item {
        font-size: 1.6rem;
    }

    .hero__list-item::before {
        top: 18%;
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   Section Common
============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section__heading {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-top: 30px;
}

.section__heading-en {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 2.4rem;
    color: var(--color-sub);
    letter-spacing: 0.15em;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    -webkit-text-stroke: 10px #fff;
    paint-order: stroke fill;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.15));
}

.section__heading-en::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: var(--color-sub);
    border-radius: 2px;
}

.section__heading-sub {
    font-size: clamp(1.4rem, 2vw, 2.2rem);
    color: var(--color-text);
    font-weight: 800;
    -webkit-text-stroke: 6px #fff;
    paint-order: stroke fill;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.15));
}

.section__heading-main {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: 0.05em;
    line-height: 1.5;
    -webkit-text-stroke: 6px #fff;
    paint-order: stroke fill;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.15));
    margin: 30px 0 50px;
}

/* Decorative dots above heading */
.section__heading::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 365px;
    height: 185px;
    background-image: url('../images/icn_arrow_dot_yellow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

@media (max-width: 768px) {

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .section__heading {
        margin-bottom: 40px;
    }
}

@media (max-width: 599px) {

    .section__heading::before {
        width: 280px;
    }
}

/* ============================================
   Merit Section
============================================ */
.merit {
    background-color: var(--color-back);
    position: relative;
}

.merit__list {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.merit__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
}

.merit__item:nth-child(even) .merit__content {
    order: 2;
}

.merit__item:nth-child(even) .merit__image {
    order: 1;
}

.merit__number {
    font-family: var(--font-en);
    font-size: clamp(4rem, 5vw, 6rem);
    font-weight: 600;
    color: var(--color-sub);
    line-height: 1;
    margin-bottom: 12px;
}

.merit__title {
    font-size: clamp(2.2rem, 3vw, 3.4rem);
    font-weight: 800;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 24px;
}

.merit__text {
    font-size: 1.6rem;
    line-height: 2;
    color: var(--color-text);
    letter-spacing: 0;
    font-weight: 600;
}

.merit__image {
    position: relative;
    aspect-ratio: 1/1;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merit__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.15));
}


@media (max-width: 599px) {
    .merit__list {
        gap: 60px;
    }

    .merit__item,
    .merit__item:nth-child(even) .merit__content,
    .merit__item:nth-child(even) .merit__image {
        grid-template-columns: 1fr;
        order: initial;
    }

    .merit__item {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .merit__image {
        max-width: 280px;
        order: -1 !important;
    }

    .merit__item:nth-child(even) .merit__content {
        order: initial !important;
    }
}

/* ============================================
   Location Section
============================================ */
.location {
    background-color: var(--color-back);
}

/* --- グリッドレイアウト --- */
.location__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 50px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0;
    list-style: none;
}

/* 1行目の5個はそのまま横並び、2行目の2個は中央寄せ */
.location__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 160px;
}

/* 丸アイコン */
.location__circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); */
    flex-shrink: 0;
}

.location__circle img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

/* .location__item:hover .location__circle {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(82, 132, 191, 0.18);
} */

/* ラベルテキスト */
.location__label {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin-top: -10px;
}


.location__note {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 20px;
}

@media (max-width: 399px) {
    .location__grid {
        gap: 24px 0;
        justify-content: center;
    }

    .location__item {
        width: 50%;
    }

    .location__circle {
        width: 140px;
        height: 140px;
    }
}

/* ============================================
   CTA Section
============================================ */
.cta {
    background-color: var(--color-sub);
    padding: 60px 0;
    color: var(--color-white);
    text-align: center;
}

.cta__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.cta__text {
    font-size: clamp(1.6rem, 2vw, 2rem);
    line-height: 1.9;
    margin-bottom: 28px;
}

.cta__tel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-yellow);
    color: var(--color-text);
    padding: 20px 50px;
    border-radius: 999px;
    font-family: var(--font-en);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease-out);
    pointer-events: none;
}

.cta__tel:hover {
    opacity: 1;
}

.cta__tel span {
    display: block;
    line-height: 1;
    transform: translateY(3px);
}

.cta__tel-icon {
    width: 30px;
    height: 30px;
}


@media (max-width: 768px) {
    .cta {
        padding: 40px 16px;
    }

    .cta__tel {
        padding: 14px 28px;
        pointer-events: auto;
    }

    .cta__tel-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 599px) {
    .cta__text {
        text-align: left;
    }

    .cta__tel-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 399px) {
    .cta__title {
        font-size: 2.2rem;
    }

    .cta__text {
        font-size: 1.6rem;
    }
}

/* ============================================
   Step Section
============================================ */
.step {
    background-color: var(--color-back);
    padding: 80px 0;
}

.step__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step__item:nth-child(4),
.step__item:nth-child(5) {
    grid-column: span 1;
}

/* center the 4th and 5th items */
.step__list {
    justify-content: center;
}

.step__number {
    font-family: var(--font-en);
    font-size: clamp(3.4rem, 5vw, 6rem);
    font-weight: 500;
    color: var(--color-sub);
    line-height: 1;
    margin-bottom: 4px;
}

.step__title {
    font-size: clamp(2rem, 3vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.step__image {
    max-width: 370px;
    max-height: 370px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    /* box-shadow: var(--shadow-soft); */
}

.step__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

/* Placeholder style (for step images until real photos are added) */
.step__image--placeholder {
    background: linear-gradient(135deg, #d4dff0 0%, #b8cce6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sub);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5;
    border: 2px dashed rgba(82, 132, 191, 0.4);
}

.step__text {
    font-size: 1.6rem;
    line-height: 1.9;
    text-align: left;
    max-width: 350px;
    font-weight: 600;
}

@media (max-width: 768px) {

    /* Step */
    .step__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .step__item:nth-child(5) {
        grid-column: span 2;
        max-width: 280px;
        margin: 0 auto;
    }

    .step__image {
        width: 160px;
        height: 160px;
    }

    .step__text {
        font-size: 1.4rem;
    }
}

/* ============================================
   Company Block (in homepage)
============================================ */
.company-block {
    background-color: var(--color-sub-light);
    padding: 80px 0;
}

.company-block__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.company-block__image {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.company-block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-block__image--placeholder {
    /* background: linear-gradient(135deg, #d4dff0 0%, #b8cce6 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sub);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.5;
    /* border: 2px dashed rgba(82, 132, 191, 0.4); */
}

.company-block__content {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-block__content::before {
    content: '';
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 365px;
    height: 185px;
    background-image: url(../images/icn_arrow_dot_white.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

.company-block__label {
    /* display: inline-block;
    background-color: var(--color-white);
    padding: 6px 28px;
    border-radius: 999px;
    font-family: var(--font-en);
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    color: var(--color-text);
    margin-bottom: 16px; */
    display: inline-block;
    font-family: var(--font-en);
    font-size: 2.4rem;
    color: var(--color-sub);
    letter-spacing: 0.15em;
    margin-bottom: 4px;
    position: relative;
    padding-bottom: 12px;
    -webkit-text-stroke: 10px #fff;
    paint-order: stroke fill;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.15));
}

.company-block__label::after {
    content: '';
    position: absolute;
    bottom: -45%;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: var(--color-sub);
    border-radius: 2px;
}

.company-block__title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: 0.05em;
    line-height: 1.5;
    -webkit-text-stroke: 6px #fff;
    paint-order: stroke fill;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.15));
    margin: 60px 0 50px;
}

.company-block__button {
    /* display: inline-block; */
    background-color: var(--color-yellow);
    color: var(--color-text);
    padding: 20px 50px;
    border-radius: 999px;
    font-weight: 700;
    font-size: clamp(2rem, 2vw, 2.2rem);
    transition: all 0.3s var(--ease-out);
}

.company-block__button:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .company-block__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .company-block__content {
        padding: 20px;
    }

    .company-block__content::before {
        top: 0;
    }
}

@media (max-width: 599px) {

    .section__heading::before,
    .company-block__content::before {
        width: 280px;
    }
}

/* ============================================
   Footer
============================================ */
.footer {
    background-color: var(--color-back);
    padding: 60px 0 30px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 40px;
    max-width: var(--content-max);
    margin: 0 auto 40px;
    padding: 0 var(--content-pad);
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__nav-link {
    font-size: clamp(1.4rem, 1.5vw, 1.6rem);
    position: relative;
    /* padding-left: 16px; */
    font-weight: 800;
}

.footer__contact {
    text-align: right;
}

.footer__tel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-size: clamp(3.4rem, 5vw, 6rem);
    font-weight: 500;
    color: var(--color-sub);
    line-height: 1;
    padding-top: 30px;

    pointer-events: none;
    cursor: default;
}

.footer__tel span {
    position: relative;
    top: 2px;
}

.footer__tel-icon {
    width: 30px;
    height: 30px;
}

.footer__hours {
    font-size: clamp(1.8rem, 2vw, 2.2rem);
    color: var(--color-text-light);
    margin-top: 4px;
    text-align: center;

}

.footer__hours span {
    font-weight: 600;
    font-family: var(--font-en);
}

.footer__bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    max-width: var(--content-max);
    margin: 0 auto;
    padding-left: var(--content-pad);
    padding-right: var(--content-pad);
}

.footer__company {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer__logo {
    width: 180px;
}

.footer__company-info {
    font-size: clamp(1.3rem, 1.5vw, 1.6rem);
    color: var(--color-text);
    line-height: 1.8;
}

.footer__company-info span {
    display: block;
    font-weight: 600;
}

.footer__copyright {
    font-size: 1.2rem;
    color: var(--color-text-light);
    font-family: var(--font-en);
    letter-spacing: 0.1em;
}

@media screen and (max-width: 1024px) {
    .footer__tel {
        pointer-events: auto;
        cursor: pointer;
    }

    .footer__tel:hover {
        opacity: 1;
    }
}

@media (max-width: 599px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer__top {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
        justify-items: center;
    }

    .footer__nav {
        margin: 0;
        padding: 0;
    }

    .footer__nav li {
        text-align: center;
    }

    .footer__contact {
        grid-column: 1 / -1;
        margin-top: 20px;
        text-align: center;
    }

    .footer__tel-icon {
        width: 25px;
        height: 25px;
    }

    .footer__company {
        flex-direction: column;
        gap: 12px;
    }

    .footer__copyright {
        text-align: center;
    }
}

@media (max-width: 399px) {
    .footer__logo {
        width: 140px;
    }
}

/* ============================================
   Decorations (Capsule)
============================================ */
.deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.deco--capsule-blue {
    width: 80px;
    top: 20%;
    left: 5%;
    animation: float 5s ease-in-out infinite;
}

.deco--capsule-green {
    width: 90px;
    bottom: 10%;
    right: 8%;
    animation: float 6s ease-in-out infinite 0.5s;
}

.deco--capsule-pink {
    width: 70px;
    top: 30%;
    right: 5%;
    animation: float 5.5s ease-in-out infinite 1s;
}

.deco--capsule-red {
    width: 75px;
    bottom: 20%;
    left: 8%;
    animation: float 6.5s ease-in-out infinite 0.3s;
}

.deco--capsule-yellow {
    width: 85px;
    top: 50%;
    left: 50%;
    animation: float 5.5s ease-in-out infinite 0.8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@media (max-width: 768px) {

    .deco--capsule-blue,
    .deco--capsule-green,
    .deco--capsule-pink {
        width: 50px;
    }
}

/* ============================================
   Scroll Animations (handled by JS)
============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* ============================================
   Sub Page Hero (lower pages)
============================================ */
.sub-hero {
    padding: 140px 0 60px;
    background-color: var(--color-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sub-hero__en {
    font-family: var(--font-en);
    font-size: 1.6rem;
    color: var(--color-sub);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 8px;
}

.sub-hero__title {
    font-size: clamp(2.6rem, 3.6vw, 3.6rem);
    font-weight: 700;
    color: var(--color-text);
}

.sub-hero__breadcrumb {
    margin-top: 16px;
    font-size: 1.4rem;
    color: var(--color-text-light);
}

.sub-hero__breadcrumb a:hover {
    color: var(--color-sub);
}

.sub-hero__breadcrumb span {
    margin: 0 8px;
}

/* Sub page content container */
.sub-content {
    padding: 80px 0;
    background-color: var(--color-main);
}

.sub-content__inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

.sub-content h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--color-sub);
    border-left: 4px solid var(--color-sub);
    padding-left: 16px;
}

.sub-content h2:first-child {
    margin-top: 0;
}

.sub-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--color-text);
}

.sub-content p {
    margin-bottom: 16px;
    line-height: 2;
}

.sub-content ul {
    margin: 16px 0 24px 24px;
}

.sub-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.9;
}

.sub-content ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-sub);
    font-size: 0.8em;
}

.sub-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.sub-content table th,
.sub-content table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.4rem;
}

.sub-content table th {
    background-color: rgba(82, 132, 191, 0.08);
    font-weight: 700;
    width: 30%;
    color: var(--color-text);
}

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

@media (max-width: 768px) {
    .sub-hero {
        padding: 100px 0 40px;
    }

    .sub-content {
        padding: 50px 0;
    }

    .sub-content table th,
    .sub-content table td {
        padding: 10px 12px;
        font-size: 1.3rem;
    }

    .sub-content table th {
        width: 35%;
    }
}


/* FAQ specific */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-card);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.faq-question::before {
    content: 'Q';
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: var(--color-sub);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.8rem;
}

.faq-question::after {
    content: '+';
    margin-left: auto;
    font-size: 2.4rem;
    color: var(--color-sub);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.is-open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.is-open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 24px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.faq-answer-inner::before {
    content: 'A';
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: var(--color-yellow);
    color: var(--color-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.8rem;
}

.faq-answer-inner p {
    margin: 0;
    padding-top: 6px;
}


/* Print */
@media print {

    .header,
    .footer,
    .cta {
        display: none;
    }
}