/* ==========================================================================
   共通デザインシステム
   ========================================================================== */
:root {
  --primary: #0a0a0a;
  --accent: #b89450;
  --text: #333333;
  --text-light: #666666;
  --bg: #ffffff;
  --bg-sub: #f8f8f8;
  --font-en-serif: 'Playfair Display', serif;
  --font-en-sans: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.6s var(--ease);
    /* フォントサイズ基準 */
  --fs-xs:   0.75rem;
  /* 12px  コピーライト等の極小テキスト */;
  --fs-sm:   0.875rem;
  /* 14px  補足・注記・ラベル */;
  --fs-md:   1rem;
  /* 16px  本文標準 */;
  --fs-lg:   1.125rem;
  /* 18px  やや大きめ本文・リード */;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-jp);
  font-size: 16px;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Typography Guidelines */
h1, h2, h3, .en-title {
  font-family: var(--font-en-serif);
  letter-spacing: 0.05em;
}
.caps {
  font-family: var(--font-en-sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--fs-sm);
  font-weight: 700;
}

/* Layout Units */
section {
  padding: 120px 5%;
  position: relative;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.flex {
  display: flex;
  gap: 40px;
}
.grid {
  display: grid;
  gap: 40px;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   Header
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 25px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
header.scrolled {
  background: rgba(255,255,255,0.98);
  padding: 15px 5%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Logo Styles */
.logo-wrap {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  line-height: 1.1;
  position: relative;
  z-index: 1200;
}
.tagline {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}
.logo { 
  font-size: 1.4rem;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
}

/* Global Navigation */
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}
.gnav {
  display: flex;
  gap: 25px;
}
.gnav > li {
  position: relative;
  list-style: none;
}
.gnav a { 
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.3s;
}
.gnav a:hover { color: var(--accent); }

/* Dropdown */
.has-child:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: var(--bg);
  padding: 20px;
  border-top: 2px solid var(--accent);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.submenu li {
  margin-bottom: 12px;
  list-style: none;
}
.submenu a {
  font-weight: 400;
  font-size: var(--fs-sm);
}

/* ==========================================================================
   共通フッター
   ========================================================================== */
footer {
  padding: 80px 5% 40px;
  background: var(--bg);
  border-top: 1px solid #eee;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}
.footer-company {
  width: 280px;
  flex-shrink: 0;
}
.f-logo {
  font-family: "Noto Serif JP", serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
  color: var(--primary);
}
.footer-company p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}
.footer-sns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-sns a {
  font-size: var(--fs-sm);
  color: var(--text-light);
  border: 1px solid #ddd;
  padding: 5px 12px;
  border-radius: 50px;
  transition: 0.3s;
}
.footer-sns a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.footer-nav-area {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.f-nav h3 {
  font-size: var(--fs-sm);
  margin-bottom: 20px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.f-nav li {
  list-style: none;
  margin-bottom: 8px;
  font-size: var(--fs-sm);
}
.f-nav a {
  color: var(--text-light);
  transition: color 0.3s;
}
.f-nav a:hover { color: var(--accent); }
.f-nav-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
}
.copyright {
  text-align: center;
  font-size: var(--fs-xs);
  color: #999;
}


/* ==========================================================================
   共通CTA
   ========================================================================== */
.cta {
  background: var(--bg-sub);
  text-align: center;
  padding: 140px 5%;
}
.cta-btn-wrap { 
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}

/* Large Square Conversion Boxes */
.line-btn, .form-btn {
  width: 420px;
  aspect-ratio: 1 / 1;
  padding: 40px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.line-btn {
  background: linear-gradient(135deg, #06c755 0%, #05a346 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(6, 199, 85, 0.25);
}

.form-btn {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.line-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(45deg);
  animation: shine 4s infinite;
}
@keyframes shine { 0% { transform: translateX(-100%) rotate(45deg); } 100% { transform: translateX(100%) rotate(45deg); } }

.line-btn:hover, .form-btn:hover {
  transform: translateY(-15px) scale(1.03);
}
.form-btn:hover { background: var(--accent); }

/* Internal content scaling */
.cta-icon {
  font-size: 4.5rem;
  margin-bottom: 25px;
}
.cta-main-text {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
}
.cta-sub-text {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.6;
}


/* ==========================================================================
   共通パーツ
   ========================================================================== */
.hamburger {
  display: none;
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 20px;
  z-index: 1300;
}
.hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
  left: 0;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: rotate(-45deg);
}

/* PC時はドロワー専用要素を非表示 */
.drawer-overlay { display: none; }
.drawer-cta { display: none; }

/* ==========================================================================
   右側 追従固定ボタン
   ========================================================================== */
.right-fixed-btns {
  position: fixed;
  top: 100px;
  right: 30px;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-btn-fixed {
  display: none;
  /* PCでは非表示 */;
  width: 90px;
  height: 90px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-btn-fixed:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.menu-btn-fixed .hamburger-icon {
  width: 28px;
  height: 18px;
  position: relative;
  margin-bottom: 6px;
}

.menu-btn-fixed .hamburger-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease-in-out;
}

.menu-btn-fixed .hamburger-icon span:nth-child(1) { top: 0; }
.menu-btn-fixed .hamburger-icon span:nth-child(2) { top: 8px; }
.menu-btn-fixed .hamburger-icon span:nth-child(3) { top: 16px; }

.menu-btn-fixed p {
  font-size: 0.75rem;
  font-family: var(--font-en-sans);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.menu-btn-fixed.active .hamburger-icon span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}
.menu-btn-fixed.active .hamburger-icon span:nth-child(2) { opacity: 0; }
.menu-btn-fixed.active .hamburger-icon span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

.btn-consult-fixed {
  width: 90px;
  height: 90px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 10px 25px rgba(184, 148, 80, 0.3);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-consult-fixed:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: 0 15px 30px rgba(184, 148, 80, 0.4);
}

.btn-line-fixed {
  width: 90px;
  height: 90px;
  background: #06C755;
  color: #fff;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 10px 25px rgba(6, 199, 85, 0.3);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-line-fixed:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: 0 15px 30px rgba(6, 199, 85, 0.4);
}

.btt {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 900;
}
.btt.active {
  opacity: 1;
  visibility: visible;
}


/* ==========================================================================
   共通モバイル
   ========================================================================== */
@media (max-width: 1024px) {
  section { padding: 60px 5%; }
  .rep { padding-bottom: 60px; }
    
  header { padding: 18px 5%; }
  header.scrolled { padding: 18px 5%;
  } /* スマホ時は高さ統一 */;
  .hamburger { display: none;
  } /* 旧ハンバーガー非表示 */;

    /* スマホ用ロゴ拡大 */
  .logo { font-size: 1.6rem; }
  .tagline { font-size: 0.8rem; }

    /* スマホ用：追従ボタンを右上に横並び */
    .right-fixed-btns {
    top: 0;
    right: 10px;
    transform: none;
    flex-direction: row;
    gap: 7px;
    height: 76px;
    /* ヘッダーの高さに合わせる */;
    align-items: center;
  }

    .menu-btn-fixed {
    display: flex;
    /* スマホでは表示 */;
    width: 56px;
    height: 56px;
    font-size: 0.75rem;
  }

    .menu-btn-fixed .hamburger-icon {
    width: 20px;
    height: 14px;
    margin-bottom: 4px;
  }

  .menu-btn-fixed .hamburger-icon span:nth-child(2) { top: 6px; }
  .menu-btn-fixed .hamburger-icon span:nth-child(3) { top: 12px; }
  .menu-btn-fixed.active .hamburger-icon span:nth-child(1) { top: 6px; }
  .menu-btn-fixed.active .hamburger-icon span:nth-child(3) { top: 6px; }
  .menu-btn-fixed p { font-size: 0.55rem; }

  .btn-consult-fixed,
    .btn-line-fixed {
    width: 56px;
    height: 56px;
    font-size: 0.65rem;
  }

    /* 並び順：LINE → 無料相談 → MENU（右端） */
  .btn-line-fixed { order: 1; }
  .btn-consult-fixed { order: 2; }
  .menu-btn-fixed { order: 3; }

    .nav-wrap {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 90px 8% 40px;
    transition: right 0.5s var(--ease);
    z-index: 1300;
    overflow-y: auto;
  }
  .nav-wrap.active { right: 0; }

    /* ドロワーオーバーレイ（背面の暗幕） */
    .drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1250;
  }
    .drawer-overlay.active {
    opacity: 1;
    visibility: visible;
  }

    /* 料金の下矢印を非表示 */
  .has-child > a > i { display: none; }

    .gnav {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
    .gnav > li {
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
    .gnav > li:first-child {
    border-top: 1px solid rgba(0,0,0,0.07);
  }
    .gnav > li > a {
    font-size: 1.15rem;
    font-weight: 700;
    width: 100%;
    display: block;
    padding: 14px 10px;
    border-bottom: none;
    color: var(--text);
    transition: color 0.3s, background 0.3s;
    letter-spacing: 0.04em;
  }
    .gnav > li > a:hover {
    color: var(--accent);
    background: rgba(184, 148, 80, 0.04);
    padding-left: 10px;
  }
    .submenu { 
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    box-shadow: none;
    padding: 0 0 6px 20px;
    border: none;
    border-top: none;
    display: block;
    background: transparent;
  }
    .submenu li {
    margin-bottom: 0;
  }
    .submenu a {
    font-size: 1rem;
    font-weight: 400;
    padding: 8px 10px;
    color: var(--text-light);
    display: block;
  }
    .submenu a::before {
    content: '–';
    margin-right: 8px;
    color: var(--accent);
    font-weight: 700;
  }
    .submenu a:hover {
    color: var(--accent);
  }

    /* ドロワー下部のCTAボタン */
    .drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.07);
  }
    .drawer-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
  }
    .drawer-cta-consult {
    background: var(--accent);
    color: #fff;
  }
    .drawer-cta-consult:hover {
    background: var(--primary);
    transform: translateY(-2px);
  }
    .drawer-cta-line {
    background: #06C755;
    color: #fff;
  }
    .drawer-cta-line:hover {
    background: #05a346;
    transform: translateY(-2px);
  }

    /* CTA Area Adjustments */
  .cta { padding: 80px 5%; }
    .cta h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    line-height: 1.4;
  }
    .cta-btn-wrap {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
  }
    .line-btn, .form-btn {
    width: 100%;
    max-width: 380px;
    padding: 30px;
  }
    .cta-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
  }
  .cta-main-text { font-size: 1.4rem; }
  .cta-sub-text { font-size: 0.9rem; }

    /* Footer Fix */
  footer { padding: 50px 5% 30px; }
    .footer-top {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 30px;
  }
    .footer-company {
    width: 100%;
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
  }
  .footer-company p { margin-bottom: 10px; }
    .footer-sns {
    justify-content: center;
    margin-top: 5px;
  }
    .footer-nav-area {
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;
    max-width: 480px;
    margin: 0 auto;
  }
    .footer-nav-area .f-nav {
    text-align: left;
  }
    .footer-nav-area > .f-nav:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }
    .footer-nav-area > .f-nav:last-child ul {
    display: flex;
    gap: 20px;
  }
    .f-nav h3 {
    margin-bottom: 10px;
    font-size: var(--fs-sm);
  }
    .f-nav li {
    margin-bottom: 8px;
    font-size: var(--fs-md);
    line-height: 1.6;
  }
    .f-nav-split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .f-nav-plan .f-nav-split { grid-template-columns: 1fr; }
}



/* ==========================================================================
   トップページメインコンテンツ
   ========================================================================== */
.mv {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-sub);
  overflow: hidden;
  padding: 100px 0 80px;
}
.mv-visual {
  position: absolute;
  top: 0;
  right: 5%;
  width: 45%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.mv-shape-1 {
  position: absolute;
  top: 0;
  right: -5%;
  width: 110%;
  height: 100%;
  background: #f0f0f0;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.mv-img-1 {
  position: absolute;
  top: 0;
  right: -5%;
  width: 110%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.mv-content { 
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}
.mv-text-wrap {
  width: 50%;
  padding-right: 20px;
}
.mv h1 { 
  font-size: 2.4rem;
  line-height: 1.35;
  margin: 20px 0 35px;
  font-family: "Noto Serif JP", serif;
}
.mv .subtext {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 45px;
  max-width: 100%;
}
.mv .tag {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: var(--fs-md);
}
/* --- ファーストビュー専用ボタン --- */
.mv-btn {
  display: flex;
  /* inline-flex から flex に変更 */;
  width: fit-content;
  /* ボタンの幅を中身の文字サイズにピタッと合わせる */;
  margin: 0 auto;
  /* これが左エリアの中で中央寄せにする魔法です */;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  padding: 14px 30px;
  /* 横の余白を減らして、幅を少しコンパクトに */;
  font-size: var(--fs-md);
  /* 文字サイズも少しだけスッキリと */;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-decoration: none;
  transition: var(--transition);
}

/* マウスを乗せたとき（ホバー時）のアニメーション（前回と同じです） */
.mv-btn:hover {
  background: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(184, 148, 80, 0.3);
}
/* --- Representative --- */
.rep {
  background: var(--bg);
  padding-bottom: 160px;
}
.rep-flex {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.rep-profile { 
  width: 35%;
  background: var(--bg-sub);
  padding: 50px;
  border-left: 5px solid var(--accent);
}
.rep-profile-title { margin: 15px 0 5px; }
.rep-profile-name {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 4px;
}
.rep-profile-origin {
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-bottom: 16px;
}
.rep-profile-desc {
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.8;
}
.rep-profile-desc strong { color: var(--text); }
.rep-profile-commitment {
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}
.rep-profile-commitment strong { color: var(--text); }
.rep-profile-quote {
  font-size: var(--fs-sm);
  font-style: italic;
  border-top: 1px solid #ddd;
  padding-top: 16px;
  color: var(--text-light);
}
.rep-more-link { margin-top: 24px; }
.profile-frame {
  position: relative;
  width: 85%;
  max-width: 650px;
  aspect-ratio: 16 / 10;
  margin: 35px 0 45px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.profile-frame::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 1px solid #b89450;
  z-index: -1;
}
.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #fff;
}
.rep-msg { width: 65%; }
.rep-msg h2 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  line-height: 1.4;
}
.rep-msg p { margin-bottom: 25px; }

/* --- Items --- */
.section-head {
  text-align: center;
  margin-bottom: 80px;
}
.section-head .caps {
  color: var(--accent);
  margin-bottom: 15px;
  display: block;
}
.section-head h2 { font-size: 2.5rem; }

.item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.item-card {
  transition: var(--transition);
  border-bottom: 1px solid transparent;
  padding-bottom: 20px;
}
.item-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--accent);
}
.item-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: #eee;
  margin-bottom: 25px;
  overflow: hidden;
}
.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.item-card:hover img { transform: scale(1.1); }
.item-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.item-card p {
  font-size: var(--fs-md);
  color: var(--text-light);
  margin-bottom: 20px;
}

.more-link { 
  display: inline-block;
  margin-top: 15px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--fs-md);
}

/* --- サービス一覧 --- */
.services-section { background: var(--bg); }
.works-section { background: var(--bg-sub); }
.ai-section { background: var(--bg); }
.pricing {
  background: var(--bg-sub);
  color: var(--text);
}
.pricing .section-head h2 { color: var(--text); }
.rep {
  background: var(--bg);
  padding-bottom: 160px;
}
.targets { background: var(--bg-sub); }
.flow-simple { background: var(--bg); }
.news-section { background: var(--bg-sub); }
.faq-section { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid #eee;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(184,148,80,0.1);
  transform: translateY(-6px);
}
.service-card-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1rem;
  font-family: var(--font-jp);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.service-card p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}
.service-card-link {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* --- 制作の流れ 補足 --- */
.flow-simple-note {
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-bottom: 8px;
  text-align: center;
}


/* --- こんな方におすすめ --- */
.targets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.target-item {
  padding: 35px 30px;
  border: 1px solid #eee;
  border-radius: 12px;
  position: relative;
  transition: var(--transition);
}
.target-item:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(184,148,80,0.1);
}
.target-num {
  font-family: var(--font-en-sans);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.target-item h3 {
  font-size: 1rem;
  font-family: var(--font-jp);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}
.target-item p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.8;
}

/* --- 制作の流れ（簡易版） --- */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  max-width: 1100px;
  margin: 0 auto 60px;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #e0d0b0;
  z-index: 0;
}
.top-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.top-flow-step-num {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en-sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(184,148,80,0.3);
}
.top-flow-step .flow-step-body h3 {
  font-size: 1rem;
  font-family: var(--font-jp);
  font-weight: 700;
  margin-bottom: 10px;
}
.top-flow-step .flow-step-body p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.7;
}
.flow-simple-link {
  text-align: center;
}

/* --- Pricing --- */
.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}
.price-box { 
  background: var(--bg);
  padding: 50px 30px;
  text-align: center;
  transition: var(--transition);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}
.price-box:hover { 
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* おすすめプラン */
.price-box--popular {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 40px rgba(184,148,80,0.15);
  padding-top: 65px;
}
.price-box--popular:hover {
  box-shadow: 0 20px 50px rgba(184,148,80,0.25);
}
.price-box-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 20px;
  white-space: nowrap;
}
.price-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.9;
}
.price-box h3 {
  font-family: var(--font-jp);
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-weight: 700;
}
.price-num {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-en-sans);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}
.price-num span {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-light);
}
.price-note {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 20px 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 850px;
  margin: 0 auto 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  text-align: left;
}
.price-note i {
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.price-note p {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text);
}
.price-links {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.price-link-sub { opacity: 0.7; }
.price-support-note {
  text-align: center;
  margin-bottom: 80px;
}
.price-support-note p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-bottom: 10px;
}
.real-estate-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #222 100%);
  border-radius: 16px;
  padding: 60px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  text-align: left;
}
.reb-content {
  position: relative;
  z-index: 2;
  max-width: 65%;
}
.reb-label {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  color: var(--accent);
  border: 1px solid rgba(184, 148, 80, 0.3);
}
.real-estate-banner h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-family: var(--font-jp);
  font-weight: 700;
  line-height: 1.3;
}
.real-estate-banner p {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 35px;
  line-height: 1.6;
}
.reb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 16px 35px;
  border-radius: 8px;
  font-weight: 700;
  font-size: var(--fs-md);
  transition: 0.3s;
}
.reb-btn:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-3px);
}
.reb-btn-icon { margin-left: 8px; }
.reb-icon {
  position: absolute;
  right: 5%;
  bottom: -10%;
  font-size: 18rem;
  color: rgba(255,255,255,0.04);
  z-index: 1;
  transform: rotate(-10deg);
}

/* --- FAQ / News Area --- */
.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item { border-bottom: 1px solid #eee; }
.faq-item:first-child { border-top: 1px solid #eee; }
.faq-q { 
  padding: 30px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: var(--fs-lg);
  gap: 20px;
}
.faq-q-text {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}
.faq-q-text span:first-child {
  flex-shrink: 0;
  color: var(--accent);
  font-family: var(--font-en-sans);
}
.faq-a {
  padding: 0 0 30px;
  color: var(--text-light);
  display: none;
}
.section-more-link {
  text-align: center;
  margin-top: 40px;
}

/* --- CTA --- */
.cta {
  background: var(--bg-sub);
  text-align: center;
  padding: 140px 5%;
}
.cta-heading {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', serif;
}
.cta-btn-wrap { 
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}
.line-btn, .form-btn {
  width: 420px;
  aspect-ratio: 1 / 1;
  padding: 40px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.line-btn {
  background: linear-gradient(135deg, #06c755 0%, #05a346 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(6, 199, 85, 0.25);
}
.form-btn {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.line-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(45deg);
  animation: shine 4s infinite;
}
@keyframes shine { 0% { transform: translateX(-100%) rotate(45deg); } 100% { transform: translateX(100%) rotate(45deg); } }
.line-btn:hover, .form-btn:hover { transform: translateY(-15px) scale(1.03); }
.form-btn:hover { background: var(--accent); }
.cta-icon {
  font-size: 4.5rem;
  margin-bottom: 25px;
}
.cta-main-text {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
}
.cta-sub-text {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.6;
}

/* --- フッター --- */
.f-logo-link {
  text-decoration: none;
  color: inherit;
}
.footer-mail { color: var(--accent); }

/* --- mv-btn icon --- */
.nav-chevron { font-size: 0.7rem; }
.faq-item-first { border-top: 1px solid #eee; }

/* スマホ表示（1024px以下） */
@media (max-width: 1024px) {
    .profile-frame {
    width: 100%;
    aspect-ratio: 16 / 11;
    margin: 20px auto 30px;
  }
    .profile-frame::before {
    top: 15px;
    left: 15px;
  }
    .mv {
    height: auto;
    padding: 95px 5% 40px;
    flex-direction: column;
    text-align: center;
  }
    .mv h1 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    line-height: 1.4;
  }
    .mv-content {
    padding: 0;
    width: 100%;
  }
    .mv-text-wrap {
    width: 100%;
    padding: 0;
  }
    .mv-visual {
    position: relative;
    width: 100%;
    height: 320px;
    margin: 0 0 40px;
    right: 0;
  }
    .mv-shape-1 {
    clip-path: none;
    right: 0;
    width: 100%;
  }
    .mv-img-1 { 
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    clip-path: none;
  }
    .mv .subtext {
    font-size: 1rem;
    margin-bottom: 30px;
  }
    .mv .tag {
    justify-content: center;
    margin-bottom: 15px;
  }

    .rep-msg h2 {
    font-size: 2.0rem;
    margin-bottom: 30px;
  }
    .rep-flex {
    flex-direction: column;
    gap: 40px;
  }
  .rep-profile, .rep-msg { width: 100%; }
  .section-head { margin-bottom: 40px; }

    /* サービス一覧 */
    .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
    .service-card {
    padding: 20px 16px;
  }
    .service-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
  }
    .service-card-header .service-card-icon {
    margin-bottom: 0;
    font-size: 1.4rem;
    flex-shrink: 0;
  }
    .service-card-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
  }
    .service-card p {
    margin-bottom: 10px;
  }

    /* こんな方におすすめ */
    .targets-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
    .target-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px;
  }
    .target-num {
    font-size: 1.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 36px;
  }
  .target-item h3 { margin-bottom: 6px; }
  .target-text { flex: 1; }

    /* 制作の流れ簡易版 */
    .flow-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .flow-steps::before { display: none; }
    .top-flow-step {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
  }
    .top-flow-step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

    .item-grid, .price-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
    .price-note {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 10px;
    margin-bottom: 30px;
  }
    .price-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
  }
    .real-estate-banner {
    flex-direction: column;
    padding: 40px 25px;
    text-align: center;
  }
  .reb-content { max-width: 100%; }
  .real-estate-banner h3 { font-size: 1.6rem; }
    .reb-icon {
    font-size: 10rem;
    right: 50%;
    transform: translateX(50%) rotate(0);
    bottom: 5%;
    opacity: 0.3;
  }

    .faq-q {
    padding: 20px 0;
    font-size: var(--fs-md);
    align-items: flex-start;
  }
    .faq-q-text {
    flex-direction: column;
    gap: 5px;
  }
  .faq-q-text span:first-child { font-size: 0.8rem; }

  .cta { padding: 80px 5%; }
    .cta-heading {
    font-size: 1.6rem;
    margin-bottom: 30px;
    line-height: 1.4;
  }
    .cta-btn-wrap {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
  }
    .line-btn, .form-btn {
    width: 100%;
    max-width: 380px;
    padding: 30px;
  }
    .cta-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
  }
  .cta-main-text { font-size: 1.4rem; }
  .cta-sub-text { font-size: 0.9rem; }

  footer { padding: 50px 5% 30px; }
    .footer-top {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 30px;
  }
    .footer-company {
    width: 100%;
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
  }
  .footer-company p { margin-bottom: 10px; }
    .footer-sns {
    justify-content: center;
    margin-top: 5px;
  }
    .footer-nav-area {
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;
    max-width: 480px;
    margin: 0 auto;
  }
    .footer-nav-area .f-nav {
    text-align: left;
  }
    .footer-nav-area > .f-nav:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }
    .footer-nav-area > .f-nav:last-child ul {
    display: flex;
    gap: 20px;
  }
    .f-nav h3 {
    margin-bottom: 10px;
    font-size: var(--fs-sm);
  }
    .f-nav li {
    margin-bottom: 8px;
    font-size: var(--fs-md);
    line-height: 1.6;
  }
    .f-nav-split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .f-nav-plan .f-nav-split { grid-template-columns: 1fr; }
}
