/* ==============================
   リセット & ベース
============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1a2e5a;
  --navy-dark: #0d1b3e;
  --gold:   #c9a84c;
  --gold-light: #e8c96a;
  --white:  #ffffff;
  --gray:   #f5f5f5;
  --text:   #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 15px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================
   ボタン
============================== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,.4);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==============================
   セクション共通
============================== */
.section { padding: 90px 0; }

.section-head { text-align: center; margin-bottom: 56px; }

.section-en {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .05em;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ==============================
   フェードインアニメーション
============================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   ヘッダー
============================== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.site-header.scrolled .header-logo { color: var(--navy); }
.site-header.scrolled .header-logo span { color: var(--gold); }
.site-header.scrolled .header-nav a { color: var(--text); }
.site-header.scrolled .header-nav a:hover { color: var(--navy); }
.site-header.scrolled .nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
}
.site-header.scrolled .hamburger span { background: var(--navy); }

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  transition: color var(--transition);
}
.header-logo span { color: var(--gold); }

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  letter-spacing: .05em;
  transition: color var(--transition);
}
.header-nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 700 !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==============================
   HERO
============================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2a4a8a 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 40px 6% 60px;
  text-align: center;
}

.hero-label {
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: .03em;
  margin-bottom: 24px;
}

.hero-text {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255,255,255,.8);
  line-height: 1.9;
  margin-bottom: 40px;
}

/* 装飾リング */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-deco-ring {
  position: absolute;
  border-radius: 50%;
}
.hero-deco-ring--r1 {
  width: 520px;
  height: 520px;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  border: 1.5px solid rgba(201,168,76,.25);
}
.hero-deco-ring--r2 {
  width: 340px;
  height: 340px;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(201,168,76,.15);
}
.hero-deco-ring--l1 {
  width: 380px;
  height: 380px;
  left: -140px;
  top: 50%;
  transform: translateY(-50%);
  border: 1.5px solid rgba(255,255,255,.08);
}
.hero-deco-dots {
  position: absolute;
  left: 40px;
  bottom: 120px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(rgba(255,255,255,.15) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-wave svg { width: 100%; display: block; }

/* ==============================
   SERVICE
============================== */
.service { background: var(--white); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ==============================
   WORKS
============================== */
.works { background: var(--gray); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.works-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.works-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.works-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--border);
}
.works-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}
.works-card:hover .works-img img { transform: scale(1.05); }

.works-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,46,90,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.works-card:hover .works-overlay { opacity: 1; }
.works-overlay span {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  background: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
}

.works-body { padding: 20px; }
.works-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.works-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.works-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.works-tags li {
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
  background: rgba(26,46,90,.08);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ==============================
   PRICE
============================== */
.price {
  background: var(--navy);
}
.price .section-en { color: var(--gold); }
.price .section-title { color: var(--white); }
.price .section-title::after { background: var(--gold); }

.price-note {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: -40px;
  margin-bottom: 48px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}

.price-card--featured {
  background: rgba(201,168,76,.12);
  border-color: var(--gold);
  transform: scale(1.04);
}
.price-card--featured:hover { transform: scale(1.04) translateY(-4px); }

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: .05em;
}

.price-label {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 4px;
}
.price-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.price-amount {
  font-family: 'Noto Serif JP', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1;
}
.price-amount span {
  font-size: 20px;
  font-weight: 400;
}

.price-list {
  text-align: left;
  margin-bottom: 28px;
  flex: 1;
}
.price-list li {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.price-card .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  width: 100%;
  text-align: center;
}
.price-card .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.price-card .btn-gold { width: 100%; text-align: center; }

.price-custom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}
.price-custom a { color: var(--gold); margin-left: 8px; }
.price-custom a:hover { text-decoration: underline; }

/* ==============================
   PROFILE
============================== */
.profile { background: var(--white); }

.profile-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.profile-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.profile-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.profile-name span {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 8px;
}

.profile-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 16px;
}

.profile-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.profile-skills li {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 5px 14px;
  border-radius: 20px;
  transition: all var(--transition);
}
.profile-skills li:hover {
  background: var(--navy);
  color: var(--white);
}

/* ==============================
   NOTE ARTICLES
============================== */
.note-articles { background: var(--gray); }

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.note-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  color: var(--text);
  text-decoration: none;
}
.note-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.note-card-img {
  width: 100%;
  aspect-ratio: 40/21;
  overflow: hidden;
}
.note-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
  display: block;
}
.note-card:hover .note-card-img img {
  transform: scale(1.04);
}
.note-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.note-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

.note-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  flex: 1;
}

.note-date {
  font-size: 12px;
  color: #999;
  margin-top: auto;
}

.note-more {
  text-align: center;
}
.note-more-btn {
  color: var(--navy);
  border-color: var(--navy);
}
.note-more-btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* ==============================
   CONTACT
============================== */
.contact { background: var(--white); }

.contact-lead {
  text-align: center;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-top: -40px;
  margin-bottom: 48px;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Contact Form 7 スタイル */
.wpcf7-form p { margin-bottom: 20px; }
.wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.wpcf7-form textarea { height: 140px; resize: vertical; }

.wpcf7-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 40px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .05em;
}
.wpcf7-form input[type="submit"]:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,.4);
}

/* ==============================
   フッター
============================== */
.site-footer {
  background: var(--navy-dark);
  padding: 56px 0 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--gold); }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 28px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

/* ==============================
   レスポンシブ
============================== */
@media (max-width: 900px) {
  .service-grid,
  .works-grid,
  .price-grid,
  .note-grid {
    grid-template-columns: 1fr 1fr;
  }
  .price-card--featured { transform: scale(1); }
  .price-card--featured:hover { transform: translateY(-4px); }
  .profile-inner { grid-template-columns: 220px 1fr; gap: 36px; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .note-grid { grid-template-columns: 1fr; }

  .hamburger { display: flex; }

  .header-nav {
    position: fixed;
    top: 68px; left: 0;
    width: 100%;
    background: var(--navy);
    padding: 24px;
    transform: translateY(calc(-100% - 68px));
    transition: transform var(--transition);
  }
  .header-nav.open { transform: translateY(0); }
  .header-nav ul { flex-direction: column; gap: 0; }
  .header-nav li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .header-nav a {
    display: block;
    padding: 14px 0;
    color: var(--white);
  }
  .nav-cta {
    background: none !important;
    color: var(--gold) !important;
    padding: 14px 0 !important;
    border-radius: 0 !important;
  }

  .hero-title { font-size: 28px; }

  .service-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .profile-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profile-img img {
    max-width: 240px;
    margin: 0 auto;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .contact-form { padding: 28px 20px; }
}
