/*
 * ONDA / CSSファイル
 * ★ 文字・画像：index.html、works/work-01.html などを編集。
 * ★ 色：このファイルの【編集15】を検索。
 * ★ ONDA独自アニメーションの構造に関わるCSSを変更する場合はバックアップを。
 */

/* ======================================================================
 * 外部フォント設定（基本は編集不要）
 * (fonts)
 * ====================================================================== */

/*latin-ext*/
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/gabarito/v9/QGYtz_0dZAGKJJ4t3HtmW4XUng.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/*latin*/
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/gabarito/v9/QGYtz_0dZAGKJJ4t3HtoW4U.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/*cyrillic-ext*/
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xmS-HY6EQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/*cyrillic*/
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xmb-HY6EQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/*math*/
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xnj-HY6EQ.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
/*symbols*/
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xnx-HY6EQ.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF;
}
/*vietnamese*/
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xmQ-HY6EQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/*latin-ext*/
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xmR-HY6EQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/*latin*/
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v11/gNMKW3F-SZuj7xmf-HY.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ======================================================================
 * CSSのレイヤー定義（編集不要）
 * (layers)
 * ====================================================================== */

@layer tokens, base, atoms, layout, sections, scenes;


/* ======================================================================
 * ★★【編集15】テーマカラー・フォント・余白・角丸
 * (tokens)
 * ====================================================================== */

@layer tokens {
  :root {
    --color-1: #0d0c11;
    --color-2: #ffffff;
    --color-3: #ff5533;
    --color-4: #efeef4;
    --color-5: #aaa7b4;
    --color-6: #5d5a67;
    --color-7: #1f1d26;
    --font-1: "Gabarito", "Gabarito Fallback", "Arial Black", Arial, sans-serif;
    --font-2: "Onest", "Onest Fallback", Arial, sans-serif;
    --radius-1: 28px;
    --radius-2: 999px;
    --radius-3: 14px;
    --shadow-1: 0 -18px 50px color-mix(in srgb, var(--color-1) 45%, transparent);
    --shadow-2: 0 2px 0 var(--color-3);
    --shadow-3: 0 0 0 2px var(--color-1);
    --space-1: clamp(16px, 3.4vw, 48px);
    --space-2: clamp(96px, 15vh, 200px);
  }
}


/* ======================================================================
 * 全体の基本スタイル
 * (base)
 * ====================================================================== */

@font-face {
  font-family: "Gabarito Fallback";
  src: local("Arial Black"), local("Arial-Black"), local("Arial Bold");
  font-weight: 800 1000;
  size-adjust: 79.7%;
  ascent-override: 117.9%;
  descent-override: 32.6%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Gabarito Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold");
  font-weight: 550 799;
  size-adjust: 92.5%;
  ascent-override: 101.7%;
  descent-override: 28.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Onest Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  font-weight: 100 549;
  size-adjust: 106.2%;
  ascent-override: 91.4%;
  descent-override: 29.2%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Onest Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold");
  font-weight: 550 799;
  size-adjust: 101.9%;
  ascent-override: 95.2%;
  descent-override: 30.4%;
  line-gap-override: 0%;
}
@layer base {
  *, *::before, *::after {
    box-sizing: border-box;
  }
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  html.lenis, html.lenis body {
    height: auto;
  }
  .lenis:not(.lenis-autoToggle).lenis-stopped {
    overflow: clip;
  }
  .lenis [data-lenis-prevent] {
    overscroll-behavior: contain;
  }
  .lenis.lenis-smooth iframe {
    pointer-events: none;
  }
  body {
    margin: 0;
    background: var(--color-2);
    color: var(--color-1);
    overflow-x: clip;
  }
  img {
    display: block;
    max-width: 100%;
  }
  h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd {
    margin: 0;
  }
  ul, ol {
    padding: 0;
    list-style: none;
  }
  a {
    color: inherit;
  }
  button, input, select, textarea {
    font: inherit;
    color: inherit;
  }
  :focus-visible {
    outline: 3px solid var(--color-3);
    outline-offset: 3px;
  }
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  main {
    overflow-x: clip;
  }
  .skip {
    position: fixed;
    left: var(--space-1);
    top: 12px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: var(--radius-2);
    background: var(--color-2);
    color: var(--color-1);
    font-family: var(--font-2);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
  }
  .skip:focus-visible {
    transform: none;
  }
}


/* ======================================================================
 * 共通部品
 * (system)
 * ====================================================================== */

@layer atoms {
  .m-text {
    font-family: var(--font-2);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none;
    font-style: normal;
  }
  .m-text-2 {
    font-family: var(--font-1);
    font-size: min(40vw, calc((100vw - 2 * var(--space-1)) / (var(--len, 5) * 0.47)));
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -0.065em;
    text-transform: none;
    font-style: normal;
  }
  .m-text-3 {
    font-family: var(--font-1);
    font-size: clamp(50px, 9.2vw, 150px);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: -0.055em;
    text-transform: none;
    font-style: normal;
  }
  .m-text-4 {
    font-family: var(--font-1);
    font-size: clamp(30px, 3.9vw, 58px);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: -0.04em;
    text-transform: none;
    font-style: normal;
  }
  .m-text-5 {
    font-family: var(--font-2);
    font-size: clamp(19px, 1.7vw, 25px);
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: -0.015em;
    text-transform: none;
    font-style: normal;
  }
  .m-text-6 {
    font-family: var(--font-2);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-transform: none;
    font-style: normal;
  }
  .m-text-7 {
    font-family: var(--font-1);
    font-size: clamp(22px, 2.05vw, 30px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-transform: none;
    font-style: normal;
  }
  .m-dot {
    display: inline-block;
    width: 0.19em;
    height: 0.19em;
    margin-left: 0.035em;
    border-radius: var(--radius-2);
    background: var(--color-3);
    vertical-align: baseline;
  }
  .m-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px 0 18px;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-2);
    background: var(--color-3);
    color: var(--color-2);
    font-family: var(--font-2);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
  }
  .m-btn::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: var(--radius-2);
    background: currentColor;
  }
  .m-btn::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 22px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: var(--radius-2);
    background: var(--color-1);
    transform: scale(0);
    transition: transform .5s cubic-bezier(.7, 0, .2, 1);
  }
  .m-btn__label {
    position: relative;
  }
  @media (hover: hover) {
    .m-btn:hover::after {
      transform: scale(60);
    }
  }
  .m-btn-2 {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px 0 18px;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-2);
    background: var(--color-2);
    color: var(--color-1);
    font-family: var(--font-2);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: color .35s;
  }
  .m-btn-2::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: var(--radius-2);
    background: var(--color-3);
  }
  .m-btn-2::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 22px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: var(--radius-2);
    background: var(--color-1);
    transform: scale(0);
    transition: transform .5s cubic-bezier(.7, 0, .2, 1);
  }
  .m-btn-2 .m-btn__label {
    position: relative;
  }
  @media (hover: hover) {
    .m-btn-2:hover {
      color: var(--color-2);
    }
    .m-btn-2:hover::after {
      transform: scale(60);
    }
  }
  .m-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    font-family: var(--font-2);
    font-size: clamp(17px, 1.45vw, 21px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    text-decoration: none;
  }
  .m-link__label {
    position: relative;
    padding-block: 3px;
  }
  .m-link__label::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: var(--radius-2);
    background: currentColor;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .45s cubic-bezier(.7, 0, .2, 1);
  }
  .m-link__arrow {
    width: 0.8em;
    height: 0.8em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: transform .45s cubic-bezier(.7, 0, .2, 1);
  }
  @media (hover: hover) {
    .m-link:hover .m-link__label::after {
      transform: scaleX(1);
    }
    .m-link:hover .m-link__arrow {
      transform: translateX(4px);
    }
  }
  .m-link-2 {
    position: relative;
    display: inline-block;
    padding-block: 4px;
    font-family: var(--font-2);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.005em;
    text-decoration: none;
  }
  .m-link-2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    border-radius: var(--radius-2);
    background: currentColor;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .45s cubic-bezier(.7, 0, .2, 1);
  }
  @media (hover: hover) {
    .m-link-2:hover::after {
      transform: scaleX(1);
    }
  }
  .m-icon {
    position: relative;
    isolation: isolate;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    padding: 0;
    border: 1.5px solid currentColor;
    border-radius: var(--radius-2);
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: color .35s;
  }
  .m-icon::after {
    content: "";
    position: absolute;
    inset: 3px;
    z-index: -1;
    border-radius: var(--radius-2);
    background: var(--color-3);
    transform: scale(0);
    transition: transform .45s cubic-bezier(.7, 0, .2, 1);
  }
  .m-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }
  @media (hover: hover) {
    .m-icon:hover {
      color: var(--color-2);
    }
    .m-icon:hover::after {
      transform: scale(1);
    }
  }
  .m-surface {
    border-radius: var(--radius-1);
    background: var(--color-4);
    color: var(--color-1);
  }
  .m-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
    border-radius: var(--radius-2);
    font-family: var(--font-2);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    font-style: normal;
    white-space: nowrap;
  }
  .m-field {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1.5px solid color-mix(in srgb, currentColor 40%, transparent);
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: var(--font-2);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    font-style: normal;
  }
  .m-field:focus-visible {
    outline: none;
    border-bottom-color: var(--color-3);
    box-shadow: var(--shadow-2);
  }
  textarea.m-field {
    min-height: 112px;
    resize: vertical;
  }
}


/* ======================================================================
 * ヘッダー・メニュー
 * (section:navigation)
 * ====================================================================== */

@layer sections {
  #navigation {
    position: fixed;
    z-index: 40;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px var(--space-1);
    pointer-events: none;
  }
  #navigation > * {
    pointer-events: auto;
  }
  #navigation .nav__brand {
    display: inline-flex;
    align-items: baseline;
    min-height: 48px;
    padding: 9px 18px 0;
    border-radius: var(--radius-2);
    background: var(--color-1);
    color: var(--color-2);
    font-family: var(--font-1);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.05em;
    text-decoration: none;
  }
  #navigation .nav__links {
    margin-inline: auto;
    padding: 0 8px;
    border-radius: var(--radius-2);
    background: var(--color-1);
    color: var(--color-2);
  }
  #navigation .nav__links ul {
    display: flex;
  }
  #navigation .nav__cta {
    box-shadow: var(--shadow-3);
  }
  #navigation .nav__links a {
    display: block;
    margin: 0 14px;
    padding-block: 14px;
  }
  #navigation .nav__links a::after {
    bottom: 10px;
  }
  #navigation .nav__menu {
    display: none;
    margin-left: auto;
  }
  #navigation .menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 14px var(--space-1) 32px;
    background: var(--color-1);
    color: var(--color-2);
    overflow-y: auto;
  }
  #navigation .menu[hidden] {
    display: none;
  }
  #navigation .menu__top {
    display: flex;
    justify-content: flex-end;
  }
  #navigation .menu__list {
    align-self: center;
    display: grid;
    gap: 6px;
  }
  #navigation .menu__list a {
    font-family: var(--font-1);
    font-size: clamp(42px, 13vw, 72px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    text-decoration: none;
  }
  #navigation .menu__foot {
    color: var(--color-5);
  }
  @media (max-width: 899px) {
    #navigation .nav__links, #navigation .nav__cta {
      display: none;
    }
    #navigation .nav__menu {
      display: inline-flex;
    }
  }
}


/* ======================================================================
 * TOP / HERO
 * (section:hero)
 * ====================================================================== */

@layer sections {
  #hero {
    --ap: min(74vw, 44svh);
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: max(100svh, 560px);
    padding: 0 var(--space-1);
    background: var(--color-1);
    color: var(--color-2);
    overflow: clip visible;
  }
  #hero .hero__intro {
    display: grid;
    justify-items: start;
    align-content: start;
    gap: 18px;
    max-width: 32rem;
    padding-top: clamp(92px, 14svh, 150px);
  }
  #hero .hero__lead {
    color: var(--color-2);
  }
  #hero .hero__title {
    position: static;
    align-self: end;
    padding-bottom: clamp(18px, 5svh, 52px);
    white-space: nowrap;
  }
  #hero .hero__word, #hero .hero__mask, #hero .hero__glyphs {
    display: inline-block;
  }
  #hero .hero__period {
    position: static;
    display: inline-block;
    width: 0.19em;
    height: 0.19em;
    margin-left: 0.035em;
    border-radius: var(--radius-2);
    background: var(--color-3);
    vertical-align: baseline;
  }
  #hero .hero__stage {
    position: absolute;
    left: calc(50% - var(--ap) / 2);
    top: calc(57% - var(--ap) / 2);
    width: var(--ap);
    height: var(--ap);
    font-size: 16px;
    line-height: 0;
  }
  #hero .hero__aperture {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-2);
    background: #000;
  }
  #hero .hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #hero .hero__tint {
    position: absolute;
    inset: 0;
    background: var(--color-3);
    opacity: 0;
  }
  #hero .hero__orbit {
    position: absolute;
    inset: -9%;
    display: block;
    border-radius: var(--radius-2);
    border: 1px solid color-mix(in srgb, var(--color-2) 16%, transparent);
  }
  #hero .hero__moon {
    position: absolute;
    left: 50%;
    top: 0;
    width: 9%;
    height: 9%;
    margin: -4.5% 0 0 -4.5%;
    border-radius: var(--radius-2);
    background: var(--color-3);
  }
  @media (min-width: 900px) and (orientation: landscape) {
    #hero {
      --ap: min(36vw, 60svh);
    }
    #hero .hero__title {
      font-size: min(26.5vw, 43svh);
    }
    #hero .hero__period {
      position: relative;
      background: transparent;
    }
    #hero .hero__stage {
      left: 0;
      top: auto;
      bottom: 0;
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    #hero .hero__mask {
      animation: hero-mask .95s linear backwards;
    }
    #hero .hero__glyphs {
      animation: hero-rise .95s cubic-bezier(.16, .84, .24, 1) backwards;
    }
    #hero .hero__stage {
      transform-origin: 50% 50%;
      animation: hero-swell 1.1s cubic-bezier(.2, .9, .25, 1.12) backwards;
    }
    #hero .hero__intro {
      animation: hero-lift .9s .12s cubic-bezier(.16, .84, .24, 1) backwards;
    }
    #hero .hero__img {
      animation: hero-turn 46s linear infinite;
    }
    #hero .hero__orbit {
      animation: hero-orbit 13s linear infinite;
    }
    #hero.is-offscreen .hero__img, #hero.is-offscreen .hero__orbit {
      animation-play-state: paused;
    }
    @media (min-width: 900px) and (orientation: landscape) {
      #hero .hero__stage {
        transform-origin: 0 100%;
        animation-name: hero-inflate;
      }
    }
    @keyframes hero-mask {
      from, to {
        clip-path: inset(-40% -8% 0 -8%);
      }
    }
    @keyframes hero-rise {
      from {
        transform: translateY(92%);
      }
    }
    @keyframes hero-swell {
      from {
        transform: scale(.72);
      }
    }
    @keyframes hero-inflate {
      from {
        transform: scale(.36);
      }
    }
    @keyframes hero-lift {
      from {
        transform: translateY(26px);
      }
    }
    @keyframes hero-turn {
      to {
        transform: rotate(360deg);
      }
    }
    @keyframes hero-orbit {
      to {
        transform: rotate(360deg);
      }
    }
  }
}


/* ======================================================================
 * キャッチコピー
 * (section:statement)
 * ====================================================================== */

@layer sections {
  #statement {
    position: relative;
    padding: var(--space-2) var(--space-1) calc(var(--space-2) * 0.9);
    background: var(--color-2);
  }
  #statement .statement__title {
    font-size: clamp(40px, 8.7vw, 140px);
  }
  #statement .statement__line {
    display: block;
  }
  #statement .statement__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    margin-top: clamp(56px, 11vh, 120px);
  }
  #statement .statement__lead {
    max-width: 36rem;
  }
  #statement .statement__index ul {
    display: grid;
    gap: 12px;
  }
  @media (min-width: 900px) {
    #statement .statement__body {
      grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
      align-items: start;
    }
    #statement .statement__lead {
      font-size: clamp(24px, 2.35vw, 34px);
      line-height: 1.16;
      letter-spacing: -0.025em;
    }
  }
}


/* ======================================================================
 * 制作実績
 * (section:work)
 * ====================================================================== */

@layer sections {
  #work {
    position: relative;
    color: var(--color-2);
  }
  #work .work__plate {
    position: absolute;
    inset: 0 0 -2px;
    background: var(--color-1);
  }
  #work .work__stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: clamp(28px, 4vh, 48px);
    padding: var(--space-2) var(--space-1);
  }
  #work .work__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px 40px;
  }
  #work .work__lead {
    max-width: 25rem;
    color: var(--color-5);
  }
  #work .work__track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  #work .case {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-1);
    background: var(--color-7);
    aspect-ratio: 4 / 5;
  }
  #work .case__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  #work .case__img {
    position: absolute;
    top: 0;
    left: -7%;
    width: 114%;
    max-width: none;
    height: 100%;
    object-fit: cover;
  }
  #work .case__media::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(to top, color-mix(in srgb, var(--color-1) 82%, transparent), transparent);
  }
  #work .case__tag {
    position: absolute;
    left: clamp(18px, 2vw, 28px);
    top: clamp(18px, 2vw, 28px);
    background: color-mix(in srgb, var(--color-1) 62%, transparent);
  }
  #work .case__text {
    position: absolute;
    left: clamp(18px, 2.4vw, 36px);
    right: clamp(18px, 2.4vw, 36px);
    bottom: clamp(18px, 2.4vw, 36px);
    display: grid;
    gap: 10px;
  }
  #work .case__line {
    max-width: 30rem;
    color: var(--color-2);
  }
  @media (min-width: 700px) {
    #work .work__track {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #work .case {
      aspect-ratio: 16 / 11;
    }
    #work .case:last-child:nth-child(odd) {
      grid-column: span 2;
      aspect-ratio: 16 / 6.5;
    }
  }
}


/* ======================================================================
 * scene-style:work
 * (scene-style:work)
 * ====================================================================== */

@layer scenes {
  @media (prefers-reduced-motion: no-preference) {
    #work.is-track {
      height: calc(100svh + var(--run, 0px));
    }
    #work.is-track .work__stage {
      position: sticky;
      top: 0;
      height: 100svh;
      min-height: 560px;
      padding-top: clamp(84px, 13svh, 120px);
      padding-bottom: clamp(24px, 5svh, 48px);
      grid-template-rows: auto minmax(0, 1fr);
      overflow: clip;
    }
    #work.is-track .work__window {
      display: flex;
      align-items: center;
      min-height: 0;
      transform-origin: 0 50%;
    }
    #work.is-track .work__track {
      display: flex;
      gap: clamp(14px, 1.6vw, 24px);
      width: max-content;
      height: min(100%, 64svh);
    }
    #work.is-track .case {
      width: auto;
      height: 100%;
      aspect-ratio: 4 / 5;
      flex: none;
    }
    @media (min-width: 700px) {
      #work.is-track .case {
        aspect-ratio: 16 / 10.5;
      }
    }
  }
}


/* ======================================================================
 * 制作分野
 * (section:again)
 * ====================================================================== */

@layer sections {
  #again {
    position: relative;
    background: var(--color-1);
    color: var(--color-2);
  }
  #again .again__stage {
    position: relative;
    padding: calc(var(--space-2) * 0.7) var(--space-1) var(--space-2);
  }
  #again .again__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px 40px;
  }
  #again .again__lead {
    max-width: 27rem;
    color: var(--color-5);
  }
  #again .again__swing {
    margin-top: clamp(40px, 7vh, 72px);
  }
  #again .again__wheel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  #again .partner__card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-1);
    background: var(--color-7);
    aspect-ratio: 4 / 5;
  }
  #again .partner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #again .partner__card::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(to top, color-mix(in srgb, var(--color-1) 86%, transparent), transparent);
  }
  #again .partner__text {
    position: absolute;
    z-index: 1;
    left: clamp(16px, 1.8vw, 26px);
    right: clamp(16px, 1.8vw, 26px);
    bottom: clamp(16px, 1.8vw, 26px);
    display: grid;
    justify-items: start;
    gap: 10px;
  }
  #again .partner__year {
    background: color-mix(in srgb, var(--color-1) 62%, transparent);
  }
  #again .partner__name {
    font-size: clamp(28px, 2.6vw, 40px);
  }
  #again .partner__line {
    color: var(--color-2);
  }
  @media (min-width: 640px) {
    #again .again__wheel {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (min-width: 1000px) {
    #again .again__wheel {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
}


/* ======================================================================
 * scene-style:again
 * (scene-style:again)
 * ====================================================================== */

@layer scenes {
  @media (prefers-reduced-motion: no-preference) {
    #again.is-wheel {
      height: calc(100svh + var(--spin, 0px));
    }
    #again.is-wheel .again__stage {
      position: sticky;
      top: 0;
      height: 100svh;
      min-height: 560px;
      overflow: clip;
      padding-top: clamp(84px, 13svh, 120px);
    }
    #again.is-wheel .again__swing {
      position: absolute;
      left: 50%;
      top: calc(var(--arc-top) + var(--radius));
      width: 0;
      height: 0;
      margin: 0;
    }
    #again.is-wheel .again__wheel {
      position: absolute;
      left: 0;
      top: 0;
      display: block;
      width: 0;
      height: 0;
    }
    #again.is-wheel .partner {
      position: absolute;
      left: 0;
      top: 0;
      width: 0;
      height: 0;
      rotate: calc(var(--i) * var(--step));
    }
    #again.is-wheel .partner__card {
      position: absolute;
      left: calc(var(--card) / -2);
      top: calc(var(--radius) * -1);
      width: var(--card);
    }
  }
}


/* ======================================================================
 * サービス
 * (section:capabilities)
 * ====================================================================== */

@layer sections {
  #capabilities {
    position: relative;
    padding: calc(var(--space-2) * 0.6) var(--space-1) var(--space-2);
    background: var(--color-1);
    color: var(--color-2);
  }
  #capabilities .capabilities__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 20px 40px;
    margin-bottom: clamp(40px, 7vh, 80px);
  }
  #capabilities .capabilities__lead {
    max-width: 27rem;
    color: var(--color-5);
  }
  #capabilities .capabilities__deck {
    display: grid;
    gap: 20px;
  }
  #capabilities .service {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: clamp(18px, 2.4vw, 34px);
    overflow: hidden;
    box-shadow: var(--shadow-1);
  }
  #capabilities .service__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  #capabilities .service__line {
    max-width: 30rem;
    color: var(--color-6);
  }
  #capabilities .service__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    color: var(--color-6);
  }
  #capabilities .service__media {
    overflow: hidden;
    border-radius: var(--radius-3);
    aspect-ratio: 16 / 10;
  }
  #capabilities .service__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #capabilities .service__shade {
    position: absolute;
    inset: 0;
    background: var(--color-1);
    opacity: 0;
    pointer-events: none;
  }
  @media (min-width: 900px) {
    #capabilities .service {
      grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
      gap: clamp(24px, 3vw, 48px);
      height: min(62svh, 560px);
      min-height: 400px;
    }
    #capabilities .service__media {
      aspect-ratio: auto;
      height: 100%;
    }
  }
}


/* ======================================================================
 * scene-style:capabilities
 * (scene-style:capabilities)
 * ====================================================================== */

@layer scenes {
  @media (prefers-reduced-motion: no-preference) {
    #capabilities.is-deck .service {
      position: sticky;
      top: calc(clamp(80px, 12svh, 108px) + var(--i) * 14px);
      transform-origin: 50% 0;
    }
  }
}


/* ======================================================================
 * 制作フロー
 * (section:method)
 * ====================================================================== */

@layer sections {
  #method {
    position: relative;
    padding: var(--space-2) var(--space-1);
    background: var(--color-2);
  }
  #method .method__head {
    display: grid;
    gap: 24px;
    max-width: 60rem;
    margin-bottom: clamp(48px, 9vh, 110px);
  }
  #method .method__lead {
    max-width: 34rem;
  }
  #method .method__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 20px;
    align-items: start;
  }
  #method .method__ring {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 1;
  }
  #method .method__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    rotate: -90deg;
  }
  #method .method__track {
    fill: none;
    stroke: color-mix(in srgb, var(--color-1) 14%, transparent);
    stroke-width: 1.5;
  }
  #method .method__arc {
    fill: none;
    stroke: var(--color-3);
    stroke-width: 5;
    stroke-linecap: round;
  }
  #method .method__station {
    position: absolute;
    left: calc(50% + 42.5% * var(--x));
    top: calc(50% + 42.5% * var(--y));
    width: 9%;
    height: 9%;
    margin: -4.5% 0 0 -4.5%;
    border-radius: var(--radius-2);
    background: var(--color-3);
  }
  #method .method__arm {
    position: absolute;
    inset: 7.5%;
  }
  #method .method__runner {
    position: absolute;
    left: 50%;
    top: 0;
    width: 15%;
    height: 15%;
    margin: -7.5% 0 0 -7.5%;
    border: 3px solid var(--color-3);
    border-radius: var(--radius-2);
    background: var(--color-2);
  }
  #method .method__steps {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    gap: clamp(56px, 18vh, 170px);
  }
  #method .step {
    display: grid;
    gap: 14px;
    max-width: 34rem;
  }
  #method .step__text {
    color: var(--color-6);
  }
  @media (min-width: 900px) {
    #method .method__body {
      grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
      gap: 7vw;
    }
    #method .method__ring {
      grid-column: 1;
      width: min(100%, 50svh);
      justify-self: center;
    }
    #method .method__steps {
      grid-column: 2;
      padding-block: 8svh 14svh;
    }
  }
}


/* ======================================================================
 * scene-style:method
 * (scene-style:method)
 * ====================================================================== */

@layer scenes {
  @media (prefers-reduced-motion: no-preference) {
    #method.is-cycle .method__ring {
      position: sticky;
      top: 104px;
    }
    @media (min-width: 900px) {
      #method.is-cycle .method__ring {
        top: calc(50svh - min(25svh, 21vw));
      }
    }
  }
}


/* ======================================================================
 * プロフィール
 * (section:studio)
 * ====================================================================== */

@layer sections {
  #studio {
    position: relative;
    padding: var(--space-2) var(--space-1);
    background: var(--color-2);
  }
  #studio .studio__head {
    display: grid;
    gap: 28px;
    margin-bottom: clamp(48px, 8vh, 96px);
  }
  #studio .studio__lead {
    max-width: 42rem;
  }
  #studio .studio__collage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #studio .shot {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-3);
    background: var(--color-4);
  }
  #studio .shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #studio .shot--wide {
    grid-column: span 2;
    aspect-ratio: 3 / 2;
  }
  #studio .shot--tall {
    aspect-ratio: 3 / 4;
  }
  #studio .studio__roles {
    grid-column: span 2;
    display: grid;
    align-content: start;
    gap: 18px;
    padding-top: 24px;
  }
  #studio .studio__roles ul {
    display: grid;
  }
  #studio .role {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 14px 0;
    border-top: 1px solid color-mix(in srgb, var(--color-1) 16%, transparent);
  }
  #studio .role__place {
    color: var(--color-6);
  }
  @media (min-width: 900px) {
    #studio .studio__head {
      grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
      align-items: end;
      column-gap: 6vw;
    }
    #studio .studio__collage {
      display: block;
      aspect-ratio: 1.85;
    }
    #studio .shot {
      position: absolute;
    }
    #studio .shot:nth-child(1) {
      left: 0;
      top: 0;
      width: 34%;
    }
    #studio .shot:nth-child(2) {
      left: 37%;
      top: 5.5%;
      width: 19%;
    }
    #studio .shot:nth-child(3) {
      left: 8%;
      top: 47%;
      width: 20%;
    }
    #studio .shot:nth-child(4) {
      left: 59%;
      top: 0;
      width: 41%;
    }
    #studio .shot:nth-child(5) {
      left: 31%;
      top: 53.3%;
      width: 36%;
    }
    #studio .studio__roles {
      position: absolute;
      left: 71%;
      top: 55%;
      width: 29%;
      padding-top: 0;
    }
  }
}


/* ======================================================================
 * 制作への考え方
 * (section:journal)
 * ====================================================================== */

@layer sections {
  #journal {
    position: relative;
    padding: calc(var(--space-2) * 0.6) var(--space-1) var(--space-2);
    background: var(--color-2);
  }
  #journal .journal__head {
    margin-bottom: clamp(40px, 7vh, 88px);
  }
  #journal .journal__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  #journal .journal__frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-1);
    background: var(--color-4);
    aspect-ratio: 16 / 10;
  }
  #journal .journal__shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #journal .journal__shot:first-child {
    z-index: 1;
  }
  #journal .journal__list {
    display: grid;
    gap: clamp(36px, 8vh, 72px);
  }
  #journal .story {
    display: grid;
    gap: 12px;
    max-width: 36rem;
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--color-1) 16%, transparent);
  }
  #journal .story__meta {
    color: var(--color-6);
  }
  #journal .story__meta span {
    color: var(--color-3);
  }
  #journal .story__text {
    color: var(--color-6);
  }
  @media (min-width: 900px) {
    #journal .journal__body {
      grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
      gap: 7vw;
    }
    #journal .journal__frame {
      aspect-ratio: 4 / 5;
    }
    #journal .journal__list {
      gap: clamp(64px, 18vh, 170px);
      padding-block: 6svh 10svh;
    }
  }
}


/* ======================================================================
 * scene-style:journal
 * (scene-style:journal)
 * ====================================================================== */

@layer scenes {
  @media (prefers-reduced-motion: no-preference) {
    #journal.is-swap .journal__frame {
      position: sticky;
      z-index: 1;
      top: 80px;
    }
    #journal.is-swap .journal__shot:first-child {
      z-index: auto;
    }
    @media (min-width: 900px) {
      #journal.is-swap .journal__frame {
        top: calc(50svh - min(30svh, 22vw));
        max-height: 60svh;
      }
    }
  }
}


/* ======================================================================
 * section:faq
 * (section:faq)
 * ====================================================================== */

@layer sections {
  #faq {
    position: relative;
    display: grid;
    gap: 40px;
    padding: var(--space-2) var(--space-1);
    background: var(--color-2);
    border-top: 1px solid color-mix(in srgb, var(--color-1) 12%, transparent);
  }
  #faq .faq__title {
    font-size: clamp(48px, 7.2vw, 116px);
  }
  #faq .faq__item {
    border-bottom: 1px solid color-mix(in srgb, var(--color-1) 16%, transparent);
  }
  #faq .faq__item:first-child {
    border-top: 1px solid color-mix(in srgb, var(--color-1) 16%, transparent);
  }
  #faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
  }
  #faq summary::-webkit-details-marker {
    display: none;
  }
  #faq .faq__mark {
    position: relative;
    flex: none;
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--color-1);
    border-radius: var(--radius-2);
  }
  #faq .faq__mark::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    border-radius: var(--radius-2);
    background: var(--color-3);
    transition: transform .45s cubic-bezier(.7, 0, .2, 1);
  }
  #faq details[open] .faq__mark::after {
    transform: scale(3.1);
  }
  #faq .faq__answer {
    max-width: 40rem;
    padding: 0 0 26px;
    color: var(--color-6);
  }
  @media (hover: hover) {
    #faq summary:hover .faq__mark::after {
      transform: scale(1.8);
    }
    #faq details[open] summary:hover .faq__mark::after {
      transform: scale(3.1);
    }
  }
  @media (min-width: 900px) {
    #faq {
      grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
      gap: 6vw;
    }
  }
}


/* ======================================================================
 * お問い合わせ
 * (section:contact)
 * ====================================================================== */

@layer sections {
  #contact {
    position: relative;
    padding: var(--space-2) var(--space-1);
    background: var(--color-3);
    color: var(--color-2);
  }
  #contact :focus-visible {
    outline-color: var(--color-2);
  }
  #contact .contact__title {
    font-size: min(19vw, calc((100vw - 2 * var(--space-1)) / (var(--len) * 0.5)));
    line-height: 0.86;
    white-space: nowrap;
  }
  #contact .contact__title .m-dot {
    background: var(--color-2);
  }
  #contact .contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    margin-top: clamp(40px, 8vh, 88px);
  }
  #contact .contact__info {
    display: grid;
    align-content: start;
    gap: 32px;
  }
  #contact .contact__lead {
    max-width: 30rem;
  }
  #contact .contact__mail {
    font-family: var(--font-1);
    font-size: clamp(28px, 3.4vw, 50px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
    text-decoration: none;
  }
  #contact .contact__mail span {
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
    padding-bottom: 4px;
  }
  #contact .contact__places {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
  }
  #contact .contact__places dt {
    margin-bottom: 6px;
  }
  #contact .contact__places dd a {
    text-decoration: none;
  }
  #contact .contact__form {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 3vw, 40px);
  }
  #contact .contact__form label {
    display: grid;
    gap: 2px;
    color: var(--color-6);
  }
  #contact .contact__form .m-field {
    color: var(--color-1);
  }
  #contact .contact__form :focus-visible {
    outline-color: var(--color-3);
  }
  #contact .contact__pair {
    display: grid;
    gap: 18px;
  }
  #contact .contact__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-top: 6px;
  }
  #contact .contact__status {
    color: var(--color-1);
  }
  @media (min-width: 640px) {
    #contact .contact__pair {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (min-width: 1000px) {
    #contact .contact__grid {
      grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
      gap: 6vw;
    }
  }
}


/* ======================================================================
 * フッター
 * (section:footer)
 * ====================================================================== */

@layer sections {
  #footer {
    --ap: min(30vw, 44svh);
    position: relative;
    padding: clamp(80px, 12vh, 140px) var(--space-1) 28px;
    background: var(--color-1);
    color: var(--color-2);
    overflow: clip;
  }
  #footer .footer__bye {
    position: relative;
    padding-top: var(--ap);
    white-space: nowrap;
    font-size: min(36vw, 40svh);
  }
  #footer .footer__word {
    display: inline-block;
  }
  #footer .footer__period {
    position: relative;
    display: inline-block;
    width: 0.19em;
    height: 0.19em;
    margin-left: 0.035em;
    vertical-align: baseline;
  }
  #footer .footer__aperture {
    position: absolute;
    left: 0;
    bottom: 0;
    width: var(--ap);
    height: var(--ap);
    overflow: hidden;
    border-radius: var(--radius-2);
    background: #000;
    transform-origin: 0 100%;
  }
  #footer .footer__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #footer .footer__tint {
    position: absolute;
    inset: 0;
    background: var(--color-3);
    opacity: 0;
  }
  #footer .footer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
    margin-top: clamp(48px, 9vh, 96px);
    padding-top: 32px;
    border-top: 1px solid color-mix(in srgb, var(--color-2) 16%, transparent);
  }
  #footer .footer__col {
    display: grid;
    align-content: start;
    gap: 6px;
  }
  #footer .footer__label {
    margin-bottom: 8px;
    color: var(--color-5);
  }
  #footer .footer__news {
    grid-column: 1 / -1;
    display: grid;
    gap: 14px;
  }
  #footer .footer__field {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  #footer .footer__field .m-field {
    flex: 1;
  }
  #footer .footer__note {
    color: var(--color-5);
  }
  #footer .footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: 56px;
    color: var(--color-5);
  }
  @media (min-width: 900px) {
    #footer .footer__bye {
      font-size: min(24vw, 40svh);
    }
    #footer .footer__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr);
    }
    #footer .footer__news {
      grid-column: auto;
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    #footer .footer__img {
      animation: footer-turn 46s linear infinite;
    }
    #footer.is-offscreen .footer__img {
      animation-play-state: paused;
    }
    @keyframes footer-turn {
      to {
        transform: rotate(360deg);
      }
    }
  }
}


/* ======================================================================
 * extra-23
 * (extra-23)
 * ====================================================================== */

body {
  font-family: Onest,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
}


/* ======================================================================
 * ★★【編集16】個人ポートフォリオ用の追加デザイン
 * (kango-overrides)
 * ====================================================================== */

/*KANGO SUZUKI modifications — the original 8B animations and sections are retained.*/
#work .case__link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  color: inherit;
  text-decoration: none;
}
#work .case__link:focus-visible {
  outline: 3px solid #ff9a85;
  outline-offset: -5px;
}
#work .case__link .case__img {
  transition: filter .25s ease;
}
#work .case__link:hover .case__img {
  filter: brightness(1.16);
}
#work .case__link:hover .case__tag {
  background: #ff5533;
}
#contact .contact__pending {
  color: var(--color-5);
  font-size: .88em;
}
@media (prefers-reduced-motion: reduce) {
  #work .case__link .case__img {
    transition: none;
  }
}



/* ======================================================================
 * ★【編集17】日本語本文の文字組み調整（2026-11）
 *
 * 対象：トップページ「Your idea. / My quest.」の下にある説明文だけ。
 * 他の見出し、作品一覧、スクロールアニメーションには影響しません。
 *
 * ★ PC/スマホ共通：日本語を読みやすい大きさ・行間にする
 * ★ HTMLの文章や <br> は変更しない（任意改行はそのまま残ります）
 * ★ 文章の途中にある改行は画面幅によって自動で折り返されます
 * ====================================================================== */
@layer sections {
  #statement .statement__lead {
    /* 日本語本文用：英語見出しのフォントサイズとは分離 */
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: clamp(16px, 1.45vw, 21px);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0;

    /* 横幅いっぱいに文字を詰めず、読みやすい行幅にする */
    max-width: min(100%, 43rem);

    /* 不自然な文字切れ・行末の孤立をなるべく減らす */
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
    text-wrap: pretty;
  }

  /* 日本語の語句単位で改行できるブラウザだけ、より自然な改行を利用 */
  @supports (word-break: auto-phrase) {
    #statement .statement__lead {
      word-break: auto-phrase;
    }
  }

  @media (max-width: 767px) {
    #statement .statement__lead {
      font-size: clamp(15px, 4vw, 17px);
      line-height: 1.85;
      max-width: 100%;
    }
  }
}

/* =====================================================================
   ★【編集18】サイト全体のサブテキスト文字サイズを統一

   PC : 16〜21px（ウィンドウ幅に応じて調整）
   SP : 15〜17px（ウィンドウ幅に応じて調整）

   対象：各セクションの説明文／サービス説明／作品カード説明／FAQ回答
   対象外：大見出し・作品タイトル・ボタン・メニュー・小さなラベル
   使い方：assets/css/onda.css の一番下にそのまま追記
   ※ HTMLやJavaScriptには変更を加えません。
   ===================================================================== */

@layer sections {
  /* 説明文だけを指定。見出しやナビゲーションは変更しない */
  :is(
    #hero .hero__lead,
    #statement .statement__lead,
    #work .work__lead,
    #work .case__line,
    #again .again__lead,
    #again .partner__line,
    #capabilities .capabilities__lead,
    #capabilities .service__line,
    #method .method__lead,
    #method .step__text,
    #studio .studio__lead,
    #journal .story__text,
    #faq .faq__answer,
    #contact .contact__lead
  ) {
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.8;
    letter-spacing: 0;

    /* 日本語が不自然な位置で切れにくい設定 */
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
    text-wrap: pretty;
  }

  /* 対応ブラウザでは日本語の語句単位の改行を優先 */
  @supports (word-break: auto-phrase) {
    :is(
      #hero .hero__lead,
      #statement .statement__lead,
      #work .work__lead,
      #work .case__line,
      #again .again__lead,
      #again .partner__line,
      #capabilities .capabilities__lead,
      #capabilities .service__line,
      #method .method__lead,
      #method .step__text,
      #studio .studio__lead,
      #journal .story__text,
      #faq .faq__answer,
      #contact .contact__lead
    ) {
      word-break: auto-phrase;
    }
  }

  /* スマートフォン向け */
  @media (max-width: 767px) {
    :is(
      #hero .hero__lead,
      #statement .statement__lead,
      #work .work__lead,
      #work .case__line,
      #again .again__lead,
      #again .partner__line,
      #capabilities .capabilities__lead,
      #capabilities .service__line,
      #method .method__lead,
      #method .step__text,
      #studio .studio__lead,
      #journal .story__text,
      #faq .faq__answer,
      #contact .contact__lead
    ) {
      font-size: clamp(15px, 4vw, 17px);
      line-height: 1.85;
    }
  }
}


/* ===============================================================
   ★【編集13】お問い合わせフォーム / Web3Forms
   この領域だけ調整すればフォームのデザインを変更できます。
   ONDA本体のアニメーション用スタイルには触れていません。
   =============================================================== */
@layer sections {
  #contact .quest-form {
    display: grid;
    gap: 20px;
    padding: clamp(22px, 3vw, 40px);
    background: #fff;
    color: #19141f;
    border-radius: 18px;
    box-shadow: 0 16px 50px rgb(74 21 9 / 13%);
  }
  #contact .quest-form__eyebrow {
    font-size: 12px;
    letter-spacing: .17em;
    font-weight: 750;
    color: #cc3a1c;
  }
  #contact .quest-form__heading {
    font-size: clamp(23px, 2.5vw, 32px);
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: -.035em;
  }
  #contact .quest-form__field { display: grid; gap: 9px; min-width: 0; }
  #contact .quest-form__field label {
    font-size: 14px; line-height: 1.4; font-weight: 700; color: #282132;
  }
  #contact .quest-form__field label span { color: #cc3a1c; }
  #contact .quest-form__field :is(input, select, textarea) {
    display: block; width: 100%; min-width: 0; padding: 13px 15px;
    border: 1px solid #d8d3e2; border-radius: 8px; background: #f8f7fb;
    color: #19141f; font-size: 16px; line-height: 1.6;
  }
  #contact .quest-form__field textarea { min-height: 140px; resize: vertical; }
  #contact .quest-form__field :is(input, select, textarea):focus {
    outline: 2px solid #ff5533; outline-offset: 2px; border-color: #ff5533;
  }
  #contact .quest-form__submit {
    width: 100%; min-height: 54px; border: 0; border-radius: 8px;
    background: #1a1426; color: #fff; font: inherit; font-size: 15px;
    font-weight: 700; cursor: pointer; transition: background .2s ease;
  }
  #contact .quest-form__submit:hover { background: #bc4730; }
  #contact .quest-form__submit:disabled { opacity: .55; cursor: wait; }
  #contact .quest-form__status { min-height: 1.5em; font-size: 14px; line-height: 1.5; }
  #contact .quest-form__status[data-state="success"] { color: #136d45; }
  #contact .quest-form__status[data-state="error"] { color: #bb1d36; }
  #contact .quest-form__privacy { font-size: 12px; color: #66606f; line-height: 1.7; }
  #contact .quest-form__note { font-size: 15px; line-height: 1.8; opacity: .95; }
  #contact .quest-form__bot { display: none !important; }
  @media (max-width: 767px) {
    #contact .quest-form { gap: 17px; padding: 22px 18px; }
    #contact .quest-form__field :is(input, select, textarea) { font-size: 16px; }
  }
}


/* ===============================================================
   ★【編集13-LINE】LINEをフォームより上に表示する導線
   LINE_URL_HERE を index.html で変更するとボタンが有効になります。
   =============================================================== */
@layer sections {
  #contact .contact__methods {
    display: grid;
    gap: 18px;
    min-width: 0;
    align-content: start;
  }
  #contact .contact-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: clamp(22px, 3vw, 32px);
    background: #fff;
    color: #19141f;
    border-radius: 18px;
    box-shadow: 0 16px 50px rgb(74 21 9 / 13%);
  }
  #contact .contact-line__copy { min-width: 0; }
  #contact .contact-line__eyebrow {
    color: #cc3a1c;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .15em;
  }
  #contact .contact-line__title {
    margin-top: 7px;
    font-size: clamp(21px, 2.3vw, 27px);
    line-height: 1.25;
    letter-spacing: -.03em;
    font-weight: 750;
  }
  #contact .contact-line__desc {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.65;
    color: #625a6c;
  }
  #contact .contact-line__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 9px;
    background: #06c755;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: background-color .2s ease, transform .2s ease;
  }
  #contact .contact-line__button[href]:hover { background: #05a647; transform: translateY(-2px); }
  #contact .contact-line__button:not([href]) {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
  }
  #contact .contact-line__pending {
    grid-column: 1 / -1;
    font-size: 12px;
    color: #786f80;
    line-height: 1.5;
  }
  #contact .contact__or {
    color: #fff;
    font-size: 13px;
    text-align: center;
    opacity: .92;
    line-height: 1.5;
  }
  @media (max-width: 767px) {
    #contact .contact-line { grid-template-columns: minmax(0,1fr); padding: 22px 18px; gap: 16px; }
    #contact .contact-line__button { width: 100%; }
  }
  @media (prefers-reduced-motion: reduce) {
    #contact .contact-line__button { transition: none; }
  }
}


/* =====================================================================
 * 【編集19】WORKS：作品の画像を切らず、全体が見える表示（PC・スマホ共通）
 * - 画像が切れる object-fit:cover を使わない
 * - 元のONDA横スクロールのアニメーション構造は維持
 * - スマホの巨大な縦長カードを小型の横長カードにする
 * ===================================================================== */
@layer sections {
  #work .case {
    background: #191622;
  }
  /* カード上：ラベル／中央：画像／下：タイトルで重ならない */
  #work .case__media {
    inset: 44px 12px 82px;
    border-radius: 8px;
    background: #121016;
    overflow: hidden;
  }
  #work .case__img {
    left: 5%;
    top: 0;
    width: 90%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
  }
  #work .case__media::after {
    display: none;
  }
  #work .case__tag {
    top: 12px;
    left: 14px;
  }
  #work .case__text {
    left: 16px;
    right: 16px;
    bottom: 14px;
    gap: 4px;
  }
  #work .case__name {
    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.12;
  }
  #work .case__line {
    font-size: clamp(12px, 1.05vw, 15px);
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  @media (max-width: 699px) {
    #work .case { aspect-ratio: 1.08 / 1; }
    #work .work__track { gap: 14px; }
    #work .case__media { inset: 42px 10px 73px; }
    #work .case__text { bottom: 10px; }
    #work .case__name { font-size: clamp(18px, 5.2vw, 23px); }
    #work .case__line { font-size: 12px; line-height: 1.3; }
  }
}
/* アニメーションが有効な時の横スクロールのカード寸法のみ変更 */
@layer scenes {
  @media (max-width: 699px) and (prefers-reduced-motion: no-preference) {
    #work.is-track .work__track {
      height: min(100%, clamp(240px, 80vw, 340px));
    }
    #work.is-track .case {
      aspect-ratio: 1.08 / 1;
    }
  }
}


/* =====================================================================
 * 【編集20】CONTACT（Let's talk）のPC表示バランス調整
 * - 画面幅1000px以上だけに効きます（スマホの見た目は変えていません）
 * - 左の列：あいさつ文 → LINEの枠 → 「または〜」の一文
 *   右の列：お問い合わせフォーム
 *   ※ HTMLの順番はそのままで、CSSの並べ方（grid-template-areas）だけで配置しています
 * - フォームの「お名前」「メールアドレス」を横並びにして、縦長になりすぎないようにする
 * ===================================================================== */
@layer sections {
  @media (min-width: 1000px) {
    #contact .contact__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-areas:
        "info form"
        "line form"
        "or   form"
        ".    form";
      grid-template-rows: auto auto auto 1fr;
      column-gap: 6vw;
      row-gap: 0;
    }
    /* 右の列の入れ物を「ないもの」として扱い、中身を直接グリッドに並べる */
    #contact .contact__methods { display: contents; }
    #contact .contact__info { grid-area: info; }
    #contact .contact-line {
      grid-area: line;
      margin-top: clamp(40px, 4vw, 64px);
    }
    #contact .contact__or {
      grid-area: or;
      margin-top: 18px;
      text-align: left;
    }
    #contact .contact__or span::after {
      content: "  →";
    }
    #contact .quest-form { grid-area: form; }

    #contact .quest-form {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 16px;
    }
    #contact .quest-form > * {
      grid-column: 1 / -1;
    }
    #contact .quest-form > .quest-form__field:has(#contact-name),
    #contact .quest-form > .quest-form__field:has(#contact-email) {
      grid-column: auto;
    }
  }
}


/* =====================================================================
 * 【編集21】アクセントカラー（コーラルオレンジ #ff5533）の文字の読みやすさ調整
 * - コーラルオレンジは明るい色なので、上に白い文字をのせると読みにくい
 *   → オレンジの背景の上の文字は、白ではなく黒（--color-1）にする
 * - 白い背景の上の小さなオレンジ文字は、少し濃いオレンジ #cc3a1c にする
 *   （丸や線など、文字以外の飾りは #ff5533 のまま）
 * ===================================================================== */
@layer sections {
  /* 「Contact me」ボタン：オレンジの上は黒文字、マウスを乗せて黒く塗られたら白文字 */
  .m-btn {
    color: var(--color-1);
    transition: color .35s;
  }
  @media (hover: hover) {
    .m-btn:hover {
      color: var(--color-2);
    }
  }

  /* Let's talk セクション：背景がオレンジなので文字を黒に */
  #contact {
    color: var(--color-1);
  }
  #contact :focus-visible {
    outline-color: var(--color-1);
  }
  #contact .contact__title .m-dot {
    background: var(--color-1);
  }
  #contact .contact__or {
    color: var(--color-1);
  }

  /* About me の「01 / PRINCIPLE」などの番号（白い背景の上の小さな文字） */
  #journal .story__meta span {
    color: #cc3a1c;
  }
}

/* Works：カードにマウスを乗せたとき、オレンジになるタグの文字を黒に */
#work .case__link:hover .case__tag {
  color: var(--color-1);
}


/* =====================================================================
 * 【編集22】Let's talk：LINEとお問い合わせの配置・LINEのQRコード
 * - 文字の読みやすさ：オレンジの上の文字を太く・少し大きく（PC・スマホ共通）
 * - PC（画面幅1000px以上）
 *   左の列：あいさつ文（上）→ LINEの枠（下）。LINEの枠の下端をフォームの下端にそろえる
 *   LINEの枠：左にQRコード、右に文章とボタン。「または〜」の一文はPCでは非表示
 * - スマホ：QRコードとその説明は非表示（ボタンを押せばLINEが開くため）
 * ===================================================================== */
@layer sections {
  /* 読みやすさ（共通） */
  #contact .contact__lead {
    font-weight: 700;
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.8;
  }
  #contact .quest-form__note,
  #contact .contact__or {
    font-weight: 600;
    font-size: 14px;
    opacity: 1;
  }

  /* QRコード：初期状態（スマホ）は非表示 */
  #contact .contact-line__qr,
  #contact .contact-line__qr-hint {
    display: none;
  }

  @media (min-width: 1000px) {
    #contact .contact__grid {
      grid-template-areas:
        "info form"
        "line form";
      grid-template-rows: auto 1fr;
    }
    #contact .contact__or { display: none; }

    #contact .contact-line {
      align-self: end;
      margin-top: 40px;
      grid-template-columns: clamp(132px, 11vw, 168px) minmax(0, 1fr);
      grid-template-areas:
        "qr copy"
        "qr btn";
      column-gap: clamp(20px, 2.2vw, 32px);
      row-gap: 18px;
      align-items: center;
      padding: clamp(24px, 2.4vw, 36px);
    }
    #contact .contact-line__qr {
      grid-area: qr;
      display: block;
      padding: 8px;
      border: 1px solid #e6e3ee;
      border-radius: 14px;
      background: #fff;
    }
    #contact .contact-line__qr img {
      display: block;
      width: 100%;
      height: auto;
    }
    #contact .contact-line__copy { grid-area: copy; align-self: end; }
    #contact .contact-line__qr-hint {
      display: block;
      margin-top: 10px;
      font-size: 13px;
      line-height: 1.6;
      color: #625a6c;
    }
    #contact .contact-line__button {
      grid-area: btn;
      align-self: start;
      justify-self: start;
      min-height: 44px;
      padding: 10px 16px;
      background: #fff;
      color: #19141f;
      border: 1px solid #d8d3e2;
    }
    #contact .contact-line__button::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #06c755;
    }
    #contact .contact-line__button[href]:hover {
      background: #f3fbf6;
      border-color: #06c755;
    }
    #contact .contact-line__pending { grid-column: 2; }
  }
}


/* =====================================================================
 * 【編集23】About me：デザインへの想い（リード文）
 * - 見出し「About me.」の下に、キャッチコピーと自己紹介文を表示
 * ===================================================================== */
@layer sections {
  #journal .journal__lead {
    display: grid;
    gap: 20px;
    max-width: 760px;
    margin-top: clamp(28px, 4vh, 48px);
  }
  #journal .journal__catch {
    font-size: clamp(20px, 2.6vw, 36px);
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: -.02em;
  }
  #journal .journal__intro {
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 2;
    color: var(--color-6);
  }
}


/* =====================================================================
 * 【編集24】About me：スマホで読みやすくする
 * - 長い文章は「語句ごとの改行（auto-phrase）」をやめ、自然に折り返す
 *   （語句ごとだと、行の長さがバラバラになって読みにくいため）
 * - 段落を短く分け、段落のあいだに余白を入れる
 * - 文字色を少し濃くして、白い背景の上でも読みやすく
 * ===================================================================== */
#journal .story__text,
#journal .journal__intro {
  word-break: normal;
  line-break: strict;
  text-wrap: wrap;
  color: #4a4552;
}
#journal .journal__lead { gap: 14px; }
#journal .story { gap: 10px; }
#journal .story__text + .story__text { margin-top: 4px; }
@media (max-width: 767px) {
  #journal .journal__catch {
    font-size: 21px;
    line-height: 1.6;
  }
  #journal .journal__intro,
  #journal .story__text {
    font-size: 16px;
    line-height: 1.95;
    letter-spacing: .02em;
  }
  #journal .story h3 {
    font-size: 20px;
    line-height: 1.5;
  }
  #journal .journal__list {
    gap: 56px;
  }
}


/* =====================================================================
 * 【編集25】サイト全体：改行と文字色の調整（スマホを中心に）
 * - 大見出し「Your idea. Your future / My quest. My passion」を
 *   スマホでも2行のまま、途中で折り返さないようにする
 * - FAQの質問：「か？」だけが次の行に落ちないよう、語句単位で改行＋行間を広く
 * - FAQの答えは自然に折り返し、読みやすい行間に（Processの短い説明は語句単位の改行のまま）
 * - 白い背景の上の灰色の文字を少し濃くして読みやすく
 * ===================================================================== */
#statement .statement__line { white-space: nowrap; }
@media (max-width: 767px) {
  #statement .statement__title {
    font-size: 8.4vw;
    line-height: 1.08;
  }
}

#faq summary {
  word-break: auto-phrase;
  line-height: 1.5;
}
#faq .faq__answer {
  word-break: normal;
  line-break: strict;
  text-wrap: wrap;
}
#faq .faq__answer,
#method .step__text,
#method .method__lead {
  color: #4a4552;
}
@media (max-width: 767px) {
  #faq summary {
    font-size: 17px;
    padding: 20px 0;
  }
  #faq .faq__answer,
  #method .step__text {
    font-size: 16px;
    line-height: 1.95;
  }
}


/* =====================================================================
 * 【編集26】About me：PCでのあいさつ文を2列に
 * - 左：キャッチコピー（下の画像の列と同じ幅）
 * - 右：自己紹介文（下の4つの項目の列と同じ位置）
 *   → 右側の空きをなくし、下の段と縦のラインをそろえる
 * - スマホは今までどおり1列
 * ===================================================================== */
@media (min-width: 900px) {
  #journal .journal__lead {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 7vw;
    row-gap: 18px;
    max-width: none;
    align-items: start;
  }
  #journal .journal__catch {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.6;
  }
  #journal .journal__intro {
    max-width: 36rem;
    font-size: clamp(16px, 1.25vw, 18px);
    text-wrap: pretty; /* 最後の行に1〜2文字だけ残るのを防ぐ */
  }
  #journal .story__text { text-wrap: pretty; }
}



/* =====================================================================
 * 【編集27】About me：プロフィール（名前・肩書き・得意分野）
 * - PC：左の列の下側に置き、右の自己紹介文の最後とそろえる
 *   （キャッチコピーの下が空きすぎないように）
 * - スマホ：自己紹介文のあとに表示
 * ===================================================================== */
#journal .journal__profile {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--color-1) 16%, transparent);
}
#journal .journal__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
#journal .journal__name span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #4a4552;
}
#journal .journal__role {
  font-size: 14px;
  font-weight: 600;
  color: #4a4552;
}
#journal .journal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
#journal .journal__tags li {
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--color-1) 22%, transparent);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
}
@media (min-width: 900px) {
  #journal .journal__profile {
    margin-top: 0;
  }
}



/* =====================================================================
 * 【編集28】About me：左の列に「好きなもの（Favorites）」を追加
 * - PC：左の列は キャッチコピー → 好きなもの → プロフィール
 *        左右の高さがだいたい同じになるように、上下にふり分けて配置
 * - スマホ：自己紹介文のあとに 好きなもの → プロフィール
 * ===================================================================== */
#journal .journal__side {
  display: grid;
  gap: 28px;
  margin-top: 16px;
}
#journal .journal__text {
  display: grid;
  gap: 14px;
}
#journal .journal__favs-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}
#journal .journal__favs-title span { color: var(--color-3); }
#journal .journal__favs dl {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
}
#journal .journal__favs dl > div {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 4px 16px;
  padding: 12px 0;
  border-top: 1px solid color-mix(in srgb, var(--color-1) 10%, transparent);
}
#journal .journal__favs dt {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}
#journal .journal__favs dt::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: var(--color-3);
  vertical-align: middle;
}
#journal .journal__favs dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4a4552;
}
@media (max-width: 599px) {
  #journal .journal__favs dl > div { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 900px) {
  #journal .journal__text {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  #journal .journal__side {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 0;
  }
}

/* 【編集28】PCで左右の高さをそろえるための微調整 */
@media (min-width: 900px) {
  #journal .journal__side { gap: 0; }
  #journal .journal__favs dl > div { padding: 9px 0; }
  #journal .journal__profile { gap: 10px; padding-top: 16px; }
}


/* =====================================================================
 * 【編集29】About me：文章の差しかえ（キャッチコピー・小見出し・引用）
 * - 左：キャッチコピー → プロフィール → What Makes Me.
 * - 右：自己紹介（引用の一文と小見出しつき）
 * ===================================================================== */
#journal .journal__catch {
  display: grid;
  gap: 16px;
}
#journal .journal__catch-main {
  font-size: clamp(21px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.02em;
}
#journal .journal__nb { white-space: nowrap; }
#journal .journal__catch-sub {
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: .02em;
  color: #4a4552;
}
#journal .journal__text { gap: 12px; }
#journal .journal__quote {
  margin: 6px 0;
  padding-left: 14px;
  border-left: 3px solid var(--color-3);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 800;
  line-height: 1.6;
  color: var(--color-1);
}
#journal .journal__subhead {
  margin-top: 18px;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--color-1);
}
#journal .journal__favs { padding-top: 4px; }
#journal .journal__favs dl > div { grid-template-columns: 9em minmax(0, 1fr); }
@media (max-width: 599px) {
  #journal .journal__favs dl > div { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 900px) {
  #journal .journal__side {
    gap: 36px;
    justify-content: flex-start;
  }
  #journal .journal__catch { grid-row: 1; }
}
/* 【編集29】かぎかっこの前の空きを詰める・短い文は語句のまとまりで改行 */
#journal .journal__catch-main,
#journal .journal__quote {
  font-feature-settings: "palt";
}
#journal .journal__text .journal__intro {
  word-break: auto-phrase;
}


/* =====================================================================
 * 【編集30】About me：4つの項目（01〜04）の文章差しかえに合わせた改行調整
 * - 見出しと本文は「語句のまとまり」で改行（単語の途中で切れないように）
 * - 段落どうしの間隔を少しだけあけて、1文ずつ読みやすく
 * - スマホ：見出し20px・本文16px、PC：今までの大きさ
 * ===================================================================== */
#journal .story h3,
#journal .story__text {
  word-break: auto-phrase;
  text-wrap: pretty;
}
#journal .story__text + .story__text { margin-top: 2px; }
@media (max-width: 767px) {
  #journal .story h3 { font-size: 20px; line-height: 1.5; }
  #journal .story__text { font-size: 16px; line-height: 1.9; }
}


/* =====================================================================
 * 【編集31】PROCESS：ご依頼の流れ
 * - 各ステップ：STAGE番号＋冒険らしい一言 → 英語の見出し＋日本語 → 説明 → お客さまにお願いすること
 * - 説明文はお客さまにしっかり伝わるよう、少し小さめ・読みやすい行間に
 * ===================================================================== */
#method .method__lead {
  max-width: 40rem;
  word-break: normal;
  text-wrap: pretty;
}
#method .step { gap: 10px; }
#method .step__stage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #cc3a1c;
}
#method .step__stage span {
  font-size: 13px;
  letter-spacing: .04em;
  color: #4a4552;
}
#method .step h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
#method .step__ja {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #4a4552;
}
#method .step__text {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.95;
  word-break: auto-phrase;
  text-wrap: pretty;
}
#method .step__note {
  display: grid;
  gap: 2px;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f6f4f9;
  font-size: 14px;
  line-height: 1.7;
  color: #282132;
}
#method .step__note b {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #cc3a1c;
}
@media (max-width: 767px) {
  #method .step__text { font-size: 16px; }
  #method .method__lead { font-size: 16px; line-height: 1.9; }
}
/* 【編集31】スマホ：右の円を小さくして、説明文を書く幅を広げる／ステップ間の余白を詰める */
@media (max-width: 899px) {
  #method .method__body {
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 14px;
  }
  #method .method__steps { gap: 72px; }
}
#method .step__note { word-break: auto-phrase; }


/* =====================================================================
 * 【編集32】Quest Rewards：参考価格
 * - カードの下側に「参考価格 ○○円〜」を大きく、その下に作業ごとの目安
 * - カードの下に「※ 価格は目安です」の注意書き
 * ===================================================================== */
#capabilities .service__from {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--color-1);
}
#capabilities .service__from span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #cc3a1c;
}
#capabilities .service__prices {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid color-mix(in srgb, var(--color-1) 14%, transparent);
}
#capabilities .service__prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-1) 8%, transparent);
  font-size: 14px;
  line-height: 1.5;
  color: #4a4552;
}
#capabilities .service__prices b {
  flex-shrink: 0;
  font-weight: 800;
  color: var(--color-1);
}
#capabilities .capabilities__note {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-5);
}
@media (max-width: 767px) {
  #capabilities .service__text { gap: 14px; }
}


/* =====================================================================
 * 【編集33】Quest Rewards：内容の追加（説明・こんなご依頼に・料金4項目）
 * - 内容が増えたので、PCのカードの高さを中身に合わせて伸びるように
 * ===================================================================== */
#capabilities .service__line {
  max-width: none;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.9;
  word-break: auto-phrase;
  text-wrap: pretty;
}
#capabilities .service__examples {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-1) 5%, transparent);
  font-size: 14px;
  line-height: 1.7;
  color: #282132;
  word-break: auto-phrase;
}
#capabilities .service__examples span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #cc3a1c;
}
@media (min-width: 900px) {
  #capabilities .service {
    height: auto;
    min-height: min(62svh, 560px);
  }
  #capabilities .service__media {
    height: auto;
    min-height: 100%;
  }
  #capabilities .service__from { margin-top: 8px; }
}


/* =====================================================================
 * 【編集35】Quest Rewards：スマホで重なるカードの読みやすさ
 * - カードが画面より長いときは、カードの下の端（料金）まで見えた位置で止まり、
 *   そのあと次のカードが重なる（重なる動きはそのまま）
 *   → --fit-top は assets/js/deck-fit.js がカードの高さから計算
 * ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  #capabilities.is-deck .service {
    top: min(calc(clamp(80px, 12svh, 108px) + var(--i) * 14px), var(--fit-top, 100vh));
  }
}


/* =====================================================================
 * 【編集36】Quest Rewards：スマホではイラストを先に（文章の上に）表示
 * ===================================================================== */
@media (max-width: 899px) {
  #capabilities .service__media { order: -1; }
}


/* =====================================================================
 * 【編集37】WHO I WORK WITH（旧 What I create）
 * - 見出しの下に「こんな人の冒険を、お手伝いします。」を大きく
 * - カード：ラベル → 日本語の見出し → 一言（太字）→ 詳しい内容
 * - 文字が多くなったので、カード下のグラデーションを濃く広くして読みやすく
 * ===================================================================== */
#again .again__intro {
  display: grid;
  gap: 10px;
  max-width: 34rem;
}
#again .again__catch {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--color-2);
  word-break: auto-phrase;
}
#again .again__lead {
  max-width: none;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.9;
  color: #c9c6d2;
}
#again .partner__card::after {
  inset: 30% 0 0;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--color-1) 96%, transparent) 0%,
    color-mix(in srgb, var(--color-1) 88%, transparent) 55%,
    transparent 100%);
}
#again .partner__text { gap: 8px; }
#again .partner__year {
  font-size: 11px;
  letter-spacing: .06em;
  background: var(--color-3);
  color: var(--color-1);
  font-weight: 800;
}
#again .partner__name--ja {
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.01em;
  word-break: auto-phrase;
}
#again .partner__catch {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 700;
  line-height: 1.6;
  color: #ffd2c4;
  word-break: auto-phrase;
}
#again .partner__line {
  font-size: clamp(12px, .9vw, 13.5px);
  line-height: 1.7;
  color: #e4e1ea;
  word-break: auto-phrase;
}
@media (max-width: 767px) {
  #again #again-title { font-size: 11vw; }
}
/* 【編集37】スマホ：回転するカードが小さいので、文字を少しだけ小さく */
@media (max-width: 699px) {
  #again .partner__name--ja { font-size: 16.5px; }
  #again .partner__catch { font-size: 13px; }
  #again .partner__line { font-size: 12px; }
  #again .partner__text { gap: 6px; }
}


/* =====================================================================
 * 【編集40】WHO I WORK WITH：見やすさの調整
 * - PC：見出しと説明文を横に並べて上の部分を低くし、カードを上に・大きく表示
 *   （カードの位置は assets/js/onda-scenes.js の【編集40】でも少し上に）
 * - PC：カードの文字を大きく
 * - 「・」で改行されないように、「・」を含む見出しはカードの幅に合わせて1行に収める
 *   （HTMLの style="--len:文字数" が目安。カードの幅 --card はJSが自動で設定）
 * ===================================================================== */
@media (min-width: 1000px) {
  #again #again-title { font-size: clamp(56px, 6.2vw, 110px); }
  #again .again__intro { max-width: 26rem; }
  #again .partner__name--ja { font-size: clamp(20px, 1.7vw, 26px); }
  #again .partner__catch { font-size: clamp(14px, 1.15vw, 17px); }
  #again .partner__line { font-size: clamp(13px, 1vw, 15px); line-height: 1.75; }
  #again .partner__year { font-size: 12px; }
}
#again .partner__name--ja[style*="--len"] {
  white-space: nowrap;
  font-size: min(clamp(20px, 1.7vw, 26px), calc((var(--card, 340px) - 2 * clamp(16px, 1.8vw, 26px)) / var(--len)));
}
@media (max-width: 699px) {
  #again .partner__name--ja[style*="--len"] {
    font-size: min(17px, calc((var(--card, 304px) - 32px) / var(--len)));
  }
}


/* =====================================================================
 * 【編集41】WHO I WORK WITH：6つの見出しを同じ大きさ・2行にそろえる
 * - 見出しは <span>1行目</span><span>2行目</span> で、改行する位置を決めている
 * - 前の「1行に収めるために小さくする」調整（--len）は使わない
 * ===================================================================== */
#again .partner__name--ja span {
  display: block;
  white-space: nowrap;
}
#again .partner__name--ja,
#again .partner__name--ja[style*="--len"] {
  white-space: normal;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.4;
}
@media (max-width: 699px) {
  #again .partner__name--ja,
  #again .partner__name--ja[style*="--len"] { font-size: 17px; }
}
