﻿/* ============================================================
   WELA JOB Toshinden [Jr.] — スタイルシート
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-padding-top: 5rem; }

:root {
  --pink: #F4A7B9;
  --pink-light: #FCDDE6;
  --pink-pale: #FFF0F5;
  --pink-deep: #E07090;
  --blush: #F9C5D1;
  --peach: #FAC8A0;
  --peach-light: #FDE8D8;
  --lavender: #C9B8E8;
  --lavender-light: #EDE5F8;
  --mint: #A8D8C8;
  --mint-light: #D8F0E8;
  --yellow: #F8E0A0;
  --yellow-light: #FDF4D8;
  --coral: #F4908A;
  --sky: #A8C8E8;
  --sky-light: #D8EBF8;
  --brown: #8B6A5A;
  --text-dark: #5A3A3A;
  --text-mid: #8A6060;
  --text-light: #B89090;
  --white: #FFFBFC;
  --nav-height: 5.6rem;
}

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

a { color: inherit; }
a:hover { color: inherit; }

.text-link { color: var(--text-light); text-decoration: none; }
.text-link:hover { color: var(--text-light); }

.page-back-home {
  display: inline-block;
  color: var(--pink-deep);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
}
.page-back-home:hover { opacity: .7; }

/* ----------------------------------------
   ナビゲーション
   ---------------------------------------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  min-height: var(--nav-height);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,248,250,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244,167,185,0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Kaisei Decol', serif;
  font-size: 1.6rem;
  color: var(--pink-deep);
  letter-spacing: 0.05em;
}

.nav-logo-img-link { display: block; flex-shrink: 0; line-height: 0; }

.nav-logo-img {
  height: 58px;
  width: auto;
  display: block;
}

.nav-logo span {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-family: 'Zen Maru Gothic', sans-serif;
  display: block;
  font-weight: 400;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.9rem;
  transition: color 0.3s;
}

nav a:hover { color: var(--pink-deep); }

.nav-cta {
  background: white;
  border: 2.25px solid var(--pink-deep);
  color: var(--pink-deep) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  transition: background 0.3s !important;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--pink) !important; color: white !important; }

.nav-external-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
}

.nav-external-link:hover { color: var(--pink-deep); }

/* ----------------------------------------
   ハンバーガーボタン & ドロワーナビ
   z-index 階層: backdrop(150) < nav(200) < panel(250)
   ---------------------------------------- */
.nav-right-sp {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--pink-light);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--pink-deep);
  border-radius: 2px;
}

/* backdrop: nav(200)より低いためナビバーは透過して見える */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(90, 58, 58, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

/* panel: nav(200)より高いためナビバーの上に重なる */
.nav-drawer-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 82vw);
  height: 100%;
  z-index: 250;
  background: var(--white);
  padding: 1.6rem 1.2rem;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  box-shadow: -4px 0 24px rgba(244, 167, 185, 0.2);
}

.nav-drawer-panel.is-open { transform: translateX(0); }

.nav-drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}

.nav-drawer-close:hover { color: var(--pink-deep); }

.nav-drawer-logo {
  font-family: 'Kaisei Decol', serif;
  font-size: 1rem;
  color: var(--pink-deep);
  font-weight: 700;
  line-height: 1.4;
  border-bottom: 1px solid var(--pink-light);
  padding-bottom: 1rem;
  margin: 0;
}

.nav-drawer-links {
  list-style: none;
  flex: 1;
}

.nav-drawer-links li + li { border-top: 1px solid var(--pink-light); }

.nav-drawer-links a {
  display: block;
  padding: 0.9rem 0;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, padding-left 0.2s;
}

.nav-drawer-links a:hover { color: var(--pink-deep); padding-left: 0.4rem; }

.nav-drawer-cta {
  display: block;
  background: var(--pink-deep);
  color: white;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.nav-drawer-cta:hover { background: var(--pink); color: white; }

.nav-drawer-external {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-drawer-external:hover { color: var(--pink-deep); }

/* ----------------------------------------
   ヒーローセクション
   ---------------------------------------- */
.hero {
  background: #FFE4F7;
  position: relative;
  padding: var(--nav-height) 1.5rem 3rem;
  overflow: hidden;
}

.hero-flex {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ----------------------------------------
   ヒーロー写真エリア
   ---------------------------------------- */
.hero-photo-wrap {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-light), var(--lavender-light));
}

.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 写真の下端をフェードアウトさせる */
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(255,251,252,0) 0%, #FFE4F7 100%);
  pointer-events: none;
}

/* セクション右端に固定（写真・テキストカードどちらにも属さない）
   top はナビ（fixed）の高さ分クリアランスを確保 */
.hero-topbar {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}

.hero-topbar-item {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  text-decoration: none;
  min-width: 0;
  border-bottom: 1px solid var(--pink-light);
}

.hero-topbar-item:last-child { border-bottom: none; }

.hero-tags {
  position: absolute;
  z-index: 2;
  left: 4.5rem;
  top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-tag {
  align-self: flex-start;
  background: linear-gradient(135deg, #FFBDC9, #FF7EAD);
  color: white;
  font-size: 1.15rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.hero-tag.hero-tag-reverse {
  background: linear-gradient(135deg, #FF7EAD, #FFBDC9);
}

/* SP: hero-icons-row の下に通常フローで、1行ずつ大きめに表示（写真とは重ねない） */
.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  max-width: 300px;
  margin: 1rem auto 0;
}

.hero-cta-row .hero-cta-img {
  width: 100%;
  max-width: 300px;
}

.hero-cta-img {
  display: block;
  transition: transform 0.2s;
}

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

.hero-cta-img:hover { transform: translateY(-2px); }

/* ----------------------------------------
   ヒーロー テキストカード
   ---------------------------------------- */
.hero-textcard {
  background: #fff;
  opacity: .90;
  border-radius: 24px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 40px rgba(200,150,170,.18);
}

/* ----------------------------------------
   ヒーロー プログラムアイコン行
   ---------------------------------------- */
.hero-icons-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 1;
}

.hero-icon-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 0.9rem 0.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  border-top: 4px solid var(--pink);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-icon-card:hover { transform: translateY(-3px); color: var(--text-dark); }
.hero-icon-card.hic-2 { border-top-color: var(--peach); }
.hero-icon-card.hic-3 { border-top-color: var(--lavender); }
.hero-icon-card.hic-4 { border-top-color: var(--mint); }
.hero-icon-card.hic-5 { border-top-color: var(--sky); }
.hero-icon-card.hic-6 { border-top-color: var(--yellow); }

.hero-icon-img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 60px;
  object-fit: contain;
  margin: 0 auto 0.4rem;
}

@media (min-width: 1024px) {
  .hero-flex { position: relative; min-height: 480px; }
  /* 写真をテキストカード側へ広げ、テキストカードを最前面に重ねる */
  .hero-photo-wrap {
    position: absolute;
    z-index: 1;
    top: 0; left: 0; bottom: 0;
    width: 82%;
    min-height: 0;
  }
  .hero-textcard {
    position: relative;
    z-index: 2;
    margin-left: auto;
    margin-top: 10rem;
    width: 40%;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-icons-row { width: 40%; margin-left: auto; }
  /* hero-flexの起点がheroのpadding-top(=ナビの高さ)分下なので、top:0でナビ直下にぴったりつく */
  .hero-topbar { flex-direction: row; width: 40%; top: 0; height: var(--nav-height); }
  .hero-topbar-item { flex: 1; border-bottom: none; border-right: 1px solid var(--pink-light); }
  .hero-topbar-item:last-child { border-right: none; }

  /* PC: 写真の左下に重ねて表示 */
  .hero-cta-row {
    position: absolute;
    z-index: 2;
    left: 1.5rem;
    bottom: 1.2rem;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 260px;
    margin: 0;
  }
  .hero-cta-row .hero-cta-img { max-width: none; }
}

/* PC（目安1200px〜）: 空き状況欄の文字を少し大きく */
@media (min-width: 1200px) {
  .hero-topbar-item { font-size: 1.1rem; }
}

/* ----------------------------------------
   一日の流れ：横スライド背景画像
   ---------------------------------------- */
.flow-slider {
  position: absolute;
  left: 0;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  height: 200px;
  overflow: hidden;
  z-index: 0;
  opacity: 0.8;
}

.flow-slider-track {
  display: flex;
  width: max-content;
  height: 100%;
  /* 1セット（3枚 x 330px = 990px）分だけ動かしてループ。
     セット数が十分多いので、動いている間ずっと画面が画像で埋まり続け、継ぎ目の空白が出ない */
  animation: flowSlide 45s linear infinite;
}

.flow-slider-track img {
  width: 320px;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 10px;
}

@keyframes flowSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-990px); }
}

@media (prefers-reduced-motion: reduce) {
  .flow-slider-track { animation: none; }
}

@media (max-width: 768px) {
  .flow-slider { height: 130px; }
}

.flow-char {
  position: absolute;
  z-index: 1;
  width: 140px;
  height: auto;
}

/* 14:00（一日の流れ・先頭項目）の左上あたり */
.flow-char-1 { top: 15rem; left: 15%; }
/* 送迎・降所（末尾項目）の右下あたり */
.flow-char-2 { bottom: 11rem; right: 15%; }

@media (max-width: 768px) {
  .flow-char    { width: 84px; }
  .flow-char-1  { top: 0rem; left: 0.5rem; width: 58px; }
  .flow-char-2  { display: none; }
}

.hero-title {
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* ----------------------------------------
   グラデーション×シマー（汎用クラス）
   .text-shimmer を付けた要素はすべて同じグラデーションになる
   ---------------------------------------- */
.text-shimmer {
  background: linear-gradient(
    90deg,
    #1A6BBF                    0%,
    #1A9E62                   16%,
    #5DC99A                   30%,
    rgba(255, 255, 255, 0.92)  43%,
    #ffffff                    50%,
    rgba(255, 255, 255, 0.92)  57%,
    #5AAEE0                   70%,
    #1A6BBF                   83%,
    #1A9E62                  100%
  );
  background-size: 300% 100%;
  background-position: 0% center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes accentShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 100% center; }
}

.text-shimmer.is-shimmering {
  animation: accentShimmer 1.5s ease-in-out forwards;
}

.hero-title .accent {
  position: relative;
  display: inline-block;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, #5AAEE0, #5DC99A);
  border-radius: 3px;
  z-index: -1;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.9;
  padding: 0 44px;
}

/* ----------------------------------------
   ボタン
   ---------------------------------------- */
.btn-primary {
  background: var(--pink-deep);
  color: white;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(224,112,144,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #D05878;
}

.flow-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.flow-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 300px;
  max-width: 100%;
  background: #FFBA89;
  box-shadow: 0 4px 20px rgba(255,186,137,0.45);
}

.flow-cta-btn:hover {
  background: #FFA873;
}

.flow-cta-btn .flow-cta-arrow {
  font-size: 1.3rem;
  line-height: 1;
}

.btn-secondary {
  background: white;
  color: var(--pink-deep);
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--pink-light);
  transition: transform 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--pink-deep);
}

/* 「写真で振り返る」ボタン: ナビの見学・お申込みボタンと同様、上下移動せず色だけ変化 */
.btn-photos {
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn-photos:hover {
  transform: none;
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

/* ----------------------------------------
   セクション共通
   ---------------------------------------- */
section {
  position: relative;
  z-index: 2;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-tag {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--pink-deep);
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-mid);
  line-height: 1.9;
  font-size: 1rem;
  max-width: 560px;
}

/* ----------------------------------------
   About セクション
   ---------------------------------------- */
.about-section {
  background: #FFE4F7;
  position: relative;
  overflow: hidden;
}

.about-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-visual {
  position: relative;
  padding-bottom: 2.5rem;
}

.about-sketch {
  width: 85%;
  margin: 0 auto;
}

.about-sketch img {
  width: 100%;
  height: auto;
  display: block;
}

.about-illus {
  position: absolute;
  right: 0;
  bottom: -11.5rem;
  z-index: 1;
  width: 82%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(200,150,170,.18);
}

.about-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.about-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-stat {
  padding-right: 1.5rem;
  border-right: 1px solid var(--pink-light);
}

.about-stat:last-child {
  padding-right: 0;
  border-right: none;
}

.about-stat-num {
  font-family: 'Kaisei Decol', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pink-deep);
}

.about-stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* ----------------------------------------
   プログラムセクション
   ---------------------------------------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.program-card {
  background: white;
  border-radius: 24px;
  padding: 2rem 1.8rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.program-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: 0.18;
}

.program-card.pc1         { border-color: var(--pink-light); }
.program-card.pc1::after  { background: var(--pink); }
.program-card.pc2         { border-color: var(--peach-light); }
.program-card.pc2::after  { background: var(--peach); }
.program-card.pc3         { border-color: var(--lavender-light); }
.program-card.pc3::after  { background: var(--lavender); }
.program-card.pc4         { border-color: var(--mint-light); }
.program-card.pc4::after  { background: var(--mint); }
.program-card.pc5         { border-color: var(--yellow-light); }
.program-card.pc5::after  { background: var(--yellow); }
.program-card.pc6         { border-color: var(--sky-light); }
.program-card.pc6::after  { background: var(--sky); }

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(200,130,150,0.15);
}

.program-icon {
  width: auto;
  height: 120px;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
}

.program-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  font-family: 'Kaisei Decol', serif;
}

.program-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.7rem;
  margin: 0 0.35rem 0.6rem 0;
  border: 1.5px solid var(--pink-deep);
  border-radius: 99px;
  color: var(--pink-deep);
  background: var(--pink-pale);
}

.program-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ----------------------------------------
   スタッフセクション
   ---------------------------------------- */
.staff-section {
  background: linear-gradient(135deg, var(--pink-pale) 0%, var(--lavender-light) 50%, var(--mint-light) 100%);
}

.staff-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  overflow: hidden;
}

.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ホーム限定：4名を1行ずつ、写真+氏名+役職 と 経歴・資格 を左右交互に並べるレイアウト */
.staff-rows {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.staff-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(200,160,180,0.15);
  text-align: left;
}

.staff-row-reverse {
  grid-template-columns: 1fr 200px;
}

.staff-person {
  text-align: center;
}

.staff-person h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0.3rem 0;
}

.staff-role {
  font-size: 0.78rem;
  color: var(--pink-deep);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.staff-detail p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 0.8rem;
}

.staff-detail p:first-child {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark);
}

.staff-detail-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink-deep);
  margin-bottom: 0.3rem;
}

@media (max-width: 768px) {
  .staff-row,
  .staff-row-reverse {
    grid-template-columns: 1fr;
  }
  /* SPでは常にstaff-personが上、staff-detailが下（左右交互をやめて統一） */
  .staff-row-reverse .staff-person { order: 1; }
  .staff-row-reverse .staff-detail { order: 2; }
}

/* ----------------------------------------
   一日の流れ
   ---------------------------------------- */
.flow-list {
  margin-top: 3rem;
  position: relative;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.flow-list::before {
  content: '';
  position: absolute;
  left: 110px;
  top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--pink-light), var(--lavender-light), var(--mint-light));
  border-radius: 2px;
}

.flow-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  position: relative;
}

.flow-time {
  min-width: 80px;
  text-align: right;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pink-deep);
  padding-top: 0.2rem;
  text-shadow:
    0 0 6px rgba(255,255,255,1),
    0 0 12px rgba(255,255,255,.95),
    0 0 20px rgba(255,255,255,.8);
}

.flow-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  border: 2.5px solid white;
  box-shadow: 0 0 0 2px currentColor;
}

.flow-body {
  background: white;
  border-radius: 16px;
  padding: 1rem 1.3rem;
  flex: 1;
  box-shadow: 0 2px 12px rgba(200,150,170,0.12);
}

.flow-body h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.flow-body p {
  font-size: 0.85rem;
  color: var(--text-mid);
}

/* ----------------------------------------
   お知らせ
   ---------------------------------------- */
#news {
  position: relative;
  overflow: hidden;
}

#news::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 300px; height: 300px;
  background: var(--blush);
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(40px);
}

.news-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--pink-light);
  border-radius: 16px;
  overflow: hidden;
  max-width: 700px;
  border: 2px solid var(--pink-deep);
}

.news-item {
  background: white;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: background 0.2s;
}

.news-item:hover { background: var(--pink-pale); }

.news-date {
  font-size: 0.8rem;
  color: var(--text-light);
  min-width: 80px;
  padding-top: 0.1rem;
}

.news-tag-pill {
  font-size: 0.72rem;
  padding: 0.18rem 0.7rem;
  border-radius: 50px;
  font-weight: 700;
  white-space: nowrap;
}

.news-tag-pill.event  { background: var(--pink-light);     color: var(--pink-deep); }
.news-tag-pill.info   { background: var(--lavender-light); color: #7A5AB0; }
.news-tag-pill.notice { background: var(--yellow-light);   color: #A07800; }

.news-text {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.6;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news-insta-center {
  margin-top: 2.5rem;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.insta-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  transition: opacity 0.2s;
}

.insta-link-btn:hover { opacity: 0.85; color: #fff; }

.photos-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pink-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  transition: opacity 0.2s;
}

.photos-link-btn:hover { opacity: 0.85; color: #fff; }

/* ----------------------------------------
   ブログカード（お知らせ横のプレビュー・スタッフブログ一覧で共用）
   ---------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .blog-grid { grid-template-columns: repeat(2,1fr); gap: .8rem; }
}

.blog-card-home {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(200,150,160,.12);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.blog-card-home:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(200,150,160,.22); }

.blog-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(135deg,#fce4ec,#e8f5e9);
}

.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.blog-img-none {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.blog-card-body {
  padding: .8rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.blog-cat-pill {
  display: inline-block;
  font-size: .6rem;
  padding: 2px 8px;
  background: #fce4ec;
  color: #c2185b;
  border-radius: 99px;
  margin-right: 3px;
}

.blog-card-title {
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-text {
  font-size: .75rem;
  color: #999;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-date { font-size: .7rem; color: #bbb; }
.blog-more { text-align: center; margin-top: 2rem; }

.news-blog-preview {
  display: flex;
  flex-direction: column;
}

.news-blog-preview .news-blog-card {
  flex: 1;
  height: auto;
}

/* ----------------------------------------
   お申し込みの流れ
   ---------------------------------------- */
.apply-list .flow-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink-deep);
  letter-spacing: 0.04em;
}

/* ----------------------------------------
   FAQ
   ---------------------------------------- */
.faq-list {
  max-width: 700px;
  margin: 2.5rem auto 0;
}

.faq-item {
  background: white;
  border-radius: 14px;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 12px rgba(200,150,170,0.1);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  pointer-events: none;
  cursor: default;
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-q::marker,
.faq-q::-webkit-details-marker { display: none; }

.faq-q::before {
  content: 'Q';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.faq-q::after {
  content: none;
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--pink-deep);
  transition: transform 0.25s;
  flex-shrink: 0;
}

details[open] > .faq-q::after { transform: rotate(45deg); }

.faq-a {
  padding: 0 1.4rem 1.1rem calc(1.4rem + 28px + 0.8rem);
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ----------------------------------------
   CTA セクション
   ---------------------------------------- */
.cta-section {
  background: var(--pink-pale);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 250px; height: 250px;
  background: var(--lavender);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(40px);
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cta-desc {
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.9;
  font-size: 1rem;
}

.cta-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.cta-card {
  background: white;
  border-radius: 20px;
  padding: 1.8rem 2rem;
  min-width: 220px;
  box-shadow: 0 4px 20px rgba(220,150,170,0.15);
  text-align: left;
}

.cta-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cta-card a {
  font-size: 0.88rem;
  color: var(--pink-deep);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* PC/タブレット幅: 右のGoogleマップ（高さ260px固定）と高さを揃える */
@media (min-width: 576px) {
  .cta-cards {
    gap: 1rem;
    justify-content: space-between;
  }
  .cta-card {
    flex: 1;
    padding: 1.2rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ----------------------------------------
   フッター
   ---------------------------------------- */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 2rem;
  text-align: center;
}

footer .footer-logo {
  font-family: 'Kaisei Decol', serif;
  font-size: 1.8rem;
  color: var(--pink-light);
  margin-bottom: 0.5rem;
}

footer p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.4rem;
  margin: 1.2rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

footer .footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  font-size: 0.92rem;
}

footer .footer-links a:hover {
  color: var(--pink-light);
}

footer .copy {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ----------------------------------------
   アニメーション
   ---------------------------------------- */
@keyframes floatUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(12px,-16px) scale(1.03); }
  66%     { transform: translate(-10px,10px) scale(0.98); }
}

.hero-textcard > * { animation: floatUp 0.7s ease both; }
.hero-textcard > *:nth-child(1) { animation-delay: 0.10s; }
.hero-textcard > *:nth-child(2) { animation-delay: 0.25s; }

/* ----------------------------------------
   レスポンシブ
   ---------------------------------------- */

/* 1099px以下：ナビリンクを非表示にしてハンバーガーを表示 */
@media (max-width: 1099px) {
  nav ul         { display: none; }
  .nav-right-sp  { display: flex; }
}

/* 中間幅：ナビロゴを縮小 */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav-logo { font-size: 1.1rem; }
  .nav-logo span { font-size: 0.75rem; }
  .nav-logo-img { height: 44px; }
}

@media (max-width: 768px) {
  /* セクション共通: 上下paddingを詰める */
  .section-inner { padding-top: 3rem; padding-bottom: 3rem; }

  .about-grid   { grid-template-columns: 1fr; gap: 2rem; }
  /* About Us SP: スケッチを小さく、左寄せに。写真は少し上げて幅80%・下に余白 */
  .about-sketch { width: 65%; margin-left: 0; }
  .about-illus  { bottom: -1rem; width: 60%; }
  /* about-stat内の文言を1remに */
  .about-stat-num { font-size: 1rem; }
  /* プログラム SP: 2列表示（カードの余白・アイコンも縮小して収める） */
  .programs-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .program-card  { padding: 1.2rem 1rem; }
  .program-icon  { height: 64px; }
  .flow-list::before { left: 75px; }
  .flow-item  { gap: 0.8rem; }
  .flow-time  { min-width: 56px; font-size: 0.78rem; }
  .nav-right-sp .nav-cta,
  .nav-right-sp .nav-external-link { display: none; }   /* SP ではナビのCTAボタン・外部リンクを非表示 */
  .nav-logo a { font-size: 1rem; }
  .nav-logo span { font-size: 0.65rem; }
  .nav-logo-img { height: 34px; }
  .nav-logo { gap: 0.5rem; }

  /* ヒーロー SP: 写真エリアを少し低めに（padding-topは基本ルールでナビ高さと一致済み） */
  .hero-photo-wrap  { min-height: 340px; }
  .hero-topbar-item { padding: 0.45rem 0.7rem; font-size: 0.92rem; }
  .hero-tags        { left: 0.8rem; }
  .hero-cta-row     { max-width: 280px; }
  /* hero-icons-row: 4個を2列×2行で固定表示 */
  .hero-icon-card   { flex: 0 0 calc(50% - 0.35rem); }

  .news-blog-preview { margin-top: 1rem; }
}

/* SP・タブレット共通（PCの写真オーバーレイ表示になる1024px手前まで）:
   写真をheroのpadding分打ち消して横幅いっぱいに表示 */
@media (max-width: 1023px) {
  .hero-photo-wrap { margin-left: -1.5rem; margin-right: -1.5rem; }
}

/* フッターロゴ SP: ナビの文字サイズ程度に縮小 */
@media (max-width: 768px) {
  footer .footer-logo { font-size: 1rem; }
}

/* ----------------------------------------
   お知らせ一覧ページ
   ---------------------------------------- */
.news-all-wrap {
  max-width: 860px;
  margin: 88px auto 0;
  padding: 2rem 1rem 4rem;
}

.news-all-title {
  font-family: 'Kaisei Decol', serif;
  font-size: 1.8rem;
  color: #333;
  font-weight: 700;
  margin-bottom: .3rem;
}

.news-list-all {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin-top: .5rem;
}

.news-item-all {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .9rem .75rem;
  color: inherit;
  transition: background .15s;
  border-bottom: 1.5px solid var(--pink-deep);
}

.news-item-all:last-child {
  border-bottom: none;
}

.news-item-all:hover {
  background: var(--pink-pale);
}

.news-item-meta {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  flex-shrink: 0;
}

.news-item-title {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* cat-filter は blog-all.tpl と共有 */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0 2rem;
}

.cat-btn {
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #e8b4c0;
  color: var(--pink-deep);
  background: #fff;
  transition: all .2s;
}

.cat-btn:hover, .cat-btn.active {
  background: var(--pink-deep);
  color: #fff;
  border-color: var(--pink-deep);
}

.empty-msg {
  text-align: center;
  padding: 4rem 1rem;
  color: #aaa;
  font-size: 1rem;
}

.blog-pager {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.blog-pager a, .blog-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: .85rem;
  text-decoration: none;
  border: 2px solid #e8b4c0;
  color: var(--pink-deep);
  font-weight: 600;
}

.blog-pager a:hover, .blog-pager .current {
  background: var(--pink-deep);
  color: #fff;
  border-color: var(--pink-deep);
}

/* フェードインアップ アニメーション */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.55s ease, transform 1.55s ease;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------
   TEL 表示
   ---------------------------------------- */
.tel {
  font-family: 'Kaisei Decol', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0.5rem 0;
}
.tel a {
  color: var(--text-dark);
  text-decoration: none;
}
.tel a:hover { opacity: .8; }

@media (max-width: 768px) {
  .tel { font-size: 1.4rem; }
}

/* ブログ一覧ボタン：スマホで全幅 */
@media (max-width: 768px) {
  .blog-more a.btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* お知らせ：スマホで2行（1行目=日付+カテゴリ、2行目=タイトル） */
@media (max-width: 768px) {
  .news-item,
  .news-item-all {
    flex-direction: column;
    gap: .15rem;
  }
  .news-item .news-item-meta,
  .news-item-all .news-item-meta {
    flex-shrink: 0;
    align-self: flex-start;
  }
  .news-text,
  .news-item-title {
    width: 100%;
  }
}

/* ----------------------------------------
   CTA マップ
   ---------------------------------------- */
.cta-map {
  border-radius: 16px;
  overflow: hidden;
  height: 260px;
  margin-top: 3rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.1);
}
.cta-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ----------------------------------------
   お問い合わせセクション下部インフォバー
   ---------------------------------------- */
.contact-info-bar {
  display: inline-flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
  padding: 1.2rem 2rem;
  background: rgba(255,255,255,.7);
  box-shadow: 0 4px 20px rgba(220, 150, 170, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  text-align: left;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  white-space: nowrap;
}

.ci-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown);
  background: var(--pink-pale);
  padding: .2rem .65rem;
  border-radius: 99px;
  white-space: nowrap;
}

.ci-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.ci-vacancy {
  font-family: 'Kaisei Decol', serif;
  font-size: 1.3rem;
  color: var(--pink-deep);
}

/* contact-info-bar スマホ調整 */
@media (max-width: 768px) {
  .contact-info-bar { padding: 1.2rem 0.5rem; }
  .contact-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    white-space: normal;
  }
  .ci-value {
    font-size: 0.8rem;
    white-space: normal;
    word-break: break-word;
  }
}

/* ----------------------------------------
   ページトップへ戻るボタン
   ---------------------------------------- */
#pageTopBtn {
  position: fixed;
  bottom: 1.8rem;
  right: 1.5rem;
  z-index: 100;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pink-deep);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(224,112,144,.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
}

#pageTopBtn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#pageTopBtn:hover {
  background: var(--pink);
}
