/*
Theme Name: Fuji Medical Custom
Theme URI: https://fujimedical.jp
Author: EeeeMO Japan Inc.
Author URI: https://eeeemo.co.jp
Description: ふじメディカル様 新コーポレートサイト用オリジナルテーマ（TOPページ実装版）。プラグイン不要のシンプルなカスタムテーマです。
Version: 0.9.75
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fujimedical
*/

:root{
  --navy:#12384f;
  --navy-deep:#0b2635;
  --teal:#1b7d7d;
  --teal-light:#e6f4f4;
  --accent:#e08a3c;
  --pink:#d97a9a;
  --blue:#3f7fae;
  --bg:#f7f9fa;
  --text:#243238;
  --muted:#66777d;
  --border:#dfe6e8;
}
*{box-sizing:border-box;}
body{
  margin:0;
  font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
}
img{max-width:100%; height:auto;}

/* ---- Header ---- */
.site-header{background:#fff; border-bottom:1px solid var(--border);}
.trust-strip{
  background:var(--navy-deep); color:#fff; font-size:12px;
  display:flex; justify-content:center; gap:24px; padding:6px 10px; flex-wrap:wrap;
}
.trust-strip span{opacity:.9;}
.header-inner{
  max-width:1080px; margin:0 auto; padding:16px 20px;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
}
.logo{font-size:22px; font-weight:800; color:var(--navy); letter-spacing:.02em; text-decoration:none;}
.logo span{color:var(--teal);}
.header-nav{display:flex; gap:22px; font-size:14px; color:var(--navy); font-weight:600; flex-wrap:wrap; list-style:none; margin:0; padding:0;}
.header-nav a{color:var(--navy); text-decoration:none;}
.cta-btn{
  background:var(--accent); color:#fff; padding:10px 20px; border-radius:6px;
  font-weight:700; font-size:14px; text-decoration:none; display:inline-block;
  box-shadow:0 2px 6px rgba(224,138,60,.35);
}

/* ---- Hero ---- */
.hero{
  background:linear-gradient(135deg,var(--navy) 0%,var(--teal) 100%);
  color:#fff; padding:56px 20px; text-align:center;
}
.hero h1{font-size:30px; margin:0 0 14px; font-weight:800;}
.hero p{font-size:15px; opacity:.92; max-width:560px; margin:0 auto 26px;}
.hero-badges{display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:26px;}
.hero-badges .badge{
  background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.4);
  padding:6px 14px; border-radius:999px; font-size:12px;
}
.hero-ctas{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}
.hero-ctas a{padding:13px 26px; border-radius:8px; font-weight:700; font-size:15px; text-decoration:none;}
.hero-ctas .primary{background:var(--accent); color:#fff;}
.hero-ctas .secondary{background:#fff; color:var(--navy);}

.section-block{max-width:1080px; margin:0 auto; padding:50px 20px;}
.section-title{text-align:center; font-size:22px; font-weight:800; color:var(--navy); margin-bottom:8px;}
.section-sub{text-align:center; color:var(--muted); font-size:13px; margin-bottom:32px;}

.strengths-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px;}
.strength-card{background:#fff; border:1px solid var(--border); border-radius:10px; padding:22px; text-align:center;}
.strength-card .icon{font-size:28px; margin-bottom:10px;}
.strength-card .icon img{width:56px; height:56px; display:block; margin:0 auto;}
.strength-card h3{font-size:15px; color:var(--navy); margin:0 0 6px;}
.strength-card p{font-size:12.5px; color:var(--muted); margin:0;}

.strength-banners-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; margin-top:24px;}
.strength-banner-item{border-radius:10px; overflow:hidden; box-shadow:0 2px 10px rgba(18,56,79,.08);}
.strength-banner-item img{display:block; width:100%; height:auto;}
@media (max-width:700px){.strength-banners-grid{grid-template-columns:1fr;}}

/* ---- Gender kit-select (top page) ---- */
.kitselect-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px;}
.kitselect-card{
  border-radius:14px; overflow:hidden; background:#fff;
  box-shadow:0 4px 16px rgba(18,56,79,.08);
}
.kitselect-card .ks-banner{
  position:relative; min-height:150px; padding:20px 22px 0;
  display:flex; align-items:flex-end; justify-content:flex-end; overflow:hidden;
}
.kitselect-card.women .ks-banner{background:linear-gradient(135deg,#f6c3d4,#e8879f);}
.kitselect-card.men .ks-banner{background:linear-gradient(135deg,#b9d6f0,#5a92c4);}
.kitselect-card .ks-label{
  position:absolute; top:18px; left:22px; font-size:22px; font-weight:800; color:#fff;
  letter-spacing:.03em; text-shadow:0 2px 8px rgba(0,0,0,.18);
}
.kitselect-card .ks-photo{
  width:60%; max-width:220px; height:auto; display:block; margin-bottom:-4px;
  border-radius:6px; box-shadow:0 12px 24px rgba(0,0,0,.2); background:#fff;
}
.kitselect-card.women .ks-photo{transform:rotate(-3deg);}
.kitselect-card.men .ks-photo{transform:rotate(3deg);}
.kitselect-card .ks-body{flex:1; padding:20px 24px 22px;}
.kitselect-card .ks-title{font-size:17px; font-weight:800; color:var(--navy); margin-bottom:14px;}
.kitselect-card .ks-btn{
  display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700;
  padding:9px 18px; border-radius:999px; text-decoration:none; color:#fff;
}
.kitselect-card.women .ks-btn{background:#d97a9a;}
.kitselect-card.men .ks-btn{background:#3f7fae;}

/* ---- 3-step flow ---- */
.steps-grid{display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:0; position:relative;}
@media (max-width:700px){ .steps-grid{grid-template-columns:1fr;} }
.step-card{text-align:center; padding:10px 18px; position:relative;}
.step-card .step-num{
  width:52px; height:52px; border-radius:50%; background:var(--navy); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:20px;
  margin:0 auto 14px;
}
.step-card .step-photo{width:120px; height:120px; border-radius:14px; overflow:hidden; margin:0 auto 10px; box-shadow:0 2px 8px rgba(18,56,79,0.15);}
.step-card .step-photo img{width:100%; height:100%; object-fit:cover; display:block;}
.step-card h3{font-size:15px; color:var(--navy); margin:0 0 6px;}
.step-card p{font-size:12px; color:var(--muted); margin:0;}
.step-arrow{display:flex; align-items:center; justify-content:center; color:var(--border); font-size:22px;}
@media (max-width:700px){ .step-arrow{ transform:rotate(90deg); } }

/* ---- Certification / registration info ---- */
.certify-section{background:var(--navy-deep); padding:44px 20px;}
.certify-section .section-title, .certify-section .section-sub{color:#fff;}
.certify-section .section-sub{color:#b9cfd6;}
.certify-lead{
  text-align:center; font-size:14px; color:#dcecec; max-width:640px; margin:-4px auto 30px;
}
.certify-grid{
  max-width:820px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:12px;
}
.certify-item{
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.15); border-radius:10px;
  padding:14px 18px; font-size:12.5px; color:#e4eef0;
}
.certify-item strong{display:block; color:#fff; font-size:13px; margin-bottom:3px;}

/* ---- Popularity ranking (top page) ---- */
.ranking-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px;}
.ranking-card{
  background:#fff; border:1px solid var(--border); border-radius:12px; padding:18px; position:relative;
}
.ranking-card .rank-badge{
  position:absolute; top:-10px; left:14px; background:var(--accent); color:#fff; font-size:11px;
  font-weight:800; padding:4px 10px; border-radius:6px; box-shadow:0 2px 6px rgba(224,138,60,.4);
}
.ranking-card:nth-child(1) .rank-badge{background:#c9a13a;}
.ranking-card .r-items{font-size:11.5px; color:var(--muted); margin:10px 0 4px;}
.ranking-card .r-name{font-size:14px; font-weight:800; color:var(--navy); margin-bottom:10px; min-height:38px;}
.ranking-card .r-price{font-size:19px; font-weight:800; color:var(--text);}
.ranking-card .r-price small{font-size:11px; color:var(--muted); font-weight:400;}

/* ---- Single-item product highlights ---- */
.single-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px;}
.single-card{
  background:#fff; border:1px solid var(--border); border-radius:10px; padding:18px;
  text-align:center;
}
.single-card .s-icon{font-size:26px; margin-bottom:8px;}
.single-card .s-icon img{width:48px; height:48px; display:block; margin:0 auto;}
.single-card .s-name{font-size:14px; font-weight:800; color:var(--navy); margin-bottom:6px; min-height:38px;}
.single-card .s-desc{font-size:11.5px; color:var(--muted); margin-bottom:10px; min-height:32px;}
.single-card .s-price{font-size:18px; font-weight:800; color:var(--text); margin-bottom:12px;}
.single-card .s-price small{font-size:11px; color:var(--muted); font-weight:400;}
.single-card .s-link{
  display:block; text-align:center; border:1.5px solid var(--navy); color:var(--navy);
  padding:8px; border-radius:8px; font-weight:700; font-size:12.5px; text-decoration:none;
}

/* ---- Support band ---- */
.support-section{background:#fff; border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.support-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:24px;}
.support-item{text-align:center; padding:6px 10px;}
.support-item .sp-icon{font-size:30px; margin-bottom:10px;}
.support-item .sp-icon img{width:52px; height:52px; display:block; margin:0 auto;}
.support-item h3{font-size:14.5px; color:var(--navy); margin:0 0 6px;}
.support-item p{font-size:12px; color:var(--muted); margin:0;}

.review-strip{background:var(--teal-light); padding:40px 20px;}
.review-cards{display:flex; gap:16px; overflow-x:auto; max-width:1080px; margin:0 auto;}
.review-card{
  background:#fff; border-radius:10px; padding:16px 18px; min-width:230px;
  border:1px solid var(--border); font-size:12.5px;
}
.review-card .stars{color:#e0a83c; font-size:13px; margin-bottom:6px;}
.review-card .name{color:var(--muted); font-size:11px; margin-top:8px;}
.dummy-tag{
  display:inline-block; background:#fdecec; color:#b3413b; font-size:10px;
  padding:2px 8px; border-radius:4px; margin-bottom:6px; font-weight:700;
}

.fakesite-alert{
  background:#fff7e8; border:1px solid #f0d9a8; border-radius:8px; padding:16px 20px;
  max-width:1080px; margin:0 auto 40px; font-size:13px; color:#7a5a15;
}

.site-footer{background:var(--navy-deep); color:#cfe0e0; padding:30px 20px; text-align:center; font-size:12px;}
.site-footer a{color:#cfe0e0;}

.note-box{
  max-width:1080px; margin:20px auto 0; background:#fffceb; border:1px solid #ecdd9a;
  border-radius:8px; padding:14px 18px; font-size:12px; color:#6b5a10;
}

/* ---- Real photo gallery (reused from Rakuten store assets) ---- */
.gallery-section{background:#fff; padding:50px 20px 60px; border-top:1px solid var(--border);}
.gallery-section .section-title{margin-bottom:8px;}
.gallery-note{max-width:760px; margin:0 auto 32px; text-align:center; font-size:12.5px; color:var(--muted); background:var(--teal-light); border:1px solid var(--border); border-radius:8px; padding:12px 16px;}
.gallery-grid{max-width:920px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:24px;}
.gallery-item{background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden; box-shadow:0 2px 10px rgba(18,56,79,0.06);}
.gallery-item img{display:block; width:100%; height:auto;}
.gallery-caption{padding:12px 16px; font-size:12.5px; color:var(--navy); font-weight:700; text-align:center; border-top:1px solid var(--border);}
@media (max-width:720px){
  .gallery-grid{grid-template-columns:1fr;}
}

