@charset "UTF-8";
/* ==========================================================================
   CSS Variables & Typography
   ========================================================================== */
:root {
    /* Colors */
    --clr-primary: #0284c7;
    /* Trustworthy blue */
    --clr-primary-light: #e0f2fe;
    --clr-primary-dark: #0369a1;
    --clr-accent: #f59e0b;
    /* Warm accent */
    --clr-bg: #f8fafc;
    --clr-bg-alt: #f1f5f9;
    --clr-text-main: #334155;
    --clr-text-light: #64748b;
    --clr-white: #ffffff;
    --clr-border: #e2e8f0;

    /* Fonts */
    --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--clr-primary-dark);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utility */
.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--clr-primary-dark);
    position: relative;
}

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

.center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.icon-link {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    flex-shrink: 0;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-primary);
    color: var(--clr-white) !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--clr-primary);
}

.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    font-size: 1.125rem;
    padding: 16px 40px;
}

/* Animations */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-text-main);
}

.logo span {
    color: var(--clr-primary);
}

.global-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.global-nav a {
    color: var(--clr-text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.global-nav a:hover {
    color: var(--clr-primary);
}

.global-nav a.btn-nav {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 8px 20px;
    border-radius: 50px;
    transition: var(--transition);
}

.global-nav a.btn-nav:hover {
    background-color: var(--clr-primary-dark);
    color: var(--clr-white);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--clr-text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 20px 100px;
    background: linear-gradient(135deg, var(--clr-primary-light) 0%, #ffffff 100%);
    overflow: hidden;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-light);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    color: var(--clr-text-main);
    margin-bottom: 2rem;
}

.hero-title span {
    color: var(--clr-primary);
    background: linear-gradient(to right, var(--clr-primary), #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Sections Layout
   ========================================================================== */
.section {
    padding: 80px 0;
}

.section.dark-bg {
    background-color: var(--clr-bg-alt);
}

/* Intro */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.intro-box p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.check-list {
    margin: 1.5rem 0;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--clr-accent);
    font-weight: bold;
    font-size: 1.125rem;
}

.philosophy-box {
    background-color: var(--clr-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Services */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--clr-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--clr-primary-light);
    color: var(--clr-primary);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--clr-text-main);
}

.card-desc {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--clr-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.plan-header {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 1.5rem;
    text-align: center;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.sub-plan .plan-header {
    background-color: var(--clr-primary-dark);
}

.plan-body {
    padding: 2rem;
}

.prices {
    margin-bottom: 2rem;
}

.prices li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--clr-border);
}

.price-label {
    font-weight: 500;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.price-note {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    margin-top: 1rem;
}

.plan-details {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--clr-border);
}

.plan-details h4 {
    margin-bottom: 1rem;
    color: var(--clr-text-main);
}

.note {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    margin-top: 0.5rem;
}

.payment-timing {
    margin-top: 2rem;
    background-color: var(--clr-bg-alt);
    padding: 1.5rem;
    border-radius: 12px;
}

.payment-timing h4 {
    margin-bottom: 0.5rem;
}

.payment-timing p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.timeline {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    /* ラベルの上揃えを維持 */
    margin-top: 3rem !important;
}

.time-step {
    text-align: center !important;
    position: relative !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    height: 120px !important;
    /* 円の位置を揃えるために高さを固定 */
}

.time-step:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    bottom: 20px !important;
    /* time-valueの中心（40px/2） */
    left: calc(50% + 40px) !important;
    /* 開始円の右端からさらに10px離す */
    width: calc(100% - 80px) !important;
    /* 次の円の左端10px手前で終わる */
    height: 3px !important;
    background-color: var(--clr-primary) !important;
    z-index: 1 !important;
}

/* 矢印の先端を調整 */
.time-step:not(:last-child)::before {
    content: '' !important;
    position: absolute !important;
    bottom: 20px !important;
    left: calc(150% - 54px) !important;
    /* 次の円の左端（150% - 30px）よりも10px手前（-40px）に矢印の先端を置く。 */
    /* 矢印ボックスが20px正方形で45度回転しているため、先端のX座標差分（約14px）を引いて配置 */
    width: 20px !important;
    height: 20px !important;
    border-top: 3px solid var(--clr-primary) !important;
    border-right: 3px solid var(--clr-primary) !important;
    transform: translateY(50%) rotate(45deg) !important;
    z-index: 2 !important;
    display: block !important;
}

.time-label {
    font-size: 0.85rem !important;
    color: var(--clr-text-light) !important;
    line-height: 1.3 !important;
    padding: 0 5px !important;
    margin-bottom: 0 !important;
}

.time-value {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    /* 位置を固定 */
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    background-color: var(--clr-primary) !important;
    color: var(--clr-white) !important;
    font-weight: bold !important;
    width: 60px !important;
    min-width: 60px !important;
    /* 円が潰れないように確保 */
    height: 40px !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
}

.price-monthly {
    text-align: center;
    margin-bottom: 1rem;
}

.price-monthly .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.price-monthly .unit {
    color: var(--clr-text-light);
    font-weight: 500;
}

.plan-desc {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* split layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.sub-heading {
    font-size: 1.125rem;
    color: var(--clr-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.promise-list li {
    padding: 1rem;
    background-color: var(--clr-white);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.promise-list li::before {
    content: '★';
    color: var(--clr-accent);
    margin-right: 1rem;
    font-size: 1.25rem;
}


/* Accordion FAQ */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: var(--clr-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--clr-text-main);
    font-family: inherit;
    font-size: 1rem;
}

.faq-q {
    color: var(--clr-primary);
    font-weight: 700;
    margin-right: 0.5rem;
    font-size: 1.125rem;
}

.faq-title {
    flex-grow: 1;
    font-weight: 500;
}

.accordion-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--clr-text-main);
    transition: transform 0.3s ease;
}

.accordion-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.accordion-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.accordion-item.active .accordion-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion-inner {
    padding: 0 1.25rem 1.25rem;
    color: var(--clr-text-main);
}

.accordion-inner p {
    margin-bottom: 1rem;
}

.accordion-inner p:last-child {
    margin-bottom: 0;
}

.faq-note {
    background-color: var(--clr-bg-alt);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.faq-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #cbd5e1;
    text-align: center;
    font-weight: 600;
    color: var(--clr-primary-dark);
}

/* Profile */
.profile-area-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.profile-card {
    display: flex;
    background-color: var(--clr-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    gap: 2.5rem;
}

.profile-img-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--clr-primary-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
}

.profile-img-placeholder svg {
    width: 60px;
    height: 60px;
}

.profile-info dl {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-info dt {
    font-weight: 600;
    color: var(--clr-text-light);
}

.profile-info dd {
    font-weight: 500;
}

.profile-msg {
    line-height: 1.8;
}

.area-card {
    background-color: var(--clr-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

/* area map placeholder class added for index.html */
.area-map-placeholder {
    width: 120px;
    height: 120px;
    background-color: var(--clr-primary-light);
    border-radius: 16px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
}

.area-map-placeholder svg {
    width: 50px;
    height: 50px;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
    color: var(--clr-white);
}

.contact-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact .section-title {
    color: var(--clr-white);
}

.contact-msg {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}
.accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--clr-text-main);
    font-family: inherit;
    font-size: 1rem;
}

.faq-q {
    color: var(--clr-primary);
    font-weight: 700;
    margin-right: 0.5rem;
    font-size: 1.125rem;
}

.faq-title {
    flex-grow: 1;
    font-weight: 500;
}

.accordion-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--clr-text-main);
    transition: transform 0.3s ease;
}

.accordion-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.accordion-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.accordion-item.active .accordion-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion-inner {
    padding: 0 1.25rem 1.25rem;
    color: var(--clr-text-main);
}

.accordion-inner p {
    margin-bottom: 1rem;
}

.accordion-inner p:last-child {
    margin-bottom: 0;
}

.faq-note {
    background-color: var(--clr-bg-alt);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.faq-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #cbd5e1;
    text-align: center;
    font-weight: 600;
    color: var(--clr-primary-dark);
}

/* Profile */
.profile-area-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.profile-card {
    display: flex;
    background-color: var(--clr-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    gap: 2.5rem;
}

.profile-img-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--clr-primary-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
}

.profile-img-placeholder svg {
    width: 60px;
    height: 60px;
}

.profile-info dl {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-info dt {
    font-weight: 600;
    color: var(--clr-text-light);
}

.profile-info dd {
    font-weight: 500;
}

.profile-msg {
    line-height: 1.8;
}

.area-card {
    background-color: var(--clr-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

/* area map placeholder class added for index.html */
.area-map-placeholder {
    width: 120px;
    height: 120px;
    background-color: var(--clr-primary-light);
    border-radius: 16px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
}

.area-map-placeholder svg {
    width: 50px;
    height: 50px;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
    color: var(--clr-white);
}

.contact-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact .section-title {
    color: var(--clr-white);
}

.contact-msg {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact .btn-primary {
    background-color: var(--clr-white);
    color: var(--clr-primary) !important;
    border-color: var(--clr-white);
    padding: 12px 40px;
    /* 高さを抑える */
    white-space: nowrap;
    /* 1行に固定 */
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact .btn-primary:hover {
    background-color: transparent;
    color: var(--clr-white) !important;
}

/* Footer */
.footer {
    background-color: #1e293b;
    color: #f8fafc;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.brand-catch {
    color: #94a3b8;
    font-size: 0.9rem;
    white-space: nowrap;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
}

.footer-links ul {
    display: flex;
    gap: 1.5rem 2rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links a {
    color: #cbd5e1;
    white-space: nowrap;
}

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

.footer-bottom {
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 900px) {

    .pricing-grid,
    .profile-area-grid,
    .split-layout {
        grid-template-columns: 1fr;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        align-items: center;
    }

    .footer-links ul {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .global-nav {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        border-top: 1px solid var(--clr-border);
        z-index: 999;
    }

    .global-nav.active {
        transform: translateY(0);
    }

    .global-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .global-nav a.btn-nav {
        display: block;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 1rem;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .profile-info dl {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .profile-info dt {
        margin-top: 0.5rem;
    }

    .timeline {
        flex-direction: column !important;
        align-items: center !important;
        gap: 3rem !important;
    }

    .time-step {
        width: 100% !important;
        height: auto !important;
        padding-bottom: 50px !important;
        /* 下の矢印用の余白 */
    }

    .time-value {
        position: relative !important;
        /* 絶対配置を解除してラベルの下に続くようにする */
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 10px auto 0 !important;
    }

    .time-step:not(:last-child)::after {
        width: 3px !important;
        height: 40px !important;
        /* 縦線の長さ */
        top: auto !important;
        bottom: -10px !important;
        /* 円の下に配置 */
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* モバイル時の矢印先端を下向きに */
    .time-step:not(:last-child)::before {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        top: auto !important;
        bottom: -15px !important;
        /* 縦線の先に来るように配置 */
        left: 50% !important;
        transform: translateX(-50%) rotate(135deg) !important;
    }
}

/* ==========================================================================
   Subpage / Legal Page Styles
   ========================================================================== */
.legal-section-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    color: #000000;
    /* margin collapseを防ぎ、白背景の内側に適度な余白を持たせる */
    padding: 20px 20px 40px 20px;
    border-radius: 8px; /* 少し角丸を追加すると綺麗 */
}

.legal-content {
    line-height: 1.8;
    font-size: 1rem;
    padding: 0;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eaeaea;
    color: #000000;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #333333;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #333333;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--clr-primary, #0056b3);
    text-decoration: underline;
}

.nowrap-text {
    white-space: nowrap;
}

.legal-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-footer-links a {
    white-space: nowrap;
}

.footer-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
}

/* ==========================================================================
   Tokushoho Specific Styles (Legal tables, etc.)
   ========================================================================== */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5rem;
}

.legal-table th,
.legal-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    width: 30%;
    font-weight: 600;
    background-color: #f8fafc;
    color: #64748b;
}

.legal-table td {
    width: 70%;
    color: #334155;
}

.subscription-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
}

.subscription-section h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
    color: #334155;
    font-weight: 700;
}

@media (max-width: 768px) {
    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
        padding: 15px;
    }

    .legal-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .legal-table td {
        padding-top: 5px;
    }
}

/* ==========================================================================
   LINE Support Page Specific Styles
   ========================================================================== */
.line-hero {
    background: linear-gradient(135deg, #06C755 0%, #05a346 100%);
    color: white;
    padding: 120px 0 80px; /* ヘッダー下により余白を持たせる */
    text-align: center;
}

.page-main-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-catchcopy {
    color: white !important;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
}

.line-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.8;
}

/* 画像とライン連携のスタイル */
.intro-visual {
    max-width: 320px; /* スタイルのサイズに合わせる */
    margin: 0 auto 3rem; /* 上のセクションとの余白を詰める */
    border-radius: 24px; /* スタイル画面により合わせる */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); /* 浮いているような影 */
    overflow: hidden;
    border: 6px solid #222; /* 枠線のスタイル・スマホ画面のフレーム */
    background: #fff;
}

.intro-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.external-link-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: left;
}

.external-link-title {
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.external-link-url {
    font-size: 0.85rem;
    color: var(--clr-primary);
    word-break: break-all;
    text-decoration: underline;
}

.u-keep {
    display: inline-block;
    text-align: left;
}

.story-box {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.story-flex {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}
.story-item {
    flex: 1;
    padding: 2rem;
    border-radius: 12px;
}
.story-item.none { background: #f5f5f5; }
.story-item.with { background: #f0fdf4; border: 1px solid #06C755; }
.story-label { font-weight: 700; margin-bottom: 1rem; display: block; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-grid-equal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pricing-card-equal {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    flex: 1;
    max-width: 480px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
}

.pricing-card-equal .plan-header {
    background: var(--clr-primary);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
}

.pricing-card-equal .plan-header h3 {
    color: #fff !important;
    margin: 0;
    font-size: 1.4rem;
}

.pricing-card-equal .plan-body {
    padding: 3rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-display {
    text-align: center;
    margin-bottom: 2.5rem;
}

.price-amount-large {
    font-size: 3rem;
    font-weight: 700;
    color: var(--clr-primary);
    font-family: 'Outfit', sans-serif;
}

.price-unit {
    font-size: 1rem;
    color: #666;
    margin-left: 4px;
}

.tax-label {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-top: 0.2rem;
}

.plan-list-container {
    width: 100%;
    max-width: 240px;
}

.line-plan-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.line-plan-table th, .line-plan-table td { padding: 1.5rem; text-align: center; border: 1px solid #eee; }
.line-plan-table th { background: #f8f9fa; font-weight: 700; }
.plan-price { font-size: 1.5rem; color: #06C755; font-weight: 700; }

.payment-notice {
    background: #fff4f4;
    border: 1px solid #ffcccc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.count-info {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid #e0e0e0;
}

.count-info h4 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.count-info h4::before {
    content: "i";
    display: inline-flex;
    width: 20px;
    height: 20px;
    background: #06C755;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
}

.step-intro {
    background: #f0fdf4;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    border: 1px dashed #06C755;
}

@media (max-width: 768px) {
    .hero-catchcopy { font-size: 1.8rem; }
    .story-flex { flex-direction: column; }
    .pricing-grid-equal { flex-direction: column; align-items: center; }
    .pricing-card-equal { width: 100%; }
}

/* ==========================================================================
   HP Support Page Specific Styles
   ========================================================================== */
.hp-hero {
    background: linear-gradient(135deg, #0056b3 0%, #009DFF 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hp-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.8;
}

.story-item.with.hp-theme {
    background: #f0f8ff;
    border: 1px solid #009DFF;
}

.step-intro.hp-theme {
    background: #f0f8ff;
    border: 1px dashed #009DFF;
}

.tag-hp {
    display: inline-block;
    background: #009DFF;
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* --- Responsive Utility Classes --- */
.u-ib {
    display: inline-block;
}

.pc-only {
    display: inline;
}

.sp-only {
    display: none;
}

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

/* ==========================================================================
   Price Page Specific Styles
   ========================================================================== */
.price-list-area h2 {
    border-bottom: 2px solid var(--clr-primary-light);
    padding-bottom: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--clr-primary-dark);
}
.price-list-area h3 {
    font-size: 1.25rem;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--clr-primary);
    padding-left: 0.8rem;
}
.price-list-area ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}
.price-list-area p {
    line-height: 1.8;
    margin-bottom: 1rem;
}
.payment-btn-wrapper {
    margin-bottom: 2.5rem;
}
.nobreak {
    display: inline-block;
}

/* 特商法・サブページの底部余白調整 */
.section:has(.legal-section-container) {
    padding-bottom: 20px !important;
}

/* hasが効かないブラウザ向けかつ、マージンの突き抜け対策後の設定 */
.legal-section-container {
    margin-bottom: 0 !important;
}

/* ==========================================================================
   Utility & Responsive Adjustments for index2
   ========================================================================== */
.nowrap {
    white-space: nowrap;
}

.inline-block {
    display: inline-block;
    vertical-align: bottom;
    white-space: nowrap;
}

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

.hero {
    padding: 0 !important;
    height: 0 !important;
    padding-top: 56.25% !important;
    background: url('img/top_image.webp') center/cover no-repeat !important;
    position: relative;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 62%;
    transform: translateY(-50%);
    margin: 0 !important;
    max-width: 480px !important;
    text-align: left !important;
    width: 100%;
}

.hero-subtitle {
    font-size: 1rem !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

.hero-title {
    color: #000000 !important;
    font-size: 2.0rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.0rem !important;
}

.hero-title span {
    background: none !important;
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
}

@media (max-width: 1024px) {
    .hero-content {
        max-width: 400px !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .intro-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .intro-grid .section-title {
        text-align: center;
    }

    .intro-box .check-list {
        display: inline-block;
        text-align: left;
        margin: 1.5rem auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100% !important;
        background: url('img/top_image_smart.webp') center/cover no-repeat !important;
    }

    .hero-content {
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255, 255, 255, 0.85);
        padding: 40px 20px;
        border-radius: 16px;
        max-width: 90% !important;
        width: 100%;
        text-align: center !important;
    }

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

.footer-links .main-links,
.footer-links .legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links .main-links {
    margin-bottom: 1.5rem;
}
