/* ==========================================================================
   Design Tokens & Variables
   ========================================================================== */
:root {
    /* Colors */
    --color-white: #ffffff;
    --color-off-white: #f9f9f9;
    --color-gray-50: #f5f5f5;
    --color-gray-100: #eeeeee;
    --color-gray-200: #dddddd;
    --color-gray-400: #999999;
    --color-gray-800: #333333;
    --color-black: #1a1a1a;

    --color-primary: #62b850;
    /* Base Green */
    --color-primary-light: #e9f4e6;
    --color-primary-dark: #4a8c3d;

    --color-accent-orange: #ff8e3f;
    --color-accent-yellow: #f2d431;

    --color-text-main: var(--color-gray-800);
    --color-text-muted: #666666;
    --color-text-inverse: var(--color-white);

    /* Typography */
    --font-family-base: 'Noto Sans JP', sans-serif;
    --font-family-heading: 'Zen Kaku Gothic New', sans-serif;
    --font-family-en: 'Inter', 'Urbanist', sans-serif;

    /* Spacing (Fluid Typography & Spacing based on clamp) */
    --space-xs: clamp(0.5rem, 0.43rem + 0.36vw, 0.75rem);
    /* 8px - 12px */
    --space-sm: clamp(0.75rem, 0.61rem + 0.71vw, 1.25rem);
    /* 12px - 20px */
    --space-md: clamp(1.25rem, 1.04rem + 1.07vw, 2rem);
    /* 20px - 32px */
    --space-lg: clamp(2rem, 1.43rem + 2.86vw, 4rem);
    /* 32px - 64px */
    --space-xl: clamp(3rem, 2.14rem + 4.29vw, 6rem);
    /* 48px - 96px */
    --space-xxl: clamp(4rem, 2.57rem + 7.14vw, 9rem);
    /* 64px - 144px */

    /* Container */
    --container-width: 1320px;
    --container-padding: var(--space-md);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 20px 40px rgba(98, 184, 80, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

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

/* Typography Base Classes */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.relative {
    position: relative;
}

.text-center {
    text-align: center;
}

.bg-gray {
    background-color: var(--color-off-white);
}

.color-white {
    color: var(--color-white) !important;
}

.u-pc-only {
    display: none !important;
}

@media (min-width: 768px) {
    .u-pc-only {
        display: inline !important;
    }
}

/* Background Patterns & Ornaments */
.pattern-dots {
    background-image: radial-gradient(var(--color-primary-light) 2px, transparent 2px);
    background-size: 20px 20px;
}

.pattern-dots-gray {
    background-image: radial-gradient(var(--color-gray-200) 2px, transparent 2px);
    background-size: 20px 20px;
}

.bg-ornament {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* Water drop / Blob shape */
.bg-blob {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(40px);
    animation: morph 8s ease-in-out infinite both alternate;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
}

/* Floating circles */
.bg-circle {
    border-radius: 50%;
}

.bg-circle--filled {
    background: radial-gradient(circle, var(--color-primary-light) 0%, rgba(255, 255, 255, 0) 70%);
}

.bg-circle--outlined {
    border: 2px dashed var(--color-primary-light);
}

/* Floating animation */
.float-anim {
    animation: floating 6s ease-in-out infinite;
}

.float-anim-reverse {
    animation: floating-reverse 8s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

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

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes floating-reverse {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

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

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Spacing Utils */
.mb-xs {
    margin-bottom: var(--space-xs);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mt-m {
    margin-top: var(--space-lg);
}

.pb-m {
    padding-bottom: var(--space-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-family: var(--font-family-heading);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
}

.btn--white {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn--white:hover {
    color: var(--color-primary-dark);
}

.btn--large {
    padding: 1.25rem 4rem;
    font-size: 1.125rem;
}

.btn--submit {
    background-color: var(--color-accent-orange);
    color: var(--color-white);
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
}

.btn--submit:hover {
    background-color: #e67d32;
    box-shadow: 0 10px 20px rgba(255, 142, 63, 0.2);
}

@media (min-width: 768px) {
    .btn--submit {
        width: 320px;
    }
}

/* Section Header */
.section {
    padding: var(--space-xl) 0;
}

@media (max-width: 767px) {
    .section {
        padding: 60px 0;
        /* Adjusted from 80px to prevent excessive gaps */
    }
}

.section-header {
    margin-bottom: var(--space-lg);
    text-align: center;
}

@media (max-width: 767px) {
    .section-header {
        margin-bottom: 50px;
        /* Increase header margin on mobile */
    }
}

.section-header.center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-en {
    display: block;
    font-family: var(--font-family-en);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.6rem, 1.26rem + 1.71vw, 2.8rem);
    /* 80% of original: 32px~56px → 25.6px~44.8px */
    letter-spacing: 0.15em;
    position: relative;
    display: inline-block;
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.fade-in.is-visible {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

/* スクロール時の非表示設定を解除 */
.header--hidden {
    transform: translateX(-50%) translateY(0);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 15px 0 25px;
    /* 右側のボタン余白を調整 */
}

.header__logo {
    font-family: var(--font-family-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

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

.header__nav {
    display: none;
}

@media (min-width: 992px) {
    .header__nav {
        display: block;
        margin: 0 auto;
    }
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header__nav-list a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    transition: color var(--transition-fast);
}

.header__nav-list a:hover {
    color: var(--color-primary);
}

.header__nav-separator {
    color: #ddd;
    font-size: 0.8rem;
    font-weight: 400;
    pointer-events: none;
}

.header__btn {
    display: none;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 15px 0 25px;
    background-color: #ff8e52;
    /* 参考画像のオレンジ */
    color: var(--color-white);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

@media (min-width: 768px) {
    .header__btn {
        display: inline-flex;
    }
}

.header__btn-mobile {
    display: none;
}

.header__mobile-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

.header__btn:hover {
    background-color: #ff7d38;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 142, 82, 0.3);
}

.header__btn-icon {
    width: 32px;
    height: 32px;
    background-color: var(--color-white);
    color: #ff8e52;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */
/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    padding-top: 140px;
    padding-bottom: clamp(60px, 10vh, 120px);
    min-height: 850px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 50%, #fffcf5 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 991px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
    }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 992px) {
    .hero__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .hero__inner {
        gap: 24px;
    }
}

.hero__content {
    max-width: 640px;
}

/* Hero title and description */
.hero__title {
    font-size: clamp(2rem, 1.5rem + 3vw, 4.5rem);
    line-height: 1.3;
    margin-bottom: 32px;
    color: var(--color-gray-800);
    letter-spacing: 0.03em;
    /* Increased from -0.01em */
}

.text-primary {
    color: var(--color-primary);
}

.hero__desc {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem);
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .hero__cta {
        flex-direction: column;
        gap: 0;
    }

    .btn--hero {
        width: 100%;
        margin-bottom: 1rem;
    }
}

.btn--hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 56px;
    padding: 0 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-normal);
    color: var(--color-white);
    min-width: 260px;
}

.btn--hero-download {
    background-color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(98, 184, 80, 0.2);
}

.btn--hero-download:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(98, 184, 80, 0.3);
}

.btn--hero-contact {
    background-color: var(--color-accent-orange);
    box-shadow: 0 10px 20px rgba(255, 142, 63, 0.2);
}

.btn--hero-contact:hover {
    background-color: #ff7d26;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 142, 63, 0.3);
}

.btn--hero .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Visual */
.hero__visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

@media (min-width: 992px) {
    .hero__visual {
        justify-content: flex-end;
    }
}

.hero__main-visual {
    width: 100%;
    max-width: 720px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.12));
}

/* Background Mesh and Blurs */
.hero__bg-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(at 100% 0%, rgba(98, 184, 80, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 142, 63, 0.05) 0px, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Curved Solid Background */
.hero__bg-curve {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    /* Outer layer (Light Green to Medium Green) */
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #a2d693 100%);
    border-top-left-radius: 400px;
    border-bottom-left-radius: 100px;
    z-index: 0;
    overflow: hidden;
}

.hero__bg-curve::before,
.hero__bg-curve::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border-top-left-radius: 400px;
    border-bottom-left-radius: 100px;
}

.hero__bg-curve::before {
    width: 85%;
    /* Middle layer (Medium Green to Stronger Green) */
    background: linear-gradient(135deg, #a2d693 0%, #7ad66b 100%);
    z-index: 1;
}

.hero__bg-curve::after {
    width: 70%;
    /* Inner layer (Stronger Green to Primary Green) */
    background: linear-gradient(135deg, #7ad66b 0%, var(--color-primary) 100%);
    z-index: 2;
}

@media (max-width: 991px) {
    .hero__bg-curve {
        width: 100%;
        height: 55%;
        top: auto;
        bottom: 0;
        border-top-left-radius: 50%;
        border-top-right-radius: 50%;
        border-bottom-left-radius: 0;
    }

    .hero__bg-curve::before,
    .hero__bg-curve::after {
        width: 100%;
        top: auto;
        bottom: 0;
        border-top-left-radius: 50%;
        border-top-right-radius: 50%;
        border-bottom-left-radius: 0;
    }

    .hero__bg-curve::before {
        height: 85%;
    }

    .hero__bg-curve::after {
        height: 70%;
    }
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    left: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
    color: var(--color-text-main);
    text-decoration: none;
    transition: color var(--transition-normal), opacity var(--transition-normal);
}

.hero__scroll:hover {
    color: var(--color-primary);
}

@media (max-width: 767px) {
    .hero__scroll {
        display: none;
        /* Hide on mobile to save space */
    }
}

.hero__scroll-text {
    writing-mode: vertical-rl;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    font-family: var(--font-family-en);
}

.hero__scroll-line {
    width: 2px;
    height: 80px;
    background-color: var(--color-gray-200);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-text-main);
    animation: scrollSlideDown 2.8s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollSlideDown {
    0% {
        transform: translateY(-100%);
    }

    60% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Base floating animation */
@keyframes floatLaptop {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* ==========================================================================
   Strengths
   ========================================================================== */
.strength__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.strength__item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    /* Increased from var(--space-md) for better mobile separation */
    align-items: center;
}

@media (min-width: 768px) {
    .strength__item {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .strength__item--reverse .strength__content {
        order: 2;
    }

    .strength__item--reverse .strength__image {
        order: 1;
    }
}

.strength__label {
    display: inline-block;
    color: var(--color-primary);
    font-family: var(--font-family-en);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    letter-spacing: 0.1em;
}

@media (max-width: 767px) {
    .strength__label {
        font-size: 0.75rem;
    }
}

.strength__title {
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.1em;
    /* ここは少し広めに */
}

@media (max-width: 767px) {
    .strength__title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}

.strength__desc {
    font-size: 1.125rem;
    color: var(--color-text-main);
    line-height: 1.8;
}

@media (max-width: 767px) {
    .strength__desc {
        font-size: 15px;
        line-height: 1.7;
    }
}

.strength__image img,
.strength__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    /* 画像や動画のぼやけ(画質低下)を防ぐための指定 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.strength__image {
    aspect-ratio: 16 / 14;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-gray-50);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* 縁を馴染ませるための極薄い線 */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    /* 影をより広く、薄くして柔らかく */
}

/* Hover removed by user request (only clickable items) */

/* ==========================================================================
   Price
   ========================================================================== */
.price__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    /* Increased from var(--space-md) for mobile separation */
    margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
    .price__cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
    }
}

.price__card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    border: 2px solid transparent;
}

/* === 梅プラン（ピンク系） === */
.price__card--ume {
    border-color: #e07d7d;
}

.price__card--ume .price__card-header {
    background-color: #e07d7d;
    color: var(--color-white);
}

.price__card--ume .price__amount {
    color: #b85050;
}

.price__card--ume .price__badge {
    background-color: #e07d7d;
    color: var(--color-white);
}

/* おすすめ吹き出し */
.price__card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price__card-wrapper .price__card {
    width: 100%;
    flex: 1;
}

.price__recommended {
    display: inline-block;
    background-color: var(--color-accent-orange);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    position: relative;
    white-space: nowrap;
}

/* 吹き出しの下向き三角 */
.price__recommended::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 6px 0;
    border-style: solid;
    border-color: var(--color-accent-orange) transparent transparent;
}

/* === 竹プラン === */
.price__card--take {
    border-color: var(--color-primary);
}

/* old ::before removed — using .price__recommended element instead */

.price__card--take .price__card-header {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.price__card--take .price__amount {
    color: var(--color-primary-dark);
}

.price__card--take .price__badge {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* === 松プラン（ダークグリーン系） === */
.price__card--matsu {
    border-color: #2e6b4f;
}

.price__card--matsu .price__card-header {
    background-color: #2e6b4f;
    color: var(--color-white);
}

.price__card--matsu .price__amount {
    color: #2e6b4f;
}

.price__card--matsu .price__badge {
    background-color: #2e6b4f;
    color: var(--color-white);
}

.price__card-header {
    text-align: center;
    padding: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.price__card-header h4 {
    font-size: 1.25rem;
    color: inherit;
}

.price__card-body {
    padding: var(--space-md);
    text-align: left;
}

/* 料金・納期の横並び行 */
.price__row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.price__amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1;
}

.price__amount .price__number {
    font-size: 3rem;
    line-height: 1;
}

.price__amount .price__tax {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: normal;
}

.price__duration {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.price__duration .price__number {
    font-size: 2.5rem;
    line-height: 1;
}

.price__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3.5rem;
    background-color: var(--color-gray-400);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 0;
    border-radius: var(--radius-full);
    letter-spacing: 0.08em;
}

.price__divider {
    border: none;
    border-top: 1px dashed var(--color-gray-200);
    margin: var(--space-md) 0;
}

/* Pages badge */
.price__pages-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f8fdf6 0%, #eef8ea 100%);
    border: 1.5px solid rgba(98, 184, 80, 0.35);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 0;
    min-height: 48px;
}

.price__card--ume .price__pages-badge {
    background: linear-gradient(135deg, #fff8f8 0%, #fdeaea 100%);
    border-color: rgba(224, 125, 125, 0.35);
}

.price__card--matsu .price__pages-badge {
    background: linear-gradient(135deg, #f5faf7 0%, #e6f4ec 100%);
    border-color: rgba(46, 107, 79, 0.35);
}

.price__pages-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-white);
    background-color: var(--color-primary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.4;
}

.price__card--ume .price__pages-label {
    background-color: #e07d7d;
}

.price__card--matsu .price__pages-label {
    background-color: #2e6b4f;
}

.price__pages-value {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1;
}

.price__pages-plus {
    color: var(--color-text-muted);
    font-weight: 400;
    margin: 0 2px;
}

.price__pages-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent-orange);
    line-height: 1;
}



/* Sitemap example label */
.sitemap-example-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-md);
    margin-bottom: 4px;
}

.sitemap-example-label::before,
.sitemap-example-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--color-gray-200);
}

.sitemap-example-label span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.04);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-gray-200);
}

/* Maintenance Table */
.subsection-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-dashed {
    display: inline-block;
    width: 20px;
    height: 4px;
    background-image: linear-gradient(to right, var(--color-primary) 50%, transparent 50%);
    background-size: 10px 100%;
}

.table-responsive {
    overflow-x: auto;
}

.maintenance__table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-width: 600px;
}

.maintenance__table th,
.maintenance__table td {
    padding: var(--space-sm);
    border: 1px solid var(--color-gray-100);
}

.maintenance__table th {
    background-color: var(--color-gray-50);
    text-align: left;
    vertical-align: top;
}

.maintenance__table .col-plan-1,
.maintenance__table .col-plan-2 {
    width: 30%;
}

.plan-price {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0.5rem 0;
}

.plan-price span {
    font-size: 0.9rem;
    font-weight: normal;
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: normal;
}

.maintenance__table td.center {
    text-align: center;
    color: var(--color-primary);
}

/* Price Notes */
.price__notes {
    margin-top: 0;
    padding: 0;
}

.price__note-item {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 2px;
}

.price__note-mark {
    color: var(--color-accent-orange);
    font-weight: bold;
    margin-right: 2px;
}

.price__note-item:last-child {
    margin-bottom: 0;
}

.mt-s {
    margin-top: var(--space-sm);
}

/* Sitemap Diagram */
.sitemap-wrapper {
    margin-top: var(--space-xl);
    text-align: center;
}

/* Sitemap Diagram — 料金カード内統合用 */
.price__card .sitemap-diagram {
    padding: var(--space-sm) 0;
    max-width: 100%;
}

.price__card .sitemap-diagram__branches {
    gap: 8px;
    padding: 10px;
}

.price__card .sitemap-window:not(.sitemap-window--main) {
    width: calc(50% - 8px);
}

.price__card .sitemap-window--main {
    width: 140px;
    max-width: 90%;
    margin: 0 auto;
}

/* 梅・松のトップページウィンドウカラー */
.sitemap-window--ume {
    background-color: #e07d7d !important;
    border-color: #e07d7d !important;
}

.sitemap-window--matsu {
    background-color: #2e6b4f !important;
    border-color: #2e6b4f !important;
}

.sitemap-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--color-gray-800);
}

/* 枝分かれ部分の枠線カラー調整 */
.price__card--ume .sitemap-diagram__branches {
    border-color: rgba(224, 125, 125, 0.3);
}

.price__card--matsu .sitemap-diagram__branches {
    border-color: rgba(46, 107, 79, 0.3);
}

/* ラインのカラー調整 */
.price__card--ume .sitemap-diagram__line {
    background-color: #e07d7d;
}

.price__card--matsu .sitemap-diagram__line {
    background-color: #2e6b4f;
}

.sitemap-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.sitemap-diagram__top {
    z-index: 2;
}

.sitemap-diagram__line {
    width: 2px;
    height: 20px;
    /* 少し短く */
    background-color: var(--color-primary);
}

@media (max-width: 767px) {
    .maintenance__table {
        font-size: 15px;
    }
}

.sitemap-diagram__branches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: var(--space-md);
    border: 2px solid rgba(98, 184, 80, 0.2);
    border-radius: var(--radius-md);
    background-color: var(--color-white);
    width: 100%;
}

.sitemap-window {
    width: calc(50% - 15px);
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    background-color: var(--color-white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

/* 紐づいているページ（お知らせ一覧と詳細など）のスタイル */
.sitemap-window--linked {
    border-style: solid;
    border-color: #ff8e52 !important;
    /* アクセントカラーのオレンジ */
    background-color: #fff9f6;
    position: relative;
}

/* コネクター線（一覧から詳細へ） */
.sitemap-window--linked:nth-of-type(odd)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -17px;
    /* 枝分かれのギャップ(15px)を繋ぐ */
    width: 17px;
    height: 2px;
    border-top: 2px dashed #ff8e52;
    z-index: 1;
}

/* スマホ表示や折り返しで縦に並ぶ場合は線を消すか調整 */
@media (max-width: 767px) {
    .sitemap-window--linked:nth-of-type(odd)::after {
        display: none;
    }
}

.sitemap-window--linked .sitemap-window__header {
    background-color: rgba(255, 142, 82, 0.1);
    border-color: rgba(255, 142, 82, 0.2);
}

.sitemap-window--linked .sitemap-window__header span {
    background-color: #ff8e52;
}

.sitemap-window--linked .sitemap-window__body {
    color: #e67639;
}

@media (min-width: 768px) {
    .sitemap-window {
        width: calc(25% - 15px);
    }
}

/* Hover removed */

.sitemap-window--main {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.sitemap-window__header {
    height: 24px;
    background-color: rgba(98, 184, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 10px;
    gap: 5px;
    border-bottom: 1px solid rgba(98, 184, 80, 0.2);
}

.sitemap-window--main .sitemap-window__header {
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: none;
}

.sitemap-window__header span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    opacity: 0.6;
}

.sitemap-window--main .sitemap-window__header span {
    background-color: var(--color-white);
    opacity: 0.8;
}

.sitemap-window__body {
    padding: 0.6rem 0.1rem;
    /* パディングをさらに削る */
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--color-primary-dark);
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

.sitemap-window--main .sitemap-window__body {
    color: var(--color-white);
    font-size: 0.82rem;
    /* 0.85から微調整 */
}

/* ==========================================================================
   Flow
   ========================================================================== */
.flow__list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.flow__item {
    display: flex;
    flex-direction: row;
    gap: var(--space-sm);
    margin-bottom: 50px;
    /* Increased from calc(var(--space-md) + 10px) for mobile separation */
    position: relative;
    z-index: 1;
}

.flow__item:last-child {
    margin-bottom: 0;
    /* Remove margin from last item to avoid double spacing with section padding */
}

@media (min-width: 768px) {
    .flow__item {
        gap: var(--space-md);
    }
}

.flow__step-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48px;
    flex-shrink: 0;
    position: relative;
}

.flow__step-badge::after {
    content: '';
    position: absolute;
    top: 24px;
    /* Center of the first icon */
    bottom: -60px;
    /* Extend down past the item */
    left: 24px;
    /* Center on mobile */
    width: 2px;
    background-color: var(--color-primary-light);
    z-index: -1;
}

.flow__item:last-child .flow__step-badge::after {
    display: none;
}

@media (min-width: 768px) {
    .flow__step-badge {
        width: 80px;
    }

    .flow__step-badge::after {
        left: 40px;
        /* Center on desktop */
        top: 30px;
    }
}

.step-label {
    font-family: var(--font-family-en);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .step-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--color-white);
    /* To overlap line */
}

.step-icon img {
    width: 24px;
    height: 24px;
}

.flow__content {
    flex-grow: 1;
}

.flow__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.flow__box {
    background-color: var(--color-gray-50);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.flow__box--highlight {
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-primary);
}

/* ==========================================================================
   Member
   ========================================================================== */
.member__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .member__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.member__card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

/* Hover removed by user request */

.member__image {
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
}

.member__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    /* 画像のぼやけ(画質低下)を防ぐための指定 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* 3人目の写真だけ少し上部をトリミングする（頭のスペース調整） */
.member__card:nth-child(3) .member__image img {
    object-position: 50% 15%;
}

/* Hover removed by user request */

.member__info {
    padding: var(--space-md);
}

.member__name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.member__en-name {
    display: block;
    font-family: var(--font-family-en);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.member__desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-gray-800);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
    position: relative;
}

.faq__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: 0;
}

/* Add a pseudo-element for background decoration if needed */

.faq__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

@media (min-width: 992px) {
    .faq__list {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
        align-items: start;
    }
}

.faq__column {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq__item {
    background-color: var(--color-off-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq__item:hover {
    border-color: var(--color-primary);
}

.faq__item.is-open {
    box-shadow: var(--shadow-md);
    background-color: var(--color-white);
    border-color: var(--color-primary-light);
}

.faq__q {
    padding: var(--space-sm) var(--space-md);
    padding-right: 3rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    user-select: none;
    display: flex;
    align-items: center;
}

.faq__q::before {
    content: 'Q';
    color: var(--color-primary);
    font-family: var(--font-family-en);
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.faq__icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-text-main);
    transition: transform var(--transition-fast);
}

.faq__icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.faq__icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.faq__item.is-open .faq__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq__a {
    padding: 0 var(--space-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
    opacity: 0;
    background-color: var(--color-white);
    display: flex;
    align-items: flex-start;
}

.faq__item.is-open .faq__a {
    padding: 0 var(--space-md) var(--space-md) var(--space-md);
    max-height: 500px;
    /* Arbitrary large number */
    opacity: 1;
}

.faq__a::before {
    content: 'A';
    color: var(--color-accent-orange);
    font-family: var(--font-family-en);
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: -2px;
}

@media (max-width: 767px) {
    .faq__q {
        font-size: 15px;
        padding: 1rem 1rem;
        padding-right: 3rem;
    }

    .faq__q::before {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }

    .faq__icon {
        width: 16px;
        height: 16px;
        right: 1.25rem;
    }

    .faq__icon::before {
        width: 16px;
        top: 7px;
    }

    .faq__icon::after {
        height: 16px;
        left: 7px;
    }

    .faq__a {
        font-size: 15px;
        line-height: 1.6;
    }

    .faq__a::before {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }

    .faq__item.is-open .faq__a {
        padding: 0 1rem 1.25rem 1rem;
    }
}


/* ==========================================================================
   Voice (Customer Voice)
   ========================================================================== */
/* ==========================================================================
   Voice (Customer Voice) — モダンリデザイン
   ========================================================================== */
.voice {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) 0;
}

/* 緑色の背景パネル */
.voice__decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 100px);
    /* 右側に余白 */
    height: 100%;
    background-color: var(--color-primary);
    /* 参考画像に近い緑色 */
    border-radius: 0 160px 0 0;
    z-index: 1;
}

@media (min-width: 992px) {
    .voice__decoration {
        width: calc(100% - 200px);
        /* デスクトップではもう少し広めに空ける */
        border-radius: 0 240px 0 0;
    }
}

.voice .container {
    z-index: 2;
}

.voice__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-sm);
    /* 余白を詰める */
}

@media (min-width: 992px) {
    .voice__header {
        /* カードの右端（画面端から40px）に合わせるためマージンを計算 */
        margin-right: calc(50% - 50vw + 40px);
    }
}

.voice__en {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.voice__dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ff8e52;
    /* 参考画像のオレンジ */
    border-radius: 50%;
    margin-right: 12px;
}

.voice__title-main {
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 3rem;
}

.voice__nav {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.voice__arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
    color: var(--color-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.voice__arrow:hover {
    background-color: #444;
    transform: scale(1.05);
}

.voice__carousel {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    padding: 5px 0 60px;
    /* 上の余白をさらに詰め、シャドウが見える最小限に */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.voice__carousel::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    .voice__carousel {
        /* 画面右端から40pxのところまで届くようにしつつ、paddingで途切れを防止 */
        margin-right: -50vw;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        padding-left: calc(50vw - 50% + var(--container-px));
        padding-right: 40px;
        /* 右側の余白を確保して角丸が見えるように */
    }
}

.voice__card {
    flex: 0 0 calc(100% - 60px);
    /* 40pxから60pxに変更して余白を確保 */
    background-color: var(--color-white);
    color: var(--color-text-main);
    border-radius: 24px;
    /* 大きめの角丸 */
    border: 1px solid #f0f0f0;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* 薄いシャドウを追加 */
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

@media (min-width: 768px) {
    .voice__card {
        flex: 0 0 480px;
        /* カードをさらに大きく (420px -> 480px) */
        scroll-snap-align: start;
    }
}

.voice__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.voice__image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.voice__content {
    padding: 2rem;
}

.voice__category {
    display: inline-block;
    font-size: 0.85rem;
    color: #333;
    background-color: #e5e5e5;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.voice__title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    color: #000;
}

.voice__tags {
    display: flex;
    gap: 1rem;
}

.voice__tags span {
    font-size: 0.85rem;
    color: #999;
}

/* ==========================================================================
   Contact
   ========================================================================== */
/* ==========================================================================
   Contact — 画像付きリデザイン
   ========================================================================== */
.contact {
    background-color: var(--color-off-white);
    padding: 0;
    overflow: hidden;
}

/* 上部グリーンバナー */
.contact__banner {
    background-color: var(--color-primary);
    /* 画像に近いグリーン */
    border-radius: 100px 100px 0 0;
    /* 極端な角丸 */
    padding: 80px 20px 140px;
    text-align: center;
    color: var(--color-white);
}

@media (max-width: 767px) {
    .contact__banner {
        border-radius: 50px 50px 0 0;
        padding: 60px 20px 100px;
    }
}

.contact__dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ff8e52;
    /* 参考画像のオレンジ */
    border-radius: 50%;
    margin-right: 12px;
    z-index: 5;
}

.contact__en {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.contact__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.contact__desc {
    font-size: 0.95rem;
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
}

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

    .contact__desc br {
        display: none;
    }
}

/* 白いフローティングカード */
.contact__card {
    background: var(--color-white);
    border: 2px solid #333;
    /* 画像にあるはっきりした枠線 */
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 980px;
    margin: -80px auto 100px;
    /* バナーに大きく被せる */
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

@media (max-width: 767px) {
    .contact__card {
        border-radius: 36px;
        padding: 40px 20px;
        margin-bottom: 60px;
    }
}

@media (min-width: 768px) {
    .contact__card {
        padding: 50px 80px;
    }
}

.form-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 50px;
}

@media (max-width: 767px) {
    .contact__title {
        font-size: clamp(1.6rem, 1.26rem + 1.71vw, 2.8rem);
        margin-bottom: 1rem;
    }

    .form-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
}

/* フォームの各行（PC時は横並び） */
.form-group {
    border-top: 1px dotted #ccc;
    /* 画像にあるドットの区切り線 */
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 767px) {
    .form-group {
        padding: 20px 0;
        gap: 10px;
    }
}

.form-group:first-of-type {
    border-top: none;
}

.form-group:last-of-type {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .form-group {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .form-label {
        width: 180px;
        flex-shrink: 0;
    }

    .form-control {
        flex: 1;
    }
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1rem;
}

@media (max-width: 767px) {
    .form-label {
        font-size: 15px;
    }
}

/* バッジのカラーを画像に合わせる */
.badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.badge--optional {
    background-color: #8da6ca;
    /* 画像の淡いブルーに近い色 */
    color: var(--color-white);
}

.badge--required {
    background-color: #f28b8b;
    /* 画像の淡い赤に近い色 */
    color: var(--color-white);
}

/* 入力フィールド */
.form-control {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    background-color: #f5f5f5;
    /* 画像の薄グレー */
    font-family: inherit;
    font-size: 1rem;
    transition: background-color 0.3s;
}

@media (max-width: 767px) {
    .form-control {
        padding: 12px 16px;
        font-size: 15px;
    }
}

.form-control:focus {
    outline: none;
    background-color: #ececec;
}

textarea.form-control {
    resize: vertical;
    min-height: 160px;
}

.form-submit {
    text-align: center;
}

.btn--submit {
    background-color: var(--color-accent-orange);
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 18px 60px;
    border-radius: 100px;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 20px rgba(255, 142, 63, 0.15);
    width: 100%;
    max-width: 320px;
}

@media (max-width: 767px) {
    .btn--submit {
        padding: 12px 30px;
        font-size: 1rem;
        max-width: 220px;
    }
}

.btn--submit:hover {
    background-color: #ff7d26;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 142, 63, 0.25);
}

/* ==========================================================================
   Bottom CTA
   ========================================================================== */
.bottom-cta {
    padding: 0;
    overflow: hidden;
}

.bottom-cta__split {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.cta-box {
    flex: 1;
    min-width: 320px;
    padding: 100px 40px 80px;
    text-align: center;
    position: relative;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition-normal);
}

@media (max-width: 767px) {
    .cta-box {
        padding: 60px 20px 50px;
    }
}

.cta-box--download {
    background-color: var(--color-primary);
    /* グリーンに変更 */
}

.cta-box--contact {
    background-color: var(--color-accent-orange);
    /* オレンジに変更 */
}

.cta-top-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    .cta-top-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .cta-top-icon svg {
        width: 32px;
        height: 32px;
    }
}


.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

@media (max-width: 767px) {
    .cta-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
}

.cta-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 500;
}

@media (max-width: 767px) {
    .cta-text {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: var(--color-white);
    padding: 15px 30px;
    border-radius: 100px;
    text-decoration: none;
    transition: all var(--transition-normal);
    min-width: 280px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-btn-text {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

.cta-box--download .cta-btn-text {
    color: var(--color-primary);
}

.cta-box--contact .cta-btn-text {
    color: var(--color-accent-orange);
}

.cta-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cta-box--download .cta-btn-icon {
    color: var(--color-primary);
}

.cta-box--contact .cta-btn-icon {
    color: var(--color-accent-orange);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #1a1a1a;
    color: var(--color-white);
    padding: var(--space-xl) 0;
    position: relative;
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.footer__main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer__main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer__left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__logo {
    font-family: var(--font-family-heading);
    font-size: 2rem;
    color: var(--color-white);
    margin: 0;
    letter-spacing: 0.05em;
    font-weight: 800;
}

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

.footer__company-info {
    font-size: 0.85rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.6);
}

.footer__company-name {
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.footer__copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__bottom-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer__bottom-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer__right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer__right {
        align-items: flex-end;
        text-align: right;
    }
}

@media (max-width: 767px) {
    .footer__main {
        gap: 3rem;
        align-items: flex-start;
        text-align: left;
    }

    .footer__left,
    .footer__right {
        display: contents;
    }

    .footer__logo {
        order: 1;
        font-size: 1.7rem;
    }

    .footer__nav-group {
        order: 2;
        width: 100%;
    }

    .footer__nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer__nav-links a {
        font-size: 1rem;
    }

    .footer__company-info {
        order: 3;
    }

    .footer__address-zip {
        display: block;
    }
}

.footer__nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.footer__nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer__nav-links a:hover {
    color: var(--color-white);
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color var(--transition-fast);
}

.footer__legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.page-top {
    position: absolute;
    right: 20px;
    top: -30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.page-top::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--color-white);
    border-right: 2px solid var(--color-white);
    transform: rotate(-45deg);
    margin-top: 6px;
}

.page-top:hover {
    transform: translateY(-5px);
}

/* Utilities */
.relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

/* ==========================================================================
   Drawer Menu & Hamburger
   ========================================================================== */

/* Hamburger Button */
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    z-index: 1100;
    transition: all var(--transition-normal);
    padding: 0;
}

@media (max-width: 991px) {
    .header__hamburger {
        display: flex;
    }
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-gray-800);
    border-radius: 1.5px;
    transition: all var(--transition-normal);
}

/* Hamburger X Morph */
.header__hamburger.is-active span:nth-child(1) {
    transform: translateY(7.25px) rotate(45deg);
}

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

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

/* Drawer Container */
.drawer {
    position: fixed;
    top: 15px;
    right: -100%;
    width: calc(100% - 30px);
    max-width: 320px;
    height: calc(100vh - 30px);
    background-color: var(--color-white);
    z-index: 1050;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.drawer.is-open {
    right: 0;
}

.drawer__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 30px 40px;
}

.drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.drawer__logo {
    font-family: var(--font-family-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

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

.drawer__close {
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer__close span {
    position: absolute;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-gray-800);
    border-radius: 1.5px;
}

.drawer__close span:nth-child(1) {
    transform: rotate(45deg);
}

.drawer__close span:nth-child(2) {
    transform: rotate(-45deg);
}

.drawer__nav {
    margin-bottom: 40px;
}

.drawer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.drawer__nav-list a {
    font-size: 1.125rem;
    font-weight: 700;
    font-family: var(--font-family-heading);
    color: var(--color-gray-800);
    position: relative;
    display: inline-block;
}

.drawer__nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.drawer__nav-list a:hover::after {
    width: 100%;
}

.drawer__buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.drawer__btn {
    width: 100%;
    gap: 10px;
    padding: 0.875rem 1.5rem;
}

.drawer__btn--download {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.drawer__btn--contact {
    background-color: var(--color-accent-orange);
    color: var(--color-white);
}

.drawer__btn--contact:hover {
    background-color: #ff7d38;
}

.drawer__btn-icon {
    width: 32px;
    height: 32px;
    background-color: var(--color-white);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.drawer-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Body Lock */
body.is-drawer-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .header {
        top: 10px;
        width: calc(100% - 40px);
        border-radius: 60px;
    }

    .header__inner {
        height: 52px;
        padding: 0 12px 0 18px;
    }

    .header__logo {
        font-size: 1.05rem;
        letter-spacing: -0.03em;
    }

    .header__hamburger {
        width: 22px;
        height: 14px;
    }

    .header__btn-mobile {
        display: inline-flex;
        align-items: center;
        height: 34px;
        padding: 0 16px;
        background-color: #ff8e52;
        color: #fff;
        border-radius: 100px;
        font-size: 0.8rem;
        font-weight: 700;
        font-family: var(--font-family-heading);
        gap: 6px;
        transition: background-color var(--transition-fast);
    }

    .header__btn-mobile:hover {
        background-color: #ff7d38;
    }

    .header__mobile-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

/* ==========================================================================
   Download Page Styles
   ========================================================================== */
.page-download .header {
    background-color: var(--color-white);
}

.download-hero {
    padding-top: 140px;
    padding-bottom: 60px;
    background-color: #f7fafc;
    position: relative;
    border-bottom: 1px solid var(--color-gray-100);
}

@media (max-width: 991px) {
    .download-hero {
        padding-top: 130px;
        padding-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .download-hero {
        padding-top: 110px;
        padding-bottom: 30px;
    }
}

.download-hero__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 767px) {
    .download-hero__inner .section-en {
        font-size: 0.85rem;
    }

    .download-hero__inner .section-title {
        font-size: 24px;
        letter-spacing: 0.1em;
    }
}

.download-hero__desc {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

@media (max-width: 767px) {
    .download-hero__desc {
        font-size: 0.875rem;
        margin-top: 15px;
        line-height: 1.6;

        br {
            display: none;
        }
    }
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: left;
}

@media (max-width: 767px) {
    .breadcrumb {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }
}

.breadcrumb a {
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb__separator {
    margin: 0 0.5rem;
}

.download-hero__bg-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(at 100% 0%, rgba(98, 184, 80, 0.03) 0px, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

@media (min-width: 992px) {
    .download-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.material-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
}

.material-image {
    background-color: #f0f4f8;
    padding: 0;
}

.material-image img {
    width: 100%;
    height: auto;
    display: block;
}

.material-info {
    padding: 30px;
}

@media (max-width: 767px) {
    .material-info {
        padding: 30px 20px;
    }
}

.material-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-gray-800);
}

@media (max-width: 767px) {
    .material-title {
        font-size: 1.25rem;
    }
}

.material-stats {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.material-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.material-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--color-text-muted);
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form Styling within Download Page */
.download-form-container {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-100);
}

@media (max-width: 767px) {
    .download-form-container {
        padding: 30px 20px;
    }
}

.form-wrapper .form-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-black);
    text-align: left;
}

@media (max-width: 767px) {
    .form-wrapper .form-title {
        font-size: 1.25rem;
    }
}

.form-wrapper .form-instruction {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    text-align: left;
}

@media (max-width: 767px) {
    .form-wrapper .form-instruction {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
}

.download-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (max-width: 767px) {
    .download-form {
        gap: 24px;
    }
}

.download-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.download-form .form-group:last-of-type {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.download-form .form-label {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    margin-bottom: 0;
}

.label-required {
    font-size: 0.7rem;
    padding: 2px 6px;
    background-color: #ff5252;
    color: var(--color-white);
    border-radius: 4px;
    letter-spacing: 0;
}

.download-form .form-control {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: var(--color-white);
}

@media (max-width: 767px) {
    .download-form .form-control {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
}

.download-form .form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-light);
}

.form-privacy {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-top: 4px;
}

.form-privacy a {
    text-decoration: underline;
}

.form-submit {
    margin-top: 8px;
}

.form-submit .btn--submit {
    width: 100%;
    font-size: 1.1rem;
    height: 56px;
}

@media (max-width: 767px) {
    .btn--download-submit {
        font-size: 16px !important;
        max-width: 250px;
        height: 52px !important;
    }
}

/* -------------------------------------------
  Submission Modal
------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.is-active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal__content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 480px;
    padding: 48px 32px;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.is-active .modal__content {
    transform: scale(1) translateY(0);
}

.modal__icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.modal__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
    font-family: var(--font-zen);
}

.modal__text {
    font-size: 16px;
    color: var(--color-text-sub);
    line-height: 1.8;
    margin-bottom: 32px;
}

.modal__btn {
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .modal__content {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .modal__title {
        font-size: 20px;
    }

    .modal__text {
        font-size: 15px;
    }
}