/* ── リセット ── */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Helvetica Neue', sans-serif; color:#333; line-height:1.6; }
a { color: inherit; text-decoration:none; }

/* ── コンテナ ── */
.container { max-width:1100px; margin:0 auto; padding:0 20px; }

/* ── ヒーロー ── */
.hero { background:#f6f6f6; text-align:center; padding:120px 0; position:relative; }
.hero .lead { color:#da1b2c; font-weight:bold; margin-bottom:1em; }
.hero h1 { font-size:3rem; margin-bottom:0.5em; }
.hero p { font-size:1.2rem; margin-bottom:1.5em; }
.hero .btn-main { display:inline-block; background:#da1b2c; color:#fff; padding:0.75em 1.5em; border-radius:999px; }

.hero{
  position: relative;
  min-height: 72vh; /* お好みで */
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 50% 30%, #eef7ff 0%, #e9eef5 40%, #dde4f0 100%);
}

.hero-contents{ position: relative; z-index: 2; text-align: center; }

.hero-bg{
  position:absolute; inset:0;
  z-index:1;
  pointer-events:none;    /* 背景をクリック不可に */
  filter: saturate(1.1);
}


/* ── ABOUT ── */
.section-about { padding:100px 0; }
.section-about h2 { font-size:2rem; margin-bottom:1em; }
.about-items { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:40px; margin-top:40px; }
.about-item { text-align:center; }
.about-item .icon { width:60px; height:60px; margin:0 auto 1em; }
.about-item p { font-size:0.9rem; }

/* ── WORKS ── */
.section-works { padding:100px 0; background:#fafafa; }
.section-works h2 { text-align:center; font-size:2rem; margin-bottom:1em; }
.works-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:30px; }
.work-item { background:#fff; border:1px solid #eee; border-radius:8px; overflow:hidden; }
.work-item img { display:block; width:100%; }
.work-item .inner { padding:15px; }
.work-item h3 { font-size:1.1rem; margin-bottom:0.5em; }
.work-item p { font-size:0.85rem; color:#666; }

/* ── SERVICE ── */
.section-service { padding:100px 0; }
.section-service h2 { text-align:center; font-size:2rem; margin-bottom:1em; }
.service-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:30px; }
.service-item { text-align:center; }
.service-item .icon { width:50px; height:50px; margin:0 auto 1em; }
.service-item p { font-size:0.9rem; }

/* ── CONTACT ── */
.section-contact { padding:100px 0; background:#f6f6f6; text-align:center; }
.section-contact h2 { font-size:2.5rem; margin-bottom:0.5em; }
.section-contact p { margin-bottom:1em; }
.section-contact .btn-group { display:flex; gap:20px; justify-content:center; margin-top:20px; }
.section-contact .btn { display:inline-block; background:#da1b2c; color:#fff; padding:0.75em 1.5em; border-radius:999px; }

/* ── BIG BANNER ── */
.section-big-banner { padding:120px 0; background:#da1b2c; color:#fff; text-align:center; }
.section-big-banner h2 { font-size:2.5rem; margin-bottom:1em; }
.section-big-banner p { max-width:700px; margin:0 auto 2em; }
.section-big-banner .btn-secondary { background:#fff; color:#da1b2c; }

/* ── PRICE ── */
.section-price { padding:100px 0; }
.section-price h2 { text-align:center; font-size:2rem; margin-bottom:1em; }
.price-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:30px; }
.price-item { background:#fff; border:1px solid #eee; border-radius:8px; padding:20px; text-align:center; }
.price-item h3 { margin-bottom:0.5em; font-size:1.2rem; }
.price-item .price { font-size:1.5rem; color:#da1b2c; margin:0.5em 0; }

/* ── BLOG ── */
.section-blog { padding:100px 0; background:#fafafa; }
.section-blog h2 { text-align:center; font-size:2rem; margin-bottom:1em; }
.blog-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:20px; }
.blog-item img { width:100%; display:block; border-radius:4px; }
.blog-item h4 { margin-top:0.5em; font-size:1rem; }

/* ── RECRUIT ── */
.section-recruit { padding:100px 0; }
.section-recruit h2 { text-align:center; font-size:2rem; margin-bottom:1em; }
.recruit-inner { display:flex; flex-wrap:wrap; gap:40px; align-items:center; justify-content:center; }
.recruit-text { max-width:500px; }
.recruit-text p { margin-bottom:1em; line-height:1.5; }
.recruit-btns .btn { margin-right:10px; }

/* ── ヘッダー ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding-left: 20px;
  padding-right: 20px;
  transition: box-shadow .2s ease, backdrop-filter .2s ease;
  backdrop-filter: none;
}
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px 16px; transition:padding .2s ease; }
.site-header.is-scrolled { box-shadow:0 4px 12px rgba(0,0,0,.06); backdrop-filter:saturate(120%) blur(2px); }
.site-header.is-scrolled .header-inner { padding-top:10px; padding-bottom:10px; }

.site-logo a { font-size: 1.6rem; font-weight: 700; text-decoration:none; color:#000; }

.site-nav--pc .nav-list { display:flex; gap:20px; list-style:none; }
.site-nav--pc .nav-list a { font-weight:600; color:#333; text-decoration:none; }
.site-nav--pc .nav-list a:hover { color:#0073aa; }

/* PC用CTA */
.header-cta { display:flex; gap:10px; align-items:center; }

/* ボタン共通 */
.btn { display:inline-block; padding:8px 14px; border-radius:999px; font-weight:700; font-size:.9rem; transition:opacity .2s ease; }
.btn:hover { opacity:.85; }
.btn-primary { background:#111; color:#fff; }
.btn-line { background:#00B900; color:#fff; }
.btn-metaverse { background:#8e00b9; color:#fff; }
.btn-block { display:block; width:100%; text-align:center; padding:14px 18px; border-radius:999px; font-size:1rem; }

/* PCではモバイルUIを完全非表示 */
.site-nav-drawer,
.site-overlay { display: none; }

/* ハンバーガー */
.nav-toggle { display:none; appearance:none; background:transparent; border:0; padding:8px; cursor:pointer; line-height:1; }
.nav-toggle-bar { display:block; width:24px; height:2px; background:#111; margin:5px 0; transition:transform .2s ease, opacity .2s ease; }
.site-header.is-menu-open .nav-toggle-bar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.site-header.is-menu-open .nav-toggle-bar:nth-child(2){ opacity:0; }
.site-header.is-menu-open .nav-toggle-bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ── モバイル（768px以下） ── */
@media (max-width:768px){
  /* “変な線”防止：モバイルでは初期の下線を消す（スクロールで影が出る） */
  .site-header {
    border-bottom:none;
    padding-left: 0px;
    padding-right: 0px;
 }
  

  .header-inner { flex-wrap:nowrap; gap:12px; }
  .nav-toggle { display:inline-block; margin-left:auto; }

  /* PC要素は隠す */
  .site-nav--pc, .header-cta { display:none; }

  /* ドロワー本体（右から70% / どのスクロール位置でも開けるよう top:0 の固定） */
  .site-nav-drawer{
    display: block;                /* ← モバイル時だけ描画を有効化（ベースで非表示にしているため） */
    position: fixed;
    inset: 0 0 0 auto;             /* top:0; right:0; bottom:0; 左はauto */
    width: 70vw;                   /* 約70% */
    max-width: 480px;
    background:#fff;
    transform: translateX(100%);
    transition: transform .28s ease;
    will-change: transform;
    z-index: 1100;                 /* ヘッダーより前面 */
    padding: 18px 16px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -2px 0 10px rgba(0,0,0,.12);
  }
  .site-header.is-menu-open ~ .site-nav-drawer { transform: translateX(0); }

  /* ドロワー内：タイトル */
  .drawer-head { margin-bottom: 8px; }
  .drawer-title { display:block; font-weight:700; font-size:1.2rem; color:#000; text-decoration:none; }

  /* メニュー（縦並び） */
  .nav-list--drawer { list-style:none; display:flex; flex-direction:column; gap:12px; margin: 10px 0 16px; }
  .nav-list--drawer a { display:block; padding:12px 4px; font-size:1.05rem; color:#333; text-decoration:none; }
  .nav-list--drawer a:hover { color:#0073aa; }

  /* CTA（縦積み） */
  .mobile-cta { display:flex; flex-direction:column; gap:12px; margin:12px 0 18px; }
  .mobile-cta .btn { font-weight:800; }

  /* SNSアイコン */
  .mobile-sns { display:flex; gap:18px; justify-content:center; margin-top:4px; }
  .mobile-sns a img { width:28px; height:28px; display:block; }

  /* 背景オーバーレイ（開いた時だけ表示） */
  .site-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: none;                 /* 初期は非表示 */
    z-index: 1090;                 /* ドロワーの一段下 */
  }
  .site-header.is-menu-open ~ .site-overlay { display:block; }
}


/* ── タブレット（任意） ── */
@media (min-width:769px) and (max-width:1024px){
  .site-nav--pc .nav-list { gap:14px; }
  .header-cta .btn { padding:8px 12px; }
}

/* ── フッター ── */
.site-footer { background:#858585; color:#fff; padding:40px 20px; }
.footer-inner { display:flex; flex-wrap:wrap; gap:20px; align-items:flex-start; justify-content:space-between; margin-bottom:20px; }
.footer-logo { font-size:1.2rem; font-weight:700; margin-bottom:8px; }
.footer-contact a { color:#fff; font-size:.9rem; text-decoration:none; }
.footer-contact a:hover { opacity:.8; }
.footer-nav .nav-list { display:flex; flex-direction:column; gap:8px; list-style:none; margin:0; padding:0; }
.footer-nav a { color:#fff; font-size:.9rem; text-decoration:none; transition:opacity .2s ease; }
.footer-nav a:hover { opacity:.75; }
.footer-cta { display:flex; flex-direction:column; gap:10px; }
.footer-cta .btn { text-align:center; }
.footer-copy { font-size:.8rem; color:rgba(255,255,255,.7); text-align:center; margin-top:20px; }
