/* main.css - Mikawa Yuishin Theme Base */
:root {
  --red: #C73E3A;
  --gold: #D4AF37;
  --brown: #5C4033;
  --white: #fff;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--brown);
  background: var(--white);
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

.container {
  width: calc(100% - 32px);
  max-width: 1140px;
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--brown);
}

.site-footer {
  background: #2b2623;
  color: #fff;
  padding: 36px 0;
  text-align: center;
  border-top: 4px solid var(--red);
}
/* ========================
   料金プランページ
======================== */
.plans-page {
  padding: 80px 0;
  background: #fffaf7;
  color: #5c4033;
}

.page-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.page-lead {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 50px;
  color: #6f4e37;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: start;
}

.plan-card {
  background: #fff;
  border: 2px solid rgba(92,64,51,0.1);
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.plan-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 1.6rem;
  font-weight: bold;
  color: #c06014;
  margin-bottom: 10px;
}

.plan-details {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.plan-details li {
  margin: 6px 0;
}

.plan-desc {
  font-size: 0.95rem;
  color: #6b4e3e;
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  padding: 0;
  text-align: left;
}

.plan-features li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(92,64,51,0.1);
}

.featured {
  border-color: #c06014;
  background: #fff8f2;
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #c06014;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.note {
  text-align: center;
  font-size: 0.9rem;
  color: #7a6556;
  margin-top: 50px;
}

.plans-contact {
  text-align: center;
  margin-top: 40px;
}
/* ========================
   代表プロフィールページ
======================== */
.profile-page {
  padding: 80px 0;
  background: #fffaf7;
  color: #5c4033;
}

.page-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.page-lead {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 50px;
  color: #6f4e37;
}

.profile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.profile-photo img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.profile-info h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #c73e3a;
}

.profile-info ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.profile-info p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.profile-info .btn-primary {
  display: inline-block;
  margin-top: 10px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .profile-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-photo img {
    max-width: 300px;
    margin: 0 auto 20px;
  }

  .profile-info {
    text-align: center;
  }
}
/* 成婚者の声 */
.voice-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 24px;
}
.voice {
  background:#fff;
  border-left:6px solid var(--red);
  border-radius:8px;
  padding:20px;
  font-size:15px;
  box-shadow:0 4px 10px rgba(0,0,0,0.05);
}
.voice span {
  display:block;
  margin-top:12px;
  font-weight:700;
  color:var(--muted);
}
.voice-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.voice-content {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ブログ一覧 */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 24px;
}
.blog-card {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.blog-card h2 {
  font-size: 1.1rem;
  margin: 8px 0;
}
.blog-card p {
  font-size: 0.95rem;
  color: #6f4e3e;
}
.blog-card img {
  border-radius: 8px;
  width: 100%;
  margin-bottom: 10px;
}
/* Swiper調整 */
.swiper {
  padding: 20px 0;
}
.swiper-slide {
  display: flex;
  justify-content: center;
}
.blog-card, .voice {
  width: 100%;
}
.swiper-button-prev, .swiper-button-next {
  color: #c73e3a;
}
.swiper-pagination-bullet-active {
  background: #c73e3a;
}
.blog-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
/* Swiperスライダー共通 */
.swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

/* ブログカード・声カードの統一高さ */
.blog-card, .voice {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 画像部分 */
.blog-img img, .voice-img img {
  width: 100%;
  height: auto; /* 高さ自動調整 */
  max-height: 220px; /* 必要に応じて調整 */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

/* コンテンツ部分 */
.blog-card a, .voice-content {
  flex: 1; /* 高さを残りに伸ばす */
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .swiper-slide {
    flex-direction: column;
  }
  .blog-img img, .voice-img img {
    max-height: 180px;
  }
}

@media (max-width: 480px) {
  .blog-img img, .voice-img img {
    max-height: 140px;
  }
}
header .main-nav {
    display: flex !important;
    align-items: center;
    gap: 30px;
}

header .main-nav ul.main-menu {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

header .main-nav ul.main-menu li {
    list-style: none;
}
/* ================================
   ハンバーガー本体
================================ */
.hamburger {
  display: none;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* ×になるアニメーション */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ================================
   スマホ表示（768px 以下）
================================ */
@media (max-width: 768px) {

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul.main-menu {
    flex-direction: column;
    gap: 20px;
  }

  .hamburger {
    display: flex;
  }
}
/* PCではハンバーガー非表示（重要） */
.hamburger {
  display: none;
}

/* スマホ（768px以下）で表示 */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}
.pc-nav {
  display: block;
}
.sp-nav {
  display: none;
}
@media (max-width: 768px) {
  .pc-nav {
    display: none;
  }
  .sp-nav.open {
    display: block;
  }
}
.pc-nav ul {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  gap: 20px;
}
/* PC 表示 */
.pc-nav {
  display: flex;
}
.sp-nav {
  display: none;
}
.hamburger {
  display: none;
}

/* スマホ表示 */
@media (max-width: 768px) {
  .pc-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    cursor: pointer;
    background: none;
    border: none;
  }
  .hamburger span {
    display: block;
    height: 3px;
    background: #c33;
    border-radius: 2px;
  }

  .sp-nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: white;
    padding: 20px;
  }

  .sp-nav.open {
    display: flex;
  }
}
