/* ─── VARIABLES ─── */
:root {
  --white:   #ffffff;
  --bg:      #f7f9fc;
  --bg2:     #eef2f8;
  --primary: #0A2540;
  --accent:  #0077CC;
  --accent2: #00A878;
  --border:  #dde4ee;
  --text:    #1a2a3a;
  --muted:   #3d4f63;
  --shadow-sm: 0 2px 8px rgba(10,37,64,.06);
  --shadow-md: 0 6px 24px rgba(10,37,64,.10);
  --shadow-lg: 0 16px 48px rgba(10,37,64,.13);
  --radius:  14px;
}

/* ─── RESET ─── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.75;
}

/* ─── HEADER ─── */
header {
  position: sticky; top:0; z-index:200;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width:1180px; margin:0 auto;
  padding:0 32px; height:66px;
  display:flex; align-items:center;
  justify-content:space-between; gap:20px;
}
.logo img { width:200px; height:24px; display:block; image-rendering:crisp-edges; }
nav { display:flex; align-items:center; gap:4px; }
nav a {
  color:var(--muted); text-decoration:none;
  font-size:13px; font-weight:400;
  padding:6px 14px; border-radius:8px;
  letter-spacing:.4px;
  transition:color .2s, background .2s;
}
nav a:hover  { color:var(--accent); background:#e8f2fb; }
nav a.active { color:var(--accent); background:#deeefb; font-weight:500; }

/* ─── PAGE HERO ─── */
.page-hero {
  background: linear-gradient(160deg,#f0f7ff 0%,#e6f0fb 55%,#f0faf5 100%);
  padding:64px 32px 56px; text-align:center;
  position:relative; overflow:hidden;
}
.page-hero::after {
  content:''; position:absolute;
  top:-100px; left:50%; transform:translateX(-50%);
  width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle,rgba(0,119,204,.07) 0%,transparent 65%);
  pointer-events:none;
}
.eyebrow {
  display:inline-block;
  font-size:11px; font-weight:700;
  letter-spacing:3px; text-transform:uppercase;
  color:var(--accent); margin-bottom:14px;
}
.page-hero h1 {
  font-family:'Montserrat','Noto Sans JP',sans-serif;
  font-size:clamp(28px,5vw,52px); font-weight:900;
  color:var(--primary); letter-spacing:-.5px;
  line-height:1.15; margin-bottom:14px;
}
.page-hero p {
  font-size:15px; color:var(--muted);
  max-width:540px; margin:0 auto;
}

/* ─── CONTAINER ─── */
.container { max-width:1100px; margin:0 auto; padding:0 32px; }

/* ─── SECTION ─── */
.section { padding:72px 0; }
.section + .section { border-top:1px solid var(--border); }

.sec-label {
  display:inline-flex; align-items:center; gap:8px;
  font-size:11px; font-weight:700;
  letter-spacing:3px; text-transform:uppercase;
  color:var(--accent); margin-bottom:12px;
}
.sec-label .dot {
  width:7px; height:7px; border-radius:50%;
  background:currentColor; flex-shrink:0;
}
.sec-title {
  font-family:'Montserrat','Noto Sans JP',sans-serif;
  font-size:clamp(20px,3.5vw,32px); font-weight:800;
  color:var(--primary); letter-spacing:-.3px;
  line-height:1.25; margin-bottom:14px;
}
.sec-desc {
  font-size:14.5px; color:var(--muted);
  max-width:700px; line-height:1.9;
  margin-bottom:40px;
}

/* ─── PHOTO FRAME ─── */
.photo-frame {
  width:100%; border-radius:var(--radius);
  overflow:hidden; border:1px solid var(--border);
  box-shadow:var(--shadow-md); margin-bottom:40px;
  background:var(--bg2); aspect-ratio:16/6;
}
.photo-frame img {
  width:100%; height:100%;
  object-fit:cover; display:block;
  transition:transform .5s ease;
}
.photo-frame:hover img { transform:scale(1.02); }

/* ─── PRICE CARDS ─── */
.price-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px; margin-bottom:24px;
}
.price-card {
  background:var(--white);
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  padding:30px 26px;
  position:relative;
  transition:box-shadow .25s, border-color .25s, transform .25s;
}
.price-card:hover {
  box-shadow:var(--shadow-lg);
  border-color:#b8d4ef; transform:translateY(-4px);
}
.price-card.featured {
  border-color:var(--accent);
  box-shadow:0 8px 32px rgba(0,119,204,.12);
}
.featured-ribbon {
  position:absolute; top:-1px; right:20px;
  background:var(--accent); color:#fff;
  font-size:10px; font-weight:700;
  letter-spacing:2px; text-transform:uppercase;
  padding:5px 12px 6px; border-radius:0 0 8px 8px;
}
.card-tag {
  font-size:10px; font-weight:700;
  letter-spacing:2.5px; text-transform:uppercase;
  color:var(--accent); margin-bottom:6px;
}
.card-name {
  font-family:'Montserrat',sans-serif;
  font-size:22px; font-weight:800;
  color:var(--primary); margin-bottom:12px;
}
.card-divider { height:1px; background:var(--border); margin:14px 0; }
.card-desc {
  font-size:13px; color:var(--muted);
  line-height:1.85; margin-bottom:20px;
}
.card-desc a { color:var(--accent); text-decoration:none; }
.card-desc a:hover { text-decoration:underline; }
.price-rows { display:flex; flex-direction:column; gap:10px; }
.price-row {
  display:flex; align-items:center;
  justify-content:space-between;
  padding:9px 13px; background:var(--bg);
  border-radius:8px;
}
.price-row-label { font-size:12px; color:var(--muted); }
.price-row-val {
  font-family:'Montserrat',sans-serif;
  font-size:17px; font-weight:700;
  color:var(--primary);
}
.price-row-val sup { font-size:11px; font-weight:400; }

/* ─── LONG TERM ─── */
.lt-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px; margin-bottom:24px;
}
.lt-card {
  background:var(--white);
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  padding:30px 18px; text-align:center;
  position:relative;
  transition:box-shadow .25s, border-color .25s, transform .25s;
}
.lt-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); }
.lt-card.best {
  border-color:var(--accent2);
  box-shadow:0 8px 32px rgba(0,168,120,.12);
}
.lt-best-badge {
  position:absolute; top:-1px; left:50%;
  transform:translateX(-50%);
  background:var(--accent2); color:#fff;
  font-size:10px; font-weight:700;
  letter-spacing:2px; text-transform:uppercase;
  padding:5px 14px 6px; border-radius:0 0 8px 8px;
  white-space:nowrap;
}
.lt-period {
  font-size:11px; font-weight:700;
  letter-spacing:3px; text-transform:uppercase;
  color:var(--muted); margin-bottom:14px;
}
.lt-total {
  font-family:'Montserrat',sans-serif;
  font-size:28px; font-weight:800;
  color:var(--primary); line-height:1;
  margin-bottom:4px;
}
.lt-total small { font-size:13px; font-weight:400; color:var(--muted); }
.lt-per-year { font-size:12px; color:var(--muted); margin-bottom:8px; }
.lt-monthly {
  display:inline-block; font-size:13px;
  font-weight:600; color:var(--accent2);
  background:#e8f7f1; border-radius:20px;
  padding:4px 14px; margin-bottom:8px;
}
.lt-note { font-size:11px; color:#aab; }

/* ─── INFO BOX ─── */
.info-box {
  background:#f0f7ff;
  border:1px solid #c8dff5;
  border-left:4px solid var(--accent);
  border-radius:10px;
  padding:16px 20px;
  font-size:13.5px; color:#3a5070;
  line-height:1.9; margin-bottom:20px;
}
.info-box.green {
  background:#f0faf5;
  border-color:#b8dece;
  border-left-color:var(--accent2);
  color:#2a4a3a;
}
.info-box strong { color:var(--primary); font-weight:600; }

/* ─── OPTION TAGS ─── */
.option-wrap { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.opt-tag {
  font-size:12px; color:var(--accent);
  background:#e6f2fb; border:1px solid #c0daf2;
  border-radius:20px; padding:5px 14px; font-weight:500;
}

/* ─── CTA BUTTONS ─── */
.cta-row { display:flex; gap:14px; flex-wrap:wrap; }
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 24px; border-radius:10px;
  font-size:14px; font-weight:600;
  text-decoration:none;
  transition:all .22s; cursor:pointer;
  border:none; font-family:'Noto Sans JP',sans-serif;
}
.btn-primary {
  background:var(--accent); color:#fff;
  box-shadow:0 4px 14px rgba(0,119,204,.22);
}
.btn-primary:hover {
  background:#005faa;
  box-shadow:0 6px 20px rgba(0,119,204,.35);
  transform:translateY(-2px);
}
.btn-primary.green {
  background:var(--accent2);
  box-shadow:0 4px 14px rgba(0,168,120,.22);
}
.btn-primary.green:hover {
  background:#00886a;
  box-shadow:0 6px 20px rgba(0,168,120,.35);
}
.btn-outline {
  background:var(--white); color:var(--primary);
  border:1.5px solid var(--border);
}
.btn-outline:hover {
  border-color:var(--accent); color:var(--accent);
  transform:translateY(-2px);
}
.btn svg { width:16px; height:16px; flex-shrink:0; }

/* ─── TABLE ─── */
.content-table {
  width:100%; border-collapse:collapse;
  font-size:14px; margin-bottom:32px;
}
.content-table th, .content-table td {
  border:1px solid var(--border);
  padding:12px 16px; text-align:left;
  vertical-align:top;
}
.content-table th {
  background:var(--bg2); font-weight:600;
  color:var(--primary); white-space:nowrap;
}
.content-table td { color:var(--text); line-height:1.8; }
.content-table tr:hover td { background:#f8fbff; }

/* ─── NEWS LIST ─── */
.news-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:24px;
}
.news-card {
  background:var(--white);
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden; text-decoration:none;
  color:var(--text);
  transition:box-shadow .25s, transform .25s, border-color .25s;
  display:flex; flex-direction:column;
}
.news-card:hover {
  box-shadow:var(--shadow-lg);
  border-color:#b8d4ef; transform:translateY(-4px);
}
.news-thumb {
  width:100%; aspect-ratio:16/7;
  overflow:hidden; background:var(--bg2);
}
.news-thumb img {
  width:100%; height:100%; object-fit:cover;
  transition:transform .4s;
}
.news-card:hover .news-thumb img { transform:scale(1.05); }
.news-body { padding:20px; flex:1; }
.news-date {
  font-size:11px; color:var(--muted);
  letter-spacing:1px; margin-bottom:8px;
}
.news-title {
  font-size:15px; font-weight:700;
  color:var(--primary); line-height:1.5;
  margin-bottom:8px;
}
.news-excerpt { font-size:13px; color:var(--muted); line-height:1.8; }

/* ─── ARTICLE ─── */
.article-header { margin-bottom:40px; }
.article-date {
  font-size:12px; color:var(--muted);
  letter-spacing:1px; margin-bottom:10px;
}
.article-title {
  font-family:'Montserrat','Noto Sans JP',sans-serif;
  font-size:clamp(22px,4vw,38px); font-weight:900;
  color:var(--primary); line-height:1.25; margin-bottom:0;
}
.article-body {
  font-size:15px; line-height:1.9;
  max-width:780px;
}
.article-body p { margin-bottom:20px; }
.article-body img {
  max-width:480px; width:100%; display:block;
  border-radius:12px; margin:24px auto;
  border:1px solid var(--border);
  box-shadow:var(--shadow-sm);
}
.back-link {
  display:inline-flex; align-items:center; gap:6px;
  font-size:13px; color:var(--accent);
  text-decoration:none; margin-bottom:32px;
  transition:gap .2s;
}
.back-link:hover { gap:10px; }

/* ─── CONTACT FORM ─── */
.contact-form { max-width:600px; }
.form-group { margin-bottom:20px; }
.form-label {
  display:block; font-size:13px; font-weight:600;
  color:var(--primary); margin-bottom:6px;
  letter-spacing:.3px;
}
.form-label .req {
  color:var(--accent); font-size:11px; margin-left:4px;
}
.form-input, .form-textarea {
  width:100%;
  background:var(--white);
  border:1.5px solid var(--border);
  border-radius:9px;
  padding:12px 16px;
  font-size:14px; color:var(--text);
  font-family:'Noto Sans JP',sans-serif;
  outline:none;
  transition:border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-textarea:focus {
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(0,119,204,.1);
}
.form-textarea { resize:vertical; min-height:140px; }
.form-note {
  background:#fff8f0; border:1px solid #fde0c0;
  border-left:4px solid #ff8800;
  border-radius:10px; padding:14px 18px;
  font-size:13px; color:#7a5020;
  line-height:1.8; margin-bottom:28px;
}

/* ─── COMPANY TABLE ─── */
.company-table { width:100%; border-collapse:collapse; }
.company-table th, .company-table td {
  border:1px solid var(--border);
  padding:14px 20px; text-align:left;
  font-size:14px; vertical-align:top;
}
.company-table th {
  background:var(--bg2); font-weight:600;
  color:var(--primary); width:30%;
  white-space:nowrap;
}
.company-table td { color:var(--text); line-height:1.9; }
.company-table a { color:var(--accent); text-decoration:none; }
.company-table a:hover { text-decoration:underline; }

/* ─── TANO DETAIL ─── */
.content-set { margin-bottom:56px; }
.content-set h3 {
  font-size:18px; font-weight:700;
  color:var(--primary); margin-bottom:16px;
}
.content-set-img {
  width:100%; border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow-sm); margin-bottom:24px;
  background:var(--bg2); aspect-ratio:16/6;
  overflow:hidden;
}
.content-set-img img {
  width:100%; height:100%; object-fit:cover;
}

/* ─── FOOTER ─── */
footer {
  margin-top:80px;
  background:var(--primary);
  color:#94a3b8;
  padding:52px 32px 36px;
  text-align:center;
}
.footer-logo { margin-bottom:24px; }
.footer-logo img { height:32px; filter:brightness(0) invert(1); opacity:.8; }
.footer-nav {
  display:flex; justify-content:center;
  flex-wrap:wrap; gap:6px 18px;
  margin-bottom:24px;
}
.footer-nav a {
  color:#94a3b8; text-decoration:none;
  font-size:13px; transition:color .2s;
}
.footer-nav a:hover { color:#fff; }
.payment-row {
  display:flex; justify-content:center;
  flex-wrap:wrap; gap:8px; margin-bottom:24px;
}
.pay-badge {
  font-size:11px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.1);
  border-radius:6px; padding:4px 10px;
  color:#94a3b8;
}
.footer-address { font-size:13px; color:#94a3b8; line-height:1.9; margin-bottom:20px; }
.footer-copy { font-size:12px; color:#3a4e68; }

/* ─── RESPONSIVE ─── */
/* ─── ハンバーガーメニュー ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  border-radius: 8px;
  transition: background .2s;
  z-index: 200;
}
.hamburger:hover { background: #e8f2fb; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--primary); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルナビオーバーレイ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(10,37,64,.10);
  z-index: 150;
  padding: 12px 0 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 15px; font-weight: 500;
  color: var(--primary); text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active {
  background: #f0f7ff; color: var(--accent);
}

@media (max-width:768px) {
  .header-inner { padding:0 18px; }
  nav { display:none; }
  .hamburger { display:flex; }
  .page-hero, .container { padding:48px 18px; }
  .container { padding:0 18px; }
  .lt-grid { grid-template-columns:1fr; }
  .price-grid { grid-template-columns:1fr; }
  .cta-row { flex-direction:column; }
  footer { padding:40px 18px 28px; }
}
