/* ===================================================================
   CALLAS English Studio  記録のページ  見た目の設定

   ・元の Google サイトのおもかげを残しています（2026年9月20日、本人の希望）
     - 書体：Playfair Display（英字の見出し）＋ Open Sans（本文）＝元サイトと同じ
       日本語は Noto Sans JP（読みやすさ優先。元サイトは端末まかせでした）
     - 色：カシス #5c1a4a ＋ ラズベリー #a81e5e（本人の希望。紫寄りも試したが「見にくい」とのことで戻した）
     - 背景は白、本文は黒。囲みや帯は使わず、見出し＋本文＋写真の素直な組み方
   ・色を変えたいときは、すぐ下の :root の中の色番号を書き換えます
   =================================================================== */

:root {
  --purple:       #5c1a4a;   /* 見出し（カシス） */
  --purple-light: #a81e5e;   /* リンク・小見出し・年表の丸（ラズベリー） */
  --purple-pale:  #f5e8f1;   /* 薄い紫の下地 */
  --ink:          rgba(0, 0, 0, .8);   /* 本文（元サイトと同じ 80% の黒） */
  --ink-soft:     rgba(0, 0, 0, .6);
  --line:         #e8e1f2;
  --paper:        #ffffff;

  --serif: "Playfair Display", "Times New Roman", serif;          /* 英字の見出しだけ */
  --sans:  "Open Sans", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-light); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--purple); }

.wrap { width: min(1000px, 100% - 48px); margin: 0 auto; }
.two  { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ---------- 上のバー（元サイトと同じ：左に Playfair の名前、右に細いメニュー） ---------- */
.bar {
  position: sticky; top: 0; z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.brand {
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  color: #000; text-decoration: none; white-space: nowrap;
}
.bar nav { display: flex; gap: 22px; font-size: 13px; }
.bar nav a { color: var(--ink-soft); text-decoration: none; }
.bar nav a:hover { color: var(--purple); }
.bar nav .nav-lab { color: var(--ink); font-weight: 700; }

/* ---------- 見出し ---------- */
h1, h2, h3 { color: var(--purple); font-weight: 700; line-height: 1.5; margin: 0 0 14px; }
h1 { font-size: 30px; letter-spacing: .04em; }
h2 { font-size: 24px; margin-top: 0; }
h3 { font-size: 17px; color: var(--purple-light); margin-bottom: 6px; }
p  { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 1.4em; }

/* ---------- 表紙 ---------- */
.home { padding: 56px 0 40px; }
/* 表紙のスライドショー（元サイトの動く画像の再現。写真が重なっていて、.on のものだけ見える）
   写真はゆっくり寄っていき（ケン・バーンズ効果）、次の写真にふわっと溶けます。
   文字は下からすっと浮かび上がります */
.slides { position: relative; aspect-ratio: 540 / 350; overflow: hidden; background: #ddd; border-radius: 4px; }
.slides figure {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1.6s ease-in-out;
  will-change: opacity;
}
.slides figure.on { opacity: 1; z-index: 2; }
.slides figure.leaving { z-index: 1; }     /* 出ていく写真は新しい写真の下で溶ける */
.slides img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); will-change: transform;
}
/* .on と .leaving で同じアニメーションを指定しておくと、切り替えの瞬間に寄りが止まらず続く */
.slides figure.on img, .slides figure.leaving img { animation: zoom 7s linear forwards; }
@keyframes zoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.slides figure::after {        /* 文字が読めるよう、下半分をうっすら暗く */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.42), rgba(0,0,0,0) 60%);
}
.slides figcaption {
  position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2;
  font-size: clamp(19px, 2.6vw, 25px); font-weight: 700; line-height: 1.4;
  color: #fff; letter-spacing: .03em;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(12px);
}
.slides figure.on figcaption { animation: rise .9s .35s ease-out forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.hero-text h1 { margin-top: 4px; }
.hero-text h2 { margin-top: 28px; font-size: 20px; }
.news { padding-left: 1.3em; }
.news li { margin-bottom: 6px; }

/* 近藤雪絵 Lab へ飛ぶボタン：Lab のしるし（雪の結晶）つき。カシスの塗りは使わない（本人の希望） */
.button {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  padding: 9px 22px 9px 12px;
  background: #fff; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  border: 1.5px solid #b9dcf0; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(79, 157, 207, .18);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.button img { border-radius: 7px; }
.button:hover { color: var(--ink); border-color: #4f9dcf; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(79, 157, 207, .28); }
.button.big { font-size: 18px; padding: 12px 30px 12px 16px; gap: 12px; }
.nav-lab img, .foot-lab img { display: inline-block; vertical-align: -3px; margin-right: 5px; border-radius: 4px; }

/* ---------- 小さなスタジオ ---------- */
.studio { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.access { margin-bottom: 4px; }
.photos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; align-self: center; }  /* 元の写真が小さいので、拡大せず3枚並べる */
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photos figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- あゆみ（縦線と丸い節のタイムライン。最初の案のデザイン） ---------- */
.history { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px;
  position: relative; padding: 0 0 26px 0;
}
.timeline li::before {           /* 縦の線 */
  content: ""; position: absolute; left: 124px; top: 14px; bottom: -6px;
  width: 2px; background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline li::after {            /* 丸い節 */
  content: ""; position: absolute; left: 120px; top: 9px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--purple-light); box-shadow: 0 0 0 4px var(--paper);
}
.timeline li.now::after { background: var(--purple); width: 14px; height: 14px; left: 118px; top: 7px; }
.when { font-weight: 700; color: var(--purple-light); font-size: 14.5px; letter-spacing: .02em; padding-top: 2px; }
.what { padding-left: 28px; font-size: 15.5px; color: var(--ink-soft); }
.what strong { display: block; color: var(--ink); font-size: 16px; }

/* ---------- 受講者の声 ---------- */
.voices { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.voices .sub { color: var(--ink-soft); margin-top: -8px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }
.quotes article { padding: 14px 0; border-bottom: 1px dotted var(--line); }
.quotes h3 { font-size: 16px; }
.quotes p  { margin: 0; }
.quotes p::before { content: "「"; }
.quotes p::after  { content: "」"; }

/* ---------- 締め ---------- */
.outro { padding: 48px 0 64px; border-top: 1px solid var(--line); text-align: center; }
.outro .en { margin-top: 24px; font-size: 14px; color: var(--ink-soft); }

/* ---------- フッター（元サイトの文言をそのまま） ---------- */
.foot { border-top: 1px solid var(--line); padding: 20px 0 40px; font-size: 12px; color: var(--ink-soft); }

/* ---------- 携帯 ---------- */
@media (max-width: 720px) {
  .two { grid-template-columns: 1fr; gap: 28px; }
  .bar .wrap { height: auto; padding: 12px 0; flex-wrap: wrap; }
  .bar nav { gap: 14px; flex-wrap: wrap; }
  .home { padding: 28px 0 32px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 22px; }
  .timeline li::before { left: 4px; top: 16px; }
  .timeline li::after  { left: 0; top: 11px; }
  .timeline li.now::after { left: -2px; top: 9px; }
  .what { padding-left: 0; }
  .quotes { grid-template-columns: 1fr; }
}
