@charset "UTF-8";

/* ==========================================
   在宅えいよう薬局
   大手調剤薬局HPの中央値を参考にした
   クリーンで洗練されたデザイン
   ========================================== */

:root {
    /* Base palette */
    --green-900: #1f3a29;   /* 最も濃いグリーン（見出し・強調） */
    --green-700: #3f6b4f;   /* 濃いグリーン（ボタン・アクセント線） */
    --green-500: #6b9e78;   /* ブランドグリーン（プライマリ） */
    --green-300: #b5d3ba;   /* うすみどり */
    --green-100: #e7f0e9;   /* 背景用うっすらグリーン */
    --green-50:  #f4f8f5;   /* 極薄グリーン（セクション背景） */

    --ink-900: #111827;     /* 本文最強調 */
    --ink-800: #1f2937;     /* 本文 */
    --ink-600: #4b5563;     /* 副本文 */
    --ink-400: #9ca3af;     /* ミュート */
    --ink-200: #e5e7eb;     /* ボーダー */
    --ink-100: #f3f4f6;     /* 極薄背景 */

    --white: #ffffff;

    /* Type */
    --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    --font-en: "Cormorant Garamond", "Noto Serif JP", serif;

    /* Layout */
    --container: 1120px;
    --container-narrow: 920px;

    /* Radius */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 18px;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, .04);
    --shadow-md: 0 4px 12px rgba(17, 24, 39, .06);
}

*, *::before, *::after { box-sizing: border-box; }

/* スキップリンク（アクセシビリティ） */
.skip-link {
    position: absolute;
    top: -40px;
    left: 8px;
    background: var(--green-900);
    color: #fff;
    padding: 8px 16px;
    z-index: 999;
    border-radius: 0 0 6px 6px;
    font-size: 1.3rem;
    transition: top .2s ease;
}
.skip-link:focus { top: 0; outline: 2px solid var(--green-300); outline-offset: 2px; }

/* 未実装リンク用 */
a[aria-disabled="true"] { cursor: not-allowed; }
a[aria-disabled="true"]:hover .title { color: inherit !important; }

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-jp);
    font-size: 1.5rem;
    line-height: 1.85;
    color: var(--ink-800);
    background: var(--white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "palt";
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease, border-color .2s ease, background .2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .02em;
    color: var(--green-900);
}

ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
    width: min(var(--container), 92%);
    margin: 0 auto;
}

.container-narrow {
    width: min(var(--container-narrow), 92%);
    margin: 0 auto;
}

/* ==========================================
   共通：セクションタイトル
   ========================================== */
.sec-title {
    text-align: center;
    margin-bottom: 56px;
}

.sec-title .en {
    display: block;
    font-family: var(--font-en);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: .4em;
    color: var(--green-500);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sec-title h2 {
    font-size: 2.8rem;
    letter-spacing: .06em;
}

.sec-title .sub {
    margin-top: 14px;
    font-size: 1.4rem;
    color: var(--ink-600);
}

/* ==========================================
   ボタン
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .08em;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-700);
    color: var(--white);
}
.btn-primary:hover { background: var(--green-900); }

.btn-outline {
    background: transparent;
    color: var(--green-900);
    border-color: var(--green-700);
}
.btn-outline:hover { background: var(--green-700); color: var(--white); }

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-white {
    background: var(--white);
    color: var(--green-900);
}
.btn-white:hover { background: var(--green-100); }

.arrow {
    width: 1em; height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

/* ==========================================
   ヘッダー
   ========================================== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--ink-200);
}

header .header-inner {
    width: min(var(--container), 94%);
    margin: 0 auto;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--green-900);
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex: 0 0 40px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.brand .brand-name {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.brand .brand-en {
    font-family: var(--font-en);
    font-size: 1.1rem;
    color: var(--green-500);
    letter-spacing: .3em;
    text-transform: uppercase;
}

.gnav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.gnav a {
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--ink-800);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
}

.gnav a:hover {
    color: var(--green-700);
    border-bottom-color: var(--green-500);
}

.gnav .contact-btn {
    background: var(--green-700);
    color: var(--white);
    padding: 10px 22px;
    border-radius: var(--r-sm);
    border-bottom: none;
}

.gnav .contact-btn:hover {
    background: var(--green-900);
    color: var(--white);
    border-bottom-color: transparent;
}

.menu-btn {
    display: none;
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.menu-btn span {
    position: absolute;
    left: 6px;
    right: 6px;
    height: 1.5px;
    background: var(--green-900);
    transition: transform .3s, top .3s;
}

.menu-btn span:nth-child(1) { top: 12px; }
.menu-btn span:nth-child(2) { top: 18px; }
.menu-btn span:nth-child(3) { top: 24px; }

/* ==========================================
   Hero (LP)
   ========================================== */
.hero {
    position: relative;
    padding: 88px 0 96px;
    background:
      radial-gradient(circle at 85% 20%, var(--green-100) 0, transparent 40%),
      linear-gradient(180deg, var(--green-50) 0, var(--white) 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
}

.hero .tagline {
    font-family: var(--font-en);
    font-size: 1.2rem;
    letter-spacing: .4em;
    color: var(--green-500);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hero .tagline::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 1px;
    background: var(--green-500);
}

.hero h1 {
    font-size: clamp(2.4rem, 4.2vw, 4.4rem);
    line-height: 1.5;
    letter-spacing: .04em;
    margin-bottom: 28px;
}

.hero h1 .line-accent {
    color: var(--green-700);
    position: relative;
    padding-bottom: 4px;
    background-image: linear-gradient(var(--green-300), var(--green-300));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: left bottom;
}

.hero p.lead {
    font-size: 1.55rem;
    line-height: 2.1;
    color: var(--ink-600);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero .actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-visual {
    aspect-ratio: 4 / 5;
    background:
      radial-gradient(circle at 28% 22%, #ffffff 0, transparent 60%),
      radial-gradient(circle at 80% 85%, var(--green-300) 0, transparent 55%),
      linear-gradient(135deg, var(--green-100) 0%, #d6e6d9 100%);
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-visual::before {
    /* 同心円のやわらかい意匠（亀ロゴは多用しない） */
    content: "";
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    box-shadow:
      inset 0 0 0 8px rgba(255,255,255,.25),
      0 0 60px rgba(107,158,120,.18);
}

.hero-visual::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 160px;
    height: 160px;
    background: var(--green-100);
    border-radius: 50%;
    opacity: .7;
    z-index: -1;
}

/* ==========================================
   Stance（姿勢訴求：従来の Stats 枠を流用）
   ========================================== */
.stats {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--ink-200);
    border-bottom: 1px solid var(--ink-200);
}

.stats .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats .cell {
    padding: 8px 24px;
    text-align: center;
    border-right: 1px solid var(--ink-200);
}
.stats .cell:last-child { border-right: none; }

.stats .label {
    font-size: 1.2rem;
    letter-spacing: .2em;
    color: var(--green-500);
    font-weight: 600;
    margin: 4px 0 10px;
    text-transform: uppercase;
    font-family: var(--font-en);
}

.stats .desc {
    margin-top: 12px;
    font-size: 1.3rem;
    color: var(--ink-600);
    line-height: 1.8;
    letter-spacing: .03em;
}

.stats .desc small {
    display: block;
    margin-top: 6px;
    font-size: 1.1rem;
    color: var(--ink-400);
}

/* stance 独自要素 */
.stance-icon {
    display: inline-block;
    color: var(--green-700);
    margin: 0 auto 4px;
}

.stance-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--green-900);
    letter-spacing: .05em;
    line-height: 1.5;
}

/* ==========================================
   共通セクション
   ========================================== */
.section {
    padding: 110px 0;
}
.section-tight { padding: 80px 0; }
.section-bg { background: var(--green-50); }

/* ==========================================
   About (LP)
   ========================================== */
.about .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about .image {
    aspect-ratio: 5 / 4;
    background:
      radial-gradient(circle at 25% 20%, #ffffff 0, transparent 55%),
      radial-gradient(circle at 80% 80%, var(--green-300) 0, transparent 50%),
      linear-gradient(135deg, var(--green-100), var(--green-300));
    border-radius: var(--r-md);
    position: relative;
    overflow: hidden;
}

.about .image::before {
    /* 亀ロゴの多重露出を避け、同心円の意匠に変更 */
    content: "";
    position: absolute;
    inset: 22%;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    box-shadow:
      inset 0 0 0 10px rgba(255,255,255,.22),
      0 0 40px rgba(107,158,120,.18);
}

.about h2 {
    font-size: 2.6rem;
    letter-spacing: .06em;
    line-height: 1.6;
    margin-bottom: 22px;
}

.about .eyebrow {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .3em;
    color: var(--green-500);
    margin: 0 0 12px;
    text-transform: uppercase;
}

.about h3 {
    font-size: 2.4rem;
    letter-spacing: .06em;
    line-height: 1.6;
    margin-bottom: 22px;
}

.about p {
    font-size: 1.5rem;
    line-height: 2.0;
    color: var(--ink-600);
}

.about .more {
    margin-top: 28px;
}

/* ==========================================
   Mission / Vision
   ========================================== */
.mv {
    background:
      radial-gradient(circle at 15% 100%, var(--green-100) 0, transparent 45%),
      linear-gradient(180deg, var(--white) 0, var(--green-50) 100%);
    padding: 120px 0;
    position: relative;
}

.mv .mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1000px;
    margin: 0 auto;
}

.mv-card {
    padding: 40px 36px 36px;
    border-left: 3px solid var(--green-500);
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: 0 8px 28px rgba(31, 58, 41, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.mv-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(31, 58, 41, .10);
}

.mv-card .mv-label {
    font-family: var(--font-en);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: .5em;
    color: var(--green-500);
    text-transform: uppercase;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.mv-card .mv-label::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--green-500);
}

.mv-card h3 {
    font-size: 2.4rem;
    line-height: 1.7;
    letter-spacing: .08em;
    margin-bottom: 24px;
    color: var(--green-900);
}

.mv-card p {
    font-size: 1.45rem;
    line-height: 2.0;
    color: var(--ink-600);
}

/* ==========================================
   Service cards
   ========================================== */
.services .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-md);
    padding: 40px 32px 36px;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--green-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 主役サービスカード（麻薬調剤） */
.service-card-featured {
    border: 1.5px solid var(--green-500);
    background:
      linear-gradient(180deg, var(--green-50) 0%, var(--white) 55%);
    box-shadow: 0 8px 28px rgba(31, 58, 41, .08);
}

.service-card-featured:hover {
    border-color: var(--green-700);
    box-shadow: 0 14px 36px rgba(31, 58, 41, .12);
}

/* サービスカードのオーディエンス・バッジ */
.audience-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--green-700);
    background: var(--green-100);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.service-card-featured .audience-badge {
    color: var(--white);
    background: var(--green-700);
}

.service-card .icon {
    width: 40px;
    height: 40px;
    color: var(--green-700);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.85rem;
    margin-bottom: 14px;
    letter-spacing: .05em;
}

.service-card p {
    font-size: 1.4rem;
    color: var(--ink-600);
    line-height: 1.95;
    margin-bottom: 20px;
}

.service-card .more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--green-700);
    letter-spacing: .05em;
}

.service-card .more-link:hover { color: var(--green-900); }

.service-card .more-link .arrow {
    transition: transform .2s;
}

.service-card:hover .more-link .arrow {
    transform: translateX(3px);
}

/* ==========================================
   Feature（選ばれる理由）
   ========================================== */
.features .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.feature-item {
    padding: 28px 4px 0;
    border-top: 2px solid var(--green-500);
    position: relative;
}

.feature-item .num {
    font-family: var(--font-en);
    font-size: 2.8rem;
    letter-spacing: .04em;
    color: var(--green-300);
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.feature-item h3 {
    font-size: 1.8rem;
    margin-bottom: 14px;
    line-height: 1.5;
}

.feature-item p {
    font-size: 1.4rem;
    color: var(--ink-600);
    line-height: 1.9;
}

/* ==========================================
   Flow（ご利用の流れ）
   ========================================== */
.flow .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.flow .step {
    padding: 32px 24px 28px;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-md);
    position: relative;
}

.flow .step .step-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-900);
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 16px;
}

.flow .step h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    letter-spacing: .05em;
}

.flow .step p {
    font-size: 1.35rem;
    color: var(--ink-600);
    line-height: 1.85;
}

/* ==========================================
   News
   ========================================== */
.news .list {
    max-width: 820px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 28px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--ink-200);
    color: var(--ink-800);
}

.news-item:first-child { border-top: 1px solid var(--ink-200); }

.news-item .date {
    font-family: var(--font-en);
    font-size: 1.4rem;
    letter-spacing: .08em;
    color: var(--ink-600);
    min-width: 110px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.news-item .category {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--green-700);
    padding: 5px 16px;
    border: 1px solid var(--green-300);
    border-radius: 999px;
    min-width: 90px;
    text-align: center;
    background: var(--white);
}

.news-item .title {
    flex: 1;
    font-size: 1.45rem;
}

.news-item:hover .title { color: var(--green-700); }

.news .more {
    text-align: center;
    margin-top: 48px;
}

/* ==========================================
   CTA band
   ========================================== */
.cta {
    padding: 88px 0;
    background:
      radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0, transparent 50%),
      linear-gradient(135deg, var(--green-700) 0%, #4d7c5e 50%, var(--green-500) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta h2 {
    color: var(--white);
    font-size: 2.6rem;
    margin-bottom: 14px;
    letter-spacing: .06em;
}

.cta p {
    color: rgba(255,255,255,.9);
    font-size: 1.45rem;
    margin-bottom: 36px;
}

.cta .actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .tel {
    font-family: var(--font-en);
    letter-spacing: .05em;
}

/* 3分岐CTA（ご家族／医療・介護／採用） */
.cta-split {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cta-split .btn {
    flex-direction: column;
    gap: 4px;
    padding: 22px 20px;
    text-align: center;
    white-space: normal;
    min-height: 96px;
    line-height: 1.5;
}

.cta-label {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.cta-sub {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .08em;
    opacity: .85;
}

.btn-ghost .cta-sub { color: rgba(255,255,255,.8); }

/* ==========================================
   Access
   ========================================== */
.access .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.access dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0;
    margin: 0;
}

.access dt, .access dd {
    padding: 18px 0;
    border-bottom: 1px solid var(--ink-200);
    margin: 0;
    font-size: 1.45rem;
}

.access dt {
    color: var(--green-900);
    font-weight: 600;
    letter-spacing: .1em;
}

.access dd { color: var(--ink-800); }

.access .map {
    aspect-ratio: 4 / 3;
    background: var(--green-100);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-900);
    opacity: .9;
    font-size: 1.3rem;
    letter-spacing: .1em;
}

/* ==========================================
   Footer
   ========================================== */
footer {
    background: var(--ink-900);
    color: rgba(255,255,255,.85);
    padding: 72px 0 0;
    font-size: 1.35rem;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
}

footer .brand {
    color: var(--white);
    margin-bottom: 18px;
}

footer .brand .brand-name { color: var(--white); font-size: 1.8rem; }
footer .brand .brand-en { color: rgba(255,255,255,.6); }
footer .brand-logo { filter: brightness(0) invert(1); opacity: .9; }
footer address.addr { font-style: normal; }

footer .addr {
    font-size: 1.3rem;
    line-height: 1.9;
    color: rgba(255,255,255,.75);
}

footer h4 {
    color: var(--white);
    font-size: 1.35rem;
    letter-spacing: .15em;
    margin-bottom: 20px;
    font-weight: 600;
}

footer ul li {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

footer ul a {
    color: rgba(255,255,255,.75);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

footer ul a:hover {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,.4);
}

footer .copyright {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 24px 0;
    text-align: center;
    font-size: 1.15rem;
    letter-spacing: .08em;
    color: rgba(255,255,255,.5);
}

/* ==========================================
   下層ページ共通
   ========================================== */
.page-hero {
    padding: 80px 0 60px;
    background:
      radial-gradient(circle at 85% 30%, var(--green-100) 0, transparent 55%),
      radial-gradient(circle at 15% 80%, rgba(181,211,186,.4) 0, transparent 45%),
      var(--green-50);
    text-align: center;
    border-bottom: 1px solid var(--ink-200);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    /* やわらかなアクセントライン */
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 2px;
    background: var(--green-500);
    pointer-events: none;
}

.page-hero > * { position: relative; z-index: 1; }

.page-hero .en {
    font-family: var(--font-en);
    font-size: 1.3rem;
    letter-spacing: .4em;
    color: var(--green-500);
    font-weight: 500;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.page-hero h1 {
    font-size: 3.2rem;
    letter-spacing: .1em;
}

.breadcrumb {
    font-size: 1.2rem;
    color: var(--ink-600);
    padding: 14px 0;
    border-bottom: 1px solid var(--ink-200);
}

.breadcrumb a { color: var(--green-700); }
.breadcrumb a:hover { color: var(--green-900); }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-400); }

/* 下層 About */
.philosophy {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.philosophy .en {
    font-family: var(--font-en);
    font-size: 1.3rem;
    letter-spacing: .4em;
    color: var(--green-500);
    font-weight: 500;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 18px;
}

.philosophy h3 {
    font-size: 2.4rem;
    line-height: 1.8;
    margin-bottom: 28px;
    letter-spacing: .08em;
}

.philosophy p {
    font-size: 1.5rem;
    color: var(--ink-600);
    line-height: 2.1;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.staff-card {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}

.staff-card:hover {
    border-color: var(--green-500);
    box-shadow: var(--shadow-md);
}

.staff-card .photo {
    aspect-ratio: 4 / 3;
    background:
      radial-gradient(circle at 30% 30%, #ffffff 0, transparent 55%),
      linear-gradient(135deg, var(--green-100), #d6e6d9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    font-size: 1.05rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    font-family: var(--font-en);
    position: relative;
    overflow: hidden;
}

.staff-card .photo::before {
    content: "";
    position: absolute;
    inset: 30%;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    box-shadow: inset 0 0 0 6px rgba(255,255,255,.2);
}

.staff-card .info {
    padding: 24px;
}

.staff-card .role {
    font-size: 1.15rem;
    color: var(--green-500);
    font-weight: 600;
    letter-spacing: .2em;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-family: var(--font-en);
}

.staff-card h4 {
    font-size: 1.8rem;
    margin-bottom: 14px;
    letter-spacing: .05em;
}

.staff-card p {
    font-size: 1.35rem;
    color: var(--ink-600);
    line-height: 1.85;
}

.company-table {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    border-collapse: collapse;
    border: 1px solid var(--ink-200);
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--white);
}

.company-table th,
.company-table td {
    padding: 20px 28px;
    text-align: left;
    border-top: 1px solid var(--ink-200);
    font-size: 1.4rem;
    vertical-align: top;
    line-height: 1.8;
}

.company-table tr:first-child th,
.company-table tr:first-child td {
    border-top: none;
}

.company-table th {
    color: var(--green-900);
    font-weight: 600;
    width: 32%;
    letter-spacing: .1em;
    background: var(--green-50);
}

/* 下層 Service */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--ink-200);
}

.service-block:last-child { border-bottom: none; }

.service-block:nth-child(even) {
    grid-template-columns: 1.3fr 1fr;
}

.service-block:nth-child(even) .service-image {
    order: 2;
}

.service-image {
    aspect-ratio: 4 / 3;
    background:
      radial-gradient(circle at 28% 25%, #ffffff 0, transparent 55%),
      radial-gradient(circle at 82% 85%, var(--green-300) 0, transparent 55%),
      linear-gradient(135deg, var(--green-100), #d6e6d9);
    border-radius: var(--r-md);
    position: relative;
    overflow: hidden;
}

.service-image::before {
    /* 亀ロゴは多用しない方針に合わせ同心円意匠へ */
    content: "";
    position: absolute;
    inset: 26%;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    box-shadow:
      inset 0 0 0 8px rgba(255,255,255,.2),
      0 0 40px rgba(107,158,120,.18);
}

.service-detail .step-label {
    font-family: var(--font-en);
    font-size: 1.2rem;
    letter-spacing: .3em;
    color: var(--green-500);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    display: block;
}

.service-detail h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    letter-spacing: .06em;
}

.service-detail p {
    color: var(--ink-600);
    line-height: 2.0;
}

.service-detail ul.check-list {
    margin-top: 24px;
    display: grid;
    gap: 10px;
}

.service-detail ul.check-list li {
    padding-left: 28px;
    position: relative;
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--ink-800);
}

.service-detail ul.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 18px;
    height: 2px;
    background: var(--green-500);
}

/* 下層 Contact */
.contact-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
    color: var(--ink-600);
}

.contact-tel-box {
    max-width: 520px;
    margin: 0 auto 56px;
    padding: 32px 28px;
    border: 1px solid var(--green-500);
    border-radius: var(--r-md);
    text-align: center;
    background: var(--green-50);
}

.contact-tel-box .label {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--green-700);
    margin-bottom: 12px;
}

.contact-tel-box .number {
    display: block;
    font-family: var(--font-en);
    font-size: 3.6rem;
    font-weight: 600;
    color: var(--green-900);
    letter-spacing: .05em;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.contact-tel-box .hours {
    display: block;
    font-size: 1.25rem;
    color: var(--ink-600);
    margin-top: 10px;
}

.contact-form {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--ink-200);
    padding: 48px;
    border-radius: var(--r-md);
}

.form-row {
    margin-bottom: 28px;
}

.form-row label {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--green-900);
    margin-bottom: 10px;
    letter-spacing: .05em;
}

.form-row .required {
    color: #c13434;
    font-size: 1.1rem;
    margin-left: 6px;
    font-weight: 600;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--ink-200);
    border-radius: 8px;
    font-size: 1.4rem;
    font-family: inherit;
    background: var(--white);
    color: var(--ink-800);
    transition: border-color .2s, box-shadow .2s;
}

.form-consent {
    background: var(--green-50);
    border: 1px solid var(--ink-200);
    padding: 16px 20px;
    border-radius: 8px;
    margin: 8px 0 24px;
    font-size: 1.3rem;
    color: var(--ink-600);
    line-height: 1.9;
}

.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
    color: var(--ink-800);
    cursor: pointer;
    margin-top: 10px;
}

.form-consent input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--green-700);
    width: 16px;
    height: 16px;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(107, 158, 120, .15);
}

.form-row textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.8;
}

.form-submit {
    text-align: center;
    margin-top: 32px;
}

.form-submit button {
    background: var(--green-700);
    color: var(--white);
    border: none;
    padding: 16px 72px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: .1em;
}

.form-submit button:hover { background: var(--green-900); }

/* 採用ページ特化 */
.job-table {
    width: 100%;
    border-collapse: collapse;
}

.job-table th,
.job-table td {
    padding: 20px 28px;
    font-size: 1.4rem;
    text-align: left;
    border-top: 1px solid var(--ink-200);
    vertical-align: top;
    line-height: 1.8;
}

.job-table tr:first-child th,
.job-table tr:first-child td {
    border-top: none;
}

.job-table th {
    color: var(--green-900);
    font-weight: 600;
    letter-spacing: .1em;
    width: 28%;
    background: transparent;
}

.job-block {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--r-md);
    overflow: hidden;
    margin-bottom: 32px;
}

.job-block .job-head {
    padding: 24px 32px;
    background: var(--green-50);
    border-bottom: 1px solid var(--ink-200);
}

.job-block .job-head .role {
    font-family: var(--font-en);
    font-size: 1.15rem;
    letter-spacing: .3em;
    color: var(--green-500);
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.job-block .job-head h3 {
    font-size: 2rem;
    letter-spacing: .05em;
}

/* ==========================================
   Responsive
   ========================================== */
@media screen and (max-width: 960px) {
    .stats .grid { grid-template-columns: repeat(2, 1fr); }
    .stats .cell { border-right: none; padding: 24px 12px; }
    .stats .cell:nth-child(odd) { border-right: 1px solid var(--ink-200); }
    .stats .cell:nth-child(-n+2) { border-bottom: 1px solid var(--ink-200); }

    .services .grid { grid-template-columns: repeat(2, 1fr); }
    .features .grid { grid-template-columns: repeat(2, 1fr); }
    .flow .steps { grid-template-columns: repeat(2, 1fr); }
    .staff-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-split { grid-template-columns: 1fr; max-width: 420px; }

    /* タブレットでハンバーガー化 */
    .menu-btn { display: block; }
    .gnav {
        position: fixed;
        top: 60px;
        right: 0;
        width: 280px;
        height: calc(100vh - 60px);
        background: var(--white);
        box-shadow: -4px 0 16px rgba(0,0,0,.08);
        transform: translateX(100%);
        transition: transform .3s ease;
    }
    .gnav.open { transform: translateX(0); }
    .gnav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 0;
    }
    .gnav li { border-bottom: 1px solid var(--ink-200); }
    .gnav a { display: block; padding: 16px 4px; }
    .gnav .contact-btn { margin-top: 16px; text-align: center; border-bottom: none; }

    header .header-inner { height: 68px; }
}

@media screen and (max-width: 768px) {
    header .header-inner { height: 60px; }
    .gnav { top: 60px; height: calc(100vh - 60px); }
    .brand .brand-name { font-size: 1.5rem; }
    .brand .brand-en { display: none; }
    .brand-logo { width: 34px; height: 34px; flex-basis: 34px; }

    .hero { padding: 60px 0; }
    .hero .container { grid-template-columns: 1fr; gap: 36px; }
    .hero-visual { max-width: 320px; margin: 0 auto; }

    .section { padding: 72px 0; }
    .sec-title h2 { font-size: 2.2rem; }

    .stats .grid { grid-template-columns: 1fr; }
    .stats .cell { border-right: none !important; border-bottom: 1px solid var(--ink-200); }
    .stats .cell:last-child { border-bottom: none; }
    .stats .num { font-size: 4rem; }
    .stance-title { font-size: 1.45rem; }

    .about .row { grid-template-columns: 1fr; gap: 32px; }
    .about h2 { font-size: 2.1rem; }
    .mv { padding: 72px 0; }
    .mv .mv-grid { grid-template-columns: 1fr; gap: 32px; }
    .mv-card { padding: 32px 24px 28px; }
    .mv-card h3 { font-size: 1.9rem; }
    .services .grid { grid-template-columns: 1fr; }
    .features .grid { grid-template-columns: 1fr; gap: 32px; }
    .flow .steps { grid-template-columns: 1fr; }
    .staff-grid { grid-template-columns: 1fr; }
    .access .row { grid-template-columns: 1fr; gap: 32px; }

    .news-item { flex-wrap: wrap; gap: 12px; }
    .news-item .title { width: 100%; }

    .service-block, .service-block:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
    .service-block:nth-child(even) .service-image { order: 0; }

    .cta h2 { font-size: 2rem; }
    .cta .actions { flex-direction: column; }

    .page-hero h1 { font-size: 2.4rem; }

    footer .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .contact-form { padding: 28px 20px; }
    .contact-tel-box .number { font-size: 2.6rem; }

    .company-table th, .company-table td { display: block; width: 100%; padding: 12px 16px; }
    .company-table th { border-bottom: none; padding-bottom: 4px; }

    .job-table th, .job-table td { display: block; width: 100%; padding: 10px 16px; }
    .job-table th { border-bottom: none; padding-bottom: 4px; }
}

/* ==========================================
   Photo overrides for hero-visual / about .image
   写真を入れた場合：装飾を完全に消し、写真が枠いっぱいに表示されるように
   ========================================== */
.hero-visual,
.about .image {
    background: none;
}

.hero-visual::before,
.hero-visual::after,
.about .image::before {
    content: none;
}

.hero-visual img,
.about .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.hero-visual img { object-position: 60% center; }
.about .image img { object-position: center; }

