@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

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

:root {
  --bg:         #f8f6f2;
  --bg2:        #ffffff;
  --surface:    #f2ede6;
  --text:       #1e1a17;
  --text2:      #6b5e54;
  --text3:      #a8998e;
  --gold:       #b8955a;
  --gold-light: #e8d9c0;
  --dark:       #201c18;
  --border:     #e4ddd4;
  --serif: 'Noto Serif JP', 'Georgia', 'Yu Mincho', serif;
  --sans:  'Noto Sans JP', 'Helvetica Neue', 'Hiragino Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  font-family: var(--sans);
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

a { color: inherit; text-decoration: none; }

body.locked { overflow: hidden; }

/* ==============================
   NAV
   ============================== */
.site-nav {
  background: var(--dark);
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-logo {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: #e0d4c4;
  letter-spacing: .05em;
  white-space: nowrap;
}

/* indexページはheroタイトルがあるのでnav-logoを非表示 */
body[data-page="index"] .nav-logo { display: none; }

.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 600;
  color: #8a7a6e;
  letter-spacing: .09em;
  transition: color .15s;
}

.nav-links a:hover { color: #e0d4c4; }

.nav-cta {
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 4px;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: opacity .15s;
}

.nav-cta:hover { opacity: .88; }

/* ==============================
   HERO
   ============================== */
.hero {
  background: var(--dark);
  border-bottom: 1px solid #3a3028;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 52px 32px 48px;
}

.hero-eye {
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 14px;
  font-family: var(--sans);
}

.hero-title {
  font-family: var(--sans);
  font-size: 30px;
  color: #ede5db;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 12px;
  color: #7a6a5e;
  line-height: 1.95;
  max-width: 500px;
}

/* ==============================
   NOTICE BAR
   ============================== */
.notice {
  background: #fdf8f2;
  border-top: 1px solid #e8d9c0;
  border-bottom: 1px solid #e8d9c0;
}

.notice-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 32px;
  font-size: 11px;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-badge {
  background: var(--gold);
  color: var(--dark);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 2px;
  letter-spacing: .09em;
  flex-shrink: 0;
}

/* ==============================
   MAIN WRAP
   ============================== */
.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 32px;
  padding: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.sec-label {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--text3);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-family: var(--sans);
}

/* ==============================
   ARTICLE CARDS (LISTING)
   ============================== */
.a-card {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .18s, box-shadow .18s;
  box-shadow: 0 1px 4px rgba(32,28,24,.05);
}

.a-card:hover {
  border-color: #c4b09a;
  box-shadow: 0 3px 16px rgba(32,28,24,.09);
}

.a-card.feat {
  background: #fdf6e8;
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(184,149,90,.12);
}

.a-card.feat .a-cat {
  background: rgba(184,149,90,.18);
  color: #8a6a30;
}

.a-card.feat .a-pin {
  background: rgba(184,149,90,.22);
  color: #8a6a30;
}

.a-card.feat .a-date { color: var(--text3); }

.a-card.feat .a-title {
  color: var(--text);
  font-size: 16px;
}

.a-card.feat .a-title:hover { color: var(--gold); }

.a-card.feat .a-ex { color: var(--text2); }

.a-card.feat .a-foot { border-top-color: #e8d9c0; }

.a-card.feat .a-more { color: #9a7540; }

.a-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.a-cat {
  font-size: 10px;
  letter-spacing: .09em;
  color: var(--gold);
  background: #f5ede0;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.a-date {
  font-size: 11px;
  color: var(--text3);
  margin-left: auto;
  white-space: nowrap;
  font-family: var(--sans);
}

.a-pin {
  font-size: 9px;
  color: var(--dark);
  background: var(--gold-light);
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: .05em;
}

.a-title {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  line-height: 1.65;
  font-weight: 700;
  display: block;
  transition: color .15s;
}

.a-card.feat .a-title { font-size: 16px; }
.a-title:hover { color: var(--gold); }

.a-ex {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.85;
}

.a-foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 0.5px solid var(--border);
}

.a-more {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .06em;
}

.a-more::after { content: ' →'; opacity: .7; }
.a-more:hover { opacity: .75; }

/* ==============================
   SIDEBAR
   ============================== */
.sidebar { display: flex; flex-direction: column; gap: 18px; }

/* Profile card */
.s-prof {
  background: var(--dark);
  border-radius: 10px;
  padding: 22px 18px;
  text-align: center;
}

.s-ini {
  width: 110px; height: 78px;
  border-radius: 8px;
  background: #3a2e28;
  border: 2px solid var(--gold);
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 20px;
  color: #e8d9c0;
  overflow: hidden;
}

.s-prof-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
}

.s-pname {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: #ede5db;
  margin-bottom: 6px;
  letter-spacing: .03em;
}

.s-pbio {
  font-size: 11px;
  color: #7a6a60;
  line-height: 1.8;
  margin-bottom: 15px;
}

.s-plink {
  display: block;
  font-size: 11px;
  color: var(--gold);
  border-top: 0.5px solid #3a3028;
  padding-top: 12px;
  letter-spacing: .06em;
  transition: opacity .15s;
}

.s-plink::after { content: ' →'; }
.s-plink:hover { opacity: .75; }

/* CTA */
.s-cta {
  background: var(--dark);
  border-radius: 10px;
  padding: 18px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s-cta-eye {
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 6px;
  font-family: var(--sans);
}

.s-cta-body {
  font-family: var(--sans);
  font-size: 13px;
  color: #d4cbc4;
  line-height: 1.75;
  margin-bottom: 4px;
}

.s-cta-btn {
  display: block;
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  padding: 11px 10px;
  border-radius: 4px;
  letter-spacing: .06em;
  line-height: 1.4;
  transition: opacity .15s;
}

.s-cta-btn:hover { opacity: .88; }

.s-cta-btn-sub {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  opacity: .85;
}

.s-cta-btn-sub:hover { opacity: 1; background: rgba(184,149,90,.1); }

/* Widget box */
.s-box {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 17px 15px;
}

.s-ttl {
  font-size: 10px;
  letter-spacing: .17em;
  color: var(--text3);
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 0.5px solid var(--border);
  font-family: var(--sans);
}

/* Popular */
.pop-row {
  display: flex;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 0.5px solid #f0e8de;
  align-items: flex-start;
}

.pop-row:last-child { border-bottom: none; padding-bottom: 0; }

.pop-n {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  min-width: 17px;
  padding-top: 1px;
  flex-shrink: 0;
}

.pop-t {
  font-size: 12px;
  color: var(--text);
  line-height: 1.55;
  transition: color .15s;
}

.pop-t:hover { color: var(--gold); }

/* Category / Archive rows */
.cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 0.5px solid #f0e8de;
}

.cat-row:last-child { border-bottom: none; }
.cat-name { font-size: 12px; color: var(--text); transition: color .15s; }
.cat-row:hover .cat-name { color: var(--gold); }

.cat-num {
  font-size: 10px;
  color: var(--text3);
  background: var(--surface);
  border-radius: 20px;
  padding: 2px 9px;
}

/* Ranking */
.rank-link {
  display: block;
  font-size: 12px;
  color: var(--gold);
  padding: 8px 0;
  letter-spacing: .04em;
  transition: opacity .15s;
}

.rank-link:hover { opacity: .75; }
.rank-link::before { content: '▶ '; font-size: 10px; opacity: .6; }

/* ==============================
   BREADCRUMB
   ============================== */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem;
  padding: 0 0 1.2rem;
  font-size: 11px; color: var(--text3);
  font-family: var(--sans);
  border-bottom: 0.5px solid var(--border); margin-bottom: 20px;
}

.breadcrumb-link { color: var(--text3); transition: color .15s; }
.breadcrumb-link:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text2); }

/* ==============================
   ARTICLE SINGLE PAGE
   ============================== */
.art-single {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 28px 26px 36px;
}

.art-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid var(--border);
}

.art-h1 {
  font-family: var(--sans);
  font-size: 24px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 700;
  margin-top: 12px;
}

/* Article body */
.art-body {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text);
  font-weight: 400;
}
.art-body p { margin-bottom: 1.5rem; }
.art-body h2 {
  font-family: var(--sans);
  font-size: 19px; font-weight: 700;
  color: var(--text); margin: 2.2rem 0 0.9rem;
  padding: 0.6rem 0.9rem;
  background: var(--surface);
  border-left: 3px solid var(--gold);
}
.art-body h3 {
  font-family: var(--sans);
  font-size: 16px; font-weight: 700; color: var(--text);
  margin: 1.8rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.art-body ul, .art-body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.art-body li { margin-bottom: 0.5rem; line-height: 1.8; }
/* 強調: ゴールド下線ハイライト (smblog.jp スタイル) */
.art-body strong {
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(transparent 58%, rgba(184,149,90,0.28) 58%);
}

.art-back {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 0.5px solid var(--border);
  font-size: 12px;
}
.back-link { color: var(--text3); transition: color .15s; }
.back-link:hover { color: var(--gold); }

/* 記事底部 ランキング導線 */
.art-ranking-bar {
  margin-top: 24px;
  padding: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.art-ranking-bar p {
  font-size: 11px;
  color: var(--text3);
  line-height: 1.5;
}

.art-ranking-link {
  display: inline;
  font-size: 11px;
  font-weight: 400;
  color: var(--text3);
  background: none;
  padding: 0;
  border-radius: 0;
  letter-spacing: .03em;
  transition: color .15s;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.art-ranking-link:hover { color: var(--gold); opacity: 1; }

/* ==============================
   COMMENT SECTION
   ============================== */
.comment-section {
  margin-top: 20px;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 24px 26px;
}

.comment-section-title {
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  color: var(--text);
  letter-spacing: .08em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--border);
}

.comment-list { margin-bottom: 24px; }

.comment-item {
  padding: 12px 0;
  border-bottom: 0.5px solid var(--border);
}
.comment-item:last-child { border-bottom: none; }

.comment-meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.comment-author { font-size: 12px; font-weight: 700; color: var(--text); }
.comment-date { font-size: 11px; color: var(--text3); }
.comment-text { font-size: 13px; color: var(--text2); line-height: 1.8; }
.comment-empty { font-size: 12px; color: var(--text3); padding: 8px 0; }

.comment-form-wrap {
  background: var(--surface);
  border-radius: 6px;
  padding: 18px;
  border-top: 2px solid var(--gold);
}
.comment-form-title {
  font-size: 12px; font-weight: 700; color: var(--text);
  margin-bottom: 4px; letter-spacing: .05em;
}
.comment-form-note { font-size: 11px; color: var(--text3); margin-bottom: 14px; }

.btn-comment-submit {
  display: inline-block; padding: 9px 24px;
  background: var(--gold); color: var(--dark); border: none;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .09em; cursor: pointer; border-radius: 4px;
  transition: opacity .15s;
}
.btn-comment-submit:hover { opacity: .85; }
.btn-comment-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ==============================
   FORM (contact page)
   ============================== */
.contact-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px;
}

.contact-hero-label {
  font-size: 10px; letter-spacing: .22em; color: var(--gold);
  margin-bottom: 10px; font-family: var(--sans);
}
.contact-hero-title {
  font-family: var(--sans);
  font-size: 22px; color: var(--text);
  font-weight: 700; margin-bottom: 8px;
}
.contact-lead {
  font-size: 12px; color: var(--text2); line-height: 1.9;
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 0.5px solid var(--border);
}

.contact-section { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 0.5px solid var(--border); }
.contact-section:last-child { border-bottom: none; }
.contact-section-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: var(--text); margin-bottom: 14px;
}
.section-label {
  font-size: 9px; font-family: var(--sans); font-weight: 700;
  letter-spacing: .15em; color: var(--dark);
  background: var(--gold); padding: 3px 8px;
  border-radius: 2px; flex-shrink: 0;
}
.contact-section-lead { font-size: 12px; color: var(--text2); line-height: 1.85; margin-bottom: 14px; }

.criteria-list { list-style: none; padding: 0; }
.criteria-list li {
  padding: 8px 0 8px 14px; position: relative;
  font-size: 13px; color: var(--text2); line-height: 1.7;
  border-bottom: 0.5px solid var(--border);
}
.criteria-list li:last-child { border-bottom: none; }
.criteria-list li::before { content: '–'; position: absolute; left: 0; color: var(--gold); }

.notice-list { list-style: none; padding: 0; }
.notice-list li {
  padding: 8px 0 8px 14px; position: relative;
  font-size: 13px; color: var(--text2); line-height: 1.8;
  border-bottom: 0.5px solid var(--border);
}
.notice-list li:last-child { border-bottom: none; }
.notice-list li::before { content: '!'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.notice-list strong { color: var(--text); }

.qa-list { display: flex; flex-direction: column; }
.qa-item { padding: 14px 0; border-bottom: 0.5px solid var(--border); }
.qa-item:last-child { border-bottom: none; }
.qa-q { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.qa-a { font-size: 12px; color: var(--text2); line-height: 1.85; padding-left: 12px; border-left: 2px solid var(--gold-light); }

.contact-form-section { border-bottom: none; }
.contact-form-wrap { margin-top: 10px; }

.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 11px; color: var(--text2);
  margin-bottom: 6px; letter-spacing: .05em;
}
.required { font-size: 9px; color: var(--gold); margin-left: 6px; letter-spacing: .05em; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 10px 12px;
  border: 0.5px solid var(--border); border-radius: 4px;
  background: var(--bg2); color: var(--text);
  font-family: var(--sans); font-size: 13px;
  transition: border-color .15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--gold);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-submit-wrap { margin-top: 20px; }
.btn-submit {
  display: block; width: 100%; padding: 13px;
  background: var(--gold); color: var(--dark); border: none;
  font-family: var(--sans); font-weight: 700; font-size: 13px;
  letter-spacing: .1em; cursor: pointer; border-radius: 4px;
  transition: opacity .15s;
}
.btn-submit:hover { opacity: .85; }
.form-policy { font-size: 10px; color: var(--text3); margin-top: 10px; text-align: center; }
.form-sent-msg {
  display: none; text-align: center; padding: 20px;
  color: var(--gold); font-size: 13px; letter-spacing: .05em;
}

/* ==============================
   AGE MODAL
   ============================== */
.age-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(20,16,12,.92);
  display: flex; align-items: center; justify-content: center;
}

.age-modal-box {
  background: var(--dark);
  border: 0.5px solid #3a3028;
  border-radius: 12px;
  padding: 36px 32px;
  max-width: 380px; width: 90%;
  text-align: center;
}

.age-modal-site-title {
  font-family: var(--sans);
  font-size: 13px; color: #a08878; letter-spacing: .1em;
  margin-bottom: 16px;
}

.age-modal-divider {
  width: 32px; height: 1px; background: var(--gold);
  margin: 0 auto 20px;
}



.age-modal-label {
  font-size: 9px; letter-spacing: .28em; color: var(--gold);
  margin-bottom: 14px; font-family: var(--sans);
}

.age-modal-message {
  font-size: 14px; color: #d0c8be; line-height: 1.75;
  margin-bottom: 24px; font-family: var(--serif);
}

.age-modal-buttons {
  display: flex; gap: 10px; justify-content: center; margin-bottom: 14px;
}

.btn.btn-yes {
  padding: 10px 28px; border: none; cursor: pointer;
  background: var(--gold); color: var(--dark);
  border-radius: 4px; font-size: 13px; font-weight: 700;
  letter-spacing: .08em; font-family: var(--sans);
  transition: opacity .15s;
}
.btn.btn-yes:hover { opacity: .85; }

.btn.btn-no {
  padding: 10px 28px; border: 0.5px solid #4a3e38; cursor: pointer;
  background: transparent; color: #6a5a52;
  border-radius: 4px; font-size: 13px;
  font-family: var(--sans); transition: color .15s;
}
.btn.btn-no:hover { color: #a08878; }

.age-modal-note {
  font-size: 10px; color: #4a3e38; line-height: 1.7;
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: var(--dark);
  padding: 30px 32px;
  text-align: center;
  border-top: 1px solid #3a3028;
  margin-top: 4px;
}

.f-logo {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px; color: #8a7a6e;
  letter-spacing: .05em; margin-bottom: 10px;
}

.f-nav {
  display: flex; justify-content: center;
  gap: 20px; margin-bottom: 14px; flex-wrap: wrap;
}

.f-nav a {
  font-size: 11px; color: #5a4a42;
  letter-spacing: .07em; transition: color .15s;
}
.f-nav a:hover { color: #a08878; }

.f-copy { font-size: 10px; color: #3a2e28; letter-spacing: .05em; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 720px) {
  .site-nav { padding: 0; }
  .nav-inner { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding: 36px 16px 32px; }
  .hero-title { font-size: 22px; }
  .notice { padding: 9px 16px; }
  .wrap {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 24px;
  }
  .sidebar { order: -1; }
  .contact-wrap { padding: 20px 16px; }
  .site-footer { padding: 24px 16px; }
}
