
/*
Theme Name: 婚活の流儀 White Theme v4
Theme URI: https://example.com/
Author: OpenAI
Description: 白基調・アニメビジュアルの「婚活の流儀」カンプ再現テーマ。
Version: 4.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: konkatsu-ryugi
*/

:root{
  --bg:#fffafb;
  --card:#ffffff;
  --line:#f4d9e1;
  --line-strong:#efbdcc;
  --text:#5d4a50;
  --text-deep:#4b3940;
  --pink:#f58faa;
  --pink-deep:#ef7397;
  --pink-soft:#fff1f4;
  --shadow:0 10px 35px rgba(228,177,192,.18);
  --radius-xl:32px;
  --radius-lg:26px;
  --radius-md:20px;
  --radius-sm:14px;
  --container:min(1280px, calc(100% - 56px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background: radial-gradient(circle at top right, rgba(255,232,239,.75), transparent 28%), linear-gradient(180deg,#fffefe 0%, var(--bg) 100%);
  color:var(--text);
  font-family:"Hiragino Sans","Yu Gothic","YuGothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  line-height:1.85;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.site-shell{overflow:hidden}
.container{width:var(--container);margin:0 auto}
.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.84);backdrop-filter:blur(18px);border-bottom:1px solid rgba(240,216,225,.85);box-shadow:0 4px 18px rgba(150,100,120,.06)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0}
.brand{display:flex;align-items:center;gap:16px;min-width:0}
.brand-mark{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ffeef2,#ffdfe8);color:#f08cab;font-size:32px;box-shadow:var(--shadow)}
.brand-text{min-width:0}
.brand-title{font-size:40px;line-height:1;color:#544146;font-family:serif;letter-spacing:.08em}
.brand-sub{font-size:14px;color:#7b666c;margin-top:8px}
.header-nav{display:flex;align-items:center;gap:34px;font-size:17px;font-weight:600;white-space:nowrap}
.header-nav a{position:relative;padding:8px 2px;color:#69555c}
.header-nav .current-menu-item a,.header-nav a:hover{color:var(--pink-deep)}
.header-nav .current-menu-item a::after,.header-nav a:hover::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:3px;border-radius:99px;background:linear-gradient(90deg,var(--pink),#f8a9bc)}
.header-actions{display:flex;align-items:center;gap:16px;white-space:nowrap}
.search-btn{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:#fff;color:#7d6870}
.cta-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:16px 28px;border-radius:999px;background:linear-gradient(135deg,#f59eb5,#ef7c9d);color:#fff;font-weight:700;box-shadow:0 16px 30px rgba(239,124,157,.24);border:1px solid rgba(255,255,255,.7)}
.main-home{padding:28px 0 60px}
.hero{position:relative;padding:34px 0 16px}
.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 35%, rgba(255,214,226,.45), transparent 27%), radial-gradient(circle at 90% 20%, rgba(255,241,245,.9), transparent 25%);pointer-events:none}
.hero-grid{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:24px;min-height:600px}
.hero-copy{padding:10px 18px 10px 0}
.hero-heading{margin:0;color:#4d393e;font-size:clamp(54px,4.9vw,88px);line-height:1.23;font-family:serif;font-weight:500;letter-spacing:.04em}
.hero-heading .accent{display:block;color:#f396b2;font-size:1.14em;font-weight:600}
.hero-lead{font-size:20px;color:#7d676e;max-width:640px;margin:28px 0 34px}
.hero-actions{display:flex;gap:18px;flex-wrap:wrap}
.btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:16px 28px;border-radius:999px;background:#fff;border:2px solid #f4d9e1;color:#ed7f9f;font-weight:700;box-shadow:var(--shadow)}
.hero-visual{position:relative;min-height:560px;display:flex;align-items:flex-end;justify-content:flex-end}
.hero-image-wrap{position:relative;width:100%;max-width:840px;margin-left:auto}
.hero-image{width:100%;border-radius:44px;filter:drop-shadow(0 22px 32px rgba(230,185,199,.2));}
.petals{position:absolute;inset:0;pointer-events:none}
.petals span{position:absolute;width:14px;height:34px;border-radius:50% 50% 50% 50% / 75% 75% 25% 25%;background:linear-gradient(180deg, rgba(248,183,205,.95), rgba(255,225,235,.35));transform:rotate(20deg);opacity:.75;filter:blur(.2px)}
.panel-row{display:grid;grid-template-columns:1.8fr .95fr;gap:22px;align-items:stretch;margin-top:8px}
.card{background:rgba(255,255,255,.88);border:1px solid rgba(244,217,225,.88);border-radius:32px;box-shadow:var(--shadow)}
.section-card{padding:22px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.section-title{display:flex;align-items:center;gap:10px;font-size:22px;color:#5c484d;font-weight:700}
.section-title .mini-icon{color:#f08cab}
.section-more{font-weight:700;color:#7b6a70}
.episode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.episode-item{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 10px 18px rgba(188,144,160,.08)}
.episode-thumb{aspect-ratio:1.35/1;overflow:hidden}
.episode-thumb img{width:100%;height:100%;object-fit:cover}
.badge-ep{position:absolute;top:12px;left:12px;padding:8px 12px;border-radius:999px;background:linear-gradient(135deg,#f6a9be,#f08cab);color:#fff;font-size:13px;font-weight:700;box-shadow:0 6px 14px rgba(240,140,171,.22)}
.episode-thumb-wrap{position:relative}
.episode-body{padding:16px 16px 14px}
.episode-title{font-size:18px;line-height:1.5;color:#534045;font-weight:700;margin-bottom:6px}
.episode-desc{font-size:14px;color:#8b757d;min-height:2.8em}
.meta-row{display:flex;align-items:center;justify-content:space-between;margin-top:14px;color:#a08b92;font-size:14px}
.rin-card{display:grid;grid-template-columns:1.3fr 1fr;gap:8px;align-items:center;padding:24px}
.rin-copy h3{margin:0 0 12px;font-size:20px;color:#564247}
.rin-copy p{margin:0 0 10px;font-size:15px;color:#7d6a71}
.rin-image{display:flex;align-items:flex-end;justify-content:center}
.rin-image img{max-height:300px;object-fit:contain}
.soft-link{display:inline-flex;align-items:center;gap:10px;padding:14px 22px;border-radius:999px;border:2px solid var(--line);color:var(--pink-deep);font-weight:700;background:rgba(255,247,250,.88);margin-top:8px}
.section-divider{display:flex;align-items:center;gap:16px;justify-content:center;margin:34px 0 22px;color:#5b484d}
.section-divider::before,.section-divider::after{content:"";height:2px;flex:1;max-width:480px;background:repeating-linear-gradient(90deg,#f2bccb 0 7px, transparent 7px 14px)}
.section-divider span{font-family:serif;font-size:42px;color:#5a444a}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.category-item{display:grid;grid-template-columns:1fr 130px;align-items:center;min-height:148px;padding:22px;border-radius:24px;border:1px solid var(--line);background:rgba(255,255,255,.82);box-shadow:0 10px 18px rgba(188,144,160,.08)}
.category-item h3{margin:10px 0 6px;font-size:18px;color:#58464a}
.category-item p{margin:0;font-size:14px;color:#8b767d}
.category-icon{font-size:32px;color:#f08cab}
.category-image{height:100%;display:flex;align-items:flex-end;justify-content:flex-end}
.category-image img{width:100%;height:100%;object-fit:cover;border-radius:18px}
.newsletter{margin-top:24px;padding:26px 28px;display:grid;grid-template-columns:1.25fr 1.1fr 210px;gap:24px;align-items:center}
.newsletter-head{display:flex;gap:18px;align-items:flex-start}
.newsletter-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#f7a9be,#ef7d9e);color:#fff;font-size:32px;box-shadow:0 14px 24px rgba(239,124,157,.24)}
.newsletter h3{margin:0 0 8px;color:#ef7e9e;font-size:30px;font-family:serif}
.newsletter p{margin:0;color:#7c666d}
.newsletter-form input{width:100%;height:58px;padding:0 20px;border-radius:999px;border:1px solid var(--line);background:#fff;color:#7a646c;font-size:16px;margin-bottom:14px}
.newsletter-form button{width:100%;height:58px;border:0;border-radius:999px;background:linear-gradient(135deg,#f59bb2,#ef7c9d);color:#fff;font-weight:800;font-size:18px;box-shadow:0 16px 30px rgba(239,124,157,.24)}
.newsletter-image img{border-radius:18px}
.site-footer{margin-top:34px;border-top:1px solid rgba(244,217,225,.88);padding:38px 0 16px;background:rgba(255,255,255,.55)}
.footer-grid{display:grid;grid-template-columns:1.15fr .9fr .9fr .9fr .75fr;gap:28px}
.footer-brand .brand-title{font-size:46px}
.footer-brand p,.footer-col a{color:#7d6970;font-size:15px}
.footer-col h4{margin:0 0 16px;color:#ef7e9e;font-size:18px}
.footer-links{display:grid;gap:10px}
.footer-sns{display:flex;gap:14px;margin-top:12px}
.footer-sns a{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:#fff;color:#645055;font-size:22px;box-shadow:var(--shadow)}
.copyright{text-align:center;color:#8c787f;font-size:14px;border-top:1px solid rgba(244,217,225,.7);margin-top:26px;padding-top:12px}
.to-top{position:fixed;right:22px;bottom:22px;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#f59fb5,#ef7c9d);color:#fff;box-shadow:0 16px 26px rgba(239,124,157,.3);z-index:22}
.content-page{padding:40px 0}
.entry-card{background:#fff;border:1px solid var(--line);border-radius:32px;box-shadow:var(--shadow);padding:34px}
.entry-card h1,.entry-card h2,.entry-card h3{color:#59464b}
.entry-card .post-thumbnail{margin:0 0 24px}
.entry-card .post-thumbnail img{width:100%;border-radius:24px}
@media (max-width:1200px){
  .header-nav{gap:20px;font-size:15px}
  .brand-title{font-size:34px}
  .hero-grid{grid-template-columns:1fr;gap:8px;min-height:auto}
  .hero-copy{padding-right:0}
  .hero-visual{min-height:auto}
  .panel-row{grid-template-columns:1fr}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .newsletter{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr 1fr}
}
@media (max-width:900px){
  .site-header .container{flex-wrap:wrap;justify-content:center}
  .header-nav{order:3;flex-wrap:wrap;justify-content:center}
  .main-home{padding-top:18px}
  .hero-heading{font-size:clamp(42px,8vw,64px)}
  .hero-lead{font-size:18px}
  .episode-grid{grid-template-columns:1fr}
  .rin-card{grid-template-columns:1fr}
  .category-grid{grid-template-columns:1fr}
  .category-item{grid-template-columns:1fr 120px}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  :root{--container:min(100% - 28px, 100% - 28px)}
  .brand{width:100%;justify-content:center}
  .brand-title{font-size:28px}
  .brand-sub{font-size:12px;text-align:center}
  .header-actions{width:100%;justify-content:center}
  .hero{padding-top:8px}
  .hero-actions{flex-direction:column}
  .section-card,.newsletter,.entry-card{padding:18px}
  .section-divider span{font-size:32px}
  .category-item{grid-template-columns:1fr 96px;min-height:132px}
  .footer-grid{grid-template-columns:1fr}
}
