@import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap");

/* ==========================================================
   Design Tokens
   ========================================================== */
:root {
  --font-base: "Zen Old Mincho", serif;

  --color-brand: #028760;
  --color-heading: #432f2f;
  --color-heading-strong: #250d00;
  --color-text: #2b2b2b;
  --color-muted: #727171;
  --color-hover: #82ae46;

  --color-white: #fff;
  --color-brand-soft: #eef7f3;
  --color-border-soft: #d8e6df;
  --color-section-bg: #e5e3df;
  --color-muted-accent: #8a918c;
  --color-warm-bg: #f7f4f0;

  --content-wide: 1200px;
  --content-default: 900px;
  --header-height: 50px;
  --breakpoint-sp: 768px;
}

/* ==========================================================
   Base
========================================================== */

h1.entry-title {
  display: none;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden !important;
}

.top-page {
  padding-top: var(--header-height);
}

.top-fv {
  min-height: calc(100vh - var(--header-height));
}

.lp-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.l-container {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 16px;
}

.l-container--narrow {
  max-width: var(--content-default);
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  width: 100%;
  max-width: var(--content-default);
  margin: 3rem auto;
  padding: 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-base);
  font-weight: 600;
  color: var(--color-heading);
  margin: 0.5rem auto;
  text-align: center;
}

h2 {
  color: var(--color-heading-strong);
}

h3,
h4,
h5,
h6 {
  color: var(--color-heading);
}

p {
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.1em;
  margin: 0.1rem auto;
}

/* ==========================================================
   First View
========================================================== */

.fv {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.fv-image {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 16 / 8;

  background-image: url("https://kochi-lp.xrea.jp/wp-content/uploads/2026/07/fv-pc.webp");
  background-size: cover;
  background-position: center 10%;
  background-repeat: no-repeat;

  filter: brightness(108%);
}

/* PC */
.fv-text {
  position: absolute;

  /* FVの中央に配置 */
  top: 43%;
  left: 0;
  right: 0;
  bottom: auto;
  transform: translateY(-50%);

  width: 100%;
  max-width: none;
  height: auto;
  box-sizing: border-box;

  padding: 0.5rem 0;

  background: rgba(255, 255, 255, 0.);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 0;
  border-right: 0;
  border-radius: 0;

  box-shadow: none;
}

.fv h2 {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto 0.5rem;

  font-family: var(--font-base);
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;

  color: var(--color-white);
  text-align: center;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.fv-catch {
  width: 95%;
  max-width: 1500px;
  margin: 0 auto;

  font-family: var(--font-base);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.07em;

  color: var(--color-white);
  text-align: center;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.fv-rating {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 700;
}

.sp-only {
  display: none;
}

/* backdrop-filter非対応ブラウザ */
@supports not (
  (-webkit-backdrop-filter: blur(5px)) or
  (backdrop-filter: blur(5px))
) {
  .fv-text {
    background: rgba(35, 35, 35, 0.5);
  }
}

/* ==========================================================
   First View：SP
========================================================== */
@media (max-width: 768px) {

  .fv {
    position: relative;
    display: block;

    width: 100%;
    height: 65vh;
    min-height: 360px;

    margin: 0;
    overflow: hidden;
  }

  .fv-image {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    aspect-ratio: auto;
    margin: 0;

    background-image: url("https://kochi-lp.xrea.jp/wp-content/uploads/2026/07/fv-sp.webp");
    background-size: cover;
    background-position: center 5%;
    background-repeat: no-repeat;
  }

  .fv-text {
    position: absolute;
    z-index: 2;

    top: auto;
    left: 0;
    right: 0;
    bottom: 0;

    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;

    margin: 0;
    padding: 0.2rem 0;
    box-sizing: border-box;

    transform: none;

    background: rgba(30, 30, 30, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
    border-right: 0;
    border-radius: 0;

    box-shadow: none;
  }

  .fv h2 {
    width: 90%;
    max-width: none;
    margin: 0 auto 0.2rem;

    font-size: clamp(1.2rem, 4vw, 1.45rem);
    line-height: 1.35;
    letter-spacing: 0.06em;

    color: #fff;
    text-align: center;
  }

  .fv-catch {
    width: 90%;
    max-width: none;
    margin: 0 auto;

    font-size: 0.9rem;
    line-height: 1.45;
    letter-spacing: 0.04em;

    color: #fff;
    text-align: center;
  }

  .fv-rating {
    display: inline-block;
    margin: 0.25rem 0;
    font-size: 1rem;
  }

  .sp-only {
    display: inline;
  }
}

/* ==========================================================
   SP FV位置固定：最終上書き
========================================================== */
@media screen and (max-width: 768px) {

  .fv-wrapper {
    position: relative !important;

    width: 100vw !important;
    height: 65vh !important;
    min-height: 360px !important;

    margin: 0 calc(50% - 50vw) !important;
    padding: 0 !important;

    overflow: hidden !important;
  }

  .fv-wrapper > .fv {
    position: static !important;
    display: block !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .fv-wrapper .fv-image {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;

    background-image:
      url("https://kochi-lp.xrea.jp/wp-content/uploads/2026/07/fv-sp.webp") !important;
    background-size: cover !important;
    background-position: center 5% !important;
    background-repeat: no-repeat !important;
  }

  .fv-wrapper .fv-text {
    position: absolute !important;
    z-index: 10 !important;

    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0.2rem 0 !important;

    transform: none !important;
    box-sizing: border-box !important;

    background: rgba(35, 35, 35, 0.22) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
  }

  .fv-wrapper .fv h2 {
    width: 90% !important;
    margin: 0 auto 0.2rem !important;

    color: #fff !important;
    font-size: clamp(1.2rem, 4vw, 1.45rem) !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }

  .fv-wrapper .fv-catch {
    width: 90% !important;
    margin: 0 auto !important;

    color: #fff !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }
}

/* ==========================================================
   FV CTA / Common Buttons
========================================================== */

.cta-fv-sp {
  display: none;
}

@media (min-width: 769px) {
  .cta-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1000px;
    margin: 1rem auto 1rem;
    padding: 0 20px;
  }

  .cta-buttons a {
    display: block;
    flex: 1;
    max-width: 420px;
  }

  .cta-buttons img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {

  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem auto 1.6rem;
    padding: 0 1rem;
  }

  .cta-buttons a {
    width: 100%;
    max-width: 400px;
  }

  .cta-buttons img {
    display: block;
    width: 100%;
    height: auto;
  }

  .cta-fv-sp {
    display: block;
    text-align: center;
    margin: 1rem auto 1.6rem;
    padding: 0 1rem;
  }

  .cta-fv-note {
    margin: 0.25rem auto 0.4rem;
    font-size: 0.8rem;
    color: var(--color-muted);
  }

  a.btn-radius-solid {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-brand) 35%, transparent);
    background: linear-gradient(to bottom, #e6f4ef 0%, #cfe9df 100%);
    color: var(--color-brand);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-align: center;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    transition: background 0.25s ease, transform 0.2s ease;
  }
}
  a.btn-radius-solid .fa-position-right {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
  }

@media (hover: hover) and (pointer: fine) {
  a.btn-radius-solid:hover {
    background: linear-gradient(to bottom, #d9efe7 0%, #bfe1d5 100%);
    transform: translateY(-1px);
  }
}

/* ==========================================================
   Problem Section
========================================================== */

.problem-section {
  background: var(--color-section-bg);
  margin-top: 0;
  padding: 2rem 1rem 2.2rem;
  text-align: center;
}

.problem-inner {
  max-width: var(--content-default);
  margin: 0 auto;
}

.lead-text,
.message-text,
.end-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  margin: 1.2rem auto;
  text-align: center;
  max-width: 800px;
}

.highlight {
  font-weight: 700;
  color: var(--color-brand);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 800px;
  margin: 1.5rem auto;
}

.problem-item {
  background: #ffffff;
  border: 2px solid var(--color-border-soft);
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.problem-text {
  font-size: 0.8rem;
  color: var(--color-text);
  font-weight: 500;
  text-align: justify;
  margin: 0;
}

@media (min-width: 769px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
  }
}

@media (max-width: 768px) {
  .problem-section {
    padding: 2.2rem 1rem;
  }

  .message-text {
    text-align: left;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    width: 92%;
  }

  .problem-item {
    padding: 10px;
    min-height: 3rem;
  }

  .problem-text {
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: left;
  }
}

/* ==========================================================
   Menu / Voice Tabs
========================================================== */

.tab-block {
  width: 100%;
  max-width: var(--content-default);
  margin: 3rem auto 1.5rem;
  padding: 0;
  text-align: center;
}

.tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: min(100%, 640px);
  margin: 0 auto 1.5rem;
  padding: 4px;
  background: var(--color-brand-soft);
  border-radius: 999px;
}

.tab-btn {
  flex: 1;
  padding: 6px 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-brand);
  font-family: var(--font-base);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.tab-btn.active,
.tab-btn[aria-selected="true"] {
  background: var(--color-brand);
  color: var(--color-white);
}

.tab-content {
  display: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 1.5rem;
}

.tab-content.active {
  display: block;
}

/* Menu */
.menu-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
}

.menu-image-overlay {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  background-image: url("https://kochi-lp.xrea.jp/wp-content/uploads/2026/07/menu.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.menu-image-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.10);
  pointer-events: none;
}

.menu-overlay-text {
  position: relative;
  z-index: 2;
  width: min(88%, 820px);
  margin: 2.5rem auto;
  padding: 1.6rem 2rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.menu-overlay-subtitle {
  margin: 0.45rem auto 0.05rem;
  color: var(--color-heading-strong);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
}

.menu-overlay-desc {
  margin: 0 auto 0.55rem;
  color: var(--color-text);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

/* Voice */
.voice-section {
  width: 100%;
  max-width: var(--content-wide);
  margin: 1.5rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.voice-slider {
  display: flex;
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.voice-slider::-webkit-scrollbar {
  display: none;
}

.voice-item {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
}

.voice-box {
  width: min(100%, 900px);
  padding: 1px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(2, 135, 96, 0.35),
    rgba(130, 174, 70, 0.25)
  );
}

.voice-inner {
  padding: 1.5rem 2rem;
  border-radius: 11px;
  background: var(--color-white);
}

.voice-inner h3 {
  margin: 0 auto 0.7rem;
  color: var(--color-brand);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.voice-inner p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-align: center;
}

.voice-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 1rem auto 0;
}

.voice-dots .dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-brand) 25%, transparent);
  cursor: pointer;
}

.voice-dots .dot.active,
.voice-dots .dot[aria-current="true"] {
  background: color-mix(in srgb, var(--color-brand) 90%, transparent);
}

@media (hover: hover) and (pointer: fine) {
  .tab-btn:hover {
    background: color-mix(in srgb, var(--color-brand) 12%, transparent);
  }
}

@media screen and (max-width: 768px) {
  .tab-block {
    margin-top: 2rem;
  }

  .tabs {
    width: 100%;
    margin: 0 auto 1rem;
    padding: 0;
    gap: 0;
    background: transparent;
    border-radius: 0;
  }

  .tab-btn {
    position: relative;
    border-radius: 0;
    color: var(--color-muted);
  }

  .tab-btn.active,
  .tab-btn[aria-selected="true"] {
    background: transparent;
    color: var(--color-brand);
  }

  .tab-btn.active::after,
  .tab-btn[aria-selected="true"]::after {
    content: "";
    position: absolute;
    left: 20%;
    bottom: -4px;
    width: 60%;
    height: 2px;
    background: var(--color-brand);
    border-radius: 2px;
  }

  .menu-image-overlay {
    min-height: 500px;
    background-position: center;
  }

  .menu-overlay-text {
    width: 90%;
    margin: 1.4rem auto;
    padding: 1rem 0.8rem;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 6px;
  }

  .menu-overlay-subtitle {
    margin: 0.35rem auto 0.05rem;
    font-size: 1.12rem;
    line-height: 1.35;
    letter-spacing: 0.12em;
  }

  .menu-overlay-desc {
    width: 96%;
    margin: 0 auto 0.45rem;
    font-size: 0.82rem;
    line-height: 1.45;
    letter-spacing: 0.035em;
  }

  .voice-section {
    padding: 0 1rem;
  }

  .voice-inner {
    padding: 1.2rem 1rem;
  }

  .voice-inner p {
    font-size: 0.88rem;
    line-height: 1.7;
  }
}

/* ==========================================================
   Price Section
========================================================== */

.price {
  padding: 1rem 20px;
  background: var(--color-muted-accent);
  text-align: center;
  overflow: visible;
}

.price h2 {
  color: #fff;
  margin: 1rem;
  letter-spacing: 0.3em;
}

.price-table {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 15px;
  align-items: stretch;
}

.price-card {
  background: var(--color-brand-soft);
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.price-card h3,
.price-card h4 {
  color: var(--color-text);
  font-size: 1em;
  margin-bottom: 0.8rem;
  font-weight: bold;
  border-bottom: 2px solid var(--color-muted-accent);
}

.price-card h3 {
  padding-bottom: 10px;
}

.price-card h4 {
  padding-top: 0.5rem;
}

.small-title {
  font-size: 0.8em;
  letter-spacing: 0.2em;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: -1rem auto 0;
  color: var(--color-text);
}

.price-list li {
  padding: 0.8rem 0 0.5rem;
  font-size: 1em;
  font-family: "Zen Old Mincho", serif;
  font-weight: bold;
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted-accent) 20%, transparent);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list .time {
  font-size: 0.9em;
  font-weight: normal;
  color: var(--color-muted);
}

.price-list .additional {
  font-size: 1em;
  color: var(--color-text);
}

.note {
  font-size: 1em;
  color: #fff;
  margin-top: 1em;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2em;
}

.note-small {
  font-size: 0.8em;
  color: var(--color-text);
  margin-top: 1em;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: justify;
}

.calendar-card {
  display: flex;
  flex-direction: column;
}

.calendar-embed {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.calendar-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .price {
    padding: 1.2rem 15px;
  }

  .price h2 {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .price-table {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .price-card {
    padding: 20px 15px;
  }
}

/* ==========================================================
   2nd CTA
========================================================== */
@media (min-width: 769px) {

  .cta-buttons--2nd {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0;
  }

  .cta-buttons--2nd a {
    flex: 1;
    max-width: 420px;
    display: block;
  }

  .cta-buttons--2nd img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cta-buttons--2nd a {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
  }

  .cta-buttons--2nd a:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  }
}

@media (max-width: 768px) {
  .cta-section-2 {
    padding: 1.2rem 0 1.8rem;
  }

  .cta-buttons--2nd {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 1rem auto;
    padding: 0 1rem;
  }

  .cta-buttons--2nd a {
    width: 100%;
    max-width: 320px;
  }

  .cta-buttons--2nd img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* ==========================================================
   Profile
========================================================== */

.profile-section {
  margin: 1rem auto;
  width: 100%;
  padding: 2rem 0;
  background-color: var(--color-warm-bg);
}

.profile-box {
  width: 900px;
  max-width: 95%;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  text-align: center;
}

.profile-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-border-soft);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-headings {
  text-align: center;
  margin-bottom: 1.8rem;
}

.profile-section h2 {
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding-bottom: 0.8em;
  color: var(--color-brand);
}

.profile-section h3 {
  font-size: 1.3em;
  letter-spacing: 0.5em;
  font-weight: bold;
  padding-bottom: 0.3em;
}

.profile-section h4 {
  font-size: 0.8em;
  color: var(--color-muted-accent);
  letter-spacing: 0.2em;
  font-weight: 500;
}

.profile-section h5 {
  font-size: 1em;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.profile-section h6 {
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.profile-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.profile-section p {
  font-size: 0.95em;
  margin: 0 1.5em;
  color: var(--color-text);
  text-align: justify;
}

@media (max-width: 768px) {
  .profile-heading-image {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
  }

  .profile-box {
    width: 95%;
  }

  .profile-text {
    width: 98%;
    margin: 0 auto;
  }
}

/* ==========================================================
   FAQ
========================================================== */

.faq {
  padding-top: 1rem;
  padding-bottom: 40px;
  background: #ffffff;
}

.faq h2 {
  margin: 0 auto 0.6rem;
  color: var(--color-brand);
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-align: center;
}

.faq h3 {
  margin: 0 auto;
  color: var(--color-brand);
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
}

/* PC・SPともに1段組 */
.accordion-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.accordion-item {
  position: relative;
  align-self: start;
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  border: 0;
  border-bottom: 2px dotted var(--color-muted-accent);
  border-radius: 0;
  transition: background-color 0.25s ease;
}

/* 以前の左右縦線を無効化 */
.accordion-item::before,
.accordion-item::after {
  display: none;
  content: none;
}

.accordion-item.active {
  background: color-mix(
    in srgb,
    var(--color-muted-accent) 7%,
    var(--color-white)
  );
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  box-sizing: border-box;
}

.accordion-toggle h3 {
  margin: 0;
  padding: 0;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: left;
  transition: color 0.25s ease;
}

.accordion-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--color-border-soft) 70%, transparent)
    inset;
}

.rotate-icon {
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
  color: color-mix(in srgb, var(--color-brand) 70%, transparent);
  transition: transform 0.3s ease;
}

.accordion-item.active .rotate-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.35s ease;
}

.accordion-item.active .accordion-content {
  padding-top: 0.8rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--color-border-soft);
}

.accordion-content p {
  margin: 0;
  padding: 0 0.4rem;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.7;
}

.accordion-content a {
  color: var(--color-brand);
  text-decoration: underline;
}

.accordion-content a:hover {
  color: var(--color-hover);
}

@media (hover: hover) and (pointer: fine) {
  .accordion-toggle:hover h3 {
    color: var(--color-brand);
  }
}

@media (max-width: 768px) {
  .accordion-wrapper {
    width: 100%;
    padding: 0 0.9rem;
  }

  .accordion-toggle {
    padding: 0.75rem 0.7rem;
  }

  .accordion-toggle h3 {
    font-size: 0.95rem;
  }

  .rotate-icon {
    width: 1em;
    height: 1em;
  }

  .accordion-content {
    padding: 0 0.7rem;
  }

  .accordion-item.active .accordion-content {
    padding-top: 0.7rem;
    padding-bottom: 0.9rem;
  }

  .accordion-content p {
    padding: 0 0.2rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================
   Contact
========================================================== */

.contact {
  width: 100%;
  background: var(--color-section-bg);
  text-align: center;
  margin: 0 auto;
  padding: 0.5em 0;
}

.contact h2 {
  font-size: 1.4em;
  margin: 1.5em auto 0.5em;
}

.contact h3 {
  font-size: 1em;
  margin: 0.5em auto;
  color: var(--color-text);
  font-weight: 400;
}

.contact h4 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.contact p {
  font-size: 0.9em;
  letter-spacing: 0.1em;
  margin: 0.3em auto;
}

.contact .info {
  margin-top: 1rem;
  font-size: 1em;
  line-height: 1.8;
}

.contact .info a {
  color: var(--color-brand);
  text-decoration: underline;
}

.contact .info a:hover {
  color: var(--color-hover);
}

/* ==========================================================
   Voice Slider：横長カード × 縦3段 × 4スライド
========================================================== */

.voice-section-title {
  margin: 0 auto 1.25rem;
  color: var(--color-heading-strong);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: 0.16em;
}

.voice-slider {
  display: flex;
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.voice-slider::-webkit-scrollbar {
  display: none;
}

.voice-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0.15rem;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.voice-slide-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 auto 1rem;
}

.voice-slide-header h3 {
  margin: 0;
  color: var(--color-brand);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  letter-spacing: 0.12em;
}

.voice-slide-icon {
  color: var(--color-brand);
  font-size: 1.2rem;
  line-height: 1;
}

/* 1スライドにつき、横長カードを縦3段 */
.voice-review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: min(100%, 900px);
  margin: 0 auto;
}

.voice-review-card {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  min-height: 118px;
  margin: 0;
  padding: 0.5rem 1.4rem;
  box-sizing: border-box;
  overflow: hidden;

  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    linear-gradient(
      135deg,
      rgba(2, 135, 96, 0.42),
      rgba(130, 174, 70, 0.26)
    ) border-box;

  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(30, 55, 45, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.voice-review-card::before {
  content: "“";
  position: absolute;
  top: -0.5rem;
  left: 0.65rem;
  color: rgba(2, 135, 96, 0.08);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  pointer-events: none;
}

.voice-stars {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-right: 1rem;
  color: #b08a23;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  border-right: 1px solid var(--color-border-soft);
}

.voice-review-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.75;
  letter-spacing: 0.055em;
  text-align: left;
}

.voice-slide--lesson .voice-review-card {
  background:
    linear-gradient(#fbfaf7, #fbfaf7) padding-box,
    linear-gradient(
      135deg,
      rgba(67, 47, 47, 0.34),
      rgba(176, 138, 35, 0.26)
    ) border-box;
}

.voice-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto 0;
}

.voice-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.voice-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--color-border-soft);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-brand);
  font-family: Arial, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .voice-arrow:hover {
    background: var(--color-brand);
    color: var(--color-white);
    transform: translateY(-1px);
  }

  .voice-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(30, 55, 45, 0.12);
  }
}

@media screen and (max-width: 768px) {
  .voice-section {
    padding: 0 0.75rem;
  }

  .voice-section-title {
    margin-bottom: 1rem;
    font-size: 1.35rem;
  }

  .voice-review-grid {
    gap: 0.7rem;
  }

  .voice-review-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0.95rem 1rem;
  }

  .voice-stars {
    margin: 0 auto 0.55rem;
    padding: 0 0 0.45rem;
    border-right: 0;
    border-bottom: 1px solid var(--color-border-soft);
  }

  .voice-review-card p {
    padding-left: 0;
    font-size: 0.86rem;
    line-height: 1.68;
  }

  .voice-slide-header {
    margin-bottom: 0.8rem;
  }

  .voice-controls {
    gap: 0.75rem;
  }

  .voice-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice-slider {
    scroll-behavior: auto;
  }

  .voice-arrow,
  .voice-review-card {
    transition: none;
  }
}
