/* ========== 下層ページ共通スタイル ========== */

/* ページヒーロー（小さめ） */
.page-hero {
  position: relative;
  padding: 64px 24px 72px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(235, 176, 143, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(168, 196, 188, 0.2) 0%, transparent 60%),
    var(--ivory);
  overflow: hidden;
}
.page-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.page-hero__crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.page-hero__crumb a:hover { color: var(--green-deep); }
.page-hero__crumb .sep { opacity: 0.5; }
.page-hero__en {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--green-deep);
  text-transform: uppercase;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.page-hero__en::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--green-deep);
}
.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.page-hero__title .accent {
  position: relative;
  display: inline-block;
}
.page-hero__title .accent::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  bottom: 2px;
  height: 12px;
  background: var(--orange-soft);
  opacity: 0.55;
  z-index: -1;
  border-radius: 3px;
}
.page-hero__lead {
  margin-top: 24px;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 640px;
}
.page-hero__leaf {
  position: absolute;
  top: 30px;
  right: 24px;
  width: 80px;
  opacity: 0.6;
}
@media (max-width: 720px) {
  .page-hero__leaf { width: 50px; right: 16px; }
}

/* prose */
.prose p { margin-bottom: 1.4em; line-height: 2; color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ========== about.html ========== */
.message-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.message-block__visual {
  position: sticky;
  top: 100px;
}
.message-portrait {
  aspect-ratio: 4/5;
  background: var(--green-bg);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.message-portrait svg { position: absolute; inset: 5%; width: 90%; height: 90%; }
.message-portrait .founder-portrait {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.message-portrait__name {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: white;
  padding: 10px 16px;
  border-radius: 12px;
  font-family: var(--serif);
  font-weight: 600;
}
.message-portrait__name span { display: block; font-size: 12px; color: var(--ink-mute); font-weight: 400; margin-bottom: 4px; }
.message-block__body h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.6;
}
.message-block__sign {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 16px;
}
.message-block__sign small { display: block; color: var(--ink-mute); font-size: 12px; margin-bottom: 4px; }
@media (max-width: 880px) {
  .message-block { grid-template-columns: 1fr; gap: 32px; }
  .message-block__visual { position: static; max-width: 320px; margin: 0 auto; }
}

/* 5つの心得 */
.principles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.principle {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
}
.principle__num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 8px;
}
.principle__big {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--green-deep);
}
.principle h4 {
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}
.principle p { font-size: 12px; line-height: 1.85; color: var(--ink-soft); }
@media (max-width: 880px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .principles { grid-template-columns: 1fr; }
}

/* 年表 */
.timeline {
  position: relative;
  margin-top: 56px;
  padding-left: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--green) 0 6px, transparent 6px 12px);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -24px; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--green);
}
.timeline-item.is-key::before { background: var(--orange); border-color: var(--orange-deep); }
.timeline-item__year {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--green-deep);
  letter-spacing: 0.04em;
}
.timeline-item__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 8px;
}
.timeline-item__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.95; max-width: 560px; }

/* ========== stores.html ========== */
.store-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 88px;
  align-items: start;
}
.store-detail:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
.store-detail:nth-child(even) .store-detail__visual { order: 2; }
.store-detail__visual {
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.store-detail__num {
  position: absolute;
  top: 20px; left: 20px;
  background: white;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 13px;
  z-index: 2;
}
.store-detail__body h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}
.store-detail__body .en {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--green-deep);
  margin-bottom: 24px;
  display: block;
  font-family: var(--serif);
}
.store-detail__feat {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.store-detail__feat span {
  background: var(--green-bg);
  color: var(--green-deep);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}
.store-detail__info {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
}
.store-detail__info dl { display: grid; grid-template-columns: 80px 1fr; gap: 12px 16px; font-size: 14px; }
.store-detail__info dt { font-family: var(--serif); color: var(--green-deep); font-size: 13px; }
.store-detail__info dd { font-weight: 500; }
@media (max-width: 880px) {
  .store-detail, .store-detail:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .store-detail:nth-child(even) .store-detail__visual { order: 0; }
}

/* ========== services.html ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(31,41,55,.18); }
.service-card__num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 16px;
}
.service-card__icon {
  width: 64px; height: 64px;
  background: var(--ivory);
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.service-card__icon svg { width: 40px; height: 40px; }
.service-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}
.service-card p { font-size: 14px; line-height: 1.95; color: var(--ink-soft); }
@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ========== health-class.html ========== */
.iw-hero {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(216, 136, 96, 0.18) 0%, transparent 55%),
    var(--ivory);
}
.iw-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.iw-explain__visual {
  aspect-ratio: 1/1;
  background: white;
  border-radius: 32px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative;
  padding: 40px;
}
.iw-explain__visual svg { width: 100%; height: 100%; }
.iw-explain__visual--photo { padding: 0; overflow: hidden; }
.iw-explain__visual--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 32px;
}
.iw-explain h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}
.iw-cycle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.iw-cycle__item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  text-align: center;
}
.iw-cycle__item:nth-child(1) { border-color: var(--green); }
.iw-cycle__item:nth-child(2) { border-color: var(--orange); }
.iw-cycle__item .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 8px;
}
.iw-cycle__item:nth-child(1) .label { color: var(--green-deep); }
.iw-cycle__item:nth-child(2) .label { color: var(--orange-deep); }
.iw-cycle__item .big {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 4px;
}
.iw-cycle__item .small { font-size: 12px; color: var(--ink-mute); }

/* スケジュール */
.schedule-table {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 48px;
}
.schedule-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  padding: 24px 28px;
  align-items: center;
  border-bottom: 1px dashed var(--line);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-row .date {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--green-deep);
}
.schedule-row .date small { display: block; font-size: 11px; color: var(--ink-mute); margin-top: 4px; }
.schedule-row h4 { font-family: var(--serif); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.schedule-row p { font-size: 13px; color: var(--ink-soft); }
.schedule-row .status {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.schedule-row .status.open { background: var(--green-bg); color: var(--green-deep); }
.schedule-row .status.few { background: rgba(216,136,96,.15); color: var(--orange-deep); }
.schedule-row .status.full { background: #f3f4f6; color: var(--ink-mute); }
@media (max-width: 720px) {
  .schedule-row { grid-template-columns: 1fr; gap: 8px; }
}

/* 参加者の声 */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.voice {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
}
.voice::before {
  content: "“";
  position: absolute;
  top: 8px; left: 16px;
  font-family: var(--serif);
  font-size: 56px;
  color: var(--green-soft);
  line-height: 1;
}
.voice__body {
  position: relative;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
}
.voice__person {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.voice__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-bg);
  display: grid; place-items: center;
  font-size: 18px;
}
.voice__name { font-family: var(--serif); font-size: 14px; font-weight: 600; }
.voice__name small { display: block; font-size: 11px; color: var(--ink-mute); font-weight: 400; }
@media (max-width: 880px) {
  .voices { grid-template-columns: 1fr; }
}

/* ========== access.html ========== */
.access-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.map-frame {
  background: var(--ivory);
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.access-side .access-card { height: 100%; }
@media (max-width: 880px) {
  .access-grid { grid-template-columns: 1fr; }
  .map-frame { aspect-ratio: 1/1; }
}

.parking-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.parking-spot {
  aspect-ratio: 1.4/1;
  border-radius: 12px;
  background: var(--ivory);
  border: 2px dashed var(--green);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--green-deep);
  font-weight: 600;
}

/* ========== recruit.html ========== */
.recruit-positions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.position {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.position::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--green);
}
.position:nth-child(2)::before { background: var(--orange); }
.position__tag {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.position:nth-child(2) .position__tag { color: var(--orange-deep); }
.position h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
}
.position dl { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: 14px; }
.position dt { font-family: var(--serif); color: var(--ink-mute); font-size: 13px; }
.position dd { color: var(--ink); }
@media (max-width: 720px) {
  .recruit-positions { grid-template-columns: 1fr; }
}

.staff-voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.staff-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.staff-card__visual {
  aspect-ratio: 5/4;
  background: var(--green-bg);
  position: relative;
  display: grid; place-items: center;
}
.staff-card:nth-child(2) .staff-card__visual { background: rgba(216,136,96,.18); }
.staff-card:nth-child(3) .staff-card__visual { background: rgba(168,196,188,.4); }
.staff-card__visual svg { width: 70%; height: 70%; }
.staff-card__body { padding: 24px; }
.staff-card__role {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--green-deep);
  margin-bottom: 4px;
}
.staff-card__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}
.staff-card__quote { font-size: 14px; line-height: 1.95; color: var(--ink-soft); }
@media (max-width: 880px) {
  .staff-voices { grid-template-columns: 1fr; }
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.benefit {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
}
.benefit__ico {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  background: white;
  border-radius: 50%;
  display: grid; place-items: center;
}
.benefit h4 { font-family: var(--serif); font-size: 14px; margin-bottom: 6px; font-weight: 600; }
.benefit p { font-size: 12px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 720px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
}

/* ========== contact.html ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
}
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.field label .req {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(123,168,159,.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__submit {
  margin-top: 12px;
  width: 100%;
  padding: 16px;
  font-size: 16px;
}
.form__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.7;
  text-align: center;
}

.contact-side .access-card { margin-bottom: 16px; }
.contact-side .info-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  margin-top: 16px;
}
.contact-side .info-block h4 {
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 600;
}
.contact-side .info-block p { font-size: 13px; line-height: 1.85; color: var(--ink-soft); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
}
