/*
 * CSS構成
 * 1. CSS変数
 * 2. Reset / Base
 * 3. Layout
 * 4. Components
 * 5. ページ固有
 * 6. Responsive
 * 7. Motion
 */

/* ========== CSS変数 ========== */
:root {
  --font-base: "Noto Sans JP", sans-serif;
  --font-number: "Montserrat", sans-serif;
  --color-white: #FFFFFF;
  --color-text: #383838;
  --color-blue: #5A85CD;
  --color-blue-dark: #4167A9;
  --color-muted: #6E6E6E;
  --color-border: #CFCFCF;
  --color-grid: rgba(23, 95, 202, 0.5);
  --color-grid-line: color-mix(in srgb, var(--color-grid) 36%, transparent);
  --grid-size: 24px;
  --color-gray: #E9EAEC;
  --gradient-blue: linear-gradient(90deg, #3773D8 0%, #6E96D8 100%);
  --content-width: 1080px;
  --page-gutter: 48px;
  --radius-small: 7px;
  --radius-medium: 10px;
  --font-size-body-copy: 13px;
  --font-size-card-copy: 12px;
  --font-size-faq-answer: 13px;
  --font-size-global-nav: 12px;
  --motion-duration-fast: 260ms;
  --motion-duration-normal: 720ms;
  --motion-duration-slow: 860ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-distance: 20px;
  --motion-stagger: 100ms;
}

/* ========== Reset / Base ========== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

body.is-menu-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-blue-dark);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

main :where(h1, h2, h3, p, li, th, td, dd) {
  text-wrap: pretty;
  word-break: auto-phrase;
}

h2 {
  color: var(--color-blue-dark);
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

/* ========== Layout ========== */
.container {
  width: min(var(--content-width), calc(100% - var(--page-gutter)));
  margin-inline: auto;
}

.number,
.stat-value {
  font-family: var(--font-number);
}

/* ========== Components ========== */

/* ヘッダー */
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 110px;
  padding: 38px 54px 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background-color 250ms ease,
    border-color 250ms ease,
    height 250ms ease,
    padding 250ms ease;
}

.logo {
  position: relative;
  z-index: 32;
  display: flex;
  align-items: center;
  width: clamp(150px, 11vw, 190px);
  height: 30px;
}

.logo::before {
  position: absolute;
  z-index: -1;
  inset: -8px -14px;
  border-radius: 7px;
  background: var(--color-white);
  content: "";
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header.is-scrolled {
  align-items: center;
  height: 86px;
  padding-top: 0;
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: rgba(65, 103, 169, 0.96);
}

.site-header.is-scrolled .logo,
.site-header.is-scrolled .global-nav a {
  color: var(--color-white);
}

.global-nav {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 9px 10px 9px 28px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.82);
  font-size: var(--font-size-global-nav);
  font-weight: 600;
  transition:
    color 250ms ease,
    background-color 250ms ease;
}

.site-header.is-scrolled .global-nav {
  background: rgba(255, 255, 255, 0.1);
}

.global-nav a span {
  background: var(--gradient-blue);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: currentColor;
  transition:
    color var(--motion-duration-fast) ease,
    -webkit-text-fill-color var(--motion-duration-fast) ease;
}

@media (hover: hover) and (pointer: fine) {
  .global-nav a:hover span {
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .nav-contact:hover::before {
    opacity: 1;
  }
}

.global-nav a:focus-visible span {
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nav-contact {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 10px 24px;
  border-radius: 28px;
  background: var(--gradient-blue);
  color: var(--color-white);
  font-weight: 700;
}

.nav-contact::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: var(--color-white);
  content: "";
  opacity: 0;
  transition: opacity var(--motion-duration-fast) ease;
}

.nav-contact span {
  position: relative;
  z-index: 1;
}

.nav-contact:focus-visible::before {
  opacity: 1;
}

.menu-button {
  display: none;
}

/* 共通ボタン */
.button {
  display: inline-block;
  padding: 11px 22px;
  border: 0;
  border-radius: var(--radius-small);
  background: var(--gradient-blue);
  color: var(--color-white);
  font-family: var(--font-base);
  font-weight: 700;
  cursor: pointer;
}

.button--light {
  background: var(--color-white);
  color: var(--color-blue-dark);
  box-shadow: 0 4px 12px rgba(56, 56, 56, 0.14);
}

.button-row {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

/* 画像プレースホルダー */
.placeholder,
.media-placeholder {
  display: grid;
  min-height: 180px;
  place-items: center;
  border-radius: var(--radius-small);
  background: var(--color-border);
  color: var(--color-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== ページ固有 ========== */

/* トップページ：ファーストビュー */
.home-hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--color-gray);
}

.home-hero::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 61%;
  background: var(--gradient-blue);
  clip-path: polygon(0 0, 100% 0, 69% 100%, 0 100%);
  content: "";
}

.home-hero__inner {
  position: relative;
  z-index: 4;
  width: min(var(--content-width), calc(100% - var(--page-gutter)));
  height: 100%;
  margin-inline: auto;
}

.home-hero__copy {
  width: 55%;
  padding-top: 188px;
  color: var(--color-white);
}

.home-hero-title {
  position: relative;
  z-index: 5;
  width: 720px;
  margin-bottom: 44px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0.025em;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.home-hero__copy > p {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.product-name {
  font-family: var(--font-number);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.product-name small {
  font-family: var(--font-base);
  font-size: 11px;
  letter-spacing: 0;
}

.university {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 18px;
  border-left: 8px solid var(--color-white);
  background: var(--color-blue-dark);
}

.home-hero__media {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 40%;
  display: grid;
  grid-template-rows: 61% 39%;
}

.home-hero__media .media-image {
  min-width: 0;
  min-height: 0;
}

@media (min-width: 821px) {
  .home-hero::before {
    z-index: 3;
    width: 58%;
    background: linear-gradient(90deg, rgba(55, 115, 216, 0.3), rgba(65, 103, 169, 0.24));
    clip-path: polygon(0 0, 100% 0, 86.2% 100%, 0 100%);
  }

  .home-hero__inner {
    width: auto;
    margin-inline: 0;
    padding-inline: clamp(52px, 8vw, 160px);
  }

  .home-hero__copy {
    width: min(55%, 720px);
    padding-top: clamp(150px, 23vh, 380px);
  }

  .home-hero-title {
    width: clamp(650px, 58vw, 980px);
    max-width: none;
    margin-bottom: clamp(32px, 7vh, 64px);
    font-size: clamp(40px, calc(20px + 2.7vw), 72px);
    line-height: 1.28;
  }

  .home-hero-title__line {
    display: inline-block;
    width: max-content;
    padding: 0.02em 0.14em 0.05em;
  }

  .home-hero__copy > p {
    margin-bottom: clamp(14px, 2.2vh, 21px);
    font-size: clamp(17px, min(1.55vw, 2.8vh), 23px);
  }

  .product-name {
    font-size: clamp(34px, min(3.3vw, 5.8vh), 52px);
  }

  .product-name small {
    font-size: clamp(11px, 0.85vw, 15px);
  }

  .university {
    margin-top: clamp(14px, 2.4vh, 23px);
    padding: clamp(7px, 1vh, 9px) clamp(16px, 1.5vw, 22px);
    font-size: clamp(14px, 1.1vw, 18px);
  }

  .home-hero .button-row {
    margin-top: clamp(30px, 5.8vh, 56px);
  }

  .home-hero__media {
    inset: 0;
    display: block;
    background: var(--color-blue-dark);
  }

  .home-hero__media .home-hero__main-image,
  .home-hero__media .home-hero__sub-image {
    position: absolute;
    top: 0;
    bottom: 0;
    object-fit: cover;
  }

  .home-hero__media .home-hero__main-image {
    z-index: 2;
    right: 0;
    left: auto;
    width: 50%;
    height: 100%;
    object-position: 72% center;
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  }

  .home-hero__media .home-hero__sub-image {
    z-index: 1;
    right: auto;
    left: 0;
    width: 58%;
    height: 100%;
    margin-top: 0;
    object-position: 100% center;
    clip-path: none;
  }

}

@media (min-width: 1600px) and (max-height: 760px) {
  .home-hero-title {
    margin-bottom: 36px;
    font-size: clamp(60px, 4vw, 68px);
  }

  .home-hero__copy > p {
    margin-bottom: 12px;
  }

  .university {
    margin-top: 12px;
  }

  .home-hero .button-row {
    margin-top: 30px;
  }
}

/* 津波の脅威 */
.flood-section {
  --product-slope-height: 252px;
  position: relative;
  min-height: 1120px;
  padding: 82px 0 260px;
  background-image:
    linear-gradient(rgba(90, 133, 205, 0.3), rgba(90, 133, 205, 0.3)),
    url("images/home-hero-waves.webp");
  background-position: center;
  background-size: cover;
  color: var(--color-text);
}

.flood-section::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -2px;
  left: 0;
  height: var(--product-slope-height);
  background-color: var(--color-white);
  background-image:
    linear-gradient(var(--color-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid-line) 1px, transparent 1px);
  background-position: left bottom;
  background-repeat: repeat;
  background-size: var(--grid-size) var(--grid-size);
  clip-path: polygon(0 0, 100% calc(100% - 2px), 100% 100%, 0 100%);
  content: "";
}

.flood-section .container {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.flood-section h2 {
  margin-bottom: 18px;
  color: #FFFFFF;
}

.flood-section > .container > p:not(.eyebrow) {
  font-size: var(--font-size-body-copy);
  font-weight: 500;
}

.depth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 32px 0 46px;
}

.depth-grid article {
  min-height: 218px;
  padding: 28px 26px 22px;
  border-radius: var(--radius-medium);
  background: var(--color-white);
}

.depth-grid .stat-value {
  display: block;
  color: var(--color-blue);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
}

.depth-grid .stat-value--danger {
  color: var(--color-text);
}

.depth-grid article:nth-child(2) .stat-value {
  color: var(--color-blue-dark);
}

.depth-grid .stat-value small {
  font-size: 15px;
  font-weight: 500;
}

.depth-grid span {
  font-size: 9px;
  font-weight: 500;
}

.depth-progress {
  width: 100%;
  height: 4px;
  margin: 17px 0 14px;
  overflow: hidden;
  background: var(--color-gray);
}

.depth-progress__value {
  display: block;
  height: 100%;
  background: var(--color-blue);
}

.depth-progress[data-depth="30"] .depth-progress__value {
  width: 30%;
}

.depth-progress[data-depth="50"] .depth-progress__value {
  width: 50%;
}

.depth-progress[data-depth="100"] .depth-progress__value {
  width: 100%;
}

.depth-grid p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-size-card-copy);
  line-height: 1.65;
}

.flood-proof {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 34px;
  min-height: 330px;
  padding: 28px;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.74);
}

.flood-proof__copy {
  display: flex;
  flex-direction: column;
}

.flood-proof h3 {
  margin-bottom: 13px;
  color: var(--color-blue-dark);
  font-size: 22px;
}

.flood-proof p {
  font-size: var(--font-size-card-copy);
  line-height: 1.7;
}

.flood-proof__note {
  margin-top: auto;
  margin-bottom: 0;
  padding: 17px;
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-blue-dark);
  font-weight: 600;
}

.flood-proof__media {
  min-height: 0;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 方眼背景 */
.grid-section,
.pre-footer,
.page-hero::before {
  background-color: var(--color-white);
  background-image:
    linear-gradient(var(--color-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid-line) 1px, transparent 1px);
  background-position: left top;
  background-repeat: repeat;
  background-size: var(--grid-size) var(--grid-size);
}

/* 製品紹介 */
.product-intro {
  --product-slope-height: 252px;
  position: relative;
  z-index: 2;
  min-height: 820px;
  margin-top: -1px;
  padding: 126px 0 178px;
  overflow-x: clip;
  overflow-y: visible;
}

.product-intro__grid-softener,
.product-intro::before {
  position: absolute;
  z-index: 0;
  top: calc(-1 * var(--product-slope-height));
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("images/archimedes-portrait.webp");
  background-position: right -7vw top 40px;
  background-repeat: no-repeat;
  background-size: auto 97%;
  content: "";
  opacity: 0.4;
  pointer-events: none;
  clip-path: polygon(0 0, 100% var(--product-slope-height), 100% 100%, 0 100%);
  /* Match the mask's aspect ratio and size to the portrait, including after resizing. */
  -webkit-mask-image: url("images/portrait-fade.svg");
  -webkit-mask-position: right -7vw top 40px;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: auto 97%;
  mask-image: url("images/portrait-fade.svg");
  mask-position: right -7vw top 40px;
  mask-repeat: no-repeat;
  mask-size: auto 97%;
}

@media (min-width: 821px) and (max-width: 1100px) {
  .product-intro__grid-softener,
  .product-intro::before {
    background-position: right -6vw top 40px;
    opacity: 0.38;
    -webkit-mask-position: right -6vw top 40px;
    mask-position: right -6vw top 40px;
  }
}

/* Share portrait geometry and masks; soften only the grid beneath the image. */
.product-intro > .product-intro__grid-softener {
  z-index: -1;
  background-image: url("images/portrait-grid-softener.svg");
  opacity: 0.65;
}

.product-intro::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 170px;
  background: var(--color-white);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  content: "";
}

.product-intro__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 86px;
  align-items: center;
}

.product-intro__image {
  height: 450px;
  min-height: 450px;
  border-radius: var(--radius-small);
}

.product-intro__copy h2 {
  margin-bottom: 8px;
  font-family: var(--font-number);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.product-intro__copy h2 small {
  font-family: var(--font-base);
  font-size: 11px;
  letter-spacing: 0;
}

.product-intro__copy h3 {
  margin-bottom: 26px;
  font-size: 22px;
  font-weight: 500;
}

.product-intro__copy p {
  margin-bottom: 25px;
  font-size: var(--font-size-body-copy);
}

.product-intro__copy .button {
  margin: 10px 10px 0 0;
  background: var(--color-blue-dark);
}

/* お知らせ */
.news {
  padding: 75px 0 140px;
}

.news h2 {
  margin-bottom: 8px;
}

.news dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 17px 28px;
  width: 850px;
  max-width: 100%;
  margin: 0 0 0 min(225px, max(0px, calc(100% - 850px)));
  font-size: 13px;
}

.news dt {
  color: var(--color-blue);
  font-family: var(--font-number);
  font-weight: 500;
}

.news dd {
  margin: 0;
}

/* トップ専用CTA */
.home-cta {
  display: grid;
  gap: 30px;
  padding-bottom: 100px;
}

.home-cta__card {
  display: flex;
  min-height: 140px;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  padding: 30px 52px;
  border-radius: var(--radius-medium);
  font-size: 14px;
}

.home-cta__description {
  max-width: 760px;
  margin: 0;
}

.home-cta .button {
  display: grid;
  width: 190px;
  min-height: 46px;
  flex: 0 0 190px;
  place-items: center;
  text-align: center;
}

.home-cta__card--company {
  background: var(--color-gray);
}

.home-cta__card--contact {
  background: var(--gradient-blue);
  color: var(--color-white);
}

/* 共通CTA */
.pre-footer {
  display: flex;
  min-height: 125px;
  align-items: center;
  justify-content: space-between;
  padding: 30px max(calc((100% - var(--content-width)) / 2), 24px);
}

.pre-footer .button {
  margin-left: 16px;
}

/* フッター */
.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 70px;
  min-height: 355px;
  padding: 70px max(calc((100% - var(--content-width)) / 2), 24px) 55px;
  background: var(--gradient-blue);
  color: var(--color-white);
}

.site-footer::after {
  height: 1px;
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.7);
  content: "";
}

.site-footer strong {
  font-size: 15px;
}

.site-footer p {
  font-size: 12px;
}

.site-footer span {
  display: block;
  margin-bottom: 24px;
  font-family: var(--font-number);
  font-size: 11px;
  letter-spacing: 0.24em;
}

.site-footer a {
  display: block;
  margin: 10px 0;
}

.site-footer .site-footer__contact-link {
  display: inline;
  margin: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 下層ページ共通 */
.page-hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 150px 0 60px;
  background: var(--color-gray);
}

.page-hero::before {
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: 230px;
  transform: rotate(9deg);
  content: "";
}

.page-hero .container {
  position: relative;
}

.page-content {
  padding: 70px 0 100px;
}

.section-title {
  margin-bottom: 35px;
}

.section-title h2 {
  margin-bottom: 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.table th {
  width: 180px;
  background: var(--color-gray);
}

/* 会社概要 */
.page-company .page-hero::before {
  top: 0;
  height: 200px;
  transform: none;
  clip-path: polygon(0 0, 77% 0, 0 77%);
}

.company-hero {
  min-height: 320px;
  padding: 150px 0 50px;
}

.company-hero h1 {
  margin-bottom: 20px;
  color: var(--color-blue-dark);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.company-hero .container > p:last-child {
  margin-bottom: 0;
  font-size: var(--font-size-body-copy);
  font-weight: 500;
}

.company-page-content {
  padding: 66px 0 94px;
}

.company-section-title {
  margin-bottom: 43px;
}

.company-section-title h2 {
  margin-bottom: 0;
  font-size: 34px;
}

.company-profile {
  margin-bottom: 132px;
}

.company-table th,
.company-table td {
  height: 50px;
  padding: 13px 24px;
  font-size: 13px;
  vertical-align: middle;
}

.company-table th {
  width: 145px;
  border-bottom-color: rgba(207, 207, 207, 0.72);
  font-weight: 600;
}

.company-table td {
  padding-left: 50px;
}

.company-table tr:first-child th {
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
}

.company-table tr:last-child th {
  border-radius: 0 0 var(--radius-medium) var(--radius-medium);
}

.company-access .company-section-title {
  margin-bottom: 58px;
}

.company-access .company-section-title h2 {
  margin-bottom: 12px;
}

.company-access .company-section-title > p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-size-body-copy);
}

.company-map {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--color-gray);
}

.company-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ */
.page-faq .page-hero::before {
  top: 0;
  height: 200px;
  transform: none;
  clip-path: polygon(21% 0, 100% 0, 100% 100%);
}

.faq-hero {
  min-height: 300px;
  padding: 145px 0 54px;
}

.faq-hero h1 {
  margin-bottom: 0;
  color: var(--color-blue-dark);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.faq-page-content {
  padding: 60px 0;
}

.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  margin: 0;
}

.faq-item button {
  display: grid;
  width: 100%;
  grid-template-columns: 44px 1fr 18px;
  align-items: center;
  padding: 30px 16px 24px 66px;
  border: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}

.faq-item button::before {
  color: var(--color-blue);
  content: "Q.";
}

.faq-item button::after {
  color: var(--color-muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  content: "+";
}

.faq-answer {
  padding: 0 66px 34px 110px;
  color: var(--color-muted);
  font-size: var(--font-size-faq-answer);
  line-height: 1.85;
}

.faq-answer p {
  margin-bottom: 0;
}

.faq-item.is-open button::after {
  content: "−";
}

/* お問い合わせ */
.page-contact .page-hero::before {
  top: 0;
  height: 205px;
  transform: none;
  clip-path: polygon(18% 0, 100% 0, 100% 100%);
}

.contact-hero {
  min-height: 0;
  padding: 158px 0 36px;
}

.contact-hero h1 {
  margin-bottom: 24px;
  color: var(--color-blue-dark);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.contact-intro {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 2.1;
}

.contact-intro li::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--color-blue);
  content: "";
}

.contact-page-content {
  padding: 20px 0 clamp(56px, 6vw, 88px);
}

.contact-form {
  max-width: 710px;
  margin: auto;
  padding: 55px 48px 50px;
  border-radius: var(--radius-medium);
  background: var(--color-gray);
  box-shadow: 0 2px 12px rgba(56, 56, 56, 0.14);
}

.page-contact .contact-form__footer {
  display: grid;
  gap: 20px;
  padding-top: 7px;
}

.page-contact .contact-form__footer .form-note,
.page-contact .contact-form__footer .form-message {
  margin: 0;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.page-contact .contact-form__footer .button {
  min-width: 200px;
  min-height: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}

.form-row label {
  font-size: 14px;
  font-weight: 600;
}

.required {
  margin-left: 5px;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 10px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 5px;
  background: var(--color-white);
  font: inherit;
}

.form-row input {
  height: 44px;
}

.form-row textarea {
  min-height: 170px;
  resize: vertical;
}

.form-row--message {
  align-items: start;
}

.form-row--website {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-row {
  text-align: center;
}

.submit-row .button {
  min-width: 150px;
  background: var(--color-blue-dark);
}

.submit-row .button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-note,
.form-message {
  margin-top: 28px;
  color: var(--color-muted);
  font-size: 13px;
  text-align: center;
}

.form-message {
  color: var(--color-blue-dark);
  font-weight: 700;
}

.form-message[data-state="loading"],
.form-message[data-state="sending"],
.form-message[data-state="unavailable"] {
  color: var(--color-muted);
}

.form-message[data-state="success"] {
  color: var(--color-blue-dark);
}

.form-message[data-state="error"] {
  color: var(--color-text);
}

/* 製品詳細 */
.product-detail-overview {
  position: relative;
  min-height: 930px;
  padding: 160px 0 190px;
  overflow: hidden;
}

.product-detail-overview::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 155px;
  background: var(--color-gray);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  content: "";
}

.product-detail-overview__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 72px;
  align-items: center;
}

.product-detail-intro h1 {
  margin-bottom: 5px;
  color: var(--color-blue-dark);
  font-family: var(--font-number);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.product-detail-intro h1 small {
  font-family: var(--font-base);
  font-size: 11px;
  letter-spacing: 0;
}

.product-detail-intro h2 {
  margin-bottom: 26px;
  color: var(--color-text);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.product-detail-intro > p:last-of-type,
.product-detail-description p {
  font-size: var(--font-size-body-copy);
  line-height: 1.9;
}

.product-detail-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.product-detail-actions .button {
  background: var(--color-blue-dark);
}

.product-detail-actions .button--light {
  background: var(--gradient-blue);
  color: var(--color-white);
}

.product-detail-overview__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.45 / 1;
  border-radius: var(--radius-small);
  object-fit: cover;
}

.product-detail-description strong {
  color: var(--color-blue-dark);
  font-family: var(--font-number);
  font-size: 18px;
}

.product-detail-description p:last-child {
  margin-bottom: 0;
}

.product-detail-features {
  position: relative;
  min-height: 980px;
  margin-top: -1px;
  padding: 82px 0 190px;
  overflow: hidden;
  background: var(--color-gray);
}

.product-detail-features::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 155px;
  background: var(--color-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  content: "";
}

.product-detail-features h2,
.product-specifications h2,
.product-structure-section h2 {
  margin-bottom: 38px;
  font-size: 36px;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.product-feature-card {
  position: relative;
  min-height: 385px;
  padding: 24px;
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 3px 14px rgba(65, 103, 169, 0.2);
}

.product-feature-card:last-child {
  width: 540px;
  grid-column: 1 / -1;
  justify-self: center;
}

.product-feature-card__number {
  display: grid;
  width: 29px;
  height: 29px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 600;
}

.product-feature-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  border-radius: var(--radius-small);
  object-fit: cover;
}

.product-feature-card h3 {
  margin-bottom: 8px;
  color: var(--color-blue-dark);
  font-size: 16px;
}

.product-feature-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-size-card-copy);
}

.product-specifications {
  position: relative;
  min-height: 590px;
  padding: 95px 0 190px;
  overflow: hidden;
  background: var(--color-white);
}

.product-specifications::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 150px;
  background: var(--color-gray);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  content: "";
}

.product-specifications__table {
  position: relative;
  z-index: 1;
}

.product-specifications__table th,
.product-specifications__table td {
  height: 54px;
  padding: 14px 25px;
  font-size: 13px;
}

.product-specifications__table th {
  width: 220px;
  font-weight: 600;
}

.product-specifications__table td {
  padding-left: 50px;
}

.product-structure-section {
  position: relative;
  min-height: 1130px;
  margin-top: -1px;
  padding: 80px 0 190px;
  overflow: hidden;
  background: var(--color-gray);
}

.product-structure-section::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 155px;
  background: var(--color-white);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  content: "";
}

.product-structure-section__lead {
  max-width: 850px;
  margin-bottom: 45px;
  font-size: var(--font-size-body-copy);
}

.product-structure-layout,
.product-experiment-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  align-items: center;
}

.product-structure-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-small);
  background: var(--color-white);
  object-fit: contain;
}

.product-parts-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: product-part;
}

.product-parts-list li {
  position: relative;
  min-height: 82px;
  padding: 0 0 20px 58px;
  border-bottom: 1px solid var(--color-border);
  counter-increment: product-part;
}

.product-parts-list li + li {
  padding-top: 18px;
}

.product-parts-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-blue);
  font-family: var(--font-number);
  font-size: 11px;
  content: counter(product-part, decimal-leading-zero);
}

.product-parts-list li + li::before {
  top: 18px;
}

.product-parts-list strong {
  font-size: 13px;
}

.product-parts-list p {
  margin: 5px 0 0;
  color: var(--color-muted);
  font-size: 11px;
}

.product-experiment-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 84px;
  align-items: start;
  margin-top: 82px;
}

.product-experiment-copy h3 {
  margin-bottom: 18px;
  color: var(--color-blue-dark);
  font-size: 22px;
}

.product-experiment-copy > p:last-child {
  margin-bottom: 28px;
  font-size: var(--font-size-body-copy);
  line-height: 1.9;
}

.product-experiment-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.7;
  list-style: none;
}

.product-experiment-list li {
  position: relative;
  padding-left: 22px;
}

.product-experiment-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-blue);
  content: "•";
  font-size: 18px;
  line-height: 1.1;
}

.product-experiment-media {
  width: 100%;
  max-width: 440px;
  margin: 0;
  justify-self: end;
}

.product-demo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.05 / 1;
  border-radius: var(--radius-small);
  object-fit: cover;
}

.product-experiment-media figcaption {
  margin-top: 12px;
  color: var(--color-text);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.product-verification-section {
  padding: 90px 0 80px;
  background: var(--color-white);
}

.product-verification-panel {
  padding: 38px 50px 45px;
  border-radius: var(--radius-medium);
  background: var(--color-gray);
}

.product-verification-panel h2 {
  margin-bottom: 10px;
  font-size: 25px;
}

.product-verification-panel > p {
  margin-bottom: 28px;
  font-size: var(--font-size-body-copy);
}

.product-video-frame {
  display: grid;
  width: min(900px, 100%);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: var(--color-border);
  color: var(--color-muted);
  font-weight: 600;
}

.product-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.product-pre-footer {
  position: relative;
  z-index: 2;
}

/* シミュレーション */
.simulation-hero {
  position: relative;
  min-height: 435px;
  overflow: hidden;
  background: var(--color-border);
  color: var(--color-white);
}

.simulation-hero__media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(90, 133, 205, 0.3), rgba(90, 133, 205, 0.3)),
    url("images/simulation-hero.webp");
  background-position: center;
  background-size: cover;
}

.simulation-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 435px;
  padding-top: 118px;
  padding-bottom: 52px;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.simulation-hero__copy .eyebrow {
  margin-bottom: 20px;
  color: var(--color-white);
}

.simulation-hero h1 {
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.hazard-guide {
  padding: 24px 28px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-text);
}

.hazard-guide > p {
  margin-bottom: 20px;
  font-size: var(--font-size-body-copy);
  font-weight: 500;
  line-height: 1.8;
}

.hazard-guide__link {
  display: grid;
  width: min(430px, 100%);
  min-height: 96px;
  margin-left: auto;
  padding: 13px 20px;
  grid-template-columns: 94px 1fr 34px;
  align-items: center;
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-blue);
  box-shadow: 0 3px 12px rgba(56, 56, 56, 0.1);
}

.hazard-guide__icon {
  display: grid;
  width: 70px;
  height: 64px;
  place-items: center;
  border-right: 1px solid var(--color-border);
}

.hazard-guide__icon img {
  display: block;
  width: 54px;
  height: 54px;
  transform: translateX(-4px);
  object-fit: contain;
}

.hazard-guide__label {
  padding-left: 20px;
  color: var(--color-blue-dark);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.hazard-guide__external {
  display: grid;
  place-items: center;
  color: var(--color-blue-dark);
}

.hazard-guide__external svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.simulation-reasons {
  position: relative;
  min-height: 740px;
  padding: 110px 0 190px;
  overflow: hidden;
}

.simulation-reasons::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 150px;
  background: var(--color-gray);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
}

.simulation-reasons__content {
  position: relative;
  z-index: 1;
}

.simulation-reasons h2,
.simulation-video-section h2,
.simulation-flow h2,
.simulation-cases h2 {
  margin-bottom: 18px;
  font-size: 36px;
}

.simulation-reasons__lead {
  max-width: 100%;
  margin-bottom: 34px;
  font-size: var(--font-size-body-copy);
}

.simulation-reason-list {
  display: grid;
  max-width: 760px;
  gap: 24px;
}

.simulation-reason {
  display: grid;
  grid-template-columns: 95px 1fr;
  align-items: center;
}

.simulation-reason__number {
  color: var(--color-blue-dark);
  font-size: 72px;
  font-weight: 600;
  line-height: 1;
}

.simulation-reason h3 {
  margin-bottom: 3px;
  color: var(--color-blue-dark);
  font-size: 17px;
}

.simulation-reason p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-size-card-copy);
}

.simulation-video-section {
  position: relative;
  min-height: 760px;
  margin-top: -1px;
  padding: 65px 0 185px;
  overflow: hidden;
  background: var(--color-gray);
}

.simulation-video-section::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 150px;
  background: var(--color-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  content: "";
}

.simulation-video-section__content {
  position: relative;
  z-index: 1;
}

.simulation-video-section > .container > p:not(.eyebrow),
.simulation-flow__lead {
  margin-bottom: 28px;
  font-size: var(--font-size-body-copy);
}

.simulation-video-frame {
  display: grid;
  width: min(850px, 100%);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: var(--color-border);
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
}

.simulation-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.simulation-flow {
  padding: 75px 0 115px;
  background: var(--color-white);
}

.simulation-flow h2 {
  margin-bottom: 18px;
}

.simulation-step-list {
  display: grid;
  width: min(960px, 100%);
  margin-inline: auto;
  gap: 58px;
}

.simulation-step-card {
  display: grid;
  min-height: 400px;
  overflow: hidden;
  grid-template-columns: 3fr 2fr;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-white);
  box-shadow: 0 3px 12px rgba(65, 103, 169, 0.14);
}

.simulation-step-card:nth-child(even) {
  grid-template-columns: 2fr 3fr;
}

.simulation-step-card:nth-child(even) .simulation-step-media {
  order: 2;
}

.simulation-step-media {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 4 / 3;
  align-self: center;
  place-items: center;
  background: var(--color-border);
  color: var(--color-muted);
  font-weight: 600;
}

.simulation-step-badge {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  padding: 6px 15px;
  border-radius: 24px;
  background: var(--color-blue);
  color: var(--color-white);
  font-family: var(--font-number);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.simulation-step-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.simulation-step-copy {
  position: relative;
  z-index: 0;
  display: flex;
  padding: 48px 42px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.simulation-step-copy::after {
  position: absolute;
  z-index: 0;
  right: 18px;
  bottom: -34px;
  color: var(--color-gray);
  font-family: var(--font-number);
  font-size: 260px;
  font-weight: 700;
  line-height: 1;
  content: attr(data-number);
}

.simulation-step-card:nth-child(even) .simulation-step-copy::after {
  right: auto;
  left: -8px;
}

.simulation-step-copy > * {
  position: relative;
  z-index: 1;
}

.simulation-step-copy small {
  margin-bottom: 20px;
  color: var(--color-blue);
  font-family: var(--font-number);
  font-size: 10px;
  font-weight: 600;
}

.simulation-step-copy h3 {
  margin-bottom: 12px;
  color: var(--color-blue-dark);
  font-size: 21px;
}

.simulation-step-copy p {
  margin-bottom: 0;
  font-size: var(--font-size-card-copy);
}

.simulation-cases {
  position: relative;
  margin-top: -1px;
  padding: 145px 0 80px;
  overflow: hidden;
  background: var(--color-gray);
}

.simulation-cases::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 115px;
  background: var(--color-white);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  content: "";
}

.simulation-cases__content {
  position: relative;
  z-index: 1;
}

.simulation-cases h2 {
  margin-bottom: 68px;
}

.simulation-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.simulation-case-grid article {
  min-height: 240px;
  padding: 44px 48px;
  border-radius: var(--radius-medium);
  background: var(--color-white);
}

.simulation-case-grid article:last-child {
  min-height: 195px;
  grid-column: 1 / -1;
}

.simulation-case-label {
  display: inline-block;
  min-width: 185px;
  margin-bottom: 22px;
  padding: 6px 20px;
  border-radius: 24px;
  background: var(--color-gray);
  color: var(--color-blue);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.simulation-case-label--primary {
  background: var(--color-blue);
  color: var(--color-white);
}

.simulation-case-grid h3 {
  margin-bottom: 14px;
  color: var(--color-text);
  font-size: 16px;
}

.simulation-case-grid p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-size-card-copy);
  line-height: 1.9;
}

.simulation-pre-footer {
  position: relative;
  z-index: 2;
}

.pc-only-break {
  display: none;
}

/* ========== Responsive ========== */

/* PC本文サイズ */
@media (min-width: 1024px) {
  :root {
    --font-size-body-copy: 15px;
    --font-size-card-copy: 14px;
    --font-size-faq-answer: 15px;
    --font-size-global-nav: 14px;
  }
}

/* PC本文の自然な改行 */
@media (min-width: 821px) {
  main p:not(.eyebrow),
  main dd,
  main td,
  main li p,
  .site-footer p {
    line-break: strict;
    text-wrap: pretty;
  }

  .pc-only-break {
    display: inline;
  }
}

/* スマートフォン */
@media (max-width: 820px) {
  :root {
    --page-gutter: 32px;
  }

  body {
    overflow-x: hidden;
    font-size: 14px;
  }

  h2 {
    font-size: 28px;
  }

  .site-header {
    height: 78px;
    padding: 20px;
  }

  .site-header.is-scrolled {
    align-items: flex-start;
    height: 78px;
    padding: 20px;
  }

  .logo {
    width: clamp(125px, 36vw, 150px);
    height: 24px;
  }

  .logo::before {
    inset: -6px -10px;
    border-radius: 6px;
  }

  .menu-button {
    z-index: 33;
    display: grid;
    width: 42px;
    height: 42px;
    gap: 5px;
    padding: 12px;
    border: 0;
    border-radius: 50%;
    background: var(--color-white);
  }

  .menu-button span {
    height: 2px;
    background: var(--color-text);
  }

  .global-nav {
    position: absolute;
    top: 12px;
    right: 12px;
    display: none;
    width: calc(100% - 24px);
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 70px 25px 25px;
    border-radius: 12px;
  }

  .global-nav.is-open,
  .site-header.is-scrolled .global-nav.is-open {
    display: flex;
    background: rgba(255, 255, 255, 0.96);
  }

  .global-nav a {
    padding: 12px;
  }

  .site-header.is-scrolled .global-nav.is-open a:not(.nav-contact),
  body.is-menu-open .site-header .logo {
    color: var(--color-text);
  }

  .nav-contact {
    background: var(--gradient-blue);
    color: var(--color-white);
    text-align: center;
  }

  .global-nav.is-open .nav-contact,
  .site-header.is-scrolled .global-nav.is-open .nav-contact {
    color: var(--color-white);
  }

  .global-nav.is-open .nav-contact span,
  .site-header.is-scrolled .global-nav.is-open .nav-contact span {
    background: none;
    color: var(--color-white);
    -webkit-text-fill-color: var(--color-white);
  }

  .global-nav.is-open .nav-contact::before,
  .global-nav.is-open .nav-contact:hover::before,
  .global-nav.is-open .nav-contact:focus-visible::before {
    opacity: 0;
  }

  .home-hero {
    height: 850px;
  }

  .home-hero::before {
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(65, 103, 169, 0) 0%,
      rgba(65, 103, 169, 0.14) 30%,
      rgba(65, 103, 169, 0.38) 55%,
      rgba(65, 103, 169, 0.66) 75%,
      rgba(65, 103, 169, 0.78) 100%
    );
    opacity: 1;
    clip-path: none;
  }

  .home-hero__inner {
    display: grid;
    padding-bottom: 32px;
    align-items: end;
  }

  .home-hero__copy {
    width: 100%;
    padding-top: 0;
  }

  .home-hero-title {
    width: 100%;
    margin-bottom: 28px;
    font-size: clamp(28px, 8vw, 35px);
    white-space: normal;
  }

  .home-hero-title__line {
    padding: 0.02em 0.12em 0.06em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  .home-hero__copy > p {
    font-size: 15px;
  }

  .product-name {
    font-size: 27px;
  }

  .button-row {
    gap: 10px;
    margin-top: 26px;
  }

  .button-row .button {
    padding: 10px 14px;
    font-size: 12px;
  }

  .home-hero__media {
    z-index: 1;
    inset: 0;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  }

  .home-hero__media .media-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  .home-hero__media .home-hero__main-image {
    object-position: 50% 45%;
  }

  .home-hero__media .home-hero__sub-image {
    object-position: 100% center;
  }

  .flood-section {
    min-height: 0;
    padding: 60px 0 120px;
  }

  .flood-section::after {
    --product-slope-height: 70px;
    height: var(--product-slope-height);
  }

  .depth-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .depth-grid article {
    min-height: 190px;
  }

  .flood-proof {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .flood-proof__media {
    min-height: 0;
  }

  .product-intro {
    --product-slope-height: 70px;
    min-height: 0;
    padding: 70px 0 115px;
  }

  .product-intro > .product-intro__grid-softener {
    opacity: 0.55;
  }

  .product-intro__grid-softener,
  .product-intro::before {
    top: calc(-1 * var(--product-slope-height) - 30px);
    background-position: 100% calc(clamp(200px, 28vw, 220px) + 40px);
    background-size: auto 83%;
    opacity: 0.33;
    clip-path: polygon(0 30px, 100% calc(var(--product-slope-height) + 30px), 100% 100%, 0 100%);
    -webkit-mask-image: radial-gradient(ellipse 64% 58% at 72% 68%, #000 0%, #000 50%, rgba(0, 0, 0, 0.55) 68%, transparent 88%);
    -webkit-mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-image: radial-gradient(ellipse 64% 58% at 72% 68%, #000 0%, #000 50%, rgba(0, 0, 0, 0.55) 68%, transparent 88%);
    mask-position: center;
    mask-size: 100% 100%;
  }

  .product-intro::after {
    height: 70px;
  }

  .product-intro__layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .product-intro__image {
    height: 310px;
    min-height: 310px;
  }

  .product-intro__copy h2 {
    font-size: 29px;
  }

  .news {
    padding: 45px 0 70px;
  }

  .news dl {
    grid-template-columns: 1fr;
    gap: 4px;
    width: 100%;
    margin: 0;
  }

  .news dd {
    margin: 0 0 20px;
  }

  .home-cta {
    padding-bottom: 65px;
  }

  .home-cta__card {
    display: block;
    min-height: 0;
    padding: 25px;
  }

  .home-cta .button {
    margin-top: 18px;
  }

  .pre-footer {
    display: block;
    text-align: center;
  }

  .pre-footer .button {
    margin: 15px 5px 0;
  }

  .pre-footer__secondary {
    display: none;
  }

  .site-footer {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 45px 24px;
  }

  .site-footer > div:first-child {
    grid-column: 1 / -1;
  }

  .page-hero {
    padding: 120px 0 45px;
  }

  .page-faq .page-hero::before {
    height: 150px;
    clip-path: polygon(30% 0, 100% 0, 100% 72%);
  }

  .page-company .page-hero::before {
    height: 145px;
    clip-path: polygon(0 0, 100% 0, 0 72%);
  }

  .page-contact .page-hero::before {
    height: 150px;
    clip-path: polygon(28% 0, 100% 0, 100% 78%);
  }

  .contact-hero {
    min-height: 0;
    padding: 116px 0 28px;
  }

  .contact-hero h1 {
    margin-bottom: 20px;
    font-size: 34px;
  }

  .contact-intro {
    font-size: 13px;
    line-height: 1.9;
  }

  .contact-intro li {
    display: flex;
    align-items: baseline;
  }

  .contact-intro li::before {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-right: 7px;
  }

  .contact-page-content {
    padding: 12px 0 56px;
  }

  .company-hero {
    min-height: 280px;
    padding: 116px 0 44px;
  }

  .company-hero h1 {
    margin-bottom: 15px;
    font-size: 34px;
  }

  .company-page-content {
    padding: 50px 0 65px;
  }

  .company-section-title {
    margin-bottom: 28px;
  }

  .company-section-title h2 {
    font-size: 28px;
  }

  .company-profile {
    margin-bottom: 75px;
  }

  .company-table th,
  .company-table td {
    height: auto;
    padding: 12px 15px;
  }

  .company-table td {
    padding: 12px 15px 18px;
  }

  .company-table tr:first-child th,
  .company-table tr:last-child th {
    border-radius: 0;
  }

  .company-access .company-section-title {
    margin-bottom: 30px;
  }

  .company-map {
    height: 400px;
  }

  .faq-hero {
    min-height: 245px;
    padding: 112px 0 42px;
  }

  .faq-hero h1 {
    font-size: 34px;
  }

  .page-content {
    padding: 50px 0;
  }

  .faq-page-content {
    padding: 42px 0 55px;
  }

  .faq-item button {
    grid-template-columns: 34px 1fr 14px;
    padding: 24px 8px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 42px 26px;
    font-size: var(--font-size-faq-answer);
  }

  .table th,
  .table td {
    display: block;
    width: 100%;
    padding: 12px;
  }

  .table th {
    border-bottom: 0;
  }

  .contact-form {
    padding: 35px 20px 32px;
  }

  .page-contact .contact-form__footer {
    gap: 18px;
    padding-top: 3px;
  }

  .page-contact .contact-form__footer .form-note,
  .page-contact .contact-form__footer .form-message {
    text-align: left;
  }

  .page-contact .contact-form__footer .button {
    width: min(100%, 280px);
    min-width: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-detail-overview {
    min-height: 0;
    padding: 115px 0 130px;
  }

  .product-detail-overview::after,
  .product-detail-features::after,
  .product-specifications::after,
  .product-structure-section::after {
    height: 72px;
  }

  .product-detail-overview__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail-intro h1 {
    font-size: 30px;
  }

  .product-detail-intro h2 {
    font-size: 18px;
  }

  .product-detail-actions {
    flex-wrap: wrap;
    margin-top: 25px;
  }

  .product-detail-overview__image {
    aspect-ratio: 1.45 / 1;
  }

  .product-detail-features {
    min-height: 0;
    padding: 60px 0 115px;
  }

  .product-detail-features h2,
  .product-specifications h2,
  .product-structure-section h2 {
    margin-bottom: 28px;
    font-size: 28px;
  }

  .product-feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-feature-card,
  .product-feature-card:last-child {
    width: auto;
    min-height: 0;
    grid-column: auto;
    justify-self: stretch;
  }

  .product-specifications {
    min-height: 0;
    padding: 65px 0 115px;
  }

  .product-specifications__table th,
  .product-specifications__table td {
    height: auto;
    padding: 12px 15px;
  }

  .product-specifications__table td {
    padding: 12px 15px 18px;
  }

  .product-structure-section {
    min-height: 0;
    padding: 60px 0 120px;
  }

  .product-structure-layout,
  .product-experiment-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-structure-section__lead {
    margin-bottom: 30px;
  }

  .product-structure-image {
    max-width: 520px;
    justify-self: center;
  }

  .product-experiment-layout {
    margin-top: 50px;
  }

  .product-experiment-media {
    max-width: 520px;
    justify-self: stretch;
  }

  .product-verification-section {
    padding: 55px 0;
  }

  .product-verification-panel {
    padding: 25px 20px 30px;
  }

  .product-verification-panel h2 {
    font-size: 21px;
  }

  .product-pre-footer > div:last-child {
    margin-top: 15px;
  }

  .simulation-hero,
  .simulation-hero__layout {
    min-height: 0;
  }

  .simulation-hero__layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 105px;
    padding-bottom: 45px;
  }

  .simulation-hero h1 {
    font-size: 32px;
  }

  .hazard-guide {
    padding: 20px;
  }

  .hazard-guide > p {
    font-size: 12px;
  }

  .hazard-guide__link {
    margin-left: 0;
    grid-template-columns: 78px 1fr 30px;
  }

  .hazard-guide__icon {
    width: 58px;
  }

  .hazard-guide__label {
    padding-left: 14px;
    font-size: 15px;
  }

  .simulation-reasons {
    min-height: 0;
    padding: 60px 0 115px;
  }

  .simulation-reasons::after,
  .simulation-video-section::after {
    height: 72px;
  }

  .simulation-reasons h2,
  .simulation-video-section h2,
  .simulation-flow h2,
  .simulation-cases h2 {
    font-size: 28px;
  }

  .simulation-reasons__lead {
    margin-bottom: 28px;
  }

  .simulation-reason {
    grid-template-columns: 58px 1fr;
  }

  .simulation-reason__number {
    font-size: 54px;
  }

  .simulation-video-section {
    min-height: 0;
    padding: 55px 0 115px;
  }

  .simulation-flow {
    padding: 55px 0 75px;
  }

  .simulation-step-list {
    gap: 30px;
  }

  .simulation-step-card,
  .simulation-step-card:nth-child(even) {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .simulation-step-card:nth-child(even) .simulation-step-media {
    order: 0;
  }

  .simulation-step-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .simulation-step-badge {
    top: 16px;
    left: 16px;
    padding: 5px 12px;
  }

  .simulation-step-copy {
    min-height: 220px;
    padding: 35px 28px;
  }

  .simulation-step-copy::after {
    right: 8px;
    bottom: -20px;
    font-size: 170px;
  }

  .simulation-step-card:nth-child(even) .simulation-step-copy::after {
    right: 8px;
    left: auto;
  }

  .simulation-cases {
    padding: 100px 0 55px;
  }

  .simulation-cases::before {
    height: 62px;
  }

  .simulation-case-grid {
    grid-template-columns: 1fr;
  }

  .simulation-cases h2 {
    margin-bottom: 34px;
  }

  .simulation-case-grid article,
  .simulation-case-grid article:last-child {
    min-height: 0;
    padding: 30px 24px;
  }

  .simulation-case-label {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 18px;
    white-space: normal;
  }

  .simulation-case-grid article:last-child {
    grid-column: auto;
  }

  .simulation-pre-footer > div:last-child {
    margin-top: 15px;
  }
}

@media (max-width: 600px) {
  .product-intro__grid-softener,
  .product-intro::before {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 12%, #000 26%),
      linear-gradient(to bottom, transparent 0%, #000 18%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 12%, #000 26%),
      linear-gradient(to bottom, transparent 0%, #000 18%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }
}

@media (max-width: 480px) {
  .product-intro::before {
    opacity: 0.29;
  }

  .company-map {
    height: 320px;
  }

  .hazard-guide__link {
    min-height: 86px;
    padding: 10px 12px;
    grid-template-columns: 62px 1fr 24px;
  }

  .hazard-guide__icon {
    width: 48px;
    height: 54px;
  }

  .hazard-guide__label {
    padding-left: 10px;
    font-size: 13px;
  }

  .hazard-guide__external svg {
    width: 20px;
    height: 20px;
  }
}

/* ========== Motion ========== */
/* ページ共通：初回表示・スクロール表示 */
[data-reveal] {
  transition:
    opacity var(--motion-duration-normal) var(--motion-ease) var(--reveal-delay, 0ms),
    transform var(--motion-duration-normal) var(--motion-ease) var(--reveal-delay, 0ms);
}

[data-reveal="scale"] {
  transition-duration: var(--motion-duration-slow);
}

.motion-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
}

.motion-ready [data-reveal="up"]:not(.is-visible) {
  transform: translate3d(0, var(--motion-distance), 0);
}

.motion-ready [data-reveal="left"]:not(.is-visible) {
  transform: translate3d(calc(var(--motion-distance) * -1), 0, 0);
}

.motion-ready [data-reveal="right"]:not(.is-visible) {
  transform: translate3d(var(--motion-distance), 0, 0);
}

.motion-ready [data-reveal="scale"]:not(.is-visible) {
  transform: scale(1.025);
}

[data-reveal-delay="1"] {
  --reveal-delay: var(--motion-stagger);
}

[data-reveal-delay="2"] {
  --reveal-delay: calc(var(--motion-stagger) * 2);
}

[data-reveal-delay="3"] {
  --reveal-delay: calc(var(--motion-stagger) * 3);
}

[data-reveal-delay="4"] {
  --reveal-delay: calc(var(--motion-stagger) * 4);
}

[data-reveal-delay="5"] {
  --reveal-delay: calc(var(--motion-stagger) * 5);
}

.page-home .depth-progress__value {
  transform-origin: left center;
  transition: transform var(--motion-duration-slow) var(--motion-ease) 240ms;
}

.motion-ready .page-home .depth-grid article:not(.is-visible) .depth-progress__value {
  transform: scaleX(0);
}

/* 共通：操作フィードバック */
@media (hover: hover) and (pointer: fine) {
  .page-home .depth-grid article {
    transition: transform 300ms var(--motion-ease);
  }

  .page-home .depth-grid article:hover {
    transform: translateY(-1px) scale(1.015);
  }

  /* シミュレーション：避難ステップの説明エリア */
  .page-simulation .simulation-step-card {
    transition:
      translate 300ms var(--motion-ease),
      scale 300ms var(--motion-ease),
      box-shadow 300ms var(--motion-ease);
  }

  .page-simulation .simulation-step-copy::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: var(--color-blue-dark);
    content: "";
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 440ms var(--motion-ease);
  }

  .page-simulation .simulation-step-card:nth-child(even) .simulation-step-copy::before {
    transform-origin: left center;
  }

  .page-simulation .simulation-step-copy > *,
  .page-simulation .simulation-step-copy::after {
    transition: color 280ms ease 80ms;
  }

  .page-simulation .simulation-step-copy:hover::before {
    transform: scaleX(1);
  }

  .page-simulation .simulation-step-copy:hover > * {
    color: var(--color-white);
  }

  .page-simulation .simulation-step-copy:hover::after {
    color: rgba(255, 255, 255, 0.18);
  }

  .page-simulation .simulation-step-card:has(.simulation-step-copy:hover) {
    translate: 0 -3px;
    scale: 1.007;
    box-shadow: 0 6px 16px rgba(65, 103, 169, 0.2);
  }

  .button,
  .button__arrow {
    transition:
      color var(--motion-duration-fast) ease,
      background-color var(--motion-duration-fast) ease,
      box-shadow var(--motion-duration-fast) ease,
      transform var(--motion-duration-fast) var(--motion-ease);
  }

  .button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(56, 56, 56, 0.18);
  }

  .button--light:hover {
    background-color: var(--color-gray);
    color: var(--color-blue-dark);
  }

  .page-home .product-intro__copy .button:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
  }

  .button:hover .button__arrow {
    display: inline-block;
    transform: translateX(4px);
  }
}

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

.button:focus-visible .button__arrow {
  display: inline-block;
  transform: translateX(4px);
}

@media (max-width: 820px) {
  .motion-ready [data-reveal="left"]:not(.is-visible),
  .motion-ready [data-reveal="right"]:not(.is-visible) {
    transform: translate3d(0, var(--motion-distance), 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .logo,
  .global-nav,
  .global-nav a,
  .global-nav a span,
  .nav-contact::before,
  [data-reveal],
  .page-home .depth-progress__value,
  .page-home .depth-grid article,
  .page-simulation .simulation-step-card,
  .page-simulation .simulation-step-copy::before,
  .page-simulation .simulation-step-copy > *,
  .page-simulation .simulation-step-copy::after,
  .button,
  .button__arrow {
    animation: none;
    opacity: 1;
    transform: none;
    transition-duration: 0.01ms;
    transition-delay: 0ms;
  }

  .page-simulation .simulation-step-card:has(.simulation-step-copy:hover) {
    translate: none;
    scale: none;
  }
}
