@charset "utf-8";
/* ============================================================
   あたみ荘  style.css  (2026-12 静的HTML化・スマホ対応)
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, h1, h2, h3, h4, p, ul, li, table, th, td, figure, iframe, a, img { margin: 0; padding: 0; border: 0; }
ul { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
table { border-collapse: collapse; border-spacing: 0; }

/* ---------- base ---------- */
:root {
  --ink: #000;
  --gray: #e6e6e6;
  --line: #ddd;
  --link: #1111cc;
  --mincho: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  color: var(--ink);
  background: #fff;
  font-family: "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  font-size: 13.6px;
  line-height: 1.5;
  letter-spacing: .1em;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:hover img { opacity: .8; }
h1, h2, h3, h4 { font-size: 100%; line-height: 1.5; font-weight: normal; }

/* ---------- サイト名バー ---------- */
.site-bar {
  max-width: 1024px;
  margin: 0 auto;
  padding: 6px 10px;
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 10.2px;
  font-weight: normal;
}

/* ---------- 電話CTA（スマホのみ） ---------- */
.tel-cta { display: none; }

/* ---------- グローバルナビ（テキスト） ---------- */
.gnav ul { display: flex; flex-wrap: wrap; justify-content: center; }
.gnav a {
  display: block;
  font-family: var(--mincho);
  color: #222;
  letter-spacing: .08em;
}
.gnav a:hover { text-decoration: none; opacity: .6; }
.gnav a[aria-current="page"] { color: #000; font-weight: 700; }

/* ================= トップページ ================= */
.top-main { max-width: 1024px; margin: 0 auto 34px; }
.top-main img { width: 100%; }

.top > .gnav { max-width: 640px; margin: 0 auto 54px; }
.top > .gnav li + li::before { content: "|"; color: #333; padding: 0 12px; }
.top > .gnav li { display: flex; align-items: center; }
.top > .gnav a { font-size: 15px; font-weight: 600; }

.top-content { width: 621px; margin: 0 auto 90px; }
.topbox { display: flex; align-items: flex-start; gap: 0; margin-bottom: 100px; }
.topbox .vtitle { flex: 0 0 80px; }
.topbox .body { flex: 0 0 541px; }
.topbox.reverse { flex-direction: row-reverse; }
.topbox.reverse .body { flex-basis: 540px; }
.topbox .body > figure { margin-bottom: 25px; }
.topbox .body p { line-height: 2.4; margin-bottom: 15px; }
.topbox .links { display: flex; justify-content: space-around; margin-top: 30px; }

/* ================= 下層ページ ================= */
.second-head {
  max-width: 1024px;
  height: 130px;
  margin: 0 auto 45px;
  background: url(../img/second_top_main.jpg) no-repeat center top;
  padding: 50px 0 0 38px;
}
.second-head .inner { display: flex; align-items: center; width: 724px; }
.second-head .logo { flex: 0 0 auto; margin-right: 30px; }
.second-head .gnav li { margin-right: 12px; }
.second-head .gnav a { font-size: 13.5px; font-weight: 600; line-height: 31px; }

.content { width: 621px; margin: 0 auto 90px; }
.content h2 {
  margin-bottom: 25px;
  padding: 25px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.content h3 {
  font-size: 135%;
  border-left: 5px solid #000;
  padding-left: 15px;
  margin-bottom: 20px;
}
.content p { line-height: 2.4; margin-bottom: 10px; }
.content p.title { font-weight: bold; }
.content .time { font-size: 120%; font-weight: bold; }
.content .photo { margin-bottom: 30px; }
.content .photo2 { margin-bottom: 15px; }
.content .photo3 { margin-bottom: 60px; }
.content .mb15 { margin-bottom: 15px; }
.content .mb20 { margin-bottom: 20px; }
.content .mb30 { margin-bottom: 30px; }
.content .mb40 { margin-bottom: 40px; }
.content .mb50 { margin-bottom: 50px; }
.content .mb60 { margin-bottom: 60px; }
.content .mb100 { margin-bottom: 100px; }
.content table { width: 100%; margin-bottom: 30px; }
.content table.mb60 { margin-bottom: 60px; }
.content th, .content td {
  border: 1px solid var(--line);
  padding: 15px 10px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.7;
}
.content th { width: 23%; background: #eee; font-weight: normal; }
.content .table2 th { width: 25%; }
.content iframe { max-width: 100%; }

/* ================= 共通：地図・バナー・フッター ================= */
.map { max-width: 940px; margin: 0 auto 80px; }
.map iframe { display: block; width: 100%; height: 420px; }

.banners { max-width: 1002px; margin: 0 auto 80px; }
.banners ul { display: flex; justify-content: space-around; gap: 16px; }

.site-footer { padding-top: 33px; background: var(--gray); }
.site-footer .gnav { margin: 0 auto 24px; }
.site-footer .gnav ul::before,
.site-footer .gnav li::after { content: "|"; color: #333; padding: 0 6px; font-size: 11px; }
.site-footer .gnav li { display: flex; align-items: center; }
.site-footer .gnav ul { align-items: center; }
.site-footer .gnav a { font-size: 11.5px; font-weight: 600; }
.site-footer .inner {
  background: url(../img/top_footer_logo.gif) no-repeat center top;
  padding: 78px 10px 50px;
  text-align: center;
}
.site-footer .inner p { line-height: 1.7; }
.site-footer .tel a { color: inherit; }

/* ================= スマホ（〜767px） ================= */
@media (max-width: 767px) {
  body { font-size: 14px; letter-spacing: .05em; }

  .site-bar { font-size: 10px; padding: 5px 8px; }

  /* 電話CTA */
  .tel-cta { display: block; margin: 0 16px 28px; }
  .tel-cta a {
    display: block;
    padding: 12px 10px;
    border: 1px solid #333;
    border-radius: 4px;
    text-align: center;
    color: #000;
    font-family: var(--mincho);
    line-height: 1.4;
  }
  .tel-cta a:hover { text-decoration: none; }
  .tel-cta .lead { display: block; font-size: 12px; }
  .tel-cta .num { display: block; font-size: 22px; font-weight: 600; letter-spacing: .06em; }
  .tel-cta .num::before { content: "TEL "; font-size: 13px; }
  .tel-cta .hours { display: block; font-size: 11px; }

  /* ナビ：3列のグリッド */
  .gnav ul { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .gnav li { display: block !important; flex: 1 0 33.333%; }
  .gnav li::before, .gnav li::after, .gnav ul::before { content: none !important; padding: 0 !important; }
  .gnav a {
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    padding: 13px 4px;
    text-align: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  /* トップ */
  .top-main { margin-bottom: 16px; }
  .top > .gnav { margin: 0 16px 48px; }
  .top-content { width: auto; margin: 0 16px 60px; }
  .topbox, .topbox.reverse {
    display: grid;
    grid-template-columns: 1fr 44px;
    column-gap: 12px;
    margin-bottom: 64px;
  }
  .topbox .vtitle { grid-column: 2; grid-row: 1; }
  .topbox .vtitle img { width: 44px; }
  .topbox .body { display: contents; }
  .topbox .body > figure { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .topbox .body > p, .topbox .body > .links { grid-column: 1 / -1; }
  .topbox .body > figure + p { margin-top: 20px; }
  .topbox .body p { line-height: 2; }
  .topbox .links { gap: 12px; }
  .topbox .links a { display: block; }

  /* 下層ヘッダー */
  .second-head {
    height: auto;
    margin: 0 0 28px;
    padding: 0;
    background: none;
  }
  .second-head .inner { display: block; width: auto; }
  .second-head .logo {
    margin: 0;
    padding: 26px 16px;
    text-align: center;
    background: url(../img/second_top_main.jpg) no-repeat 30% top / auto 100%;
  }
  .second-head .logo img { width: 206px; }
  .second-head .gnav { margin: 0 16px; }
  .second-head .gnav li { margin: 0; }
  .second .tel-cta { margin-top: 16px; margin-bottom: 0; }

  .content { width: auto; margin: 0 16px 60px; }
  .content h2 { padding: 16px 0; }
  .content h3 { font-size: 120%; padding-left: 10px; }
  .content p { line-height: 2; }
  .content .mb100 { margin-bottom: 60px; }
  .content th, .content td { padding: 10px 8px; }
  .content th { width: 30%; letter-spacing: 0; }
  .content td { overflow-wrap: anywhere; word-break: break-all; }
  .content iframe { height: 320px; }

  .map { margin: 0 0 48px; }
  .map iframe { height: 300px; }

  .banners { margin: 0 16px 48px; }
  .banners ul { flex-direction: column; align-items: center; gap: 12px; }

  .site-footer { padding-top: 0; }
  .site-footer .gnav { margin: 0 0 20px; }
  .site-footer .gnav a { font-size: 12.5px !important; background: var(--gray); }
  .site-footer .inner { background-size: auto 120px; padding-top: 64px; font-size: 12.5px; }
}
