/* ============================================================
   株式会社メディウェル — Base CSS
   既存CMSテンプレートをメディウェルデザインシステムに合わせて全面改修
   Design: Blue & White × Gold Accent
   Fonts: Cormorant Garamond (display) + Shippori Mincho (body)
   ============================================================ */

/* ━━━ Google Fonts ━━━ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Shippori+Mincho:wght@300;400;500&display=swap');

/* ━━━ Design Tokens ━━━ */
:root {
  /* ブランドカラー */
  --blue:         #1A5FA8;
  --blue-light:   #5BA3DE;
  --blue-pale:    #D6EAF8;
  --blue-deep:    #0A2D5E;
  --blue-mid:     #2B7BC8;

  /* ニュートラル */
  --navy:         #0A2D5E;
  --navy-mid:     #1A3A5C;
  --navy-light:   #2A5080;

  /* アクセント */
  --gold:         #C8A96A;
  --gold-light:   #DEC898;

  /* 背景・テキスト */
  --cream:        #F7FAFD;
  --white:        #FFFFFF;
  --text:         #1A2A3A;
  --text-mid:     #3A5068;
  --text-light:   #6A8AAA;

  /* ボーダー */
  --border:       rgba(26, 95, 168, 0.22);
  --border-light: rgba(26, 95, 168, 0.10);

  /* ブルー系UI */
  --blue-ultra:   #EEF6FD;
}

/* ━━━ Reset & Base ━━━ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
html > body {
  font-family: 'Shippori Mincho', "ヒラギノ明朝 Pro W3", "Hiragino Kaku Gothic Pro",
               "メイリオ", Meiryo, sans-serif;
  color: var(--text);
  background-color: var(--cream);
  letter-spacing: 0.08em;
  line-height: 1.8;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  min-width: 1200px;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; transition: color 0.3s, opacity 0.3s; }
a:hover { color: var(--blue-deep); text-decoration: none; opacity: 0.85; }
#container { overflow: hidden; }
#content { width: 1120px; margin: 0 auto; }
#main { width: 1120px; }
#humBtn { display: none; }

/* ============================================================
   HEADER
   ============================================================ */
#headWrapper { min-width: 1200px; }
#top #headWrapper { position: absolute; top: 0; z-index: 10; right: 0; left: 0; }
#page #headWrapper { background-color: var(--navy); position: relative; }
#top.noSlide #headWrapper { position: static; background-color: var(--navy); }
#top.noSlide #headWrapper header { padding: 26px 100px 26px 60px; }

header {
  width: 100%; padding: 0 60px; margin: 0 auto;
  position: relative; z-index: 10; box-sizing: border-box;
  min-width: 1200px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247, 250, 253, 0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(26, 95, 168, 0.0);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, box-shadow 0.3s;
}
/* スクロール後・下層ページ：白背景 */
#page header,
header.scrolled {
  background: rgba(247, 250, 253, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(10, 45, 94, 0.08);
}
/* 上部グラデーションライン */
#page header::before,
header.scrolled::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0a2d5e 0%, #1a5fa8 40%, #5ba3de 70%, #c8a96a 100%);
}

/* サイトタイトル／ロゴ */
header #siteTtl {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25em; font-weight: 600; letter-spacing: 0.14em;
  padding: 0; display: flex; align-items: center; gap: 14px;
}
header #siteTtl a {
  text-decoration: none; color: var(--navy);
  display: flex; align-items: center; gap: 14px; transition: opacity 0.3s;
}
/* トップページはロゴを白に */
#top header #siteTtl a,
#top.noSlide header #siteTtl a { color: var(--white); }
header #siteTtl a img { max-height: 48px; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
header #siteTtl a:hover { opacity: 0.75; text-decoration: none; }

/* ヘッダー補助ナビ（右上） */
#headWrapper .headNav {
  display: flex; align-items: center; gap: 32px;
  position: absolute; top: 0; right: 60px; height: 72px;
}
#headWrapper .headNav li { display: inline-block; position: relative; line-height: 1.2; }
/* ホバー下線 */
#headWrapper .headNav li::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background-color: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
#headWrapper .headNav li:hover::after { transform: scaleX(1); }
#headWrapper .headNav li a {
  text-decoration: none; color: var(--navy);
  font-family: 'Shippori Mincho', serif; font-size: 0.688em;
  font-weight: 400; letter-spacing: 0.22em; text-shadow: none; transition: color 0.3s;
}
/* トップページは白 */
#top #headWrapper .headNav li a { color: var(--white); }
#headWrapper .headNav li a:hover { color: var(--blue); opacity: 1; }
/* お問い合わせCTAボタン */
#headWrapper .headNav .contact-btn a {
  font-family: 'Cormorant Garamond', serif; font-size: 0.75em;
  font-weight: 600; letter-spacing: 0.18em; color: var(--white) !important;
  background: var(--navy); padding: 10px 22px; display: block;
  border-radius: 3px; transition: background 0.3s;
}
#headWrapper .headNav .contact-btn a:hover { background: var(--blue); opacity: 1; }

/* ============================================================
   MAIN NAVIGATION
   ============================================================ */
nav { position: relative; }
#mainNav .inner { width: 100%; min-width: 1200px; padding: 0 60px; }

nav ul li.parent {
  display: inline-block; position: relative;
  margin: 0 26px 0 0; vertical-align: top;
}
/* ホバー下線 */
nav ul li.parent::before {
  content: ''; position: absolute; bottom: -8px;
  height: 1.5px; width: 0; background-color: var(--blue);
  transition: width 0.3s ease; right: 0; left: 0; margin: auto;
}
nav ul li.parent:hover::before { width: 100%; }
nav ul li.parent:last-child { margin-right: 0; }
nav ul li.parent > a {
  color: var(--white); text-decoration: none; display: block;
  font-family: 'Shippori Mincho', serif; font-size: 0.688em;
  font-weight: 400; letter-spacing: 0.22em; padding: 20px 0; transition: color 0.3s;
}
nav ul li.parent:hover > a { color: var(--gold-light); position: relative; z-index: 10; }

/* ドロップダウン */
nav .child {
  position: absolute; min-width: 230px; width: auto;
  padding: 0; display: none; z-index: 100;
  padding-top: 12px; top: 100%; left: 0; text-shadow: none;
}
nav ul li.parent:hover .child { display: block; }
nav .child li {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}
nav .child li:hover { background: var(--navy); }
nav .child li a {
  color: var(--white); font-family: 'Shippori Mincho', serif;
  font-size: 0.75em; letter-spacing: 0.15em; text-decoration: none;
  display: block; padding: 14px 22px; line-height: 1.6; transition: color 0.2s;
}
nav .child li a:hover { color: var(--gold); opacity: 1; }
nav .child li:last-child { border-bottom: none; }

/* ============================================================
   SNS アイコン（サイドバー固定）
   ============================================================ */
#sns {
  position: fixed; top: 0; bottom: 0; right: 32px; margin: auto;
  z-index: 9999; height: fit-content; display: flex; flex-direction: column; gap: 14px;
}
#sns ul { display: flex; flex-direction: column; gap: 14px; }
#sns ul li { width: 40px; }
#sns ul li a { display: block; width: 100%; opacity: 0.75; transition: opacity 0.3s; color: var(--gold); }
#sns ul li a:hover { opacity: 1; }
#sns ul li a img { width: 100%; }

/* ============================================================
   MAIN SLIDE（ヒーロースライダー）
   ============================================================ */
.mainSlideIn {
  width: 100%; min-width: 1200px; overflow: hidden;
  height: 700px; margin: 0 auto; position: relative;
}
.mainSlideIn .mainSlideWrap {
  width: 1680px; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
}
#mainSlide li { height: 700px !important; position: relative; overflow: hidden; }
/* スライドオーバーレイ：ネイビー系グラデーション */
#mainSlide li::before {
  content: ''; display: block; width: 100%; height: 100%;
  position: absolute; top: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(10,45,94,0.65) 0%,
    rgba(10,45,94,0.35) 50%,
    rgba(26,95,168,0.15) 100%
  );
}
#mainSlide li img { position: absolute; left: 0; width: 1680px; height: auto; }

.bx-wrapper .bx-pager { bottom: 24px !important; }
.bx-wrapper .bx-pager.bx-default-pager a {
  background: rgba(255,255,255,0.4); text-indent: -9999px; display: block;
  width: 8px; height: 8px; margin: 0 5px; outline: 0; border-radius: 50%; transition: background 0.3s;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active { background: var(--blue); opacity: 1; }
.mainSlideIn .bx-wrapper { margin-bottom: 0; overflow: hidden; }

@media screen and (min-width: 1680px) {
  .mainSlideIn { height: 800px; }
  .mainSlideIn .mainSlideWrap { width: 1920px; }
  #mainSlide li { height: 800px !important; }
  #mainSlide li img { width: 1920px; }
}

/* リードテキスト */
#leadTxt {
  z-index: 2; font-family: 'Cormorant Garamond', serif;
  font-size: 2em; font-weight: 300; line-height: 1.5; letter-spacing: 0.08em;
  text-align: left; position: absolute; color: var(--white);
  text-shadow: rgba(10,45,94,0.6) 0px 2px 24px;
  bottom: 14%; left: 0; padding: 0 80px; width: 100%; min-width: 1200px;
}
#leadTxt a { color: inherit; text-decoration: none; }

/* スライド下部グラデーションライン（ブルー→ゴールド） */
.mainSlideIn::after {
  content: ''; display: block; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--blue) 30%,
    var(--gold) 65%,
    transparent 100%
  );
  z-index: 3;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
section { padding: 100px 0; }

.contTtl, h2.contTtl {
  font-family: 'Cormorant Garamond', serif; font-size: 2em; font-weight: 300;
  letter-spacing: 0.08em; line-height: 1.3; color: var(--navy); margin-bottom: 48px;
}

/* セクション英字ラベル */
.section-label, .en-label {
  font-family: 'Cormorant Garamond', serif; font-size: 0.688em;
  letter-spacing: 0.45em; color: var(--blue); margin-bottom: 12px;
  display: flex; align-items: center; gap: 14px; text-transform: uppercase;
}
.section-label::before, .en-label::before {
  content: ''; width: 28px; height: 1px; background: var(--blue); flex-shrink: 0;
}

/* ============================================================
   NEWS セクション
   ============================================================ */
#news { position: relative; width: 1120px; margin: 0 auto 80px; }
#news .contTtl {
  font-family: 'Cormorant Garamond', serif; font-size: 1.125em; font-weight: 600;
  letter-spacing: 0.35em; color: var(--blue-light);
  position: absolute; left: 0; top: -2px; z-index: 2; text-transform: uppercase;
}
#news ul li {
  padding: 0 120px 24px 220px; position: relative;
  font-size: 0.9em; font-family: 'Shippori Mincho', serif;
  font-weight: 300; line-height: 1.9; letter-spacing: 0.07em; color: var(--text-mid);
}
#news ul .day {
  display: block; position: absolute; left: 100px;
  font-family: 'Cormorant Garamond', serif; font-size: 1em;
  font-weight: 400; color: var(--blue); letter-spacing: 0.15em; top: 0;
}
#news .bx-wrapper {
  border-bottom: 1px solid var(--border); border-top: 1px solid var(--border);
  position: relative; margin-bottom: 80px; overflow-x: hidden;
}
#news .bx-controls-direction { position: absolute; top: 4px; right: 0; width: 90px; height: 30px; z-index: 5; }
#news .bx-controls-direction .bx-prev,
#news .bx-controls-direction .bx-next {
  width: 44px; height: 30px; border: 1px solid var(--border); background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
#news .bx-controls-direction .bx-prev { border-radius: 100px 0 0 100px; }
#news .bx-controls-direction .bx-next { border-radius: 0 100px 100px 0; margin-left: -1px; }
#news .bx-controls-direction .bx-prev::before {
  content: ''; border-style: solid; border-width: 4px 7px 4px 0;
  border-color: transparent var(--text-light) transparent transparent;
}
#news .bx-controls-direction .bx-next::before {
  content: ''; border-style: solid; border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent var(--text-light);
}
#news .bx-controls-direction .bx-prev:hover,
#news .bx-controls-direction .bx-next:hover { background: var(--blue-pale); border-color: var(--blue); }

/* ============================================================
   ARTICLE BOX（コンテンツ共通）
   ============================================================ */
.articleBox {
  border-bottom: 1px solid var(--border);
  padding-bottom: 80px; margin-bottom: 80px;
}
.articleBox .contTtl {
  font-family: 'Cormorant Garamond', serif; font-size: 1.75em; font-weight: 300;
  letter-spacing: 0.08em; line-height: 1.4; text-align: center; color: var(--navy);
  margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.articleIn .articleBox:last-child { margin-bottom: 0; border-bottom: none; }
.articleBox .clearfix > div:first-child { margin-bottom: 36px; }
.articleBox .txtArea {
  font-family: 'Shippori Mincho', serif; font-size: 0.938em; font-weight: 300;
  line-height: 2.3; letter-spacing: 0.08em; color: var(--text-mid); text-align: left;
}
.articleBox.noImg .txtArea { width: auto; float: none; }
.articleBox .txtArea strong { font-weight: 500; color: var(--navy); }
.articleBox .txtArea iframe { max-width: 560px; width: 100%; }
.articleBox .imgArea { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.articleBox .imgArea figure { width: 100%; max-width: 280px; }
.articleBox .imgArea figure img { width: 100%; display: block; border: 1px solid var(--border-light); }
.articleBox .imgArea figure figcaption {
  font-family: 'Shippori Mincho', serif; font-size: 0.75em; font-weight: 300;
  line-height: 1.8; color: var(--text-light); margin-top: 10px; letter-spacing: 0.08em;
}
#main .articleBox table { width: 100%; font-size: 0.9em; border-collapse: collapse; margin-top: 36px; }
.articleBox table, .articleBox table td, .articleBox table th { border: 1px solid var(--border); }
.articleBox table td, .articleBox table th {
  text-align: left; padding: 12px 18px; font-family: 'Shippori Mincho', serif;
  font-weight: 300; letter-spacing: 0.07em; line-height: 1.8;
}
.articleBox table th { background: var(--navy); color: var(--white); font-weight: 400; }
.articleBox table tr:nth-child(even) td { background: rgba(26,95,168,0.04); }

/* ============================================================
   CONTACT ボタン
   ============================================================ */
.contactBtn {
  margin: 0 auto 60px; padding: 32px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center;
}
.contactBtn a {
  width: 400px; display: inline-block; background: var(--navy);
  text-decoration: none; text-align: center; color: var(--white);
  font-family: 'Shippori Mincho', serif; font-size: 0.875em; font-weight: 500;
  letter-spacing: 0.28em; line-height: 64px; height: 64px;
  transition: background 0.3s, transform 0.2s; position: relative;
}
.contactBtn a:hover { background: var(--blue); transform: translateY(-2px); opacity: 1; }

/* ============================================================
   BOTTOM エリア（3カラム）
   ============================================================ */
#bottom {
  background-color: var(--navy); padding: 80px 0 60px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px; margin-top: 0; position: relative;
}
/* 上部グラデーションライン */
#bottom::before {
  content: ''; display: block; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 30%, var(--gold) 65%, transparent 100%);
}
#bottom .bottomTtl {
  font-family: 'Cormorant Garamond', serif; font-size: 0.75em; font-weight: 600;
  letter-spacing: 0.4em; color: var(--gold); text-align: center;
  padding-bottom: 20px; margin-bottom: 0; text-transform: uppercase;
  border-bottom: none; height: auto;
}
#bottom > div { width: calc(100% / 3 - 20px); margin-bottom: 40px; }
#bottom > div > .inner {
  background-color: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light); height: 100%; min-height: 280px;
}
#bottom > .side-area { margin-bottom: 0; width: 100% !important; margin-left: 0 !important; }
#bottom #bottomCont { line-height: 1; }
#bottom #bottomCont .inner { padding: 0 20px; display: flex; flex-direction: column; justify-content: center; }
#bottom #bottomCont ul li { border-bottom: 1px solid var(--border-light); }
#bottom #bottomCont ul li:first-child { border-top: 1px solid var(--border-light); }
#bottom #bottomCont ul li a {
  display: block; text-decoration: none; padding: 20px 10px; position: relative;
  font-family: 'Shippori Mincho', serif; font-size: 0.813em; font-weight: 400;
  letter-spacing: 0.18em; color: rgba(255,255,255,0.65); transition: color 0.3s, background 0.3s;
}
#bottom #bottomCont ul li a::before { content: '›'; color: var(--blue-light); margin-right: 8px; font-size: 1.1em; opacity: 0; transition: opacity 0.2s; }
#bottom #bottomCont ul li a:hover { color: var(--gold); background: rgba(255,255,255,0.04); opacity: 1; }
#bottom #bottomCont ul li a:hover::before { opacity: 1; }

#bottom #blog { line-height: 1.4; }
#bottom #blog .inner { padding: 28px 24px 24px; position: relative; }
#bottom #blog dl {
  height: 220px; overflow-y: scroll; position: relative;
  padding-bottom: 60px; -webkit-overflow-scrolling: touch;
}
#bottom #blog dl::-webkit-scrollbar { width: 4px; }
#bottom #blog dl::-webkit-scrollbar-track { background: transparent; }
#bottom #blog dl::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
#bottom #blog dl dt {
  margin-bottom: 4px; padding: 18px 10px 0;
  font-family: 'Cormorant Garamond', serif; font-size: 0.75em; font-weight: 400;
  letter-spacing: 0.2em; color: var(--blue-light);
}
#bottom #blog dl dt:first-child { padding-top: 0; }
#bottom #blog dl dd {
  border-bottom: 1px solid var(--border-light); padding: 0 10px 18px;
  font-family: 'Shippori Mincho', serif; font-size: 0.813em; font-weight: 300;
  line-height: 1.7; letter-spacing: 0.07em; color: rgba(255,255,255,0.65);
}
#bottom #blog .btn { position: relative; z-index: 2; width: 120px; margin: -14px auto -16px; }
#bottom #blog .btn a {
  display: block; text-decoration: none; color: var(--white);
  font-family: 'Shippori Mincho', serif; font-size: 0.75em; font-weight: 400;
  letter-spacing: 0.2em; background: var(--blue); text-align: center;
  line-height: 34px; transition: background 0.3s;
}
#bottom #blog .btn a:hover { background: var(--navy); opacity: 1; }

#bottom #mobile .inner { padding: 28px 24px; }
#bottom #mobile figure { text-align: center; padding-top: 0; }
#bottom #mobile figure img { width: 90px; height: 90px; border: 1px solid var(--border); }
#bottom #mobile figure figcaption {
  font-family: 'Shippori Mincho', serif; font-size: 0.75em; font-weight: 300;
  line-height: 1.9; letter-spacing: 0.07em; color: rgba(255,255,255,0.6);
  border-top: 1px solid var(--border-light); margin-top: 20px; padding-top: 20px; text-align: left;
}

/* ============================================================
   PAGE TOP ボタン
   ============================================================ */
#pageTop { position: fixed; z-index: 1000; right: 28px; bottom: 28px; width: 52px; height: 52px; display: none; }
#pageTop a {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; background-color: var(--blue); border-radius: 3px;
  transition: background 0.3s, transform 0.2s; overflow: hidden;
  text-indent: 100%; white-space: nowrap; position: relative;
}
#pageTop a::before {
  content: ''; text-indent: 0; width: 0; height: 0; border-style: solid;
  border-width: 0 6px 10px 6px;
  border-color: transparent transparent var(--white) transparent;
  position: absolute;
}
#pageTop a:hover { background: var(--navy); transform: translateY(-3px); opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  width: 100%; margin: 0 auto; padding: 0;
  position: relative;
}
/* フッター上部グラデーションライン */
footer::before {
  content: ''; display: block; height: 4px;
  background: linear-gradient(90deg, #0a2d5e 0%, #1a5fa8 35%, #5ba3de 65%, #c8a96a 100%);
}
footer .copy {
  max-width: 1120px; margin: 0 auto; width: 100%; text-align: center;
  line-height: 1.5; padding: 40px 0;
  font-family: 'Cormorant Garamond', serif; font-size: 0.688em;
  letter-spacing: 0.25em; color: rgba(255,255,255,0.25);
  border-top: 1px solid var(--border-light);
}
.freeArea, #foot-area, .bottom-area {
  font-family: 'Shippori Mincho', serif; font-size: 0.875em; font-weight: 300;
  line-height: 2.2; letter-spacing: 0.08em; color: rgba(255,255,255,0.55);
}

/* ============================================================
   PAGE TITLE
   ============================================================ */
.pageTtl { border-bottom: 1px solid var(--border); padding: 60px 0; width: 1120px; margin: 0 auto 32px; }
.pageTtl h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.75em; font-weight: 300;
  letter-spacing: 0.1em; line-height: 1.3; text-align: center; color: var(--navy);
}

/* ============================================================
   BREADCRUMB（パンくずリスト）
   ============================================================ */
#pnkz { text-align: left; width: 1120px; margin: 0 auto 56px; font-size: 0.688em; letter-spacing: 0.15em; }
#pnkz li { display: inline-block; color: var(--text-light); font-family: 'Shippori Mincho', serif; font-weight: 300; }
#pnkz li:after {
  content: "/"; margin: 0 8px; color: rgba(26,95,168,0.35);
  font-family: sans-serif; letter-spacing: 0;
}
#pnkz li:last-child:after { display: none; }
#pnkz li a { color: var(--blue); text-decoration: none; transition: color 0.3s; }
#pnkz li a:hover { color: var(--navy); opacity: 1; }

/* ============================================================
   FORM / PROFILE / MAP テーブル
   ============================================================ */
#main.form table,
#main.profile table,
#main.map table { width: 100%; margin-bottom: 60px; border-collapse: collapse; }

#main.form table th,
#main.form table td,
#main.profile table th,
#main.profile table td,
#main.map table th,
#main.map table td {
  vertical-align: middle; text-align: left;
  border-top: 1px solid var(--border);
  font-family: 'Shippori Mincho', serif;
  font-weight: 300; letter-spacing: 0.08em; line-height: 1.8;
}
#main.profile table th,
#main.map table th {
  font-weight: 500; color: var(--navy);
  background: rgba(26,95,168,0.06); min-width: 180px; padding: 22px 20px;
}
#main.profile .txtBox,
#main.map .txtBox {
  font-family: 'Shippori Mincho', serif; font-size: 0.9em; font-weight: 300;
  line-height: 2.2; letter-spacing: 0.08em; color: var(--text-mid); margin-bottom: 60px;
}

/* ============================================================
   FORM 入力欄
   ============================================================ */
#main.form table { border-bottom: none; }
#main.form table th {
  background: rgba(26, 95, 168, 0.08);
  font-size: 1em; font-weight: 500; color: var(--navy);
  min-width: 180px; padding: 20px 24px;
  border-right: 3px solid var(--blue);
}
#main.form table td { height: 72px; font-size: 1em; padding: 16px 20px; }
#main.form .requiredMark { color: var(--blue); font-weight: bold; font-size: 1em; margin-left: 4px; }
#main.form .txtBox {
  background: var(--blue-pale); border-left: 4px solid var(--blue);
  border-radius: 0 4px 4px 0; padding: 14px 20px; margin-bottom: 32px;
  font-size: 1em; color: var(--text-mid);
}
#main.form .inputArea {
  background: #F0F5FA; border: 1.5px solid #B8D0E8;
  border-radius: 4px; width: 860px;
  transition: border-color 0.3s, background 0.3s;
}
#main.form .inputArea:focus-within {
  border-color: var(--blue); background: #F7FAFD;
  box-shadow: 0 0 0 3px rgba(26, 95, 168, 0.10); outline: none;
}
#main.form .inputArea.short { width: 180px; display: inline-block; }
#main.form .inputArea input {
  width: 100%; padding: 12px 16px;
  font-family: 'Shippori Mincho', serif; font-size: 1em;
  letter-spacing: 0.08em; color: var(--text);
  background: transparent; border: none;
}
#main.form .inputArea input:focus,
#main.form .inputArea textarea:focus { outline: none; }
#main.form .inputArea textarea {
  width: 100%; height: 200px; padding: 12px 16px; line-height: 1.8;
  font-family: 'Shippori Mincho', serif; font-size: 1em;
  letter-spacing: 0.08em; color: var(--text);
  background: transparent; border: none; resize: vertical;
}
#main.form table td input[type="radio"] { accent-color: var(--blue); transform: scale(1.3); margin-right: 6px; }
#main.form table td label {
  font-size: 1em; color: var(--text); margin-right: 20px; cursor: pointer; letter-spacing: 0.08em;
}
.captchaArea { background: rgba(26, 95, 168, 0.05); padding: 24px; text-align: center; }
.captchaWarning { font-size: 0.95em; color: var(--text-mid); margin-bottom: 16px; }
.captchaInputArea .inputArea { width: 220px; display: inline-block; }

#main.form #submit td {
  text-align: center; padding-top: 40px; border-top: none;
  background: rgba(26, 95, 168, 0.04);
}
#main.form #submit input {
  display: inline-block; width: 220px; text-align: center;
  font-family: 'Shippori Mincho', serif; font-weight: 500;
  letter-spacing: 0.28em; font-size: 0.95em; padding: 18px 0;
  cursor: pointer; margin: 0 8px; border: none; transition: background 0.3s, transform 0.2s;
}
#main.form #submit input.submitBtn { background: var(--navy); color: var(--white); width: 240px; }
#main.form #submit input.submitBtn:hover { background: var(--blue); transform: translateY(-2px); opacity: 1; }
#main.form #submit input.resetBtn {
  background: transparent; color: var(--text-light);
  border: 1px solid var(--border); width: 160px;
}
#main.form #submit input.resetBtn:hover { background: var(--cream); border-color: var(--blue-light); opacity: 1; }

#main.map #frame { margin-bottom: 60px; height: 460px; border: 1px solid var(--border); }
#main.map #frame iframe { width: 100%; height: 100%; display: block; }

/* ============================================================
   FIXED SLIDE 型
   ============================================================ */
#top.fixedSlide #headWrapper { position: relative; width: 1120px; margin: 0 auto; min-width: auto; }
.fixedSlide #headWrapper header { min-width: auto; padding: 0; height: auto; background: transparent; backdrop-filter: none; border-bottom: none; }
.fixedSlide #headWrapper header #siteTtl { width: 100%; text-align: center; padding: 56px 30px 28px; justify-content: center; }
.fixedSlide #headWrapper header #siteTtl a { color: var(--navy); }
.fixedSlide .navWrapper #mainNav .inner ul { text-align: center; }
.fixedSlide .navWrapper #mainNav .inner ul li.parent > a { color: var(--navy); }
.fixedSlide .navWrapper #mainNav .inner ul li.parent::before { background-color: var(--blue); }
.fixedSlide #headWrapper .headNav { padding-top: 14px; right: 0; }
.fixedSlide #headWrapper .headNav li a { color: var(--navy); text-shadow: none; }
.fixedSlide .mainSlideIn { width: 100%; margin: 0 auto 24px; min-width: auto; height: auto; overflow: hidden; }
.fixedSlide .mainSlideIn .mainSlideWrap { width: 1120px; position: static; transform: none; margin: auto; }
.fixedSlide #mainSlide li { height: 466px !important; }
.fixedSlide #leadTxt { display: table; width: 1120px; min-width: auto; inset: 0; margin: auto; height: auto !important; padding-bottom: 28px; font-size: 1.875em; position: absolute; }

/* ============================================================
   MAIN IMAGE 型
   ============================================================ */
.mainImgIn { max-width: 1120px; margin: 0 auto 80px; }
.mainImgIn .inner {
  border-bottom: 1px solid var(--border); display: table; width: 100%;
  max-width: 1120px; padding: 40px 0 48px; table-layout: fixed; margin: 0 auto 36px;
}
.mainImgIn .inner #mainImg { width: 340px; display: table-cell; vertical-align: middle; text-align: center; }
.mainImgIn .inner #leadTxt {
  display: table-cell; vertical-align: middle; padding-left: 40px;
  font-family: 'Shippori Mincho', serif; font-size: 0.875em; font-weight: 300;
  line-height: 2.3; letter-spacing: 0.08em; position: static;
  color: var(--text-mid); text-shadow: none; text-align: left; min-width: auto;
}

/* ============================================================
   UTILITY
   ============================================================ */
.box ul, .box1 ul, .box2 ul, .box3 ul,
.articleBox ul, .entry_box ul, .entryBox ul,
.article-box ul, .article ul, .article_box ul { list-style-type: disc; margin-left: 20px; text-align: left; }
.box ol, .box1 ol, .box2 ol, .box3 ol,
.articleBox ol, .entry_box ol, .entryBox ol,
.article-box ol, .article ol, .article_box ol { list-style-type: decimal; margin-left: 20px; text-align: left; }

.calendar-container { max-width: 100%; position: relative; padding-bottom: 90%; height: 0; overflow: hidden; }
.calendar-container iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; }
@media only screen and (min-width: 600px) { .calendar-container { padding-bottom: 75%; } }
.tzcal-container iframe, .tzcal iframe {
  border: 1px solid var(--border) !important;
  background-color: rgba(247,250,253,0.3) !important; border-radius: 2px;
}
.cal_wrapper { max-width: 960px; min-width: 200px; margin: 2% auto; }
.tzcal { position: relative; padding-bottom: 100%; height: 0; }
.tzcal iframe { position: absolute; top: 0; left: 0; max-width: inherit !important; width: 100% !important; height: 100% !important; }
@media only screen and (min-width: 768px) { .tzcal { padding-bottom: 75%; } }

/* スクロールアニメーション */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* テキスト折り返し設定 */
body, p, h1, h2, h3, h4, h5,
li, dt, dd, .contTtl, .txtArea, .section-label, .en-label, address {
  word-break: auto-phrase; overflow-wrap: break-word;
}
a[href^="tel"], .en-label, .section-label { word-break: keep-all; white-space: nowrap; }

/* ============================================================
   RESPONSIVE — タブレット（〜1024px）
   ============================================================ */
@media screen and (max-width: 1024px) {
  html > body { min-width: auto; }
  #content { width: 100%; }
  #main { width: 100%; padding: 0 40px; }
  #headWrapper { min-width: auto; }
  #mainNav .inner { min-width: auto; padding: 0 40px; }
  .pageTtl, #pnkz { width: 100%; }
  #bottom > div { width: calc(50% - 12px); }
}

/* ============================================================
   RESPONSIVE — スマートフォン（〜768px）
   ============================================================ */
@media screen and (max-width: 768px) {
  html > body { width: 100%; min-width: auto; }
  #content { width: 100%; margin: 0 auto; }
  #main { width: 100%; float: none; padding: 0 24px; margin-bottom: 48px; }

  /* ハンバーガーボタン */
  #humBtn, #humBtn span { display: inline-block; transition: all 0.4s; box-sizing: border-box; }
  #humBtn { position: fixed; top: 24px; right: 24px; width: 36px; height: 22px; z-index: 9999; }
  #humBtn span { position: absolute; left: 0; width: 100%; height: 2px; background-color: var(--navy); }
  #top #humBtn span { background-color: var(--white); }
  #page #humBtn span { background-color: var(--white); }
  #humBtn span:nth-of-type(1) { top: 0; }
  #humBtn span:nth-of-type(2) { top: 10px; }
  #humBtn span:nth-of-type(3) { bottom: 0; }
  #humBtn.active span { background-color: var(--navy); }
  #humBtn.active span:nth-of-type(1) { transform: translateY(10px) rotate(-45deg); }
  #humBtn.active span:nth-of-type(2) { opacity: 0; }
  #humBtn.active span:nth-of-type(3) { transform: translateY(-10px) rotate(45deg); }

  header { min-width: auto; width: 100%; padding: 0 24px; height: 64px; }
  header #siteTtl { font-size: 1.125em; padding: 0; }
  header #siteTtl a img { max-height: 40px; }
  #headWrapper { min-width: auto; width: 100%; }
  #top #headWrapper { position: absolute; top: 0; z-index: 20; }

  /* モバイルメニュードロワー */
  #headWrapper .navWrapper {
    background-color: var(--cream); width: 280px; padding: 80px 0 80px;
    position: fixed; top: 0; right: -280px; z-index: 9998; height: 100vh;
    transition: right 0.3s ease; overflow-y: scroll; -webkit-overflow-scrolling: touch;
    box-shadow: -4px 0 24px rgba(10,45,94,0.18);
  }
  #headWrapper.active .navWrapper { right: 0; }
  #headWrapper::before {
    content: ''; width: 100%; height: 100vh; background-color: rgba(10,45,94,0.45);
    position: fixed; top: 0; left: 0; transition: opacity 0.3s; display: none; z-index: 9997;
  }
  #headWrapper.active::before { display: block; }
  #mainNav .inner { min-width: auto; padding: 0 20px; }

  /* メインナビ */
  nav ul li.parent { display: block; margin: 0 0 24px; }
  nav ul li.parent > a {
    color: var(--navy); text-shadow: none; font-size: 0.8rem;
    white-space: nowrap; letter-spacing: 0.14em; padding: 0;
  }
  nav ul li.parent::before { display: none; }

  /* ドロップダウン（モバイルは展開表示） */
  nav .child {
    display: block !important; position: static; height: auto !important;
    padding: 8px 0 8px 16px !important; margin: 16px 0 0 !important;
    border-left: 2px solid var(--border); width: auto;
  }
  nav .child li { background: transparent; border-bottom: none; margin-bottom: 12px; }
  nav .child li a {
    color: var(--text-mid); padding: 0; font-size: 0.75rem;
    white-space: nowrap; letter-spacing: 0.1em;
  }

  /* ヘッダー補助ナビ */
  #headWrapper .headNav {
    width: 100%; position: static; flex-direction: column;
    align-items: stretch; height: auto; gap: 0; padding: 0 0 20px; margin-bottom: 16px;
  }
  #headWrapper .headNav li {
    display: block; border-top: 1px solid var(--border-light); max-width: none; line-height: inherit;
  }
  #headWrapper .headNav li:last-child { border-bottom: 1px solid var(--border-light); }
  #headWrapper .headNav li::after { display: none; }
  #headWrapper .headNav li a {
    color: var(--navy); font-size: 0.75rem; white-space: nowrap;
    display: block; padding: 16px 20px; text-shadow: none; letter-spacing: 0.12em;
  }
  #headWrapper .headNav .contact-btn a { color: var(--white) !important; background: var(--navy); border-radius: 0; }
  #headWrapper .headNav .contact-btn a:hover { background: var(--blue); }

  #sns { position: static; flex-direction: row; justify-content: flex-start; padding: 0 20px 20px; height: auto; }
  #sns ul { flex-direction: row; }
  #sns ul li { margin: 0 12px 0 0; }
  .mainSlideIn { min-width: auto; width: 100%; height: 64vw; }
  .mainSlideIn .mainSlideWrap { width: 200vw; }
  #mainSlide li { height: 64vw !important; }
  #leadTxt {
    min-width: auto; font-size: clamp(1.1rem, 5vw, 1.4rem);
    line-height: 1.6; letter-spacing: 0.04em;
    word-break: auto-phrase; white-space: normal; width: 100%; padding: 0 24px;
  }
  #news { width: calc(100% - 48px); overflow: hidden; }
  #news .contTtl { position: static; margin-bottom: 12px; }
  #news ul li {
    padding: 0; font-size: clamp(0.8rem, 3.2vw, 0.9rem);
    line-height: 1.9; word-break: auto-phrase; padding-bottom: 16px;
  }
  #news ul .day { position: static; font-size: 0.813em; margin-bottom: -2px; }
  #news .bx-wrapper { padding-bottom: 16px; margin-bottom: 48px; position: static; }
  .articleBox { padding-bottom: 48px; margin-bottom: 48px; }
  .articleBox .contTtl {
    font-size: clamp(1.2rem, 5.5vw, 1.75rem); line-height: 1.55;
    letter-spacing: 0.04em; word-break: auto-phrase; white-space: normal;
    margin-bottom: 24px; text-align: left;
  }
  .articleBox .txtArea { font-size: clamp(0.875rem, 3.5vw, 1rem); line-height: 2.0; word-break: auto-phrase; text-align: left; }
  .articleBox .imgArea figure { width: calc(50% - 10px); max-width: none; }
  .contactBtn a {
    width: 100%; font-size: clamp(0.8rem, 3.5vw, 0.95rem); letter-spacing: 0.18em;
    line-height: 1.4; height: auto; padding: 20px 16px; white-space: normal; word-break: auto-phrase;
  }
  #bottom { padding: 48px 24px 40px; gap: 16px; }
  #bottom > div { width: calc(50% - 8px); margin-bottom: 24px; }
  #bottom .bottomTtl { font-size: 0.75em; }
  #bottom #bottomCont ul li a {
    font-size: clamp(0.62rem, 2.2vw, 0.72rem); white-space: nowrap;
    letter-spacing: 0.06em; padding: 14px 6px; overflow: hidden; text-overflow: ellipsis;
  }
  #bottom #blog dl dd { font-size: clamp(0.75rem, 3vw, 0.875rem); line-height: 1.8; word-break: auto-phrase; }
  .pageTtl { padding: 40px 0; width: 100%; margin-bottom: 20px; }
  .pageTtl h2 { font-size: clamp(1.2rem, 5.5vw, 1.75rem); line-height: 1.55; letter-spacing: 0.04em; word-break: auto-phrase; white-space: normal; }
  #pnkz { width: 100%; padding: 0 24px; margin-bottom: 28px; }
  #pnkz li { font-size: clamp(0.65rem, 2.5vw, 0.75rem); word-break: auto-phrase; }
  .section-label, .en-label {
    font-size: clamp(0.6rem, 2.5vw, 0.75rem); letter-spacing: 0.25em;
    white-space: normal; word-break: keep-all; flex-wrap: wrap;
  }
  #main.form .inputArea { width: 100%; }
  #main.form table th { display: block; width: 100%; padding-bottom: 8px; border-right: none; border-bottom: 3px solid var(--blue); }
  #main.form table td { display: block; border-top: none; padding-top: 8px; height: auto; padding-left: 0; padding-right: 0; }
  #main.form table td, #main.form table th, #main.profile table td, #main.profile table th {
    font-size: clamp(0.8rem, 3.2vw, 0.9rem); line-height: 1.9; word-break: auto-phrase; letter-spacing: 0.05em;
  }
  .mainImgIn .inner { padding: 36px 24px 44px; }
  .mainImgIn .inner #mainImg { width: 180px; }
  .mainImgIn .inner #leadTxt { padding-left: 20px; border-bottom: none; }
  #pageTop { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  #pageTop a { width: 44px; height: 44px; }
  footer .copy { font-size: 0.65rem; letter-spacing: 0.12em; padding: 32px 24px; word-break: auto-phrase; }
  .freeArea, #foot-area, .bottom-area { font-size: 0.875rem; line-height: 2.0; word-break: auto-phrase; }
  address, [class*="address"] { font-size: 0.875rem; line-height: 1.9; word-break: auto-phrase; }
  a[href^="tel"] { white-space: normal; word-break: keep-all; font-size: clamp(1.1rem, 5vw, 1.4rem); }
  html, body { overflow-x: hidden; max-width: 100vw; }
}

/* ============================================================
   RESPONSIVE — スマートフォン小（〜570px）
   ============================================================ */
@media screen and (max-width: 570px) {
  #bottom { padding: 40px 20px; }
  #bottom > div { width: 100%; margin-left: 0; }
  #bottom #mobile { display: none; }
  #bottom .bottomTtl { font-size: 0.813em; }
  #bottom #bottomCont ul li a { font-size: clamp(0.6rem, 2.2vw, 0.7rem); white-space: nowrap; letter-spacing: 0.04em; padding: 12px 4px; }
  nav ul li.parent > a { font-size: 0.78rem; white-space: nowrap; letter-spacing: 0.12em; }
  nav .child li a { font-size: 0.72rem; white-space: nowrap; letter-spacing: 0.08em; }
  #headWrapper .headNav li a { font-size: 0.72rem; white-space: nowrap; letter-spacing: 0.1em; }
}

/* ============================================================
   RESPONSIVE — 最小（〜480px）
   ============================================================ */
@media screen and (max-width: 480px) {
  header { padding: 0 16px; height: 60px; }
  header #siteTtl a img { max-height: 36px; }
  #humBtn { top: 20px; right: 16px; }
  #main { padding: 0 16px; margin-bottom: 40px; }
  #news { width: calc(100% - 32px); }
  #pnkz { padding: 0 16px; }
  .articleBox { padding-bottom: 36px; margin-bottom: 40px; }
  .articleBox .contTtl { font-size: clamp(1.1rem, 5.5vw, 1.375rem); }
  .articleBox .imgArea { display: block; }
  .articleBox .imgArea figure { width: 100%; max-width: none; margin-bottom: 12px !important; }
  .articleBox .imgArea figure:last-child { margin-bottom: 0 !important; }
  .contactBtn { margin-bottom: 32px; }
  .contactBtn a { font-size: 0.813rem; letter-spacing: 0.14em; padding: 18px 12px; }
  #headWrapper .headNav li a { font-size: 0.7rem; white-space: nowrap; letter-spacing: 0.08em; }
  nav ul li.parent > a { font-size: 0.75rem; white-space: nowrap; letter-spacing: 0.1em; }
  nav .child li a { font-size: 0.7rem; white-space: nowrap; letter-spacing: 0.08em; }
  #bottom #bottomCont ul li a { font-size: clamp(0.58rem, 2vw, 0.68rem); white-space: nowrap; padding: 12px 4px; letter-spacing: 0.04em; }
  #leadTxt { font-size: clamp(1rem, 5vw, 1.2rem); letter-spacing: 0.02em; }
  .contTtl, h2.contTtl, .pageTtl h2 { font-size: clamp(1.1rem, 5.5vw, 1.375rem); }
  .section-label, .en-label { font-size: 0.6rem; letter-spacing: 0.2em; }
  .articleBox .txtArea, p { font-size: 0.875rem; line-height: 1.95; }
  a[href^="tel"] { font-size: clamp(1rem, 5vw, 1.2rem); }
  footer .copy { font-size: 0.625rem; padding: 28px 16px; }
  #main.map #frame { height: 260px; }
  .mainImgIn .inner { display: block; padding: 0; }
  .mainImgIn .inner #mainImg { display: block; width: 100%; margin-bottom: 24px; }
  .mainImgIn .inner #mainImg img { width: 100%; }
  .mainImgIn .inner #leadTxt { display: block; padding: 0; }
}

/* ============================================================
   RESPONSIVE — タブレット（769px〜1024px）テキスト微調整
   ============================================================ */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .contTtl, h2.contTtl { font-size: clamp(1.5rem, 3.5vw, 2rem); word-break: auto-phrase; }
  #leadTxt { font-size: clamp(1.4rem, 3vw, 1.875rem); word-break: auto-phrase; }
  .section-label, .en-label { white-space: normal; word-break: keep-all; }
}

/* ============================================================
   Hiragino Font Face Fallbacks
   ============================================================ */
@font-face { font-family: sans-serif; src: local(HiraginoSans-W3); font-weight: normal; }
@font-face { font-family: sans-serif; src: local(HiraginoSans-W6); font-weight: bold; }
@font-face { font-family: 'Hiragino Kaku Gothic Pro W3'; src: local(HiraginoSans-W3); font-weight: normal; }
@font-face { font-family: 'Hiragino Kaku Gothic Pro W3'; src: local(HiraginoSans-W6); font-weight: bold; }
@font-face { font-family: 'MS P Gothic'; src: local(HiraginoSans-W3); font-weight: normal; }
@font-face { font-family: 'MS P Gothic'; src: local(HiraginoSans-W6); font-weight: bold; }
@font-face { font-family: 'MS PGothic'; src: local(HiraginoSans-W3); font-weight: normal; }
@font-face { font-family: 'MS PGothic'; src: local(HiraginoSans-W6); font-weight: bold; }