/* 本文の余白と画像・文字の比率を整える調整 */
body {
  font-size: 16px;
}

.button {
  font-size: 14px;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 480px;
  height: 50vh;
}

.hero-image {
  inset: 0;
  width: auto;
  background-image: url("../img/hero-nagomi-fit-v2.png");
  background-position: center top;
  transform: scale(1.01);
}

.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: url("../img/hero-nagomi-fit-v2.png") center top / cover no-repeat;
  transform: scale(1.01);
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  width: min(90%, 700px);
  padding: 0 0 0 12.5%;
}

.hero-content h1 span,
.intro h2 span,
.works h2 span {
  display: inline-block;
  white-space: nowrap;
}

.hero-content h1 {
  font-size: clamp(24px, 4.1vw, 60px);
}

.hero-action {
  margin-top: 2px;
}

.section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.intro {
  column-gap: 8%;
  row-gap: 22px;
}

.intro-copy {
  padding-top: 12px;
}

.about-details {
  grid-column: 1 / -1;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(40, 66, 58, 0.18);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.8);
  box-shadow: 0 14px 34px rgba(32, 59, 52, 0.08);
}

.about-block-label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.about-block-label span {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--deep);
  font-size: 9px;
  letter-spacing: 0;
}

.about-access {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  column-gap: 34px;
  row-gap: 12px;
  margin: 0;
  padding: 28px;
  border-top: 1px solid rgba(40, 66, 58, 0.18);
}

.access-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  letter-spacing: 0.08em;
}

.access-details {
  grid-column: 1;
  margin: 0;
  border-top: 1px solid rgba(40, 66, 58, 0.2);
}

.access-details div {
  display: grid;
  grid-template-columns: 105px 1fr;
  padding: 11px 0;
  border-bottom: 1px solid rgba(40, 66, 58, 0.2);
}

.access-details dt {
  color: #61746a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.access-details dd {
  margin: 0;
  color: #465b51;
  font-size: 14px;
  line-height: 1.85;
}

.access-details dd span {
  color: #65786e;
  font-size: 13px;
}

.map-frame {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 100%;
  min-height: 255px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(40, 66, 58, 0.2);
}

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

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

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

.faq-grid {
  display: grid;
  gap: 10px;
  max-width: 940px;
  margin: 0 auto;
}

.faq-card {
  overflow: hidden;
  border: 1px solid #d8ddd6;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 4px 14px rgba(32, 59, 52, 0.05);
}

.faq-card summary {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

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

.faq-card summary::after {
  content: "＋";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--deep);
  background: var(--sage);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.faq-card[open] {
  border-color: rgba(61, 102, 92, 0.55);
}

.faq-card[open] summary::after {
  content: "－";
  color: var(--white);
  background: var(--deep);
}

.faq-answer {
  padding: 0 18px 16px;
}

.faq-answer::before {
  content: "";
  display: block;
  height: 1px;
  margin: 0 0 13px;
  background: #d8ddd6;
}

.faq-answer p {
  margin: 0;
  color: #53675e;
  font-size: 14px;
  line-height: 1.8;
}

.faq-card summary:focus-visible {
  outline: 3px solid rgba(61, 102, 92, 0.3);
  outline-offset: -3px;
}

.about-trainer {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  margin: 0;
  padding: 28px;
  border: 0;
}

.about-trainer-photo {
  position: relative;
  min-height: 370px;
}

.about-trainer-copy h2 {
  margin-bottom: 15px;
  font-size: clamp(30px, 3vw, 41px);
  letter-spacing: 0.1em;
}

.about-trainer-copy h2 small {
  color: #789184;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.works-top {
  margin-bottom: 32px;
}

.work-grid {
  gap: 16px;
}

.work-card {
  min-height: 330px;
  padding: 26px 25px;
  background: none;
}

.work-card::after {
  display: none;
}

.work-card::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 44, 37, 0.06), rgba(18, 44, 37, 0.9));
}

.feature-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card h3,
.work-card > p:not(.card-number),
.work-card .card-line {
  position: relative;
  z-index: 2;
}

.work-card h3 span {
  display: inline-block;
  white-space: nowrap;
}

.work-card > p:not(.card-number) {
  min-height: 9em;
  font-size: 14px;
}

.work-card .card-number {
  z-index: 2;
  color: #fff;
}

.process {
  gap: clamp(35px, 5vw, 78px);
}

.process-image {
  min-height: 430px;
}

.trainer-photo {
  position: absolute;
  inset: 0 18px 0 0;
  width: calc(100% - 18px);
  height: 100%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 10px 13px 24px rgba(24, 51, 43, 0.17);
}

.photo-note {
  z-index: 2;
  right: 0;
  bottom: 0;
}

.trainer-text {
  margin-bottom: 10px;
}

.steps {
  margin-top: 18px;
}

.steps li {
  padding: 11px 0;
}

.price-grid {
  margin-top: 32px;
}

.price-card {
  padding: 28px 25px;
}

.price-card ul {
  font-size: 14px;
}

.joining-fee {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  font-size: 13px;
}

.joining-fee strong {
  color: var(--ink);
  font-size: 15px;
}

.joining-fee span {
  padding: 3px 12px;
  border-radius: 999px;
  background: #f1e5dc;
}

.about-access {
  grid-template-columns: 0.62fr 1.38fr;
  align-items: start;
}

.access-heading {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.access-details {
  grid-column: 2;
  grid-row: 1;
}

.access-actions {
  grid-column: 2;
  grid-row: 2;
  margin-top: 4px;
}

.access-actions .button {
  min-width: 230px;
}

.contact {
  padding-top: 74px;
  padding-bottom: 74px;
}

.contact h2 {
  font-size: clamp(15px, 3.1vw, 42px);
  white-space: nowrap;
}

/* PC・スマホ共通で、本文は読みやすい最小行間、見出しは詰めた行間にする */
body {
  line-height: 1.5;
}

.hero-text,
.intro-copy p,
.works-top > p,
.work-card > p:not(.card-number),
.price-card ul,
.trainer-text,
.steps p,
.access-details dd,
.faq-card summary,
.faq-answer p,
.contact-info {
  line-height: 1.5;
}

.hero-content h1,
.section-heading h2,
.work-card h3,
.price-card h3,
.about-trainer-copy h2,
.access-heading h3 {
  line-height: 1.35;
}

@media (max-width: 900px) {
  .hero {
    min-height: 480px;
    height: 50vh;
  }

  .hero-content {
    width: 92%;
    padding: 0 0 0 9%;
  }

  .hero-content h1 {
    font-size: clamp(24px, 4.1vw, 48px);
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .work-card {
    min-height: 290px;
    padding: 22px 19px;
  }
}

@media (min-width: 641px) and (max-width: 1020px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-content {
    padding: 0 0 0 8%;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .intro h2 {
    font-size: 26px;
  }

  .works-top {
    margin-bottom: 24px;
  }

  .work-grid {
    gap: 12px;
  }

  .work-card {
    min-height: 250px;
    padding: 20px 18px;
  }

  .work-card > p:not(.card-number) {
    min-height: 0;
  }

  .price-grid {
    gap: 18px;
    margin-top: 24px;
  }

  .price-card {
    padding: 24px 19px;
  }

  .joining-fee {
    margin-top: 18px;
  }

  .about-details {
    margin-top: 8px;
  }

  .about-trainer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .about-trainer-photo {
    min-height: 320px;
  }

  .access-details div {
    grid-template-columns: 88px 1fr;
  }

  .about-access {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .access-heading,
  .access-details,
  .access-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .joining-fee {
    flex-direction: column;
    gap: 8px;
  }

  .map-frame {
    grid-column: 1;
    grid-row: auto;
    min-height: 230px;
  }

  .faq-card summary {
    padding: 13px 14px;
    font-size: 14px;
  }

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

  .faq-answer {
    padding: 0 14px 14px;
  }

  .process-image {
    min-height: 360px;
  }

  .trainer-photo {
    right: 0;
    width: 100%;
  }

  .contact h2 {
    font-size: 15px;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 360px) {
  .hero-content h1,
  .works h2 {
    font-size: 24px;
  }
}

/* ナビの予約リンクと色味をそろえた、本文用の予約ボタン */
.button-primary {
  background: #e07a5f;
}

.button-primary:hover {
  background: #f29c83;
}

/* フリーウェイト中心のメニューと、お客様の声 */
.training-menu {
  background: var(--cream);
}

.training-menu .section-heading,
.voices .section-heading {
  margin-bottom: 32px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.menu-card {
  min-height: 326px;
  padding: 25px 22px;
  overflow: hidden;
  border: 1px solid rgba(40, 66, 58, 0.22);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(32, 59, 52, 0.06);
}

.menu-image {
  display: block;
  width: calc(100% + 44px);
  height: 142px;
  margin: -25px -22px 20px;
  background: #f5f0e6;
  object-fit: contain;
  object-position: center;
}

.menu-number {
  margin-bottom: 15px;
  color: #1f5f8b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.menu-card h3 {
  margin-bottom: 15px;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: 0.07em;
}

.menu-card > p:not(.menu-number) {
  min-height: 6em;
  margin-bottom: 16px;
  color: #52675d;
  font-size: 14px;
  line-height: 1.6;
}

.menu-card ul {
  margin: 0;
  padding: 13px 0 0;
  border-top: 1px solid rgba(40, 66, 58, 0.18);
  color: #40594d;
  font-size: 13px;
  line-height: 1.8;
  list-style: none;
}

.menu-card li::before {
  margin-right: 8px;
  color: #1f5f8b;
  content: "•";
}

.menu-note,
.voice-note {
  max-width: 1120px;
  margin: 19px auto 0;
  color: #5f7369;
  font-size: 12px;
  text-align: center;
}

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

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.voice-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 25px 25px 22px;
  border: 1px solid rgba(40, 66, 58, 0.2);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.92);
}

.voice-image {
  display: block;
  width: calc(100% + 50px);
  height: 145px;
  margin: -25px -25px 20px;
  background: #f5f0e6;
  object-fit: contain;
  object-position: center;
}

.voice-label {
  margin-bottom: 16px;
  color: #1f5f8b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.voice-card blockquote {
  margin: 0;
  color: #40594d;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
}

.voice-name {
  margin: auto 0 0;
  padding-top: 15px;
  color: #52675d;
  font-size: 13px;
  text-align: right;
}

@media (min-width: 641px) and (max-width: 1020px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .training-menu .section-heading,
  .voices .section-heading {
    margin-bottom: 24px;
  }

  .menu-grid,
  .voice-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .menu-card,
  .voice-card {
    min-height: 0;
    padding: 21px 18px;
  }

  .menu-image,
  .voice-image {
    width: calc(100% + 36px);
    margin-right: -18px;
    margin-left: -18px;
  }

  .menu-image {
    margin-top: -21px;
  }

  .voice-image {
    margin-top: -21px;
  }

  .menu-card > p:not(.menu-number) {
    min-height: 0;
  }

  .voice-card blockquote {
    font-size: 15px;
  }
}
