/* =========================================================
   iso乃家 サイト共通スタイル
   色を変えたいときは、下の :root の値だけ直せば全体に反映されます
   ========================================================= */
:root {
  --text: #46707f;       /* 本文の色 */
  --heading: #17252a;    /* 見出しの色 */
  --accent: #f79007;     /* ボタン（オレンジ） */
  --accent-dark: #d97c00;
  --pale: #f5fafd;       /* 薄い背景 */
  --line: #dce8ee;
  --max: 1120px;         /* 本文の最大幅 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--heading); line-height: 1.4; margin: 0 0 .6em; }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: 26px; }
h4 { font-size: 20px; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.pale { background: var(--pale); }
.center { text-align: center; }
.lead-small { /* 見出しの上の小見出し */
  display: block; font-size: 15px; font-weight: bold; letter-spacing: .08em;
  color: var(--accent-dark); margin-bottom: .4em;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 30px; border-radius: 4px; font-weight: bold; font-size: 15px;
  transition: background .2s;
}
.btn:hover { background: var(--accent-dark); }
.btn.outline { background: transparent; border: 2px solid #fff; }
.btn.outline:hover { background: rgba(255,255,255,.15); }

/* ---------- ヘッダー・メニュー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 44px; width: auto; }
.logo .logo-text { font-weight: bold; color: var(--heading); font-size: 20px; text-decoration: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav a { color: var(--heading); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a.current { color: var(--accent-dark); }
#menu-toggle, .menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-btn {
    display: block; cursor: pointer; font-size: 28px; color: var(--heading); line-height: 1; padding: 6px;
  }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff;
         box-shadow: 0 6px 10px rgba(0,0,0,.08); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: 14px 24px; border-top: 1px solid var(--line); }
  #menu-toggle:checked ~ .nav { display: block; }
}

/* ---------- トップの大きな見出し部分 ---------- */
.hero {
  position: relative; color: #fff;
  background: #2b4650 url(../images/hero.jpg) center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(15, 35, 45, .55); }
.hero .container { position: relative; }
.hero h1 { color: #fff; }

.hero-home .container {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  padding-top: 90px; padding-bottom: 90px;
}
.hero-home h1 { font-size: clamp(34px, 5vw, 52px); }
.hero-home p { font-size: 17px; }
.hero-home .anchors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-home .anchors a { padding: 8px 22px; }
@media (max-width: 860px) { .hero-home .container { grid-template-columns: 1fr; } }

.hero-sub .container { padding-top: 70px; padding-bottom: 70px; }
.hero-sub h1 { font-size: clamp(28px, 4.5vw, 44px); margin: 0; }
.hero-company { background-image: url(../images/company-header.jpg); }

/* ---------- 2カラム（文章＋画像） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: 6px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- 設備カード ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .card-body { padding: 20px 22px 8px; }
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- 特色 ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; margin-top: 24px; }
.features h5 { font-size: 17px; margin-bottom: .3em; }
.features h5::before { content: "●"; color: var(--accent); margin-right: .4em; font-size: .8em; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- 写真ギャラリー ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.gallery a { display: block; overflow: hidden; border-radius: 4px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 申し込み誘導 ---------- */
.cta { background: var(--heading); color: #fff; text-align: center; padding: 70px 0; }
.cta h2 { color: #fff; }

/* ---------- 下層ページの本文 ---------- */
.content { max-width: 860px; margin: 0 auto; }
.content h5 { font-size: 18px; margin-top: 1.8em; }
.content h5:first-child { margin-top: 0; }
.block { margin-bottom: 40px; }
.block + .block { padding-top: 40px; border-top: 1px solid var(--line); }
.note { font-size: 14px; }

/* 地図・カレンダーの埋め込み（横幅いっぱいに伸びる） */
.embed { position: relative; width: 100%; border-radius: 6px; overflow: hidden; margin: 24px 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed.map { aspect-ratio: 16 / 10; }
.embed.calendar { aspect-ratio: 4 / 3; min-height: 520px; }

/* 料金カード（カレンダーページ） */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; text-align: center; }
.price h6 { font-size: 18px; }
.price .amount { font-size: 30px; font-weight: bold; color: var(--heading); margin: 0; }
.price .unit { font-size: 14px; }
.price ul { text-align: left; font-size: 14px; padding-left: 1.2em; margin: 16px 0 20px; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* レンタルスペース（ご利用方法）：左に写真、右に説明 */
.room { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; margin-top: 36px; }
.room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.room h5 { margin-top: 0; }
@media (max-width: 600px) { .room { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- フッター ---------- */
.site-footer { background: var(--pale); padding: 40px 0 30px; font-size: 14px; text-align: center; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent-dark); }
