:root {
    --color-primary: #a67b5b;
    /* Soft Brown */
    --color-secondary: #f7446a;
    /* Pink */
    --color-bg: #ffffff;
    /* White */
    --color-bg-alt: #fff9f5;
    /* Very light warm white */
    --color-text: #5a4a42;
    /* Dark Brown for text */
    --color-text-light: #8c7b70;
    --font-main: 'Zen Old Mincho', serif;
    --shadow-soft: 0 10px 30px rgba(166, 123, 91, 0.08);
    --shadow-card: 0 4px 20px rgba(163, 101, 53, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 2.0;
    /* Increased for sincerity/calm */
    background-color: var(--color-bg);
    letter-spacing: 0.05em;
    /* Added spacing */
}

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

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

a:hover {
    opacity: 0.8;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

@media screen and (max-width:768px) {
    .font-size-S {
        font-size: 10px;
    }

    .font-size-M {
        font-size: 11px;
    }

    .font-size-L {
        font-size: 21px;
    }
}

/*for tablet*/
@media screen and (min-width:768px) and (max-width:1024px) {
    .font-size-S {
        font-size: 10px;
    }

    .font-size-M {
        font-size: 11px;
    }

    .font-size-L {
        font-size: 2px;
    }
}

/*for PC*/
@media screen and (min-width:1024px) {
    .font-size-S {
        font-size: 10px;
    }

    .font-size-M {
        font-size: 11px;
    }

    .font-size-L {
        font-size: 24px;
    }
}

.pricing-table {
    background-color: var(--color-bg-alt);
    padding: 30px;
    border-radius: 20px;
    text-align: left;

}

th {
    border-bottom: 1px solid rgba(163, 101, 53, 0.2);
}

td {
    border-bottom: 1px solid rgba(163, 101, 53, 0.2);
}

.menu {
    text-align: left;
}

.price {
    text-align: left;
    padding: 30px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    /* More opaque */
    padding: 20px 0;
    /* Increased padding */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(166, 123, 91, 0.05);
    /* Softer shadow */
    backdrop-filter: blur(5px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 100px;
}

.logo img {
    height: 100px;
    width: 90px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    /* Increased gap */
    align-items: center;
}

.nav a {
    font-weight: 500;
    /* Slightly lighter weight */
    color: var(--color-primary);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
    opacity: 0.6;
}

.nav a:hover::after {
    width: 100%;
}

.btn-contact {
    background: linear-gradient(135deg, var(--color-secondary), #ffc2d1);
    /* Gradient */
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(244, 166, 182, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 166, 182, 0.4);
    opacity: 1;
}

.demobox-header {
    background: #ddd;
    height: 64px;
    padding: 1em;
}

/* headerのサイト名（デモの参考値） */
.demobox-sitename {
    font-weight: 700;
    font-size: 18px;
}

/* 全体調整CSS */
.hamburger-demo-menubox * {
    font-size: 16px;
}

.hamburger-demo-menubox li {
    font-size: 14px;
}

/* hamburgerここから */
/* inputを非表示 */
.input-hidden {
    display: none;
}

/* label */
.hamburger-demo-switch {
    cursor: pointer;
    position: absolute;
    right: 3%;
    top: 0;
    /* ハンバーガーアイコンの位置（上から） */
    z-index: 9999;
    width: 4em;
    /* アイコン（クリック可能領域）の幅 */
    height: 4em;
    /* アイコン（クリック可能領域の）高さ */
}

/* メニュー展開時にハンバーガーアイコンを固定 */
#hamburger-demo1:checked~.hamburger-demo-switch {
    position: fixed;
}

/* ハンバーガーアイコン */
.hamburger-switch-line1,
.hamburger-switch-line1:before,
.hamburger-switch-line1:after {
    width: 25px;
    height: 3px;
    background: #333;
    /* ハンバーガーアイコンの色 */
    position: absolute;
    top: 50%;
    left: 50%;
    transition: .3s;
    content: "";
}

.hamburger-switch-line1 {
    transform: translate(-50%, -50%);
}

.hamburger-switch-line1:before {
    transform: translate(-50%, -300%);
}

.hamburger-switch-line1:after {
    transform: translate(-50%, 200%);
}

/* ハンバーガーアイコン･アニメーション */
#hamburger-demo1:checked~.hamburger-demo-switch .hamburger-switch-line1 {
    width: 0;
}

#hamburger-demo1:checked~.hamburger-demo-switch .hamburger-switch-line1:before {
    transform: rotate(45deg) translate(-40%, 325%);
}

#hamburger-demo1:checked~.hamburger-demo-switch .hamburger-switch-line1:after {
    transform: rotate(-45deg) translate(-40%, -325%);
}

/* メニューエリア */
.hamburger-demo-menuwrap {
    position: fixed;
    height: 100%;
    background: #fafafa;
    /* メニューエリアの背景色 */
    padding: 5em 3% 2em;
    z-index: 9998;
    transition: .3s;
    overflow-y: scroll;
    /* メニュー内容が多い場合に縦スクロールする */
    top: 0;
    left: 100%;
    width: 70%;
}

/* メニューリスト */
.hamburger-demo-menulist {
    margin-right: 3%;
    padding-left: 5% !important;
    /* !important不要な場合もあり */
    list-style: none;
}

.hamburger-demo-menulist li a {
    text-decoration: none;
    color: #333;
    /* メニューリストの文字色 */
    display: block;
    padding: .5em 0;
}

/* メニューエリア･アニメーション */
/* 右から */
#hamburger-demo1:checked~.hamburger-demo-menuwrap {
    left: 30%;
}

/* コンテンツカバー */
#hamburger-demo1:checked~.hamburger-demo-cover {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9997;
    background: rgba(3, 3, 3, .5);
    display: block;
}

/* PCではハンバーガーメニューを表示しない */
@media (min-width: 992px) {
    .hamburger-demo-menubox {
        display: none;
    }
}

/* ===== ハンバーガー追加 ===== */
.hamburger {
    display: none;
    /* PCでは非表示 */
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
    line-height: 0;
}

.hamburger__line {
    display: block;
    width: 28px;
    height: 2px;
    margin: 6px 0;
    background: var(--color-primary);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* SP表示 */
@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* SPではナビをドロップダウン化 */
    .nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        width: min(320px, calc(100vw - 40px));
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 10px 30px rgba(166, 123, 91, 0.12);
        border-radius: 16px;
        padding: 14px 14px;

        /* 初期は閉じる */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        backdrop-filter: blur(5px);
        z-index: 200;
    }

    .nav ul {
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .nav a {
        display: block;
        padding: 10px 10px;
    }

    /* 無料相談ボタンは幅いっぱいでも見栄え良く */
    .btn-contact {
        text-align: center;
    }

    /* 開いた状態 */
    .nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* ハンバーガーが×になるアニメーション */
    .hamburger.is-open .hamburger__line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.is-open .hamburger__line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-open .hamburger__line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Hero */
.hero {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    /* Increased padding */
    background-color: var(--color-bg-alt);
    background-image: radial-gradient(circle at top right, rgba(244, 166, 182, 0.1), transparent 40%);
}

.hero-image img {
    max-height: 400px;
    border-radius: 30px;
    /* Softer corners */
    box-shadow: var(--shadow-soft);
    margin-bottom: 50px;
}

.hero-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--color-primary);
    line-height: 1.6;
    font-weight: 500;
}

.hero-title .highlight {
    background: linear-gradient(transparent 70%, rgba(244, 166, 182, 0.3) 70%);
    /* Softer highlight */
    font-weight: 700;
    padding: 0 5px;
    font-size: 2.2rem;
}

.hero-text {
    font-size: 1.15rem;
    margin-bottom: 50px;
    color: var(--color-text);
}

.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), #c49a7a);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(166, 123, 91, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(166, 123, 91, 0.35);
    opacity: 1;
}

/* Problems Section */
.problems {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 60px;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    /* Thinner line */
    background-color: var(--color-secondary);
    margin: 20px auto 0;
    border-radius: 2px;
    opacity: 0.6;
    /* Softer */
}

.problems-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.problem-item {
    background-color: white;
    /* Changed to white for card effect */
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: none;
    /* Removed border */
    box-shadow: var(--shadow-card);
    /* Soft shadow */
    transition: transform 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
}

.check-icon {
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
    background-color: rgba(244, 166, 182, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.solution-message {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, rgba(244, 166, 182, 0.05), rgba(166, 123, 91, 0.05));
    border-radius: 30px;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--color-bg-alt);
    text-align: center;
}

.contact-text {
    margin-bottom: 50px;
    font-size: 1.3rem;
    color: var(--color-text);
}

.btn-contact-large {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-secondary), #ffc2d1);
    color: white;
    padding: 25px 80px;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(244, 166, 182, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(244, 166, 182, 0.4);
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .nav ul {
        gap: 20px;
        font-size: 0.95rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Hero */
    .hero {
        position: relative;
        text-align: center;
        padding: 100px 20px;
        /* Increased padding */
        background-color: var(--color-bg-alt);
        background-image: radial-gradient(circle at top right, rgba(244, 166, 182, 0.1), transparent 40%);
    }

    .hero-image img {
        max-height: 400px;
        border-radius: 30px;
        /* Softer corners */
        box-shadow: var(--shadow-soft);
        margin-bottom: 50px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
        color: var(--color-primary);
        line-height: 1.6;
        font-weight: 500;
    }

    .hero-title .highlight {
        background: linear-gradient(transparent 70%, rgba(244, 166, 182, 0.3) 70%);
        /* Softer highlight */
        font-weight: 700;
        padding: 0 5px;
    }

    .hero-text {
        font-size: 1.15rem;
        margin-bottom: 50px;
        color: var(--color-text);
    }

    .btn-hero {
        display: inline-block;
        background: linear-gradient(135deg, var(--color-primary), #c49a7a);
        color: white;
        padding: 18px 50px;
        border-radius: 50px;
        font-size: 1.2rem;
        font-weight: bold;
        box-shadow: 0 8px 25px rgba(166, 123, 91, 0.25);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .btn-hero:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(166, 123, 91, 0.35);
        opacity: 1;
    }

    /* Problems Section */
    .problems {
        padding: 100px 0;
        background-color: white;
    }

    .section-title {
        text-align: center;
        font-size: 1.8rem;
        color: var(--color-primary);
        margin-bottom: 60px;
        position: relative;
        display: table;
        margin-left: auto;
        margin-right: auto;
        font-weight: 500;
    }

    .section-title::after {
        content: '';
        display: block;
        width: 50px;
        height: 2px;
        /* Thinner line */
        background-color: var(--color-secondary);
        margin: 20px auto 0;
        border-radius: 2px;
        opacity: 0.6;
        /* Softer */
    }

    .problems-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        margin-bottom: 60px;
    }

    .problem-item {
        background-color: white;
        /* Changed to white for card effect */
        padding: 30px;
        border-radius: 20px;
        display: flex;
        align-items: flex-start;
        gap: 20px;
        border: none;
        /* Removed border */
        box-shadow: var(--shadow-card);
        /* Soft shadow */
        transition: transform 0.3s ease;
    }

    .problem-item:hover {
        transform: translateY(-5px);
    }

    .check-icon {
        color: var(--color-secondary);
        font-weight: bold;
        font-size: 1.3rem;
        flex-shrink: 0;
        background-color: rgba(244, 166, 182, 0.1);
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .solution-message {
        text-align: center;
        font-size: 1.6rem;
        font-weight: 500;
        color: var(--color-primary);
        margin-top: 60px;
        padding: 50px;
        background: linear-gradient(135deg, rgba(244, 166, 182, 0.05), rgba(166, 123, 91, 0.05));
        border-radius: 30px;
        line-height: 1.6;
    }

    /* Contact Section */
    .contact {
        padding: 0 0 100px 0;
        border-radius: 50px;
        font-size: 1.6rem;
        font-weight: bold;
        box-shadow: 0 10px 30px rgba(244, 166, 182, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .btn-contact-large:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(244, 166, 182, 0.4);
        opacity: 1;
    }

    /* Footer */
    .footer {
        background-color: var(--color-primary);
        color: white;
        padding: 30px 0;
        text-align: center;
        font-size: 0.9rem;
        opacity: 0.95;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .header-container {
            flex-direction: column;
            gap: 20px;
        }

        .nav ul {
            gap: 20px;
            font-size: 0.95rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .hero-title {
            font-size: 1.6rem;
        }

        .hero {
            padding: 60px 20px;
        }
    }
}

/* Philosophy Section */
.philosophy {
    padding: 0 0 100px 0;
    background-color: var(--color-bg-alt);
    text-align: center;
}

.philosophy-intro {
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 700;
}

.philosophy-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: center;
    display: inline-block;
}

.stance-title {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.stance-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
    margin: 15px auto 0;
    opacity: 0.6;
}

.stance-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stance-item {
    background-color: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.stance-item:hover {
    transform: translateY(-5px);
}

.stance-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.stance-desc {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8;
}

.stance-cta {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .philosophy-title {
        font-size: 1.5rem;
    }

    .philosophy-text p {
        text-align: left;
    }
}

/* Page Header */
.page-header {
    padding: 150px 0 30px;
    text-align: center;
    background-color: var(--color-bg-alt);
}

/* Support Flow */
.support-flow {
    padding: 80px 0;
    background-color: white;
}

.flow-list {
    max-width: 800px;
    margin: 0 auto;
}

.flow-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

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

.flow-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-secondary);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
    font-family: var(--font-main);
}

.flow-content {
    padding-top: 10px;
    flex-grow: 1;
}

.flow-title {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 10px;
    display: inline-block;
}

.flow-time {
    font-size: 1rem;
    font-weight: normal;
    margin-left: 10px;
}

.flow-details {
    list-style: none;
}

.flow-details li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 8px;
    line-height: 1.8;
}

.flow-details li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    display: block;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .flow-item {
        flex-direction: column;
        gap: 10px;
    }

    .flow-number {
        font-size: 2rem;
    }

    .flow-title {
        display: block;
        border-bottom: none;
        margin-bottom: 10px;
        padding-bottom: 0;
        position: relative;
    }

    .flow-title::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--color-secondary);
        margin-top: 5px;
    }

    .flow-time {
        display: block;
        margin-left: 0;
        margin-top: 5px;
        font-size: 0.9rem;
    }
}


/* Service Page */
.section-subtitle {
    margin: 50px;
    color: var(--color-text-light);
    font-size: 1.2rem;
    text-align: center;
}

.service-intro {
    padding: 0 0 80px 0;
    text-align: center;
    background-color: var(--color-bg-alt);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text b {
    font-size: 1.3rem;
    font-weight: bold;
    font-family: var(--font-main);
}

.service-axes {
    padding: 80px 0;
    background-color: white;
}

.axis-item {
    margin-bottom: 80px;
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

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

.axis-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-bg-alt);
    padding-bottom: 20px;
}

.axis-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-secondary);
    opacity: 0.3;
    line-height: 1;
    font-family: var(--font-main);
}

.axis-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: bold;
}

.axis-details {
    list-style: none;
    margin-left: 20px;
}

.axis-details li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.axis-details li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-size: 0.9em;
}

.axis-desc {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.sub-axis {
    margin-top: 30px;
    background-color: var(--color-bg-alt);
    padding: 25px;
    border-radius: 15px;
}

.sub-axis-title {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 15px;
}

.axis-footer-text {
    margin-top: 30px;
    font-weight: 500;
    text-align: center;
    color: var(--color-primary);
}

/* Partial Support */
.partial-support {
    padding: 100px 0;
    background-color: var(--color-bg-alt);
    text-align: center;
}

.partial-intro {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.partial-list {
    list-style: none;
    display: inline-block;
    text-align: left;
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
}

.partial-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-bg-alt);
    padding-bottom: 15px;
}

.partial-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.partial-list li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

.partial-footer {
    font-weight: bold;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .axis-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .axis-number {
        font-size: 2.5rem;
    }

    .axis-title {
        font-size: 1.5rem;
    }

    .axis-item {
        padding: 25px;
    }
}

/* Diagnosis & Plans */
.diagnosis-plans {
    padding: 80px 0;
    background-color: white;
}

.plan-group {
    margin-bottom: 60px;
}

.plan-group-title {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin: 50px 0 30px;
    border-bottom: 2px solid var(--color-bg-alt);
    padding-bottom: 10px;
    font-weight: bold;
}

.plan-card {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
    border: 1px solid var(--color-bg-alt);
}

.plan-card:last-child {
    margin-bottom: 0;
}

.plan-title {
    font-size: 1.3rem;
    color: var(--color-text);
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.plan-details {
    list-style: none;
    margin-top: 15px;
    background-color: var(--color-bg-alt);
    padding: 20px;
    border-radius: 10px;
}

.plan-details li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.plan-details li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-grid .plan-card {
    margin-bottom: 0;
    height: 100%;
}

.plan-price {
    font-weight: bold;
    color: var(--color-primary);
    margin-top: 10px;
    display: block;
}

.area-list {
    background-color: var(--color-bg-alt);
    padding: 30px;
    border-radius: 20px;
}

.area-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(163, 101, 53, 0.2);
    display: flex;
    flex-direction: column;
}

.area-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.area-name {
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 5px;
}

/* Contact Page */
.contact-content {
    padding: 60px 0;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--color-text);
}

.required {
    background-color: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.optional {
    background-color: #95a5a6;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Zen Old Mincho', serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    .axis-number {
        font-size: 2.5rem;
    }

    .axis-title {
        font-size: 1.5rem;
    }

    .axis-item {
        padding: 25px;
    }
}

/* Diagnosis & Plans */
.diagnosis-plans {
    padding: 80px 0;
    background-color: white;
}

.plan-group {
    margin-bottom: 60px;
}

.plan-group-title {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-bg-alt);
    padding-bottom: 10px;
    font-weight: bold;
}

.plan-card {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
    border: 1px solid var(--color-bg-alt);
}

.plan-card:last-child {
    margin-bottom: 0;
}

.plan-title {
    font-size: 1.3rem;
    color: var(--color-text);
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.plan-details {
    list-style: none;
    margin-top: 15px;
    background-color: var(--color-bg-alt);
    padding: 20px;
    border-radius: 10px;
}

.plan-details li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.plan-details li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-grid .plan-card {
    margin-bottom: 0;
    height: 100%;
}

.plan-price {
    font-weight: bold;
    color: var(--color-primary);
    margin-top: 10px;
    display: block;
}

.area-list {
    background-color: var(--color-bg-alt);
    padding: 30px;
    border-radius: 20px;
}

.area-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(163, 101, 53, 0.2);
    display: flex;
    flex-direction: column;
}

.area-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.area-name {
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 5px;
}

/* Contact Page */
.contact-content {
    padding: 60px 0;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--color-text);
}

.required {
    background-color: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.optional {
    background-color: #95a5a6;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Zen Old Mincho', serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    .btn-submit {
        background-color: var(--color-primary);
        color: white;
        border: none;
        padding: 15px 60px;
        font-size: 1.1rem;
        border-radius: 30px;
        cursor: pointer;
        font-family: 'Zen Old Mincho', serif;
        transition: background-color 0.3s, transform 0.3s;
    }

}

/* Diagnosis & Plans */
.diagnosis-plans {
    padding: 80px 0;
    background-color: white;
}

.plan-group {
    margin-bottom: 60px;
}

.plan-group-title {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-bg-alt);
    padding-bottom: 10px;
    font-weight: bold;
}

.plan-card {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
    border: 1px solid var(--color-bg-alt);
}

.plan-card:last-child {
    margin-bottom: 0;
}

.plan-title {
    font-size: 1.3rem;
    color: var(--color-text);
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.plan-details {
    list-style: none;
    margin-top: 15px;
    background-color: var(--color-bg-alt);
    padding: 20px;
    border-radius: 10px;
}

.plan-details li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.plan-details li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-grid .plan-card {
    margin-bottom: 0;
    height: 100%;
}

.plan-price {
    font-weight: bold;
    color: var(--color-primary);
    margin-top: 10px;
    display: block;
}

.area-list {
    background-color: var(--color-bg-alt);
    padding: 30px;
    border-radius: 20px;
}

.area-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(163, 101, 53, 0.2);
    display: flex;
    flex-direction: column;
}

.area-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.area-name {
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 5px;
}

/* Contact Page */
.contact-content {
    padding: 60px 0;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--color-text);
}

.required {
    background-color: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.optional {
    background-color: #95a5a6;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Zen Old Mincho', serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    /* Added to make this rule syntactically correct */
}

.btn-submit {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 15px 60px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Zen Old Mincho', serif;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-submit:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }

    .btn-submit {
        width: 100%;
    }
}

/* About Us Page */
.aboutus-intro {
    background-color: var(--color-bg-alt);
    padding-bottom: 50px;
}

.aboutus-intro-text {
    font-size: 1.3rem;
    line-height: 1.8;
    padding-bottom: 40px;
    text-align: left;
}

.aboutus-main {
    padding: 60px 0;
}

.aboutus-text {
    font-size: 1rem;
    line-height: 1.8;
    padding-bottom: 40px;
}

.flex {
    display: flex;
    /*横並び*/
}

.flex .image {
    width: 40%;
    margin: 0;
    padding: 0;
}

.flex .image img {
    width: 100%;
    height: auto;
}

.flex .text {
    margin: 0 0 0 20px;
    padding: 0;
    width: 100%;
}

.aboutus-table {
    padding: 30px;
    border-radius: 20px;
    text-align: left;
}


body {
    margin: 20px;
    padding: 0;
}

@media screen and (max-width: 768px) {
    .pc-br {
        display: none;
        /* brタグを非表示にして改行を無効化 */
    }
}

.policy {
    width: 60%;
    margin: 20px 20%;
}

@media screen and (max-width: 768px) {
    .policy {
        width: 100%;
        margin: 10px 0;
    }
}