:root {
      --ink: #19110f;
      --brown: #2c1d17;
      --red: #7f1e1d;
      --gold: #c4a15d;
      --cream: #f5eddd;
      --paper: #ebe0c9;
      --soft: #fbf7ef;
      --muted: #75685c;
      --line: rgba(87, 58, 42, 0.2);
      --white: #fffaf0;
      --shadow: 0 26px 70px rgba(33, 18, 12, 0.22);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
      line-height: 1.9;
      overflow-x: hidden;
      background:
        linear-gradient(rgba(246, 239, 223, 0.78), rgba(246, 239, 223, 0.82)),
        url("bg-paper-web.jpg") center / cover;
    }

    .fixed-fude {
      position: fixed;
      top: 50%;
      right: clamp(-320px, -9vw, -82px);
      z-index: 3;
      width: clamp(760px, 58vw, 1080px);
      aspect-ratio: 1;
      pointer-events: none;
      background: url("fude_maru.png") center / contain no-repeat;
      opacity: 0.7;
      mix-blend-mode: multiply;
      transform: translateY(-50%);
    }

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

    a {
      color: inherit;
      text-decoration: none;
    }

    p {
      margin: 0;
    }

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 18px clamp(18px, 4vw, 56px);
      color: var(--white);
      background: linear-gradient(180deg, rgba(18, 13, 11, 0.86), rgba(18, 13, 11, 0));
      pointer-events: none;
    }

    .brand,
    .nav {
      pointer-events: auto;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      letter-spacing: 0.08em;
    }

    .brand-mark {
      display: grid;
      width: 36px;
      height: 36px;
      place-items: center;
      color: var(--ink);
      background: var(--gold);
      clip-path: polygon(9% 0, 100% 8%, 91% 100%, 0 92%);
    }

    .nav {
      display: flex;
      gap: 18px;
      font-size: 13px;
      color: rgba(255, 250, 240, 0.82);
    }

    .nav a {
      padding-bottom: 4px;
      border-bottom: 1px solid transparent;
    }

    .nav a:hover {
      border-color: var(--gold);
    }

    .hero {
      position: relative;
      min-height: 100svh;
      display: grid;
      align-items: center;
      overflow: hidden;
      color: var(--white);
      background:
        radial-gradient(circle at 78% 42%, rgba(118, 37, 29, 0.22), transparent 34%),
        linear-gradient(90deg, rgba(16, 11, 9, 0.98) 0%, rgba(51, 19, 18, 0.84) 46%, rgba(20, 14, 12, 0.66) 100%),
        url("bg-gold-web.jpg") center / cover;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background:
        linear-gradient(90deg, rgba(12, 8, 7, 0.98) 0%, rgba(23, 12, 10, 0.86) 28%, rgba(40, 15, 13, 0.36) 58%, rgba(12, 8, 7, 0.72) 100%),
        linear-gradient(180deg, rgba(8, 6, 5, 0.54), rgba(8, 6, 5, 0.08) 42%, rgba(8, 6, 5, 0.86) 100%);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      z-index: 3;
      height: 120px;
      background: linear-gradient(180deg, rgba(19, 13, 11, 0), rgba(19, 13, 11, 0.76));
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 4;
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 660px);
      align-items: center;
      gap: clamp(32px, 7vw, 96px);
      padding: 96px 0 68px;
    }

    .hero-copy {
      position: relative;
      z-index: 5;
      max-width: 720px;
    }

    .eyebrow {
      color: var(--gold);
      font-size: 13px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .hero h1 {
      margin: 26px 0 0;
      font-size: clamp(42px, 6.3vw, 76px);
      font-weight: 500;
      line-height: 1.18;
      text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    }

    .hero-lead {
      max-width: 620px;
      margin-top: 28px;
      color: rgba(255, 250, 240, 0.88);
      font-size: clamp(15px, 1.6vw, 19px);
    }

    .hero-actions,
    .section-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 26px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 12px 22px;
      font-size: 14px;
      letter-spacing: 0.08em;
      border: 1px solid rgba(196, 161, 93, 0.56);
      clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
      transition: transform 0.2s ease, background 0.2s ease;
    }

    .button:hover {
      transform: translateY(-2px);
    }

    .button.primary {
      color: #170f0d;
      background: var(--gold);
    }

    .button.light {
      color: var(--white);
      background: rgba(44, 29, 23, 0.9);
      border-color: rgba(196, 161, 93, 0.58);
    }

    .hero-note {
      position: absolute;
      inset: 0;
      z-index: 2;
      min-height: 100%;
      pointer-events: none;
    }

    .hero-photo {
      position: absolute;
      top: 0;
      right: 0;
      left: clamp(180px, 17vw, 280px);
      width: auto;
      height: 100%;
      overflow: hidden;
      background: #130d0b;
      box-shadow: none;
      clip-path: none;
    }

    .hero-photo::before,
    .hero-photo::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
    }

    .hero-photo::before {
      background:
        radial-gradient(circle at 48% 46%, rgba(255, 250, 240, 0.08), transparent 28%),
        linear-gradient(90deg, rgba(16, 10, 8, 0.92) 0%, rgba(34, 16, 13, 0.24) 34%, rgba(22, 10, 8, 0.3) 70%, rgba(10, 8, 7, 0.86) 100%);
      mix-blend-mode: multiply;
    }

    .hero-photo::after {
      background:
        url("bg-gold-web.jpg") center / cover,
        repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.08) 0 1px, transparent 1px 7px);
      opacity: 0.2;
      mix-blend-mode: overlay;
    }

    .hero-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center right;
      filter: saturate(0.82) contrast(1.08) brightness(0.76);
      transform: scale(1.04);
    }

    .vertical-title {
      position: absolute;
      right: clamp(34px, 7vw, 112px);
      top: 18%;
      z-index: 4;
      writing-mode: vertical-rl;
      padding: 18px 10px;
      color: var(--white);
      font-size: clamp(28px, 4.6vw, 58px);
      line-height: 1.5;
      background: transparent;
      border-left: 1px solid rgba(196, 161, 93, 0.62);
      text-shadow: 0 5px 20px rgba(0, 0, 0, 0.78);
    }

    .scroll-note {
      position: absolute;
      right: clamp(18px, 4vw, 50px);
      bottom: 30px;
      z-index: 2;
      color: rgba(255, 250, 240, 0.7);
      font-size: 11px;
      letter-spacing: 0.2em;
      writing-mode: vertical-rl;
    }

    .section {
      position: relative;
      padding: clamp(54px, 6vw, 88px) 0;
      overflow: visible;
      --section-cut: rgba(255, 250, 240, 0.62);
    }

    .section.dark {
      padding-top: clamp(66px, 7vw, 104px);
      padding-bottom: clamp(76px, 8vw, 116px);
    }

    .section.soft-band {
      padding-top: clamp(62px, 7vw, 98px);
    }

    .section:not(.hero)::before {
      display: none;
    }

    .hero + .section::before {
      display: none;
    }

    .section.dark {
      --section-cut: rgba(38, 18, 15, 0.98);
    }

    .section.soft-band {
      --section-cut: rgba(249, 244, 234, 0.98);
    }

    .section.download {
      --section-cut: rgba(76, 24, 22, 0.98);
    }

    main > .section:nth-of-type(6) {
      background:
        linear-gradient(90deg, rgba(249, 244, 234, 0.98) 0%, rgba(249, 244, 234, 0.94) 43%, rgba(249, 244, 234, 0.62) 60%, rgba(255, 250, 240, 0.18) 100%),
        url("bg_03-web.jpg") center right / cover fixed;
    }

    main > .section:nth-of-type(6) .formula {
      align-self: center;
      gap: 14px;
      width: min(360px, 100%);
      justify-self: end;
    }

    main > .section:nth-of-type(6) .formula span {
      color: var(--ink);
      font-weight: 600;
      text-align: center;
      background: rgba(255, 250, 240, 0.76);
      border: 1px solid rgba(196, 161, 93, 0.34);
      border-left: 3px solid var(--gold);
      box-shadow: 0 14px 34px rgba(49, 31, 22, 0.12);
      backdrop-filter: blur(1.5px);
    }

    #about {
      min-height: 820px;
      padding: clamp(72px, 7vw, 102px) 0 clamp(78px, 8vw, 112px);
      color: var(--ink);
      background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0 86px, rgba(0, 0, 0, 0) 86px),
        linear-gradient(180deg, rgba(15, 10, 8, 0.34), rgba(15, 10, 8, 0.42)),
        url("uriba_01-web.jpg") center / cover fixed;
    }

    #about .section-inner {
      width: min(1200px, calc(100% - 40px));
    }

    .about-title-band {
      position: relative;
      z-index: 4;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: clamp(52px, 6vw, 74px);
      margin: 0 calc(50% - 50vw) clamp(44px, 5vw, 62px);
      padding: 10px max(24px, calc((100vw - 1200px) / 2));
      background:
        linear-gradient(90deg, rgba(85, 18, 18, 0.9), rgba(139, 37, 33, 0.86), rgba(85, 18, 18, 0.9)),
        url("obi_01.jpg") center / auto 100% repeat-x;
      box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
    }

    .about-title-band::before,
    .about-title-band::after {
      content: "";
      position: absolute;
      left: 0;
      width: 100%;
      height: 1px;
      background: rgba(196, 161, 93, 0.54);
    }

    .about-title-band::before {
      top: 0;
    }

    .about-title-band::after {
      bottom: 0;
    }

    .about-title-band h2 {
      margin: 0;
      color: #070403;
      font-size: clamp(28px, 4.2vw, 54px);
      font-weight: 600;
      line-height: 1.18;
      text-align: center;
      text-shadow:
        3px 0 0 var(--white),
        -3px 0 0 var(--white),
        0 3px 0 var(--white),
        0 -3px 0 var(--white),
        2px 2px 0 var(--white),
        -2px 2px 0 var(--white),
        2px -2px 0 var(--white),
        -2px -2px 0 var(--white),
        0 7px 18px rgba(0, 0, 0, 0.46);
    }

    .about-message {
      width: min(920px, 92%);
      margin: 0 auto;
      padding: clamp(26px, 3.4vw, 40px) clamp(24px, 4.5vw, 58px);
      text-align: center;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.44);
      box-shadow: 0 22px 58px rgba(17, 11, 8, 0.22);
      backdrop-filter: blur(1.5px);
    }

    .about-message h3 {
      margin: 0;
      font-size: clamp(23px, 2.8vw, 34px);
      font-weight: 600;
      line-height: 1.45;
    }

    .about-message p {
      margin: 20px 0 0;
      font-size: clamp(15px, 1.45vw, 18px);
      font-weight: 600;
      line-height: 1.9;
    }

    .about-message .section-actions {
      justify-content: center;
      margin-top: 26px;
    }

    .about-use-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(18px, 3vw, 34px);
      margin-top: clamp(46px, 5vw, 72px);
    }

    .about-use-card {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: clamp(150px, 14vw, 188px);
      padding: 24px 26px;
      color: #080403;
      text-align: center;
      background: rgba(255, 255, 255, 0.74);
      border: 1px solid rgba(255, 255, 255, 0.46);
      box-shadow: 0 18px 42px rgba(17, 11, 8, 0.18);
      transition: transform 0.2s ease, background 0.2s ease;
    }

    .about-use-card:hover {
      transform: translateY(-3px);
      background: rgba(255, 255, 255, 0.84);
    }

    .about-use-card b {
      display: block;
      font-size: clamp(20px, 2vw, 28px);
      font-weight: 600;
      line-height: 1.4;
    }

    .about-use-card span {
      display: block;
      margin-top: 12px;
      color: #2d251f;
      font-size: 14px;
      font-weight: 500;
      line-height: 1.8;
      text-align: left;
    }

    .section-inner {
      position: relative;
      z-index: 4;
      width: min(1120px, calc(100% - 40px));
      margin: 0 auto;
    }

    .z-layout {
      display: grid;
      grid-template-columns: 92px minmax(0, 1fr) minmax(280px, 0.9fr);
      gap: clamp(24px, 4vw, 58px);
      align-items: center;
    }

    .z-layout.reverse {
      grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr) 92px;
    }

    .story-layout {
      grid-template-columns: 92px minmax(320px, 0.9fr) minmax(360px, 0.9fr);
      gap: clamp(24px, 3.8vw, 52px);
    }

    #story {
      background:
        linear-gradient(90deg, rgba(249, 244, 234, 0.98) 0%, rgba(249, 244, 234, 0.94) 42%, rgba(249, 244, 234, 0.54) 58%, rgba(20, 12, 9, 0.14) 100%),
        url("03_1800.jpg") center right / cover fixed;
    }

    .story-photo {
      position: relative;
      min-height: 420px;
    }

    .story-photo-flow {
      position: absolute;
      top: 50%;
      right: clamp(18px, 4vw, 52px);
      z-index: 2;
      transform: translateY(-50%);
      display: grid;
      gap: 14px;
      width: min(360px, 92%);
      color: var(--white);
      text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72);
    }

    .story-photo-flow b {
      display: grid;
      place-items: center;
      min-height: 78px;
      padding: 14px 24px;
      font-size: clamp(24px, 2.6vw, 36px);
      font-weight: 600;
      line-height: 1.35;
      text-align: center;
      background: rgba(32, 18, 14, 0.54);
      border: 1px solid rgba(255, 250, 240, 0.38);
      box-shadow: 0 16px 38px rgba(15, 10, 8, 0.22);
      backdrop-filter: blur(1.5px);
      clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 92%);
    }

    .story-photo-flow span {
      display: block;
      margin: -2px 0;
      color: rgba(255, 250, 240, 0.92);
      font-size: clamp(22px, 2.2vw, 30px);
      line-height: 1;
      text-align: center;
    }

    .taste-layout {
      grid-template-columns: minmax(460px, 1.45fr) minmax(320px, 0.86fr) 76px;
      gap: clamp(22px, 3.2vw, 42px);
    }

    .taste-layout .visual-panel {
      min-height: auto;
    }

    .taste-layout .copy-panel {
      padding: clamp(26px, 3.2vw, 40px);
    }

    .taste-layout .vertical-head {
      min-height: 360px;
    }

    .vertical-head {
      justify-self: start;
      align-self: stretch;
      display: flex;
      justify-content: center;
      min-height: 330px;
      padding: 18px 12px;
      color: var(--white);
      background:
        linear-gradient(180deg, rgba(36, 20, 15, 0.92), rgba(127, 30, 29, 0.8)),
        url("frame-sample.png") center / 100% 100%;
      border: 1px solid rgba(196, 161, 93, 0.38);
      box-shadow: 0 16px 44px rgba(40, 24, 16, 0.18);
      clip-path: polygon(10% 0, 100% 5%, 88% 100%, 0 94%);
    }

    .z-layout.reverse .vertical-head {
      justify-self: end;
      clip-path: polygon(0 6%, 90% 0, 100% 94%, 12% 100%);
    }

    .vertical-head h2 {
      margin: 0;
      writing-mode: vertical-rl;
      font-size: clamp(26px, 3vw, 38px);
      font-weight: 500;
      line-height: 1.5;
      letter-spacing: 0.04em;
      text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
    }

    .copy-panel {
      position: relative;
      padding: clamp(24px, 4vw, 44px);
      background: rgba(255, 250, 240, 0.83);
      border: 1px solid rgba(87, 58, 42, 0.16);
      box-shadow: var(--shadow);
      clip-path: polygon(0 0, 96% 0, 100% 92%, 4% 100%);
    }

    .reverse .copy-panel {
      clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 92%);
    }

    .copy-panel h3,
    .feature-block h3,
    .download-box h2 {
      margin: 0;
      font-size: clamp(24px, 3.4vw, 42px);
      font-weight: 500;
      line-height: 1.45;
    }

    .copy-panel p,
    .feature-block p,
    .download-box p {
      margin-top: 18px;
      color: #3b3029;
      font-size: 15px;
    }

    .dark {
      color: var(--white);
      background:
        linear-gradient(90deg, rgba(17, 12, 10, 0.96), rgba(58, 24, 20, 0.88)),
        url("bg-gold-web.jpg") center / cover;
    }

    .dark .copy-panel {
      color: var(--white);
      background: rgba(19, 13, 11, 0.78);
      border-color: rgba(196, 161, 93, 0.34);
    }

    .dark .copy-panel p,
    .dark .feature-block p {
      color: rgba(255, 250, 240, 0.82);
    }

    .soft-band {
      background:
        linear-gradient(rgba(249, 244, 234, 0.86), rgba(249, 244, 234, 0.9)),
        url("bg-paper-web.jpg") center / cover;
    }

    .visual-panel {
      position: relative;
      min-height: 340px;
    }

    .image-frame,
    .placeholder-frame,
    .diagram-card {
      position: relative;
      overflow: hidden;
      min-height: 310px;
      background: #d8d3cc;
      box-shadow: var(--shadow);
      clip-path: polygon(3% 0, 100% 3%, 97% 100%, 0 97%);
    }

    .image-frame::before,
    .placeholder-frame::before,
    .diagram-card::before {
      content: "";
      position: absolute;
      inset: 10px;
      z-index: 2;
      pointer-events: none;
      background: url("frame-sample.png") center / 100% 100% no-repeat;
      opacity: 0.46;
      filter: sepia(1) saturate(1.1) hue-rotate(350deg) brightness(1.35);
      mix-blend-mode: multiply;
    }

    .image-frame img {
      width: 100%;
      height: 100%;
      min-height: 360px;
      object-fit: cover;
      filter: saturate(0.88) contrast(1.04);
    }

    .placeholder-frame {
      display: grid;
      place-items: center;
      padding: 32px;
      color: #62584f;
      text-align: center;
      background:
        linear-gradient(135deg, rgba(220, 216, 209, 0.92), rgba(189, 181, 170, 0.86)),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.22) 0 1px, transparent 1px 16px);
    }

    .placeholder-frame strong {
      display: block;
      font-size: 20px;
      font-weight: 500;
    }

    .placeholder-frame span {
      display: block;
      margin-top: 8px;
      font-size: 13px;
    }

    .caption {
      position: absolute;
      left: 22px;
      right: 22px;
      bottom: 20px;
      z-index: 3;
      padding: 10px 14px;
      color: var(--white);
      font-size: 12px;
      background: rgba(22, 14, 12, 0.72);
    }

    .use-grid,
    .scene-grid {
      display: grid;
      gap: 18px;
    }

    .use-grid {
      grid-template-columns: repeat(3, 1fr);
      margin-top: 34px;
    }

    .use-card,
    .scene-card {
      position: relative;
      padding: 24px 22px;
      background: rgba(255, 250, 240, 0.86);
      border: 1px solid var(--line);
      box-shadow: 0 14px 36px rgba(49, 31, 22, 0.1);
      clip-path: polygon(0 0, 100% 0, 100% 96%, 3% 100%, 0 4%);
    }

    .use-card::after,
    .scene-card::after {
      content: "";
      position: absolute;
      inset: 10px;
      pointer-events: none;
      border: 1px solid rgba(196, 161, 93, 0.24);
      clip-path: inherit;
    }

    .use-card:nth-child(2),
    .scene-card:nth-child(even) {
      transform: none;
      clip-path: polygon(0 0, 100% 0, 100% 96%, 3% 100%, 0 4%);
    }

    .use-card b,
    .scene-card b {
      display: block;
      color: var(--red);
      font-size: 17px;
      font-weight: 600;
      line-height: 1.55;
    }

    .use-card span,
    .scene-card span {
      display: block;
      margin-top: 10px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.75;
    }

    .flow-diagram,
    .formula {
      display: grid;
      gap: 18px;
      padding: 0;
      color: var(--white);
      background: transparent;
      border: 0;
      clip-path: none;
      box-shadow: none;
    }

    .flow-step {
      position: relative;
      isolation: isolate;
      min-height: 108px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 20px 34px 20px 86px;
      color: #050302;
      font-size: clamp(15px, 1.5vw, 19px);
      font-weight: 600;
      line-height: 1.55;
      letter-spacing: 0.02em;
      background: transparent;
    }

    .flow-step::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: url("brush-stroke.png") center / 100% 100% no-repeat;
      filter: invert(69%) sepia(28%) saturate(562%) hue-rotate(8deg) brightness(88%) contrast(86%);
      opacity: 0.96;
    }

    .flow-step::after {
      content: "・";
      position: absolute;
      left: 38px;
      top: 50%;
      transform: translateY(-56%);
      color: #050302;
      font-size: clamp(30px, 3.2vw, 44px);
      line-height: 1;
      text-shadow:
        2px 0 0 var(--white),
        -2px 0 0 var(--white),
        0 2px 0 var(--white),
        0 -2px 0 var(--white),
        1.5px 1.5px 0 var(--white),
        -1.5px 1.5px 0 var(--white),
        1.5px -1.5px 0 var(--white),
        -1.5px -1.5px 0 var(--white);
    }

    .flow-step b,
    .flow-step span {
      display: block;
      width: 100%;
      text-shadow:
        2px 0 0 var(--white),
        -2px 0 0 var(--white),
        0 2px 0 var(--white),
        0 -2px 0 var(--white),
        1.5px 1.5px 0 var(--white),
        -1.5px 1.5px 0 var(--white),
        1.5px -1.5px 0 var(--white),
        -1.5px -1.5px 0 var(--white),
        0 5px 16px rgba(56, 36, 18, 0.18);
    }

    .flow-step b {
      font-size: clamp(18px, 2vw, 25px);
    }

    .flow-step:nth-of-type(2)::before {
      filter: invert(63%) sepia(34%) saturate(671%) hue-rotate(5deg) brightness(86%) contrast(88%);
    }

    .flow-step:nth-of-type(3)::before {
      filter: invert(58%) sepia(38%) saturate(615%) hue-rotate(0deg) brightness(82%) contrast(90%);
    }

    .formula span {
      padding: 12px 16px;
      color: var(--ink);
      background: rgba(255, 250, 240, 0.9);
      border-left: 3px solid var(--gold);
    }

    .flow-arrow {
      display: none;
    }

    .diagram-card {
      display: grid;
      align-content: center;
      gap: 18px;
      padding: 38px;
      color: var(--ink);
      background: rgba(255, 250, 240, 0.9);
    }

    .taste-diagram-card {
      display: block;
      min-height: auto;
      padding: 0;
      background: #171210;
      transform: scale(1.08);
      transform-origin: center;
    }

    .taste-diagram-card::before {
      display: none;
    }

    .taste-diagram-card img {
      display: block;
      width: 100%;
      height: auto;
    }

    .diagram-card .node {
      position: relative;
      z-index: 3;
      padding: 16px;
      text-align: center;
      background: rgba(245, 237, 221, 0.96);
      border: 1px solid var(--line);
      clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 92%);
    }

    .diagram-card .arrow {
      position: relative;
      z-index: 3;
      color: var(--red);
      text-align: center;
      font-size: 22px;
      line-height: 1;
    }

    .detail-button {
      margin-top: 26px;
      color: var(--ink);
      background: transparent;
      cursor: pointer;
    }

    .dark .detail-button {
      color: #170f0d;
      background: var(--gold);
      border-color: rgba(255, 250, 240, 0.36);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
    }

    .dark .detail-button:hover {
      background: #d8b96a;
    }

    .scene-grid {
      grid-template-columns: repeat(4, 1fr);
      margin-top: 34px;
    }

    .scene-card {
      min-height: 150px;
      background: rgba(255, 250, 240, 0.9);
    }

    .download {
      color: var(--white);
      background:
        linear-gradient(90deg, rgba(17, 12, 10, 0.95), rgba(91, 28, 27, 0.82)),
        url("bg-gold-web.jpg") center / cover;
    }

    .download-box {
      width: min(900px, 100%);
      margin: 0 auto;
      padding: clamp(36px, 6vw, 68px);
      background: rgba(18, 12, 10, 0.76);
      border: 1px solid rgba(196, 161, 93, 0.42);
      box-shadow: var(--shadow);
      clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 92%);
    }

    .download-box p {
      color: rgba(255, 250, 240, 0.84);
    }

    .contact-lines {
      display: flex;
      flex-wrap: wrap;
      gap: 14px 24px;
      margin-top: 24px;
      color: rgba(255, 250, 240, 0.82);
      font-size: 14px;
    }

    .site-footer {
      padding: 44px clamp(20px, 5vw, 76px);
      color: #34251d;
      background:
        linear-gradient(rgba(255, 250, 240, 0.88), rgba(246, 239, 223, 0.92)),
        url("bg-paper-web.jpg") center / cover;
      border-top: 1px solid rgba(87, 58, 42, 0.14);
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      width: min(1120px, 100%);
      margin: 0 auto;
      font-size: 13px;
    }

    .footer-logo {
      width: 118px;
      height: auto;
    }

    dialog {
      width: min(1080px, calc(100% - 32px));
      padding: 0;
      color: var(--ink);
      background: transparent;
      border: 0;
    }

    dialog::backdrop {
      background: rgba(13, 9, 8, 0.72);
      backdrop-filter: blur(4px);
    }

    .modal-panel {
      padding: clamp(28px, 5vw, 48px);
      background:
        linear-gradient(rgba(255, 250, 240, 0.94), rgba(255, 250, 240, 0.94)),
        url("bg-paper-web.jpg") center / cover;
      box-shadow: var(--shadow);
      clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 94%);
    }

    .modal-panel h3 {
      margin: 0;
      font-size: clamp(24px, 3vw, 36px);
      font-weight: 500;
    }

    .modal-panel ul {
      margin: 24px 0 0;
      padding-left: 1.2em;
    }

    .modal-panel li {
      margin: 8px 0;
    }

    .modal-image-panel {
      padding: clamp(18px, 3vw, 30px);
      clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 96%);
    }

    .modal-image {
      width: 100%;
      max-height: min(76vh, 780px);
      object-fit: contain;
      background: rgba(255, 250, 240, 0.88);
      box-shadow: 0 18px 44px rgba(35, 22, 16, 0.22);
    }

    .modal-close {
      margin-top: 26px;
      color: var(--ink);
      background: rgba(196, 161, 93, 0.24);
      cursor: pointer;
    }

    @media (max-width: 920px) {
      .nav {
        display: none;
      }

      .fixed-fude {
        right: -300px;
        width: 760px;
        opacity: 0.58;
      }

      .hero {
        min-height: auto;
        display: block;
        padding-bottom: 78px;
      }

      .hero::before {
        background:
          linear-gradient(180deg, rgba(12, 8, 7, 0.98) 0%, rgba(38, 15, 13, 0.88) 64%, rgba(12, 8, 7, 0.96) 100%);
      }

      .hero::after {
        height: 88px;
      }

      .hero-inner,
      .z-layout,
      .z-layout.reverse {
        grid-template-columns: 1fr;
      }

      .taste-layout {
        gap: 28px;
      }

      .taste-diagram-card {
        transform: none;
      }

      .story-layout {
        gap: 28px;
      }

      .story-photo {
        min-height: 340px;
      }

      .story-photo-flow {
        right: 28px;
      }

      main > .section:nth-of-type(6) {
        background:
          linear-gradient(180deg, rgba(249, 244, 234, 0.96) 0%, rgba(249, 244, 234, 0.88) 58%, rgba(249, 244, 234, 0.62) 100%),
          url("bg_03-web.jpg") center / cover scroll;
      }

      main > .section:nth-of-type(6) .formula {
        width: min(100%, 520px);
        justify-self: stretch;
      }

      .hero-inner {
        padding-bottom: 28px;
      }

      .hero-note {
        position: relative;
        z-index: 4;
        width: min(520px, calc(100% - 40px));
        min-height: 420px;
        margin: 0 auto;
        transform: rotate(-2deg);
      }

      .hero-photo {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 1;
        box-shadow: var(--shadow);
        clip-path: polygon(8% 0, 100% 5%, 90% 100%, 0 94%);
      }

      .hero-photo::before {
        background:
          linear-gradient(90deg, rgba(16, 10, 8, 0.56), rgba(34, 16, 13, 0.12), rgba(10, 8, 7, 0.66));
      }

      .hero-photo img {
        object-position: center;
        filter: saturate(0.86) contrast(1.05) brightness(0.82);
        transform: scale(1.02);
      }

      .vertical-title {
        right: 24px;
        top: 24px;
        font-size: clamp(24px, 6vw, 36px);
      }

      .vertical-head,
      .z-layout.reverse .vertical-head {
        justify-self: start;
        align-self: start;
        min-height: auto;
        min-width: min(100%, 520px);
        clip-path: polygon(0 0, 96% 0, 100% 88%, 4% 100%);
      }

      .vertical-head h2 {
        writing-mode: horizontal-tb;
      }

      .use-grid,
      .scene-grid,
      .about-use-grid {
        grid-template-columns: 1fr;
      }

      #about {
        min-height: auto;
        padding-top: 82px;
      }

      .about-title-band {
        margin-bottom: 42px;
      }

      .about-message {
        width: min(100%, 720px);
      }

      .about-message p br {
        display: none;
      }

      .about-use-grid {
        width: min(100%, 720px);
        margin: 38px auto 0;
      }

      .use-card:nth-child(2),
      .scene-card:nth-child(even) {
        transform: none;
      }

      .dark,
      .download,
      .hero {
        background-attachment: scroll;
      }
    }

    @media (max-width: 560px) {
      .site-header {
        padding: 14px 18px;
      }

      .fixed-fude {
        right: -260px;
        width: 540px;
        opacity: 0.48;
      }

      .brand {
        font-size: 12px;
      }

      .hero-inner,
      .section-inner {
        width: min(100% - 28px, 1120px);
      }

      .hero h1 {
        font-size: 38px;
      }

      #about {
        padding-top: 72px;
      }

      .about-title-band {
        min-height: 62px;
        padding-inline: 18px;
      }

      .about-title-band h2 {
        font-size: 28px;
      }

      .about-message {
        padding: 26px 18px;
      }

      .about-message h3 {
        font-size: 22px;
      }

      .about-message p {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.8;
      }

      .about-use-card {
        min-height: 128px;
        padding: 20px;
      }

      .about-use-card b {
        font-size: 20px;
      }

      .about-use-card span {
        font-size: 13px;
        text-align: center;
      }

      .hero-photo {
        clip-path: polygon(6% 0, 100% 3%, 94% 100%, 0 96%);
      }

      .vertical-title {
        right: 18px;
        top: 18px;
        font-size: 24px;
      }

      .copy-panel,
      .download-box {
        clip-path: polygon(0 0, 100% 0, 96% 100%, 0 96%);
      }
    }
