@charset "utf-8";

:root {
  --cream: #f7f1e7;
  --cream-light: #fffaf3;
  --ink: #2d2926;
  --ink-soft: #655e58;
  --vermilion: #a94335;
  --vermilion-dark: #873227;
  --sage: #c2d0bf;
  --sage-dark: #6d806a;
  --status-green: #4f7d56;
  --lavender: #d9d0e4;
  --line: rgba(45, 41, 38, 0.18);
  --shadow: 0 24px 70px rgba(64, 47, 34, 0.1);
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

body.menu-open {
  overflow: hidden;
}

/* メニュー展開中は、ヘッダーの backdrop-filter が全画面メニュー(.global-nav)の
   position:fixed の基準枠になってしまい表示が崩れるため無効化する。 */
body.menu-open .site-header {
  backdrop-filter: none;
}

a {
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink);
}

[id] {
  scroll-margin-top: 110px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.narrow-shell {
  max-width: 920px;
}

.section-block {
  padding-block: clamp(88px, 10vw, 150px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--vermilion);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: lowercase;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.03em;
}

h2 {
  margin-bottom: 34px;
  font-size: clamp(2rem, 4.3vw, 3.8rem);
  line-height: 1.45;
}

.desktop-only {
  display: inline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(247, 241, 231, 0.92);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), 1320px);
  min-height: 88px;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 121px;
  height: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.84rem;
  font-weight: 600;
}

.global-nav a {
  text-decoration: none;
}

.global-nav a:not(.nav-cta) {
  padding-block: 8px;
  border-bottom: 1px solid transparent;
}

.global-nav a:not(.nav-cta):hover {
  border-color: var(--vermilion);
}

.nav-cta {
  padding: 11px 22px;
  color: #fff;
  border-radius: 999px;
  background: var(--vermilion);
}

.nav-cta:hover {
  background: var(--vermilion-dark);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  min-height: calc(100vh - 88px);
  padding-block: 76px 100px;
}

.hero h1 {
  margin-bottom: 30px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 1.35;
}

.hero-audience {
  margin: 0 0 22px;
  color: var(--vermilion);
  font-family: var(--serif);
  font-size: clamp(0.92rem, 1.45vw, 1.12rem);
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.08em;
}

.hero h1 span {
  color: var(--vermilion);
}

.hero-description {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--ink-soft);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 27px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  color: #fff;
  border-color: var(--vermilion);
  background: var(--vermilion);
}

.button-primary:hover {
  background: var(--vermilion-dark);
}

.button-secondary {
  background: transparent;
}

.button-secondary:hover {
  color: #fff;
  background: var(--ink);
}

.button-line {
  color: var(--ink);
  border-color: var(--sage-dark);
  background: var(--sage);
}

.reception-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.reception-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 0 4px rgba(79, 125, 86, 0.16);
}

.hero-art {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
}

.hero-art svg {
  width: min(100%, 650px);
  overflow: visible;
}

.hero-strip {
  padding-bottom: clamp(44px, 6vw, 78px);
}

.hero-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
}

.hero-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: cover;
}

.worries {
  background: var(--ink);
  color: var(--cream-light);
}

.worries .eyebrow {
  color: #e49a8f;
}

.worry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.worry-grid article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 26px;
  min-height: 160px;
  padding: 35px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.worry-figure {
  display: grid;
  justify-items: center;
  gap: 10px;
  align-content: start;
}

.worry-num {
  color: #e49a8f;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.worry-icon {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.worry-grid p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
}

.promise {
  background: var(--cream-light);
}

.promise-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.one-project-note {
  display: grid;
  gap: 7px;
  margin-top: 38px;
  padding: 25px 28px;
  border-left: 4px solid var(--vermilion);
  background: var(--cream);
}

.one-project-note strong {
  font-family: var(--serif);
  font-size: 1.18rem;
}

.one-project-note span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.promise-link {
  margin-top: 28px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 55px;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 8px 0 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  color: var(--vermilion);
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-grid .service-card {
  padding: 34px 26px;
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-grid .service-card {
    padding: 38px 34px;
  }

  .service-card-featured {
    transform: none;
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 570px;
  padding: 38px 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 243, 0.55);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:not(.service-card-featured):hover {
    transform: translateY(-6px);
    border-color: var(--sage-dark);
    box-shadow: var(--shadow);
  }
}

.service-card:not(.service-card-featured):focus-within {
  transform: translateY(-6px);
  border-color: var(--sage-dark);
  box-shadow: var(--shadow);
}

.service-card-featured {
  color: var(--cream-light);
  border-color: var(--vermilion);
  background: var(--vermilion);
  transform: translateY(-18px);
  box-shadow: var(--shadow);
}

.service-number {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.85rem;
}

.service-card-featured .service-number,
.service-card-featured .service-saving {
  color: var(--cream-light);
}

.service-label {
  position: absolute;
  top: 0;
  right: 28px;
  padding: 7px 13px;
  border-radius: 0 0 12px 12px;
  color: var(--vermilion);
  background: var(--cream-light);
  font-size: 0.68rem;
  font-weight: 700;
}

.service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 20px auto 35px;
  border-radius: 50%;
  background: var(--sage);
}

.service-card-featured .service-icon {
  background: rgba(255, 255, 255, 0.16);
}

.service-icon span,
.service-icon span::before,
.service-icon span::after {
  position: absolute;
  display: block;
  content: "";
  border: 2px solid currentColor;
}

.service-icon-web span {
  width: 57px;
  height: 41px;
  border-radius: 3px;
}

.service-icon-web span::before {
  left: 18px;
  bottom: -11px;
  width: 20px;
  height: 9px;
  border-width: 0 2px 2px;
}

.service-icon-web span::after {
  right: -9px;
  bottom: -10px;
  width: 20px;
  height: 35px;
  border-radius: 3px;
  background: var(--sage);
}

.service-icon-shop span {
  width: 57px;
  height: 48px;
  border-radius: 3px;
}

.service-icon-shop span::before {
  top: -16px;
  left: -6px;
  width: 65px;
  height: 19px;
  border-radius: 18px 18px 2px 2px;
}

.service-icon-shop span::after {
  right: 10px;
  bottom: 0;
  width: 15px;
  height: 25px;
  border-bottom: 0;
}

.service-icon-grow span {
  width: 2px;
  height: 59px;
  border: 0;
  background: currentColor;
  transform: rotate(16deg);
}

.service-icon-grow span::before,
.service-icon-grow span::after {
  width: 26px;
  height: 16px;
  border-radius: 100% 0 100% 0;
  background: transparent;
}

.service-icon-grow span::before {
  top: 6px;
  left: -24px;
}

.service-icon-grow span::after {
  top: 25px;
  left: 0;
  transform: scaleX(-1);
}

.service-card h3 {
  margin-bottom: 18px;
  font-size: 1.75rem;
  line-height: 1.5;
}

.service-card > p:not(.service-number, .service-label, .service-price, .service-saving, .service-note) {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.service-card-featured > p:not(.service-number, .service-label, .service-price, .service-saving, .service-note) {
  color: rgba(255, 255, 255, 0.82);
}

.service-card dl {
  margin: auto 0 14px;
}

.service-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 13px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.service-card dt,
.service-card dd {
  margin: 0;
}

.service-card dd {
  font-weight: 700;
}

.service-price {
  margin: auto 0 4px;
  font-family: var(--serif);
  font-size: 1.7rem;
}

.service-saving {
  margin: 0;
  font-size: 0.76rem;
}

.service-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.7;
}

.service-card-featured .service-note {
  border-top-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.82);
}

.package-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 8px 0 20px;
  padding: 0;
  list-style: none;
}

.package-tags li {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 0.64rem;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.card-link-light {
  border-color: rgba(255, 255, 255, 0.28);
}

.service-estimate-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.55);
}

.service-estimate-cta p {
  margin: 0;
  font-family: var(--serif);
}

.page-intro {
  padding-top: clamp(30px, 6vw, 60px);
  text-align: center;
}

.page-intro .section-shell {
  max-width: 760px;
}

.page-intro h1 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1.45;
}

.page-intro p {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 32px;
  color: var(--ink-soft);
}

.page-intro .button-group {
  justify-content: center;
}

.scope-note {
  margin-top: 34px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.55);
  text-align: center;
}

.scope-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.guide-list {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.guide-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.guide-list li::before {
  position: absolute;
  left: 0;
  color: var(--vermilion);
  font-weight: 700;
  content: "✓";
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 45px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream-light);
}

.catalog-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.catalog-summary {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.catalog-price {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.12rem;
}

.catalog-fit,
.catalog-period {
  margin: 0;
  font-size: 0.84rem;
}

.catalog-tag {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.catalog-includes {
  margin: 0;
}

.catalog-includes ul {
  margin: 10px 0 0;
  padding-left: 1.15em;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.85;
}

.catalog-card .card-link {
  margin-top: auto;
}

.estimate {
  background: var(--cream-light);
}

.estimate-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 45px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 243, 0.55);
}

.estimate-group {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

.estimate-group legend {
  margin-bottom: 14px;
  padding: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.estimate-option {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  cursor: pointer;
}

.estimate-option:last-child {
  padding-bottom: 0;
}

.estimate-option span:last-child {
  color: var(--ink-soft);
  white-space: nowrap;
}

.estimate-result {
  position: sticky;
  top: 120px;
  padding: 26px 24px;
  border-radius: 20px;
  color: var(--cream-light);
  background: var(--ink);
}

.estimate-result p {
  margin: 0 0 6px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.estimate-result strong {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.4;
}

.estimate-result small {
  display: block;
  margin-bottom: 20px;
  font-size: 0.72rem;
  line-height: 1.7;
  opacity: 0.68;
}

.estimate-result .button {
  width: 100%;
  border-color: transparent;
}

.estimate-sub {
  font-family: var(--sans);
  font-size: 0.82rem;
  opacity: 0.82;
}

.estimate-compare {
  margin: 0 0 20px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.estimate-compare .estimate-compare-label {
  margin: 0 0 6px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.estimate-compare .estimate-compare-set {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.02rem;
  opacity: 1;
}

.estimate-compare .estimate-compare-set strong {
  display: inline;
  margin: 0;
  font-size: 1.18rem;
}

.estimate-compare .estimate-compare-note {
  margin: 0 0 10px;
  font-size: 0.76rem;
  line-height: 1.7;
  opacity: 0.82;
}

.estimate-compare a {
  color: var(--cream-light);
}

.works {
  background: var(--cream-light);
}

.works-group-heading {
  max-width: 760px;
  margin-bottom: clamp(42px, 6vw, 70px);
}

.works-group-heading > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.works-group-products {
  margin-top: clamp(80px, 10vw, 130px);
  padding-top: clamp(70px, 9vw, 110px);
  border-top: 1px solid var(--line);
}

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

.product-work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
}

.product-work-image {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cream-light);
}

.product-work-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  transition: transform 300ms ease;
}

.product-work-image:hover img {
  transform: scale(1.02);
}

.product-work-body {
  padding: clamp(26px, 4vw, 38px);
}

.product-work-body h3 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.product-work-card .work-category {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.product-work-body > p:not(.work-category) {
  color: var(--ink-soft);
}

.product-work-facts div {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
}

.product-teaser {
  padding-block: clamp(42px, 6vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.product-teaser-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
}

.product-teaser h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.product-teaser p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.product-teaser-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 10px;
}

.product-teaser-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.product-detail-status {
  color: var(--vermilion) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.product-cover {
  margin: 0;
}

.product-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.product-context-grid,
.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.product-context-grid article,
.product-feature-grid article {
  padding: clamp(25px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream-light);
}

.product-context-grid h3,
.product-feature-grid h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.product-context-grid p,
.product-feature-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.product-principles {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.product-principles li {
  display: grid;
  gap: 7px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.product-principles li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.product-principles strong {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.product-principles span {
  opacity: 0.82;
}

.product-stage {
  text-align: center;
}

.product-stage-date,
.product-demo-note {
  color: var(--ink-soft);
  font-size: 14px;
}

.product-screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.product-screen-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-inline: auto;
}

.product-screen-grid figure {
  margin: 0;
  text-align: center;
}

.product-screen-grid img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
  object-fit: contain;
}

.product-screen-grid figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
}

.product-demo-note {
  margin: 30px auto 0;
  text-align: center;
}

.product-link-panel {
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.55);
  text-align: center;
}

.product-link-panel .button-group {
  justify-content: center;
}

.featured-work {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
}

.work-image {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream-light);
  box-shadow: var(--shadow);
}

.work-image::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(45, 41, 38, 0.06);
  content: "";
  pointer-events: none;
}

.work-image img {
  display: block;
  width: 100%;
  /* height属性（presentational hint）が aspect-ratio を上書きしないようにする */
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  transition: transform 300ms ease;
}

.work-image:hover img {
  transform: scale(1.02);
}

.work-category {
  color: var(--vermilion);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.work-copy h3 {
  margin-bottom: 24px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.55;
}

.work-copy > p:not(.work-category) {
  color: var(--ink-soft);
}

.work-facts {
  margin: 28px 0;
}

.work-facts div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}

.work-facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.work-facts dt,
.work-facts dd {
  margin: 0;
}

.work-facts dt {
  color: var(--vermilion);
  font-size: 0.76rem;
  font-weight: 700;
}

.work-facts dd {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.work-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
}

.work-gallery figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  text-align: center;
}

.work-more {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.work-more summary {
  position: relative;
  padding: 20px 0 20px 28px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.05rem;
  list-style: none;
}

.work-more summary::-webkit-details-marker {
  display: none;
}

.work-more summary::before {
  position: absolute;
  left: 2px;
  color: var(--vermilion);
  font-size: 1.3rem;
  line-height: 1.4;
  content: "+";
}

.work-more[open] summary::before {
  content: "−";
}

.work-gallery-more {
  grid-template-columns: repeat(2, 1fr);
  max-width: 620px;
  margin-top: 8px;
}

.work-gallery-more img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: var(--cream);
  object-fit: contain;
}

.case-mobile {
  max-width: 300px;
  margin: 40px auto 0;
}

.case-mobile img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.case-mobile figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  text-align: center;
}

.featured-work + .featured-work {
  margin-top: clamp(60px, 8vw, 110px);
  padding-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--line);
}

.process {
  background: var(--lavender);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 55px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 180px;
  padding: 24px 20px;
  border-top: 1px solid var(--ink);
}

.process-list li::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--vermilion);
  content: "";
}

.process-list span {
  color: var(--vermilion);
  font-family: var(--serif);
}

.process-list strong {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 1.03rem;
}

.process-list small {
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.6;
}

.about {
  background: var(--cream-light);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
}

.profile-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 49% 49% 24px 24px;
  background: var(--sage);
  object-fit: cover;
  object-position: 50% 46%;
}

.about-copy > p:not(.eyebrow, .profile-meta, .profile-likes) {
  color: var(--ink-soft);
}

.about-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 35px 0 30px;
  padding: 0;
  list-style: none;
}

.about-service-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream-light);
  font-family: var(--serif);
}

.profile-name {
  display: grid;
  gap: 4px;
  margin: 35px 0 12px;
}

.profile-name strong {
  font-family: var(--serif);
  font-size: 1.5rem;
}

.profile-name span,
.profile-meta,
.profile-likes {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.profile-likes {
  margin-bottom: 30px;
}

.pricing-summary {
  text-align: center;
}

.pricing-intro {
  max-width: 680px;
  margin: 0 auto 45px;
  color: var(--ink-soft);
}

.price-list {
  margin-bottom: 35px;
  text-align: left;
}

.price-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 25px;
  padding: 23px 25px;
  border-top: 1px solid var(--line);
}

.price-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.price-list .recommended {
  color: #fff;
  border: 0;
  border-radius: 15px;
  background: var(--vermilion);
}

.price-list strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.price-list span {
  display: grid;
  gap: 3px;
}

.price-list span small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.price-list .recommended span small {
  color: rgba(255, 255, 255, 0.8);
}

.faq {
  background: var(--sage);
}

.faq-list {
  margin: 45px 0 30px;
  border-top: 1px solid rgba(45, 41, 38, 0.32);
}

.faq details {
  border-bottom: 1px solid rgba(45, 41, 38, 0.32);
}

.faq summary {
  position: relative;
  padding: 27px 60px 27px 48px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.05rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  position: absolute;
  left: 7px;
  color: var(--vermilion);
  content: "Q";
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 16px;
  font-size: 1.4rem;
  content: "+";
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 48px 28px;
  color: var(--ink);
}

.contact {
  color: var(--cream-light);
  background: var(--ink);
}

.contact .eyebrow {
  color: #e49a8f;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: clamp(50px, 10vw, 140px);
}

.contact-layout > div:first-child > p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions .button {
  width: 100%;
  border-color: transparent;
}

.contact-actions .contact-secondary {
  color: var(--cream-light);
  border-color: rgba(255, 255, 255, 0.46);
}

.contact-actions .contact-secondary:hover {
  color: var(--ink);
  background: var(--cream-light);
}

.contact-status {
  margin-bottom: 8px;
  font-family: var(--serif);
}

.contact-actions small {
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.consultation-steps {
  display: grid;
  gap: 5px;
  margin: 0 0 12px;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  list-style: none;
}

.consultation-steps li::before {
  margin-right: 8px;
  color: #e49a8f;
  content: "✓";
}

.consultation-flow {
  display: grid;
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.consultation-flow li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(45, 41, 38, 0.22);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.42);
}

.consultation-flow span {
  color: var(--vermilion);
  font-family: var(--serif);
}

.consultation-flow strong {
  font-family: var(--serif);
  font-size: 1.08rem;
}

.consultation-flow p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.form-notice {
  padding: 16px 18px;
  border-left: 4px solid var(--vermilion);
  background: var(--cream-light);
  color: var(--ink-soft);
  font-size: 0.84rem;
}

/* 送信の結果。data-tone は assets/main.js が付ける（idle / success / error）。 */
.form-notice[data-tone="success"] {
  border-left-color: var(--status-green);
  color: var(--ink);
}

.form-notice[data-tone="error"] {
  border-left-color: var(--vermilion-dark);
  color: var(--ink);
}

.form-notice:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
}

.contact-form[hidden], .form-notice[hidden] { display: none; }

.form-completion {
  width: min(100% - 32px, 1080px);
  min-height: 65vh;
  margin: 48px auto;
  padding: clamp(32px, 7vw, 88px);
  border: 2px solid #cf762c;
  border-radius: 20px;
  background: #fff7eb;
  text-align: center;
  scroll-margin-top: 110px;
}
.form-completion h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.5; }
.form-completion p { margin: 28px 0; font-size: clamp(16px, 2vw, 20px); line-height: 1.9; white-space: pre-line; }
.form-completion:focus-visible { outline: 3px solid #cf762c; outline-offset: 5px; }

.contact-form {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.contact-form label > span,
.contact-form label > small {
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
}

.contact-form label > span {
  color: var(--cream-light);
  background: var(--vermilion);
}

.contact-form label > small {
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  flex-basis: 100%;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(45, 41, 38, 0.34);
  border-radius: 10px;
  color: var(--ink);
  background: var(--cream-light);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
}

.contact-form .button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.contact-consent {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 400;
}

.contact-consent input[type="checkbox"] {
  flex-basis: auto;
  width: auto;
  margin-top: 5px;
  padding: 0;
  border: 0;
}

.contact-form .contact-consent > span {
  padding: 0;
  border-radius: 0;
  color: inherit;
  background: none;
  font-size: inherit;
  font-weight: inherit;
}

.contact-topics {
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-topics legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0;
  font-weight: 700;
}

.contact-topics legend small {
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
}

.topic-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-topics .topic-options label {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid rgba(45, 41, 38, 0.34);
  border-radius: 999px;
  background: var(--cream-light);
  font-size: 0.84rem;
  font-weight: 400;
  cursor: pointer;
}

.contact-topics .topic-options input[type="checkbox"] {
  flex-basis: auto;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-topics .topic-options label:has(input:checked) {
  border-color: var(--vermilion);
  background: rgba(169, 67, 53, 0.08);
}

/* スパム対策のハニーポット。視覚・支援技術からは隠しつつ、送信自体は行われるようにする。 */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

.text-link-inline {
  color: var(--vermilion);
  font-weight: 700;
  text-underline-offset: 3px;
}

.privacy-body h2 {
  margin-top: 52px;
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.5;
}

.privacy-body h2:first-of-type {
  margin-top: 0;
}

.privacy-body ul {
  margin: 0 0 12px;
  padding-left: 1.25em;
  color: var(--ink-soft);
  line-height: 1.9;
}

.privacy-meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.privacy-meta div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding-block: 6px;
}

.privacy-meta dt {
  font-weight: 700;
}

.privacy-meta dd {
  margin: 0;
}

.site-footer {
  padding-block: 65px 95px;
  background: var(--cream);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
}

.footer-brand {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.footer-inner > div > p:last-child {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.footer-inner nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 28px;
  font-size: 0.76rem;
}

.footer-inner nav a {
  min-height: 36px;
  padding-block: 7px;
  text-decoration: none;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.mobile-actions {
  display: none;
}

body[data-reception-status="paused"] [data-consultation-action] {
  opacity: 0.5;
}

body[data-reception-status="paused"] .reception-dot {
  background: var(--ink-soft);
  box-shadow: none;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle-label {
    font-size: 0.6rem;
  }

  .menu-toggle-lines,
  .menu-toggle-lines::before,
  .menu-toggle-lines::after {
    display: block;
    width: 29px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .menu-toggle-lines::before {
    transform: translateY(-7px);
  }

  .menu-toggle-lines::after {
    transform: translateY(6px);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
    transform: translateY(-1px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: none;
    align-content: center;
    justify-items: center;
    gap: 22px;
    padding: 90px 24px;
    background: var(--cream);
    font-family: var(--serif);
    font-size: 1.25rem;
  }

  .global-nav.is-open {
    display: grid;
  }

  .nav-cta {
    margin-top: 15px;
    font-family: var(--sans);
    font-size: 0.9rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 60px;
  }

  .hero-art {
    min-height: 540px;
    margin-top: -15px;
  }

  .featured-work,
  .about-layout,
  .contact-layout,
  .estimate-tool,
  .work-gallery {
    grid-template-columns: 1fr;
  }

  .estimate-result {
    position: static;
  }

  .promise-copy {
    max-width: 720px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin-inline: auto;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card-featured {
    transform: none;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-photo {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .product-teaser-inner {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 680px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
    font-size: 15px;
    line-height: 1.85;
  }

  .section-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .section-block {
    padding-block: 78px;
  }

  .brand-logo {
    width: 97px;
  }

  .hero {
    padding-top: 45px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-description br {
    display: none;
  }

  .button-group {
    display: grid;
  }

  .button-group .button {
    width: 100%;
  }

  .hero-art {
    min-height: 310px;
    margin-top: 15px;
  }

  .hero-strip ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .worry-grid {
    grid-template-columns: 1fr;
  }

  .worry-grid article {
    min-height: 130px;
    padding: 27px 23px;
  }

  .service-estimate-cta {
    display: grid;
    padding: 24px 20px;
    text-align: center;
  }

  .service-estimate-cta .button {
    width: 100%;
  }

  .section-heading-row {
    display: grid;
    align-items: start;
  }

  .service-card {
    padding: 32px 25px;
  }

  .service-icon {
    width: 105px;
    height: 105px;
  }

  .featured-work {
    gap: 38px;
  }

  .product-work-grid,
  .product-context-grid,
  .product-feature-grid,
  .product-screen-grid,
  .product-screen-grid-compact {
    grid-template-columns: 1fr;
  }

  .product-screen-grid,
  .product-screen-grid-compact {
    max-width: 360px;
    margin-inline: auto;
  }

  .product-teaser-links {
    grid-template-columns: 1fr;
  }

  .product-work-body > p:not(.work-category),
  .product-context-grid p,
  .product-feature-grid p,
  .product-principles span,
  .product-stage p:not(.product-stage-date),
  .product-link-panel > p,
  .product-teaser-inner > div > p:last-child {
    font-size: 16px;
  }

  .work-facts div {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .process-list {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .process-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    min-height: 0;
    padding: 0 0 34px 28px;
    border-top: 0;
    border-left: 1px solid rgba(45, 41, 38, 0.48);
  }

  .process-list li:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
  }

  .process-list li::before {
    top: 8px;
    left: -5px;
  }

  .process-list span {
    grid-row: 1 / 3;
    align-self: start;
    font-size: 0.9rem;
  }

  .process-list strong {
    margin-top: 0;
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .process-list small {
    font-size: 0.78rem;
  }

  .about-layout {
    gap: 50px;
  }

  .about-service-list {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .button {
    width: 100%;
  }

  .price-list div {
    display: grid;
    gap: 4px;
  }

  .faq summary {
    padding-right: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner nav {
    grid-template-columns: 1fr;
  }

  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -7px 24px rgba(45, 41, 38, 0.16);
  }

  .mobile-actions a {
    display: grid;
    place-items: center;
    min-height: 66px;
    color: #fff;
    background: var(--vermilion);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-actions a:last-child {
    color: var(--ink);
    background: var(--sage);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Heroの装飾を一度だけ、そっと立ち上げる（ブランド：初回の小さな羽ばたき／枝葉の出現）。
     動きは装飾SVGのみに限定し、本文テキストは常に表示したまま保つ。 */
  .hero-mark-leaves {
    transform-box: fill-box;
    transform-origin: center;
    animation: pop-in 620ms ease 150ms both;
  }

  .hero-mark-bird {
    transform-box: fill-box;
    transform-origin: center;
    animation: bird-settle 1200ms ease 500ms both;
  }

  @keyframes pop-in {
    from { opacity: 0; transform: scale(0.4); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes bird-settle {
    0% { opacity: 0; transform: translateY(10px) rotate(-3deg); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translateY(0) rotate(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 見つかり方の観測・かんたん見積もり（2026-09-09 追加） */
.estimate-option select {
  padding: 8px 10px;
  border: 1px solid rgba(45, 41, 38, 0.34);
  border-radius: 8px;
  color: var(--ink);
  background: var(--cream-light);
  font: inherit;
  font-size: 0.86rem;
}

.estimate-included {
  margin: -8px 0 26px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: rgba(194, 208, 191, 0.22);
}

.catalog-card .catalog-fit + .catalog-fit {
  margin-top: 6px;
}

[data-mitsukari-action][aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* 見つかり方の観測のサンプル（/mitsukari/） */
.sample-figure {
  margin: 28px 0 0;
}

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

.sample-grid a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(45, 41, 38, 0.08);
}

.sample-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.sample-figure figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

@media (max-width: 680px) {
  .sample-grid {
    grid-template-columns: 1fr;
  }
}

/* トップのサービス4枚: タブレット幅は2列（既存の1列ルールより後に置いて優先させる） */
@media (min-width: 700px) and (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    margin-inline: 0;
  }
}

/* 価格の総額・支払い方法・継続条件を分けて読むための表示 */
.price-breakdown {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}
.price-breakdown .catalog-price strong { display: block; margin-top: 8px; font-size: 2rem; }
.price-breakdown > p:not(.catalog-price) { margin: 8px 0 16px; font-size: .9rem; }
.price-breakdown dl { margin: 0; font-size: .86rem; }
.price-breakdown dl > div { padding: 10px 0; border-top: 1px solid var(--line); }
.price-breakdown dt { font-weight: 700; }
.price-breakdown dd { margin: 4px 0 0; }
.price-context { margin: 0; padding: 14px 16px; border-left: 3px solid var(--ink-soft); background: var(--cream); font-size: .86rem; }
.catalog-next { padding-top: 14px; border-top: 1px solid var(--line); }
.catalog-grid-single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

.catalog-subtitle { display: block; margin-top: 6px; font-family: var(--sans); font-size: .85rem; font-weight: 400; }
.catalog-card h3 { text-wrap: balance; overflow-wrap: anywhere; }

/* Purpose chooser: existing warm brand palette, clear selection, no additional decoration. */
.service-picker { padding-top: 32px; }
.service-picker h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.picker-intro { color: var(--ink-soft); }
.service-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 28px 0 0; }
.service-tabs a { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font-size: .92rem; font-weight: 700; color: var(--ink); background: var(--cream-light); text-decoration: none; }
.service-tabs a[aria-selected="true"] { background: var(--ink); color: var(--cream-light); border-color: var(--ink); }
.service-tabs a:focus-visible, .service-panel:focus-visible { outline: 3px solid var(--vermilion); outline-offset: 4px; }
.service-panel[hidden] { display: none; }
.service-panel { padding-top: 24px; scroll-margin-top: 110px; }
.purpose-intro { margin: 0 0 20px; font-size: 1rem; }
.purpose-cards { display: grid; gap: 20px; }
.purpose-cards > .catalog-card { max-width: 880px; width: 100%; }
.purpose-cards .catalog-card { gap: 18px; }
.purpose-cards .catalog-card h3 { font-size: 1.7rem; }
.purpose-cards .catalog-card .card-link { align-self: flex-start; margin-top: 8px; padding: 13px 22px; background: var(--vermilion); color: var(--cream-light); border-radius: 8px; }
.purpose-cards .catalog-summary { max-width: 48em; }
.purpose-cards .price-breakdown dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.purpose-cards .price-breakdown dl > div:last-child { grid-column: 1 / -1; }
.purpose-cards .catalog-includes ul { columns: 2; column-gap: 32px; }
.purpose-cards .catalog-includes li { break-inside: avoid; }
.picker-shortcuts { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .9rem; }
.service-extras { padding-top: 0; padding-bottom: 24px; }
.service-disclosure { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; scroll-margin-top: 110px; }
.service-disclosure > summary { cursor: pointer; font-size: 1.1rem; font-weight: 700; min-height: 44px; padding: 8px 0; }
.selected-service { padding: 18px 22px; border-left: 3px solid var(--vermilion); background: var(--cream-light); }
.selected-service[hidden] { display: none; }
.contact-topic-details summary { cursor: pointer; padding: 12px 0; }
@media (max-width: 640px) {
  .service-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-tabs a { min-height: 64px; font-size: .82rem; }
  .purpose-cards .catalog-card { padding: 24px 20px; }
  .purpose-cards .catalog-includes ul { columns: 1; }
  .purpose-cards .price-breakdown dl { display: block; }
  .purpose-cards .catalog-card .card-link { align-self: stretch; justify-content: center; }
}
.services-page .page-intro { padding-bottom: 32px; }
.services-page .page-intro .button-group { display: none; }
.monthly-price strong > span { font-family: var(--sans); font-size: .85rem; font-weight: 400; white-space: nowrap; }
.price-breakdown > .monthly-tax { margin: 4px 0 16px; font-size: .95rem; }
.services-page .page-intro { padding-top: 28px; padding-bottom: 16px; }
.services-page .page-intro p { margin-bottom: 16px; }
.services-page .service-picker { padding-top: 16px; }
.services-page .service-picker > .section-shell > .eyebrow { display: none; }
.services-page .service-picker > .section-shell { max-width: 1000px; }
.services-page .purpose-cards > .catalog-card { max-width: none; }

.package-pricing h4, .package-payment h4 { margin: 0 0 16px; font-size: 1.1rem; }
.package-price-list { margin: 0; }
.package-price-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: start; font-size: .92rem; }
.package-price-list dt small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: .8rem; }
.package-price-list dd { margin: 0; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.package-subtotal { font-weight: 700; }
.package-pricing .package-total { margin: 24px 0 16px; }
.package-total strong, .purpose-cards .price-breakdown .catalog-price strong { display: block; margin-top: 8px; font-size: 2rem; }
.purpose-cards .catalog-price strong > span { font-size: .85rem; font-weight: 400; font-family: var(--sans); white-space: nowrap; }
.free-observation-label { margin: 0; color: var(--vermilion-dark); font-size: .95rem; font-weight: 700; }
#svc-observe { border: 2px solid var(--sage-dark); }
.service-tabs a { flex-direction: column; }
.tab-note { display: block; font-size: .7rem; font-weight: 400; margin-top: 3px; }
@media (max-width: 640px) {
  .package-price-list > div { gap: 10px; font-size: .82rem; }
}

.package-item-details { margin-top: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.package-item-details h4 { margin: 0 0 12px; font-size: 1.1rem; }

.package-price-heading { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 18px; }
.package-price-heading .package-total { margin: 0; }
.package-saving-badge { padding: 5px 12px; margin-bottom: 6px; border-radius: 999px; color: var(--vermilion-dark); background: var(--cream); border: 1px solid var(--vermilion-dark); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.package-price-list .package-discount { color: var(--vermilion-dark); font-weight: 700; border-bottom: 2px solid var(--vermilion-dark); }
.package-price-list .package-discount dd { font-size: 1.25rem; }
@media (max-width: 640px) {
  .package-price-heading { gap: 8px; }
  .package-saving-badge { padding: 4px 7px; font-size: .72rem; }
}
@media (max-width: 400px) {
  .package-price-heading { gap: 4px; }
  .package-saving-badge { padding: 4px; font-size: .65rem; }
}

#purpose-renewal .renewal-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#purpose-renewal .catalog-includes ul { columns: 1; }
#purpose-renewal .catalog-card .card-link { margin-top: auto; }
#purpose-renewal .price-breakdown { padding: 16px; }
#purpose-renewal .catalog-card h3 { font-size: 1.4rem; }
@media (max-width: 800px) {
  #purpose-renewal .renewal-options { grid-template-columns: minmax(0, 1fr); }
}

/* Clear package upfront cost and free observation entry. */
.opening-extra-price { margin: 8px 0 12px; font-size: 1.25rem; font-weight: 700; color: var(--vermilion-dark); }
.opening-extra-price small { display: block; font-size: .8rem; font-weight: 400; }
.product-teaser-links { grid-template-columns: minmax(0, 1fr); }
.product-teaser-links .free-check-button { background: var(--vermilion-dark); color: #fff; border-color: var(--vermilion-dark); gap: 12px; }
.product-teaser-links .free-check-button:hover { background: var(--vermilion); }
.product-teaser-links .free-check-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.worry-grid article:last-child:nth-child(odd) { grid-column: 1 / -1; }

.service-card dl .renewal-offer { display: block; padding: 14px 16px; margin: 8px 0; border: 1px solid var(--vermilion-dark); border-radius: 10px; background: #f8e9e2; }
.service-card dl .renewal-offer dt { color: var(--vermilion-dark); font-size: 1.05rem; font-weight: 700; }
.service-card dl .renewal-offer dd { margin: 8px 0 0; font-size: .8rem; line-height: 1.8; font-weight: 400; text-align: left; }
