/* =========================
  Base
========================= */
:root{
  --bg: #ffffff;
  --text: #111;
  --muted: #666;
  --line: #e6e6e6;
  --soft: #f6f6f6;
  --primary: #0d59b9;
  --primary-dark: #0b4a98;
  --radius: 16px;
  --maxw: 960px;
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{scroll-padding-top:80px;
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans JP", sans-serif;
  color: var(--text);
  line-height: 1.7;

  /* ページ全体背景 */
  background:
    linear-gradient(
      rgba(255,255,255,0.86),
      rgba(255,255,255,0.86)
    ),
    url("images/33546723_s.jpg") center / cover no-repeat fixed;
}

@media (max-width: 640px){
  body{
    background-attachment: scroll;
    background-position: center top;
  }
}

a{
  color: inherit;
  text-decoration: none;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

.container{
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
}

/* =========================
  Skip link
========================= */
.skip-link{
  position:absolute;
  left:-9999px;
}
.skip-link:focus{
  left:16px;
  top:16px;
  background:#fff;
  padding:8px 12px;
  border-radius:8px;
  z-index:9999;
}

/* =========================
  Header（白固定）
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
  gap: 16px;
}

/* ロゴ */
.brand{
  display:flex;
  align-items:center;
}
.brand__logo img{
  height: 36px;
  width: auto;
}
@media (max-width: 640px){
  .brand__logo img{
    height: 30px;
  }
}

/* =========================
  Header Navigation
========================= */
.header-nav--pc{
  display:flex;
  align-items:center;
  gap:14px;
}

/* =========================
  Buttons（共通）
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn--primary{
  background: var(--primary);
  border-color: var(--primary);
  color:#fff;
}

.btn--primary:hover{
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color:#fff;
  transform: translateY(-1px);
}

.btn--ghost:hover{
  background: var(--soft);
}

/* =========================
  Hero
========================= */
/* =========================
  Hero 背景画像
========================= */
.hero{
  position: relative;
  padding: 72px 0 56px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 640px){
  .hero{
    padding: 56px 0 40px;
    background-position: center top;
  }
}


.badge{
  display:inline-block;
  padding:6px 10px;
  font-size:12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
}

.hero h1{
  margin:12px 0 10px;
  font-size:clamp(28px, 3vw, 40px);
}

.lead{
  margin:0 0 18px;
}

.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* =========================
  Hero notes（白背景・角丸）
========================= */
.hero-notes{
  margin: 20px 0 0;
  padding: 14px 18px;
  list-style: none;

  display: flex;
  gap: 14px;
  flex-wrap: wrap;

  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);

  font-size: 14px;
  color: var(--text);
}

/* 各項目 */
.hero-notes li{
  position: relative;
  padding-left: 18px;
  font-weight: 600;
}

/* チェック風のアクセント（任意だが見やすい） */
.hero-notes li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}
/* PCでは内容幅にフィット */
@media (min-width: 769px){
  .hero-notes{
    display: inline-flex;   /* ★ block → inline-flex */
    width: auto;            /* ★ 横幅を中身に */
  }
}

@media (max-width: 640px){
  .hero-notes{
    font-size: 13px;
    padding: 12px 14px;
    gap: 10px;
  }
}



/* =========================
  Sections
========================= */
.section{
  padding:48px 0;
}

.section--muted{
  background: rgba(246,246,246,0.88);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head{
  margin-bottom:20px;
}
.section-head h2{
  margin:0 0 6px;
  font-size:22px;
}
.section-head p{
  margin:0;
  color:var(--muted);
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
/* 見学会ポイントを少し強調 */
.grid-3 .card{
  position: relative;
  background: #fff;
  border: 1px solid var(--line);

  /* 下だけ角丸 */
  border-radius: 0 0 var(--radius) var(--radius);

  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}


/* 上部アクセントライン */
.grid-3 .card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 4px;
  background: var(--primary);

  /* 角丸は付けない */
  border-radius: 0;
}


.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
}
@media (hover: hover){
  .grid-3 .card{
    transition: transform .2s ease, box-shadow .2s ease;
  }

  .grid-3 .card:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  }
}


/* =========================
  Chips / Note
========================= */
.chips{
  list-style:none;
  padding:0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.chips li{
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 14px;
  font-size:14px;
}

.note{
  margin-top:16px;
  background:#fff;
  border-left:4px solid var(--primary);
  border-radius:var(--radius);
  padding:14px 16px;
}

/* =========================
  Gallery
========================= */
.gallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* 少し余白を広げる */
}
@media (max-width: 860px){
  .gallery{
    grid-template-columns: 1fr;
  }
}



.gallery-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  margin:1em 40px;
}

.gallery-item img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}


.gallery-item figcaption{
  padding:10px 12px;
  font-size:14px;
  background:#fafafa;
  border-top:1px solid var(--line);
}

/* =========================
  Flow
========================= */
.flow{
  list-style:none;
  padding:0;
  display:grid;
  gap:12px;
}
.flow-body h3{
  margin: 4px 0 4px;
}

.flow-item{
  display: flex;
  gap: 12px;
  align-items: flex-start; /* ← ここがポイント */
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}


.flow-num{
  width:38px;
  height:38px;
  background:var(--primary);
  color:#fff;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
}

.cta-band{
  margin-top:20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

/* =========================
  FAQ
========================= */
.faq{
  display:grid;
  gap:10px;
}

.faq-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
}

.faq-item summary{
  cursor:pointer;
  padding:14px 16px;
  font-weight:700;
}

.faq-body{
  padding:0 16px 14px;
}

/* =========================
  Footer
========================= */
.site-footer{
  background:#fff;
  border-top:1px solid var(--line);
  padding:24px 0;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* =========================
  Sticky CTA（SPのみ）
========================= */
.sticky-cta{
  position: fixed;
  left:0;
  right:0;
  bottom:0;
  padding:10px 12px;
  background: rgba(255,255,255,0.95);
  border-top:1px solid var(--line);
  z-index:60;
}

.sticky-cta__btn{
  display:flex;
  justify-content:center;
  align-items:center;
  width:min(var(--maxw), calc(100% - 16px));
  margin:0 auto;
  padding:14px 16px;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  font-weight:800;
}

.sticky-cta__btn:hover{
  background:var(--primary-dark);
}

/* PCでは固定CTAを非表示 */
@media (min-width: 769px){
  .sticky-cta{
    display:none;
  }
}

/* =========================
  Hamburger Menu（SP）
========================= */
.hamburger{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  position:relative;
}

.hamburger span{
  position:absolute;
  left:11px;
  right:11px;
  height:2px;
  background:#111;
}

.hamburger span:nth-child(1){ top:14px; }
.hamburger span:nth-child(2){ top:21px; }
.hamburger span:nth-child(3){ top:28px; }

/* =========================
  SP Menu（スライドイン）
========================= */
.sp-menu{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 80;
}

.sp-menu.is-open{
  opacity: 1;
  visibility: visible;
}

.sp-menu__inner{
  position:absolute;
  top:0;
  right:0;
  width:min(86vw, 360px);
  height:100%;
  background:#fff;
  border-left:1px solid var(--line);
  padding:16px;
  transform: translateX(100%);
  transition: transform .3s ease;
}

.sp-menu.is-open .sp-menu__inner{
  transform: translateX(0);
}

.sp-menu__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-bottom:10px;
  border-bottom:1px solid var(--line);
  margin-bottom:12px;
}

.sp-menu__close{
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  font-size:22px;
  cursor:pointer;
}

.sp-menu__nav{
  display:grid;
  gap:10px;
}

.sp-menu__nav a{
  padding:12px 10px;
  border-radius:12px;
}

.sp-menu__nav a:not(.btn):hover{
  background:var(--soft);
}

.sp-menu__cta{
  margin-top:6px;
  width:100%;
}

/* =========================
  Responsive
========================= */
@media (max-width: 860px){
  .grid-3{
    grid-template-columns:1fr;
  }
  .gallery{
    grid-template-columns:1fr;
  }
  .cta-band{
    flex-direction:column;
    align-items:stretch;
  }
}

@media (max-width: 768px){
  .header-nav--pc{
    display:none;
  }
  .hamburger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
}
