/* ========================================
   LD・ことばの相談室 初台 / 初台支援センター 言花
   共通スタイルシート
   ======================================== */

/* ---- Google Fonts は各HTMLで読み込み ---- */

:root {
  --primary:      #3BA8E0;   /* 明るいスカイブルー */
  --primary-dark: #1E85C0;   /* 少し濃い青（ホバー） */
  --primary-light:#E0F3FC;   /* 薄い青（ボックス等） */
  --sakura:       #F0849A;   /* 明るい桜色 */
  --sakura-light: #FDEEF2;   /* 薄桜（ボックス等） */
  --sakura-dark:  #D4607A;   /* 少し濃い桜（ホバー） */
  --bg-sakura:    #FEF5F7;   /* ページ背景：淡い桜色 */
  --bg-blue:      #EEF7FD;   /* ページ背景：淡い青色 */
  --child-main:   #E8708A;   /* 就学児：明るい桜色 */
  --child-light:  #FDEEF2;   /* 就学児：薄桜ボックス */
  --child-accent: #5AAD5C;   /* 就学児：新緑アクセント */
  --adult-main:   #3BA8E0;   /* 成人：明るい青 */
  --adult-light:  #E0F3FC;   /* 成人：薄青ボックス */
  --adult-accent: #F0849A;   /* 成人：桜アクセント */
  --text:         #2A3B4C;
  --text-sub:     #5A6B7C;
  --border:       #E8D0D8;
  --white:        #FFFFFF;
  --radius:       12px;
  --shadow:       0 4px 20px rgba(59,168,224,0.12);
  --shadow-hover: 0 8px 32px rgba(240,132,154,0.22);
  --font:         'Noto Sans JP', sans-serif;
}

/* ---- リセット ---- */
*, *::before, *::after{
	box-sizing: border-box; margin: 0; padding: 0;
}
html{
	font-size: 16px; scroll-behavior: smooth;
}
body{
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-sakura);   /* デフォルト：淡い桜色ベース */
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
/* 成人部門ページは淡い青色ベース */
body.page-adult {
  background: var(--bg-blue);
}
img{
	max-width: 100%; height: auto; display: block;
}
a{
	color: inherit; text-decoration: none;
}
ul{
	list-style: none;
}

/* ---- ユーティリティ ---- */
.container{
	max-width: 1080px; margin: 0 auto; padding: 0 20px;
}
.section{
	padding: 72px 0;
}
/* 交互セクション：桜ベースページでは淡い青、青ベースページでは淡い桜 */
.section--gray           { background: var(--bg-blue); }
.page-adult .section--gray { background: var(--bg-sakura); }
.section-title{
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-dark);
  position: relative;
  padding-bottom: 16px;
}
.section-title::after{
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--sakura));
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-title.child-color { color: var(--child-main); }
.section-title.child-color::after { background: linear-gradient(to right, var(--sakura-dark), var(--child-main), #F2A0B5); }
.section-title.adult-color { color: var(--adult-main); }
.section-title.adult-color::after { background: linear-gradient(to right, var(--primary), var(--adult-main), var(--sakura)); }

.badge{
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.badge--child{
	background: var(--child-main); color: #fff;
}
.badge--adult{
	background: var(--adult-main); color: #fff;
}
.badge--white{
	background: rgba(255,255,255,0.25); color: #fff; border: 1px solid rgba(255,255,255,0.5);
}

/* ---- ヘッダー ---- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(to right, #F0849A 0%, #F8C0D0 40%, #3BA8E0 100%) 1;
  box-shadow: 0 2px 8px rgba(26,93,168,0.08);
}
.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.site-logo{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.site-logo__main{
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.site-logo__sub{
  font-size: 0.72rem;
  color: var(--text-sub);
  letter-spacing: 0.03em;
}
.site-nav{
	display: flex; gap: 28px;
}
.site-nav a{
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--primary); border-color: var(--primary); }

/* ハンバーガー（スマホ用） */
.hamburger{
	display: none; background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span{
  display: block; width: 24px; height: 2px;
  background: var(--primary); margin: 5px 0; border-radius: 2px;
  transition: 0.3s;
}

/* ---- ヒーロー（トップ共通） ---- */
.hero{
  min-height: 480px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2B68B8 0%, #3D8ED0 50%, #55BCEA 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}
.hero::before{
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner{
	position: relative; z-index: 1; max-width: 720px; margin: 0 auto;
}
.hero__kana{
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.hero__name{
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.85;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.hero__tagline{
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 16px;
}
.hero__sub{
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 36px;
}

/* ヒーロー（各部門） */
.hero--child {
  background: linear-gradient(135deg, #8B2A4E 0%, var(--child-main) 55%, #F2A0B5 100%);
}
.hero--adult {
  background: linear-gradient(135deg, #0D2850 0%, var(--adult-main) 60%, #BF4F70 100%);
}

/* ---- 2択ボタン（トップ） ---- */
.dept-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.dept-card{
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  padding: 32px 24px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  display: block;
  color: white;
  text-align: center;
}
.dept-card:hover{
  background: rgba(255,255,255,0.22);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.dept-card__icon{
	font-size: 2.8rem; margin-bottom: 12px;
}
.dept-card__title{
	font-size: 1.2rem; font-weight: 700; margin-bottom: 8px;
}
.dept-card__desc{
	font-size: 0.875rem; opacity: 0.85;
}
.dept-card__arrow{
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background 0.2s;
}
.dept-card:hover .dept-card__arrow{
	background: rgba(255,255,255,0.2);
}

/* ---- ボタン ---- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn--primary{
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,93,168,0.3);
}
.btn--primary:hover{
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,93,168,0.4);
}
.btn--white{
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn--white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}
.btn--outline{
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover { background: var(--primary-light); }

/* ---- センターについて（共通） ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-text h2{
	font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; color: var(--primary-dark);
}
.about-text p{
	color: var(--text-sub); margin-bottom: 16px; line-height: 1.9;
}
.about-img{
  background: var(--white);
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  border: 2px dashed var(--border);
  box-shadow: var(--shadow);
}

/* ---- カード系 ---- */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card__num{
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  margin-bottom: 14px;
  background: var(--child-main); color: white;
}
.card__num--adult { background: var(--adult-main); }
.card__title{
	font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--primary-dark);
}
.card__body{
	font-size: 0.9rem; color: var(--text-sub); line-height: 1.8;
}

/* ---- 症状チェックリスト ---- */
.symptom-section { background: var(--white); }
.symptom-box{
  background: var(--white);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.symptom-box.child { border-color: var(--child-main); background: var(--white); }
.symptom-box.adult { border-color: var(--adult-main); background: var(--white); }
.symptom-box h3{
	font-size: 1.1rem; font-weight: 700; margin-bottom: 16px;
}
.symptom-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.symptom-list li{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}
.symptom-list li::before{
  content: '✓';
  font-weight: 700;
  color: var(--child-main);
  flex-shrink: 0;
  margin-top: 2px;
}
.symptom-list.adult li::before { color: var(--adult-main); }
.symptom-note{
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-sub);
  font-style: italic;
  line-height: 1.7;
}
.symptom-cta{
  text-align: center;
  margin-top: 36px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.symptom-cta p{
	font-size: 1rem; color: var(--text-sub); margin-bottom: 16px;
}

/* ---- 料金テーブル ---- */
.price-table{
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 16px;
}
.price-table th{
  background: var(--primary);
  color: var(--white);
  padding: 16px 20px;
  font-size: 0.95rem;
  text-align: left;
  font-weight: 600;
}
.price-table th.child-bg { background: var(--child-main); }
.price-table th.adult-bg { background: var(--adult-main); }
.price-table td{
	padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 0.95rem; vertical-align: top;
}
.price-table td:last-child{
	font-weight: 600; color: var(--primary-dark); white-space: nowrap;
}
.price-table tr:last-child td{
	border-bottom: none;
}
.price-table tr:nth-child(even) td { background: var(--primary-light); }
.price-note{
  margin-top: 12px;
  font-size: 0.83rem;
  color: var(--text-sub);
  line-height: 1.8;
  padding: 0 4px;
}
.price-note li{
	margin-bottom: 4px; padding-left: 1em; position: relative;
}
.price-note li::before{
	content: '＊'; position: absolute; left: 0;
}

/* ---- お問い合わせ ---- */
.contact-section{
  background: linear-gradient(135deg, #D4607A 0%, #F0849A 45%, #6BC8F0 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 20px;
}
.contact-section h2{
	font-size: 1.8rem; font-weight: 700; margin-bottom: 12px;
}
.contact-section .lead{
	opacity: 0.85; margin-bottom: 40px; font-size: 1rem; line-height: 1.8;
}
.contact-methods{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 600px;
  margin: 0 auto 32px;
}
.contact-method{
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.contact-method__label{
	font-size: 0.8rem; opacity: 0.7; margin-bottom: 6px; letter-spacing: 0.05em;
}
.contact-method__value{
	font-size: 0.95rem; font-weight: 600; word-break: break-all;
}
.contact-method__sub{
	font-size: 0.8rem; opacity: 0.7; margin-top: 6px;
}

/* ---- アクセス ---- */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.access-info dt{
	font-weight: 700; color: var(--primary-dark); margin-top: 16px; margin-bottom: 4px; font-size: 0.875rem;
}
.access-info dd{
	color: var(--text-sub); font-size: 0.95rem;
}
.map-placeholder{
  background: var(--white);
  border-radius: var(--radius);
  height: 260px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-sub);
  border: 2px dashed var(--border);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

/* ---- パンくず ---- */
.breadcrumb{
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span{
	margin: 0 6px;
}

/* ---- 部門バナー（各ページの冒頭） ---- */
.dept-hero{
  padding: 64px 20px 56px;
  text-align: center;
  color: white;
}
.dept-hero.child{
	background: linear-gradient(135deg, #C04060 0%, #E8708A 45%, #F8B8CC 80%, #FDD8E5 100%);
}
.dept-hero.adult{
	background: linear-gradient(135deg, #1E85C0 0%, #3BA8E0 55%, #82CFF5 80%, #F0849A 100%);
}
.dept-hero__en{
	font-size: 0.82rem; opacity: 0.7; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px;
}
.dept-hero__title{
	font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: 12px; line-height: 1.3;
}
.dept-hero__tagline{
	font-size: 1rem; opacity: 0.85;
}
.dept-hero__nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.dept-hero__nav a{
  padding: 8px 18px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 100px;
  font-size: 0.85rem;
  color: white;
  font-weight: 600;
  transition: background 0.2s;
}
.dept-hero__nav a:hover{
	background: rgba(255,255,255,0.2);
}

/* ---- スタッフ ---- */
.staff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.staff-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex; gap: 20px; align-items: flex-start;
}
.staff-icon{
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.staff-info h4{
	font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--primary-dark);
}
.staff-info p{
	font-size: 0.85rem; color: var(--text-sub); line-height: 1.7;
}

/* ---- フッター ---- */
.site-footer{
  background: linear-gradient(135deg, #1E85C0 0%, #2A6090 50%, #C04060 100%);
  color: rgba(255,255,255,0.75);
  padding: 48px 20px 24px;
}
.footer-inner{
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 48px;
  margin-bottom: 40px;
}
.footer-logo{
	font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 8px;
}
.footer-sub{
	font-size: 0.8rem;
}
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.footer-links h4{
	color: var(--white); font-size: 0.85rem; font-weight: 700; margin-bottom: 10px;
}
.footer-links ul{
	display: flex; flex-direction: column; gap: 6px;
}
.footer-links a{
	font-size: 0.82rem; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom{
  max-width: 1080px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.78rem;
  text-align: center;
}

/* ---- レスポンシブ ---- */
@media (max-width: 768px) {
  .section{
	padding: 48px 0;
}
  .dept-cards { grid-template-columns: 1fr; gap: 16px; }
  .cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img{
	height: 180px;
}
  .access-grid { grid-template-columns: 1fr; }
  .symptom-list { grid-template-columns: 1fr; }
  .contact-methods { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { grid-template-columns: 1fr; }
  .site-nav{
	display: none;
}
  .hamburger{
	display: block;
}
  .price-table{
	font-size: 0.85rem;
}
  .price-table th, .price-table td{
	padding: 12px 14px;
}
}
@media (max-width: 480px) {
  .dept-card{
	padding: 24px 16px;
}
  .hero{
	min-height: 360px;
}
  .hero__kana{
	font-size: 2rem;
}
}
