@charset "UTF-8";
/* =========================
   otasuke-depo SCSS (Unified)
   ========================= */
/* Vars */
:root {
  --brand:#068a99;
  --brand-2:#7bd8ff;
  --base:#0F172A;
  --muted:#64748B;
  --bg:#F8FAFC;
  --card:#FFFFFF;
  --radius:16px;
  --header-h: clamp(75px, 12vw, 110px);
}

li::marker {
  content: none;
}

/* Base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  color: var(--base);
  background: var(--bg);
  line-height: 1.6;
  padding-top: var(--header-h); /* ← 固定ヘッダーの被り防止 */
}

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

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* Badges & Buttons */
.badge {
  display: inline-block;
  background: var(--brand-2);
  color: #fff;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
}

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

.btn--ghost {
  background: #fff;
  border-color: #E2E8F0;
  color: var(--base);
}

.btn--tel {
  background: #FFAB10;
  color: #fff;
}

.btn--line {
  background: #06C755;
  color: #fff;
}

/* Headings */
.sec-ttl {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 0 0 1rem;
  font-weight: 800;
}

.custom-logo {
  width: clamp(70px, 3vw, 100px);
  display: inline-block;
}

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0 1rem;
}

.site-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.global-nav .menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav .menu a {
  text-decoration: none;
  padding: 0.6rem 0;
  font-weight: 700;
  color: var(--base);
}

.global-nav .menu a:hover {
  opacity: 0.8;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 7px 8px;
  background: #111;
}

/* Mobile Nav */
@media (max-width: 900px) {
  .global-nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .mobile-nav[hidden] {
    display: none !important;
  }
  .mobile-nav .menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-nav .menu li {
    border-top: 1px solid #e5e7eb;
  }
  .mobile-nav .menu a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: var(--base);
  }
}
/* ===== Hero (First View) ===== */
/* 器に高さ→画像はcover→テキストは通常フロー。上下の食い合いを防止 */
.hero {
  position: relative;
  min-height: clamp(280px, 45svh, 520px); /* “3/4くらい”の高さ */
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #eef5ee;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(0.75);
}

.hero__inner {
  position: relative; /* ← absoluteをやめる */
  text-align: center;
  color: #fff;
  padding: 2rem 1rem;
}

.hero__title {
  color: white;
  text-shadow: 3px 4px rgba(8, 139, 154, 0.5215686275);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  margin: 0.3rem 0 0.6rem;
}

.hero__title span {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1em 0.25em;
  border-radius: 0.4rem;
}

.hero__lead {
  opacity: 0.95;
  margin-bottom: 1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.hero__sub {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.6rem;
}

.hero_copy_one {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
}

/* ===== Media badges ===== */
.media__badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.media__badges img {
  border-radius: var(--radius);
  background: #fff;
  padding: 0.4rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* ===== Services ===== */
.services {
  padding: 2.5rem 0;
}

.card-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0;
  margin: 1rem 0 0;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin: 0.6rem 0.9rem 0.2rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0 0.9rem 1.1rem;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Pricing ===== */
.pricing {
  background: #fff;
  padding: 2.5rem 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.price {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding-bottom: 0.6rem;
}

.price h3 {
  margin: 0.6rem 0.9rem 0;
}

.price .yen {
  margin: 0.2rem 0.9rem 0.4rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand);
}

@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Reasons ===== */
.reasons {
  padding: 2.5rem 0;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 0.9rem;
  padding: 0;
  list-style: none;
}

.reason-list li {
  background: #fff;
  padding: 0.7rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid #e5e7eb;
}

@media (max-width: 740px) {
  .reason-list {
    grid-template-columns: 1fr;
  }
}
/* ===== Flow ===== */
.flow {
  background: var(--bg);
  padding: 2.5rem 0;
}

.flow-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
}

.flow-steps li {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.7rem;
  padding: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.flow-steps span {
  display: inline-grid;
  place-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .flow-steps {
    grid-template-columns: 1fr;
  }
}
/* ===== FAQ ===== */
.faq {
  padding: 2.5rem 0;
}

.faq__item {
  border: 1px solid #e5e7eb;
  border-radius: 0.7rem;
  margin: 0.6rem 0;
  background: #fff;
  overflow: hidden;
}

.faq__q {
  color: var(--base);
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 1rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq__a {
  display: none;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

.faq__item.open .faq__a {
  display: block;
}

/* ===== Wide CTA ===== */
.cta-wide {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 2.6rem 0;
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  background: #0b1220;
  color: #fff;
  margin-top: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 1rem;
  padding: 2rem 0;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(1.2);
}

.footer-copy {
  margin-top: 0.6rem;
  opacity: 0.8;
}

.footer-nav {
  margin-left: 20px;
}

.footer-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-nav .menu a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-nav .menu a:hover {
  color: #fff;
}

.footer-widgets {
  display: grid;
  gap: 1rem;
}

.fw-col {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.6rem;
  padding: 1rem;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-widgets {
    grid-template-columns: 1fr;
  }
}
/* ===== Anchor offset (ヘッダー分オフセット) ===== */
section, [id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* =========================
   Dropdown Menus (Header / Footer / Mobile)
   ========================= */
/* --- 共通: 下層メニューのベース --- */
.global-nav .menu,
.footer-nav .menu {
  position: relative;
}

.global-nav .menu > li,
.footer-nav .menu > li {
  position: relative;
}

.global-nav .menu .sub-menu,
.footer-nav .menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
}

/* =========================
   Header: Hoverで下方向にフェードドロップ
   ========================= */
.global-nav {
  position: relative;
  z-index: 1001;
} /* Heroなどより前に出す */
.global-nav .menu > li {
  position: relative;
}

.global-nav .menu > li > .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 220px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.14);
  padding: 0.35rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

/* Hover & キーボードフォーカスでも開く */
.global-nav .menu > li:hover > .sub-menu,
.global-nav .menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

.global-nav .menu .sub-menu li a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--base);
  text-decoration: none;
  white-space: nowrap;
}

.global-nav .menu .sub-menu li a:hover {
  background: #f1f5f9;
}

/* 第二階層以降（右方向へ） */
.global-nav .menu > li > .sub-menu > li {
  position: relative;
}

.global-nav .menu > li > .sub-menu > li > .sub-menu {
  position: absolute;
  left: 100%;
  top: -6px;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.14);
  padding: 0.35rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.global-nav .menu > li > .sub-menu > li:hover > .sub-menu,
.global-nav .menu > li > .sub-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s, transform 0.18s, visibility 0s;
}

/* 親メニューに子がある印（▼） */
.global-nav .menu > li.menu-item-has-children > a::after,
.global-nav .menu .sub-menu > li.menu-item-has-children > a::after {
  content: "▾";
  font-size: 0.8em;
  margin-left: 0.35rem;
  opacity: 0.8;
}

/* =========================
   Footer: 子要素は小さめ文字・段組み
   ========================= */
.site-footer .footer-nav .menu {
  gap: 0.45rem;
}

.site-footer .footer-nav .menu > li > a {
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.site-footer .footer-nav .menu > li > a:hover {
  text-decoration: underline;
}

/* フッターの下層は常時展開（小さめ） */
.site-footer .footer-nav .menu .sub-menu {
  margin-top: 0.3rem;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.site-footer .footer-nav .menu .sub-menu a {
  font-size: 0.9rem;
  color: #cbd5e1;
  text-decoration: none;
  opacity: 0.95;
}

.site-footer .footer-nav .menu .sub-menu a:hover {
  color: #fff;
}

/* =========================
   Mobile: タップで親の下に開閉
   ========================= */
@media (max-width: 900px) {
  /* モバイルナビの親行 */
  .mobile-nav .menu > li {
    position: relative;
  }
  /* 子はデフォルト非表示 */
  .mobile-nav .menu .sub-menu {
    display: none;
    padding: 0.25rem 0 0.5rem;
    border-left: 2px solid #e5e7eb;
    margin-left: 0.75rem;
  }
  /* .open で展開（JSで付与） */
  .mobile-nav .menu li.open > .sub-menu {
    display: block;
  }
  /* 親に ▶ を付けてトグルの目印に */
  .mobile-nav .menu li.menu-item-has-children > a {
    position: relative;
    padding-right: 2rem;
  }
  .mobile-nav .menu li.menu-item-has-children > a::after {
    content: "▶";
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.75;
  }
  /* 開いてるときは下向きに */
  .mobile-nav .menu li.open > a::after {
    content: "▾";
  }
  /* フッターはモバイルでも常時展開のままでOK */
}
/* === Mobile slide-in === */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
  z-index: 1000; /* headerより下げたいなら 999 に */
}

/* パネル本体：右から 75vw（= 3/4） */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100svh;
  width: 75vw;
  background: #0f172a;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  z-index: 1001; /* ヘッダーより前に */
  padding-top: var(--header-h);
  overflow: auto;
  box-shadow: -12px 0 32px rgba(2, 6, 23, 0.35);
}

/* 開いた状態（bodyに .nav-open を付与） */
.nav-open .mobile-nav {
  transform: translateX(0);
}

.nav-open .nav-overlay {
  opacity: 1;
  transition: opacity 0.18s ease;
}

/* 中身の体裁 */
.mobile-nav .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav .menu > li > a {
  display: block;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav .menu .sub-menu {
  display: none;
  padding: 0.25rem 0 0.5rem;
  margin-left: 0.8rem;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
}

.mobile-nav .menu li.open > .sub-menu {
  display: block;
}

.mobile-nav .menu .sub-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: #cbd5e1;
  text-decoration: none;
}

.mobile-nav .menu li.menu-item-has-children > a {
  position: relative;
  padding-right: 2rem;
}

.mobile-nav .menu li.menu-item-has-children > a::after {
  content: "▶";
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  opacity: 0.8;
}

.mobile-nav .menu li.open > a::after {
  content: "▾";
}

/* 900px超ではオフ */
@media (min-width: 901px) {
  .nav-overlay {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
}
/* === Footer reorder with CSS Grid areas === */
.footer-inner {
  display: grid;
  grid-template-areas: "nav nav nav" "brand widgets widgets";
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0;
}

.footer-nav {
  grid-area: nav;
}

.footer-brand {
  grid-area: brand;
  text-align: center;
}

.footer-widgets {
  grid-area: widgets;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-areas: "nav" "widgets" "brand";
    grid-template-columns: 1fr;
  }
}
/* grid-auto-flow: column で 4行×n列に配置 */
.footer-nav .menu.is-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, max-content); /* ← 4件/列 */
  grid-auto-columns: minmax(100px, 1fr);
  -moz-column-gap: 1.2rem;
       column-gap: 1.2rem;
  row-gap: 0.35rem;
}

/* フラット化したアイテムの見た目 */
.footer-nav .menu.is-grid > li > a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-nav .menu.is-grid > li > a:hover {
  color: #fff;
}

/* ===== Footer: PCもスマホも3要素縦並び ===== */
.site-footer {
  background: #0b1220;
  color: #fff;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column; /* ← 縦並びに統一 */
  gap: 1.25rem;
  padding: 2rem 0;
}

/* 並び順：メニュー → ウィジェット → ロゴ/コピー */
.footer-nav, .footer-widgets, .footer-brand {
  width: 100%;
}

/* 以前のgrid指定が生きていても無効化しておく保険 */
.footer-nav, .footer-widgets, .footer-brand {
  grid-area: auto;
}

/* メニュー（そのまま） */
.footer-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-nav .menu a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-nav .menu a:hover {
  color: #fff;
}

/* ウィジェット（PCは横3列、スマホは1列のまま） */
.footer-widgets {
  display: grid;
  gap: 1rem;
}

@media (max-width: 900px) {
  .footer-widgets {
    grid-template-columns: 1fr;
  }
}
.fw-col {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.6rem;
  padding: 1rem;
}

/* ロゴ/コピー */
.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(1.2);
}

.footer-copy {
  margin-top: 0.6rem;
  opacity: 0.8;
}

/* はみ出し対策（前に渡したものを活かす） */
.site-footer .footer-inner,
.site-footer .footer-nav,
.site-footer .footer-brand,
.site-footer .footer-widgets,
.site-footer .footer-widgets .fw-col {
  min-width: 0;
}

.site-footer .footer-widgets .fw-col {
  overflow: hidden;
}

.site-footer .footer-widgets .fw-col > * {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-footer .footer-widgets :where(p, ul, ol, blockquote) {
  margin-left: 0;
  margin-right: 0;
}

.site-footer .footer-widgets blockquote {
  border-left: 4px solid rgba(255, 255, 255, 0.18);
  padding: 0.6rem 1rem;
  margin: 0;
  box-sizing: border-box;
}

.site-footer .footer-widgets img {
  height: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 800px) {
  .fixed-pages {
    overflow: hidden;
  }
  .fixed-pages__list,
  .fixed-pages__list li {
    list-style: none; /* デフォルトの・を削除 */
    margin: 0;
    padding: 0;
  }
  .fixed-pages__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.9rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    /* 中央寄せの基準 & 左右“チラ見せ”幅（= カード幅の1/4） */
    padding-inline: 16.6667%;
    scroll-padding-inline: 16.6667%;
    -webkit-overflow-scrolling: touch;
    /* 端フェード（対応ブラウザのみ） */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10vw, #000 calc(100% - 10vw), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 10vw, #000 calc(100% - 10vw), transparent 100%);
  }
  .fixed-pages__item {
    /* 中央カードの幅：2/3 = 66.6667% */
    flex: 0 0 66.6667%;
    scroll-snap-align: center;
  }
  .fixed-pages__thumb {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  }
  .fixed-pages__title {
    text-align: center;
    font-size: 0.95rem;
    margin: 0.6rem 0.2rem 0;
  }
  /* スクロールバー非表示 */
  .fixed-pages__list {
    scrollbar-width: none;
  }
  .fixed-pages__list::-webkit-scrollbar {
    display: none;
  }
}
/* ===== 801px以上：4カラムのカードグリッド ===== */
@media (min-width: 801px) {
  .fixed-pages__list {
    display: grid; /* ←PCはグリッドで安定配置 */
    grid-template-columns: repeat(4, 1fr); /* 4列 */
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .fixed-pages__item {
    min-width: 0;
  } /* 画像のはみ出し防止 */
  .fixed-pages__card {
    display: block;
    text-decoration: none;
    cursor: pointer;
  }
  .fixed-pages__thumb {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }
  .fixed-pages__thumb img {
    width: 100%;
    height: auto;
    display: block;
    /* 必要なら固定比率に： */
    /* aspect-ratio: 4 / 3; object-fit: cover; */
  }
  .fixed-pages__title {
    text-align: center;
    margin: 0.6rem 0.2rem 0;
    font-size: 1rem;
    font-weight: 700;
  }
}/*# sourceMappingURL=styles.css.map */