@charset "UTF-8";

/* ==========================================================
   MASAKI Strings Studio / Front Page
   LP固有セクション
========================================================== */

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

.fv-wrapper {
	position: relative;
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding: 0;
	overflow: hidden;
}

.fv {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: var(--color-brand-dark, #432f2f);
}

.fv-media {
	display: block;
	width: 100%;
}

.fv-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	object-position: center;
}

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

	width: min(62vw, 700px);
	margin: 0;
	padding: clamp(1.5rem, 2vw, 1rem 3rem);
	box-sizing: border-box;

	color: var(--color-text, #000b00);
  background-color:rgba(251,250,245,0.4);
	border: 1px solid rgba(255, 255, 255, 0.72);
	box-shadow: 0 12px 35px rgba(67, 47, 47, 0.12);

	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);

	transform: translateY(-50%);
}

.fv-eyebrow {
	margin: 0.5rem 1.5rem 0.5rem;
	color: var(--color-muted-accent, #6f4b3e);
	font-size: clamp(0.76rem, 1vw, 0.95rem);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.12rem;
	text-transform: uppercase;
  text-align: right;
}

.fv-text h2 {
	margin: 0 0 0.75rem;
	color: var(--color-heading-strong, #302833);
	font-family: var(--font-base);
	font-size: clamp(1.8rem, 3vw, 3rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.08rem;
	text-align: right;
	white-space: nowrap;
}

.fv-catch {
	margin: -0.5rem 0.5rem 0.5rem;
	color: var(--color-text, #000b00);
	font-family: var(--font-base);
	font-size: clamp(0.9rem, 1.15vw, 1.05rem);
	font-weight: 500;
	line-height: 1.9;
	letter-spacing: 0.045rem;
	text-align: right;
}

@supports not (
	(-webkit-backdrop-filter: blur(5px)) or
	(backdrop-filter: blur(5px))
) {
	.fv-text {
		background: rgba(255, 255, 255, 0.9);
	}
}

/* ==========================================================
   First View：SP
========================================================== */

@media screen and (max-width: 768px) {
	.fv {
		min-height: 0;
	}

	.fv-image {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 5;
		object-position: center;
	}

	.fv-text {
		top: auto;
		right: 0;
		bottom: 1.25rem;
		left: 0;

		width: 100%;
		margin: 0;
		padding: 0.5rem 1rem;
    background-color:rgba(251,250,245,0.5);
		border-radius: 0;
		transform: none;
	}

	.fv-eyebrow {
		margin: 0.3rem 1rem;
		font-size: 0.75rem;
		line-height: 1.35;
		letter-spacing: 0.06rem;
		text-align: center;
	}

	.fv-text h2 {
		margin: 0 0 0.25rem;
		font-size: clamp(1.05rem, 4.8vw, 1.35rem);
		line-height: 1.25;
		letter-spacing: 0.025rem;
		text-align: center;
		white-space: nowrap;
	}

	.fv-catch {
		margin: 0;
		font-size: 0.85rem;
		line-height: 1.45;
		letter-spacing: 0.02rem;
		text-align: left;
	}
}

/* ==========================================================
   FV CTA
========================================================== */

.cta-buttons--fv {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 2rem);
	width: min(100% - 2rem, 1000px);
	margin: 1.25rem auto 1.75rem;
	padding: 0;
}

.cta-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 0.8rem 1.25rem;
	box-sizing: border-box;
	border: 1px solid var(--color-brand-light, #b4866b);
	border-radius: 0;
	font-family: var(--font-base);
	font-size: clamp(0.9rem, 1.1vw, 1rem);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.12rem;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(67, 47, 47, 0.10);
	transition:
		color 0.25s ease,
		background-color 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.cta-button--line {
	color: var(--color-brand-dark, #432f2f);
	background: #f8fbfc;
}

.cta-button--form {
	color: #fff;
	background: var(--color-brand, #6f4b3e);
	border-color: var(--color-brand, #6f4b3e);
}

@media (hover: hover) and (pointer: fine) {
	.cta-button:hover {
		transform: translateY(-2px);
		box-shadow: 0 12px 28px rgba(67, 47, 47, 0.16);
	}

	.cta-button--line:hover {
		color: #fff;
		background: var(--color-brand, #6f4b3e);
		border-color: var(--color-brand, #6f4b3e);
	}

	.cta-button--form:hover {
		color: #fff;
		background: var(--color-brand-dark, #432f2f);
		border-color: var(--color-brand-dark, #432f2f);
	}
}

@media screen and (max-width: 768px) {
	.cta-buttons--fv {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
		width: calc(100% - 1rem);
		margin: 0.8rem auto 1.25rem;
	}

	.cta-button {
		min-height: 54px;
		padding: 0.6rem 0.45rem;
		font-size: clamp(0.72rem, 3.25vw, 0.88rem);
		line-height: 1.4;
		letter-spacing: 0.05rem;
	}
}

/* ==========================================================
   2nd CTA直下：SP専用SNS導線
========================================================== */

.second-cta-social {
  display: none;
}

@media (max-width: 768px) {
  .second-cta-social {
    display: block;
    width: 100%;
    margin: 1.5rem auto;
    padding: 1rem 1rem;
    box-sizing: border-box;
    text-align: center;
    background-color: var(--color-hover);
  }

  .second-cta-social__label {
    margin: 0 0 0.55rem;
    color: var(--color-muted);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
  }

  .second-cta-social__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .second-cta-social__icons a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .second-cta-social__icons img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
  }
}

/* ==========================================================
   Message Section
========================================================== */

.problem-section {
	margin-top: 0;
	padding: clamp(1.5rem, 6vw, 5rem) 1rem;
	background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,0)), var(--color-section-bg);
	text-align: center;
}

.problem-inner {
	width: min(100%, var(--content-default));
	margin: 0 auto;
}

.section-kicker {
	margin: 0 auto 0.35rem;
	color: var(--color-brand, #6f4b3e);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.18rem;
	text-align: center;
}

.problem-section h2 {
	margin: 0 auto 1.5rem;
	color: #302833;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.2rem;
}

.lead-text {
	max-width: 900px;
	margin: 0 auto 2rem;
	color: var(--color-text);
	font-size: clamp(0.95rem, 1.2vw, 1.05rem);
	line-height: 2;
	letter-spacing: 0.05rem;
	text-align: center;
}

.problem-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.problem-item {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-height: 72px;
	margin: 0;
	padding: 0.75rem 1rem;
	box-sizing: border-box;
	background: rgba(255,255,255,.88);
	border: 1px solid var(--color-border-soft);
	border-radius: 0;
	box-shadow: 0 5px 16px rgba(67,47,47,.08);
	text-align: left;
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.problem-check {
	display: grid;
	place-items: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	color: #fff;
	background: var(--color-brand, #6f4b3e);
	font-family: var(--font-latin);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
}

.problem-text {
	margin: 0;
	padding: 0;
	color: var(--color-text);
	font-size: clamp(0.88rem, 1vw, 0.98rem);
	font-weight: 500;
	line-height: 1.65;
	letter-spacing: 0.03rem;
	text-align: left;
}

.message-closing {
	max-width: 780px;
	margin: 2.25rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(111,75,62,.24);
}

.message-closing p {
	margin: 0;
	color: var(--color-text);
	font-size: clamp(0.95rem, 1.2vw, 1.05rem);
	line-height: 2;
	letter-spacing: 0.05rem;
	text-align: center;
}

.highlight {
	color: var(--color-brand-dark, #432f2f);
	font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
	.problem-item:hover {
		background: #fff;
		transform: translateY(-3px);
		box-shadow: 0 10px 24px rgba(67,47,47,.12);
	}
}

@media screen and (max-width: 768px) {
	.problem-section { padding: 2.75rem 0.9rem; }
	.problem-section h2 { margin-bottom: 1.15rem; font-size: 1.4rem; }
	.section-kicker { font-size: 0.68rem; letter-spacing: 0.14rem; }
	.lead-text { margin-bottom: 1.5rem; font-size: 0.9rem; line-height: 1.85; text-align: left; }
	.problem-grid { grid-template-columns: 1fr; gap: 0.7rem; width: 100%; }
	.problem-item { min-height: 0; padding: 0.85rem 0.9rem; }
	.problem-check { flex-basis: 24px; width: 24px; height: 24px; font-size: 0.78rem; }
	.problem-text { font-size: 0.88rem; line-height: 1.55; }
	.message-closing { margin-top: 1.75rem; padding-top: 1.25rem; }
	.message-closing p { font-size: 0.9rem; line-height: 1.85; text-align: left; }
}

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

.tab-block {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2rem 0 0;
  background: var(--color-background-soft, #f7f3ed);
  text-align: center;
}

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

.tab-btn {
  flex: 1;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-brand);
  font-family: var(--font-base);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08rem;
  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;
}

.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-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.18rem;
}

.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.08rem;
}

/* 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.08rem;
}

.voice-inner p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.05rem;
  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: 0;
    padding-top: 2rem;
  }

  .tabs {
    width: calc(100% - 1.4rem);
    margin: 0 auto;
    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.12rem;
  }

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

  .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 {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: clamp(2.5rem, 4.5vw, 4rem) 20px;
  background: var(--color-muted-accent, #6f4b3e);
  box-sizing: border-box;
  text-align: center;
}

.price-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.price-header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-kicker--light {
  color: rgba(255, 255, 255, 0.78);
}

.price h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff !important;
  line-height: 1.25;
  letter-spacing: 0.28rem;
  text-indent: 0.28rem;
}

.price-lead {
  margin: 0.8rem auto 2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.08rem;
}

.price-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
  text-align: left;
}

.price-lesson-photo {
  position: relative;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  background: #d8ccbf;
}

.price-lesson-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.price-lesson-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 1rem;
  left: 0;
  width: 100%;
  max-width: none;
  padding: 0.75rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 10px 28px rgba(45, 29, 22, 0.14);
  color: var(--color-brand);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06rem;
  text-align: center;
}

.price-plans {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(255, 255, 255, 0.96);
}

.price-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid rgba(91, 61, 48, 0.18);
}

.price-plan:last-child {
  border-bottom: 0;
}

.price-plan--trial {
  background: color-mix(in srgb, var(--color-brand-soft) 54%, #fff);
}

.price-plan__en,
.price-subtitle-en {
  margin: 0 0 0.2rem;
  color: var(--color-muted-accent);
  font-family: var(--font-latin);
  font-size: 0.68rem;
  letter-spacing: 0.18rem;
}

.price-plan h3 {
  margin: 0;
  color: var(--color-heading);
  font-size: 1rem;
  letter-spacing: 0.08rem;
}

.price-plan__detail {
  margin: 0.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04rem;
}

.price-plan__amount {
  flex: 0 0 auto;
  margin: 0;
  color: var(--color-heading);
  font-family: var(--font-latin);
  font-size: 1.65rem;
  letter-spacing: 0.03rem;
}

.price-plan__amount span {
  margin-right: 0.12rem;
  font-size: 0.7rem;
}

.booking-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
  text-align: left;
}

.booking-flow,
.booking-calendar {
  padding: clamp(1.35rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.96);
}

.booking-flow > h3,
.booking-calendar > h3 {
  margin: 0 0 1.25rem;
  color: var(--color-heading);
  font-size: 1.25rem;
  letter-spacing: 0.12rem;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: booking;
}

.booking-steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0 1.1rem;
  border-left: 1px solid rgba(91, 61, 48, 0.2);
}

.booking-steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

.booking-steps li:last-child {
  padding-right: 0;
}

.booking-step-number {
  color: var(--color-muted-accent);
  font-family: var(--font-latin);
  font-size: 0.8rem;
  letter-spacing: 0.08rem;
}

.booking-steps h4 {
  margin: 0 0 0.4rem;
  color: var(--color-heading);
  font-size: 0.92rem;
}

.booking-steps p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.78rem;
  line-height: 1.75;
}

.booking-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.booking-buttons a,
.calendar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-muted-accent, #6f4b3e);
  background: #fff;
  color: var(--color-muted-accent, #6f4b3e);
  font-size: 0.82rem;
  letter-spacing: 0.06rem;
  text-decoration: none;
}

.booking-buttons a:last-child {
  background: var(--color-muted-accent, #6f4b3e);
  color: #fff;
}

.calendar-embed {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
}

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

.calendar-placeholder {
  display: grid;
  min-height: 230px;
  place-items: center;
  padding: 2rem;
  border: 1px solid rgba(91, 61, 48, 0.18);
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(91, 61, 48, 0.12) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(91, 61, 48, 0.12) 52px 53px);
}

.calendar-placeholder p,
.calendar-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.75;
  text-align: center;
}

.calendar-note {
  margin-top: 0.85rem;
}

.calendar-link {
  width: 100%;
  margin-top: 0.85rem;
}

.note {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  line-height: 1.7;
  letter-spacing: 0.06rem;
  text-align: center;
}

.note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================
   Price - Visiting lesson inside booking flow
========================================================== */

.booking-travel {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(91, 61, 48, 0.2);
}

.booking-travel__title {
  margin: 0 0 0.65rem;
  color: var(--color-heading, #432f2f);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12rem;
  text-align: left;
}

.booking-travel__description {
  margin: 0;
  color: var(--color-text, #2b2b2b);
  font-size: 0.82rem;
  line-height: 1.9;
  letter-spacing: 0.05rem;
  text-align: left;
}

.booking-travel__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.booking-travel__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 0.8rem;
  box-sizing: border-box;
  border: 1px solid var(--color-muted-accent, #6f4b3e);
  background: #fff;
  color: var(--color-muted-accent, #6f4b3e);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.03rem;
  text-align: center;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.booking-travel__link--area {
  background: var(--color-muted-accent, #6f4b3e);
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .booking-travel__link:hover {
    background: var(--color-heading, #432f2f);
    color: #fff;
  }
}

@media (max-width: 768px) {
  .booking-travel {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }

  .booking-travel__title {
    font-size: 1rem;
  }

  .booking-travel__description {
    font-size: 0.78rem;
    line-height: 1.8;
  }

  .booking-travel__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }

  .booking-travel__link {
    min-height: 48px;
    padding: 0.65rem 0.45rem;
    font-size: 0.7rem;
  }

  .price {
    padding: 2.5rem 15px;
  }

  .price h2 {
    font-size: 1.8rem;
  }

  .price-lead {
    margin-bottom: 1.6rem;
    font-size: 0.82rem;
    line-height: 1.75;
  }

  .price-overview,
  .booking-area {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .price-lesson-photo {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .price-lesson-photo figcaption {
    right: 1rem;
    bottom: 1rem;
    left: auto;
    max-width: calc(100% - 2rem);
    padding: 0.7rem 1rem;
    font-size: 0.75rem;
  }

  .price-plan {
    padding: 0.95rem 1rem;
  }

  .price-plan__amount {
    font-size: 1.35rem;
  }

  .booking-area {
    margin-top: 1rem;
  }

  .booking-flow,
  .booking-calendar {
    padding: 1.25rem 1rem;
  }

  .booking-steps {
    grid-template-columns: 1fr;
  }

  .booking-steps li,
  .booking-steps li:first-child,
  .booking-steps li:last-child {
    padding: 0.9rem 0;
    border-top: 1px solid rgba(91, 61, 48, 0.18);
    border-left: 0;
  }

  .booking-steps li:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .booking-buttons a {
    min-height: 44px;
    padding: 0.65rem 0.35rem;
    font-size: 0.72rem;
  }

  .calendar-placeholder {
    min-height: 200px;
  }
}

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

.profile-section {
  margin: 0 auto;
  width: 100%;
  padding: clamp(4rem, 7vw, 7rem) 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(244, 238, 232, 0.94)),
    var(--color-warm-bg);
}

.profile-heading {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto clamp(2.5rem, 4vw, 4rem);
  text-align: center;
}

.profile-heading .section-kicker {
  margin: 0 0 0.75rem;
  text-align: center;
}

.profile-box {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1120px, calc(100% - 3rem));
  max-width: none;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.profile-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(91, 61, 48, 0.18);
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(54, 38, 29, 0.12);
}

.profile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.profile-content {
  align-self: center;
}

.profile-section h2 {
  margin: 0;
  padding: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.22rem;
  color: var(--color-brand);
}

.profile-section h3 {
  margin: 0.25rem 0 0.5rem;
  padding: 0;
  color: var(--color-text);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16rem;
}

.profile-section h4 {
  margin: 0.25rem 0 0.5rem;
  padding: 0;
  color: var(--color-text);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16rem;
}

.profile-role {
  margin: 0 0 0.35rem !important;
  color: var(--color-muted-accent);
  font-size: 0.78rem !important;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  text-align: center;
}

.profile-tagline {
  margin: 0 0 1.25rem !important;
  color: var(--color-brand) !important;
  font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.08rem;
  text-align: center;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  text-align: center;
}

.profile-meta li {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06rem;
}

.profile-meta li + li::before {
  content: "/";
  display: inline-block;
  margin: 0 0.7rem;
  color: rgba(91, 61, 48, 0.38);
}

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

.profile-text p {
  margin: 0 0 1rem;
  color: var(--color-text);
  font-size: 0.93rem;
  line-height: 2;
  letter-spacing: 0.035rem;
  text-align: left;
}

.profile-text .profile-message {
  margin-top: 1.4rem;
  margin-bottom: 0;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--color-brand);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-brand);
  font-weight: 600;
}

.profile-instruments {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(91, 61, 48, 0.16);
  background: rgba(91, 61, 48, 0.16);
  list-style: none;
}

.profile-instruments li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  align-items: center;
  min-width: 0;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.9);
}

.profile-instruments img {
  grid-row: 1 / 3;
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.profile-instrument-en,
.profile-instrument-ja {
  display: block;
  min-width: 0;
}

.profile-instrument-en {
  align-self: end;
  color: var(--color-brand);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08rem;
}

.profile-instrument-ja {
  align-self: start;
  margin-top: 0.18rem;
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .profile-section {
    padding: 3.5rem 0;
  }

  .profile-heading {
    width: calc(100% - 2rem);
    margin-bottom: 2rem;
  }

  .profile-box {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: min(100% - 2rem, 560px);
  }

  .profile-image {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .profile-section h2 {
    font-size: 2.1rem;
  }

  .profile-section h3 {
    font-size: 2rem;
  }

  .profile-meta {
    margin-bottom: 1.35rem;
  }

  .profile-text {
    width: 100%;
  }

  .profile-text p {
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .profile-instruments {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-instruments li {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 0.65rem;
    padding: 0.9rem 0.75rem;
  }

  .profile-instruments img {
    width: 44px;
    height: 44px;
  }

  .profile-instrument-en,
  .profile-instrument-ja {
    font-size: 0.64rem;
  }
}

/* ==========================================================
   Lesson Place
========================================================== */

.lesson-place-section {
  width: 100%;
  padding: 2rem 0 4rem;
  background: #ffffff;
}

.lesson-place-heading {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto 1.5rem;
  text-align: center;
}

.lesson-place-heading .section-kicker {
  margin: 0 0 0.5rem;
  text-align: center;
}

.lesson-place-section h2 {
  margin: 0;
  color: var(--color-brand);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.18rem;
  text-align: center;
}

.lesson-place-lead {
  margin: 0.75rem auto 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: center;
}

.lesson-place-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.lesson-place-card,
.lesson-place-card figure {
  min-width: 0;
  margin: 0;
}

.lesson-place-card figure {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-warm-bg);
}

.lesson-place-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lesson-place-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.3rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 -8px 24px rgba(45, 29, 22, 0.08);
}

.lesson-place-card h3 {
  margin: 0 0 0.4rem;
  color: var(--color-brand);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06rem;
  text-align: left;
}

.lesson-place-card p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.78rem;
  line-height: 1.7;
  letter-spacing: 0.02rem;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .lesson-place-section {
    padding: 2rem 0 3rem;
  }

  .lesson-place-heading,
  .lesson-place-grid {
    width: calc(100% - 2rem);
  }

  .lesson-place-section h2 {
    font-size: 1.2rem;
  }

  .lesson-place-lead {
    font-size: 0.84rem;
  }

  .lesson-place-grid {
    grid-template-columns: 1fr;
  }

  .lesson-place-card figcaption {
    padding: 1rem 1.25rem;
  }

  .lesson-place-card h3 {
    font-size: 0.94rem;
  }

  .lesson-place-card p {
    font-size: 0.75rem;
  }
}

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

.faq {
  position: relative;
  padding: 4rem 0 4.5rem;
  border-top: 1px solid rgba(111, 75, 62, 0.12);
  background: #f8f5f1;
}

.faq::before {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  margin: 0 auto 2.5rem;
  background: rgba(111, 75, 62, 0.28);
}

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

.faq h3 {
  margin: 0 auto;
  color: var(--color-brand);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  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: rgba(255, 255, 255, 0.78);
  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.04rem;
  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.4rem;
  height: 1.4rem;
  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 screen and (max-width: 768px) {
  .faq {
    padding: 3rem 0 3.5rem;
  }

  .faq::before {
    width: 56px;
    margin-bottom: 2rem;
  }
}

@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: 1rem;
    height: 1rem;
  }

  .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: 1.5rem 0;
}

.contact h2 {
  font-size: 1.5rem;
  margin: 1rem auto;
  letter-spacing: 0.2rem;
}

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

.contact h4 {
  font-size: 1.2rem;
  margin: 1rem auto -1rem;
}

.contact p {
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  margin: 0 auto -0.25rem;
  padding-top: 0.25rem;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  width: min(calc(100% - 2rem), 1100px);
  margin: 2rem auto 0;
  text-align: left;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.contact-map {
  min-width: 0;
  min-height: 360px;
  overflow: hidden;
  border-radius: 0.75rem;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

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

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

.contact-legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
}

.contact-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-legal-links a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: min(calc(100% - 2rem), 36rem);
    margin-top: 1.5rem;
  }

  .contact-details {
    padding: 1.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.76);
    text-align: center;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 300px;
  }

  .contact-legal-links {
    flex-direction: column;
    gap: 0.35rem;
  }

  .contact-legal-separator {
    display: none;
  }
}

/* ==========================================================
   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.16rem;
}

.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.12rem;
}

.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: var(--font-latin);
  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.08rem;
  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.055rem;
  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: var(--font-latin);
  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;
  }
}

/* ==========================================================
   MASAKI Floating CTA
========================================================== */

.floating-cta {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 999990;

	width: min(320px, calc(100vw - 3rem));

	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(16px);

	transition:
		opacity 0.25s ease,
		visibility 0.25s ease,
		transform 0.25s ease;
}

.floating-cta.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.floating-cta__link {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"small arrow"
		"label arrow";
	align-items: center;
	column-gap: 0.8rem;

	padding: 0.8rem 1rem 0.85rem 1.15rem;

	color: #fff;
	background: var(--color-brand-dark, #432f2f);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(35, 24, 20, 0.26);

	text-decoration: none;
}

.floating-cta__small {
	grid-area: small;
	font-size: 0.72rem;
	line-height: 1.3;
	letter-spacing: 0.12rem;
	opacity: 0.78;
}

.floating-cta__label {
	grid-area: label;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.06rem;
}

.floating-cta__arrow {
	grid-area: arrow;
	font-family: var(--font-latin);
	font-size: 1.8rem;
	line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
	.floating-cta__link:hover {
		color: #fff;
		background: var(--color-brand, #6f4b3e);
		transform: translateY(-2px);
	}
}

@media screen and (max-width: 768px) {
	body.generic-lp-page {
		padding-bottom: 72px;
	}

	.floating-cta {
		right: 0;
		bottom: 0;
		left: 0;

		width: 100%;
	}

	.floating-cta__link {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.6rem;

		min-height: 58px;
		padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));

		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		border-radius: 0;
	}

	.floating-cta__small {
		display: none;
	}

	.floating-cta__label {
		font-size: 0.95rem;
	}

	.floating-cta__arrow {
		font-size: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.floating-cta,
	.floating-cta__link {
		transition: none;
	}
}

/* ==========================================================
   Lesson Content
========================================================== */

.lesson-content-section {
	position: relative;
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding: clamp(2.5rem, 5vw, 4.5rem) 0;
	background: var(--color-background-soft, #f7f3ed);
}

.lesson-inner {
	width: min(1200px, calc(100% - 2rem));
	margin: 0 auto;
}

.lesson-inner > h2 {
	margin: 0 auto 2rem;
	color: var(--color-heading-strong, #432f2f);
	font-size: clamp(1.55rem, 2.6vw, 2.15rem);
	font-weight: 700;
	letter-spacing: 0.18rem;
	text-align: center;
}

.lesson-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2.2vw, 1.8rem);
}

.lesson-card {
	overflow: hidden;
	background: var(--color-white, #fff);
	border: 1px solid rgba(180, 134, 107, 0.34);
	box-shadow: 0 12px 30px rgba(67, 47, 47, 0.08);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.lesson-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--color-brand-dark, #432f2f);
}

.lesson-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.lesson-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.04) 20%,
			rgba(33, 22, 18, 0.64) 100%
		);
	pointer-events: none;
}

.lesson-card__overlay {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 1rem 1.1rem 0.95rem;
	color: #fff;
	background: rgba(67, 47, 47, 0.16);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.lesson-card__number {
	margin: 0 0 0.15rem;
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--font-latin);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.16rem;
	text-align: left;
}

.lesson-card__overlay h3 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.15rem, 2vw, 1.55rem);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08rem;
	text-align: left;
}

.lesson-card__jp {
	margin: 0.15rem 0 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.72rem;
	line-height: 1.4;
	letter-spacing: 0.08rem;
	text-align: left;
}

.lesson-card__body {
	padding: 1.15rem 1.2rem 1.25rem;
}

.lesson-card__body > p {
	margin: 0;
	color: var(--color-text, #000b00);
	font-size: 0.9rem;
	line-height: 1.85;
	letter-spacing: 0.04rem;
	text-align: left;
}

.lesson-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.lesson-tags li {
	padding: 0.3rem 0.65rem;
	color: var(--color-brand-dark, #432f2f);
	background: var(--color-brand-soft, #eee4dc);
	border: 1px solid rgba(180, 134, 107, 0.35);
	font-family: var(--font-latin);
	font-size: 0.67rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.06rem;
}

.lesson-note {
	max-width: 820px;
	margin: 2rem auto 0;
	padding-top: 1.4rem;
	color: var(--color-muted, #6b625d);
	border-top: 1px solid rgba(180, 134, 107, 0.34);
	font-size: 0.9rem;
	line-height: 1.8;
	letter-spacing: 0.05rem;
	text-align: center;
}

@media (hover: hover) and (pointer: fine) {
	.lesson-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 18px 38px rgba(67, 47, 47, 0.14);
	}

	.lesson-card:hover .lesson-card__media img {
		transform: scale(1.035);
	}
}

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

	.lesson-inner {
		width: calc(100% - 1.4rem);
	}

	.lesson-inner > h2 {
		margin-bottom: 1.35rem;
		font-size: 1.45rem;
		letter-spacing: 0.13rem;
	}

	.lesson-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.lesson-card__overlay {
		padding: 0.8rem 0.9rem 0.75rem;
	}

	.lesson-card__overlay h3 {
		font-size: 1.2rem;
	}

	.lesson-card__body {
		padding: 0.95rem 1rem 1.05rem;
	}

	.lesson-card__body > p {
		font-size: 0.86rem;
		line-height: 1.75;
	}

	.lesson-note {
		margin-top: 1.5rem;
		padding: 1.2rem 0.25rem 0;
		font-size: 0.85rem;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lesson-card,
	.lesson-card__media img {
		transition: none;
	}
}

/* ==========================================================
   Lesson / Voice Tabs：PC square, SP underline
========================================================== */

@media screen and (min-width: 769px) {
	.tabs {
		gap: 0;
		padding: 0;
		background: transparent;
		border: 1px solid var(--color-brand-light, #b4866b);
		border-radius: 0;
	}

	.tab-btn {
		min-height: 48px;
		padding: 0.7rem 1rem;
		border-radius: 0;
		background: var(--color-brand-soft, #eee4dc);
	}

	.tab-btn + .tab-btn {
		border-left: 1px solid var(--color-brand-light, #b4866b);
	}

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

/* ==========================================================
   Voice：course-based testimonials
========================================================== */

.voice-section {
	width: min(100%, 1100px);
	max-width: none;
	margin: 1.5rem auto;
	padding: 0 1rem 1.5rem;
	box-sizing: border-box;
}

.voice-section-title {
	margin: 0 auto 1.5rem;
	color: var(--color-heading-strong, #302833);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.18rem;
	text-align: center;
}

.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: block;
	margin: 0 auto 1.2rem;
	text-align: center;
}

.voice-slide-eyebrow {
	margin: 0 auto 0.2rem;
	color: var(--color-muted-accent, #6f4b3e);
	font-family: var(--font-latin);
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.16rem;
	text-align: center;
}

.voice-slide-header h3 {
	margin: 0;
	color: var(--color-brand, #6f4b3e);
	font-size: clamp(1.15rem, 1.8vw, 1.45rem);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.12rem;
	text-align: center;
}

.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: block;
	min-height: 0;
	margin: 0;
	padding: 1.15rem 1.35rem 1.2rem 1.65rem;
	box-sizing: border-box;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(180, 134, 107, 0.34);
	border-left: 5px solid var(--color-brand, #6f4b3e);
	border-radius: 0;
	box-shadow: 0 7px 20px rgba(67, 47, 47, 0.07);
	text-align: left;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.voice-review-card::before {
	content: "“";
	position: absolute;
	top: -0.55rem;
	right: 0.75rem;
	left: auto;
	color: rgba(111, 75, 62, 0.08);
	font-family: var(--font-latin);
	font-size: 5rem;
	line-height: 1;
	pointer-events: none;
}

.voice-meta {
	position: relative;
	z-index: 1;
	margin: 0 0 0.55rem;
	padding: 0;
	color: var(--color-brand-dark, #432f2f);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.08rem;
	text-align: left;
}

.voice-comment,
.voice-review-card .voice-comment {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	color: var(--color-text, #000b00);
	font-size: 0.92rem;
	line-height: 1.85;
	letter-spacing: 0.045rem;
	text-align: left;
}

.voice-slide--parent .voice-review-card {
	background: #fbf8f4;
	border-left-color: var(--color-muted-accent, #6f4b3e);
}

.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-dots .dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(111, 75, 62, 0.24);
	cursor: pointer;
}

.voice-dots .dot.active,
.voice-dots .dot[aria-current="true"] {
	background: var(--color-brand, #6f4b3e);
}

.voice-arrow {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--color-brand-light, #b4866b);
	border-radius: 50%;
	background: #fff;
	color: var(--color-brand, #6f4b3e);
	font-family: var(--font-latin);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
	.voice-review-card:hover {
		transform: translateY(-2px);
		box-shadow: 0 11px 26px rgba(67, 47, 47, 0.11);
	}

	.voice-arrow:hover {
		background: var(--color-brand, #6f4b3e);
		color: #fff;
		transform: translateY(-1px);
	}
}

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

	.voice-section-title {
		margin-bottom: 1.1rem;
		font-size: 1.4rem;
	}

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

	.voice-slide-eyebrow {
		font-size: 0.66rem;
	}

	.voice-slide-header h3 {
		font-size: 1.08rem;
	}

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

	.voice-review-card {
		padding: 0.95rem 1rem 1rem 1.15rem;
		border-left-width: 4px;
	}

	.voice-meta {
		margin-bottom: 0.4rem;
		font-size: 0.72rem;
	}

	.voice-comment,
	.voice-review-card .voice-comment {
		font-size: 0.86rem;
		line-height: 1.72;
	}

	.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;
	}
}

/* ==========================================================
   Common section rhythm
   PC：見出し 1.5rem / 上下余白 2rem
   SP：見出し 1.2rem / 上下余白 2rem
========================================================== */

:root {
	--masaki-section-title-size: 1.5rem;
	--masaki-section-space: 2rem;
}

.problem-section,
.lesson-content-section,
.voice-section,
.price,
.profile-section,
.lesson-place-section,
.faq,
.contact {
	padding-block: var(--masaki-section-space) !important;
}

.problem-section h2,
.lesson-inner > h2,
.voice-section-title,
.price h2,
.profile-section h2,
.lesson-place-section h2,
.faq h2,
.contact h2 {
	font-size: var(--masaki-section-title-size) !important;
}

/* 親要素側の余白が重なってセクション間が広がるのを防ぐ */
.tab-block {
	margin-top: 0;
}

.voice-section {
	margin-block: 0;
}

@media screen and (max-width: 768px) {
	:root {
		--masaki-section-title-size: 1.2rem;
	}
}

/* ==========================================================
   MASAKI Strings Studio / SP Lesson Place Refinement
   PC表示は保持し、SPのみ3枚横並び＋説明文を下に集約
========================================================== */

@media screen and (max-width: 768px) {
  .lesson-place-section {
    padding: 2rem 0 2.5rem;
  }

  .lesson-place-heading,
  .lesson-place-grid {
    width: calc(100% - 2rem);
  }

  .lesson-place-section h2 {
    font-size: 1.2rem;
  }

  .lesson-place-lead {
    font-size: 0.84rem;
  }

  .lesson-place-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: start;
  }

  .lesson-place-card,
  .lesson-place-card figure {
    min-width: 0;
  }

  .lesson-place-card figure {
    aspect-ratio: 1 / 1;
    border-radius: 0.75rem;
  }

  .lesson-place-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
  }

  /*
   * SPでは画像上のキャプションを非表示。
   * 画像はLightbox用サムネイルとして見せ、
   * 場所説明は各カード下のテキストへ役割を分ける。
   */
  .lesson-place-card figcaption {
    display: none;
  }

  .lesson-place-card h3 {
    margin: 0.55rem 0 0.2rem;
    font-size: 0.82rem;
    line-height: 1.45;
    letter-spacing: 0.04rem;
    text-align: center;
  }

  .lesson-place-card p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.55;
    letter-spacing: 0.01rem;
    text-align: center;
  }
}
