/*
Theme Name: Site Original
Description: 一般的な仮素材で制作するオリジナルテーマ。第8段階：白背景ヘッダー。
Version: 1.7.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: site-original
*/

* { box-sizing: border-box; }
html { overflow-x: clip; }
:root {
  --ink: #332d30;
  --muted: #756c70;
  --pink: #a74e72;
  --gold: #b79a65;
  --gold-light: #eadfc9;
  --line: #e9e3dc;
}
body {
  position: relative;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: #fff;
  font-family: "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 23%, #d8bf8f73 0 1px, transparent 2px),
    radial-gradient(circle at 92% 16%, #c9b17e66 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 86% 72%, #d7c39a59 0 1px, transparent 2px),
    radial-gradient(circle at 14% 83%, #d4bd8f4d 0 1.5px, transparent 2.5px);
}
body::after {
  position: fixed;
  top: 190px;
  right: 4vw;
  z-index: -1;
  content: "✦  ·  ✧";
  color: #c7aa7447;
  font-size: 22px;
  letter-spacing: .55em;
  pointer-events: none;
}
button, input { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible { outline: 3px solid #62358b; outline-offset: 5px; }
.skip-link {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 99999;
  padding: 8px 14px;
  background: #fff;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.preview-note {
  padding: 10px 16px;
  color: #756655;
  border-bottom: 1px solid #efe9df;
  background: #fdfbf7;
  text-align: center;
  font-size: 12px;
  letter-spacing: .04em;
}
.entry-layout {
  min-height: calc(100svh - 108px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background:
    linear-gradient(#ffffff24, #ffffff24),
    url("assets/images/age-entry-four-women.webp") center center / cover no-repeat,
    #fff;
}
.entry-card {
  width: min(100%, 620px);
  padding: 44px 42px 36px;
  border: 1px solid #e9dfcf;
  border-radius: 24px;
  background: #fffffff2;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: 0 22px 70px #806f4d14;
  text-align: center;
}
.brand-mark {
  margin: 0;
  color: #6c5844;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration: none;
}
.age-badge {
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  width: 84px;
  height: 84px;
  margin: 30px auto 24px;
  border: 1px solid #d9c39a;
  border-radius: 50%;
  color: #9c6c46;
  background: linear-gradient(145deg, #fff, #f8f2e8);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.age-badge span { font-size: 20px; }
.eyebrow {
  margin: 0 0 12px;
  color: #9a7848;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
.entry-card h1, .home-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(24px, 5.5vw, 34px);
  line-height: 1.5;
}
.entry-copy { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.entry-actions { display: grid; gap: 12px; }
.button {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.button-primary { color: #fff; background: linear-gradient(100deg, #8d6b42, #c1a16c); }
.button-primary:hover { background: linear-gradient(100deg, #765634, #a98a59); }
.button-primary span { margin-left: 12px; }
.button-secondary { color: #665760; border-color: var(--line); background: #fff; }
.button-secondary:hover { background: #fcf4f7; }
.entry-note { margin: 22px 0 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.text-link { color: var(--pink); font-size: 13px; text-underline-offset: 4px; }
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(1400px, calc(100% - 60px));
  min-height: 150px;
  margin: auto;
  padding: 20px 0 14px;
  background: #fff;
}
.header-left { justify-self: start; }
.menu-toggle {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 70px;
  padding: 12px 6px;
  border: 0;
  color: #252126;
  background: transparent;
  cursor: pointer;
}
.menu-bars { display: grid; gap: 13px; width: 64px; }
.menu-bars i { display: block; height: 1px; background: #272127; transition: transform .2s ease; }
.menu-button-label { font-size: 9px; letter-spacing: .18em; }
.menu-toggle[aria-expanded="true"] .menu-bars i:first-child { transform: translateY(7px) rotate(15deg); }
.menu-toggle[aria-expanded="true"] .menu-bars i:last-child { transform: translateY(-7px) rotate(-15deg); }
.site-header .header-brand {
  display: grid;
  justify-items: center;
  color: #332f32;
  line-height: 1;
}
.header-logo-main {
  font-family: "Arial", "Yu Gothic", sans-serif;
  font-size: clamp(25px, 2.4vw, 39px);
  font-weight: 300;
  letter-spacing: .09em;
}
.header-logo-sub { margin-top: 10px; font-size: 12px; font-weight: 400; letter-spacing: .38em; }
.header-contact {
  justify-self: end;
  display: grid;
  justify-items: end;
  line-height: 1.35;
}
.header-contact p { margin: 0; color: #171518; }
.header-phone { font-size: 21px; font-weight: 700; letter-spacing: .02em; }
.header-hours { margin-top: 5px !important; font-size: 15px; }
.header-contact form { margin-top: 8px; }
.header-contact .reset-button { min-height: 28px; padding: 4px 9px; font-size: 9px; }
.reset-label-short { display: none; }
.site-nav {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid #ded9d5;
  background: #fff;
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}
.site-nav a,
.site-nav span {
  flex: 1 1 0;
  min-width: 0;
  padding: 15px 6px 12px;
  border-bottom: 1px solid #292429;
  color: #1e1b1e;
  text-align: center;
  text-decoration: none;
  cursor: default;
}
.site-nav a + a,
.site-nav span + a,
.site-nav a + span,
.site-nav span + span { margin-left: 14px; }
.site-nav strong { display: block; font-size: 13px; line-height: 1.25; white-space: nowrap; }
.site-nav small { display: block; margin-top: 5px; font-size: 9px; line-height: 1; letter-spacing: .05em; }
.site-nav a:hover { color: var(--pink); border-color: var(--pink); }
.site-nav span { color: #2f2a2e; }
.reset-button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #79566a;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}
.reset-button:hover { background: #f9eaf1; }
.promo-section {
  width: 100%;
  padding: 16px 0 10px;
  border-bottom: 1px solid #eee6da;
  background: #fff;
}
.promo-slider { position: relative; }
.promo-track {
  display: flex;
  gap: 12px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: #cfb578 #f4efe6;
}
.promo-slide {
  position: relative;
  display: flex;
  flex: 0 0 clamp(320px, 34vw, 560px);
  align-items: flex-end;
  height: clamp(480px, 42vw, 620px);
  padding: 30px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 14px;
  color: #fff;
  background-position: center;
  background-size: cover;
  box-shadow: 0 9px 26px #39204a24;
  scroll-snap-align: center;
  isolation: isolate;
}
.promo-slide::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 14% 18%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 82% 28%, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 70% 80%, #fff9 0 2px, transparent 3px),
    repeating-linear-gradient(125deg, transparent 0 28px, #ffffff0f 29px 30px);
}
.promo-slide::after {
  position: absolute;
  right: 18px;
  bottom: -14px;
  z-index: -1;
  content: attr(data-number);
  color: #ffffff38;
  font-size: clamp(70px, 9vw, 130px);
  font-weight: 900;
  line-height: 1;
}
.promo-slide-yukata {
  background-image:
    linear-gradient(90deg, #100b3aed 0%, #311460bd 42%, #891b6538 68%, transparent 100%),
    url("assets/images/banners/banner-yukata.webp");
}
.promo-slide-sports {
  background-image:
    linear-gradient(90deg, #06172ff2 0%, #112c55c7 43%, #b3133433 70%, transparent 100%),
    url("assets/images/banners/banner-sports.webp");
}
.promo-slide-swimsuit {
  background-image:
    linear-gradient(90deg, #005775ed 0%, #008fa6bd 43%, #ff6f6130 70%, transparent 100%),
    url("assets/images/banners/banner-swimsuit.webp");
}
.promo-slide-uniform {
  background-image:
    linear-gradient(90deg, #061b48f2 0%, #162b65c7 44%, #a62b9330 72%, transparent 100%),
    url("assets/images/banners/banner-uniform.webp");
}
.promo-slide-nurse {
  background-image:
    linear-gradient(90deg, #a91867ef 0%, #d93886c4 43%, #39b9c329 72%, transparent 100%),
    url("assets/images/banners/banner-nurse.webp");
}
.promo-copy { max-width: 82%; text-shadow: 0 2px 12px #3d124e4f; }
.promo-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 9px;
  border: 1px solid #ffffffa3;
  border-radius: 30px;
  background: #ffffff25;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}
.promo-slide strong { display: block; font-size: clamp(25px, 3vw, 45px); font-weight: 900; line-height: 1.05; letter-spacing: .02em; }
.promo-big-number { font-size: 1.35em; }
.promo-slide h2 { margin: 8px 0 3px; font-size: clamp(18px, 2vw, 28px); line-height: 1.3; }
.promo-slide p { margin: 0; font-size: 11px; font-weight: 700; }
.promo-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0 0 4px;
  transform: translateY(-50%);
  border: 1px solid #fff;
  border-radius: 50%;
  color: #5e4931;
  background: #fffffff0;
  box-shadow: 0 5px 18px #2d172d40;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.promo-arrow:hover { color: #fff; background: #a74e72; }
.promo-arrow-prev { left: 14px; }
.promo-arrow-next { right: 14px; }
.promo-guide { margin: 7px 0 0; color: #8c7b70; text-align: center; font-size: 10px; letter-spacing: .08em; }
.home-layout {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 36px auto 60px;
}
.home-layout::before,
.home-layout::after {
  position: absolute;
  z-index: -1;
  color: #c2a66f4f;
  pointer-events: none;
}
.home-layout::before { top: 390px; left: -45px; content: "✦"; font-size: 28px; }
.home-layout::after { right: -36px; bottom: 170px; content: "✧"; font-size: 34px; }
.home-intro {
  padding: 66px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(120deg, #fff, #fbe9f2 70%, #f0e7f8);
  text-align: center;
}
.home-intro p:not(.eyebrow), .next-section p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.status-label { display: inline-block; margin-top: 16px; padding: 7px 14px; border-radius: 30px; background: #fff; color: #85536d; font-size: 11px; }
.next-section { margin-top: 26px; padding: 30px; border: 1px dashed #dcbccc; border-radius: 16px; background: #ffffffb3; }
.next-section h2 { margin: 0 0 12px; font-size: 22px; }
.hero-banners {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
  gap: 16px;
}
.banner-side { display: grid; gap: 16px; }
.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 210px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid #e5dccd;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px #725d3d0c;
}
.banner::before,
.banner::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}
.banner::before {
  width: 260px;
  height: 260px;
  right: -55px;
  top: -95px;
  border: 1px solid #cfb78352;
  background: radial-gradient(circle, #fff 0 38%, #f6f0e675 39% 54%, transparent 55%);
}
.banner::after {
  right: 92px;
  bottom: 35px;
  content: "✦";
  color: #b99b616b;
  font-size: 30px;
}
.banner-main {
  min-height: 436px;
  background:
    radial-gradient(circle at 18% 18%, #d2b4778c 0 1px, transparent 2px),
    radial-gradient(circle at 73% 23%, #d2b4775c 0 1.5px, transparent 2.5px),
    linear-gradient(135deg, #fff, #fbf7ef 58%, #f3eee8);
}
.banner-news { background: linear-gradient(135deg, #fff, #faf4eb 72%, #f0e5d5); }
.banner-diary { background: linear-gradient(135deg, #fff, #f5f3f1 70%, #eae6e2); }
.banner div { position: relative; z-index: 1; }
.banner-label { margin: 0 0 8px; color: #9a7848; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.banner h2 { margin: 0 0 8px; font-size: clamp(21px, 3.2vw, 34px); line-height: 1.45; }
.banner p:last-child { margin: 0; color: #715f69; font-size: 13px; }
.banner-number { position: absolute; right: 22px; bottom: 12px; color: #b99a6257; font-size: 52px; font-weight: 700; line-height: 1; }
.ranking-section { margin-top: 12px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.section-heading h2 { margin: 0; font-size: 28px; line-height: 1.3; }
.section-heading p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.profile-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 14px 34px #725d3d12;
}
.profile-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  color: #947a56;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
.profile-image::before {
  position: absolute;
  top: 16%;
  right: 14%;
  content: "✦";
  color: #bea16a8c;
  font-size: 24px;
}
.profile-image::after {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 95px;
  height: 95px;
  border: 1px solid #bfa57055;
  border-radius: 50%;
  content: "";
}
.profile-image-rose { background: linear-gradient(145deg, #fff, #f5eee8); }
.profile-image-lavender { background: linear-gradient(145deg, #fff, #f0edf2); }
.profile-image-peach { background: linear-gradient(145deg, #fff, #f3eadf); }
.profile-image-blue { background: linear-gradient(145deg, #fff, #edf0f2); }
.profile-image-mint { background: linear-gradient(145deg, #fff, #edf2ef); }
.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 20px;
  border: 1px solid #d9c49d;
  color: #80663f;
  background: #fffffff0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
}
.profile-body { padding: 16px 14px 18px; }
.profile-body h3 { margin: 0; font-size: 19px; }
.profile-body p { margin: 3px 0 12px; color: var(--muted); font-size: 11px; }
.profile-coming-soon { display: block; padding-top: 10px; border-top: 1px solid #f3e7ed; color: #9a7b8b; font-size: 10px; line-height: 1.6; }
.status-label-home { display: table; margin: 34px auto 0; border: 1px solid #ede4d5; }
.site-footer { padding: 24px 16px; text-align: center; color: #806a77; font-size: 11px; letter-spacing: .1em; }
.site-footer span { color: var(--muted); }
@media (max-width: 540px) {
  .entry-layout {
    align-items: start;
    padding: 170px 16px 28px;
    background:
      linear-gradient(to bottom, #ffffff00 0 130px, #fffffff2 230px, #fff 310px),
      url("assets/images/age-entry-four-women.webp") center top / 100% auto no-repeat,
      #fff;
  }
  .entry-card { padding: 30px 22px; border-radius: 18px; }
  .age-badge { margin-top: 24px; }
  .site-header { flex-direction: column; gap: 12px; padding: 20px 0; }
  .site-nav-inner { justify-content: flex-start; }
  .site-nav a,
  .site-nav span { min-width: 100px; padding: 12px 14px; }
  .promo-section { padding-top: 12px; }
  .promo-track { gap: 10px; padding: 0 18px; scroll-padding-inline: 18px; }
  .promo-slide { flex-basis: 86vw; height: 390px; padding: 22px; border-radius: 12px; }
  .promo-copy { max-width: 90%; }
  .promo-slide strong { font-size: clamp(23px, 8vw, 34px); }
  .promo-slide h2 { font-size: 17px; }
  .promo-arrow { width: 38px; height: 38px; font-size: 28px; }
  .promo-arrow-prev { left: 5px; }
  .promo-arrow-next { right: 5px; }
  .home-layout { margin-top: 24px; }
  .home-intro { padding: 44px 18px; }
  .next-section { padding: 24px 20px; }
  .next-section h2 { font-size: 19px; }
  .hero-banners { grid-template-columns: 1fr; }
  .banner-main { min-height: 300px; }
  .banner { min-height: 180px; padding: 25px; }
  .banner-number { font-size: 42px; }
  .ranking-section { margin-top: 42px; }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: 8px; }
  .ranking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 541px) and (max-width: 900px) {
  .hero-banners { grid-template-columns: 1fr; }
  .banner-main { min-height: 340px; }
  .banner-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ranking-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 56px 1fr 56px;
    gap: 8px;
    width: calc(100% - 28px);
    min-height: 104px;
    padding: 13px 0;
  }
  .header-left { grid-column: 1; }
  .menu-toggle { width: 52px; padding: 9px 3px; }
  .menu-bars { width: 42px; gap: 10px; }
  .menu-toggle[aria-expanded="true"] .menu-bars i:first-child { transform: translateY(5px) rotate(18deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars i:last-child { transform: translateY(-5px) rotate(-18deg); }
  .site-header .header-brand { grid-column: 2; }
  .header-logo-main { font-size: clamp(19px, 6vw, 27px); }
  .header-logo-sub { margin-top: 7px; font-size: 8px; letter-spacing: .26em; }
  .header-contact { grid-column: 3; }
  .header-contact p { display: none; }
  .header-contact form { margin: 0; }
  .header-contact .reset-button { width: 54px; min-height: 38px; padding: 4px; line-height: 1.3; }
  .reset-label-full { display: none; }
  .reset-label-short { display: inline; font-size: 12px; font-weight: 700; }
  .site-nav {
    max-height: 0;
    overflow: hidden;
    border-bottom: 0;
    transition: max-height .28s ease, border-color .28s ease;
  }
  .site-nav.is-open { max-height: 520px; border-bottom: 1px solid #ded9d5; }
  .site-nav-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 8px 14px 16px;
  }
  .site-nav a,
  .site-nav span { min-width: 0; padding: 12px 5px 10px; }
  .site-nav a + a,
  .site-nav span + a,
  .site-nav a + span,
  .site-nav span + span { margin-left: 0; }
  .site-nav a:nth-child(even),
  .site-nav span:nth-child(even) { margin-left: 12px; }
}
