/* ========================================
   美輝 Miki Piano
   Apple × 北欧 / Quiet Harmony
======================================== */

/* ---------- 基本設定 ---------- */

:root {
  --color-bg: #f8faf8;
  --color-bg-soft: #eef4f0;
  --color-white: #ffffff;

  --color-text: #29342f;
  --color-text-soft: #66736c;

  --color-main: #789589;
  --color-main-dark: #536f64;
  --color-accent: #c9a96e;

  --color-border: rgba(83, 111, 100, 0.16);
  --color-shadow: rgba(43, 61, 53, 0.09);

  --font-serif:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    YuMincho,
    serif;

  --font-sans:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    sans-serif;

  --content-width: 1120px;
  --side-space: clamp(20px, 5vw, 64px);

  --radius-small: 12px;
  --radius-medium: 24px;
  --radius-large: 40px;

  --transition: 0.3s ease;
}


/* ---------- リセット ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
  font-family: var(--font-sans);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* ---------- 共通レイアウト ---------- */

.section {
  padding: clamp(88px, 11vw, 150px) var(--side-space);
}

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

.section-label {
  margin-bottom: 14px;
  color: var(--color-main);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 32px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.section-text {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--color-text-soft);
  line-height: 2.15;
}


/* ---------- ボタン ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  transition:
    color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-main-dark);
  box-shadow: 0 12px 30px rgba(83, 111, 100, 0.2);
}

.button-primary:hover {
  background: #425d52;
  box-shadow: 0 16px 36px rgba(83, 111, 100, 0.27);
  transform: translateY(-2px);
}

.button-primary:focus-visible,
.text-link:focus-visible,
.global-navigation a:focus-visible,
.site-logo:focus-visible {
  outline: 3px solid rgba(120, 149, 137, 0.35);
  outline-offset: 5px;
}


/* ---------- ヘッダー ---------- */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(83, 111, 100, 0.08);
  background: rgba(248, 250, 248, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1280px);
  min-height: 84px;
  margin: 0 auto;
  padding: 12px var(--side-space);
}

.site-logo,
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.25;
}

.site-logo-main {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.site-logo-sub {
  margin-top: 4px;
  color: var(--color-main);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.global-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.global-navigation ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.global-navigation li a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: var(--color-text-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: color var(--transition);
}

.global-navigation li a::after {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-main);
  content: "";
  transition: width var(--transition);
}

.global-navigation li a:hover {
  color: var(--color-main-dark);
}

.global-navigation li a:hover::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 100px;
  color: var(--color-white);
  background: var(--color-main-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.header-cta:hover {
  background: #425d52;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: var(--color-text);
  transition:
    transform var(--transition),
    opacity var(--transition);
}


/* ---------- ファーストビュー ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 130px var(--side-space) 70px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 22%,
      rgba(201, 169, 110, 0.11),
      transparent 30%
    ),
    radial-gradient(
      circle at 12% 85%,
      rgba(120, 149, 137, 0.13),
      transparent 32%
    ),
    linear-gradient(145deg, #fbfcfb 0%, #f1f6f3 100%);
}

.hero::before {
  position: absolute;
  top: 14%;
  right: -8%;
  width: min(48vw, 650px);
  aspect-ratio: 1;
  border: 1px solid rgba(120, 149, 137, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.hero-content {
  padding: 40px 0;
}

.hero-subtitle {
  margin-bottom: 24px;
  color: var(--color-main);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 30px;
  font-family: var(--font-serif);
  font-size: clamp(43px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.07em;
}

.hero-text {
  margin-bottom: 42px;
  color: var(--color-text-soft);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2.1;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 470px;
  aspect-ratio: 4 / 5;
  justify-self: end;
  overflow: hidden;
  border-radius: 48% 48% 20px 20px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.85),
      rgba(214, 228, 219, 0.8)
    );
  box-shadow: 0 30px 70px rgba(65, 87, 77, 0.12);
}

.hero-visual::before {
  position: absolute;
  top: 12%;
  left: 12%;
  width: 76%;
  height: 76%;
  border: 1px solid rgba(120, 149, 137, 0.24);
  border-radius: 50%;
  content: "";
}

.hero-visual::after {
  position: absolute;
  right: 12%;
  bottom: 12%;
  width: 38%;
  height: 2px;
  background: var(--color-accent);
  content: "";
  opacity: 0.7;
}


/* ---------- 教室について ---------- */

.about {
  position: relative;
  text-align: center;
  background: var(--color-white);
}

.about .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about .section-title {
  max-width: 760px;
}

.about .section-text {
  max-width: 680px;
}


/* ---------- レッスン ---------- */

.lesson {
  background: var(--color-bg-soft);
}

.lesson-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 58px;
}

.lesson-card {
  min-height: 320px;
  margin: 0;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(120, 149, 137, 0.13);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px var(--color-shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.lesson-card:hover {
  box-shadow: 0 24px 60px rgba(43, 61, 53, 0.13);
  transform: translateY(-5px);
}

.lesson-number {
  margin-bottom: 60px;
  color: var(--color-main);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.15em;
}

.lesson-card h3 {
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.65;
}

.lesson-card > p:last-child {
  margin-bottom: 0;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 2;
}


/* ---------- 料金 ---------- */

.price {
  background: var(--color-white);
}

.price .section-label,
.price > .section-inner > .section-title {
  text-align: center;
}

.price-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 58px;
}

.price-card {
  position: relative;
  margin: 0;
  padding: 42px 26px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  text-align: center;
  background: var(--color-bg);
}

.price-card::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 3px;
  border-radius: 100px;
  background: var(--color-main);
  content: "";
  transform: translateX(-50%);
}

.price-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
}

.price-time {
  margin-bottom: 26px;
  color: var(--color-text-soft);
  font-size: 13px;
}

.price-amount {
  margin-bottom: 0;
  color: var(--color-main-dark);
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.4;
}

.price-amount span {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text-soft);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.trial-box {
  max-width: 760px;
  margin: 50px auto 0;
  padding: clamp(34px, 5vw, 52px);
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: var(--radius-large);
  text-align: center;
  background:
    radial-gradient(
      circle at top,
      rgba(201, 169, 110, 0.12),
      transparent 55%
    ),
    #fdfcf9;
}

.trial-label {
  margin-bottom: 10px;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.trial-box h3 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
}

.trial-price {
  margin-bottom: 10px;
  color: var(--color-main-dark);
  font-family: var(--font-serif);
  font-size: 28px;
}

.trial-box p:last-child {
  margin-bottom: 0;
  color: var(--color-text-soft);
  font-size: 14px;
}


/* ---------- 講師紹介 ---------- */

.teacher {
  background: var(--color-bg-soft);
}

.teacher-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(55px, 8vw, 110px);
}

.teacher-image {
  position: relative;
  width: 100%;
  max-width: 470px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 45% 45% var(--radius-medium) var(--radius-medium);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.95),
      rgba(202, 219, 209, 0.8)
    );
  box-shadow: 0 25px 60px rgba(43, 61, 53, 0.1);
}

.teacher-image::before {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(120, 149, 137, 0.22);
  border-radius: 50%;
  content: "";
}

.teacher-name {
  margin-bottom: 22px;
  color: var(--color-main-dark);
  font-family: var(--font-serif);
  font-size: 23px;
  letter-spacing: 0.12em;
}

.teacher-content .section-text {
  margin-bottom: 34px;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--color-main);
  color: var(--color-main-dark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition:
    color var(--transition),
    gap var(--transition);
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  gap: 20px;
  color: var(--color-text);
}


/* ---------- よくある質問 ---------- */

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

.faq .section-label,
.faq > .section-inner > .section-title {
  text-align: center;
}

.faq-list {
  max-width: 850px;
  margin: 55px auto 0;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  position: relative;
  padding: 27px 55px 27px 4px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::before,
.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 18px;
  height: 1px;
  background: var(--color-main-dark);
  content: "";
  transition: transform var(--transition);
}

.faq-item summary::after {
  transform: rotate(90deg);
}

.faq-item[open] summary::after {
  transform: rotate(0deg);
}

.faq-item p {
  padding: 0 50px 28px 4px;
  margin-bottom: 0;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 2;
}


/* ---------- お問い合わせ ---------- */

.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 255, 255, 0.8),
      transparent 42%
    ),
    var(--color-bg-soft);
}

.contact::before,
.contact::after {
  position: absolute;
  border: 1px solid rgba(120, 149, 137, 0.11);
  border-radius: 50%;
  content: "";
}

.contact::before {
  top: -200px;
  left: -130px;
  width: 440px;
  height: 440px;
}

.contact::after {
  right: -100px;
  bottom: -230px;
  width: 500px;
  height: 500px;
}

.contact .section-inner {
  position: relative;
  z-index: 1;
}

.contact .section-text {
  margin: 0 auto 38px;
}


/* ---------- フッター ---------- */

.site-footer {
  padding: 58px var(--side-space);
  color: rgba(255, 255, 255, 0.92);
  background: #33473f;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.footer-logo .site-logo-sub {
  color: rgba(255, 255, 255, 0.6);
}

.copyright {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.1em;
}


/* ---------- タブレット ---------- */

@media (max-width: 960px) {
  .menu-button {
    position: relative;
    z-index: 1002;
    display: block;
  }

  .global-navigation {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: min(86%, 430px);
    height: 100svh;
    padding: 100px 42px 50px;
    background: rgba(248, 250, 248, 0.98);
    box-shadow: -20px 0 50px rgba(43, 61, 53, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition:
      opacity var(--transition),
      visibility var(--transition),
      transform var(--transition);
  }

  .global-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .global-navigation ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .global-navigation li a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
  }

  .header-cta {
    min-height: 52px;
    margin-top: 24px;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-inner {
    grid-template-columns: 1fr 0.65fr;
    gap: 35px;
  }

  .lesson-list,
  .price-list {
    grid-template-columns: 1fr;
  }

  .lesson-card {
    min-height: auto;
  }

  .lesson-number {
    margin-bottom: 35px;
  }

  .price-list {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
  }
}


/* ---------- スマートフォン ---------- */

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    min-height: 72px;
  }

  .site-logo-main {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 125px;
    padding-bottom: 85px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 0;
  }

  .hero-title {
    font-size: clamp(39px, 11vw, 55px);
    line-height: 1.45;
  }

  .hero-text br {
    display: none;
  }

  .hero-visual {
    width: min(88%, 400px);
    margin-top: 20px;
    justify-self: center;
  }

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

  .section-title {
    margin-bottom: 25px;
    font-size: clamp(29px, 8vw, 40px);
  }

  .section-text {
    line-height: 2;
  }

  .lesson-list,
  .price-list,
  .faq-list {
    margin-top: 42px;
  }

  .lesson-card {
    padding: 34px 28px;
  }

  .teacher-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .teacher-image {
    width: min(88%, 430px);
    justify-self: center;
  }

  .teacher-content {
    text-align: left;
  }

  .trial-box {
    border-radius: var(--radius-medium);
  }

  .faq-item summary {
    padding-top: 23px;
    padding-bottom: 23px;
    font-size: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
    max-width: 360px;
  }
}


/* ---------- 小さいスマートフォン ---------- */

@media (max-width: 390px) {
  :root {
    --side-space: 18px;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-title br {
    display: none;
  }

  .global-navigation {
    width: 92%;
    padding-right: 30px;
    padding-left: 30px;
  }
}


/* ---------- 動きを減らす設定 ---------- */

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ========================================
   講師紹介
======================================== */

.teacher-section {
    position: relative;
    padding: 120px 24px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(192, 225, 216, 0.22),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbfa 100%
        );
}

.teacher-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

/* セクション見出し */

.teacher-heading {
    margin-bottom: 72px;
    text-align: center;
}

.teacher-heading .section-label {
    margin: 0 0 12px;
    color: #8ba79e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.teacher-heading h2 {
    margin: 0;
    color: #30443e;
    font-family:
        "Hiragino Mincho ProN",
        "Yu Mincho",
        serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.12em;
}

.teacher-heading .section-subtitle {
    margin: 22px 0 0;
    color: #71827c;
    font-size: 0.95rem;
    line-height: 2;
    letter-spacing: 0.08em;
}

/* 写真＋文章 */

.teacher-profile {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(56px, 8vw, 104px);
    align-items: start;
}

/* 講師写真 */

.teacher-photo-wrap {
    position: relative;
    max-width: 430px;
    margin: 0 auto;
}

.teacher-photo-frame {
    position: relative;
    z-index: 2;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 48% 48% 12px 12px;
    background: #edf3f0;
    box-shadow: 0 24px 60px rgba(54, 80, 70, 0.13);
}

.teacher-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 35%;
}

.teacher-photo-decoration {
    position: absolute;
    right: -28px;
    bottom: -30px;
    z-index: 1;
    width: 75%;
    aspect-ratio: 1;
    border: 1px solid rgba(139, 167, 158, 0.45);
    border-radius: 50%;
}

/* 名前 */

.teacher-content {
    padding-top: 18px;
}

.teacher-name-block {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(139, 167, 158, 0.26);
}

.teacher-role {
    margin: 0 0 12px;
    color: #8ba79e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.teacher-name {
    margin: 0;
    color: #30443e;
    font-family:
        "Hiragino Mincho ProN",
        "Yu Mincho",
        serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.06em;
}

.teacher-name span {
    font-size: 0.55em;
    letter-spacing: 0.08em;
}

.teacher-title {
    margin: 9px 0 0;
    color: #71827c;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
}

/* メッセージ */

.teacher-catch {
    margin: 38px 0 28px;
    color: #405850;
    font-family:
        "Hiragino Mincho ProN",
        "Yu Mincho",
        serif;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.teacher-message {
    color: #596b65;
    font-size: 0.94rem;
    line-height: 2.15;
    letter-spacing: 0.045em;
}

.teacher-message p {
    margin: 0 0 20px;
}

/* 経歴 */

.teacher-career {
    margin-top: 44px;
    padding: 32px 34px;
    border: 1px solid rgba(139, 167, 158, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
}

.teacher-career h4 {
    margin: 0 0 20px;
    color: #78968c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.career-list {
    margin: 0;
}

.career-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 17px 0;
    border-top: 1px solid rgba(139, 167, 158, 0.18);
}

.career-item:first-child {
    border-top: 0;
}

.career-item dt {
    color: #779087;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.career-item dd {
    margin: 0;
    color: #53655f;
    font-size: 0.88rem;
    line-height: 1.9;
}

.needs-confirmation {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    color: #9b6730;
    background: #fff0c9;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* 私の想いへの導線 */

.teacher-story-link {
    display: flex;
    gap: 28px;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 34px;
    padding: 28px 0 8px;
}

.teacher-story-link p {
    margin: 0;
    color: #71827c;
    font-family:
        "Hiragino Mincho ProN",
        "Yu Mincho",
        serif;
    font-size: 0.9rem;
    line-height: 1.9;
    letter-spacing: 0.06em;
}

.teacher-story-link .text-link {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    flex-shrink: 0;
    padding-bottom: 7px;
    border-bottom: 1px solid #78968c;
    color: #405850;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition:
        gap 0.3s ease,
        color 0.3s ease;
}

.teacher-story-link .text-link:hover {
    gap: 20px;
    color: #78968c;
}

/* タブレット・スマートフォン */

@media (max-width: 820px) {
    .teacher-section {
        padding: 88px 20px;
    }

    .teacher-heading {
        margin-bottom: 52px;
    }

    .teacher-profile {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .teacher-photo-wrap {
        width: min(390px, 88%);
    }

    .teacher-content {
        padding-top: 0;
    }
}

@media (max-width: 560px) {
    .teacher-section {
        padding: 72px 18px;
    }

    .teacher-heading {
        margin-bottom: 42px;
    }

    .teacher-photo-frame {
        border-radius: 46% 46% 10px 10px;
    }

    .teacher-photo-decoration {
        right: -18px;
        bottom: -22px;
    }

    .teacher-name-block {
        padding-bottom: 22px;
    }

    .teacher-catch {
        margin-top: 30px;
    }

    .teacher-career {
        margin-top: 36px;
        padding: 24px 20px;
    }

    .career-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 15px 0;
    }

    .teacher-story-link {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }
}

