/*
Theme Name: GIFT FLOW
Theme URI: https://example.com/
Author: GIFT FLOW
Author URI: https://example.com/
Description: GIFT FLOW original WordPress theme converted from the static HTML site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: gift-flow
*/

:root {
  --navy: #3f4045;
  --deep: #9ca3af;
  --gold: #b19e6c;
  --gold-soft: #e4ebf4;
  --accent-strong: #b84f4c;
  --ink: #3f4045;
  --muted: #6f7680;
  --line: #d6dce5;
  --paper: #e4ebf4;
  --white: #fff;
  --header-h: 142px;
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 255, 255, 0.62),
      transparent 30rem
    ),
    linear-gradient(135deg, rgba(156, 163, 175, 0.16), transparent 18rem),
    rgb(156 163 175 / 18%);
  font-size: 16px;
  line-height: 1.8;
}

.home .fade-in-section {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.home .fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

.container {
  width: min(1110px, calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  width: min(1080px, calc(100% - 48px));
}

.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      120deg,
      transparent 18%,
      rgba(255, 255, 255, 0.62) 18.3%,
      transparent 19.5%
    ),
    linear-gradient(
      145deg,
      transparent 70%,
      rgba(156, 163, 175, 0.22) 70.1%,
      transparent 70.4%
    );
  opacity: 0.55;
}

.section > .container {
  position: relative;
}

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

h2 {
  margin-bottom: 42px;
  color: var(--navy);
  text-align: center;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
  line-height: 1.45;
}

h2::after,
.section-title::after {
  content: "";
  display: block;
  width: 150px;
  height: 16px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  clip-path: polygon(
    0 44%,
    48% 44%,
    50% 100%,
    52% 44%,
    100% 44%,
    100% 56%,
    52% 56%,
    50% 100%,
    48% 56%,
    0 56%
  );
}

.site-header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
  transition: transform 0.28s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 24px;
}

.logo {
  width: 190px;
  height: 52px;
  background: url("assets/giftflow_logo.svg") left center / contain no-repeat;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.tel {
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.tel::before {
  content: "☑";
  margin-right: 6px;
}

.tel span {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.btn,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease;
}

.btn:hover,
.pill:hover,
.btn:focus-visible,
.pill:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(63, 64, 69, 0.18);
}

.btn:focus-visible,
.pill:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn.gold {
  color: var(--navy);
  background: linear-gradient(180deg, #c8b783, var(--gold));
  border-color: var(--gold);
}

.btn.gold:hover,
.btn.gold:focus-visible {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.btn.navy,
.btn.ghost-dark {
  color: #fff;
  background: var(--deep);
}

.btn.navy:hover,
.btn.navy:focus-visible {
  color: var(--deep);
  background: #fff;
  border-color: var(--gold);
}

.btn.ghost {
  color: var(--deep);
  border-color: var(--gold);
  background: #fff;
}

.btn.ghost:hover,
.btn.ghost:focus-visible,
.pill.outline:hover,
.pill.outline:focus-visible {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
}

.btn.ghost-dark {
  border-color: var(--gold);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 22px rgba(63, 64, 69, 0.1);
}

.btn.ghost-dark:hover,
.btn.ghost-dark:focus-visible {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.btn.wide {
  min-width: 245px;
}

.btn.center,
.pill {
  margin-inline: auto;
}

.pill {
  min-width: 220px;
  min-height: 42px;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
}

.pill::after,
.post-card::after,
.large-card::after,
.service-links a::after {
  content: ">";
  margin-left: 22px;
  color: var(--accent-strong);
  transition: transform 0.24s ease;
}

.pill:hover::after,
.pill:focus-visible::after,
.post-card:hover::after,
.post-card:focus-within::after,
.large-card:hover::after,
.large-card:focus-within::after,
.service-links a:hover::after,
.service-links a:focus-visible::after,
.web-contact:hover::after,
.web-contact:focus-visible::after {
  transform: translateX(5px);
}

.pill.outline {
  border-color: var(--gold);
  color: var(--navy);
}

.global-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  padding: 18px 0 20px;
  color: var(--navy);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.global-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.lower-hero {
  min-height: 210px;
  display: grid;
  place-items: center;
  color: var(--navy);
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.32), rgba(228, 235, 244, 0.34)),
    url("assets/hero-light.png") center / cover;
}

.lower-hero p {
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.4;
}

.breadcrumb {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 28px 0 0;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a::after {
  content: ">";
  margin-left: 13px;
  color: var(--accent-strong);
}

.about-page {
  padding-top: 38px;
}

.about-message {
  margin-bottom: 104px;
}

.about-message h2,
.commitment h2 {
  margin-bottom: 36px;
}

.about-panel {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid rgba(177, 158, 108, 0.32);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.86),
      rgba(255, 255, 255, 0.72)
    ),
    radial-gradient(
      circle at 100% 0,
      rgba(177, 158, 108, 0.24),
      transparent 22rem
    );
  box-shadow: 0 18px 45px rgba(63, 64, 69, 0.08);
}

.about-panel h3 {
  margin-bottom: 32px;
  color: var(--navy);
  text-align: center;
  font-size: clamp(22px, 3vw, 29px);
  line-height: 1.55;
}

.about-panel p {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 600;
}

.commitment {
  padding-top: 18px;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px 76px;
  max-width: 960px;
  margin-inline: auto;
}

.commitment-grid article {
  position: relative;
  min-height: 360px;
  padding: 74px 42px 42px;
  border: 1px solid rgba(156, 163, 175, 0.22);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.74)
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(156, 163, 175, 0.16),
      transparent 20rem
    );
  box-shadow: 0 16px 40px rgba(47, 52, 56, 0.09);
}

.commitment-grid span {
  position: absolute;
  top: -50px;
  left: 20px;
  color: var(--accent-strong);
  font-size: clamp(68px, 8vw, 92px);
  font-weight: 700;
  line-height: 1;
}

.commitment-grid h3 {
  margin-bottom: 32px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.5;
}

.commitment-grid h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-size: 15px;
}

.commitment-grid p {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 600;
}

.lead-copy {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 600;
}

.content-block {
  margin-bottom: 72px;
}

.band-heading {
  margin-bottom: 34px;
  padding: 18px 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), #3f4045);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.45;
}

.text-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.text-media.reverse {
  direction: rtl;
}

.text-media.reverse > * {
  direction: ltr;
}

.case-sections {
  display: grid;
  gap: 64px;
  margin-top: 60px;
}

.case-section {
  display: grid;
  gap: 28px;
}

.case-section-bar {
  margin: 0;
  padding: 16px 28px;
  text-align: left;
  color: #fff;
  font-size: clamp(20px, 2.6vw, 30px);
  background: linear-gradient(90deg, var(--navy), var(--muted));
  border-radius: 4px;
}

.case-section-bar::after {
  display: none;
}
.text-media .plains-text {
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 600;
}

.plain-text {
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 600;
  margin-top: 4rem;
  margin-inline: auto;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid rgba(177, 158, 108, 0.32);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72)), radial-gradient(circle at 100% 0, rgba(177, 158, 108, 0.24), transparent 22rem);
  box-shadow: 0 18px 45px rgba(63, 64, 69, 0.08);
}
.plain-text p {
  margin-bottom: .2rem;
}
.challenge-solution {
  display: block;
  margin-top: 2rem;
}

.challenge-solution h3 {
 margin-top: 1rem;
}
.text-media img,
.visual-box {
  width: 100%;
  min-height: 260px;
  border-radius: 4px;
  box-shadow: 0 14px 36px rgba(63, 64, 69, 0.1);
}

.visual-box {
  display: grid;
  place-items: center;
  padding: 40px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(63, 64, 69, 0.7), rgba(63, 64, 69, 0.7)),
    url("assets/business-01.jpg") center / cover;
  font-size: 22px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 50px;
  max-width: 920px;
  margin-inline: auto;
}

.faq-item h2 {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 22px;
  text-align: left;
  font-size: clamp(22px, 3vw, 30px);
}

.faq-item h2::after {
  display: none;
}

.faq-item h2::before {
  content: "Q";
  color: var(--accent-strong);
  font-size: 42px;
  line-height: 1;
}

.faq-answer {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(177, 158, 108, 0.32);
  background: #fff;
  box-shadow: 0 14px 36px rgba(63, 64, 69, 0.08);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 600;
}

.faq-answer::before {
  content: "A";
  color: var(--navy);
  font-family: "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.lower-reasons {
  display: grid;
  gap: 86px;
}

.lower-reason .reason-head {
  display: flex;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 24px;
}

.lower-reason .reason-head span {
  color: var(--accent-strong);
  font-size: clamp(54px, 8vw, 78px);
  font-weight: 700;
  line-height: 1;
}

.lower-reason .reason-head h2 {
  margin: 0;
  text-align: left;
  font-size: clamp(24px, 3vw, 34px);
}

.lower-reason .reason-head h2::after {
  display: none;
}

.compare-boxes,
.support-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.compare-boxes div,
.support-checks div {
  padding: 34px;
  border: 1px solid rgba(156, 163, 175, 0.22);
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-weight: 700;
}

.support-checks {
  grid-template-columns: 1fr;
  max-width: 330px;
  margin-inline: auto;
}

.support-checks div::before {
  content: "\2714";
  margin-right: 12px;
  color: var(--accent-strong);
}

.service-list-page {
  display: grid;
  gap: 72px;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.service-label {
  color: var(--accent-strong);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px 36px;
}

.service-card-small img {
  width: 100%;
  height: 210px;
  margin-bottom: 16px;
  border-radius: 4px;
}

.service-card-small h3 {
  display: flex;
  justify-content: space-between;
  color: var(--navy);
  font-size: 20px;
}

.service-card-small h3::after {
  content: ">";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--accent-strong);
  line-height: 1;
}

.form-page {
  max-width: 980px;
  margin-inline: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 170px 110px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  min-height: 30px;
  border-radius: 999px;
  color: #fff;
  background: #000;
  font-size: 14px;
}

.badge.optional {
  color: var(--ink);
  border: 1px solid var(--muted);
  background: #fff;
}

.field,
.textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid transparent;
  background: #e4ebf4;
}

.textarea {
  min-height: 260px;
}

.radio-group {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.radio-group input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent-strong);
}

.submit-row {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* Contact Form 7: keep the static form layout */
.form-page .wpcf7-form-control-wrap {
  display: block;
}
.form-page .radio-group .wpcf7-form-control-wrap,
.form-page .radio-group .wpcf7-radio {
  display: contents;
}
.form-page .radio-group .wpcf7-list-item {
  margin: 0;
}
.form-page .wpcf7-spinner {
  margin: 0 0 0 12px;
}

.company-message {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 110px;
}

.signature {
  margin-top: 54px;
  text-align: right;
  font-weight: 700;
}

.profile-photo {
  width: 100%;
  min-height: 430px;
  background:
    linear-gradient(rgba(63, 64, 69, 0.3), rgba(63, 64, 69, 0.3)),
    url("assets/case-03.jpg") center / cover;
}

.company-table {
  width: min(760px, 100%);
  margin: 0 auto 100px;
  border-collapse: collapse;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

.company-table th,
.company-table td {
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
}

.company-table th {
  width: 38%;
  background: rgba(156, 163, 175, 0.16);
}

.access-map {
  min-height: 420px;
  margin-top: 36px;
  background:
    linear-gradient(rgba(63, 64, 69, 0.58), rgba(63, 64, 69, 0.58)),
    url("assets/company.jpg") center / cover;
}

.service-single .intro-pair,
.service-single .advisor-block {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 88px;
}

.service-single .intro-pair h2 {
  text-align: left;
  font-size: clamp(24px, 3vw, 34px);
}

.service-single .intro-pair h2::after {
  margin-left: 0;
}

.worry-mini-list {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto 92px;
  padding: 0;
  list-style: none;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 700;
}

.worry-mini-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.worry-mini-list li::before {
  content: "\2714";
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 3px;
  font-size: 15px;
}

.method-list {
  display: grid;
  gap: 58px;
  margin-bottom: 96px;
}

.method-item {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 58px;
  align-items: center;
}

.method-item span {
  display: block;
  color: var(--accent-strong);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.advisor-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin: 34px 0 46px;
  text-align: center;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 700;
}

.advisor-icons div::before {
  content: "";
  display: block;
  width: 110px;
  height: 110px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  opacity: 0.78;
}

.advisor-comment {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(156, 163, 175, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(63, 64, 69, 0.08);
}

.advisor-comment::before {
  content: "";
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: url("assets/voice-01.jpg") center / cover;
}

.flow-list {
  max-width: 840px;
  margin: 0 auto 96px;
}

.flow-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 38px;
}

.flow-item figure {
  margin: 0;
  position: relative;
}

.flow-item figure::before {
  content: attr(data-step);
  position: absolute;
  top: -30px;
  left: -10px;
  color: var(--accent-strong);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.flow-item img {
  width: 100%;
  height: 170px;
  border-radius: 4px;
}

.relation-map {
  width: min(760px, 100%);
  min-height: 330px;
  display: grid;
  place-items: center;
  margin: 0 auto 92px;
  color: #fff;
  background:
    linear-gradient(rgba(63, 64, 69, 0.66), rgba(63, 64, 69, 0.66)),
    url("assets/company.jpg") center / cover;
  font-size: 22px;
  font-weight: 700;
}

.accordion-list {
  max-width: 840px;
  margin-inline: auto;
}

.accordion-item {
  margin-bottom: 12px;
  border: 1px solid rgba(63, 64, 69, 0.16);
  background: #fff;
}

.accordion-item summary {
  cursor: pointer;
  padding: 16px 20px;
  color: var(--navy);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 700;
}

.accordion-item p {
  margin: 0;
  padding: 0 20px 18px;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

.archive-filter {
  display: grid;
  gap: 24px;
  margin-bottom: 76px;
}

.filter-box {
  padding: 28px;
  border: 1px solid rgba(63, 64, 69, 0.24);
  background: #fff;
}

.filter-box h3 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 18px;
}

.tag-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tag-list a,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  color: #fff;
  background: var(--navy);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 58px 34px;
}

.archive-card {
  position: relative;
  color: var(--navy);
}

.archive-card img {
  width: 100%;
  height: 225px;
  margin-bottom: 18px;
}

.archive-card .label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 7px 14px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.archive-card time,
.archive-card p {
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

.archive-card h3 {
  font-size: 20px;
  line-height: 1.55;
}

.archive-card .more {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
  font-weight: 700;
}

.archive-card .more::after {
  content: ">";
  color: var(--accent-strong);
}

.single-hero-block {
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
}

.single-hero-block h2 {
  font-size: clamp(25px, 3.5vw, 38px);
}

.single-main-image {
  width: min(820px, 100%);
  height: 430px;
  margin: 0 auto 46px;
}

.info-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-bottom: 54px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

.info-table caption {
  padding: 13px 18px;
  color: #fff;
  background: var(--navy);
  text-align: left;
  font-weight: 800;
}

.info-table th,
.info-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.info-table th {
  width: 34%;
  background: rgba(156, 163, 175, 0.16);
}

.single-section {
  margin-top: 60px;
}

.single-section h2 {
  margin-bottom: 32px;
  padding: 18px 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), #3f4045);
  text-align: left;
  font-size: clamp(22px, 3vw, 30px);
}

.single-section h2::after {
  display: none;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 82px;
}

.pager .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--muted);
  color: var(--navy);
  background: #fff;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

a.page-numbers:hover {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}

.pager .page-numbers.current {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}

.pager .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

.pager .page-numbers.prev,
.pager .page-numbers.next {
  font-size: 15px;
  white-space: nowrap;
}

.news-archive-list {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.news-archive-list li {
  border-bottom: 1px solid var(--line);
}

.news-archive-list a {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 44px;
  padding: 25px 0;
  align-items: center;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 800;
}

.news-archive-list time {
  color: var(--navy);
  font-size: 18px;
}

.hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  color: var(--navy);
  background:
    linear-gradient(rgba(255, 255, 255, 0.22), rgba(228, 235, 244, 0.28)),
    url("assets/hero-light.png") center / cover;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-copy {
  margin: 0 0 54px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.3;
  text-shadow: 0 3px 18px rgba(255, 255, 255, 0.92);
}

.hero-points {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-points div {
  width: 170px;
  height: 170px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(63, 64, 69, 0.16);
  font-size: 21px;
  line-height: 1.3;
}

.hero-points span {
  display: block;
  color: var(--accent-strong);
  font-size: 18px;
}

.hero-contact {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: -62px;
  position: relative;
  z-index: 2;
  padding-bottom: 32px;
}

.contact-card {
  width: min(620px, 100%);
  min-height: 128px;
  margin: auto;
  padding: 22px 30px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gold);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.contact-card p,
.contact-card span {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

.contact-card strong {
  display: block;
  color: var(--navy);
  font-size: 31px;
  line-height: 1.25;
}

.navy-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 13%, transparent 13.2%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.04) 0 16%, transparent 16.2%),
    radial-gradient(
      circle at 50% 0%,
      rgba(156, 163, 175, 0.45),
      transparent 36rem
    ),
    var(--deep);
}

.intro {
  padding: 100px 0;
  text-align: center;
}

.intro p {
  font-size: 22px;
}

.worries {
  padding-top: 106px;
}

.worries h2 {
  border-inline: 2px solid var(--gold);
  padding: 0 28px;
}

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

.check-list li {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 70px;
  padding: 16px 28px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 700;
}

.check-list li::before {
  content: "\2714";
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  background: var(--navy);
  font-size: 24px;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title span {
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.section-title h2 {
  margin: 0;
}

.section-title b {
  color: var(--accent-strong);
  font-size: 72px;
  line-height: 1;
}

.reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 60px;
  align-items: center;
  margin-bottom: 48px;
}

.reason-grid img {
  width: 100%;
  height: 265px;
  border-radius: 2px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.reason .num {
  color: var(--accent-strong);
  font-size: 58px;
  line-height: 1;
}

.reason .num::before {
  content: "/";
  margin-right: 10px;
  font-size: 48px;
  font-weight: 300;
}

.reason h3,
.services h3 {
  color: var(--navy);
  font-size: 29px;
  line-height: 1.45;
}

.reason p,
.services p {
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 600;
}

.cards-section,
.interview {
  background: #eef3f8;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card,
.voice-card,
.column-card,
.large-card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.post-card:hover,
.post-card:focus-within,
.voice-card:hover,
.voice-card:focus-within,
.column-card:hover,
.column-card:focus-within,
.large-card:hover,
.large-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(63, 64, 69, 0.16);
}

.post-card,
.voice-card,
.column-card {
  padding: 16px;
}

.post-card > a,
.column-card > a {
  display: block;
  height: 100%;
}

.post-card img,
.voice-card img,
.column-card img {
  width: 100%;
  height: 200px;
  margin-bottom: 18px;
}

.post-card span,
.voice-card span {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  color: #fff;
  background: var(--navy);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.post-card time,
.column-card p {
  color: var(--accent-strong);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 700;
}

.post-card h3,
.voice-card h3,
.column-card h3 {
  color: var(--navy);
  font-size: 20px;
  line-height: 1.65;
}

.post-card p {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

.post-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0;
}

.cards-section .pill,
.column .pill {
  display: flex;
  width: max-content;
  margin-top: 42px;
}

.voice-card a {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--navy);
  font-weight: 700;
}

.voice-card a::after {
  content: ">";
  color: var(--accent-strong);
}

.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 72px;
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

.service-row h3 {
  padding-bottom: 18px;
  border-bottom: 2px solid var(--gold);
  font-size: 44px;
}

.service-row img {
  width: 100%;
  height: 390px;
  border-radius: 5px;
}

.service-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 44px;
  margin-top: 42px;
}

.service-links a {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold);
  font-size: 18px;
  font-weight: 700;
  transition:
    transform 0.24s ease,
    color 0.24s ease,
    background 0.24s ease,
    padding 0.24s ease;
}

.service-links a:hover,
.service-links a:focus-visible {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.64);
  transform: translateX(6px);
  padding-left: 12px;
}

.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.large-card {
  padding: 18px;
}

.large-card img {
  width: 100%;
  height: 280px;
}

.large-card strong {
  display: flex;
  justify-content: space-between;
  padding: 22px 8px 4px;
  border-bottom: 1px solid var(--gold);
  font-size: 27px;
}

.large-card::after {
  position: absolute;
  right: 28px;
  bottom: 28px;
  margin: 0;
  font-size: 28px;
}

.news ul {
  padding: 0;
  margin: 0 0 42px;
  list-style: none;
}

.news li {
  border-bottom: 1px solid var(--line);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 700;
}

.news li a {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  padding: 18px 0;
  transition:
    color 0.24s ease,
    transform 0.24s ease;
}

.news li a:hover,
.news li a:focus-visible {
  color: var(--accent-strong);
  transform: translateX(4px);
}

.column-card a {
  display: block;
  height: 100%;
}

.news time {
  color: var(--navy);
}

.column-card h3 {
  font-size: 26px;
}

.cta {
  padding: 74px 0;
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 0;
}

.cta p {
  margin-bottom: 34px;
  font-size: 22px;
}

.cta-actions,
.cta-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-actions strong {
  font-size: 34px;
  line-height: 1.2;
}

.cta-actions span {
  display: block;
  font-size: 14px;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

.web-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 100%);
  min-height: 58px;
  margin: 28px auto 22px;
  padding: 0 28px;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(63, 64, 69, 0.1);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    color 0.24s ease,
    background 0.24s ease;
}

.web-contact:hover,
.web-contact:focus-visible {
  color: #fff;
  background: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(63, 64, 69, 0.18);
}

.web-contact::before {
  content: none;
}

.web-contact::after {
  content: ">";
  margin-left: 14px;
  color: var(--accent-strong);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  font-size: 18px;
  line-height: 1;
}

.contact-h2 {
  margin-top: 2rem;
}

.cta-sub a {
  width: min(330px, 100%);
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 3px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(63, 64, 69, 0.1);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease;
}

.cta-sub a:hover,
.cta-sub a:focus-visible {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(63, 64, 69, 0.18);
}

.footer {
  color: #fff;
  background: linear-gradient(135deg, #3f4045, #6f7680);
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 27px;
  padding: 58px 0;
}

.footer-logo {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}

.footer h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 16px;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.footer small {
  display: block;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .hero-contact,
  .cta-actions,
  .cta-sub {
    flex-direction: column;
  }

  .header-top {
    min-height: 72px;
  }

  .logo {
    width: 140px;
    height: 42px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-actions {
    display: none;
  }

  .global-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
    white-space: normal;
  }

  .global-nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(63, 64, 69, 0.14);
  }

  .site-header.menu-open .global-nav {
    max-height: 520px;
    padding-top: 6px;
    padding-bottom: 18px;
  }

  .hero-contact {
    margin-top: -34px;
    padding-inline: 24px;
  }

  .contact-card {
    min-width: 0;
    width: 100%;
  }



  .reason-grid,
  .card-grid,
  .service-row,
  .split-cards,
  .commitment-grid,
  .text-media,
  .service-detail,
  .service-card-grid,
  .form-row,
  .company-message,
  .service-single .intro-pair,
  .service-single .advisor-block,
  .method-item,
  .flow-item,
  .archive-grid,
  .info-tables,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .commitment-grid {
    gap: 62px;
  }

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

  .service-row,
  .service-row.reverse {
    direction: ltr;
    gap: 28px;
  }

  .text-media.reverse {
    direction: ltr;
  }

  .text-media > img,
  .company-message > .profile-photo {
    order: -1;
  }

  .reason-grid > :nth-child(2) {
    order: 1;
  }

  .reason-grid > :nth-child(1) {
    order: 2;
  }

  .reason-grid > :nth-child(3) {
    order: 3;
  }

  .reason-grid > :nth-child(4) {
    order: 4;
  }

  .reason-grid > :nth-child(6) {
    order: 5;
  }

  .reason-grid > :nth-child(5) {
    order: 6;
  }

  .reason-grid > :nth-child(7) {
    order: 7;
  }

  .reason-grid > :nth-child(8) {
    order: 8;
  }

  .reason-grid > :nth-child(10) {
    order: 9;
  }

  .reason-grid > :nth-child(9) {
    order: 10;
  }

  .service-card-grid {
    gap: 34px;
  }

  .form-row {
    gap: 12px;
    align-items: start;
  }

  .radio-group {
    gap: 18px;
  }

  .flow-item {
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1110px);
  }

  .section {
    padding: 68px 0;
  }

  h2 {
    font-size: 28px;
  }

  .hero-points div {
    width: 138px;
    height: 138px;
    font-size: 17px;
  }

  .check-list li {
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
  }

  .lower-hero {
    min-height: 170px;
  }

  .breadcrumb {
    padding-top: 18px;
  }

  .about-message {
    margin-bottom: 72px;
  }

  .about-panel,
  .commitment-grid article,
  .faq-answer,
  .compare-boxes div,
  .support-checks div {
    padding: 30px 20px;
  }

  .commitment-grid article {
    min-height: 0;
    padding-top: 58px;
  }

  .commitment-grid span {
    top: -36px;
    left: 14px;
  }

  .reason-grid img,
  .service-row img,
  .large-card img {
    height: 230px;
  }

  .service-links,
  .news li a,
  .news-archive-list a,
  .compare-boxes {
    grid-template-columns: 1fr;
  }

  .faq-answer {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lower-reason .reason-head {
    display: block;
  }

  .form-row {
    padding: 20px 0;
  }

  .profile-photo,
  .access-map,
  .relation-map {
    min-height: 260px;
  }

  .advisor-icons {
    grid-template-columns: 1fr;
  }

  .advisor-comment {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 24px;
  }
}
