/*
 Theme Name: e-tokimeki-stylish
 Description: 結婚相談所 e-tokimeki スタイリッシュ版
 Version: 2.0
*/

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

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  background: #fdfaf8;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

/* --------------------------
   コンテナ
--------------------------- */
.site-main {
  padding: 0 0 60px;
}

/* --------------------------
   ヘッダー
--------------------------- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: relative;
  z-index: 10;
}

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

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #c04a6b;
}

/* グローバルナビ */
.global-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.global-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.global-nav a:hover {
  border-color: #c04a6b;
  color: #c04a6b;
}

/* --------------------------
   プランカード
--------------------------- */
.plan-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-top: 40px;
}

.plan-card {
  display: block;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.plan-card h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #c04a6b;
}

/* --------------------------
   スライドショー（中央寄せ）
--------------------------- */
.hero-slider {
  position: relative;
  max-width: 1100px;
  margin: 100px auto 60px; /* ヘッダー分 + 下余白 */
  height: 50vh;
  min-height: 280px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* キャッチコピー */
.hero-message {
  position: absolute;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-message-inner {
  max-width: 80%;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.hero-message-inner h2 {
  font-size: 2.6rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-message-inner p {
  font-size: 1.3rem;
  line-height: 1.5;
}

/* --------------------------
   セクション
--------------------------- */
.section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  color: #c04a6b;
  margin-bottom: 24px;
}

.section p {
  font-size: 1.05rem;
  color: #555;
}

/* --------------------------
   ボタン
--------------------------- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  background: #c04a6b;
  color: #fff;
  font-weight: 700;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn:hover {
  background: #ff5f8e;
  transform: translateY(2px);
}

/* --------------------------
   ブログカード
--------------------------- */
.blog-card {
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.blog-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #c04a6b;
}

/* --------------------------
   フッター
--------------------------- */
.site-footer {
  background: #fff;
  color: #333;
  padding: 24px 16px;
  text-align: center;
  border-top: 1px solid #eee;
}

.footer-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 0.85rem;
  margin: 0;
}

/* --------------------------
   レスポンシブ
--------------------------- */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-slider {
    width: 90%;
    height: 40vh;
    margin-top: 80px;
  }

  .hero-message-inner h2 {
    font-size: 1.8rem;
  }

  .hero-message-inner p {
    font-size: 1rem;
  }

  .plan-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
