
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy: #0B1220;
  --navy-light: #172337;
  --paper: #F8FAFC;
  --white: #FFFFFF;
  --lime: #D8FF4F;
  --gray: #6B7280;
  --line: #E4E8ED;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: "DM Sans", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #88A82D;
  outline-offset: 3px;
}

.header {
  height: 82px;
  padding: 0 6.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid rgba(11, 18, 32, 0.07);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--lime);
  border-radius: 10px;
  font-size: 23px;
  color: var(--navy);
  font-weight: 900;
  transform: skew(-5deg);
}

.logo-light {
  font-weight: 500;
}

.nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a,
.login-link {
  font-size: 12px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.nav a:hover,
.login-link:hover {
  opacity: 0.6;
}

.header-actions {
  gap: 18px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.button-dark:hover {
  background: var(--navy-light);
}

.button-lime {
  color: var(--navy);
  background: var(--lime);
}

.button-lime:hover {
  background: #c8f23c;
}

.button-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  background: transparent;
}

.button-outline:hover {
  color: var(--navy);
  background: var(--white);
}

.header-cta {
  min-height: 42px;
  padding: 0 16px;
  font-size: 11px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 25px;
  cursor: pointer;
}

.hero {
  min-height: 650px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 5%;
  padding: 75px 8% 95px;
  color: var(--white);
  background:
    radial-gradient(ellipse at 0% 100%, rgba(41, 64, 88, 0.45), transparent 45%),
    var(--navy);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.eyebrow,
.section-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #C6D0DF;
  margin-bottom: 30px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(216, 255, 79, 0.55);
}

.hero h1 {
  margin: 0;
  font-size: clamp(39px, 5.3vw, 70px);
  line-height: 1.35;
  letter-spacing: -2.5px;
  font-weight: 900;
}

.accent-text {
  color: var(--lime);
}

.hero-description {
  margin: 25px 0 30px;
  color: #C0C9D5;
  font-size: 14px;
  line-height: 2.15;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  color: #9BA8B9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.note-line {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--lime);
}

.hero-visual {
  position: relative;
  min-width: 0;
  max-width: 510px;
  width: 100%;
  justify-self: end;
}

.visual-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 180px 180px 12px 12px;
  background-color: #263A4C;
  background-image:
    linear-gradient(180deg, rgba(11,18,32,0.02) 20%, rgba(11,18,32,0.82) 100%),
    url("https://images.unsplash.com/photo-1526232761682-d26e03ac148e?auto=format&fit=crop&w=1100&q=85");
  background-size: cover;
  background-position: center;
}

.visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,18,32,0.06), rgba(11,18,32,0.25));
}


.visual-label {
  position: absolute;
  left: 30px;
  bottom: 160px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: calc(100% - 60px);
  z-index: 1;
}

.visual-label-small {
  font-size: 9px;
  letter-spacing: 2px;
  color: #D5DCE5;
}

.visual-label-large {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}


.floating-card {
  position: absolute;
  right: 20px;
  bottom: 30px;
  top: auto;
  max-width: 300px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  color: var(--navy);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.floating-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--lime);
  font-size: 21px;
}

.floating-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.floating-card p {
  margin: 6px 0 0;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}


.visual-number {
  margin-top: 15px;
  text-align: right;
  font-size: 18px;
  font-weight: 800;
}

.visual-number span {
  color: #7F8B9B;
  font-size: 11px;
}

.hero-bottom {
  position: absolute;
  bottom: 22px;
  left: 8%;
  right: 8%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8F9BAC;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero-bottom a {
  color: var(--lime);
}

.ticker {
  overflow: hidden;
  padding: 22px 0;
  color: var(--navy);
  background: var(--lime);
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 34px;
  animation: ticker-scroll 32s linear infinite;
}

.ticker-track .ticker-link {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.ticker-track .ticker-link:hover {
  opacity: .68;
  transform: translateY(-2px);
}

.ticker-track:hover,
.ticker-track:focus-within {
  animation-play-state: paused;
}

.ticker-track .ticker-link:focus-visible {
  outline-color: var(--navy);
}

.ticker-track i {
  font-size: 18px;
  font-style: normal;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}


.section {
  padding: 110px 8%;
}

@media (max-width: 768px) {
  .section {
    padding: 72px 5%;
  }
}

.section-heading,
.search-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

@media (max-width: 768px) {
  .section-heading,
  .search-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.section-kicker {
  margin: 0 0 19px;
  color: #7B8797;
}

.section h2,
.search-top h2,
.how-inner h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 47px);
  line-height: 1.45;
  letter-spacing: -1.8px;
  font-weight: 900;
}

.section-intro {
  max-width: 365px;
  margin: 0 0 6px;
  color: var(--gray);
  font-size: 13px;
  line-height: 2.1;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  min-width: 0;
  min-height: 310px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(11, 18, 32, 0.025);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #c5f36a;
  box-shadow: 0 16px 36px rgba(11, 18, 32, 0.08);
}

.feature-card-dark {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.feature-number {
  align-self: flex-end;
  color: #8A95A4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.feature-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  margin-top: 5px;
  border-radius: 13px;
  color: var(--navy);
  background: var(--lime);
  font-size: 27px;
}

.feature-card h3 {
  margin: 22px 0 12px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.feature-card p {
  margin: 0 0 28px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.feature-card-dark p {
  color: #C0C9D5;
}

.text-link {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
  }

  .feature-card {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 28px;
  }

  .feature-card {
    min-height: 270px;
    padding: 24px;
    border-radius: 14px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .feature-card p {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card {
    transition: none;
  }

  .feature-card:hover {
    transform: none;
  }
}

.availability-manager {
  max-width: 620px;
}

.availability-manager label {
  display: block;
  margin: 14px 0 6px;
  color: var(--navy);
  font-weight: 700;
}

.availability-manager input[type="date"],
.availability-manager select {
  display: block;
  width: min(100%, 440px);
  min-height: 46px;
  margin: 0 0 14px;
  padding: 10px 12px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #cbd5df;
  border-radius: 10px;
}

.availability-manager .button {
  margin-top: 6px;
}

.availability-single-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.availability-repeat {
  margin-top: 16px;
  padding: 0;
  background: #f3f7ed;
  border: 1px solid #dfe8d2;
  border-radius: 14px;
}

.availability-repeat > summary,
.availability-slots > summary {
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.availability-repeat > summary::-webkit-details-marker,
.availability-slots > summary::-webkit-details-marker {
  display: none;
}

.availability-repeat > summary::after,
.availability-slots > summary::after {
  content: "+";
  float: right;
  color: #708a20;
  font-size: 20px;
  line-height: 1;
}

.availability-repeat[open] > summary::after,
.availability-slots[open] > summary::after {
  content: "−";
}

.availability-repeat-content {
  padding: 0 16px 16px;
}

.availability-slots {
  margin-top: 12px;
  border: 1px solid #dbe2e8;
  border-radius: 14px;
}

.availability-slots > div {
  padding: 0 16px 12px;
}

.availability-weekdays {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #cbd5df;
  border-radius: 10px;
}

.availability-weekdays legend {
  padding: 0 6px;
  font-weight: 700;
}

.availability-weekdays label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.availability-weekdays input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: #9bc51c;
}

.availability-time-groups {
  display: grid;
  gap: 8px;
  margin: 10px 0 16px;
}

.availability-time-group {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe2e8;
  border-radius: 10px;
}

.availability-time-group > summary {
  padding: 11px 13px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.availability-time-group > summary::-webkit-details-marker {
  display: none;
}

.availability-time-group > summary::after {
  content: "+";
  float: right;
  color: #708a20;
  font-size: 18px;
  line-height: 1;
}

.availability-time-group[open] > summary::after {
  content: "−";
}

.availability-time-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 0 10px 10px;
}

.availability-manager .availability-time-option {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin: 0;
  padding: 7px 9px;
  background: #f7f9f5;
  border: 1px solid #e2e8de;
  border-radius: 8px;
  cursor: pointer;
}

.availability-time-option input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: #9bc51c;
}

@media (max-width: 600px) {
  .availability-repeat {
    margin-top: 12px;
  }

  .availability-single-grid {
    grid-template-columns: 1fr;
  }

  .availability-time-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.availability-slot-row button {
  flex: 0 0 auto;
}


.text-link {
  margin-top: auto;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 800;
}

.search-section {
  background: #EDF1F5;
}

.search-top {
  align-items: center;
}

.muted,
.results-caption {
  color: var(--gray);
  font-size: 12px;
  line-height: 1.8;
}

.search-decoration {
  color: #99A4B2;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.8;
  letter-spacing: 1.5px;
  text-align: right;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr auto;
  align-items: end;
  gap: 15px;
  margin-top: 35px;
  padding: 24px;
  background: var(--white);
  border: 1px solid #E3E8EF;
  border-radius: 13px;
  box-shadow: 0 12px 40px rgba(11,18,32,0.04);
}

.search-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 9px;
}

.search-field label {
  color: #7D8998;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.search-field select,
.search-field input {
  width: 100%;
  height: 47px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: #FAFBFC;
  font-size: 12px;
}

.search-button {
  min-height: 47px;
  white-space: nowrap;
  border: 0;
}

.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 55px 0 23px;
}

.results-heading .section-kicker {
  margin-bottom: 8px;
}

.results-heading h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.8px;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.coach-card {
  overflow: hidden;
  border: 1px solid #E0E6EC;
  border-radius: 13px;
  background: var(--white);
}

.coach-search-result {
  padding: 22px;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid #D9E1E9;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(11, 18, 32, .06);
}

.coach-search-result h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.coach-search-result p {
  margin: 7px 0;
  color: #465365;
  font-size: 13px;
  line-height: 1.65;
}

.coach-search-result .coach-distance {
  display: inline-block;
  padding: 5px 9px;
  color: #24320B;
  background: #EEF7C8;
  border-radius: 999px;
  font-weight: 800;
}

.coach-search-result .button {
  width: 100%;
  margin-top: 12px;
}

.coach-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.coach-card-body {
  padding: 20px;
}

.coach-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.coach-card p {
  color: var(--gray);
  font-size: 12px;
  line-height: 1.9;
}

.coach-card .button {
  width: 100%;
  margin-top: 12px;
}

.loading-message {
  grid-column: 1 / -1;
  padding: 35px;
  text-align: center;
  color: var(--gray);
  background: var(--white);
  border-radius: 10px;
}

.how-section {
  color: var(--white);
  background: var(--navy);
}

.how-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9%;
  align-items: start;
}

.how-inner h2 {
  margin-bottom: 20px;
}

.how-description {
  margin: 0 0 28px;
  color: #B6C1CF;
  font-size: 13px;
  line-height: 2.2;
}

.how-inner .section-kicker {
  color: var(--lime);
}

.steps {
  border-top: 1px solid #364153;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  gap: 15px;
  align-items: start;
  padding: 25px 0;
  border-bottom: 1px solid #364153;
}

.step > span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
}

.step h3 {
  margin: 0 0 9px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: #B6C1CF;
  font-size: 12px;
  line-height: 1.9;
}

.step b {
  color: var(--lime);
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 8%;
  text-align: center;
  background: var(--lime);
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section .section-kicker {
  color: #58652D;
}

.cta-section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -2px;
}

.cta-section h2 span {
  color: #44511D;
}

.cta-section p:not(.section-kicker) {
  margin: 20px 0 28px;
  font-size: 13px;
}

.cta-section .button {
  color: var(--white);
  background: var(--navy);
}

.cta-section .button:hover {
  background: var(--navy-light);
}

.cta-watermark {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(11,18,32,0.055);
  white-space: nowrap;
  font-size: clamp(55px, 12vw, 150px);
  font-weight: 900;
  letter-spacing: -7px;
  pointer-events: none;
}

.footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 8%;
  color: var(--white);
  background: #080E18;
}

.footer-logo {
  font-size: 15px;
}

.footer p,
.copyright {
  color: #9AA6B6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

@media (max-width: 1100px) {
  .header {
    padding: 0 4%;
    gap: 15px;
  }

  .nav,
  .header-actions {
    gap: 14px;
  }

  .nav a,
  .login-link {
    font-size: 10px;
  }

  .hero {
    padding-right: 6%;
    padding-left: 6%;
    gap: 4%;
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .search-button {
    width: 100%;
  }
}

[hidden] {
  display: none !important;
}

.map-search-tools,
.prefecture-map-panel,
.coach-results-map-panel {
  margin-top: 20px;
  padding: 22px;
  background: #FFFFFF;
  border: 1px solid #D9E1E9;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(11, 18, 32, .06);
}

.map-search-tools {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 16px 24px;
  align-items: center;
}

.map-search-copy .section-kicker {
  display: block;
  margin: 0 0 8px;
  color: #667522;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.map-search-copy h3,
.map-panel-heading h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px;
}

.map-search-copy p,
.map-panel-heading p,
.location-picker-message {
  margin: 0;
  color: #566274;
  font-size: 12px;
  line-height: 1.8;
}

.location-mode-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.location-mode-button {
  min-height: 42px;
  padding-inline: 14px;
  color: var(--navy);
  background: #F3F6F8;
  border: 1px solid #D9E1E9;
  border-radius: 999px;
  font-size: 12px;
}

.location-mode-button:hover,
.map-close-button:hover {
  background: #EAF2C7;
  border-color: #B6CF45;
}

.location-selection-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 11px 14px;
  color: #293448;
  background: #F5F8E9;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.7;
}

.distance-filter {
  grid-column: 1 / -1;
  max-width: 240px;
}

.distance-filter select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1px solid #D9E1E9;
  border-radius: 9px;
}

.prefecture-map-panel,
.coach-results-map-panel {
  overflow: hidden;
}

.map-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}

.map-panel-heading h2 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 21px;
}

.map-close-button {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 15px;
  color: var(--navy);
  background: #F3F6F8;
  border: 1px solid #D9E1E9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.prefecture-map {
  display: grid;
  min-height: 180px;
  place-items: center;
  overflow-x: auto;
  background: #F6F9FB;
  border-radius: 12px;
}

.geolonia-svg-map {
  display: block;
  width: min(100%, 760px);
  height: auto;
  padding: 16px;
}

.geolonia-svg-map .prefecture {
  fill: #FFFFFF;
  stroke: #93A0AE;
  stroke-width: 1.2;
  cursor: pointer;
  transition: fill 150ms ease, stroke 150ms ease;
}

.geolonia-svg-map .prefecture:hover,
.geolonia-svg-map .prefecture:focus-visible {
  fill: #E9F6A8;
  stroke: #566B0D;
  outline: none;
}

.geolonia-svg-map .prefecture.is-selected {
  fill: var(--lime);
  stroke: #42510D;
  stroke-width: 2;
}

.map-credit {
  margin: 10px 0 0;
  color: #687487;
  font-size: 10px;
  line-height: 1.6;
}

.map-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.coach-results-map {
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #E6EEF3;
  border-radius: 12px;
  z-index: 0;
}

.location-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(6, 14, 24, .72);
}

body.location-picker-open {
  overflow: hidden;
}

.map-fallback-message {
  width: 100%;
  margin: 0;
  padding: 16px;
  color: #526071;
  font-size: 12px;
}

.location-picker-dialog {
  width: min(900px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 24px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.location-picker-map {
  width: 100%;
  height: min(55vh, 520px);
  min-height: 300px;
  margin: 14px 0;
  background: #E6EEF3;
  border-radius: 12px;
  z-index: 0;
}

.location-picker-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.location-picker-actions .button:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.prefecture-list-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
}

.prefecture-list-fallback button {
  padding: 8px 12px;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid #D9E1E9;
  border-radius: 999px;
  cursor: pointer;
}

.prefecture-list-fallback button:hover {
  background: var(--lime);
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 70px;
  }

  .header {
    height: 70px;
    padding: 0 5%;
  }

  .logo {
    font-size: 15px;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    padding: 22px 5%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    padding: 15px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
  }

  .map-search-tools {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-actions {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 65px 6% 75px;
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 58px);
    letter-spacing: -1.7px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-note {
    margin-top: 30px;
  }

  .hero-visual {
    width: 90%;
    justify-self: center;
  }

  .visual-image {
    min-height: 350px;
    border-radius: 150px 150px 10px 10px;
  }

  .floating-card {
    right: -14px;
    top: 28px;
    max-width: 220px;
  }

  .hero-bottom {
    left: 6%;
    right: 6%;
    font-size: 8px;
    letter-spacing: 0.6px;
  }

  .ticker {
    padding: 17px 0;
  }

  .ticker-track {
    gap: 23px;
  }

  .ticker-track .ticker-link {
    font-size: 15px;
  }

  .section {
    padding: 75px 6%;
  }

  .section-heading,
  .search-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section h2,
  .search-top h2,
  .how-inner h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .section-intro {
    font-size: 12px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 35px;
  }

  .feature-card {
    min-height: 250px;
  }

  .search-decoration {
    display: none;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 18px;
  }

  .search-field select,
  .search-field input {
    height: 49px;
  }

  .results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
  }

  .coach-grid {
    grid-template-columns: 1fr;
  }

  .coach-card img {
    height: 230px;
  }

  .how-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-section {
    padding: 75px 6%;
  }

  .cta-section h2 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .footer {
    flex-wrap: wrap;
    padding: 25px 6%;
  }

  .footer p {
    order: 3;
    width: 100%;
  }

  .copyright {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
  .floating-card {
    right: 10px;
    left: 10px;
    bottom: 20px;
    top: auto;
    max-width: none;
    box-sizing: border-box;
    gap: 10px;
    padding: 14px;
  }

  .floating-card strong {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .floating-card p {
    font-size: 12px;
  }
}

/* コーチ検索セクションのスマホ表示 */
@media (max-width: 768px) {
  .search-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .search-top h2 {
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.4;
    letter-spacing: -0.03em;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .search-decoration {
    font-size: 11px;
  }
}

/* 始め方セクションのスマホ表示 */
@media (max-width: 768px) {
  .how-inner h2 {
    font-size: clamp(23px, 5.8vw, 30px);
    line-height: 1.4;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }
}

/* ==============================
   SPORTS LINK：コーチ一覧デザイン
============================== */

.coach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.coach-grid .card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e8eae6;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(20, 30, 20, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.coach-grid .card:hover {
  transform: translateY(-5px);
  border-color: #b8e64b;
  box-shadow: 0 18px 38px rgba(20, 30, 20, 0.09);
}

.coach-grid .card h3 {
  margin: 0 0 16px;
  color: #151713;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.coach-grid .card p {
  margin: 0 0 12px;
  color: #5d6259;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.coach-grid .card p.price {
  margin-top: 8px;
  color: #171a14;
  font-size: 23px;
  font-weight: 750;
}

.coach-grid .card .button {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 13px 18px;
  border: 0;
  border-radius: 10px;
  background: #c5f36a;
  color: #171a14;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.coach-grid .card .button:hover {
  background: #b3e653;
  transform: translateY(-1px);
}

/* スマホ表示 */
@media (max-width: 640px) {
  .coach-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .coach-grid .card {
    padding: 22px;
    border-radius: 15px;
  }

  .coach-grid .card h3 {
    font-size: 20px;
  }
}

/* 動きを控えたい人への配慮 */
@media (prefers-reduced-motion: reduce) {
  .coach-grid .card,
  .coach-grid .card .button {
    transition: none;
  }

  .coach-grid .card:hover,
  .coach-grid .card .button:hover {
    transform: none;
  }
}

/* ===== SPORTS LINK コーチカード ===== */

.coach-card {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(11, 18, 32, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.coach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.10);
}

.coach-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf0f2;
}

.coach-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #8b96a5;
  background: linear-gradient(135deg, #edf0f2, #dfe5e9);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
}

.coach-card-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
}

.coach-sport-tag {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 5px;
  background: var(--lime);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.coach-card-content h3 {
  margin: 16px 0 10px;
  font-size: 21px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.coach-card-description {
  min-height: 48px;
  margin: 0 0 18px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.coach-card-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 12px;
}

.coach-card-info span {
  overflow-wrap: anywhere;
}

.coach-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.coach-price strong {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
}

.coach-price span {
  color: var(--gray);
  font-size: 11px;
}

.coach-card-bottom .button {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .coach-card-content {
    padding: 20px;
  }

  .coach-card-content h3 {
    font-size: 19px;
  }

  .coach-card-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .coach-card-bottom .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coach-card {
    transition: none;
  }

  .coach-card:hover {
    transform: none;
  }
}

/* ==============================
   SPORTS LINK コーチカード改善
============================== */

.coach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.coach-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.coach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.09);
}

.coach-card-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f1ed;
}

.coach-card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-card-content {
    padding: 22px;
}

.coach-sport-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 5px;
    background: #eaff70;
    color: #171717;
    font-size: 12px;
    font-weight: 700;
}

.coach-card-content h3 {
    margin: 0 0 12px;
    color: #171717;
    font-size: 21px;
    font-weight: 800;
}

.coach-card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #666;
    font-size: 13px;
}

.coach-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.coach-price {
    color: #171717;
    font-size: 20px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .coach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .coach-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .coach-card-content {
        padding: 18px;
    }
}

/* My Page: clearer hierarchy and responsive reservation cards */
#mypage {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 6vw, 88px);
  color: var(--navy);
  background: #F4F7FA;
}

#mypageContent {
  width: min(100%, 1240px);
  margin: 0 auto;
}

#mypageContent > h3:first-child {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -.04em;
  animation: sl-mypage-enter 520ms cubic-bezier(.2, .75, .25, 1) both;
}

#mypageContent > p:first-of-type {
  display: inline-block;
  margin: 8px 0 22px;
  padding: 9px 14px;
  color: #344154;
  background: #E9EEF4;
  border: 1px solid #D6DEE8;
  border-radius: 999px;
  font-size: 13px;
  overflow-wrap: anywhere;
  animation: sl-mypage-enter 560ms cubic-bezier(.2, .75, .25, 1) 60ms both;
}

#mypageContent > hr {
  margin: 8px 0 24px;
  border: 0;
  border-top: 1px solid #D6DEE8;
}

#mypageContent > br {
  display: none;
}

#mypageContent > .button {
  display: inline-flex;
  min-height: 44px;
  margin: 0 10px 10px 0;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  color: #0B1220;
  background: #D8FF4F;
  border: 1px solid #C3E83D;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(11, 18, 32, .07);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

#mypageContent > .button:hover {
  color: #0B1220;
  background: #E5FF86;
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(11, 18, 32, .12);
}

#mypageContent > h3:not(:first-child) {
  margin: 42px 0 16px;
  color: #0B1220;
  font-size: clamp(21px, 2.4vw, 28px);
  letter-spacing: -.025em;
}

#myReservations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin: 0 0 24px;
}

#myReservations > .card {
  min-width: 0;
  margin-top: 0 !important;
  padding: 22px;
  color: #0B1220;
  background: #FFFFFF;
  border: 1px solid #D9E1E9;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(11, 18, 32, .07);
  animation: sl-reservation-enter 520ms cubic-bezier(.2, .75, .25, 1) both;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

#myReservations > .card:nth-child(2) { animation-delay: 60ms; }
#myReservations > .card:nth-child(3) { animation-delay: 120ms; }
#myReservations > .card:nth-child(4) { animation-delay: 180ms; }
#myReservations > .card:nth-child(5) { animation-delay: 240ms; }
#myReservations > .card:nth-child(6) { animation-delay: 300ms; }

#myReservations > .card:hover {
  border-color: #C3E83D;
  box-shadow: 0 16px 34px rgba(11, 18, 32, .12);
  transform: translateY(-4px);
}

#myReservations > .card h3 {
  margin: 0 0 8px;
  color: #0B1220;
  font-size: 20px;
  line-height: 1.4;
}

#myReservations > .card p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  color: #344154;
  border-bottom: 1px solid #E8EDF2;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

#myReservations > .card p:first-of-type {
  display: block;
  color: #526071;
  font-weight: 700;
}

#myReservations > .card p strong {
  color: #0B1220;
  text-align: right;
}

#myReservations > .card .button {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  color: #0B1220;
  background: #D8FF4F;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

#myReservations > .card .button:hover {
  color: #0B1220;
  background: #E5FF86;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 18, 32, .14);
}

#myReservations > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px;
  color: #344154;
  background: #FFFFFF;
  border: 1px solid #D9E1E9;
  border-radius: 14px;
}

@keyframes sl-mypage-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sl-reservation-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Gentle motion and responsive feedback across the page */
.hero-content {
  animation: sl-mypage-enter 650ms cubic-bezier(.2, .75, .25, 1) both;
}

.hero-visual {
  animation: sl-reservation-enter 780ms cubic-bezier(.2, .75, .25, 1) 100ms both;
}

.floating-card {
  animation: sl-float 5.5s ease-in-out 1s infinite;
}

.feature-card,
.coach-card,
.button {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 180ms ease;
}

.feature-card:hover,
.coach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(11, 18, 32, .12);
}

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

@media (max-width: 900px) {
  #myReservations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #mypage {
    padding: 48px 18px;
  }

  #mypageContent > .button {
    margin-right: 6px;
    margin-bottom: 8px;
    padding-inline: 14px;
    font-size: 12px;
  }

  #mypageContent > h3:not(:first-child) {
    margin-top: 32px;
  }

  #myReservations {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #myReservations > .card {
    padding: 18px;
  }

  .map-search-tools {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 17px;
  }

  .location-mode-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .location-mode-button {
    width: 100%;
  }

  .prefecture-map-panel,
  .coach-results-map-panel {
    padding: 16px;
  }

  .coach-results-map {
    height: 300px;
  }

  .location-picker-modal {
    padding: 8px;
  }

  .location-picker-dialog {
    padding: 16px;
    border-radius: 14px;
  }

  .location-picker-map {
    height: 48vh;
    min-height: 260px;
  }

  .location-picker-actions .button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none !important;
  }

  .hero-content,
  .hero-visual,
  .floating-card,
  #mypageContent > h3:first-child,
  #mypageContent > p:first-of-type,
  #myReservations > .card {
    animation: none !important;
  }

  #mypageContent > .button,
  #myReservations > .card,
  #myReservations > .card .button,
  .feature-card,
  .coach-card,
  .ticker-track .ticker-link,
  .button {
    transition: none !important;
  }

  #mypageContent > .button:hover,
  #myReservations > .card:hover,
  #myReservations > .card .button:hover,
  .feature-card:hover,
  .coach-card:hover,
  .button:hover {
    transform: none !important;
  }
}

/* Final project theme: navy, white, and restrained blue accents. */
:root {
  --navy: #0B1220;
  --navy-light: #1B2A40;
  --paper: #F6F8FB;
  --white: #FFFFFF;
  --lime: #B7CBE4;
  --gray: #4B5869;
  --line: #DCE3EB;
}

body {
  color: var(--navy);
  background: var(--paper);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline-color: #6686AE;
}

.logo-mark,
.status-dot,
.feature-icon {
  background: var(--lime);
}

.status-dot {
  box-shadow: 0 0 14px rgba(183, 203, 228, 0.5);
}

.button-lime,
#mypageContent > .button,
#myReservations > .card .button {
  color: var(--navy);
  background: #B7CBE4;
  border-color: #9FB6D3;
}

.button-lime:hover,
#mypageContent > .button:hover,
#myReservations > .card .button:hover {
  color: var(--navy);
  background: #A5BCD8;
  border-color: #8FA8C7;
}

.feature-card:hover,
.coach-grid .card:hover,
.coach-card:hover {
  border-color: #AFC2DC;
}

.coach-search-result .coach-distance {
  color: #20334A;
  background: #E8EEF6;
}

.how-section {
  color: #FFFFFF;
  background: #0B1220;
}

.how-inner .section-kicker,
.step > span,
.step b {
  color: #B7CBE4;
}

.how-inner h2 {
  max-width: 14em;
  color: #FFFFFF;
  line-height: 1.35;
  white-space: normal;
}

.how-description,
.step p {
  color: #D0D9E5;
}

.steps {
  border-color: #344256;
}

.step {
  border-color: #344256;
}

.cta-section {
  color: var(--navy);
  background: #DCE6F1;
}

.cta-section .section-kicker,
.cta-section h2 span {
  color: #334C68;
}

.cta-section .cta-watermark {
  color: rgba(11, 18, 32, 0.08);
}

.availability-repeat {
  background: #F1F5FA;
  border-color: #D5DFEA;
}

.availability-repeat > summary::after,
.availability-slots > summary::after,
.availability-time-group > summary::after {
  color: #526D8E;
}

.availability-weekdays input[type="checkbox"],
.availability-time-option input[type="checkbox"] {
  accent-color: #617FA5;
}

.availability-time-option {
  color: #213147;
  background: #F6F8FB;
  border-color: #D9E1EB;
}

.availability-manager .availability-time-option:has(input:checked) {
  background: #E4ECF6;
  border-color: #91A9C7;
}

.location-mode-button:hover,
.map-close-button:hover {
  background: #E6EDF6;
  border-color: #AFC2DC;
}

.location-selection-status {
  color: #213147;
  background: #EEF3F8;
}

.map-search-copy .section-kicker {
  color: #486683;
}

.geolonia-svg-map .prefecture:hover,
.geolonia-svg-map .prefecture:focus-visible {
  fill: #E4ECF6;
  stroke: #6686AE;
}

.geolonia-svg-map .prefecture.is-selected {
  fill: #B7CBE4;
  stroke: #486683;
}

.coach-grid .card .button {
  color: var(--navy);
  background: #B7CBE4;
  border-color: #9FB6D3;
}

.coach-grid .card .button:hover {
  color: var(--navy);
  background: #A5BCD8;
}

@media (max-width: 768px) {
  .how-inner h2 {
    white-space: normal;
  }
}

.checkout-return-notice:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 14px 20px;
  color: #FFFFFF;
  background: #172337;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.checkout-return-notice a {
  color: #D6E4F3;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-dialog {
  width: min(560px, calc(100% - 24px));
  max-width: 560px;
  max-height: min(92vh, 850px);
  padding: 0;
  overflow: visible;
  color: var(--navy);
  background: transparent;
  border: 0;
}

.site-dialog::backdrop {
  background: rgba(6, 14, 24, 0.72);
  backdrop-filter: blur(3px);
}

.site-dialog-panel {
  position: relative;
  max-height: min(92vh, 850px);
  overflow: auto;
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid #DCE3EB;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.site-dialog-panel > .section-kicker {
  margin: 0 0 10px;
  color: #486683;
}

.site-dialog-panel > h2 {
  margin: 0 42px 12px 0;
  font-size: clamp(23px, 5vw, 30px);
  line-height: 1.4;
}

.site-dialog-panel > p:not(.section-kicker) {
  color: #4B5869;
  line-height: 1.8;
}

.site-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  color: #213147;
  background: #F0F3F7;
  border: 1px solid #DCE3EB;
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
}

.site-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.site-form {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.site-form label {
  margin-top: 8px;
  color: #213147;
  font-size: 13px;
  font-weight: 800;
}

.site-form input,
.site-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid #C9D3DF;
  border-radius: 10px;
  font: inherit;
}

.site-form textarea {
  min-height: 130px;
  resize: vertical;
}

.site-form input:focus-visible,
.site-form textarea:focus-visible {
  outline: 3px solid #8EA9C9;
  outline-offset: 2px;
}

.site-form .button {
  width: 100%;
  margin-top: 8px;
}

.site-form-intro,
.site-location-setting small {
  color: #4B5869;
  font-size: 12px;
  line-height: 1.7;
}

.site-form-message {
  min-height: 1.5em;
  margin: 4px 0;
  color: #273E59;
  font-size: 13px;
  line-height: 1.7;
}

.text-button {
  justify-self: center;
  padding: 8px;
  color: #334C68;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.site-location-setting {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 14px;
  background: #F2F5F9;
  border: 1px solid #DCE3EB;
  border-radius: 12px;
}

.site-location-setting p {
  margin: 0;
  color: #273E59;
  font-size: 13px;
}

.site-location-setting .button {
  width: fit-content;
  min-height: 42px;
}

#mypageContent {
  padding: clamp(20px, 4vw, 36px);
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid #DCE3EB;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.06);
}

.mypage-heading,
.mypage-subheading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.mypage-heading h3,
.mypage-subheading h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
}

.mypage-heading p,
.mypage-subheading > p {
  color: #4B5869;
  font-size: 13px;
  line-height: 1.7;
}

.mypage-email {
  overflow-wrap: anywhere;
  text-align: right;
}

.mypage-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid #E2E7EE;
}

.mypage-actions .button {
  width: 100%;
  min-height: 48px;
  padding-inline: 12px;
  color: #1E2C40;
  background: #F2F5F9;
  border: 1px solid #DCE3EB;
  border-radius: 10px;
}

.mypage-actions .button:hover {
  background: #E6EDF6;
  border-color: #AFC2DC;
}

.mypage-actions .button-secondary {
  color: #465365;
  background: #FFFFFF;
}

.mypage-reservations-section {
  margin-top: 28px;
}

.mypage-subheading {
  margin-bottom: 14px;
}

.mypage-subheading .section-kicker {
  margin: 0 0 6px;
  color: #486683;
}

.mypage-subheading > p {
  margin: 0;
}

#myReservations.my-reservations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#myReservations > .card {
  min-width: 0;
  margin: 0 !important;
  padding: 20px;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid #DCE3EB;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.045);
}

#myReservations > .card p {
  color: #465365;
  line-height: 1.7;
}

#myReservations > .card h3 {
  overflow-wrap: anywhere;
}

.availability-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  gap: 24px;
  align-items: center;
  margin: 20px 0 26px;
  padding: 26px;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid #D9E1E9;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(11, 18, 32, .06);
}

.availability-search-heading .section-kicker {
  margin: 0 0 8px;
}

.availability-search-heading h3 {
  margin: 0 0 8px;
  font-size: 23px;
  letter-spacing: -.5px;
}

.availability-search-heading > p:last-child {
  max-width: 620px;
  margin: 0;
  color: #526174;
  font-size: 13px;
  line-height: 1.75;
}

.availability-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 12px;
  align-items: end;
}

.availability-search-controls label {
  grid-column: 1 / -1;
  color: #465365;
  font-size: 12px;
  font-weight: 800;
}

.availability-search-controls input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  color: var(--navy);
  background: #F8FAFC;
  border: 1px solid #C9D3DF;
  border-radius: 8px;
  font: inherit;
}

.availability-search-controls .button {
  min-height: 48px;
  white-space: nowrap;
}

.all-coach-available-slots {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 4px;
}

.availability-loading,
.availability-empty,
.availability-warning {
  margin: 0;
  padding: 16px 18px;
  color: #465365;
  background: #F5F8FB;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.availability-warning {
  margin-bottom: 12px;
  color: #80520A;
  background: #FFF8E8;
  border-color: #F0D99F;
}

.available-slots-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 8px 0 14px;
  color: var(--navy);
}

.available-slots-summary strong {
  font-size: 20px;
}

.available-slots-summary span {
  color: #526174;
  font-size: 13px;
  font-weight: 700;
}

.available-coach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.available-coach-card {
  min-width: 0;
  padding: 18px;
  background: #FFFFFF;
  border: 1px solid #D9E1E9;
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(11, 18, 32, .045);
}

.available-coach-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.available-coach-heading h4 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 17px;
}

.available-coach-heading p {
  margin: 0;
  color: #526174;
  font-size: 12px;
  line-height: 1.6;
}

.available-coach-price {
  flex: 0 0 auto;
  color: #22320B;
  font-size: 13px;
  text-align: right;
}

.available-time-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 8px;
}

.available-time-button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  color: var(--navy);
  background: #F3F7FA;
  border: 1px solid #CFDAE5;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.available-time-button span:first-child {
  font-size: 17px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.available-time-button span:last-child {
  color: #526174;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.available-time-button:hover:not(:disabled) {
  background: #EAF6B8;
  border-color: #B5D63D;
  transform: translateY(-1px);
}

.available-time-button:focus-visible,
.availability-search-controls input:focus-visible {
  outline: 3px solid rgba(36, 107, 253, .28);
  outline-offset: 2px;
}

.available-time-button:disabled {
  cursor: wait;
  opacity: .65;
}

.available-time-button.is-booking {
  background: #EAF6B8;
}

.availability-booking-note {
  margin: 14px 0 0;
  color: #526174;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .availability-search-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 19px;
  }

  .availability-search-controls {
    grid-template-columns: 1fr;
  }

  .availability-search-controls label {
    grid-column: auto;
  }

  .availability-search-controls .button {
    width: 100%;
  }

  .available-coach-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  #myReservations.my-reservations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-dialog-panel {
    padding: 25px 18px;
    border-radius: 16px;
  }

  .site-dialog-actions {
    display: grid;
  }

  .site-dialog-actions .button {
    width: 100%;
  }

  .mypage-heading,
  .mypage-subheading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .mypage-email {
    margin: 0;
    text-align: left;
  }

  .mypage-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #myReservations.my-reservations-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
