@charset "UTF-8";

/* ============================================
   Ocean Repair Inc. — 暫定コーポレートサイト
   ブランドカラーは旧サイト base.css の実測値を継承
   ============================================ */

:root {
    /* Brand */
    --navy:        #013367;
    --navy-deep:   #01254c;
    --ink:         #3a4246;
    --ink-mid:     #61696e;
    --ink-light:   #8c9398;

    --pastel:      #8da8d6;
    --pastel-soft: #d5d8e7;
    --pastel-bg:   #eef1f7;

    --yellow:      #fcdfa4;
    --yellow-deep: #e8c75a;
    --salmon:      #f09082;
    --teal:        #00628a;
    --teal-light:  #2896ae;

    --white:       #ffffff;
    --gray-bg:     #f7f8f9;
    --line:        #e3e7ec;

    /* Layout */
    --wrap:        1080px;
    --wrap-narrow: 820px;
    --header-h:    72px;
    --radius:      14px;
    --radius-lg:   24px;

    --shadow-sm:   0 2px 10px rgba(1, 51, 103, .06);
    --shadow:      0 6px 28px rgba(1, 51, 103, .09);
    --shadow-lg:   0 16px 48px rgba(1, 51, 103, .13);

    --ease:        cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: 'Zen Kaku Gothic New', '游ゴシック体', YuGothic, '游ゴシック Medium', 'Yu Gothic Medium',
                 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.95;
    color: var(--ink);
    background: var(--white);
    font-feature-settings: 'palt' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--navy); text-decoration: none; transition: opacity .25s var(--ease), color .25s var(--ease); }
a:hover { opacity: .7; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, table { margin: 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utility ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--pastel-bg); }
.section--gray { background: var(--gray-bg); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }

/* ---------- Section heading ---------- */
.head { margin-bottom: clamp(36px, 5vw, 60px); text-align: center; }
.head__en {
    display: block; font-size: 12px; letter-spacing: .22em; font-weight: 700;
    color: var(--pastel); text-transform: uppercase; margin-bottom: 12px;
}
.head__ja {
    font-size: clamp(24px, 3.6vw, 34px); font-weight: 700; color: var(--navy);
    letter-spacing: .06em; line-height: 1.5; position: relative; display: inline-block; padding-bottom: 18px;
}
.head__ja::after {
    content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 52px; height: 4px; border-radius: 2px; background: var(--yellow-deep);
}
.head__lead { margin-top: 20px; color: var(--ink-mid); font-size: clamp(14px, 1.6vw, 16px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 34px; border-radius: 999px; font-weight: 700; font-size: 15px;
    letter-spacing: .06em; line-height: 1.4; text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { opacity: 1; transform: translateY(-2px); }
.btn__icon { flex: none; }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--navy-deep); box-shadow: var(--shadow-lg); }
.btn--accent { background: var(--yellow); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--yellow-deep); box-shadow: var(--shadow); }
/* 枠線は inset シャドウで描く。border だと高さが4px増えて他ボタンと行が揃わない */
.btn--ghost { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px var(--pastel-soft); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.btn--lg { padding: 20px 44px; font-size: 16px; }

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(1, 51, 103, .05); }
.header__inner {
    width: min(100% - 32px, 1200px); margin-inline: auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__logo { display: flex; align-items: center; flex: none; min-height: 44px; }
.header__logo img { width: 168px; }
.header__logo:hover { opacity: .75; }

.gnav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.gnav__list a { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: .04em; white-space: nowrap; }
.gnav__list a:not(.btn):hover { color: var(--teal); opacity: 1; }
.gnav .btn { padding: 11px 22px; font-size: 13.5px; }

/* Hamburger */
.burger {
    display: none; width: 44px; height: 44px; position: relative; z-index: 110; flex: none;
    border-radius: 10px;
}
.burger span {
    position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px;
    background: var(--navy); transition: transform .3s var(--ease), opacity .25s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.is-menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.is-menu-open .burger span:nth-child(2) { opacity: 0; }
.is-menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
/* 背面色。画像のフェードインはこの色からの立ち上がりになる */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; place-items: center; overflow: hidden; background: #6b95b9; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(1, 38, 76, .42) 0%, rgba(1, 38, 76, .16) 42%, rgba(1, 38, 76, .5) 100%);
}
.hero__body { position: relative; z-index: 1; text-align: center; padding: calc(var(--header-h) + 40px) 20px 64px; }
.hero__catch {
    color: var(--white); font-weight: 700; letter-spacing: .1em; line-height: 1.7;
    font-size: clamp(26px, 6.2vw, 58px);
    text-shadow: 0 2px 24px rgba(1, 38, 76, .5), 0 1px 4px rgba(1, 38, 76, .35);
}
.hero__catch .num { font-size: 1.22em; color: var(--yellow); }
.hero__sub {
    margin-top: 26px; color: rgba(255, 255, 255, .95); font-size: clamp(13px, 1.8vw, 17px);
    letter-spacing: .12em; font-weight: 500; text-shadow: 0 1px 12px rgba(1, 38, 76, .55);
}
.hero__scroll { position: absolute; left: 50%; bottom: 26px; z-index: 1; transform: translateX(-50%); }
.hero__scroll span {
    display: block; width: 1px; height: 46px; margin-inline: auto;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 100%);
    animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================
   Issue（課題提起）
   ============================================ */
.issue__flow { display: grid; gap: 22px; justify-items: center; }
.issue__q {
    font-size: clamp(20px, 3.4vw, 32px); font-weight: 700; color: var(--navy);
    line-height: 1.7; letter-spacing: .04em;
}
.issue__kw { color: var(--teal); }

.issue__then { font-size: 15px; font-weight: 700; color: var(--ink-mid); letter-spacing: .1em; }
.issue__result {
    display: grid; gap: 18px; justify-items: center; padding: 34px 30px;
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    max-width: 560px; width: 100%;
}
.issue__result img { width: min(240px, 62%); }
.issue__result p { font-size: clamp(17px, 2.4vw, 22px); font-weight: 700; color: var(--salmon); line-height: 1.6; }

.issue__mission {
    margin-top: clamp(48px, 7vw, 76px); text-align: center;
    font-size: clamp(19px, 3vw, 29px); font-weight: 700; color: var(--navy); line-height: 1.75;
}
.issue__mission em {
    font-style: normal;
    background: linear-gradient(transparent 62%, var(--yellow) 62%);
    padding-bottom: 2px;
}

.sdgs { margin-top: clamp(36px, 5vw, 52px); }
.sdgs__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--ink-light); text-align: center; margin-bottom: 18px; }
.sdgs__list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sdgs__list img { width: clamp(72px, 12vw, 104px); border-radius: 6px; }

/* ============================================
   Isoyake（磯焼けとは）
   ============================================ */
.iso__lead {
    font-size: clamp(16px, 2vw, 19px); line-height: 2.1; text-align: center;
    max-width: 760px; margin-inline: auto; color: var(--ink);
}
.iso__lead strong { color: var(--teal); font-weight: 700; }

.iso__role {
    margin-top: clamp(40px, 5vw, 56px); padding: clamp(28px, 4vw, 40px);
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    border: 1px solid var(--line); text-align: center;
}
.iso__role h3 {
    font-size: clamp(16px, 2vw, 20px); font-weight: 700; color: var(--navy);
    letter-spacing: .08em; margin-bottom: 14px;
    display: inline-flex; align-items: center; gap: 12px;
}
.iso__role h3::before, .iso__role h3::after {
    content: ''; width: 0; height: 0; flex: none;
    border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 11px solid var(--yellow-deep);
}
.iso__role p { color: var(--ink-mid); font-size: clamp(14px, 1.7vw, 16px); }

.speed { margin-top: clamp(40px, 5vw, 56px); }
.speed__title { text-align: center; font-size: 15px; font-weight: 700; letter-spacing: .12em; color: var(--ink-mid); margin-bottom: 22px; }
.speed__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.speed__card {
    background: var(--navy); color: var(--white); border-radius: var(--radius-lg);
    padding: clamp(26px, 3.6vw, 38px) 24px; text-align: center; box-shadow: var(--shadow);
}
.speed__card:last-child { background: var(--teal); }
.speed__where { font-size: 13px; letter-spacing: .16em; font-weight: 700; color: var(--yellow); margin-bottom: 10px; }
.speed__value { font-size: clamp(28px, 5vw, 42px); font-weight: 700; line-height: 1.3; letter-spacing: .02em; }
.speed__value small { font-size: .46em; font-weight: 700; letter-spacing: .06em; }
.speed__note { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .82); }

/* ============================================
   Impact（影響フロー）
   ============================================ */
.impact { margin-top: clamp(48px, 6vw, 72px); }
.impact__start {
    max-width: 340px; margin-inline: auto; text-align: center; padding: 14px 24px;
    background: var(--navy); color: var(--white); border-radius: 999px;
    font-weight: 700; letter-spacing: .08em; font-size: clamp(15px, 2vw, 17px);
}
.impact__branch { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 26px; }
.impact__col {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 32px) 22px; text-align: center;
}
.impact__step { font-size: clamp(15px, 1.9vw, 17px); font-weight: 700; color: var(--ink); line-height: 1.6; }
.impact__col .arrow { display: block; margin: 12px auto; color: var(--pastel); }
.impact__end {
    max-width: 420px; margin: 26px auto 0; text-align: center; padding: 20px 24px;
    background: var(--salmon); color: var(--white); border-radius: var(--radius-lg);
    font-weight: 700; font-size: clamp(16px, 2.2vw, 20px); letter-spacing: .06em; box-shadow: var(--shadow);
}

/* ============================================
   Cause（原因）
   ============================================ */
.cause__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 28px); }
.cause__card {
    background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 3.6vw, 40px);
    box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; overflow: hidden;
}
.cause__card::before {
    content: ''; position: absolute; top: -40px; right: -40px; width: 130px; height: 130px;
    border-radius: 50%; background: var(--pastel-bg);
}
.cause__no {
    position: relative; font-size: 12px; font-weight: 700; letter-spacing: .18em;
    color: var(--pastel); margin-bottom: 10px;
}
.cause__card h3 { position: relative; font-size: clamp(18px, 2.3vw, 22px); font-weight: 700; color: var(--navy); line-height: 1.6; margin-bottom: 14px; }
.cause__card p { position: relative; font-size: 15px; color: var(--ink-mid); line-height: 2; }

.creatures { margin-top: clamp(36px, 4vw, 48px); }
.creatures__label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--ink-light); margin-bottom: 18px; }
.creatures__list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.creatures__list li {
    padding: 10px 22px; background: var(--white); border: 1px solid var(--pastel-soft);
    border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--navy);
}
.creatures__list li span { display: block; font-size: 11px; color: var(--ink-light); letter-spacing: .08em; font-weight: 500; }

/* ============================================
   Project（取り組み）
   ============================================ */
.project__badge { text-align: center; margin-bottom: clamp(36px, 5vw, 52px); }
.project__badge h3 {
    display: inline-block; background: var(--navy); color: var(--white);
    padding: 16px 36px; border-radius: var(--radius); font-size: clamp(17px, 2.6vw, 24px);
    font-weight: 700; letter-spacing: .06em; box-shadow: var(--shadow);
}
.project__badge p { margin-top: 12px; font-size: 12px; letter-spacing: .22em; font-weight: 700; color: var(--pastel); }

.action {
    display: grid; gap: 16px; align-items: center; justify-items: center; text-align: center;
    background: var(--yellow); border-radius: var(--radius-lg); padding: clamp(26px, 3.6vw, 36px);
    margin-bottom: 12px;
}
.action__label { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--navy); opacity: .65; }
.action__text { font-size: clamp(16px, 2.3vw, 21px); font-weight: 700; color: var(--navy); line-height: 1.7; }

.steps { display: grid; gap: 12px; }
.step {
    display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: clamp(16px, 2.4vw, 28px);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: clamp(20px, 2.8vw, 28px) clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm);
}
/* ラベル＋数字を1つの塊として円の上下中央に置く。
   grid + place-items だと行がstretchして数字が下寄りになるため flex で中央寄せする */
.step__no {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    width: 88px; height: 88px; border-radius: 50%; flex: none;
    background: var(--pastel-bg); color: var(--navy); font-weight: 700; text-align: center;
}
.step__no small { font-size: 10px; line-height: 1; letter-spacing: .16em; color: var(--pastel); }
.step__no b { font-size: 30px; line-height: 1; }
/* ◎ は数字より字面が大きく見えるので少し詰めて視覚上のサイズを揃える */
.step--goal .step__no b { font-size: 27px; }
.step__text { font-size: clamp(15px, 2vw, 18px); font-weight: 700; color: var(--ink); line-height: 1.7; }
.step__text .split { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.step__text .split span {
    display: block; background: var(--pastel-bg); border-radius: var(--radius);
    padding: 12px 16px; font-size: clamp(14px, 1.7vw, 16px); color: var(--navy);
}
.step--goal { background: var(--navy); border-color: var(--navy); }
.step--goal .step__no { background: rgba(255, 255, 255, .14); color: var(--white); }
.step--goal .step__no small { color: var(--yellow); }
.step--goal .step__text { color: var(--white); }
.step--goal .step__text .split span { background: rgba(255, 255, 255, .12); color: var(--white); }

.flow-arrow { display: grid; place-items: center; color: var(--pastel); padding: 2px 0; }

.project__msg {
    margin-top: clamp(44px, 6vw, 64px); text-align: center;
    font-size: clamp(16px, 2.4vw, 22px); font-weight: 700; color: var(--navy); line-height: 1.85;
}

/* ============================================
   Product
   ============================================ */
.product__grid {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 60px); align-items: center;
}
.product__media { position: relative; }
.product__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.product__media::before {
    content: ''; position: absolute; inset: auto -18px -18px 32px; height: 72%;
    background: var(--pastel-soft); border-radius: var(--radius-lg); z-index: -1;
}
.product__name { font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: var(--navy); letter-spacing: .04em; line-height: 1.4; }
.product__en { font-size: 12px; letter-spacing: .22em; font-weight: 700; color: var(--pastel); margin-bottom: 8px; }
.product__copy { margin-top: 16px; font-size: clamp(15px, 1.9vw, 17px); color: var(--ink-mid); line-height: 2; }

.product__source {
    display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 18px 22px;
    background: var(--pastel-bg); border-radius: var(--radius);
}
.product__source img { width: 108px; flex: none; }
.product__source dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--ink-light); margin-bottom: 4px; }
.product__source dd { margin: 0; font-size: clamp(15px, 2vw, 18px); font-weight: 700; color: var(--navy); letter-spacing: .06em; }

.spec { margin-top: 24px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 108px 1fr; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 13px; font-weight: 700; color: var(--ink-light); letter-spacing: .08em; }
.spec dd { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.85; }
/* 2つのCTAは同一寸法。文字数が違うので横並びにせず縦積みで幅を揃える */
.product__cta { margin-top: 30px; display: grid; gap: 12px; max-width: 420px; }
.product__cta .btn { width: 100%; }

.made { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 3vw, 26px); }
.made figure { margin: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.made img { width: 100%; aspect-ratio: 720 / 328; object-fit: cover; }
.made figcaption { padding: 18px 22px 22px; }
.made figcaption b { display: block; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.made figcaption span { font-size: 13.5px; color: var(--ink-mid); line-height: 1.9; }

/* ============================================
   Movie
   ============================================ */
.movie { max-width: 880px; margin-inline: auto; }
.movie__frame {
    position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy);
}
.movie__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================
   Greeting
   ============================================ */
.greeting__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.greeting__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.greeting__body p { font-size: clamp(14.5px, 1.8vw, 16px); line-height: 2.15; margin-bottom: 20px; color: var(--ink); }
.greeting__body p:last-of-type { margin-bottom: 0; }
.greeting__pull {
    font-size: clamp(18px, 2.6vw, 24px) !important; font-weight: 700; color: var(--navy);
    line-height: 1.7 !important; letter-spacing: .04em;
}
.greeting__sign { margin-top: 28px; text-align: right; font-size: 15px; font-weight: 700; color: var(--navy); }
.greeting__sign small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-light); letter-spacing: .1em; margin-bottom: 4px; }

/* ============================================
   Members
   ============================================ */
.members { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 4vw, 40px); }
.member {
    background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 3.6vw, 38px);
    box-shadow: var(--shadow-sm); border: 1px solid var(--line); text-align: center;
}
.member__photo { width: 148px; height: 148px; margin: 0 auto 20px; position: relative; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.member__photo::after {
    content: ''; position: absolute; inset: -8px; border-radius: 50%;
    border: 2px solid var(--pastel-soft); pointer-events: none;
}
.member__role { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--teal); margin-bottom: 6px; }
.member__name { font-size: clamp(20px, 2.6vw, 24px); font-weight: 700; color: var(--navy); letter-spacing: .1em; margin-bottom: 18px; }
.member__bio { font-size: 14px; line-height: 2.05; color: var(--ink-mid); text-align: left; }

/* ============================================
   Company
   ============================================ */
.company { max-width: 760px; margin-inline: auto; }
.company tr { border-bottom: 1px solid var(--line); }
.company tr:first-child { border-top: 1px solid var(--line); }
.company th, .company td { padding: 20px 8px; text-align: left; vertical-align: top; font-size: 15px; line-height: 1.9; }
.company th { width: 150px; font-weight: 700; color: var(--navy); letter-spacing: .08em; }
.company td { color: var(--ink); }
.company td ul li { position: relative; padding-left: 16px; }
.company td ul li::before {
    content: ''; position: absolute; left: 0; top: .82em; width: 6px; height: 6px;
    border-radius: 50%; background: var(--pastel);
}

/* ============================================
   Contact
   ============================================ */
.contact { text-align: center; }
.contact__lead { font-size: clamp(15px, 1.9vw, 17px); color: var(--ink-mid); line-height: 2.05; margin-bottom: 34px; }
/* メールと電話を同格に並べる2カード */
.contact__grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 26px); align-items: stretch;
    max-width: 860px; margin-inline: auto;
}
.ccard {
    /* 伸縮するのは最下段の注記。アイコン・値・ボタンは自然高さなので2枚で行が揃う */
    display: grid; grid-template-rows: auto auto auto 1fr; justify-items: center;
    gap: 16px; padding: clamp(28px, 3.6vw, 40px) clamp(22px, 3vw, 32px);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); text-align: center;
}
.ccard__icon {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: var(--pastel-bg); color: var(--navy); flex: none;
}
.ccard__value {
    display: grid; place-content: center; min-height: 2.6em;
    font-size: clamp(17px, 2.5vw, 24px); font-weight: 700; color: var(--navy);
    letter-spacing: .02em; line-height: 1.45; word-break: break-all;
}
.ccard__btn { width: 100%; max-width: 260px; }
.ccard__note { font-size: 12.5px; color: var(--ink-light); line-height: 1.85; }

@media (max-width: 700px) {
    .contact__grid { grid-template-columns: 1fr; }
    .ccard { grid-template-rows: auto auto auto auto; }  /* SPは1列なので行揃えは不要 */
}

/* ============================================
   Footer
   ============================================ */
.footer { background: var(--navy); color: rgba(255, 255, 255, .82); padding: clamp(48px, 6vw, 72px) 0 32px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; }
.footer__logo { width: 190px; margin-bottom: 22px; }
.footer__logo img { width: 100%; }
.footer__name { font-size: 16px; font-weight: 700; color: var(--white); letter-spacing: .08em; margin-bottom: 12px; }
.footer__addr { font-style: normal; font-size: 14px; line-height: 2.05; }
.footer__addr a { color: rgba(255, 255, 255, .82); }
.footer__addr a:hover { color: var(--yellow); opacity: 1; }
.footer__nav { display: grid; gap: 12px; }
.footer__nav a { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .82); letter-spacing: .04em; }
.footer__nav a:hover { color: var(--yellow); opacity: 1; }
.footer__bottom {
    margin-top: clamp(36px, 5vw, 56px); padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
}
.footer__copy { font-size: 12px; letter-spacing: .06em; color: rgba(255, 255, 255, .6); }

/* ============================================
   Scroll reveal
   ============================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .product__grid, .greeting__grid { grid-template-columns: 1fr; }
    .product__media { max-width: 420px; margin-inline: auto; }
    .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    :root { --header-h: 62px; }
    .burger { display: block; }
    .header__logo img { width: 142px; }
    .gnav {
        /* .header に backdrop-filter があるため fixed の基準がビューポートではなく
           .header（高さ62px）になる。寸法を明示しないとヘッダー分しか覆えないので指定する。
           header はビューポート右上に接しているので right/top は 0 でよい */
        position: fixed; top: 0; right: 0; left: auto;
        width: 50vw; min-width: 150px;
        height: 100vh; height: 100dvh;
        /* 不透明度90%。ほんの少しだけ下が透ける */
        background: rgba(255, 255, 255, .9);
        backdrop-filter: blur(14px) saturate(140%);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        box-shadow: -10px 0 36px rgba(1, 51, 103, .14);
        display: grid; place-content: center; gap: 0;
        overflow-y: auto;
        padding: calc(var(--header-h) + 16px) 12px 28px;
        /* 右からスライドインさせる */
        transform: translateX(100%);
        opacity: 0; visibility: hidden;
        transition: transform .35s var(--ease), opacity .35s var(--ease), visibility .35s var(--ease);
    }
    .is-menu-open .gnav { transform: translateX(0); opacity: 1; visibility: visible; }
    /* メニューを開いてもロゴは overlay の上に残す（burgerと同じ階層） */
    .header__logo { position: relative; z-index: 110; }
    /* PCと同じ項目・同じ順序を縦に並べる */
    .gnav__list { flex-direction: column; gap: 6px; text-align: center; }
    .gnav__list a { font-size: 18px; }
    .gnav .btn { margin-top: 14px; padding: 14px 16px; font-size: 15px; }
    .step { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
    .step__no { width: 72px; height: 72px; }
    .step__no b { font-size: 26px; }
    .product__source { flex-direction: column; text-align: center; gap: 10px; }
    .company th, .company td { display: block; width: 100%; }
    .company th { padding: 18px 8px 4px; }
    .company td { padding: 0 8px 18px; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }
    .wrap, .wrap-narrow { width: calc(100% - 32px); }
    .sdgs__list { gap: 8px; }
    .ccard { padding: 26px 20px; }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .reveal { opacity: 1; transform: none; }
}
@media print {
    .header, .hero__scroll, .burger, .movie { display: none !important; }
    body { color: #000; }
}

/* ============================================
   アクセシビリティ改善（タップ領域・スキップリンク）
   ============================================ */

/* スキップリンクはフォーカス時に可視化する */
body > a.sr-only:focus, body > a.sr-only:focus-visible {
    position: fixed; top: 12px; left: 12px; z-index: 200;
    width: auto; height: auto; margin: 0; padding: 14px 24px;
    clip: auto; overflow: visible; white-space: nowrap;
    background: var(--navy); color: var(--white); border-radius: 999px;
    font-size: 14px; font-weight: 700; box-shadow: var(--shadow-lg);
}

/* PCナビ：クリック領域を縦に確保 */
.gnav__list a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }

/* フッターナビ：44px確保 */
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* 電話・メールリンク：44px確保 */
.footer__addr a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 820px) {
    /* SPメニュー内リンクを十分な高さに */
    .gnav__list a:not(.btn) { min-height: 52px; padding: 0 8px; }
    .gnav__list { gap: 8px; }
}

/* PC専用改行：SPでは自然折り返しに任せる */
@media (max-width: 820px) { .pc-br { display: none; } }

/* ============================================
   下層ページ用の見出しエリア
   ============================================ */
.page-hero { position: relative; display: grid; place-items: center; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.page-hero__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(1, 38, 76, .55) 0%, rgba(1, 38, 76, .38) 100%);
}
.page-hero__body {
    position: relative; z-index: 1; text-align: center;
    padding: calc(var(--header-h) + clamp(56px, 8vw, 92px)) 20px clamp(48px, 7vw, 76px);
}
.page-hero__en {
    display: block; font-size: 12px; letter-spacing: .24em; font-weight: 700;
    color: var(--yellow); margin-bottom: 14px;
}
.page-hero__title {
    color: var(--white); font-weight: 700; letter-spacing: .1em; line-height: 1.5;
    font-size: clamp(24px, 4.6vw, 40px);
    text-shadow: 0 2px 20px rgba(1, 38, 76, .45);
}

/* ============================================
   Vision（TOPページ・要約セクション）
   ============================================ */
.vision__lead {
    max-width: 760px; margin: 0 auto clamp(40px, 5vw, 58px);
    text-align: center; font-size: clamp(15px, 1.9vw, 18px); line-height: 2.15;
}
.vision__lead strong { color: var(--teal); font-weight: 700; }
.vision__catch {
    display: block; margin-bottom: 22px;
    font-size: clamp(19px, 2.9vw, 27px); font-weight: 700; color: var(--navy); line-height: 1.7;
}
.vision__catch em {
    font-style: normal;
    background: linear-gradient(transparent 62%, var(--yellow) 62%);
    padding-bottom: 2px;
}

/* カード3枚＋矢印2つ = 5カラム。矢印は自然幅、カードは等幅 */
.vflow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: stretch; }
.vflow__item {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 34px) clamp(18px, 2.4vw, 26px); text-align: center;
    box-shadow: var(--shadow-sm); display: grid; gap: 12px; align-content: start;
}
.vflow__no { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--pastel); }
.vflow__item h3 { font-size: clamp(16px, 2.1vw, 20px); font-weight: 700; color: var(--navy); line-height: 1.6; }
.vflow__item p { font-size: 14px; color: var(--ink-mid); line-height: 1.95; }
.vflow__item--goal { background: var(--navy); border-color: var(--navy); }
.vflow__item--goal .vflow__no { color: var(--yellow); }
.vflow__item--goal h3 { color: var(--white); }
.vflow__item--goal p { color: rgba(255, 255, 255, .85); }
.vflow__arrow { display: grid; place-items: center; color: var(--pastel); padding: 0 clamp(6px, 1.4vw, 14px); }

.vision__cta { margin-top: clamp(40px, 5vw, 58px); text-align: center; }

@media (max-width: 820px) {
    .vflow { grid-template-columns: 1fr; gap: 0; }
    .vflow__arrow { padding: 10px 0; transform: rotate(90deg); }
}

/* 商品セクションの内容量・価格まわりの補助文 */
.product__note { margin-top: 16px; font-size: 13px; color: var(--ink-light); line-height: 1.9; }

/* 下層ページ末尾の回遊ブロック */
.next { text-align: center; }
.next__lead { font-size: clamp(15px, 1.9vw, 18px); color: var(--ink-mid); line-height: 2.05; margin-bottom: 30px; }
.next__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================
   セクションナビ（TOPページのフローティング）
   全幅で「下部中央のピル」。本文への重なりを避ける設計
   ============================================ */
.secnav {
    position: fixed; z-index: 90; left: 50%; bottom: 24px;
    transform: translateX(-50%) translateY(12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .38s var(--ease), visibility .38s var(--ease), transform .38s var(--ease);
    max-width: calc(100% - 24px);
}
.secnav.is-active {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.secnav__list {
    display: flex; gap: 4px; padding: 7px;
    background: rgba(255, 255, 255, .93);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border: 1px solid var(--line); border-radius: 999px;
    box-shadow: var(--shadow-lg);
    overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.secnav__list::-webkit-scrollbar { display: none; }
.secnav__list a {
    display: flex; align-items: center; justify-content: center; flex: none;
    min-height: 40px; padding: 0 20px; border-radius: 999px;
    font-size: 13.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
    color: var(--ink);
    transition: background-color .25s var(--ease), color .25s var(--ease);
}
.secnav__list a:hover { opacity: 1; background: var(--pastel-bg); color: var(--navy); }
.secnav__list a.is-current { background: var(--navy); color: var(--white); }
.secnav__list a.is-current:hover { background: var(--navy-deep); color: var(--white); }

/* ラベルの長短切り替え（SPで4項目を必ず収めるため） */
.secnav__txt--sp { display: none; }

@media (max-width: 640px) {
    /* 狭い画面は画面下いっぱいのバー。4項目が必ず1行に収まる寸法にする */
    .secnav {
        left: 0; right: 0; bottom: 0; max-width: none;
        transform: translateX(0) translateY(10px);
    }
    .secnav.is-active { transform: translateX(0) translateY(0); }
    .secnav__list {
        border: 0; border-top: 1px solid var(--line); border-radius: 0;
        padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -4px 18px rgba(1, 51, 103, .07);
        gap: 5px; justify-content: center;
    }
    .secnav__list a {
        /* 320px幅でも収まるように文字サイズを可変にし、余白を詰める */
        padding: 0 9px; min-height: 38px;
        font-size: clamp(11px, 3.4vw, 13px); letter-spacing: 0;
        background: var(--pastel-bg); color: var(--navy);
    }
    /* 最長ラベルだけ短縮表示に差し替える */
    .secnav__txt--full { display: none; }
    .secnav__txt--sp   { display: inline; }
}

@media print { .secnav { display: none !important; } }

/* backdrop-filter 非対応ブラウザでは透過を弱めて可読性を守る */
@media (max-width: 820px) {
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        .gnav { background: rgba(255, 255, 255, .97); }
    }
}

/* ============================================
   Hero の登場アニメーション
   画像・文字・スクロール指標を同時に 2秒でフェードイン
   ============================================ */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* 画像とオーバーレイのグラデーションをまとめてフェード */
.hero__media  { animation: heroFadeIn 2s var(--ease) 0s both; }
/* 文字とスクロール指標も遅延なしで同時に立ち上げる */
.hero__body   { animation: heroFadeIn 2s var(--ease) 0s both; }
.hero__scroll { animation: heroFadeIn 2s var(--ease) 0s both; }

/* ============================================
   購入バナー（Hero直下）
   ============================================ */
.shopbanner {
    display: block; width: 100%; max-width: 2166px; margin-inline: auto;
    line-height: 0;                    /* 画像下の余白を消してHeroと密着させる */
    background: var(--pastel);         /* 読み込み前のちらつき防止 */
    overflow: hidden;
}
.shopbanner img {
    width: 100%; height: auto; display: block;
    transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.shopbanner:hover { opacity: 1; }
.shopbanner:hover img { transform: scale(1.015); opacity: .94; }
@media (prefers-reduced-motion: reduce) {
    .shopbanner:hover img { transform: none; }
}
