/* =============================================
   めんたいこFP事務所 - 共通スタイル
   デザイン: 和モダン × 赤 (mentaico.jp参考)
   ============================================= */

:root {
  --primary:       #C41E3A;
  --primary-dark:  #9E1530;
  --primary-light: #F9E8EB;
  --teal:          #2A9D8F;
  --teal-dark:     #1F7268;
  --bg:            #FDF5F5;
  --bg-white:      #FFFFFF;
  --text:          #333333;
  --text-mid:      #555555;
  --text-light:    #888888;
  --border:        #E8D5D7;
  --shadow:        0 2px 16px rgba(196,30,58,0.08);
  --shadow-hover:  0 6px 24px rgba(196,30,58,0.15);
  --radius:        14px;
  --radius-sm:     8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'YuGothic', '游ゴシック体', 'Yu Gothic Medium', '游ゴシック Medium',
               'Yu Gothic', '游ゴシック', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

/* ── ヘッダー ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 80px;
  gap: 20px;
}
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo img {
  height: 52px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.logo-sub {
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 0.08em;
}
.logo-main {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}

/* ナビゲーション */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px;
  gap: 3px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-list a:hover,
.nav-list a.active {
  background: var(--primary-light);
  color: var(--primary);
}
.nav-list a svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}
.nav-contact a {
  background: var(--teal) !important;
  color: #fff !important;
  border-radius: var(--radius-sm);
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 600;
  gap: 4px;
}
.nav-contact a:hover {
  background: var(--teal-dark) !important;
}
.nav-contact a svg {
  fill: #fff !important;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── ヒーローセクション ── */
.hero {
  background: var(--bg);
  padding: 60px 20px 50px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(196,30,58,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--text);
}
.hero-title em {
  font-style: normal;
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
  padding-bottom: 1px;
}
.hero-sub {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 30px;
  max-width: 480px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 30px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(196,30,58,0.3);
}
.hero-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,30,58,0.4);
}
.hero-mascot img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── サービスカード ── */
.services-section {
  background: #fff;
  padding: 70px 20px;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.section-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--primary);
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}
.section-title span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.section-lead {
  color: var(--text-mid);
  margin-top: 12px;
  font-size: 14px;
}

.cards-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: default;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.card-icon {
  width: 54px;
  height: 54px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}
.card-link {
  margin-top: auto;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-link:hover { text-decoration: underline; }

/* ── NEWS ── */
.news-section {
  background: var(--bg);
  padding: 70px 20px;
}
.news-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.news-date {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Courier New', monospace;
}
.news-badge {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.news-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.news-text a:hover { color: var(--primary); text-decoration: underline; }

/* ── プロフィールティーザー ── */
.worries-section {
  background: #fff;
  padding: 70px 20px;
}
.worries-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.worry-item {
  background: var(--bg);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}
.worry-item::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Instagram ── */
.ig-section {
  background: var(--bg);
  padding: 50px 20px;
  text-align: center;
}
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 30px;
  padding: 14px 32px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s;
  box-shadow: var(--shadow);
}
.ig-link:hover {
  background: var(--primary);
  color: #fff;
}
.ig-link:hover svg { fill: #fff; }
.ig-link svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
  transition: fill 0.25s;
}

/* ── 提携先 ── */
.partners-section {
  background: var(--bg-white);
  padding: 70px 20px;
  text-align: center;
}
.partners-lead {
  font-size: 14px;
  color: var(--text-mid);
  margin: -10px auto 36px;
  max-width: 560px;
  line-height: 1.8;
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
.partner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  min-width: 280px;
  flex: 1 1 280px;
  max-width: 360px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.partner-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--primary);
}
.partner-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.partner-info {
  text-align: left;
  flex: 1;
}
.partner-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.partner-type {
  font-size: 12px;
  color: var(--text-light);
}
.partner-arrow {
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── CTA ── */
.cta-section {
  background: var(--primary);
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}
.cta-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 28px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.25);
}

/* ── フッター ── */
.site-footer {
  background: #2A2020;
  color: #ccc;
  padding: 40px 20px 24px;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-logo {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}
.footer-logo span {
  display: block;
  font-size: 11px;
  color: #aaa;
  font-weight: 400;
  margin-top: 2px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: #aaa;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #aaa;
  align-items: center;
}
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 16px;
  font-size: 12px;
  color: #777;
  text-align: center;
}

/* ── プロフィールページ ── */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 50px 20px 40px;
  text-align: center;
}
.page-hero h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 14px;
  opacity: 0.85;
  letter-spacing: 0.1em;
}
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.profile-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 280px 1fr;
  margin-bottom: 48px;
}
.profile-photo {
  background: var(--bg);
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}
.profile-photo-placeholder {
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 80px;
}
.profile-info {
  padding: 36px;
}
.profile-name {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}
.profile-name span {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.profile-title {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.profile-bio {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2;
}

.quals-section {
  margin-top: 48px;
}
.quals-section h2 {
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 24px;
  color: var(--text);
}
.qual-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qual-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  font-size: 14px;
}
.qual-item svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
  flex-shrink: 0;
}

/* ── サービスページ ── */
.service-detail {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}
.service-detail h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.service-detail h2 svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}
.service-detail p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 16px;
}
.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

/* ── ブログページ ── */
.blog-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.blog-card-date {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  font-family: 'Courier New', monospace;
  padding-top: 2px;
}
.blog-card-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.blog-card-content h3:hover { color: var(--primary); }
.blog-card-content p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}
.blog-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  margin-top: 10px;
}

/* ── お問い合わせ ── */
.contact-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group label span.req {
  color: var(--primary);
  margin-left: 4px;
  font-size: 12px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196,30,58,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: inherit;
  letter-spacing: 0.05em;
}
.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.contact-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.8;
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .site-nav { display: none; }
  .site-nav.open { display: flex; }
  .hamburger { display: flex; }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 99;
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }
  .nav-list a {
    flex-direction: row;
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
  }
  .nav-contact a {
    margin-top: 8px;
    justify-content: center;
  }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 30px; }
  .hero-mascot img { width: 160px; margin: 0 auto; }

  .cards-grid { grid-template-columns: 1fr; }
  .worries-grid { grid-template-columns: 1fr; }
  .profile-card { grid-template-columns: 1fr; }
  .profile-photo img, .profile-photo-placeholder { min-height: 220px; }
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            