/* ぴけ｜PRのご依頼について
   色：こげ茶 #504235 ／ グレーベージュ #aea29d ／ 白・生成り */
:root {
  --brown: #504235;
  --beige: #aea29d;
  --beige-light: #d9d1cb;
  --cream: #f6f2ee;
  --white: #fffdfb;
  --text: #504235;
  --text-sub: #8a7d74;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

/* ヘッダー */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(174, 162, 157, 0.25);
}
.header__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo { font-family: var(--mincho); font-size: 24px; font-weight: 600; letter-spacing: 0.1em; display: flex; align-items: baseline; gap: 14px; }
.logo span { font-family: var(--gothic); font-size: 11px; font-weight: 400; color: var(--text-sub); letter-spacing: 0.12em; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 13px; }
.nav a { transition: opacity .3s; }
.nav a:hover { opacity: .6; }
.nav__cta { border: 1px solid var(--brown); padding: 8px 20px; border-radius: 999px; }
.nav__cta:hover { background: var(--brown); color: var(--white); opacity: 1 !important; }

/* いちばん上 */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100vh; padding-top: 72px;
  background: var(--cream);
}
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: 80px 64px 80px max(64px, calc((100vw - 1120px) / 2 + 40px)); }
.hero__label { font-size: 13px; color: var(--text-sub); letter-spacing: 0.2em; margin-bottom: 28px; }
.nowrap { white-space: nowrap; }
.hero__title { font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.7; letter-spacing: 0.1em; }
.hero__sub { margin-top: 36px; font-size: 13px; color: var(--text-sub); letter-spacing: 0.16em; }
.hero__photo { position: relative; overflow: hidden; }
/* 左端の斜めの壁が入らないよう、右寄りに少し拡大 */
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.16); transform-origin: 100% 60%; }

/* 見出し */
.section { padding: 140px 0; }
.section__label { font-size: 13px; color: var(--beige); letter-spacing: 0.2em; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.section__label::before { content: ""; width: 32px; height: 1px; background: var(--beige); }
.section__title { font-family: var(--mincho); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.7; letter-spacing: 0.08em; margin-bottom: 56px; }
.note { font-size: 12px; color: var(--text-sub); margin-top: 16px; }
.center { text-align: center; }

/* わたしについて */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 2px; }
.about__body .section__title { margin-bottom: 36px; }
.about__name { font-family: var(--mincho); font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.about__name span { font-family: var(--gothic); font-size: 12px; font-weight: 400; color: var(--text-sub); margin-left: 14px; }
.about__lead { margin-bottom: 28px; }
.about__list { border-top: 1px solid var(--beige-light); margin-bottom: 40px; }
.about__list li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--beige-light); font-size: 14px; position: relative; }
.about__list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--beige); transform: translateY(-50%); }
.accounts { display: flex; gap: 16px; flex-wrap: wrap; }
.accounts a { display: flex; flex-direction: column; line-height: 1.6; font-size: 14px; font-weight: 500; padding: 14px 24px; border: 1px solid var(--beige-light); border-radius: 4px; transition: border-color .3s; }
.accounts a:hover { border-color: var(--brown); }
.accounts span { font-size: 12px; font-weight: 400; color: var(--text-sub); }

/* 数字で見る */
.numbers { background: var(--cream); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--beige-light); border-bottom: 1px solid var(--beige-light); }
.stat { padding: 44px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--beige-light); }
.stat__num { font-family: var(--mincho); font-size: 52px; line-height: 1.2; font-weight: 500; letter-spacing: 0.02em; }
.stat__num small { font-size: 18px; margin-left: 4px; }
.stat__name { font-size: 13px; color: var(--text-sub); margin-top: 10px; }
.ages { max-width: 720px; margin: 72px auto 0; }
.ages__title { font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.ages__list li { display: grid; grid-template-columns: 90px 1fr 64px; align-items: center; gap: 16px; font-size: 13px; padding: 6px 0; }
.ages__list i { display: block; height: 10px; border-radius: 999px; background: var(--beige-light); width: calc(var(--w) / 34.6 * 100%); min-width: 4px; }
.ages__list .is-top i { background: var(--brown); }
.ages__list .is-top { font-weight: 700; }
.ages__list b { font-weight: 500; text-align: right; }

/* これまでの実績 */
.works__sub { font-size: 14px; font-weight: 500; text-align: center; margin: 0 0 28px; letter-spacing: 0.16em; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--beige-light); border: 1px solid var(--beige-light); }
.logos li { background: var(--white); height: 120px; display: flex; align-items: center; justify-content: center; padding: 24px 32px; font-size: 15px; font-weight: 500; color: var(--text-sub); }
.logos img { max-height: 44px; max-width: 150px; width: auto; object-fit: contain; }
.voice { max-width: 760px; margin: 100px auto; text-align: center; }
.voice blockquote { font-family: var(--mincho); font-size: 20px; line-height: 2.1; position: relative; padding-top: 40px; }
.voice blockquote::before { content: "“"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 64px; color: var(--beige); line-height: 1; }
.voice figcaption { margin-top: 20px; font-size: 13px; color: var(--text-sub); }

.reels { position: relative; }
.reels__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.reel { flex: 0 0 340px; scroll-snap-align: start; }
.reel .instagram-media { min-width: 326px !important; margin: 0 !important; }
.reels__btn { position: absolute; top: 45%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--beige-light); background: var(--white); color: var(--brown); font-size: 18px; cursor: pointer; transition: background .3s; }
.reels__btn:hover { background: var(--cream); }
.reels__btn--prev { left: -64px; }
.reels__btn--next { right: -64px; }
.swipe-hint { display: none; }

/* ご依頼の流れ */
.flow { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 32px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::after { content: ""; position: absolute; top: 76px; left: 96px; right: -24px; height: 1px; background: var(--beige-light); }
.step:nth-child(4n)::after, .step:last-child::after { display: none; }
.step__num { display: block; font-family: var(--mincho); font-size: 14px; color: var(--beige); letter-spacing: 0.12em; margin-bottom: 10px; }
.step__icon { width: 80px; height: 80px; padding: 16px; background: var(--white); border-radius: 50%; fill: none; stroke: var(--brown); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; line-height: 1.6; }
.step p { font-size: 13px; color: var(--text-sub); line-height: 1.9; }

.rules { margin-top: 110px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--beige-light); border: 1px solid var(--beige-light); }
.rule { background: var(--white); padding: 36px 40px; }
.rule h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.rule p { font-size: 14px; color: var(--text-sub); }

/* お問い合わせ */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; }
.contact__photo { position: relative; overflow: hidden; }
.contact__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__body { padding: 120px max(64px, calc((100vw - 1120px) / 2 + 40px)) 120px 96px; display: flex; flex-direction: column; justify-content: center; }
.contact__body .section__title { margin-bottom: 28px; }
.contact__list { margin: 20px 0 40px; border-top: 1px solid var(--beige-light); }
.contact__list li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--beige-light); font-size: 14px; position: relative; }
.contact__list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--beige); transform: translateY(-50%); }
.contact__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 240px; padding: 16px 32px; border-radius: 999px; background: var(--brown); color: var(--white); font-size: 14px; font-weight: 500; border: 1px solid var(--brown); transition: opacity .3s, background .3s, color .3s; }
.btn:hover { opacity: .85; }
.btn--line { background: transparent; color: var(--brown); }
.btn--line:hover { background: var(--brown); color: var(--white); opacity: 1; }
.contact__mail { margin-top: 18px; font-size: 13px; color: var(--text-sub); }

/* フッター */
.footer { background: var(--brown); color: var(--cream); text-align: center; padding: 48px 20px; font-size: 13px; }
.footer__copy { font-size: 11px; opacity: .7; margin-top: 4px; }

/* ふわっと表示 */
.fade { opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1s ease; }
.fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* タブレット */
@media (max-width: 1280px) {
  .reels__btn--prev { left: -8px; }
  .reels__btn--next { right: -8px; }
}
@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .logo span { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}

/* スマホ */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .wrap { padding: 0 20px; }
  .header__inner { padding: 0 20px; height: 60px; }
  .nav a:not(.nav__cta) { display: none; }
  .nav__cta { padding: 6px 16px; font-size: 12px; }
  html { scroll-padding-top: 64px; }

  .hero { grid-template-columns: 1fr; padding-top: 60px; min-height: auto; }
  .hero__photo { order: -1; height: 72vh; }
  .hero__text { padding: 48px 24px 56px; }
  .hero__title { font-size: 30px; }

  .section { padding: 88px 0; }
  .section__title { margin-bottom: 40px; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__photo { max-width: 320px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 8px; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--beige-light); }
  .stat__num { font-size: 38px; }
  .ages { margin-top: 48px; }
  .ages__list li { grid-template-columns: 72px 1fr 52px; gap: 10px; font-size: 12px; }

  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos li { height: 92px; padding: 16px; }
  .logos img { max-height: 34px; max-width: 120px; }
  .voice { margin: 64px auto; text-align: left; }
  .voice blockquote { font-size: 17px; }
  .voice blockquote::before { left: 0; transform: none; }

  .reels__btn { display: none; }
  .reels__track { margin: 0 -20px; padding: 0 20px 12px; gap: 14px; }
  .reel { flex: 0 0 86%; }
  .reel .instagram-media { min-width: 0 !important; width: 100% !important; }
  .swipe-hint { display: block; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding: 0 0 36px; }
  .step::after { display: block; top: 72px; bottom: 0; left: 31px; right: auto; width: 1px; height: auto; }
  .step:nth-child(4n)::after { display: block; }
  .step:last-child::after { display: none; }
  .step__num { grid-column: 2; margin: 6px 0 2px; }
  .step__icon { grid-row: 1 / span 3; grid-column: 1; width: 64px; height: 64px; padding: 13px; }
  .step h3, .step p { grid-column: 2; }

  .rules { margin-top: 64px; grid-template-columns: 1fr; }
  .rule { padding: 26px 22px; }

  .contact { grid-template-columns: 1fr; }
  .contact__photo { height: 56vh; }
  .contact__body { padding: 64px 20px 80px; }
  .btn { width: 100%; min-width: 0; }
}

/* ── サムネ風の飾り（縦書き・点の強調・下線の小見出し・丸バッジ） ── */
.section__label { display: inline-block; padding: 0 4px 8px; border-bottom: 1px solid var(--beige); color: var(--text-sub); }
.section__label::before { display: none; }
.section__label + .section__title, .section__label.fade + .section__title { margin-top: 4px; }

.tag { display: inline-block; border: 1px solid var(--beige); padding: 4px 14px; font-size: 12px; letter-spacing: 0.16em; color: var(--text); background: rgba(255,255,255,.5); }
.hero__label { margin-bottom: 32px; }

.dots { font-style: normal; -webkit-text-emphasis: filled dot var(--beige); text-emphasis: filled dot var(--beige); -webkit-text-emphasis-position: over; text-emphasis-position: over right; }

/* 縦書き：白い四角に1文字ずつ */
.tate { position: absolute; z-index: 1; top: 64px; right: 56px; writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 500; display: flex; gap: 6px; }
.tate span { background: rgba(255, 253, 251, 0.88); color: var(--brown); font-size: 28px; line-height: 1; padding: 8px 7px; letter-spacing: 0; }
.tate--soft { top: auto; bottom: 56px; right: 40px; color: var(--white); font-size: 20px; letter-spacing: 0.3em; text-shadow: 0 1px 12px rgba(80, 66, 53, .35); }

/* 丸いバッジ */
.about__photo { position: relative; }
.badge { position: absolute; right: -28px; bottom: 40px; width: 104px; height: 104px; border-radius: 50%; border: 1px solid var(--beige); background: var(--white); display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--mincho); font-size: 14px; line-height: 1.6; color: var(--brown); }

.works__sub { color: var(--text-sub); font-weight: 400; }

@media (max-width: 768px) {
  .tate { top: 20px; right: 20px; gap: 4px; }
  .tate span { font-size: 20px; padding: 6px 5px; }
  .tate--soft { top: auto; bottom: 24px; right: 20px; font-size: 16px; }
  .badge { right: -8px; bottom: 20px; width: 84px; height: 84px; font-size: 12px; }
}

/* ── 飾りを大きく・はっきり（2回目） ── */
.tate { top: 48px; right: 48px; gap: 8px; }
.tate span { font-size: 46px; padding: 12px 10px; font-weight: 600; background: rgba(255, 253, 251, 0.94); }
.tate--soft { top: 48px; bottom: auto; right: 48px; text-shadow: none; letter-spacing: 0; }

.tag { font-size: 15px; padding: 8px 22px; border-color: var(--brown); letter-spacing: 0.2em; }

.dots { -webkit-text-emphasis-color: var(--brown); text-emphasis-color: var(--brown); }
.hero__title { font-size: clamp(34px, 3.8vw, 58px); }

.section__label { font-size: 17px; letter-spacing: 0.24em; color: var(--brown); border-bottom: 2px solid var(--brown); padding: 0 6px 10px; margin-bottom: 26px; }

.badge { width: 160px; height: 160px; right: -48px; bottom: 48px; background: var(--brown); color: var(--white); border: none; font-size: 20px; line-height: 1.6; box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--beige); }

.works__sub { font-family: var(--mincho); font-size: 24px; color: var(--brown); letter-spacing: 0.24em; margin-bottom: 36px; }

@media (max-width: 768px) {
  .tate { top: 16px; right: 16px; gap: 5px; }
  .tate span { font-size: 28px; padding: 8px 7px; }
  .tate--soft { top: 16px; right: 16px; }
  .tag { font-size: 13px; padding: 6px 16px; }
  .section__label { font-size: 15px; }
  .badge { width: 112px; height: 112px; right: -6px; bottom: 20px; font-size: 15px; }
  .works__sub { font-size: 19px; }
}

/* ── 縦書き：白い四角はやめて、大事な字だけ「わく」で囲む（3回目） ── */
.tate span { background: none; color: var(--brown); padding: 10px 9px; border: 2px solid transparent; text-shadow: 0 0 14px rgba(255, 253, 251, .9), 0 0 4px rgba(255, 253, 251, .9); }
.tate span.box { border-color: var(--brown); }
@media (max-width: 768px) {
  .tate span { padding: 7px 6px; border-width: 1.5px; }
}
@media (max-width: 768px) {
  .hero__title { font-size: clamp(24px, 7.4vw, 32px); letter-spacing: 0.06em; }
}

/* ロゴは色をおさえて、ページの雰囲気にそろえる */
.logos img { filter: grayscale(1); opacity: .72; transition: filter .4s, opacity .4s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos .logo-text { font-family: var(--mincho); font-size: 19px; letter-spacing: 0.12em; color: var(--text-sub); }
.logos img { max-height: 54px; max-width: 160px; }
@media (max-width: 768px) { .logos img { max-height: 40px; max-width: 120px; } .logos .logo-text { font-size: 15px; } }

/* 数字で見る：大きな実績2つ */
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.highlight { background: var(--white); padding: 40px 32px; text-align: center; border: 1px solid var(--beige-light); }
.highlight__num { font-family: var(--mincho); font-size: 60px; line-height: 1.2; color: var(--brown); }
.highlight__num small { font-size: 20px; margin-left: 4px; }
.highlight__name { font-size: 15px; font-weight: 700; margin-top: 12px; }
.highlight__sub { font-size: 13px; color: var(--text-sub); margin-top: 4px; }
@media (max-width: 768px) {
  .highlights { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .highlight { padding: 28px 18px; }
  .highlight__num { font-size: 44px; }
}
.contact__body .section__label { align-self: flex-start; }
