/* ============================================================
   HIRO 訪問看護ステーション — Base CSS
   既存CMSテンプレートをHIROデザインシステムに合わせて全面改修
   Design: Dark Luxury × Orange × Gold
   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 {
  --orange:       #E8580B;
  --orange-light: #F06A1A;
  --orange-pale:  #FAE8DC;
  --orange-deep:  #C44A08;
  --brown:        #2C1A0E;
  --brown-mid:    #4A2E1A;
  --brown-light:  #7A5C45;
  --gold:         #C9A96E;
  --gold-light:   #E2C898;
  --cream:        #FDF5EE;
  --white:        #FFFFFF;
  --text:         #2C1A0E;
  --border:       rgba(201, 169, 110, 0.25);
  --border-light: rgba(201, 169, 110, 0.12);
}

/* ━━━ 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(--orange); text-decoration: none; transition: color 0.3s, opacity 0.3s; }
a:hover { color: var(--orange-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(--brown); position: relative; }
#top.noSlide #headWrapper { position: static; background-color: var(--brown); }
#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(253, 245, 238, 0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.0);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, box-shadow 0.3s;
}

#page header,
header.scrolled {
  background: rgba(253, 245, 238, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

header #siteTtl {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375em; font-weight: 600; letter-spacing: 0.14em;
  padding: 0; display: flex; align-items: center; gap: 14px;
}

header #siteTtl a {
  text-decoration: none; color: var(--brown);
  display: flex; align-items: center; gap: 14px; transition: opacity 0.3s;
}

#top header #siteTtl a,
#top.noSlide header #siteTtl a { color: var(--cream); }

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: 36px;
  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: 1px; background-color: var(--orange);
  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(--brown);
  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(--cream); }
#headWrapper .headNav li a:hover { color: var(--orange); opacity: 1; }

#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(--orange); padding: 10px 22px; display: block; transition: background 0.3s;
}
#headWrapper .headNav .contact-btn a:hover { background: var(--orange-deep); 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 28px 0 0; vertical-align: top;
}

nav ul li.parent::before {
  content: ''; position: absolute; bottom: -8px;
  height: 1px; width: 0; background-color: var(--orange);
  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(--cream); 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: 220px; 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(--brown-mid); border-bottom: 1px solid var(--border-light); transition: background 0.2s; }
nav .child li:hover { background: var(--brown); }
nav .child li a {
  color: var(--cream); font-family: 'Shippori Mincho', serif;
  font-size: 0.75em; letter-spacing: 0.15em; text-decoration: none;
  display: block; padding: 16px 24px; 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%; filter: brightness(0.9) sepia(0.2); }

/* ============================================================
   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(44,26,14,0.65) 0%, rgba(44,26,14,0.35) 50%, rgba(232,88,11,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(253,245,238,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(--orange); 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(--cream);
  text-shadow: rgba(44,26,14,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(--orange) 30%, var(--gold) 60%, 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(--brown); margin-bottom: 48px;
}

.section-label, .en-label {
  font-family: 'Cormorant Garamond', serif; font-size: 0.688em;
  letter-spacing: 0.45em; color: var(--orange); 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(--orange); 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(--gold);
  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(--brown-mid);
}
#news ul .day {
  display: block; position: absolute; left: 100px;
  font-family: 'Cormorant Garamond', serif; font-size: 1em;
  font-weight: 400; color: var(--gold); 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(--brown-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(--brown-light);
}
#news .bx-controls-direction .bx-prev:hover,
#news .bx-controls-direction .bx-next:hover { background: var(--orange-pale); border-color: var(--orange); }

/* ============================================================
   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(--brown);
  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(--brown-mid); text-align: left;
}
.articleBox.noImg .txtArea { width: auto; float: none; }
.articleBox .txtArea strong { font-weight: 500; color: var(--brown); }
.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(--brown-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(--brown); color: var(--cream); font-weight: 400; }
.articleBox table tr:nth-child(even) td { background: rgba(201,169,110,0.05); }

/* ============================================================
   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(--orange);
  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(--orange-deep); transform: translateY(-2px); opacity: 1; }

/* ============================================================
   BOTTOM エリア（3カラム）
   ============================================================ */
#bottom {
  background-color: var(--brown); 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(--orange) 30%, var(--gold) 60%, 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(253,245,238,0.7); transition: color 0.3s, background 0.3s;
}
#bottom #bottomCont ul li a:hover { color: var(--gold); background: rgba(255,255,255,0.04); 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(--gold); }
#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(253,245,238,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(--orange); text-align: center; line-height: 34px; transition: background 0.3s; }
#bottom #blog .btn a:hover { background: var(--orange-deep); 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(253,245,238,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(--orange); border-radius: 2px;
  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(--orange-deep); transform: translateY(-3px); opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--brown); width: 100%; margin: 0 auto; padding: 0; }
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(253,245,238,0.3);
  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(253,245,238,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(--brown);
}

/* ============================================================
   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(--brown-light); font-family: 'Shippori Mincho', serif; font-weight: 300; }
#pnkz li:after {
  content: "/";
  margin: 0 8px; color: rgba(201,169,110,0.4); font-family: sans-serif; letter-spacing: 0;
}
#pnkz li:last-child:after { display: none; }
#pnkz li a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
#pnkz li a:hover { color: var(--orange); 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(--brown);
  background: rgba(201,169,110,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(--brown-mid); margin-bottom: 60px;
}

/* ============================================================
   FORM 入力欄 見やすさ改善
   ━ 入力エリアにグレー背景を追加してメリハリをつける
   ━ 文字サイズを大きくして読みやすく
   ============================================================ */

/* フォームテーブル */
#main.form table { border-bottom: none; }

/* ラベル（th）：薄いベージュ背景＋右オレンジライン */
#main.form table th {
  background: rgba(201, 169, 110, 0.10);
  font-size: 1em;
  font-weight: 500;
  color: var(--brown);
  min-width: 180px;
  padding: 20px 24px;
  border-right: 3px solid var(--orange);
}

/* セル（td） */
#main.form table td {
  height: 72px;
  font-size: 1em;
  padding: 16px 20px;
}

/* 必須マーク */
#main.form .requiredMark {
  color: var(--orange);
  font-weight: bold;
  font-size: 1em;
  margin-left: 4px;
}

/* 注意書きボックス */
#main.form .txtBox {
  background: var(--orange-pale);
  border-left: 4px solid var(--orange);
  border-radius: 0 4px 4px 0;
  padding: 14px 20px;
  margin-bottom: 32px;
  font-size: 1em;
  color: var(--brown-mid);
}

/* 入力ボックス：グレー背景でメリハリ */
#main.form .inputArea {
  background: #F0EDED;
  border: 1.5px solid #C8B9A8;
  border-radius: 4px;
  width: 860px;
  transition: border-color 0.3s, background 0.3s;
}

/* フォーカス時：オレンジ枠＋白背景 */
#main.form .inputArea:focus-within {
  border-color: var(--orange);
  background: #FFFAF6;
  box-shadow: 0 0 0 3px rgba(232, 88, 11, 0.10);
  outline: none;
}

/* short（短い入力欄） */
#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(--orange);
  transform: scale(1.3);
  margin-right: 6px;
}

#main.form table td label {
  font-size: 1em;
  color: var(--brown);
  margin-right: 20px;
  cursor: pointer;
  letter-spacing: 0.08em;
}

/* キャプチャエリア */
.captchaArea {
  background: rgba(201, 169, 110, 0.06);
  padding: 24px;
  text-align: center;
}

.captchaWarning {
  font-size: 0.95em;
  color: var(--brown-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(201, 169, 110, 0.05);
}

#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(--orange);
  color: var(--white);
  width: 240px;
}

#main.form #submit input.submitBtn:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  opacity: 1;
}

#main.form #submit input.resetBtn {
  background: transparent;
  color: var(--brown-light);
  border: 1px solid var(--border);
  width: 160px;
}

#main.form #submit input.resetBtn:hover {
  background: var(--cream);
  border-color: var(--brown-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(--brown); }
.fixedSlide .navWrapper #mainNav .inner ul { text-align: center; }
.fixedSlide .navWrapper #mainNav .inner ul li.parent > a { color: var(--brown); }
.fixedSlide .navWrapper #mainNav .inner ul li.parent::before { background-color: var(--orange); }
.fixedSlide #headWrapper .headNav { padding-top: 14px; right: 0; }
.fixedSlide #headWrapper .headNav li a { color: var(--brown); 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(--brown-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(253,245,238,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); }

/* ============================================================
   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(--brown); }
  #top #humBtn span { background-color: var(--cream); }
  #page #humBtn span { background-color: var(--cream); }
  #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(--brown); }
  #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(44,26,14,0.15);
  }
  #headWrapper.active .navWrapper { right: 0; }

  #headWrapper::before {
    content: ''; width: 100%; height: 100vh; background-color: rgba(44,26,14,0.5);
    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(--brown); text-shadow: none; font-size: 0.875em; 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(--brown-mid); padding: 0; font-size: 0.813em; }

  #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(--brown); font-size: 0.875em; display: block; padding: 16px 20px; text-shadow: none; }
  #headWrapper .headNav .contact-btn a { color: var(--white) !important; background: var(--orange); border-radius: 0; }

  #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: 1.25em; width: 100%; padding: 0 24px; }

  #news { width: calc(100% - 48px); overflow: hidden; }
  #news .contTtl { position: static; margin-bottom: 12px; }
  #news ul li { padding: 0; }
  #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: 1.375em; margin-bottom: 24px; text-align: left; }
  .articleBox .txtArea { font-size: 0.938em; text-align: left; }
  .articleBox .imgArea figure { width: calc(50% - 10px); max-width: none; }

  .contactBtn a { width: 100%; }

  #bottom { padding: 48px 24px 40px; gap: 16px; }
  #bottom > div { width: calc(50% - 8px); margin-bottom: 24px; }
  #bottom .bottomTtl { font-size: 0.75em; }

  .pageTtl { padding: 40px 0; width: 100%; margin-bottom: 20px; }
  .pageTtl h2 { font-size: 1.375em; }
  #pnkz { width: 100%; padding: 0 24px; margin-bottom: 28px; }

  /* フォーム モバイル */
  #main.form .inputArea { width: 100%; }
  #main.form table th {
    display: block; width: 100%; padding-bottom: 8px;
    border-right: none; border-bottom: 3px solid var(--orange);
  }
  #main.form table td { display: block; border-top: none; padding-top: 8px; height: auto; padding-left: 0; padding-right: 0; }

  .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; }
}

/* ============================================================
   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; }
}

/* ============================================================
   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: 1.125em; }
  .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.813em; }
  footer .copy { padding: 32px 16px; }
  .pageTtl { padding: 28px 0; margin-bottom: 12px; }
  .pageTtl h2 { font-size: 1.125em; }
  #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; }
}

/* ============================================================
   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; }