/*
Theme Name: Shobu Theme
Theme URI: https://www.since2023shobu.jp/
Author: 株式会社翔武
Author URI: https://www.since2023shobu.jp/
Description: 株式会社翔武 コーポレートサイト カスタムテーマ
Version: 1.0.0
License: Private
Text Domain: shobu-theme
*/

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =========================================
   CONTAINER
   ========================================= */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all .3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, #c8a96e 0%, #a07840 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(200,169,110,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,169,110,.5);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}
.btn-lg { padding: 18px 52px; font-size: 1rem; }

/* =========================================
   HEADER / NAV
   ========================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s, box-shadow .4s;
}
.header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 48px; }
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color .25s;
}
.header.scrolled .nav-links a { color: #1a1a2e; }
.nav-links a:hover { color: #c8a96e !important; }
.nav-cta {
  background: linear-gradient(135deg,#c8a96e,#a07840);
  color: #fff !important;
  padding: 9px 24px;
  border-radius: 30px;
  font-size: 0.85rem !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background .3s;
}
.header.scrolled .hamburger span { background: #1a1a2e; }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.55);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg-img { transform: scale(1); }
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,12,41,.6) 0%, rgba(48,43,99,.3) 100%);
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
}
.shape1 { width: 500px; height: 500px; background: #c8a96e; top: -100px; right: -100px; }
.shape2 { width: 360px; height: 360px; background: #6e78c8; bottom: 60px; left: -80px; }
.shape3 { width: 200px; height: 200px; background: #fff; top: 40%; left: 40%; }
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}
.hero-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  color: #c8a96e;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 24px;
}
.hero-accent { color: #c8a96e; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.9;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:.4;transform:scaleY(.6)} }

/* =========================================
   SECTIONS
   ========================================= */
.section { padding: 100px 0; }
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: #c8a96e;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 52px;
  color: #1a1a2e;
}

/* --- reveal animation --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   BUSINESS
   ========================================= */
.business { background: #fff; }
.business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.business-text h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1a1a2e;
}
.business-text p { color: #555; margin-bottom: 14px; line-height: 1.9; }
.business-cards { display: flex; flex-direction: column; gap: 20px; }
.biz-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f8f7f4;
  border-radius: 16px;
  padding: 24px;
  transition: transform .3s, box-shadow .3s;
}
.biz-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.biz-icon { font-size: 2rem; flex-shrink: 0; }
.biz-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: #1a1a2e; }
.biz-card p { font-size: 0.88rem; color: #666; line-height: 1.7; }

/* =========================================
   PHILOSOPHY
   ========================================= */
.philosophy { background: linear-gradient(160deg, #0f0c29 0%, #302b63 60%, #24243e 100%); }
.philosophy .section-label,
.philosophy .section-title { color: #fff; }
.philosophy-lead {
  color: rgba(255,255,255,.75);
  max-width: 680px;
  margin: -24px auto 56px;
  text-align: center;
  line-height: 1.9;
}
.vmm-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.vmm-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform .3s, background .3s;
}
.vmm-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.vmm-center { border-color: #c8a96e; background: rgba(200,169,110,.1); }
.vmm-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: #c8a96e;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.vmm-ja { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.vmm-card p { color: rgba(255,255,255,.7); font-size: 0.92rem; line-height: 1.8; }

/* =========================================
   PARTNER
   ========================================= */
.partner { background: #f8f7f4; }
.partner-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.partner-img-wrap { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.12); }
.partner-img { width: 100%; height: 420px; object-fit: cover; }
.partner-badge {
  display: inline-block;
  background: linear-gradient(135deg,#c8a96e,#a07840);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.partner-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem,3vw,2.4rem);
  font-weight: 500;
  margin-bottom: 24px;
  color: #1a1a2e;
  line-height: 1.4;
}
.partner-inner p { color: #555; margin-bottom: 16px; line-height: 1.9; }
.partner-cta-text { font-weight: 600; color: #1a1a2e !important; margin-bottom: 28px !important; }

/* =========================================
   MESSAGE
   ========================================= */
.message { background: #fff; }
.message-inner { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.photo-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
  aspect-ratio: 3/4;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.message-name { text-align: center; margin-top: 16px; }
.name-title { display: block; font-size: 0.8rem; color: #999; margin-bottom: 4px; }
.name-full { display: block; font-family:'Noto Serif JP',serif; font-size: 1.1rem; font-weight: 500; }
.message-text p { color: #555; margin-bottom: 18px; line-height: 2; font-size: 0.95rem; }
.message-sign { margin-top: 32px; font-family:'Noto Serif JP',serif; font-size: 1rem; color:#1a1a2e; padding-top:16px; border-top:1px solid #eee; }

/* =========================================
   HISTORY / TIMELINE
   ========================================= */
.history { background: #f8f7f4; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content:''; position:absolute; left:8px; top:0; bottom:0; width:2px; background:linear-gradient(to bottom,#c8a96e,transparent); }
.timeline-item { position:relative; padding-bottom:48px; }
.timeline-dot { position:absolute; left:-36px; top:4px; width:16px; height:16px; border-radius:50%; background:#c8a96e; border:3px solid #fff; box-shadow:0 0 0 2px #c8a96e; }
.timeline-year { font-family:'Montserrat',sans-serif; font-size:2rem; font-weight:700; color:#c8a96e; margin-bottom:8px; }
.timeline-content h4 { font-size:1.05rem; font-weight:700; margin-bottom:8px; color:#1a1a2e; }
.timeline-content p { color:#666; line-height:1.85; font-size:0.92rem; }

/* =========================================
   ABOUT
   ========================================= */
.about { background: #fff; }
.about-table-wrap { overflow-x: auto; }
.about-table { width: 100%; border-collapse: collapse; }
.about-table th, .about-table td { padding: 18px 24px; font-size: 0.92rem; text-align: left; border-bottom: 1px solid #eee; vertical-align: top; }
.about-table th { width: 180px; color: #888; font-weight: 500; white-space: nowrap; }
.about-table td a { color: #c8a96e; }
.about-table tr:last-child th,
.about-table tr:last-child td { border-bottom: none; }

/* =========================================
   CONTACT
   ========================================= */
.contact { background: linear-gradient(160deg,#0f0c29 0%,#302b63 60%,#24243e 100%); }
.contact .section-label,
.contact .section-title { color: #fff; }
.contact-lead { color: rgba(255,255,255,.7); margin: -24px 0 44px; }

.contact-form { max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 0.85rem; color: rgba(255,255,255,.8); letter-spacing: 0.04em; }
.required {
  display: inline-block;
  background: #c8a96e;
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.95rem;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border .25s, background .25s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group select option { background: #1a1a2e; color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #c8a96e;
  background: rgba(255,255,255,.1);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e86b6b; }
.form-submit { text-align: center; margin-top: 12px; }

/* 送信完了・エラーメッセージ */
.form-notice {
  padding: 16px 24px;
  border-radius: 12px;
  margin-bottom: 28px;
  font-size: 0.95rem;
  text-align: center;
}
.form-notice.success {
  background: rgba(100,200,120,.15);
  border: 1px solid rgba(100,200,120,.4);
  color: #8eeaa0;
}
.form-notice.error-msg {
  background: rgba(232,107,107,.15);
  border: 1px solid rgba(232,107,107,.35);
  color: #f0a0a0;
}

/* =========================================
   FOOTER
   ========================================= */
.footer { background: #0a0a18; color: rgba(255,255,255,.6); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; padding-bottom: 48px; }
.footer-logo { height: 40px; filter: brightness(10); margin-bottom: 12px; }
.footer-tagline { font-size: 0.85rem; margin-bottom: 8px; }
.footer-tel a { color: #c8a96e; font-size: 0.9rem; }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; text-align: right; }
.footer-nav a { font-size: 0.85rem; transition: color .2s; }
.footer-nav a:hover { color: #c8a96e; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: 0.78rem; }

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg,#c8a96e,#a07840);
  color: #fff;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(200,169,110,.4);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  z-index: 99;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .business-grid,
  .partner-layout,
  .message-inner { grid-template-columns: 1fr; gap: 40px; }
  .vmm-grid { grid-template-columns: 1fr; }
  .message-inner { grid-template-columns: 1fr; }
  .message-photo { max-width: 260px; margin: 0 auto; }
}
@media (max-width: 700px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(255,255,255,.98); flex-direction: column; padding: 24px; gap: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { color: #1a1a2e !important; font-size: 1rem; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav ul { text-align: left; }
  .about-table th { width: 120px; }
}
