/* =========================================================
   SUKICOS — Cosplay & Maid Portrait Photography
   Theme: Chic / Modern  (white · grey · 1 accent)

   差し色を変えたい時は :root の --accent 系だけ書き換えればOK
   ========================================================= */

:root {
  /* --- Color --- */
  --bg:          #ffffff;
  --bg-soft:     #faf8f7;
  --bg-soft2:    #f3edeb;
  --text:        #211d1c;
  --text-soft:   #6f6663;
  --line:        #e8e1de;

  --accent:      #c08497;   /* くすみローズ（差し色） */
  --accent-deep: #a4677c;
  --accent-soft: #f4e8ec;

  /* --- Type --- */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* --- Layout --- */
  --maxw:   1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 18px 50px -24px rgba(60, 40, 46, .35);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  letter-spacing: .02em;
  padding-top: var(--header-h);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
::selection { background: var(--accent-soft); }

/* ---------------- Helpers ---------------- */
.section { padding: clamp(56px, 9vw, 120px) var(--gutter); max-width: var(--maxw); margin-inline: auto; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 6vw, 72px); }
.section__eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--accent-deep);
  letter-spacing: .04em;
}
.section__title {
  font-weight: 300;
  font-size: clamp(1.6rem, 4.4vw, 2.5rem);
  letter-spacing: .14em;
  margin: .1em 0 .5em;
}
.section__desc { color: var(--text-soft); font-size: .95rem; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 2.1em;
  font-size: .82rem; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
  border-radius: 999px;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); background: var(--bg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.brand { display: inline-flex; align-items: center; gap: .6em; font-family: var(--serif); font-size: 1.45rem; letter-spacing: .02em; }
.brand__name em { font-style: italic; color: var(--accent-deep); }
.brand__mark {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  position: relative; flex: none;
}
.brand__mark::after { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav__link {
  position: relative;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-soft);
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--text); }
.nav__link--cta {
  color: var(--accent-deep); border: 1px solid var(--accent); border-radius: 999px;
  padding: .5em 1.3em; letter-spacing: .14em;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--accent); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 60; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------- Sections（縦に連続表示） ----------------
   旧 SPA風の「1ページずつ表示」をやめ、全セクションを縦に並べる。
   ナビは href="#id" のアンカーで該当セクションへスムーズスクロール
   （html の scroll-behavior:smooth + scroll-padding-top でヘッダー分を吸収）。 */

/* ---------------- Hero ---------------- */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 6vw, 80px) var(--gutter) 0;
  max-width: var(--maxw); margin-inline: auto;
  position: relative;
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(32px, 6vw, 80px);
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--serif); font-style: italic; font-size: 1.35rem;
  color: var(--accent-deep); letter-spacing: .05em; margin-bottom: .4em;
}
.hero__title {
  font-weight: 200; font-size: clamp(2.2rem, 6vw, 3.7rem);
  line-height: 1.4; letter-spacing: .08em;
}
.hero__lead { margin: 1.6em 0 2.2em; max-width: 30em; color: var(--text-soft); font-size: .98rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; }
.hero__badge {
  position: absolute; top: 18px; right: -10px;
  background: var(--text); color: #fff;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .7em 1.3em; border-radius: 999px; box-shadow: var(--shadow);
}
.ph--hero { aspect-ratio: 4 / 5; border-radius: 8px; box-shadow: var(--shadow); }
.photo-frame {
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
  transform: scale(1.012);
}
.photo-frame--hero { aspect-ratio: 4 / 5; }

.scroll-hint {
  position: absolute; left: var(--gutter); bottom: 26px;
  font-size: .68rem; letter-spacing: .26em; color: var(--text-soft);
  animation: floaty 2.4s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(5px); opacity: 1; } }

/* ---------------- Placeholder (写真の仮置き) ----------------
   本番は <figure class="ph …"> を <img src="…" alt="…"> に置き換えるだけ。
   data-label の文字がそのまま見出しとして表示されます。            */
.ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8em;
  background:
    radial-gradient(120% 120% at 50% 0%, var(--accent-soft) 0%, transparent 55%),
    linear-gradient(135deg, var(--bg-soft2) 0%, #ece2df 55%, #e3d5d2 100%);
  color: #9a8a86;
  overflow: hidden;
}
.ph::before {
  content: ""; width: 44px; height: 44px; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b8b86' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5A1.5 1.5 0 0 1 4.5 7h2L8 5h8l1.5 2h2A1.5 1.5 0 0 1 21 8.5v9A1.5 1.5 0 0 1 19.5 19h-15A1.5 1.5 0 0 1 3 17.5z'/%3E%3Ccircle cx='12' cy='13' r='3.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  letter-spacing: .06em; color: #8c7c79;
}
.ph--portrait { aspect-ratio: 3 / 4; }
.ph--square   { aspect-ratio: 1 / 1; }

/* ---------------- Gallery ---------------- */
.gallery__filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.filter-btn {
  padding: .55em 1.4em; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-soft); border: 1px solid var(--line); border-radius: 999px;
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.filter-btn.is-active { background: var(--text); color: #fff; border-color: var(--text); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.gallery__item {
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
  transform: scale(1.012);
  transition: transform .7s var(--ease), filter .5s var(--ease);
}
.gallery__item::after { font-size: .92rem; }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery__item:hover img { transform: scale(1.045); filter: blur(2px) saturate(1.04); }
.gallery__item.is-hidden { display: none; }

/* ---------------- About ---------------- */
.about__inner {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.about__portrait { border-radius: 8px; position: sticky; top: calc(var(--header-h) + 24px); }
.about__name { font-family: var(--serif); font-size: 1.7rem; letter-spacing: .04em; margin-bottom: .8em; }
.about__name span { display: block; font-size: .82rem; font-family: var(--sans); color: var(--text-soft); letter-spacing: .12em; margin-top: .4em; }
.about__text { color: var(--text-soft); margin-bottom: 1.4em; }
.about__meta { margin-top: 2em; border-top: 1px solid var(--line); }
.about__meta > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 1em 0; border-bottom: 1px solid var(--line); }
.about__meta dt { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.about__meta dd { color: var(--text); font-size: .95rem; }

/* ---------------- Price ---------------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2.6vw, 34px);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured { background: var(--text); color: #fff; border-color: var(--text); }
.plan--featured .plan__for { color: rgba(255,255,255,.66); }
.plan--featured .plan__features li { border-color: rgba(255,255,255,.16); }
.plan--featured .plan__features li::before { color: var(--accent); }
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .68rem; letter-spacing: .16em;
  padding: .5em 1.2em; border-radius: 999px; white-space: nowrap;
}
.plan__name { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; letter-spacing: .06em; }
.plan__price { font-family: var(--serif); font-size: 2.7rem; line-height: 1.2; margin: .15em 0 .1em; }
.plan__cur { font-size: 1.2rem; vertical-align: super; margin-right: .1em; }
.plan__for { font-size: .85rem; color: var(--text-soft); margin-bottom: 1.6em; }
.plan__features { flex: 1; margin-bottom: 2em; }
.plan__features li { position: relative; padding: .7em 0 .7em 1.7em; font-size: .92rem; border-bottom: 1px solid var(--line); }
.plan__features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-deep); }
.plan__btn { width: 100%; }
.price__note { max-width: 720px; margin: clamp(28px, 4vw, 48px) auto 0; text-align: center; font-size: .82rem; color: var(--text-soft); }

/* ---------------- Contact ---------------- */
.contact__inner { display: grid; grid-template-columns: 1.4fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: .5em; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8rem; letter-spacing: .1em; color: var(--text); }
.req { color: var(--accent-deep); font-size: .68rem; border: 1px solid var(--accent); border-radius: 4px; padding: .1em .5em; margin-left: .4em; letter-spacing: .08em; }
.field input, .field select, .field textarea {
  padding: .85em 1em; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { resize: vertical; }
.form-note { font-size: .85rem; margin-top: .6em; min-height: 1.4em; }
.form-note.is-ok { color: var(--accent-deep); }
.form-note.is-error { color: #c0392b; }

.contact__side { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 3vw, 36px); }
.contact__side h3 { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .04em; margin-bottom: .6em; }
.contact__side p { font-size: .9rem; color: var(--text-soft); margin-bottom: 1.4em; }
.contact__mail { margin-top: 1.6em; font-size: .9rem; }
.contact__mail a { color: var(--accent-deep); border-bottom: 1px solid var(--accent); }

/* ---------------- SNS ---------------- */
.sns { display: grid; gap: 12px; }
.sns__link { display: inline-flex; align-items: center; gap: .8em; font-size: .9rem; color: var(--text); transition: color .3s var(--ease); }
.sns__link:hover { color: var(--accent-deep); }
.sns__icon {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); background-position: center; background-repeat: no-repeat; background-size: 18px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.sns__link:hover .sns__icon { border-color: var(--accent); }
.sns__icon[data-sns="x"]  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23211d1c'%3E%3Cpath d='M18.244 2H21.5l-7.5 8.57L22.5 22h-6.86l-4.29-5.61L6.2 22H2.94l7.93-9.06L2 2h7.03l3.88 5.13zM17.1 20.05h1.81L7.02 3.84H5.08z'/%3E%3C/svg%3E"); }
.sns__icon[data-sns="ig"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23211d1c' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='1' fill='%23211d1c' stroke='none'/%3E%3C/svg%3E"); }
.sns__icon[data-sns="tt"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23211d1c'%3E%3Cpath d='M16.5 3c.3 2.1 1.6 3.6 3.5 3.9v2.4c-1.3 0-2.5-.4-3.5-1v5.7c0 3.2-2.4 5.5-5.4 5.5-3 0-5.1-2.4-5.1-5.2 0-2.9 2.3-5.1 5.4-4.9v2.5c-.4-.1-.8-.2-1.2-.2-1.4 0-2.4 1-2.4 2.5 0 1.5 1 2.6 2.4 2.6 1.5 0 2.5-1.1 2.5-2.8V3z'/%3E%3C/svg%3E"); }
.sns__icon[data-sns="yt"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23211d1c'%3E%3Cpath d='M22 8.2a3 3 0 0 0-2.1-2.1C18 5.5 12 5.5 12 5.5s-6 0-7.9.6A3 3 0 0 0 2 8.2 31 31 0 0 0 1.6 12 31 31 0 0 0 2 15.8a3 3 0 0 0 2.1 2.1c1.9.6 7.9.6 7.9.6s6 0 7.9-.6a3 3 0 0 0 2.1-2.1A31 31 0 0 0 22.4 12 31 31 0 0 0 22 8.2M10 15V9l5.2 3z'/%3E%3C/svg%3E"); }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: clamp(40px, 6vw, 72px) var(--gutter) 28px; margin-top: 40px; }
.site-footer__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 30px); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.footer-nav a:hover { color: var(--accent-deep); }
.sns--footer { display: flex; gap: 12px; }
.copyright { max-width: var(--maxw); margin: 36px auto 0; text-align: center; font-size: .72rem; letter-spacing: .1em; color: var(--text-soft); }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { max-width: 360px; margin: 0 auto; order: -1; }
  .hero__actions { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .scroll-hint { display: none; }

  .about__inner { grid-template-columns: 1fr; }
  .about__portrait { position: static; max-width: 340px; margin: 0 auto; }
  .about__meta > div { grid-template-columns: 100px 1fr; }

  .plan-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .plan--featured { order: -1; }

  .contact__inner { grid-template-columns: 1fr; }

  /* --- Mobile nav drawer --- */
  .nav-toggle { display: flex; }
  .nav__list {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: center; gap: 4px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
    padding: 24px var(--gutter) 36px;
    border-bottom: 1px solid var(--line);
    transform: translateY(calc(-100% - var(--header-h))); transition: transform .45s var(--ease);
  }
  .nav__list.is-open { transform: translateY(0); }
  .nav__link { padding: .9em; font-size: .9rem; }
  .nav__link--cta { margin-top: 8px; }
}

@media (max-width: 560px) {
  .contact__form { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
}

/* ---------------- Motion safety ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
