/*
Theme Name: kleinod
Description: kleinod のコーポレートサイト用オリジナルテーマ。静的HTML(kleinodHPsimple)を忠実にPHP化したもの。
Author: kleinod
Version: 1.0.0
Text Domain: kleinod-simple
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

:focus {
  /* remember to define focus styles! */
  outline: 0;
}

body {
  background: #fdfbef;
  color: #1a1311;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.7;
  position: relative;
  /*padding-right: calc(100vw - 100%);*/
}
body.menu-open {
  pointer-events: none;
}
body.menu-open > *:not(.menu-overlay):not(header) {
  pointer-events: none;
}
body.menu-open .menu-overlay,
body.menu-open header {
  pointer-events: auto;
}

ol,
ul {
  list-style: none;
}

table {
  /* tables still need 'cellspacing="0"' in the markup */
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

blockquote,
q {
  quotes: "" "";
}

a img {
  border: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

hr {
  display: none;
}

main {
  position: relative;
  overflow: hidden;
}

figure {
  width: 100%;
}
figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-device-width: 560px) and (orientation: portrait),
  (min-device-width: 561px) and (max-device-width: 900px) and (max-width: 730px),
  (min-device-width: 901px) and (max-width: 730px) {
  .inr0 {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto;
  }
}
@media (max-device-width: 560px) and (orientation: landscape),
  (min-device-width: 561px) and (max-device-width: 900px) and (min-width: 731px),
  (min-device-width: 901px) and (min-width: 731px) {
  .inr0 {
    max-width: 1260px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto;
  }
}

@media (max-device-width: 560px) and (orientation: portrait),
  (min-device-width: 561px) and (max-device-width: 900px) and (max-width: 730px),
  (min-device-width: 901px) and (max-width: 730px) {
  .inr {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto;
  }
}
@media (max-device-width: 560px) and (orientation: landscape),
  (min-device-width: 561px) and (max-device-width: 900px) and (min-width: 731px),
  (min-device-width: 901px) and (min-width: 731px) {
  .inr {
    max-width: 1419px;
    padding-left: 80px;
    padding-right: 80px;
    margin: 0 auto;
  }
}

@media (max-device-width: 560px) and (orientation: portrait),
  (min-device-width: 561px) and (max-device-width: 900px) and (max-width: 730px),
  (min-device-width: 901px) and (max-width: 730px) {
  .inr1 {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto;
  }
}
@media (max-device-width: 560px) and (orientation: landscape),
  (min-device-width: 561px) and (max-device-width: 900px) and (min-width: 731px),
  (min-device-width: 901px) and (min-width: 731px) {
  .inr1 {
    max-width: 1100px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto;
  }
}

@media (max-device-width: 560px) and (orientation: portrait),
  (min-device-width: 561px) and (max-device-width: 900px) and (max-width: 730px),
  (min-device-width: 901px) and (max-width: 730px) {
  .inr2 {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto;
  }
}
@media (max-device-width: 560px) and (orientation: landscape),
  (min-device-width: 561px) and (max-device-width: 900px) and (min-width: 731px),
  (min-device-width: 901px) and (min-width: 731px) {
  .inr2 {
    max-width: 990px;
    padding-left: 80px;
    padding-right: 80px;
    margin: 0 auto;
  }
}

@media (max-device-width: 560px) and (orientation: portrait),
  (min-device-width: 561px) and (max-device-width: 900px) and (max-width: 730px),
  (min-device-width: 901px) and (max-width: 730px) {
  .inr3 {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto;
  }
}
@media (max-device-width: 560px) and (orientation: landscape),
  (min-device-width: 561px) and (max-device-width: 900px) and (min-width: 731px),
  (min-device-width: 901px) and (min-width: 731px) {
  .inr3 {
    max-width: 580px;
    padding-left: 40px;
    padding-right: 40px;
    margin: 0 auto;
  }
}

@media (max-device-width: 560px) and (orientation: portrait),
  (min-device-width: 561px) and (max-device-width: 900px) and (max-width: 730px),
  (min-device-width: 901px) and (max-width: 730px) {
  .m-noinr {
    margin-left: -15px !important;
    margin-right: -15px !important;
    max-width: none !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}

main section p {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}

strong {
  font-weight: 700 !important;
}
strong small {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}

a {
  color: inherit;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

img {
  border-style: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.only-img {
  font-size: 0px;
  line-height: 0px;
}

address {
  font-style: normal;
}

nav {
  display: block;
}

small {
  font-size: 80%;
}

.cf:after {
  display: block;
  clear: both;
  content: "";
}

.css-att {
  display: none;
}

html:root {
  margin-top: 0 !important;
}

#wpadminbar {
  display: none;
}

/* ⤴︎リセットcss */

:root {
  --ink: #12222c;
  --accent: #1ba3d1;
  --accent-soft: #6bcbe8;
  --navy: #0d283350;
  --navy-solid: #0d2833;
  --gray-700: #47585f;
  --gray-500: #7c8c92;
  --gray-200: #e2edf1;
  --gray-100: #f2f8fa;
  --white: #ffffff;
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.9s ease;
}
body.bg-faq {
  background-color: #86a9c8;
}
@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
  }
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header (floating pill, fixed over hero) ===== */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 20px 0;
  pointer-events: none;
  transition: padding-top 0.2s ease;
}
.site-header.is-scrolled {
  padding-top: 14px;
}
.header-pill {
  pointer-events: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 30px;
  border-radius: 999px;
  transition:
    background 0.1s ease,
    border-color 0.1s ease,
    box-shadow 0.1s ease,
    backdrop-filter 0.1s ease,
    padding 0.2s ease;
}
.site-header.is-scrolled .header-pill {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.6);
  padding-left: 40px;
  padding-right: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo__mark {
  height: 35px;
  width: auto;
  display: block;
  transition: height 0.4s ease;
}
.logo__word {
  height: 19px;
  width: auto;
  display: block;
  transition: height 0.4s ease;
}
.logo__tagline {
  display: none;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gray-500);
  padding-left: 8px;
  border-left: 1px solid var(--gray-200);
  white-space: nowrap;
  transition: font-size 0.4s ease;
}
.site-header.is-scrolled .logo__mark {
  height: 33px;
}
.site-header.is-scrolled .logo__word {
  height: 17px;
}
.site-header.is-scrolled .logo__tagline {
  font-size: 8px;
}
@media (min-width: 900px) {
  .logo__tagline {
    display: inline-block;
  }
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}
.primary-nav a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 100;
  color: var(--gray-700);
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 999px;
  transition:
    background 0.4s,
    color 0.4s,
    font-size 0.4s ease;
}
.site-header.is-scrolled .primary-nav a {
  font-size: 15px;
}
.primary-nav a:hover {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}
.primary-nav svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.primary-nav .nav-chevron {
  color: var(--gray-500);
  opacity: 0.8;
}
.primary-nav .nav-arrow {
  color: var(--accent);
}

.menu-button {
  display: none;
  position: relative;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-button__line {
  position: absolute;
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transition: background 0.4s;
}
.menu-button__line::before,
.menu-button__line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transition:
    transform 0.25s ease,
    top 0.25s ease;
}
.menu-button__line::before {
  top: -9px;
}
.menu-button__line::after {
  top: 9px;
}
.menu-button.is-opened .menu-button__line {
  background: transparent;
}
.menu-button.is-opened .menu-button__line::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-button.is-opened .menu-button__line::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu-overlay {
  display: none;
}
@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }
  .menu-button {
    display: block;
    position: relative;
    z-index: 210;
  }
  .mobile-menu-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 90;
    background: var(--white);
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.7s ease,
      visibility 0.7s;
  }
  .mobile-menu-overlay ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
  }
  .mobile-menu-overlay a {
    display: block;
    padding: 14px 18px;
    font-size: 20px;
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    color: var(--gray-700);
    border-radius: 12px;
  }
  .mobile-menu-overlay a:hover {
    background: var(--gray-100);
  }
  body:has(.menu-button.is-opened) .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .menu-button__line,
  .menu-button__line::before,
  .menu-button__line::after {
    background: #000;
  }
  .menu-button.is-opened .menu-button__line {
    background: transparent;
  }
  header.site-header {
    padding-top: 38px;
  }
  .header-pill {
    padding-left: 10px;
    padding-right: 10px;
  }
  .logo__mark,
  .logo__word {
    transition: height 0.7s ease;
  }
  .logo__mark {
    height: 40px;
  }
  .logo__word {
    height: 22px;
  }
  .logo__tagline {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    padding-left: 0;
    border-left: none;
    transition:
      max-width 0.7s ease,
      opacity 0.7s ease,
      padding-left 0.7s ease;
  }
  .header-pill:has(.menu-button.is-opened) .logo__mark {
    height: 24px;
  }
  .header-pill:has(.menu-button.is-opened) .logo__word {
    height: 13px;
  }
  .header-pill:has(.menu-button.is-opened) .logo__tagline {
    max-width: 220px;
    opacity: 1;
    padding-left: 8px;
    border-left: 1px solid var(--gray-200);
  }
  .site-header.is-scrolled {
    padding-top: 22px;
  }
  .site-header.is-scrolled .header-pill {
    padding-left: 11px;
    padding-right: 11px;
  }
}

body:has(.menu-button.is-opened) {
  overflow: hidden;
}
body:has(.menu-button.is-opened) main,
body:has(.menu-button.is-opened) footer.site-footer {
  filter: blur(6px) brightness(0.6);
  transition: filter 0.25s ease;
  pointer-events: none;
}
main,
footer.site-footer {
  transition: filter 0.25s ease;
}

/* ===== Hero (full-bleed video) ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #000;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.73);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 20px 40px;
}
.hero-spacer {
  height: 92px;
  flex-shrink: 0;
}
.hero-row {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  padding-top: 8px;
}

@media (min-width: 900px) {
  .hero-content {
    padding: 0 48px 56px;
  }
  .hero-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
}

.scroll-indicator {
  --scroll-indicator-duration: 4s;
  position: absolute;
  right: 5px;
  height: 230px;
  top: calc(100svh - 180px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--navy-solid);
}
.scroll-indicator__text {
  flex-shrink: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  animation: scroll-indicator-text var(--scroll-indicator-duration) ease-in-out infinite;
}
.scroll-indicator__line {
  width: 1px;
  flex: 1;
  background: currentColor;
  animation: scroll-indicator-line var(--scroll-indicator-duration) ease-in-out infinite;
}
@keyframes scroll-indicator-line {
  0% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  11% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
  14% {
    transform: scaleY(0);
    transform-origin: top;
  }
  25%,
  100% {
    transform: scaleY(1);
    transform-origin: top;
  }
}
@keyframes scroll-indicator-text {
  0% {
    opacity: 1;
  }
  11% {
    opacity: 0;
  }
  25%,
  100% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator__line,
  .scroll-indicator__text {
    animation: none;
  }
}
@media (min-width: 900px) {
  .scroll-indicator {
    right: 48px;
  }
}
@media (max-width: 760px) {
  .scroll-indicator {
    right: 16px;
  }
}

/* ===== Section basics ===== */
.section {
  padding: 110px 0;
}
.section.tight {
  padding: 90px 0;
}
.section.alt {
  background: var(--gray-100);
}
.about-section {
  position: relative;
  overflow: hidden;
}
/* Scroll reveal: heading, copy and logo each fade in on their own staggered */
/* delay off the same trigger; the CTA button (.about-reveal-late) waits for */
/* a second, later scroll trigger (.is-pending-late) instead. */
.about-heading,
.about-copy,
.about-logo,
.about-cta {
  transition:
    filter 0.7s ease-out,
    opacity 0.7s ease-out;
}
.about-copy {
  transition-delay: 0.15s;
}
.about-copy--mobile {
  display: none;
}
.about-logo {
  transition-delay: 0.3s;
}
.about-section.is-pending .about-heading,
.about-section.is-pending .about-copy,
.about-section.is-pending .about-logo {
  filter: blur(10px);
  opacity: 0;
}
.about-section.is-pending-late .about-cta {
  filter: blur(10px);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .about-heading,
  .about-copy,
  .about-logo,
  .about-cta {
    transition: none;
  }
  .about-section.is-pending .about-heading,
  .about-section.is-pending .about-copy,
  .about-section.is-pending .about-logo,
  .about-section.is-pending-late .about-cta {
    filter: none;
    opacity: 1;
  }
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.section-sub {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 14px;
}
/* Flow section: "Flow" takes the big serif heading treatment (matching */
/* "Our Mind"), and "制作の流れ" becomes a small label displayed below it. */
#flow .eyebrow {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}
#flow .section-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}
/* Scroll reveal for the Flow heading, same feel as the About section: */
/* blur + fade in, with the smaller label following on a short delay. */
#flow .eyebrow,
#flow .section-title {
  transition:
    filter 0.7s ease-out,
    opacity 0.7s ease-out;
}
#flow .section-title {
  transition-delay: 0.15s;
}
#flow.is-pending .eyebrow,
#flow.is-pending .section-title {
  filter: blur(10px);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  #flow .eyebrow,
  #flow .section-title {
    transition: none;
  }
  #flow.is-pending .eyebrow,
  #flow.is-pending .section-title {
    filter: none;
    opacity: 1;
  }
}
.section-head.center {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

/* ===== About ===== */
.about-section .wrap {
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  align-items: stretch;
  column-gap: 24px;
}
.about-content {
  position: relative;
  z-index: 1;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  max-width: 620px;
}
.about-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 32px;
}
.about-copy p {
  color: var(--gray-700);
  font-size: clamp(15px, 0.9vw + 6px, 18px);
  margin-bottom: 18px;
}
.about-copy p:last-child {
  margin-bottom: 0;
}
.about-copy strong {
  color: var(--ink);
}
.about-side {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 80px;
}
.about-logo {
  width: 250px;
  height: auto;
}
.about-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 14px 50px;
  border: 1.5px solid var(--navy-solid);
  border-radius: 999px;
  color: var(--navy-solid);
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s,
    filter 0.7s ease-out,
    opacity 0.7s ease-out;
}
.about-cta:hover {
  background: var(--navy-solid);
  color: #fff;
}
@media (max-width: 760px) {
  .about-section .wrap {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
  }
  .about-content,
  .about-side {
    display: contents;
  }
  .about-logo {
    order: -1;
    align-self: center;
    width: 150px;
    transition-delay: 0s;
  }
  .about-heading {
    order: 0;
    transition-delay: 0.15s;
    margin-bottom: 8px;
  }
  .about-copy {
    order: 1;
    transition-delay: 0.3s;
  }
  .about-copy--desktop {
    display: none;
  }
  .about-copy--mobile {
    display: block;
  }
  .about-copy--mobile p {
    margin-bottom: 4px;
  }
  .about-cta {
    order: 2;
    align-self: center;
  }
}

/* ===== Works marquee ===== */
.works-marquee {
  padding: 60px 0 80px;
  width: 100%;
}
.marquee-viewport {
  width: 100%;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 80px;
  animation: marquee-rtl 65s linear infinite;
}
.marquee-item {
  height: 200px;
  width: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  flex-shrink: 0;
}
@keyframes marquee-rtl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}
@media (max-width: 760px) {
  .works-marquee {
    padding-top: 0;
    padding-bottom: 0;
  }
  .marquee-item {
    height: 160px;
  }
  .marquee-track {
    gap: 16px;
    animation-duration: 38s;
  }
}

/* ===== Flow ===== */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.flow-step {
  position: relative;
  display: flex;
  align-items: stretch;
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}
.flow-step.is-pending {
  opacity: 0;
  transform: translateY(30px);
}
@media (prefers-reduced-motion: reduce) {
  .flow-step {
    transition: none;
  }
  .flow-step.is-pending {
    opacity: 1;
    transform: none;
  }
  .flow-step__arrow--short {
    transition: none;
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}
.flow-step--hearing {
  min-height: 120px;
}
.flow-step__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  padding: 12px 20px;
  background: #a7cfe3;
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}
.flow-step__card {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 22px 28px;
  border-top: rgb(13, 27, 57) 0.5px solid;
  border-right: rgb(13, 27, 57) 0.5px solid;
  border-bottom: rgb(13, 27, 57) 0.5px solid;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}
.flow-step__card p {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.9;
}
.flow-step:first-child .flow-step__card {
  padding-bottom: 68px;
}
.flow-step__arrow {
  position: absolute;
  left: -40px;
  top: 6px;
  pointer-events: none;
}
.flow-step__arrow--short {
  width: 42px;
  height: 100px;
  top: -70px;
  left: -44px;
  clip-path: inset(100% 0 0 0);
  transition:
    clip-path 0.7s ease-out,
    transform 0.7s ease-out;
}
.flow-step:not(.is-pending) .flow-step__arrow--short {
  clip-path: inset(0 0 0 0);
}
.flow-step.is-pending .flow-step__arrow--short {
  transform: translateY(-30px);
}
.flow-step__spark {
  position: absolute;
  left: -18px;
  top: -17px;
  width: 22px;
  height: auto;
  pointer-events: none;
  opacity: 1;
  transform: scale(1);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease-out;
}
.flow-step__spark.is-pending {
  opacity: 0;
  transform: scale(0);
}
@media (prefers-reduced-motion: reduce) {
  .flow-step__spark {
    transition: none;
  }
  .flow-step__spark.is-pending {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 900px) {
  .flow-step__arrow,
  .flow-step__spark {
    display: none;
  }
}
.flow-step__cta {
  position: absolute;
  right: 24px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e1afc5, #9ecde5);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 900px) {
}
@media (max-width: 640px) {
  .flow-step {
    flex-direction: column;
    gap: 0;
  }
  .flow-step__label {
    align-self: flex-start;
    width: auto;
    min-width: 0;
    margin-left: -24px;
    border-radius: 0 12px 12px 0;
  }
  .flow-step__card {
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #000;
    border-radius: 12px;
  }
  .flow-step:first-child .flow-step__card {
    padding-bottom: 22px;
  }
  .flow-step__cta {
    position: static;
    transform: none;
    margin-top: 16px;
    align-self: flex-end;
  }
}

/* ===== Service / Price ===== */
.service-title {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.06em;
}
/* Same treatment as the Flow heading, keeping the English word big and */
/* the Japanese label small (matching "Flow" / "Our Mind"): the section */
/* title ("Service/Price") gets the big serif style and comes first, and */
/* the eyebrow ("サービス/料金") becomes the small label below it. */
#service .eyebrow {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}
#service .section-title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}
#service .eyebrow,
#service .section-title {
  transition:
    filter 0.7s ease-out,
    opacity 0.7s ease-out;
}
#service .eyebrow {
  transition-delay: 0.15s;
}
#service.is-pending .eyebrow,
#service.is-pending .section-title {
  filter: blur(10px);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  #service .eyebrow,
  #service .section-title {
    transition: none;
  }
  #service.is-pending .eyebrow,
  #service.is-pending .section-title {
    filter: none;
    opacity: 1;
  }
}
.service-panel {
  background: #f1f1f4;
  border-radius: 28px;
  padding: 24px;
}
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
}
.service-card {
  position: relative;
  border-radius: 20px;
  padding: 40px 32px 36px;
}
.service-card__tab {
  position: absolute;
  top: 0;
  left: 28px;
  transform: translateY(-50%);
  width: 64px;
  height: 26px;
  border-radius: 8px;
}
.service-card__tab--blue {
  background: #a7cfe3;
}
.service-card__tab--orange {
  background: #e0923e;
}
.service-card__heading {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  text-align: center;
  margin-bottom: 24px;
}
.service-card--template {
  background: #fff;
}
.service-card__heading--template {
  color: #4aa3c9;
}
.service-card__heading--original {
  color: #fff;
}
.service-card--original {
  background: #86a9c8;
  color: #fff;
  text-align: center;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
.price-table th,
.price-table td {
  padding: 10px 8px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-700);
}
.price-table thead th:first-child {
  background: transparent;
}
.price-table th.price-table__head {
  color: #fff;
  font-weight: 700;
}
.price-table__head--light {
  background: #8fc4de;
}
.price-table__head--standard {
  background: #2a8fbd;
}
.price-table__head--diamond {
  background: var(--navy-solid);
}
.price-table tbody th {
  font-weight: 700;
  font-size: 12px;
  color: var(--gray-700);
  text-align: left;
  white-space: nowrap;
}
.price-table tbody tr:not(:last-child) td,
.price-table tbody tr:not(:last-child) th {
  border-bottom: 1px solid var(--gray-200);
}
.price-table__price-row td {
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--navy-solid);
  padding-top: 16px;
}
.price-table__price-row td span {
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
  font-weight: 200;
  margin-left: 2px;
}
.service-card__price {
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-size: 34px;
  font-weight:400;
  margin-bottom: 24px;
}
.service-card__price span {
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  font-weight: 300;
  margin-left: 4px;
}
.service-card__checklist {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  vertical-align: top;
}
.service-card__checklist + .service-card__checklist {
  margin-left: 40px;
}
.service-card--original .service-card__checklist {
  margin-bottom: 24px;
}
.service-card__checklist--mobile {
  display: none;
}
.service-card__checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: #e0923e;
}
.service-card__note {
  padding-top: 20px;
  border-top: 1px solid rgba(13, 40, 51, 0.12);
  text-align: center;
  font-size: 12.5px;
  line-height: 2;
  color: var(--gray-700);
}
.service-card__note--light {
  border-top-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.92);
}
.service-card--original .service-card__checklist-wrap {
  text-align: center;
}

.care-support__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  margin-bottom: 20px;
}
.care-table {
  display: grid;
  grid-template-columns: 1fr 140px 140px;
  row-gap: 4px;
  column-gap: 8px;
}
.care-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--gray-700);
  border-radius: 10px;
}
.care-cell--label {
  justify-content: flex-start;
  font-size: 12.5px;
}
.care-cell--head {
  font-weight: 800;
  color: var(--ink);
}
.care-cell--head.care-cell--keep,
.care-cell--head.care-cell--grow {
  flex-direction: column;
  gap: 4px;
}
.care-cell--head.care-cell--keep {
  color: #5fa9cf;
}
.care-cell--head.care-cell--grow {
  color: var(--navy-solid);
}
.care-cell--head strong {
  font-size: 15px;
  color: var(--ink);
}
.care-cell--head small {
  font-size: 11px;
  font-weight: 700;
}
.care-cell.is-main {
  background: #e7e9eb;
}
.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: transparent;
}
.dot--keep.is-on {
  background: #a4cfe4;
}
.dot--grow.is-on {
  background: var(--navy-solid);
}

@media (max-width: 900px) {
  .service-panel {
    width: 100%;
    padding: 16px 10px;
  }
  .service-cards {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .service-card {
    width: 100%;
    max-width: 380px;
  }
  .service-card__checklist--desktop {
    display: none;
  }
  .service-card--original .service-card__checklist--mobile {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .care-table {
    grid-template-columns: 1fr 80px 80px;
  }
  .care-cell {
    padding: 10px 8px;
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .price-table th,
  .price-table td {
    font-size: 11px;
    padding: 8px 4px;
  }
}

/* ===== FAQ ===== */
.faq-section {
  padding: 96px 0;
}
.faq-section .section-title,
.faq-title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #787878;
  margin-bottom: 10px;
}
.faq-section .eyebrow {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0;
}
body.bg-faq .faq-section .section-title,
body.bg-faq .faq-title {
  color: #fff;
}
body.bg-faq .faq-section .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}
.faq-section .section-title,
.faq-section .eyebrow {
  transition:
    filter 0.7s ease-out,
    opacity 0.7s ease-out,
    color 0.9s ease;
}
.faq-section .eyebrow {
  transition-delay: 0.15s;
}
.faq-section.is-pending .section-title,
.faq-section.is-pending .eyebrow {
  filter: blur(10px);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .faq-section .section-title,
  .faq-section .eyebrow {
    transition: none;
  }
  .faq-section.is-pending .section-title,
  .faq-section.is-pending .eyebrow {
    filter: none;
    opacity: 1;
  }
}

.faq-card {
  max-width: 820px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.faq-item.is-pending {
  opacity: 0;
  transform: translateY(20px);
}
.faq-item:not(.is-pending) {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .faq-item {
    transition: none;
  }
  .faq-item.is-pending {
    opacity: 1;
    transform: none;
  }
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  touch-action: manipulation;
}
.faq-q {
  flex-shrink: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}
.faq-question__text {
  flex: 1;
  min-width: 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
}
.faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gray-500);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease-out;
}
.faq-toggle::before {
  width: 100%;
  height: 1.5px;
}
.faq-toggle::after {
  width: 1.5px;
  height: 100%;
}
.faq-item.is-open .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.faq-answer p {
  padding: 0 32px 28px 32px;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-700);
}
@media (prefers-reduced-motion: reduce) {
  .faq-answer {
    transition: none;
  }
}
.faq-a {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin-right: 10px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-toggle::before,
  .faq-toggle::after {
    transition: none;
  }
}

.faq-cta-wrap {
  text-align: center;
  margin-top: 48px;
}
.faq-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out;
}
.faq-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 27, 57, 0.2);
}

@media (max-width: 640px) {
  .faq-section {
    padding: 64px 0;
  }
  .faq-question {
    padding: 20px 20px;
    gap: 14px;
  }
  .faq-answer p {
    padding: 0 20px 20px 20px;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: #0d1b39;
  color: #fff;
  padding: 88px 0 0;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-bottom: 64px;
}
.footer-news {
  flex: 1;
  max-width: 480px;
}
.footer-news__rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.footer-news__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}
.footer-news__tag {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
}
.footer-news__date {
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}
.footer-news__title {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-news__body {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}
.footer-news__more {
  display: inline-block;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}
.footer-news__more:hover {
  color: var(--accent-soft);
}

.footer-carousel {
  flex: 1;
  min-width: 0;
}
.footer-carousel__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.footer-carousel__nav {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-carousel__nav:hover {
  color: #fff;
}
.footer-carousel__nav--prev:hover {
  transform: translateX(-2px);
}
.footer-carousel__nav--next:hover {
  transform: translateX(2px);
}
.footer-carousel__nav svg {
  width: 100%;
  height: 100%;
}
.footer-carousel__viewport {
  flex: 1;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}
.footer-carousel__item {
  overflow: hidden;
  background: #fff;
  height: auto;
}
.footer-carousel__item a {
  display: block;
}
.footer-carousel__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 36px 0 10px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo__mark {
  height: 34px;
  width: auto;
}
.footer-logo__word {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-nav ul {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-copyright {
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  padding: 0 0 24px;
}

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .footer-news {
    max-width: none;
  }
  .footer-carousel {
    min-height: 0;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .site-footer {
    padding-top: 64px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
}

/* ===== Contact ===== */
.contact-section {
  padding: 96px 0;
  background: var(--gray-100);
}
.contact-section--page {
  padding-top: 180px;
}
.contact-section .section-title,
.contact-title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #787878;
  margin-bottom: 10px;
}
.contact-section .eyebrow {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0;
}
.contact-section .section-title,
.contact-section .eyebrow {
  transition:
    filter 0.7s ease-out,
    opacity 0.7s ease-out;
}
.contact-section .eyebrow {
  transition-delay: 0.15s;
}
.contact-section.is-pending .section-title,
.contact-section.is-pending .eyebrow {
  filter: blur(10px);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .contact-section .section-title,
  .contact-section .eyebrow {
    transition: none;
  }
  .contact-section.is-pending .section-title,
  .contact-section.is-pending .eyebrow {
    filter: none;
    opacity: 1;
  }
}

.contact-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.contact-section:not(.is-pending) .contact-card {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .contact-card {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

.cf7-row {
  margin-bottom: 28px;
}
.cf7-row label {
  display: block;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.cf7-required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}
.contact-card .wpcf7-form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--gray-100);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease-out;
}
.contact-card .wpcf7-form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.contact-card textarea.wpcf7-form-control {
  min-height: 160px;
  resize: vertical;
}
.contact-card .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #e0564c;
}
.contact-card .wpcf7-response-output {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  border-color: var(--gray-200) !important;
  font-size: 14px;
}

.cf7-submit-wrap {
  text-align: center;
  margin-top: 8px;
}
.contact-card .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 56px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out,
    opacity 0.25s ease-out;
}
.contact-card .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 27, 57, 0.2);
}
.contact-card .wpcf7-spinner {
  margin-left: 12px;
}

@media (max-width: 640px) {
  .contact-section {
    padding: 72px 0;
  }
  .contact-section--page {
    padding-top: 130px;
  }
  .contact-card {
    padding: 32px 24px;
  }
}

/* ===== News (archive page) ===== */
.news-section {
  padding: 96px 0;
}
.news-section--page {
  padding-top: 180px;
}
.news-title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #787878;
  margin-bottom: 10px;
}
.news-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--gray-200);
}
.news-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-200);
}
.news-item__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.news-item__tag {
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 3px 10px;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--gray-700);
}
.news-item__date {
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}
.news-item__title {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 12px;
}
.news-item__title a {
  color: var(--ink);
}
.news-item__title a:hover {
  color: var(--accent);
}
.news-item__excerpt {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-500);
}
.news-empty {
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  color: var(--gray-500);
  padding: 40px 0;
}
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 14px;
}
.news-pagination a,
.news-pagination span {
  color: var(--gray-700);
}
.news-pagination .current {
  color: var(--accent);
  font-weight: 700;
}
.news-pagination a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .news-section {
    padding: 72px 0;
  }
  .news-section--page {
    padding-top: 130px;
  }
}

/* ===== Sub pages (About / Service) ===== */
.page-hero {
  padding: 180px 0 0;
}
.page-hero .section-head.center {
  margin-bottom: 0;
}
.page-hero__title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #787878;
  margin-bottom: 10px;
}

.page-section {
  padding: 80px 0 110px;
}
.page-section.tight {
  padding-top: 48px;
}

.page-prose {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 48px;
}
.page-prose p {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-700);
  margin-bottom: 1.2em;
}
.page-prose p:last-child {
  margin-bottom: 0;
}
.page-prose p strong {
  color: var(--ink);
}

.page-facts {
  max-width: 720px;
  margin: 40px auto 0;
  background: #fff;
  border-radius: 24px;
  padding: 40px 48px;
}
.page-facts--standalone {
  margin-top: 0;
}
.page-facts dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 20px;
  column-gap: 24px;
}
.page-facts dt {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}
.page-facts dd {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.info-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
}
.info-card__no {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
.info-card__title {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.info-card__body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-700);
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .page-hero {
    padding-top: 130px;
  }
  .page-section {
    padding: 56px 0 72px;
  }
  .page-prose,
  .page-facts {
    padding: 32px 24px;
  }
  .page-facts dl {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .page-facts dt {
    margin-bottom: -8px;
  }
}
