/* ==========================================================================
   LINE WORKS LP (line-works)
   ========================================================================== */

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

:root {
  --green: #00c75a;
  --orange: #ef8317;
  --ink: #222;
  --pale: #ddf5ff;
  --blue: #7fd1e1;
  --line: #ced5e1;
  --white: #fff;
  --footer: #3a3a3a;
  --content-width: 1200px;
  --font-base: "Noto Sans JP", sans-serif;
  --radius-btn: 70px;
  --sp-padding: 32px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-base);
  line-height: 1.6;
  background: var(--white);
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  color: var(--white);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  border: 1px solid transparent;
  transition:
    color 0.9s cubic-bezier(0.09, 0.99, 0.15, 0.99),
    opacity 0.2s;
}

.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.09, 0.99, 0.15, 0.99);
  pointer-events: none;
}

.btn--orange {
  --btn-ink: #ef8317;
  background: var(--orange);
  border-color: var(--btn-ink);
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.btn--orange .btn__br {
  display: none;
}

@media (max-width: 767px) {
  .btn--orange .btn__br {
    display: block;
  }
}

.btn--green {
  --btn-ink: #009e48;
  background: var(--green);
  border-color: var(--btn-ink);
}

@media (hover: hover) {
  .btn:hover {
    color: var(--btn-ink);
    opacity: 1;
  }

  .btn:hover::before {
    transform: scaleX(1);
  }
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.btn-group--center {
  justify-content: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: inset 0 -1px 0 #e8e8e8;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.site-header__logo img {
  width: 208px;
  height: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.site-header__menu a {
  font-size: 20px;
  font-weight: 400;
}

.site-header__menu a:hover {
  color: var(--green);
}

.site-header__contact.btn {
  min-height: 0;
  padding: 10px 30px;
  font-size: 22px;
  border-radius: 30px;
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition:
    transform 0.25s,
    opacity 0.25s;
}

.site-header.is-open .site-header__toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .site-header__toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-header__toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-header__overlay {
  display: none;
}

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

/* 768–900: 横ナビが折り返さないよう縮小 */
@media (min-width: 768px) and (max-width: 900px) {
  .site-header__inner {
    gap: 12px;
    min-height: 72px;
  }

  .site-header__logo img {
    width: 150px;
  }

  .site-header__nav {
    gap: 14px;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }

  .site-header__menu {
    gap: 16px;
    flex-wrap: nowrap;
  }

  .site-header__menu a {
    font-size: 15px;
    white-space: nowrap;
  }

  .site-header__contact.btn {
    padding: 8px 16px;
    font-size: 15px;
    white-space: nowrap;
  }
}

/* Hero */
.hero {
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #a9c3e0 2%,
    #d4f3ff 34%,
    #dbfbf3 89%,
    #cbf6ff 99%
  );
}

.hero__inner {
  position: relative;
  display: block;
  min-height: 555px;
  padding-top: 86px;
  padding-bottom: 0;
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.hero__logo {
  display: block;
  width: 639px;
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  object-position: left;
}

.hero__title {
  margin-top: 30px;
  font-size: 36px;
  font-weight: 700;
  line-height: 50.4px;
  color: var(--ink);
}

.hero__text {
  margin-top: 18px;
  font-size: 16px;
  line-height: 25.6px;
}

.hero__actions {
  margin-top: 36px;
  justify-content: flex-start;
  gap: 24px;
}

.hero__actions .btn {
  min-height: 0;
  padding: 20px 36px;
  font-size: 25px;
  line-height: normal;
}

.hero__visual {
  position: absolute;
  right: 0;
  top: 52px;
  width: 486px;
  height: 470px;
  z-index: 1;
  pointer-events: none;
}

.hero__visual img {
  width: 486px;
  height: 470px;
  max-width: none;
  object-fit: cover;
}

/* Sections — Figma上のセクション間隔は110px（上下paddingの合算にしない） */
.section {
  padding-top: 110px;
  padding-bottom: 0;
}

.section-heading {
  margin-bottom: 80px;
  text-align: center;
}

.section-heading__label {
  display: block;
  margin-bottom: 24px;
  color: var(--green);
  font-size: 24px;
  font-weight: 700;
  line-height: 50.4px;
}

.section-heading__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 50.4px;
  color: var(--ink);
}

.section-heading__title--green {
  color: var(--green);
}

.section-heading__title--related {
  margin-bottom: 48px;
  font-size: 36px;
  line-height: 50.4px;
  color: var(--ink);
  text-align: center;
}

/* Problems — Figma 1:58 */
.problems .section-heading {
  margin-bottom: 80px;
}

.problem-list {
  display: grid;
  gap: 19px;
  max-width: 800px;
  margin-inline: auto;
}

.problem-list p {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 84px;
  margin: 0;
  padding: 0 48px;
  background: var(--pale);
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  white-space: nowrap;
}

.problem-list p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 42px solid #0099c7;
  border-right: 38px solid transparent;
}

/* Reasons — Figma 1:70 */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 380px);
  gap: 30px;
  justify-content: center;
}

.reason-card {
  position: relative;
  width: 380px;
  height: 456px;
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
  background: var(--white);
}

.reason-card__img {
  position: relative;
  width: 380px;
  height: 300px;
  overflow: hidden;
}

.reason-card__img img {
  position: absolute;
  max-width: none;
}

.reason-card__img--easy img {
  width: 263.33%;
  height: 222.54%;
  left: -63.9%;
  top: -82.78%;
}

.reason-card__img--security img {
  width: 143.52%;
  height: 121.21%;
  left: -25.29%;
  top: -15.1%;
}

.reason-card__split-imgs {
  position: relative;
  display: flex;
  width: 380px;
  height: 300px;
  overflow: hidden;
}

.reason-card__split-half {
  position: relative;
  flex: 0 0 190px;
  width: 190px;
  height: 300px;
  overflow: hidden;
}

.reason-card__split-half img {
  position: absolute;
  left: -75.62%;
  top: -0.12%;
  width: 236.84%;
  height: 100%;
  max-width: none;
}

.reason-card__split-half:last-of-type img {
  left: -77.78%;
  top: 0.12%;
}

.reason-card__badge {
  position: absolute;
  width: 50px;
  height: 50px;
  z-index: 2;
  object-fit: contain;
}

.reason-card__badge--line {
  left: 10px;
  top: 240px;
}

.reason-card__badge--works {
  right: 10px;
  top: 240px;
}

.reason-card h3 {
  margin: 20px 0 0;
  color: var(--green);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
}

.reason-card p {
  /* Figma: left 24px / width 332px（padding込みにしない） */
  margin: 20px 24px 0;
  padding: 0;
  width: 380px;
  max-width: calc(100% - 40px);
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  text-align: left;
}

/* Features — Figma 1:96〜
   画像素材はアイコン＋文言の縦長カード。Figmaでは 287×162 枠で
   高さ180%・上寄せクロップし、アイコン部分だけ見せる */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 580px);
  gap: 139px 40px;
  justify-content: center;
}

.feature-card {
  width: 580px;
  height: 344px;
  border: 1px solid #d9d9d9;
  text-align: center;
  overflow: hidden;
  background: var(--white);
}

.feature-card h3 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  padding: 16px 8px;
  background: var(--green);
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
}

.feature-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  height: 276px;
  padding: 31px 42px;
  box-sizing: border-box;
}

.feature-card__media {
  position: relative;
  flex: 0 0 162px;
  width: 287px;
  height: 162px;
  overflow: hidden;
  border-radius: 20px;
}

.feature-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.feature-card p {
  margin: 0;
  max-width: 100%;
  font-size: 15px;
  font-weight: 400;
  line-height: 25.6px;
  text-align: center;
}

/* Plans — Figma 1:155
   幅が足りるときは横スクロールしない。狭い画面だけ min-width + overflow */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.plans-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
}

.plans-table col.plans-half {
  width: 17.35%;
}

.plans-table col.plans-plan {
  width: 21.77%;
}

.plans-table th,
.plans-table td {
  height: 80px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
  line-height: 21.3px;
  vertical-align: middle;
  word-break: break-word;
}

.plans-table thead th {
  background: var(--green);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.plans-table thead th:first-child,
.plans-table tbody th,
.plans-table .plans-subhead {
  background: var(--pale);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  border-color: #fff;
}

.plans-table thead th:first-child {
  font-size: 20px;
}

.plans-table tbody th {
  font-size: 20px;
}

.plans-table .plans-subhead {
  font-size: 17px;
}

.plans-table .price,
.plans-table .price-num {
  color: var(--green);
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
}

.plans-table .price-unit {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
}

.plans-table .mark {
  color: var(--green);
  font-weight: 900;
  font-size: 17px;
}

.plans-table .mark-note {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 21.3px;
}

.plans-table .cell-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.plans-table .storage-main,
.plans-table .storage-sub {
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
}

.plans-scroll-hint {
  display: none;
}

.plan-note {
  margin-top: 24px;
  font-size: 17px;
  line-height: 21.3px;
}

.plan-note p {
  margin: 0;
}

/* CTA — Figma 1:254 */
.cta-band {
  margin-top: 110px;
  min-height: 564px;
  padding: 82px 20px;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(0, 199, 90, 0.4),
    rgba(0, 162, 224, 0.4)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-band__title {
  margin: 0 0 25px;
  font-size: 36px;
  font-weight: 700;
  line-height: 50.4px;
  color: var(--ink);
}

.cta-band .btn-group {
  gap: 24px;
}

.cta-band .btn {
  min-height: 0;
  padding: 20px 36px;
  font-size: 25px;
  line-height: normal;
  border-radius: 70px;
}

.cta-band__phone-label {
  margin-top: 45px;
  font-size: 24px;
  font-weight: 700;
  line-height: 50.4px;
}

.cta-band__phone {
  margin-top: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 50.4px;
}

.cta-band__phone a:hover {
  text-decoration: underline;
}

.cta-band__hours {
  margin-top: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 50.4px;
}

/* Wide cards — scenes 1:255 / cases 1:267 */
.wide-cards {
  display: grid;
  gap: 35px;
}

.wide-card {
  display: flex;
  align-items: center;
  gap: 64px;
  width: 100%;
  min-height: 292px;
  padding-right: 64px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
}

.wide-card__media {
  position: relative;
  flex: 0 0 380px;
  width: 380px;
  height: 290px;
  overflow: hidden;
}

.wide-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wide-card__body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
}

.wide-card__body span {
  display: block;
  color: var(--green);
  font-size: 25px;
  font-weight: 700;
  line-height: 57.6px;
}

.wide-card__body h3 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 57.6px;
}

.wide-card__body ul {
  margin: 24px 0 0;
  padding-left: 0;
  list-style: none;
}

.wide-card__body li {
  position: relative;
  padding-left: 1em;
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
}

.wide-card__body li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.wide-card__body li + li {
  margin-top: 0;
}

.cases .wide-card {
  gap: 0;
  min-height: 290px;
  padding-right: 0;
}

.cases .wide-card__media {
  flex-basis: 380px;
}

.cases .wide-card__body {
  padding: 0 28px 0 64px;
}

.cases .wide-card__body h3 {
  margin-bottom: 24px;
}

.cases .wide-card__body li {
  padding-left: 0;
}

.cases .wide-card__body li::before {
  content: none;
}

.cases .wide-card__body ul {
  margin-top: 0;
}

/* Flow — Figma 1:332
   ≥1280: 4列＋横矢印（カード中央） / 768–1279: 2×2・矢印なし / ≤767: 1列＋縦矢印（カード中央） */
.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 25px;
  justify-content: center;
  justify-items: stretch;
  align-items: stretch;
}

.flow-grid__arrow {
  display: none;
  width: 26px;
  height: 26px;
  margin: 0;
  justify-self: center;
  align-self: center;
}

.flow-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 300px;
  height: 100%;
  min-height: 0;
  padding: 24px;
  background: #f8ffff;
  border: 1px solid #d9d9d9;
  text-align: center;
  box-sizing: border-box;
}

@media (min-width: 1280px) {
  .flow-grid {
    grid-template-columns: 300px 26px 300px 26px 300px 26px 300px;
    gap: 12px;
    justify-items: stretch;
    align-items: center;
  }

  .flow-grid__arrow {
    display: block;
  }

  .flow-card {
    width: 300px;
    max-width: none;
    min-height: 616px;
  }
}

.flow-card__step {
  display: block;
  color: var(--green);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
}

.flow-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
}

.flow-card img {
  display: block;
  width: 100px;
  height: 100px;
  margin: 41px auto 48px;
  object-fit: contain;
}

.flow-card p {
  margin: 0 auto;
  width: 252px;
  max-width: 100%;
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  text-align: left;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0;
}

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

.faq-item + .faq-item {
  border-top: none;
}

.faq-item__question {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 98px;
  padding: 24px;
  border: none;
  background: var(--blue);
  color: var(--ink);
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 38.4px;
  text-align: left;
  cursor: pointer;
}

.faq-item__question span {
  flex: 1 1 auto;
  min-width: 0;
}

.faq-item__question::after {
  content: "+";
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: #173b42;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

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

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--white);
  transition: grid-template-rows 0.55s cubic-bezier(0.09, 0.99, 0.15, 0.99);
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-item__answer p {
  margin: 0;
  padding: 24px;
  font-size: 24px;
  font-weight: 500;
  line-height: 38.4px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__answer {
    transition: none;
  }
}

/* Contact / Mailform — Figma 1:487〜 */
.contact-section__note {
  margin: 0 auto 60px;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  color: var(--ink);
}

.contact-section__note p {
  margin: 0;
}

.contact-section .mailform_required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 46px;
  height: 20px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  color: #fff;
  background: #f91c1c;
  border-radius: 20px;
  vertical-align: middle;
}

.contact-section__note .mailform_required {
  margin-right: 4px;
}

.contact-section form#mailformpro .contactform_mailform_checks {
  display: grid;
  gap: 24px;
  width: min(492px, 100%);
  margin: 0 auto;
}

/* mailformpro.css の form#mailformpro label{display:block} より詳細度を上げる */
.contact-section form#mailformpro .contactform_mailform_checks label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  border-radius: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.contact-section form#mailformpro .contactform_mailform_checks label > span {
  line-height: 1;
}

.contact-section
  form#mailformpro
  .contactform_mailform_checks
  input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #222;
  border-radius: 2px;
  background: var(--white);
  box-sizing: border-box;
}

.contact-section
  form#mailformpro
  .contactform_mailform_checks
  input[type="checkbox"]:checked {
  border-color: var(--green);
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 10px;
}

.contact-section .contactform_mailform_item {
  display: grid;
  grid-template-columns: 276px 443px;
  align-items: center;
  justify-content: center;
  width: min(719px, 100%);
  margin: 60px auto 0;
  box-shadow: none;
}

.contact-section .contactform_mailform_item--radio {
  align-items: start;
}

.contact-section .contactform_mailform_item--textarea {
  align-items: start;
}

.contact-section .contactform_mailform_item_title {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 50px;
}

.contact-section
  .contactform_mailform_item--radio
  .contactform_mailform_item_title {
  min-height: 24px;
  align-items: flex-start;
}

.contact-section
  .contactform_mailform_item:not(.is-required)
  .contactform_mailform_item_title {
  padding-left: 71px;
}

.contact-section .contactform_mailform_item_title h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.contact-section .contactform_mailform_item_input {
  width: 100%;
  max-width: 443px;
}

.contact-section
  .contactform_mailform_item--radio
  .contactform_mailform_item_input {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 443px;
}

.contact-section form#mailformpro .contactform_mailform_item_input label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  border-radius: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.contact-section
  form#mailformpro
  .contactform_mailform_item_input
  label
  > span {
  line-height: 1;
}

.contact-section form#mailformpro input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #222;
  border-radius: 50%;
  background: var(--white);
  box-sizing: border-box;
}

.contact-section form#mailformpro input[type="radio"]:checked {
  border-color: var(--green);
  background-image: radial-gradient(
    circle,
    var(--green) 0 55%,
    transparent 56%
  );
}

.contact-section form#mailformpro input[type="text"],
.contact-section form#mailformpro input[type="email"],
.contact-section form#mailformpro input[type="tel"],
.contact-section form#mailformpro textarea {
  width: 100%;
  max-width: 443px;
  height: 50px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #222;
  border-radius: 4px;
  box-sizing: border-box;
  resize: none;
}

.contact-section form#mailformpro textarea {
  height: 390px;
  min-height: 390px;
  resize: vertical;
}

.contact-section__privacy {
  display: flex;
  justify-content: center;
  width: min(719px, 100%);
  margin: 40px auto 0;
}

.contact-section .contact-privacy-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.contact-section .contact-privacy-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--green);
  cursor: pointer;
}

.contact-section .contact-privacy-check .mailform_required {
  margin-left: 6px;
}

.contact-section .contactform_mailform_submit {
  margin-top: 60px;
  text-align: center;
}

.contact-section .contactform_mailform_submit-btn,
.contact-section form#mailformpro .contactform_mailform_submit-btn {
  --submit-ink: #009e48;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  width: 300px;
  height: 60px;
  min-width: 300px;
  padding: 0;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 38.4px;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--submit-ink);
  border-radius: 70px;
  cursor: pointer;
  transition: color 0.9s cubic-bezier(0.09, 0.99, 0.15, 0.99);
}

.contact-section .contactform_mailform_submit-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.09, 0.99, 0.15, 0.99);
  pointer-events: none;
}

@media (hover: hover) {
  .contact-section .contactform_mailform_submit-btn:hover,
  .contact-section form#mailformpro .contactform_mailform_submit-btn:hover {
    color: var(--submit-ink);
  }
  .contact-section .contactform_mailform_submit-btn:hover::before,
  .contact-section
    form#mailformpro
    .contactform_mailform_submit-btn:hover::before {
    transform: scaleX(1);
  }
}

.contact-section a {
  text-decoration: underline;
}

/* Related — Figma 1:382〜 */
.related {
  padding-top: 110px;
  padding-bottom: 110px;
}

.related .section-heading__title--related {
  margin: 0 0 80px;
  font-size: 36px;
  font-weight: 700;
  line-height: 50.4px;
  color: var(--ink);
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 373px);
  gap: 70px;
  justify-content: center;
}

.related-card {
  display: flex;
  flex-direction: column;
  width: 373px;
  height: 254px;
  border: 1px solid #d9d9d9;
  background: var(--white);
  transition:
    transform 0.45s cubic-bezier(0.09, 0.99, 0.15, 0.99),
    box-shadow 0.45s cubic-bezier(0.09, 0.99, 0.15, 0.99),
    border-color 0.45s ease;
}

.related-card__head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 68px;
  height: 68px;
  padding: 0 12px;
  background: var(--blue);
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 36px;
}

.related-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 23px;
  padding: 17px 16px 0;
}

.related-card__icon {
  display: block;
  width: 100px;
  height: 100px;
}

.related-card__link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  color: var(--ink);
}

.related-card__link img {
  display: block;
  width: 24px;
  height: 24px;
}

/* フッター見た目は common/css/site-footer.css に統一 */

/* Mid（768–1279）— flow と同じ範囲でカード幅を抑える */
@media (min-width: 768px) and (max-width: 1279px) {
  .hero__visual {
    width: min(420px, 40%);
  }

  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 340px));
    gap: 30px 24px;
    justify-content: center;
    justify-items: center;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 420px));
    gap: 48px 24px;
    justify-content: center;
    justify-items: center;
  }

  .reason-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 340px;
    height: auto;
    padding-bottom: 25px;
  }

  .reason-card__img,
  .reason-card__split-imgs {
    width: 100%;
    height: auto;
    aspect-ratio: 380 / 300;
  }

  .reason-card__img img,
  .reason-card__img--easy img,
  .reason-card__img--security img,
  .reason-card__split-half img,
  .reason-card__split-half:last-of-type img {
    inset: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }

  .reason-card__split-half {
    flex: 1 1 50%;
    width: 50%;
    min-width: 0;
    height: auto;
    align-self: stretch;
  }

  .reason-card__badge--line,
  .reason-card__badge--works {
    top: auto;
    bottom: 8px;
  }

  .reason-card h3 {
    margin-top: 12px;
  }

  .reason-card p {
    width: auto;
    max-width: calc(100% - 34px);
    margin: 12px auto 0;
  }

  .feature-card {
    width: 100%;
    max-width: 420px;
    height: auto;
  }

  .feature-card__body {
    height: auto;
    padding: 24px 28px;
  }

  .feature-card__media {
    width: min(220px, 70%);
    height: auto;
    aspect-ratio: 287 / 162;
    flex-basis: auto;
  }

  .feature-card p {
    width: auto;
    max-width: 100%;
  }

  .wide-card {
    gap: 32px;
    padding-right: 32px;
  }

  .wide-card__media,
  .cases .wide-card__media {
    flex-basis: 240px;
    width: 240px;
    height: 220px;
  }

  .wide-card__body h3 {
    font-size: 28px;
    line-height: 1.4;
  }

  .plans-table {
    min-width: 900px;
  }

  .table-scroll {
    overflow-x: auto;
  }
}

/* SP */
@media (max-width: 767px) {
  .container {
    padding-inline: var(--sp-padding);
  }

  .sp-only {
    display: inline;
  }

  br.sp-only {
    display: block;
  }

  .pc-only {
    display: none;
  }

  .site-header__toggle {
    display: flex;
    align-items: flex-end;
    width: 44px;
  }

  .site-header__toggle span {
    margin-inline: 0;
  }

  .site-header__inner {
    position: relative;
    z-index: 96;
    min-height: 66px;
    padding-inline: 16px;
  }

  .site-header__logo img {
    width: 146px;
  }

  .site-header__overlay {
    display: block;
    position: fixed;
    top: 66px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.3s,
      visibility 0.3s;
  }

  .site-header.is-open .site-header__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header__nav {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 16px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.3s,
      opacity 0.3s,
      visibility 0.3s;
  }

  .site-header.is-open .site-header__nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
  }

  .site-header__contact.btn {
    width: 100%;
    max-width: none;
    justify-content: center;
    text-align: center;
  }

  .btn {
    min-height: 50px;
    width: 250px;
    padding: 10px 18px;
    font-size: 17px;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 32px var(--sp-padding) 42px;
  }

  /* SP: ロゴ→見出し→本文→画像→ボタン（Figma 1:1143） */
  .hero__copy {
    display: contents;
  }

  .hero__copy > .hero-rise:nth-child(1) {
    order: 1;
  }

  .hero__copy > .hero-rise:nth-child(2) {
    order: 2;
  }

  .hero__copy > .hero-rise:nth-child(3) {
    order: 3;
  }

  .hero__copy > .hero-rise:nth-child(4) {
    order: 5;
    width: 100%;
  }

  .hero__logo {
    width: 320px;
    margin-inline: auto;
  }

  .hero__title {
    width: 100%;
    max-width: 336px;
    margin-top: 20px;
    font-size: 25px;
    line-height: 37.5px;
    text-align: center;
  }

  .hero__text {
    width: 100%;
    max-width: 302px;
    margin-top: 12px;
    font-size: 16px;
    line-height: 25.6px;
    text-align: center;
  }

  .hero__visual {
    order: 4;
    position: static;
    width: 249px;
    max-width: 249px;
    height: 241px;
    margin: 20px auto 0;
  }

  .hero__visual img {
    width: 249px;
    height: 241px;
    max-width: 249px;
    object-fit: cover;
    object-position: top center;
  }

  .hero__actions {
    width: 100%;
    max-width: none;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 23px;
  }

  /* FV / CTA 同幅（display:contents でもCTAの340pxに揃える） */
  .hero__actions .btn,
  .cta-band .btn {
    box-sizing: border-box;
    width: min(100%, 340px);
    max-width: 340px;
    height: auto;
    min-height: 50px;
    padding: 12px 20px;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .cta-band {
    margin-top: 60px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading__label {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 24px;
  }

  .section-heading__title {
    font-size: 20px;
    line-height: 30px;
  }

  .section-heading__title--related {
    font-size: 20px;
    line-height: 30px;
  }

  .problems .section-heading {
    margin-bottom: 30px;
  }

  .problems .section-heading__title--green {
    font-size: 20px;
    line-height: 34.5px;
    text-align: center;
  }

  .problem-list {
    gap: 20px;
    justify-items: center;
  }

  .problem-list p {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 84px;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    white-space: normal;
  }

  .problem-list p::before {
    border-top-width: 27px;
    border-right-width: 29px;
  }

  .reasons .section-heading {
    margin-bottom: 40px;
  }

  .reason-grid,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
  }

  .reason-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 326px;
    height: auto;
    padding-bottom: 25px;
    overflow: hidden;
  }

  /* SP reason画像クロップ — Figma 34:715（324×153枠） */
  .reason-card__img,
  .reason-card__split-imgs {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 324 / 153;
    overflow: hidden;
  }

  .reason-card__img img,
  .reason-card__img--easy img,
  .reason-card__img--security img {
    position: absolute;
    max-width: none;
    object-fit: unset;
    object-position: unset;
  }

  .reason-card__img--easy img {
    width: 193.3%;
    height: 273.11%;
    left: -37.24%;
    top: -104.65%;
  }

  .reason-card__img--security img {
    width: 108.56%;
    height: 153%;
    left: -5.69%;
    top: -34.33%;
  }

  .reason-card__split-half {
    position: relative;
    flex: 1 1 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
  }

  .reason-card__split-half img {
    position: absolute;
    max-width: none;
    width: 147.6%;
    height: 104.08%;
    left: -25.99%;
    top: 0.51%;
    object-fit: unset;
  }

  .reason-card__split-half:last-of-type img {
    width: 141.81%;
    height: 100%;
    left: -16.33%;
    top: 0.12%;
  }

  .reason-card__badge {
    width: 25px;
    height: 25px;
  }

  .reason-card__badge--line {
    left: 9px;
    right: auto;
    top: 120px;
    bottom: auto;
  }

  .reason-card__badge--works {
    left: 170px;
    right: auto;
    top: 120px;
    bottom: auto;
  }

  .reason-card h3 {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 36px;
    color: var(--green);
    text-align: center;
  }

  .reason-card p {
    width: 292px;
    max-width: calc(100% - 34px);
    margin: 12px auto 0;
    padding: 0;
    font-size: 15px;
    line-height: 25.6px;
    text-align: justify;
  }

  .feature-card h3 {
    height: auto;
    min-height: 56px;
    padding: 10px;
    font-size: 16px;
    line-height: 1.4;
  }

  .feature-card__body {
    height: auto;
    gap: 16px;
    padding: 12px 20px 16px;
  }

  .feature-card__media {
    width: 126px;
    height: 71px;
    flex: 0 0 71px;
    aspect-ratio: auto;
  }

  .feature-card p {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
  }

  .plans .container {
    padding-right: 0;
  }

  .plans .section-heading,
  .plans-scroll-hint,
  .plan-note {
    padding-right: var(--sp-padding);
  }

  .plans .section-heading {
    margin-bottom: 20px;
  }

  .plans-scroll-hint {
    display: block;
    margin: 0 0 16px;
    color: rgba(34, 34, 34, 0.7);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
  }

  .table-scroll {
    padding-right: var(--sp-padding);
  }

  /* SP_plan — label 326 / plan 250×3 = 1076, row 60 */
  .plans-table {
    min-width: 1076px;
    font-size: 15px;
  }

  .plans-table col.plans-half {
    width: 163px;
  }

  .plans-table col.plans-plan {
    width: 250px;
  }

  .plans-table th,
  .plans-table td {
    height: 60px;
    padding: 6px 8px;
    font-size: 15px;
    line-height: 21.3px;
  }

  .plans-table thead th {
    font-size: 18px;
    line-height: 21.3px;
  }

  .plans-table thead th:first-child,
  .plans-table tbody th {
    font-size: 18px;
    line-height: 21.3px;
  }

  .plans-table tbody th[rowspan] {
    font-size: 16px;
  }

  .plans-table .plans-subhead {
    font-size: 16px;
  }

  .plans-table .price,
  .plans-table .price-num {
    font-size: 20px;
  }

  .plans-table .price-unit {
    font-size: 20px;
  }

  .plans-table .mark {
    font-size: 20px;
  }

  .plans-table .mark-note {
    font-size: 15px;
    font-weight: 500;
    line-height: 21.3px;
  }

  .plans-table .storage-main,
  .plans-table .storage-sub {
    font-size: inherit;
    line-height: inherit;
  }

  .plan-note {
    margin-top: 20px;
    font-size: 12px;
    line-height: 18px;
  }

  /* 左右は二重にせず、CTAだけ padding-inline: 30px */
  .cta-band {
    min-height: 0;
    align-items: stretch;
    padding: 30px 0;
  }

  .cta-band .container {
    width: 100%;
    padding-inline: 24px;
  }

  .cta-band .btn-group {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  .cta-band__title {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .cta-band__phone-label {
    margin-top: 20px;
    font-size: 16px;
    line-height: normal;
  }

  .cta-band__phone {
    font-size: 33px;
  }

  .cta-band__hours {
    font-size: 15px;
    line-height: normal;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
  }

  .feature-card {
    width: 100%;
    max-width: 326px;
    height: auto;
    min-height: 0;
  }

  .feature-card__media {
    width: 126px;
    height: 71px;
    flex: 0 0 71px;
    max-width: 100%;
  }

  .feature-card p {
    width: auto;
    max-width: 100%;
    text-align: left;
  }

  /* SP wide-card — Figma 18:1887 / 18:2247 */
  .wide-cards {
    gap: 30px;
    justify-items: center;
  }

  .wide-card,
  .cases .wide-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 326px;
    min-height: 0;
    padding-right: 0;
    padding-bottom: 29px;
  }

  .wide-card__media,
  .cases .wide-card__media {
    flex-basis: auto;
    width: 100%;
    height: 155px;
  }

  .wide-card__body,
  .cases .wide-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 11px 6px 0;
  }

  .cases .wide-card__body {
    padding-top: 17px;
  }

  .wide-card__body span {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }

  .wide-card__body h3 {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }

  .cases .wide-card__body h3 {
    margin-top: 0;
    margin-bottom: 0;
  }

  .wide-card__body ul,
  .cases .wide-card__body ul {
    width: 292px;
    max-width: calc(100% - 12px);
    margin: 2px 0 0;
    padding: 10px 0 0;
    box-sizing: border-box;
  }

  .cases .wide-card__body ul {
    margin-top: 8px;
  }

  .wide-card__body li {
    font-size: 15px;
    line-height: 22.5px;
    text-align: justify;
  }

  .flow-grid {
    grid-template-columns: minmax(0, 326px);
    gap: 12px;
    justify-content: center;
    justify-items: center;
    align-items: center;
  }

  .flow-grid__arrow {
    display: block;
    width: 28px;
    height: 28px;
    justify-self: center;
  }

  /* 右向きSVGを下向きへ（js-reveal-fade の transform:none より後勝ち） */
  .flow-grid__arrow.js-reveal-fade,
  .flow-grid__arrow.js-reveal-fade.is-inview {
    transform: rotate(90deg);
  }

  .flow-card {
    width: 100%;
    max-width: 326px;
    min-height: 0;
    padding: 20px 37px;
  }

  .flow-card__step,
  .flow-card h3 {
    font-size: 16px;
    line-height: 24px;
  }

  .flow-card img {
    width: 50px;
    height: 50px;
    margin: 10px auto;
  }

  .flow-card p {
    width: 100%;
    max-width: 252px;
    font-size: 15px;
    line-height: 22.5px;
    text-align: justify;
  }

  .faq-item__question {
    min-height: 0;
    gap: 24px;
    padding: 10px 24px;
    font-size: 15px;
    line-height: 1.5;
  }

  .faq-item__question::after {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .faq-item__answer p {
    padding: 15px;
    font-size: 14px;
    line-height: 1.7;
  }

  .contact-section__note {
    margin-bottom: 20px;
    text-align: left;
    font-size: 15px;
    line-height: 22.5px;
  }

  .contact-section__note .mailform_required,
  .contact-section .mailform_required {
    min-width: 30px;
    height: 19px;
    padding: 0 5px;
    font-size: 10px;
    line-height: 1;
  }

  .contact-section form#mailformpro .contactform_mailform_checks {
    width: 100%;
    gap: 15px;
  }

  .contact-section form#mailformpro .contactform_mailform_checks label {
    gap: 12px;
    font-size: 15px;
    line-height: 1;
  }

  .contact-section
    form#mailformpro
    .contactform_mailform_checks
    input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background-size: 11px 9px;
  }

  .contact-section .contactform_mailform_item {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 20px;
    gap: 14px;
  }

  .contact-section .contactform_mailform_item_title {
    min-height: 0;
    gap: 14px;
  }

  .contact-section
    .contactform_mailform_item:not(.is-required)
    .contactform_mailform_item_title {
    padding-left: 0;
  }

  .contact-section .contactform_mailform_item_title h3 {
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
  }

  .contact-section form#mailformpro .contactform_mailform_item_input label {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
  }

  .contact-section
    .contactform_mailform_item--radio
    .contactform_mailform_item_input {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
  }

  .contact-section form#mailformpro input[type="radio"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }

  .contact-section form#mailformpro input[type="text"],
  .contact-section form#mailformpro input[type="email"],
  .contact-section form#mailformpro input[type="tel"],
  .contact-section form#mailformpro textarea {
    max-width: none;
  }

  .contact-section form#mailformpro textarea {
    height: 262px;
    min-height: 262px;
  }

  .contact-section__privacy {
    width: 100%;
    margin-top: 24px;
  }

  .contact-section .contact-privacy-check {
    font-size: 13px;
  }

  .contact-section .contactform_mailform_submit {
    margin-top: 30px;
  }

  .contact-section .contactform_mailform_submit-btn,
  .contact-section form#mailformpro .contactform_mailform_submit-btn {
    min-width: 0;
    width: 250px;
    max-width: 250px;
    height: 50px;
    font-size: 16px;
    line-height: normal;
  }

  .related {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .related .section-heading__title--related {
    margin-bottom: 40px;
    font-size: 20px;
    line-height: 30px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
  }

  .related-card {
    width: 100%;
    max-width: 326px;
    height: auto;
    min-height: 188px;
  }

  .related-card__head {
    min-height: 56px;
    font-size: 16px;
    line-height: 36px;
  }

  .related-card__body {
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .related-card__icon {
    width: 50px;
    height: 50px;
  }

  .related-card__link {
    font-size: 16px;
    line-height: 25.6px;
  }

  .related-card__link img {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   Motion — FV rise (column-new 準拠)
   ========================================================================== */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-from-ground {
  from {
    transform: translate3d(0, 108%, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.hero-rise {
  display: block;
  overflow: hidden;
}

.js .hero-rise > * {
  transform: translate3d(0, 108%, 0);
  will-change: transform;
}

.js .hero.is-animated .hero-rise > * {
  animation: rise-from-ground 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .hero.is-animated .hero-rise:nth-child(1) > * {
  animation-delay: 0.12s;
}

.js .hero.is-animated .hero-rise:nth-child(2) > * {
  animation-delay: 0.32s;
}

.js .hero.is-animated .hero-rise:nth-child(3) > * {
  animation-delay: 0.55s;
}

.js .hero.is-animated .hero-rise:nth-child(4) > * {
  animation-delay: 0.78s;
}

.js .hero__visual img {
  opacity: 0;
  transform: translateY(24px);
}

.js .hero.is-animated .hero__visual img {
  animation: fade-up 1.2s ease-out 0.5s forwards;
}

/* Scroll reveal */
.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.js-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* related-card は js-reveal の transform よりホバー浮きを優先 */
a.related-card.js-reveal.is-inview:hover,
a.related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(46, 60, 69, 0.14);
  border-color: var(--blue);
  opacity: 1;
}

.js-reveal-fade {
  opacity: 0;
  transform: none;
  transition: opacity 0.55s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal-fade.is-inview {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-rise > *,
  .js .hero.is-animated .hero-rise > * {
    transform: none;
    animation: none;
  }

  .js .hero__visual img,
  .js .hero.is-animated .hero__visual img {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .js-reveal,
  .js-reveal-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
