/*
 Theme Name:   SWELL Child (AmiStyles)
 Theme URI:
 Description:  AmiStyles用 SWELL子テーマ。LPモックアップ_40代大人ファッション診断.html のデザインシステムを移植。
 Author:       Ami
 Author URI:
 Template:     swell
 Version:      1.0.0
 Text Domain:  swell-child

 ★注意★
 「Template:」の値は、実際にインストールした親テーマ（SWELL）のフォルダ名と
 完全に一致している必要があります（例: wp-content/themes/SWELL ならこのまま、
 wp-content/themes/swell ならここも小文字に直してください）。一致していないと
 子テーマが有効化できません。
*/

:root{
  --pink: #e8b4b8;
  --pink-deep: #c98a90;
  --beige: #f3e9e2;
  --brown: #7a5c4f;
  --brown-deep: #5c4338;
  --cream: #fdfaf7;
  --text: #3c3230;
  --gold: #b8935f;
}

/* AmiStylesのカスタムテンプレート（page-lp.php / page-about.php）専用のリセット。
   SWELL標準のグローバル余白・フォントとぶつからないよう、
   .amistyles-page 配下に限定してリセットをかける。 */
.amistyles-page{
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Zen Old Mincho", serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
.amistyles-page *{ box-sizing:border-box; }
.amistyles-page .sans{ font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
.amistyles-page img{ max-width:100%; display:block; }
.amistyles-page a{ text-decoration:none; color:inherit; }
.amistyles-page .wrap{ max-width: 1040px; margin:0 auto; padding:0 24px; }
.amistyles-page section{ padding: 84px 0; }

/* ===== Header ===== */
.amistyles-page header{
  position:sticky; top:0; z-index:50;
  background: rgba(253,250,247,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eaddd2;
}
.amistyles-page header .wrap{ display:flex; align-items:center; justify-content:space-between; height:64px; }
.amistyles-page .logo{ font-size:19px; letter-spacing:0.12em; color: var(--brown-deep); font-weight:600; }
.amistyles-page .logo span{ color: var(--pink-deep); }
.amistyles-page .header-cta{
  background: var(--brown-deep); color:#fff; padding:9px 22px; border-radius:30px;
  font-size:13px; letter-spacing:0.05em; font-family:inherit;
}
.amistyles-page .header-cta.sans{ font-family: "Hiragino Kaku Gothic ProN", sans-serif; }
.amistyles-page .header-right{ display:flex; align-items:center; gap:14px; }

/* ===== Hamburger button + Side menu ===== */
.amistyles-page .menu-btn{
  width:38px; height:38px; border-radius:50%; border:1px solid #eaddd2; background:#fff;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  cursor:pointer; flex:0 0 auto; padding:0;
}
.amistyles-page .menu-btn span{ width:16px; height:1.5px; background:var(--brown-deep); border-radius:2px; }
.amistyles-page .menu-btn:hover{ border-color:var(--pink-deep); }
body.menu-open{ overflow:hidden; }
.amistyles-page .menu-overlay{
  position:fixed; inset:0; background:rgba(60,50,48,0.45); opacity:0; visibility:hidden;
  transition: opacity .25s ease, visibility .25s ease; z-index:90;
}
.amistyles-page .menu-overlay.open{ opacity:1; visibility:visible; }
.amistyles-page .side-menu{
  position:fixed; top:0; right:0; height:100%; width:280px; max-width:82vw;
  background:var(--cream); box-shadow:-14px 0 40px -20px rgba(60,50,48,0.4);
  transform:translateX(100%); transition:transform .3s ease; z-index:95;
  display:flex; flex-direction:column; padding:22px 26px 30px;
}
.amistyles-page .side-menu.open{ transform:translateX(0); }
.amistyles-page .side-menu-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:30px; }
.amistyles-page .menu-close{
  width:32px; height:32px; border-radius:50%; border:1px solid #eaddd2; background:#fff;
  font-size:16px; color:var(--brown-deep); cursor:pointer; line-height:1;
}
.amistyles-page .menu-close:hover{ border-color:var(--pink-deep); color:var(--pink-deep); }
.amistyles-page .side-menu-nav{ display:flex; flex-direction:column; gap:0; margin-bottom:auto; }
.amistyles-page .side-menu-nav a{
  padding:15px 4px; font-size:14.5px; color:var(--brown-deep); border-bottom:1px solid #eee0d5;
  letter-spacing:0.03em;
}
.amistyles-page .side-menu-nav a:hover{ color:var(--pink-deep); }
.amistyles-page .side-menu-cta{ margin-top:26px; text-align:center; font-size:14px; padding:15px 20px; }

/* ===== Buttons (LP全体で共通) ===== */
.amistyles-page .cta-btn{
  display:inline-block; background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  color:#fff; padding:18px 40px; border-radius:50px; font-size:16px; letter-spacing:0.05em;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif; font-weight:600;
  box-shadow: 0 14px 30px -10px rgba(201,138,144,0.65);
}
.amistyles-page .cta-btn.light{
  background:#fff; color:var(--brown-deep);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.35);
}
.amistyles-page .cta-note{ margin-top:14px; font-size:12.5px; color:#9a8b81; font-family:"Hiragino Kaku Gothic ProN", sans-serif; }
.amistyles-page .eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; letter-spacing:0.15em; color: var(--pink-deep);
  background:#fff; border:1px solid #eecdd0; padding:6px 16px; border-radius:30px;
  margin-bottom:22px;
}
.amistyles-page .eyebrow::before{ content:"●"; font-size:8px; }

/* ===== Hero / First View（page-lp.php専用） ===== */
.amistyles-page .hero{
  position:relative;
  padding: 76px 0 88px;
  background:
    radial-gradient(circle at 82% 18%, rgba(232,180,184,0.35), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(184,147,95,0.18), transparent 40%),
    linear-gradient(180deg, #fdfaf7 0%, #f8ede6 100%);
  overflow:hidden;
}
.amistyles-page .hero-grid{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:48px; align-items:center; }
.amistyles-page h1.headline{ font-size: 40px; line-height:1.55; color: var(--brown-deep); font-weight:600; margin-bottom:20px; }
.amistyles-page h1.headline em{ font-style:normal; color: var(--pink-deep); border-bottom:3px solid var(--pink); }
.amistyles-page .sub{ font-size:15.5px; color:#6b5c53; margin-bottom:32px; max-width:460px; }
.amistyles-page .hero-visual{
  position:relative; aspect-ratio: 4/5; border-radius: 18px;
  background: linear-gradient(160deg, #eecdd0 0%, #f3e9e2 55%, #d9c3ae 100%);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 30px 60px -20px rgba(124,92,79,0.35);
  overflow:hidden;
}
.amistyles-page .hero-visual img.hero-slide{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position: top center;
  opacity:0; transition: opacity 1.2s ease;
}
.amistyles-page .hero-visual img.hero-slide.active{ opacity:1; }
.amistyles-page .slide-dots{ position:absolute; z-index:6; bottom:16px; left:50%; transform:translateX(-50%); display:flex; gap:6px; }
.amistyles-page .slide-dots span{
  width:6px; height:6px; border-radius:50%; background: rgba(255,255,255,0.55);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08); transition: all .3s ease;
}
.amistyles-page .slide-dots span.active{ background:#fff; width:16px; border-radius:4px; }
.amistyles-page .trust-row{
  margin-top:56px; display:flex; gap:34px; flex-wrap:wrap; align-items:center;
  font-family:"Hiragino Kaku Gothic ProN", sans-serif; color:#8a7a6f; font-size:12.5px;
}
.amistyles-page .trust-row .item{ display:flex; align-items:center; gap:8px; }
.amistyles-page .trust-row .item .dot{ width:6px; height:6px; border-radius:50%; background:var(--gold); }

/* ===== Section common ===== */
.amistyles-page .section-head{ text-align:center; margin-bottom:52px; }
.amistyles-page .section-eyebrow{
  font-family:"Hiragino Kaku Gothic ProN", sans-serif; font-size:12.5px; letter-spacing:0.2em;
  color: var(--gold); margin-bottom:12px; text-transform:uppercase;
}
.amistyles-page .section-title{ font-size:28px; color: var(--brown-deep); font-weight:600; }
.amistyles-page .section-desc{
  font-family:"Hiragino Kaku Gothic ProN", sans-serif; color:#8a7a6f; font-size:14px;
  margin-top:14px; max-width:520px; margin-left:auto; margin-right:auto;
}

/* ===== Empathy / Pain points ===== */
.amistyles-page .empathy{ background:#fff; }
.amistyles-page .pain-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.amistyles-page .pain-card{ background: var(--beige); border-radius:16px; padding:28px 20px; text-align:center; }
.amistyles-page .pain-card .num{ font-size:12px; color:var(--pink-deep); font-family:"Hiragino Kaku Gothic ProN", sans-serif; letter-spacing:0.1em; }
.amistyles-page .pain-card p{ margin-top:12px; font-size:14.5px; color:#5c4a41; }

/* ===== Authority / Profile ===== */
.amistyles-page .authority{ background: linear-gradient(180deg, #fff 0%, #faf3ee 100%); }
.amistyles-page .auth-grid{ display:grid; grid-template-columns: 0.85fr 1.15fr; gap:52px; align-items:center; }
.amistyles-page .auth-photo{
  position:relative; aspect-ratio: 3/3.6; border-radius:18px; overflow:hidden;
  background: linear-gradient(160deg,#d9c3ae, #eecdd0);
  display:flex; align-items:center; justify-content:center;
  font-family:"Hiragino Kaku Gothic ProN", sans-serif; color:#8a6a5c; font-size:13px;
  box-shadow: 0 24px 50px -20px rgba(124,92,79,0.3);
}
.amistyles-page .auth-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position: top center; }
.amistyles-page .auth-copy .name{ font-size:13px; color:var(--pink-deep); font-family:"Hiragino Kaku Gothic ProN", sans-serif; letter-spacing:0.1em; margin-bottom:10px; }
.amistyles-page .auth-copy h3{ font-size:24px; color:var(--brown-deep); margin-bottom:18px; font-weight:600; }
.amistyles-page .auth-copy p{ font-size:14.5px; color:#6b5c53; margin-bottom:14px; }

/* ===== Steps / Diagnosis flow ===== */
.amistyles-page .steps{ background:#fff; }
.amistyles-page .step-row{ display:grid; grid-template-columns: repeat(3,1fr); gap:28px; position:relative; }
.amistyles-page .step-card{ text-align:center; padding:0 12px; }
.amistyles-page .step-icon{
  width:76px; height:76px; border-radius:50%; margin:0 auto 20px;
  background: linear-gradient(135deg, var(--pink), var(--beige));
  display:flex; align-items:center; justify-content:center;
  font-family:"Hiragino Kaku Gothic ProN", sans-serif; font-size:22px; color:#fff; font-weight:700;
  box-shadow: 0 14px 24px -10px rgba(201,138,144,0.5);
}
.amistyles-page .step-card h4{ font-size:16px; color:var(--brown-deep); margin-bottom:10px; }
.amistyles-page .step-card p{ font-size:13.5px; color:#8a7a6f; font-family:"Hiragino Kaku Gothic ProN", sans-serif; }

/* ===== Testimonials（現状マークアップ未使用・将来のレビュー掲載用に温存） ===== */
.amistyles-page .testi{ background: var(--beige); }
.amistyles-page .testi-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.amistyles-page .testi-card{ background:#fff; border-radius:16px; padding:28px; box-shadow: 0 16px 34px -22px rgba(90,60,50,0.4); }
.amistyles-page .stars{ color:var(--gold); font-size:14px; margin-bottom:14px; letter-spacing:2px; }
.amistyles-page .testi-card p{ font-size:13.8px; color:#5c4a41; margin-bottom:18px; }
.amistyles-page .testi-person{ display:flex; align-items:center; gap:10px; font-family:"Hiragino Kaku Gothic ProN", sans-serif; }
.amistyles-page .testi-avatar{ width:38px; height:38px; border-radius:50%; background:linear-gradient(135deg,var(--pink-deep),var(--gold)); }
.amistyles-page .testi-person .who{ font-size:12.5px; color:#8a7a6f; }
.amistyles-page .testi-person .who b{ display:block; color:var(--brown-deep); font-size:13.5px; }

/* ===== Product recommend ===== */
.amistyles-page .products{ background:#fff; }
.amistyles-page .prod-tabs{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-bottom:32px; }
.amistyles-page .prod-tab{
  border:1.5px solid #eee0d5; background:#fff; color:#8a7a6f; font-size:13px;
  padding:9px 20px; border-radius:30px; cursor:pointer; transition:.2s; font-weight:600;
}
.amistyles-page .prod-tab:hover{ border-color:var(--pink-deep); color:var(--pink-deep); }
.amistyles-page .prod-tab.active{
  background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  border-color:transparent; color:#fff;
  box-shadow: 0 10px 22px -12px rgba(201,138,144,0.65);
}
.amistyles-page .prod-slider{ overflow:hidden; }
@keyframes amistylesProdSlideIn{
  from{ opacity:0; transform:translateX(28px); }
  to{ opacity:1; transform:translateX(0); }
}
.amistyles-page .prod-grid.sliding{ animation: amistylesProdSlideIn .4s ease; }
.amistyles-page .prod-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:24px; }
.amistyles-page .prod-card{ border:1px solid #eee0d5; border-radius:16px; overflow:hidden; transition:.2s; }
.amistyles-page .prod-card:hover{ box-shadow: 0 16px 34px -22px rgba(90,60,50,0.4); transform:translateY(-2px); }
.amistyles-page .prod-thumb{
  aspect-ratio: 1/1.1;
  background: linear-gradient(150deg, #f3e9e2, #e8b4b8);
  display:flex; align-items:center; justify-content:center;
  font-family:"Hiragino Kaku Gothic ProN", sans-serif; color:#8a6a5c; font-size:12.5px;
  overflow:hidden;
}
.amistyles-page .prod-thumb a{ display:block; width:100%; height:100%; }
.amistyles-page .prod-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.amistyles-page .prod-body{ padding:18px 18px 22px; }
.amistyles-page .prod-tag{
  display:inline-block; background: var(--beige); color:var(--brown-deep); font-size:11px;
  padding:4px 10px; border-radius:20px; font-family:"Hiragino Kaku Gothic ProN", sans-serif; margin-bottom:10px;
}
.amistyles-page .prod-body h4{ font-size:15px; color:var(--brown-deep); margin-bottom:6px; }
.amistyles-page .prod-body .desc{ font-size:12.5px; color:#8a7a6f; font-family:"Hiragino Kaku Gothic ProN", sans-serif; margin-bottom:10px; }
.amistyles-page .ami-tip{ font-size:11.5px; color:var(--brown-deep); font-style:italic; line-height:1.6; margin-bottom:14px; }
.amistyles-page .ami-tip .tip-label{ display:inline-block; font-style:normal; font-family:"Hiragino Kaku Gothic ProN", sans-serif; font-size:10px; color:#fff; background:var(--pink-deep); border-radius:20px; padding:1px 8px; margin-right:6px; letter-spacing:0.02em; }
.amistyles-page .prod-link{
  display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--pink-deep);
  font-family:"Hiragino Kaku Gothic ProN", sans-serif; font-weight:600;
}
.amistyles-page .prod-more{ text-align:center; margin-top:28px; }
.amistyles-page .prod-more a{
  display:inline-block; font-family:"Hiragino Kaku Gothic ProN", sans-serif;
  font-size:13.5px; font-weight:600; color: var(--pink-deep);
  border: 2px solid var(--pink-deep); border-radius:50px; padding:11px 26px;
  background:#fff5f2; transition: all .2s ease;
}
.amistyles-page .prod-more a:hover{ background: var(--pink-deep); color:#fff; }
.amistyles-page .pr-note{ text-align:center; margin-top:28px; font-size:11.5px; color:#a99a8f; font-family:"Hiragino Kaku Gothic ProN", sans-serif; }

/* ===== タイプ別アイテムページ（page-type.php） ===== */
.amistyles-page .type-tab-nav{ background:#fff; padding-top:0; padding-bottom:8px; }
.amistyles-page .type-tab-nav .prod-tabs{ margin-bottom:0; }
.amistyles-page .type-page-content{ background:#fff; padding-top:8px; }
.amistyles-page .type-page-intro{ text-align:center; max-width:640px; margin:0 auto 40px; }
.amistyles-page .type-page-title{ font-size:26px; color:var(--brown-deep); font-weight:600; margin-bottom:14px; }
.amistyles-page .type-page-desc{ font-size:14px; color:#6b5c53; line-height:1.9; margin-bottom:18px; }
.amistyles-page .type-page-intro .result-tags{ display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.amistyles-page .type-page-intro .result-tags span{
  background: var(--beige); color:var(--brown-deep); font-size:11.5px; padding:6px 14px; border-radius:20px;
  font-family:"Hiragino Kaku Gothic ProN", sans-serif;
}
.amistyles-page .type-page-grid{ grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.amistyles-page .type-page-loading{ text-align:center; color:#a99a8f; font-size:13px; font-family:"Hiragino Kaku Gothic ProN", sans-serif; padding:40px 0; }
.amistyles-page .type-page-cta{ background: var(--beige); text-align:center; padding:60px 0; }
.amistyles-page .type-page-cta p{ font-size:14.5px; color:#6b5c53; margin-bottom:20px; font-family:"Hiragino Kaku Gothic ProN", sans-serif; }

/* ===== Blog / Column（最新記事） ===== */
.amistyles-page .blog-section{ background: var(--beige); }
.amistyles-page .blog-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.amistyles-page .blog-card{ display:block; background:#fff; border:1px solid #eee0d5; border-radius:16px; overflow:hidden; transition:.2s; }
.amistyles-page a.blog-card:hover{ box-shadow: 0 16px 34px -22px rgba(90,60,50,0.4); transform:translateY(-2px); }
.amistyles-page .blog-card.coming-soon{ opacity:0.7; }
.amistyles-page .blog-thumb{
  aspect-ratio: 16/10;
  background: linear-gradient(150deg, #f3e9e2, #e8b4b8);
  display:flex; align-items:center; justify-content:center;
  font-family:"Hiragino Kaku Gothic ProN", sans-serif; color:#8a6a5c; font-size:12.5px;
}
.amistyles-page .blog-body{ padding:20px 20px 24px; }
.amistyles-page .blog-tag{
  display:inline-block; background: var(--beige); color:var(--brown-deep); font-size:11px;
  padding:4px 10px; border-radius:20px; font-family:"Hiragino Kaku Gothic ProN", sans-serif; margin-bottom:10px;
}
.amistyles-page .blog-card.coming-soon .blog-tag{ background:#f3e9e2; }
.amistyles-page .blog-body h4{ font-size:15.5px; color:var(--brown-deep); margin-bottom:8px; line-height:1.6; font-weight:600; }
.amistyles-page .blog-body .desc{ font-size:12.5px; color:#8a7a6f; font-family:"Hiragino Kaku Gothic ProN", sans-serif; margin-bottom:14px; }
.amistyles-page .blog-link{
  display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--pink-deep);
  font-family:"Hiragino Kaku Gothic ProN", sans-serif; font-weight:600;
}
.amistyles-page .blog-link.muted{ color:#a99a8f; font-weight:400; }

/* ===== 診断セクションの外枠（中身の .quiz-box 等は amistyles-diagnosis プラグインのCSSが担当） ===== */
.amistyles-page .quiz-section{ background: var(--beige); }

/* ===== Final CTA ===== */
.amistyles-page .final-cta{
  background: linear-gradient(135deg, var(--brown-deep), #8a6a5c);
  color:#fff; text-align:center; padding:90px 0;
}
.amistyles-page .final-cta .section-eyebrow{ color: #eecdd0; }
.amistyles-page .final-cta h2{ font-size:30px; margin-bottom:18px; font-weight:600; }
.amistyles-page .final-cta p{ font-size:14.5px; color:#f0e3da; margin-bottom:36px; font-family:"Hiragino Kaku Gothic ProN", sans-serif; }

/* ===== Footer ===== */
.amistyles-page footer{ background:#3c3230; color:#c9bbb0; padding:44px 0 28px; font-family:"Hiragino Kaku Gothic ProN", sans-serif; }
.amistyles-page footer .wrap{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.amistyles-page footer .f-logo{ color:#fff; font-size:16px; letter-spacing:0.1em; }
.amistyles-page footer .f-links{ display:flex; gap:20px; font-size:12px; }
.amistyles-page footer .copyright{ margin-top:24px; font-size:11px; color:#8a7a6f; text-align:center; }
.amistyles-page .disclosure{ text-align:center; font-size:11px; color:#8a7a6f; margin-top:6px; }

/* ===== ページヘッダー（page-about.php等の下層ページ用） ===== */
.amistyles-page .page-hero{
  padding: 64px 0 56px; text-align:center;
  background: linear-gradient(180deg, #fdfaf7 0%, #f8ede6 100%);
}
.amistyles-page .page-hero h1{ font-size:32px; color:var(--brown-deep); font-weight:600; margin-bottom:14px; }
.amistyles-page .page-hero .sub{ font-size:14.5px; color:#6b5c53; max-width:520px; margin:0 auto; }

/* ===== 基本情報テーブル（運営者情報ページ） ===== */
.amistyles-page .info-list{ display:flex; flex-direction:column; }
.amistyles-page .info-row{
  display:flex; gap:24px; padding:16px 0; border-bottom:1px solid #eee0d5;
  font-family:"Hiragino Kaku Gothic ProN", sans-serif;
}
.amistyles-page .info-row .label{ flex:0 0 130px; font-size:13px; color:var(--brown-deep); font-weight:600; letter-spacing:0.03em; }
.amistyles-page .info-row .value{ font-size:13.5px; color:#5c4a41; }
.amistyles-page .info-row .value .note{ display:block; font-size:12px; color:#a99a8f; margin-top:4px; }

/* ===== プロフィール本文 ===== */
.amistyles-page .profile-body p{ font-size:14.5px; color:#5c4a41; margin-bottom:16px; font-family:"Hiragino Kaku Gothic ProN", sans-serif; }
.amistyles-page .profile-body p:last-child{ margin-bottom:0; }

/* ===== 方針・ポリシー ===== */
.amistyles-page .policy-list{ display:flex; flex-direction:column; gap:14px; }
.amistyles-page .policy-item{
  display:flex; gap:14px; align-items:flex-start; background: var(--beige);
  border-radius:14px; padding:18px 20px;
}
.amistyles-page .policy-item .ic{
  flex:0 0 auto; width:26px; height:26px; border-radius:50%; background:var(--pink-deep);
  color:#fff; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center;
  font-family:"Hiragino Kaku Gothic ProN", sans-serif;
}
.amistyles-page .policy-item p{ font-size:13.5px; color:#5c4a41; font-family:"Hiragino Kaku Gothic ProN", sans-serif; }

/* ===== アフィリエイト開示 ===== */
.amistyles-page .disclosure-box{ background:#fff; border:1.5px solid #eecdd0; border-radius:16px; padding:26px 28px; }
.amistyles-page .disclosure-box p{ font-size:13.5px; color:#5c4a41; margin-bottom:12px; font-family:"Hiragino Kaku Gothic ProN", sans-serif; }
.amistyles-page .disclosure-box p:last-child{ margin-bottom:0; }

/* ===== お問い合わせ・関連リンク ===== */
.amistyles-page .link-row{ display:flex; gap:14px; flex-wrap:wrap; }
.amistyles-page .link-row a{
  display:inline-block; font-family:"Hiragino Kaku Gothic ProN", sans-serif;
  font-size:13.5px; font-weight:600; color: var(--pink-deep);
  border: 2px solid var(--pink-deep); border-radius:50px; padding:12px 24px;
  background: #fff5f2;
}

@media (max-width: 860px){
  .amistyles-page .hero-grid, .amistyles-page .auth-grid{ grid-template-columns:1fr; }
  .amistyles-page .hero-visual{ order:-1; max-width:320px; margin:0 auto; }
  .amistyles-page h1.headline{ font-size:28px; }
  .amistyles-page .pain-grid{ grid-template-columns:repeat(2,1fr); }
  .amistyles-page .step-row, .amistyles-page .testi-grid, .amistyles-page .prod-grid, .amistyles-page .blog-grid{ grid-template-columns:1fr; }
  .amistyles-page section{ padding:56px 0; }
}

@media (max-width: 640px){
  .amistyles-page .info-row{ flex-direction:column; gap:4px; }
  .amistyles-page .info-row .label{ flex:none; }
  .amistyles-page .page-hero h1{ font-size:26px; }
}

/* ===== ブログ記事本文（SWELL標準テンプレート）の見出し色 ===== */
/* SWELLの記事本文エリアは .post_content。AmiStylesのブランドカラーに合わせて上書き */
.post_content h2{
  color: var(--brown-deep);
  border-bottom: 2px solid var(--pink-deep);
}
.post_content h3{
  color: var(--brown-deep);
}
.post_content h4{
  color: var(--brown-deep);
}
