@charset "UTF-8";
/*
Theme Name:Original Theme
Description:合同会社Freesia コーポレートサイト用オリジナルテーマ（Figmaデザイン準拠）
Version:2.0
*/

/* =========================================================
   0. デザイントークン
   ========================================================= */
:root {
  --c-brand: #ff7e2f;
  --c-brand-dark: #e56a1d;
  --c-heading: #663709;
  --c-text: #333333;
  --c-gold: #8f6e27;
  --c-gray: #747474;

  --c-cream: #fffde0;
  --c-beige: #f6f1ed;
  --c-yellow: #fff78f;
  --c-insta: #f39a36;
  --c-white: #ffffff;

  --font-heading: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;

  --radius-card: 10px;
  --radius-photo: 20px;
  --shadow-card: 4px 4px 9.3px rgba(178, 178, 178, 0.15);
  --shadow-soft: 4px 4px 8.7px rgba(126, 126, 126, 0.15);

  --header-h: 67px;
}

/* =========================================================
   1. ベース
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.8;
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

body.is-nav-open {
  overflow: hidden;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

a:hover {
  opacity: 0.75;
}

/* =========================================================
   2. レイアウト
   ========================================================= */
.l-main {
  display: block;
}

.l-inner {
  width: min(100% - 48px, var(--inner-w, 1100px));
  margin-inline: auto;
}

.l-inner--wide {
  --inner-w: 1290px;
}

/* 1920px基準の背景装飾を置くためのステージ */
.l-stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1920px;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* =========================================================
   3. 共通パーツ
   ========================================================= */
.c-label {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(18px, 1.25vw, 24px);
  letter-spacing: 0.13em;
  line-height: 1.35;
  color: var(--c-brand);
  text-align: center;
}

.c-label--left {
  text-align: left;
}

.c-heading {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 50px);
  letter-spacing: 0.09em;
  line-height: 1.5;
  color: var(--c-heading);
  text-align: center;
  line-break: strict;
  word-break: auto-phrase;
}

.c-heading--orange {
  color: var(--c-brand);
}

.c-lead {
  line-break: strict;
  word-break: auto-phrase;
  font-weight: 350;
  font-size: clamp(15px, 1.15vw, 22px);
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--c-heading);
  text-align: center;
}

/* ヘッダー内のピルボタン */
.c-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 2px solid #fff;
  border-radius: 25px;
  font-weight: 700;
  font-size: 10.4px;
  letter-spacing: 0.09em;
  line-height: 1.63;
  color: #fff;
  white-space: nowrap;
  filter: drop-shadow(0 4px 3.8px rgba(151, 151, 151, 0.15));
}

.c-pill--orange {
  background: var(--c-brand);
}

.c-pill:hover {
  opacity: 1;
}

.c-pill--orange:hover {
  background: var(--c-brand-dark);
}

/* 吹き出し */
.c-bubble {
  position: relative;
  width: 392px;
  max-width: 100%;
  min-height: 101px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: #fff;
  border-radius: 16px;
  filter: drop-shadow(0 2px 6px rgba(150, 140, 110, 0.14));
  font-weight: 500;
  font-size: clamp(19px, 1.52vw, 29px);
  letter-spacing: 0.11em;
  line-height: 1.375;
  color: var(--c-heading);
  text-align: center;
}

.c-bubble::before,
.c-bubble::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.c-bubble::before {
  width: 48px;
  height: 48px;
  top: calc(100% - 24px);
}

.c-bubble::after {
  width: 30px;
  height: 30px;
  top: calc(100% + 27px);
}

.c-bubble--right::before {
  left: 254px;
}

.c-bubble--right::after {
  left: 239px;
}

.c-bubble--left::before {
  right: 254px;
}

.c-bubble--left::after {
  right: 239px;
}

/* =========================================================
   4. ヘッダー
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 4px 2.6px rgba(128, 128, 128, 0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding: 6px 36px;
}

.site-header__logo img {
  width: 180px;
  height: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.global-nav__list a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.09em;
  line-height: 1.63;
  color: var(--c-gray);
  white-space: nowrap;
}

.global-nav__list a:hover {
  color: var(--c-brand);
  opacity: 1;
}

.global-nav__buttons {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* ハンバーガー */
.site-header__toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-header__toggle span:not(.site-header__toggle-label) {
  position: absolute;
  left: 10px;
  width: 28px;
  height: 2px;
  background: var(--c-brand);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header__toggle span:nth-child(1) { top: 8px; }
.site-header__toggle span:nth-child(2) { top: 16px; }
.site-header__toggle span:nth-child(3) { top: 24px; }

.site-header__toggle-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--c-brand);
  text-align: center;
}

.site-header__toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.site-header__toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   5. ファーストビュー
   ========================================================= */
.p-fv__visual {
  position: relative;
}

.p-fv__visual > picture > img {
  display: block;
  width: 100%;
}

.p-fv__buttons {
  position: absolute;
  left: 17.14%;
  bottom: 9.3%;
  display: flex;
  gap: 2.03%;
  width: 48.28%;
}

.p-fv__button {
  display: block;
  width: 47.9%;
  transition: transform 0.25s ease;
}

.p-fv__button img {
  display: block;
  width: 100%;
}

.p-fv__button:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* =========================================================
   6. message
   ========================================================= */
.p-message {
  --inner-w: 1200px;
  padding: 99px 0 86px;
  background: var(--c-cream);
}

.p-message .c-heading {
  margin-top: 32px;
}

/* 吹き出し＋イラスト */
.p-message__bubbles {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 9px;
  margin-top: 79px;
}

.p-message__bubbles .c-bubble:nth-child(1) { margin-top: 31px; }
.p-message__bubbles .c-bubble:nth-child(2) { margin-top: 0; }
.p-message__bubbles .c-bubble:nth-child(3) { margin-top: 22px; }

.p-message__illust {
  margin: -40px auto 0;
  width: min(100%, 644px);
}

.p-message__illust img {
  display: block;
  width: 100%;
}

.p-message .c-lead {
  margin-top: 25px;
}

/* 想いのパート */
.p-message__story {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 58px;
}

.p-message__photo {
  flex: 0 1 603px;
}

.p-message__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 603 / 336;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

.p-message__text {
  flex: 0 1 548px;
  font-weight: 350;
  font-size: clamp(14px, 0.94vw, 18px);
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: var(--c-heading);
}

.p-message__text p + p {
  margin-top: 1.8em;
}

.p-message__text strong {
  font-weight: 600;
}

/* 3つの想い */
.p-message__values {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 47px;
}

.p-message__values li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 287px;
  height: 287px;
  background: url("images/glow-circle.svg") center / 118% no-repeat;
  font-weight: 600;
  font-size: clamp(16px, 1.2vw, 23px);
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--c-brand);
  text-align: center;
}

.p-message__closing {
  margin-top: 52px;
  font-size: clamp(15px, 1.15vw, 22px);
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--c-heading);
  text-align: center;
}

.p-message__closing strong {
  font-weight: 600;
}

/* =========================================================
   7. service
   ========================================================= */
.p-service {
  --inner-w: 1200px;
  position: relative;
  overflow: hidden;
  padding: 77px 0 90px;
  background: #fff;
}

.p-service__deco {
  position: absolute;
  display: block;
  width: 738px;
  height: 321px;
  opacity: 0.4;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* 装飾ラインは1920pxのカンプ比率で拡大縮小し、どの幅でも同じ見え方にする */
.p-service__deco--left {
  width: min(38.43vw, 737.92px);
  height: min(16.7vw, 320.61px);
  top: min(0.44vw, 8.46px);
  left: max(-3.379vw, -64.87px);
  background-image: url("images/deco-line-left.png");
  transform: rotate(-33.7deg);
}

.p-service__deco--right {
  width: min(51.42vw, 987.24px);
  height: min(16.7vw, 320.61px);
  right: max(-7.697vw, -147.79px);
  bottom: min(3.005vw, 57.7px);
  background-image: url("images/deco-line-right.png");
  transform: rotate(147.14deg);
}

.p-service > .l-inner {
  position: relative;
  z-index: 1;
}

.p-service .c-heading {
  margin-top: 30px;
}

.p-service .c-lead {
  margin-top: 52px;
}

.p-service__cards {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 41px;
}

.p-service__card {
  flex: 0 1 387px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 17px 16px 21px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.p-service__card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 355 / 207;
  object-fit: cover;
  border-radius: 6px;
}

.p-service__card h3 {
  font-weight: 500;
  font-size: clamp(17px, 1.25vw, 24px);
  letter-spacing: 0.08em;
  line-height: 1.375;
  color: var(--c-brand);
  text-align: center;
}

.p-service__card p {
  font-weight: 350;
  font-size: clamp(15px, 1.15vw, 22px);
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--c-heading);
}

/* =========================================================
   8. why us
   ========================================================= */
.p-whyus {
  --inner-w: 1160px;
  padding: 79px 0 107px;
  background: var(--c-beige);
}

.p-whyus .c-heading {
  margin-top: 30px;
}

.p-whyus .c-lead {
  margin-top: 42px;
}

.p-whyus__cards {
  display: flex;
  justify-content: center;
  gap: 21px;
  margin-top: 39px;
}

.p-whyus__card {
  flex: 0 1 365px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 18px 21px;
  background: #fff;
  border-radius: var(--radius-card);
}

.p-whyus__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(245px, 100%);
  height: 53px;
  background: var(--c-yellow);
  border-radius: 26.5px;
  font-weight: 600;
  font-size: clamp(16px, 1.15vw, 22px);
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--c-gold);
  text-align: center;
}

.p-whyus__pill--wide {
  width: min(295px, 100%);
}

.p-whyus__card > p:last-child {
  font-size: clamp(14px, 0.94vw, 18px);
  letter-spacing: 0.08em;
  line-height: 1.83;
  color: var(--c-gold);
  text-align: center;
}

/* 実績 */
.p-whyus__stats {
  display: flex;
  justify-content: center;
  gap: 59px;
  margin-top: 42px;
}

.p-whyus__stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 330px;
  min-height: 153px;
  padding: 13px 60px 0;
  color: var(--c-gold);
  text-align: center;
}

.p-whyus__stat::before,
.p-whyus__stat::after {
  content: "";
  position: absolute;
  top: 0;
  width: 48px;
  height: 153px;
  opacity: 0.6;
  background: url("images/laurel.png") center / contain no-repeat;
}

.p-whyus__stat::before {
  left: 0;
}

.p-whyus__stat::after {
  right: 0;
  transform: scaleX(-1);
}

.p-whyus__stat-label {
  font-weight: 350;
  font-size: clamp(15px, 1.15vw, 22px);
  letter-spacing: 0.19em;
  line-height: 1.5;
}

.p-whyus__stat-number {
  font-weight: 600;
  font-size: clamp(38px, 3.13vw, 60px);
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
}

.p-whyus__stat-number em {
  font-family: var(--font-en);
  font-style: normal;
  font-weight: 600;
}

/* =========================================================
   9. それぞれの立場に合わせた「お金の学び」を。
   ========================================================= */
.p-target {
  --inner-w: 1312px;
  --gutter: clamp(150px, 16vw, 304px);
  position: relative;
  overflow: hidden;
  padding: 102px 0 116px;
  background: #fff;
}

.p-target > .l-inner {
  width: min(100% - 2 * var(--gutter), 1312px);
}

/* 装飾イラストは左右の余白幅に対する比率で配置する（1920pxでデザインの実寸になる） */
.p-target__illust {
  position: absolute;
  top: 0;
  height: 100%;
  width: var(--gutter);
  pointer-events: none;
}

.p-target__illust img {
  position: absolute;
  display: block;
}

.p-target__illust--left {
  left: 0;
}

.p-target__illust--left img:nth-child(1) {
  top: 255px;
  left: 59.9%;
  width: 31.3%;
}

.p-target__illust--left img:nth-child(2) {
  top: 383px;
  left: 29.9%;
  width: 29.9%;
}

.p-target__illust--right {
  right: 0;
}

.p-target__illust--right img:nth-child(1) {
  top: 304px;
  right: 22.7%;
  width: 32.9%;
  transform: scaleX(-1);
}

.p-target__illust--right img:nth-child(2) {
  top: 424px;
  right: -11.8%;
  width: 33.6%;
  transform: scaleX(-1);
}

.p-target__cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 78px;
}

.p-target__card {
  flex: 0 1 644px;
  min-height: 306px;
  padding: 40px 32px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.p-target__card h3 {
  font-weight: 700;
  font-size: clamp(17px, 1.15vw, 22px);
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--c-gold);
  text-align: center;
}

.p-target__card p {
  margin-top: 24px;
  font-size: clamp(14px, 0.94vw, 18px);
  letter-spacing: 0.08em;
  line-height: 1.83;
  color: var(--c-text);
}

/* =========================================================
   10. voice
   ========================================================= */
.p-voice {
  --inner-w: 829px;
  padding: 76px 0 70px;
  background: var(--c-cream);
}

.p-voice .c-heading {
  margin-top: 40px;
}

.p-voice__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.p-voice__item {
  display: flex;
  align-items: center;
  gap: 23px;
}

.p-voice__item--reverse {
  flex-direction: row-reverse;
}

.p-voice__avatar {
  flex: 0 0 129px;
  width: 129px;
}

.p-voice__avatar img {
  display: block;
  width: 100%;
  border-radius: 50%;
}

.p-voice__balloon {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 111px;
  padding: 22px 28px 22px 36px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(16px, 1.3vw, 25px);
  letter-spacing: 0.09em;
  line-height: 1.8;
  color: var(--c-text);
}

/* =========================================================
   11. profile
   ========================================================= */
.p-profile {
  --inner-w: 1200px;
  padding: 85px 0 149px;
  background: #fff;
}

.p-profile__body {
  display: flex;
  align-items: flex-start;
  gap: 69px;
  margin-top: 40px;
}

.p-profile__photo {
  flex: 0 0 411px;
  max-width: 411px;
}

.p-profile__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 411 / 436;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

.p-profile__text {
  flex: 1 1 auto;
}

.p-profile__name {
  font-weight: 500;
  font-size: clamp(28px, 2.34vw, 45px);
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--c-heading);
}

.p-profile__name span {
  margin-right: 0.6em;
  font-size: clamp(16px, 1.25vw, 24px);
}

.p-profile__name em {
  font-style: normal;
  font-weight: 300;
}

.p-profile__text > p {
  margin-top: 1.5em;
  font-size: clamp(15px, 1.25vw, 24px);
  letter-spacing: 0.09em;
  line-height: 1.55;
  color: var(--c-text);
}

/* Instagramボタン（プロフィール文章の右下） */
.p-profile__insta {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 340px);
  margin: 32px 0 0 auto;
  padding: 12px 22px 12px 16px;
  background: #fff;
  border: 2px solid var(--c-insta);
  border-radius: 999px;
  color: var(--c-insta);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.p-profile__insta:hover {
  opacity: 1;
  background: var(--c-insta);
  color: #fff;
}

.p-profile__insta-icon {
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--c-insta);
  border-radius: 10px;
}

.p-profile__insta:hover .p-profile__insta-icon {
  background: #fff;
}

.p-profile__insta:hover .p-profile__insta-icon svg {
  stroke: var(--c-insta);
}

.p-profile__insta:hover .p-profile__insta-icon circle[fill] {
  fill: var(--c-insta);
}

.p-profile__insta-text {
  flex: 1 1 auto;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: center;
}

.p-profile__insta-arrow {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* =========================================================
   12. Q&A
   ========================================================= */
.p-faq {
  position: relative;
  overflow: hidden;
  padding: 79px 0 133px;
  background: #fff;
}

.p-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/qa-pattern.jpg") center top / 106% auto repeat-y;
  opacity: 0.2;
  pointer-events: none;
}

.p-faq > .l-inner {
  position: relative;
  z-index: 1;
}

.p-faq .c-heading {
  margin-top: 41px;
}

.p-faq__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 77px;
}

.p-faq__item {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 24px 43px;
  background: #fff;
  border: 1px solid var(--c-gold);
  border-radius: var(--radius-card);
}

.p-faq__q,
.p-faq__a {
  font-size: clamp(15px, 1.04vw, 20px);
  letter-spacing: 0.09em;
  line-height: 2.5;
}

.p-faq__q {
  font-weight: 600;
  color: var(--c-text);
}

.p-faq__a {
  font-weight: 400;
  color: var(--c-text);
}

.p-faq__a span {
  color: var(--c-brand);
}

/* =========================================================
   13. flow
   ========================================================= */
.p-flow {
  --inner-w: 1272px;
  padding: 116px 0 43px;
  background: #fff;
}

.p-flow .c-heading {
  margin-top: 41px;
}

.p-flow__list {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 62px;
}

.p-flow__item {
  flex: 0 1 260px;
  text-align: center;
}

.p-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(250px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--c-beige);
}

.p-flow__icon img {
  width: 64%;
  height: auto;
  object-fit: contain;
}

.p-flow__item h3 {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(20px, 1.56vw, 30px);
  letter-spacing: 0.09em;
  line-height: 2.5;
  color: #000;
}

.p-flow__item p {
  font-size: clamp(14px, 0.94vw, 18px);
  letter-spacing: 0.09em;
  line-height: 1.78;
  color: #000;
  text-align: left;
}

/* =========================================================
   14. contact
   ========================================================= */
.p-contact {
  padding: 66px 0 102px;
  background: var(--c-cream);
}

.p-contact .c-heading {
  margin-top: 41px;
}

.p-contact__note {
  margin-top: 39px;
  font-weight: 500;
  font-size: clamp(15px, 1.25vw, 24px);
  letter-spacing: 0.13em;
  line-height: 1.35;
  color: var(--c-text);
  text-align: center;
}

.p-contact__button {
  margin-top: 34px;
  text-align: center;
}

.p-contact__button a {
  display: inline-block;
  transition: transform 0.25s ease;
}

.p-contact__button a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.p-contact__button img {
  display: block;
  width: 444px;
  max-width: 100%;
  height: auto;
}

/* =========================================================
   15. フッター
   ========================================================= */
.site-footer {
  padding: 56px 0 40px;
  background: #fff;
  border-top: 1px solid rgba(143, 110, 39, 0.25);
}

.site-footer__inner {
  width: min(100% - 48px, 1100px);
  margin-inline: auto;
  text-align: center;
}

.site-footer__logo img {
  width: 180px;
  height: auto;
}

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 28px;
}

.site-footer__nav a {
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--c-gold);
}

.site-footer__nav a:hover {
  color: var(--c-brand);
  opacity: 1;
}

.site-footer__copy {
  margin-top: 32px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-gray);
}

/* =========================================================
   16. 下層ページ（固定ページ・記事・ブログ一覧）
   ========================================================= */
.page-main,
.single-main,
.blog-main,
.archive-main {
  padding: 80px 0 120px;
  background: #fff;
}

.page-main .section-inner,
.single-main .section-inner,
.blog-main .section-inner,
.archive-main .section-inner {
  width: min(100% - 48px, 900px);
  margin-inline: auto;
}

.page-title,
.single-title,
.blog-title,
.archive-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(26px, 2.08vw, 40px);
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--c-heading);
}

.blog-heading,
.archive-heading {
  text-align: center;
  margin-bottom: 56px;
}

.blog-lead {
  margin-top: 16px;
  font-size: 16px;
  color: var(--c-text);
}

.page-body,
.single-body {
  margin-top: 40px;
  font-size: 17px;
  line-height: 2;
}

.page-body p + p,
.single-body p + p {
  margin-top: 1.8em;
}

.single-header {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(143, 110, 39, 0.25);
}

.single-date,
.blog-date {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--c-brand);
}

.single-eyecatch {
  margin-top: 32px;
}

.single-eyecatch img {
  border-radius: var(--radius-photo);
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.blog-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-title {
  margin-top: 6px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-heading);
}

.blog-excerpt {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.9;
}

.blog-pagination,
.single-nav,
.back-to-blog {
  margin-top: 56px;
}

.single-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.back-to-blog {
  text-align: center;
}

.back-to-blog a {
  display: inline-block;
  padding: 14px 40px;
  background: var(--c-brand);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

/* 固定ページのタイトルは、テーマ共通の見出しに合わせて中央寄せ */
.page-title {
  text-align: center;
}

/* =========================================================
   16-2. お問い合わせページ（page-contact.php）
   ========================================================= */
.p-page-head {
  padding: 80px 0 64px;
  background: var(--c-cream);
}

.p-page-head .c-heading {
  margin-top: 24px;
}

.p-page-head .c-lead {
  margin-top: 28px;
}

.p-contact-form {
  --inner-w: 760px;
  padding: 0 0 120px;
  background: linear-gradient(var(--c-cream) 0 120px, #fff 120px);
}

.p-contact-form__card {
  padding: 56px 64px 60px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 6px 24px rgba(143, 110, 39, 0.1);
}

.p-contact-form__note {
  margin-top: 28px;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.9;
  color: var(--c-gray);
  text-align: center;
}

.p-contact-form__note a {
  color: var(--c-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Contact Form 7 共通スタイル ---- */
.wpcf7-form > p {
  margin: 0 0 32px;
}

.wpcf7-form > p > label {
  display: block;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--c-heading);
}

/* 必須・任意のバッジ（CF7が付ける aria-required を見て自動で出し分け） */
.wpcf7-form > p > label::before {
  content: "任意";
  display: inline-block;
  margin-right: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #ebe6df;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--c-gray);
  vertical-align: 2px;
}

.wpcf7-form > p > label:has([aria-required="true"])::before {
  content: "必須";
  background: var(--c-brand);
  color: #fff;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d9cdbd;
  border-radius: 8px;
  background: #fffdf7;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wpcf7-form textarea {
  min-height: 200px;
  resize: vertical;
}

.wpcf7-form select {
  padding-right: 44px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--c-brand) 50%),
                    linear-gradient(135deg, var(--c-brand) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #b5aa9c;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--c-brand);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 126, 47, 0.18);
}

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
  display: block;
  width: min(100%, 360px);
  margin: 48px auto 0;
  padding: 18px 24px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--c-brand);
  box-shadow: 0 0 0 2px var(--c-brand), 0 6px 14px rgba(255, 126, 47, 0.25);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--c-brand-dark);
  transform: translateY(-2px);
}

.wpcf7-form input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

/* エラー・送信結果 */
.wpcf7-not-valid {
  border-color: #d9534f !important;
  background-color: #fff6f5 !important;
}

.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-weight: 400;
  font-size: 14px;
  color: #d9534f;
}

.wpcf7 form .wpcf7-response-output {
  margin: 32px 0 0;
  padding: 16px 20px;
  border: 2px solid var(--c-brand);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

/* 送信前・送信中は結果メッセージ枠を出さない */
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
  display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  background: #f3fbf3;
  color: #2e7d32;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: #d9534f;
  background: #fff6f5;
  color: #b52b27;
}

/* =========================================================
   17. レスポンシブ（〜1200px）
   ========================================================= */
@media (max-width: 1200px) {
  .site-header__inner {
    padding: 6px 20px;
  }

  .global-nav__list {
    gap: 22px;
  }

  .global-nav__list a {
    font-size: 14px;
  }

  .site-header__nav,
  .global-nav__buttons {
    gap: 16px;
  }

  .c-bubble {
    width: auto;
    flex: 1 1 0;
    min-height: 84px;
    padding: 12px 16px;
  }

  .c-bubble::before {
    width: 36px;
    height: 36px;
    top: calc(100% - 18px);
  }

  .c-bubble::after {
    width: 22px;
    height: 22px;
    top: calc(100% + 20px);
  }

  .c-bubble--right::before { left: auto; right: 24%; }
  .c-bubble--right::after { left: auto; right: 30%; }
  .c-bubble--left::before { right: auto; left: 24%; }
  .c-bubble--left::after { right: auto; left: 30%; }

  .p-message__illust {
    margin-top: -20px;
  }

  .p-message__values li {
    width: 30%;
    max-width: 287px;
    aspect-ratio: 1;
    height: auto;
  }

  .p-whyus__stat {
    width: auto;
    flex: 1 1 0;
    padding-inline: 52px;
  }

  .p-whyus__stats {
    gap: 24px;
  }

  .p-flow__icon {
    width: min(200px, 100%);
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  /* カード列が縮みきらず横スクロールが出るのを防ぐ */
  .p-whyus__card,
  .p-flow__item {
    min-width: 0;
  }
}

/* =========================================================
   18. レスポンシブ（〜768px／スマートフォン）
   ========================================================= */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .l-inner {
    width: min(100% - 40px, var(--inner-w, 1100px));
  }

  /* ---- SPの文字サイズ（本文16px / リード16px / 見出し24px / Q&A 16px 基準）---- */
  .c-heading {
    font-size: clamp(24px, 6.15vw, 32px);
  }

  .c-label {
    font-size: clamp(16px, 4.1vw, 20px);
  }

  .c-lead,
  .p-message__text,
  .p-message__closing,
  .p-service__card p,
  .p-whyus__card > p:last-child,
  .p-whyus__stat-label,
  .p-target__card p,
  .p-profile__text > p,
  .p-faq__q,
  .p-faq__a,
  .p-flow__item p,
  .p-contact__note,
  .site-footer__nav a {
    font-size: clamp(16px, 4.1vw, 19px);
  }

  .c-bubble,
  .p-service__card h3,
  .p-target__card h3 {
    font-size: clamp(19px, 4.9vw, 23px);
  }

  .p-message__values li,
  .p-whyus__pill {
    font-size: clamp(18px, 4.6vw, 22px);
  }

  .p-voice__balloon {
    font-size: clamp(17px, 4.4vw, 21px);
  }

  .p-flow__item h3 {
    font-size: clamp(22px, 5.6vw, 26px);
  }

  .p-profile__name {
    font-size: clamp(27px, 7vw, 34px);
  }

  .p-profile__name span {
    font-size: clamp(16px, 4.1vw, 19px);
  }

  /* ---- ヘッダー ---- */
  .site-header__inner {
    padding: 8px 16px;
    min-height: 60px;
  }

  .site-header__logo img {
    width: 140px;
  }

  .site-header__toggle {
    display: block;
  }

  .site-header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
    padding: 40px 24px 60px;
    background: var(--c-cream);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .site-header__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .global-nav {
    width: 100%;
  }

  .global-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .global-nav__list li {
    border-bottom: 1px solid rgba(143, 110, 39, 0.2);
  }

  .global-nav__list a {
    display: block;
    padding: 18px 4px;
    font-size: 17px;
    color: var(--c-heading);
  }

  .global-nav__buttons {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .c-pill {
    width: 100%;
    padding: 16px 22px;
    font-size: 15px;
    border-radius: 999px;
  }

  /* ---- FV ---- */
  /* FV画像下部の余白エリアにボタンを重ねる（fv-sp.jpg は 750x1173 / 本文は上から67%で終わる想定） */
  .p-fv__buttons {
    left: 4.7%;
    bottom: 5%;
    flex-direction: column-reverse;
    gap: clamp(12px, 3.6vw, 20px);
    width: 90.8%;
  }

  .p-fv__button {
    width: 100%;
  }

  /* ---- message ---- */
  .p-message {
    padding: 56px 0 48px;
  }

  .p-message .c-heading {
    margin-top: 20px;
  }

  .p-message__bubbles {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    margin-top: 40px;
  }

  .p-message__bubbles .c-bubble {
    width: 86%;
    flex: 0 0 auto;
    min-height: 74px;
    font-size: clamp(19px, 4.9vw, 23px);
  }

  .p-message__bubbles .c-bubble:nth-child(1) { margin: 0 0 0 auto; }
  .p-message__bubbles .c-bubble:nth-child(2) { margin: 0 auto 0 0; }
  .p-message__bubbles .c-bubble:nth-child(3) { margin: 0 0 0 auto; }

  .p-message__bubbles .c-bubble:nth-child(1)::before,
  .p-message__bubbles .c-bubble:nth-child(3)::before {
    left: auto;
    right: 18%;
  }

  .p-message__bubbles .c-bubble:nth-child(1)::after,
  .p-message__bubbles .c-bubble:nth-child(3)::after {
    left: auto;
    right: 26%;
  }

  .p-message__bubbles .c-bubble:nth-child(2)::before {
    right: auto;
    left: 18%;
  }

  .p-message__bubbles .c-bubble:nth-child(2)::after {
    right: auto;
    left: 26%;
  }

  .p-message__illust {
    margin-top: -10px;
    width: min(100%, 420px);
  }

  .p-message .c-lead {
    margin-top: 32px;
    text-align: left;
  }

  .p-message__story {
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
  }

  .p-message__photo,
  .p-message__text {
    flex: 0 0 auto;
    width: 100%;
  }

  .p-message__values {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 32px;
  }

  .p-message__values li {
    width: 62%;
    height: auto;
    aspect-ratio: 1;
    align-self: flex-start;
  }

  .p-message__values li + li {
    margin-top: -14%;
  }

  .p-message__values li:nth-child(2) {
    align-self: flex-end;
  }

  .p-message__closing {
    margin-top: 32px;
    text-align: left;
  }

  /* ---- service ---- */
  .p-service {
    padding: 56px 0 56px;
  }

  /* 装飾ラインは画面幅に比例させ、見出し・ラベルと重ならない位置に置く */
  /* 装飾ラインは画面内に全体が収まるサイズ・位置にする（見切れ防止） */
  .p-service__deco--left {
    width: min(59vw, 260px);
    height: min(25.6vw, 113px);
    left: max(-21vw, -84px);
    top: max(-3.6vw, -16px);
    transform: rotate(-27deg);
  }

  .p-service__deco--right {
    width: 380px;
    height: 134px;
    right: -120px;
    bottom: -6px;
  }

  .p-service .c-lead,
  .p-service .c-heading {
    margin-top: 24px;
  }

  .p-service .c-lead {
    text-align: left;
  }

  .p-service__cards {
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
  }

  .p-service__card {
    flex: 0 0 auto;
  }

  /* ---- why us ---- */
  .p-whyus {
    padding: 56px 0 56px;
  }

  .p-whyus .c-heading,
  .p-whyus .c-lead {
    margin-top: 24px;
  }

  .p-whyus .c-lead {
    text-align: left;
  }

  .p-whyus__cards {
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
  }

  .p-whyus__card {
    flex: 0 0 auto;
    padding: 24px 18px 28px;
  }

  .p-whyus__stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
  }

  .p-whyus__stat {
    width: min(100%, 330px);
    flex: 0 0 auto;
  }

  /* ---- target ---- */
  .p-target {
    padding: 56px 0 64px;
  }

  /* SPも左右に余白をとって装飾イラストを配置する（デザイン準拠） */
  .p-target > .l-inner {
    width: min(100% - 100px, 1312px);
  }

  .p-target__illust {
    width: 100%;
    left: 0;
    right: auto;
  }

  .p-target__illust--left img:nth-child(1) {
    top: 16%;
    left: auto;
    right: 1%;
    width: 12%;
  }

  .p-target__illust--left img:nth-child(2) {
    top: 40%;
    left: 1%;
    width: 11.5%;
  }

  .p-target__illust--right img:nth-child(1) {
    top: 56%;
    left: auto;
    right: 1%;
    width: 11.5%;
  }

  .p-target__illust--right img:nth-child(2) {
    top: 82%;
    right: auto;
    left: 1%;
    width: 12%;
    transform: none;
  }

  .p-target__cards {
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
  }

  .p-target__card {
    flex: 0 0 auto;
    min-height: 0;
    padding: 28px 22px 32px;
  }

  /* ---- voice ---- */
  .p-voice {
    padding: 56px 0;
  }

  .p-voice .c-heading,
  .p-voice__list {
    margin-top: 24px;
  }

  .p-voice__list {
    gap: 24px;
  }

  .p-voice__item {
    gap: 12px;
  }

  .p-voice__avatar {
    flex: 0 0 76px;
    width: 76px;
  }

  .p-voice__balloon {
    min-height: 0;
    padding: 18px 20px;
    line-height: 1.7;
  }

  /* ---- profile ---- */
  .p-profile {
    padding: 56px 0 64px;
  }

  .p-profile .c-label {
    text-align: center;
  }

  .p-profile__body {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-top: 24px;
  }

  .p-profile__photo {
    flex: 0 0 auto;
    width: min(100%, 411px);
  }

  .p-profile__name {
    text-align: center;
  }

  .p-profile__insta {
    margin-inline: auto;
  }

  /* ---- Q&A ---- */
  .p-faq {
    padding: 56px 0 64px;
  }

  .p-faq::before {
    background-size: 200% auto;
  }

  .p-faq .c-heading {
    margin-top: 24px;
  }

  .p-faq__list {
    gap: 16px;
    margin-top: 32px;
  }

  .p-faq__item {
    min-height: 0;
    padding: 20px 20px 24px;
  }

  .p-faq__q,
  .p-faq__a {
    line-height: 1.8;
  }

  .p-faq__a {
    margin-top: 8px;
  }

  /* ---- flow ---- */
  .p-flow {
    padding: 56px 0 56px;
  }

  .p-flow .c-heading {
    margin-top: 24px;
  }

  .p-flow__list {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 32px;
  }

  .p-flow__item {
    flex: 0 0 auto;
    width: min(100%, 340px);
  }

  .p-flow__icon {
    width: 180px;
    height: 180px;
  }

  .p-flow__item h3 {
    line-height: 1.8;
    margin-top: 16px;
  }

  .p-flow__item p {
    text-align: center;
  }

  /* ---- contact ---- */
  .p-contact {
    padding: 56px 0 64px;
  }

  .p-contact .c-heading {
    margin-top: 24px;
  }

  .p-contact__note {
    margin-top: 28px;
  }

  .p-contact__button img {
    width: 100%;
  }

  /* SPでは日本語が不自然に途切れないよう強制改行を解除する */
  .c-heading br,
  .c-lead br,
  .p-message__text br,
  .p-message__closing br,
  .p-service__card p br,
  .p-whyus__card > p:last-child br,
  .p-target__card p br,
  .p-voice__balloon br,
  .p-profile__text > p br,
  .p-flow__item p br,
  .p-faq__a br,
  .p-contact__note br {
    display: none;
  }

  .p-profile__name em {
    display: inline-block;
  }

  /* ---- お問い合わせページ ---- */
  .p-page-head {
    padding: 48px 0 40px;
  }

  .p-page-head .c-lead {
    text-align: left;
  }

  .p-contact-form {
    padding-bottom: 72px;
    background: linear-gradient(var(--c-cream) 0 60px, #fff 60px);
  }

  .p-contact-form__card {
    padding: 32px 20px 36px;
  }

  .p-contact-form__note {
    text-align: left;
  }

  .p-contact-form__note br {
    display: none;
  }

  .wpcf7-form > p {
    margin-bottom: 26px;
  }

  /* ---- フッター・下層 ---- */
  .site-footer {
    padding: 40px 0 32px;
  }

  .site-footer__nav ul {
    gap: 10px 18px;
  }

  .page-main,
  .single-main,
  .blog-main,
  .archive-main {
    padding: 48px 0 72px;
  }
}
