  :root{
    --shell-bg:#fff; --shell-border:#fff;
    --ink:#0e2550; --ink-weak:#2b3b65;
  }

  html,body{height:100%}
  body{ margin:0; overflow-x:hidden; font-family:"Hiragino Sans","Helvetica Neue",Arial,sans-serif; }

  /* 固定背景 */
  .page-bg{ position:fixed; inset:0; background:url("../images/contact_bg.jpg") center/cover no-repeat fixed; z-index:-2; }
.page-bg::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(255,255,255,.25), rgba(255,255,255,.25));
}

  /* 固定ヘッダー（前のまま・完全白） */
  .site-header{
    position: fixed; top:16px; left:16px; right:16px; z-index:9999; pointer-events:none;
  }
  .nav-shell{
    pointer-events:auto;
    display:flex; align-items:center; gap:18px;
    padding:12px 14px; background:var(--shell-bg);
    border:2px solid var(--shell-border); border-radius:14px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
  }
  .brand{display:flex; text-decoration: none; align-items:center; gap:10px; white-space:nowrap; padding:8px 12px; border-radius:10px; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.06) inset;}
  .brand .logo{font-weight:900; font-size: clamp(18px,2.4vw,22px); letter-spacing:.06em; color:var(--ink);}
  .brand .tag{margin-left:6px; font-size:11px; letter-spacing:.1em; color:#6b7aa6;}
  .nav{display:flex; align-items:center; gap:8px;}
  .nav a{padding:10px 14px; border-radius:10px; color:var(--ink-weak); text-decoration:none; font-weight:700; font-size:14px; transition:.15s;}
  .nav a:hover{ background:#fff; color:var(--ink); transform:translateY(-1px); }
  .cta{ margin-left:auto; }
  .cta a{ background:#111827; color:#fff !important; padding:10px 16px; border-radius:10px; text-decoration:none; font-weight:700; box-shadow:0 6px 16px rgba(0,0,0,.18); }

  .hamburger{ display:none; margin-left:auto; width:40px; height:40px; border-radius:10px; background:#fff; border:1px solid #e5e7eb; align-items:center; justify-content:center; }
  .hamburger span{ width:20px; height:2px; background:#111; position:relative; display:block; }
  .hamburger span:before,.hamburger span:after{ content:""; position:absolute; left:0; width:20px; height:2px; background:#111; }
  .hamburger span:before{ top:-6px; } .hamburger span:after{ top:6px; }

  @media (max-width: 900px){
    .nav{ display:none; } .cta{ display:none; } .hamburger{ display:flex; }
    .nav.open{
      position:absolute; top:64px; left:16px; right:16px;
      display:flex; flex-direction:column; gap:6px;
      background:#fff; border:2px solid #fff;
      border-radius:12px; padding:10px; box-shadow:0 10px 24px rgba(0,0,0,.12);
    }
    .nav.open a{ padding:12px 10px; }
    .brand .tag{ display:none; }
    .brand{ min-width:0; padding:8px 10px; }
    .brand .logo{
        font-size: clamp(16px, 4.6vw, 20px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
  }
.hero-about{
  padding: clamp(96px, 16vh, 160px) 20px 40px;
  text-align:center;
  color:#fff;
  position:relative;
}

.hero-about::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,0.35); /* 半透明の黒でコントラストUP */
  border-radius: 12px;
  width: 90%;
  margin: 0 auto;
  height: 100%;
  z-index: -1;
}

.hero-about h1{
  margin:0;
  font-size: clamp(26px,4vw,42px);
  font-weight:900;
  background: linear-gradient(90deg,#ff6ec4,#7873f5);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-about p{
  margin:.6em 0 0;
  font-size: clamp(15px,2vw,18px);
  color:#f9fafb; /* より明るい白 */
}

/* Contact Section */
.sec-contact{ position: relative; padding:84px 0; }
.sec-contact .container{ width:min(880px,92vw); margin:0 auto; position:relative; z-index:2; }

.has-bg .sec-bg{
  position:absolute; inset:0;
  background-image: var(--bg);
  background-size: cover; background-position:center;
}
.has-bg .sec-bg::after{
  content:""; position:absolute; inset:0;
  background: rgba(255,255,255,.38);
}

/* 白カード */
.contact-card{
  background:#fff;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.12);
  padding:28px;
}
.contact-card .section-head{
  margin-bottom: clamp(18px, 3vw, 28px);
}
.contact-card h2{
  font-size: clamp(22px, 3vw, 28px);
  font-weight:900;
  margin:0;
}

/* フォームデザイン */
.contact-form{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.form-group{
  display:flex;
  flex-direction:column;
}
.form-group label{
  font-weight:700;
  margin-bottom:6px;
  color:#0e2550;
}
.form-group label span{ color:#e11d48; }

.contact-form input,
.contact-form select,
.contact-form textarea{
  border:1px solid #d1d5db;
  border-radius:8px;
  padding:10px 12px;
  font-size:15px;
  line-height:1.5;
  transition:border-color .2s, box-shadow .2s;
  background:#f9fafb;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37,99,235,.2);
  background:#fff;
}

/* 送信ボタン */
.submit-wrap{
  text-align:center;
  margin-top:10px;
}
.btn-submit{
  background: linear-gradient(135deg,#2563eb,#1e3a8a);
  color:#fff;
  font-weight:700;
  font-size:16px;
  border:none;
  padding:12px 28px;
  border-radius:9999px;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn-submit:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.15);
}
.btn-submit:active{
  transform:translateY(0);
}

/* モバイル */
@media (max-width: 520px){
  .contact-card{ padding:20px; }
}
  .page-end{ height:12vh }
/* ===== Footer ===== */
.site-footer{
  background:#fff;       /* フッター全体を白で */
  width:100%;
  padding: 48px 0;
  border-top: 2px solid #eee;
  position: relative;
}

.footer-inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 縦並びメニュー */
.footer-nav{
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}
.footer-nav a{
  text-decoration: none;
  color: #0e2550;
  font-weight: 800;
  font-size: clamp(16px, 1.7vw, 18px);
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color .15s ease, transform .15s ease;
}
.footer-nav a:hover{
  background: #f1f5ff;
  transform: translateX(4px);
}

/* コピーライト */
.copyright{
  margin-top: 18px;
  color:#6b7280;
}

/* 右側の固定イラスト */
.footer-art{
  position: absolute;
  right: max(16px, 5%);
  bottom: -6px;
  width: clamp(540px, 22vw, 260px);
  pointer-events: none;
  filter:
    drop-shadow(1px 0 0 #fff)
    drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff)
    drop-shadow(0 -1px 0 #fff);
  z-index: 1;
}

/* ゆらぎアニメ */
.sway{
  animation: footerSway 7s ease-in-out infinite;
  transform-origin: 60% 45%;
}
@keyframes footerSway{
  0%{transform: translateY(0) rotate(-3deg)}
  50%{transform: translateY(-6px) rotate(3deg)}
  100%{transform: translateY(0) rotate(-3deg)}
}

/* レスポンシブ対応 */
@media (max-width: 700px){
  .footer-art{ right: 8px; width: 34vw; opacity: .9; }
}
@media (max-width: 480px){
  .footer-art{ display:none; }
}
