/* =========================================================
   私たちについて（page-about.php）
   ========================================================= */
.about { overflow: hidden; }

/* ---------- 縦書き ---------- */
.about-vertical {
  writing-mode: vertical-rl; font-size: 22px; line-height: 1.6; font-weight: 600; letter-spacing: 0.3em;
}
.about-vertical span { display: block; }
.about-vertical span + span { margin-right: 0.5em; }
.about-vertical--end { text-align: end; }

/* ---------- 本文（中央揃え） ---------- */
.about-text { position: relative; z-index: 1; text-align: center; font-size: 15px; line-height: 1.6; letter-spacing: 0.15em; }
.about-text p + p { margin-top: 1.6em; }
.about-section-lead { margin-top: 56px; font-size: 15px; line-height: 1.8; letter-spacing: 0.1em; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 700 / 475; object-fit: cover; }

/* ---------- ページ見出し ---------- */
.about-head { position: relative; height: 320px; }
.about-head__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.about-head__cloud { position: absolute; z-index: 0; left: 0; top: -4px; width: 510px; height: auto; pointer-events: none; }
.about-head__inner {
  position: relative; z-index: 1; max-width: var(--content); height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  box-sizing: content-box; display: flex; flex-direction: column; justify-content: center;
}
.about-head__title { font-size: 30px; line-height: 1.4; font-weight: 600; letter-spacing: 0.15em; }
.about-head__lead { margin-top: 44px; font-size: 16px; line-height: 1.85; letter-spacing: 0.1em; font-weight: 600; }
.about .breadcrumb { position: relative; z-index: 1; padding-top: 32px; }
.about .breadcrumb ol { font-size: 14px; letter-spacing: 0.1em; color: var(--c-black); }
.about .breadcrumb li + li::before { content: ">"; margin: 0 16px; color: inherit; }
.about .breadcrumb a { text-decoration: none; }

/* ---------- 導入 ---------- */
.about-intro { position: relative; padding: 56px var(--gutter) 88px; }
.about-intro__circle { position: absolute; left: -344px; top: 264px; width: 572px; height: auto; pointer-events: none; }
.about-intro__wave { position: absolute; right: -60px; top: 690px; width: 471px; height: auto; transform: scaleX(-1); pointer-events: none; }
.about-intro__row {
  position: relative; z-index: 1; display: flex; justify-content: flex-end; align-items: flex-start; gap: 150px;
  max-width: var(--content); margin: 0 auto;
}
.about-intro__catch { margin-top: 60px; }
.about-intro__photo { flex: 0 0 700px; }
.about-intro__text { margin-top: 74px; }

/* ---------- 3つのこだわり ---------- */
.about-policy { padding: 88px var(--gutter) 128px; background: url("../img/about/about-washi.jpg") center / cover; }
.about-policy .section__head, .about-support .section__head, .about-company .section__head { margin-bottom: 72px; }
.about-policy .section__title, .about-support .section__title, .about-company .section__title { font-size: 30px; }
.about-policy__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: var(--content); margin: 0 auto; }
.about-policy__card { padding: 40px 40px 44px; background: var(--c-white); text-align: center; }
.about-policy__num { margin: 0 auto; }
.about-policy__title { margin-top: 22px; font-size: 20px; line-height: 1.6; font-weight: 600; letter-spacing: 0.1em; }
.about-policy__text { margin-top: 24px; font-size: 15px; line-height: 1.6; letter-spacing: 0.1em; }

/* ---------- サポート ---------- */
.about-support { padding: 80px var(--gutter) 88px; }
.about-support__wave { position: absolute; left: 0; top: 46px; width: 471px; height: auto; pointer-events: none; }
.about-support__circle { position: absolute; right: -200px; bottom: -86px; width: 548px; height: auto; pointer-events: none; z-index: 1; }
.about-support__row { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 150px; max-width: var(--content); margin: 0 auto; }
.about-support__photo { flex: 0 0 700px; }
.about-support__catch { margin-top: 56px; }
.about-support__text { margin-top: 76px; }

/* ---------- 会社概要 ---------- */
.about-company { padding: 88px var(--gutter) 120px; background: url("../img/about/about-washi.jpg") center / cover; }
.about-company__box { max-width: var(--content); margin: 0 auto; padding: 50px 24px 60px; background: var(--c-white); box-sizing: border-box; }
.about-company__list { max-width: 840px; margin: 0 auto; }
.about-company__list div {
  display: grid; grid-template-columns: 190px 1fr; align-items: center; min-height: 80px; padding: 18px 16px;
  border-bottom: 1px dotted #999; box-sizing: border-box;
}
.about-company__list dt { font-size: 15px; letter-spacing: 0.1em; }
.about-company__list dd { font-size: 15px; line-height: 1.8; letter-spacing: 0.08em; }
.about-company__list dd a { color: inherit; }
.about-company__note { white-space: nowrap; }

/* ---------- お問い合わせ誘導 ---------- */
.about-cta { position: relative; padding: 80px var(--gutter); text-align: center; overflow: hidden; }
.about-cta__cloud { position: absolute; top: 0; height: 100%; width: auto; max-width: none; pointer-events: none; }
.about-cta__cloud--l { left: 0; }
.about-cta__cloud--r { right: 0; }
.about-cta__inner { position: relative; z-index: 1; }
.about-cta__catch { display: inline-block; font-size: 24px; }
.about-cta__text { margin-top: 64px; font-size: 16px; line-height: 1.6; letter-spacing: 0.1em; }
.about-cta__btn { width: 315px; max-width: 100%; height: 56px; margin-top: 40px; font-size: 16px; letter-spacing: 0.1em; }

/* ---------- フェードアップ（main.css と同じ動き） ---------- */
.js :is(.about-head__inner, .about-intro__row > *, .about-text, .about-policy__card, .about-support__row > *, .about-company__box, .about-cta__inner > *) {
  opacity: 0; transform: translateY(32px);
  transition: opacity 1s cubic-bezier(.2,.7,.3,1), transform 1s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--fade-delay, 0s);
}
.js :is(.about-head__inner, .about-intro__row > *, .about-text, .about-policy__card, .about-support__row > *, .about-company__box, .about-cta__inner > *):is(.is-in),
.fade-fallback :is(.about-head__inner, .about-intro__row > *, .about-text, .about-policy__card, .about-support__row > *, .about-company__box, .about-cta__inner > *) { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js :is(.about-head__inner, .about-intro__row > *, .about-text, .about-policy__card, .about-support__row > *, .about-company__box, .about-cta__inner > *) { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 1199px) {
  .about-intro__row, .about-support__row { gap: 72px; }
  .about-intro__photo, .about-support__photo { flex: 0 1 600px; }
  .about-policy__card { padding: 36px 20px 40px; }
  .about-policy__title { font-size: 18px; }
}
@media (max-width: 1023px) {
  .about-intro__row, .about-support__row { justify-content: center; gap: 48px; }
  .about-intro__photo, .about-support__photo { flex: 0 1 520px; }
  .about-vertical { font-size: 20px; }
  .about-policy__grid { grid-template-columns: 1fr; max-width: 560px; }
  .about-support__circle { width: 380px; right: -180px; }
}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 767px) {
  .about-vertical { font-size: 17px; letter-spacing: 0.24em; }
  .about-text { font-size: 13px; line-height: 1.9; letter-spacing: 0.05em; }
  .about-text br { display: none; }
  .about-section-lead { margin-top: 24px; font-size: 13px; }
  .about-policy .section__head, .about-support .section__head, .about-company .section__head { margin-bottom: 40px; }
  .about-policy .section__title, .about-support .section__title, .about-company .section__title { font-size: 22px; line-height: 1.5; }

  .about-head { height: auto; padding-top: 180px; }
  .about-head__bg { height: 180px; bottom: auto; object-position: 82% center; }
  .about-head__cloud { top: 150px; width: 300px; }
  .about-head__inner { height: auto; padding: 28px var(--gutter) 0; }
  .about-head__title { font-size: 22px; }
  .about-head__lead { margin-top: 16px; font-size: 13px; line-height: 1.9; font-weight: 500; }
  .about-head__lead br { display: none; }
  .about .breadcrumb { padding-top: 20px; }
  .about .breadcrumb ol { font-size: 12px; }
  .about .breadcrumb li + li::before { margin: 0 10px; }

  .about-intro { padding: 40px var(--gutter) 64px; }
  .about-intro__row { flex-direction: column; align-items: center; gap: 32px; }
  .about-intro__catch { margin-top: 0; }
  .about-intro__photo, .about-support__photo { flex: none; width: 100%; }
  .about-intro__text { margin-top: 32px; text-align: left; }
  .about-intro__circle { width: 300px; left: -220px; top: 120px; }
  .about-intro__wave { width: 260px; right: -60px; top: auto; bottom: 24px; }

  .about-policy { padding: 56px var(--gutter) 64px; }
  .about-policy__card { padding: 32px 20px 32px; }
  .about-policy__title { margin-top: 16px; font-size: 18px; }
  .about-policy__text { margin-top: 16px; font-size: 13px; text-align: left; }

  .about-support { padding: 72px var(--gutter) 64px; }
  .about-support__wave { width: 240px; top: 20px; }
  .about-support__row { flex-direction: column-reverse; align-items: center; gap: 32px; }
  .about-support__catch { margin-top: 0; }
  .about-support__text { margin-top: 32px; text-align: left; }
  .about-support__circle { z-index: 0; width: 200px; right: -120px; bottom: -110px; }
  .about-support__text { margin-bottom: 40px; }

  .about-company { padding: 56px var(--gutter) 64px; }
  .about-company__box { padding: 12px 20px 24px; }
  .about-company__list div { grid-template-columns: 1fr; gap: 4px; min-height: 0; padding: 16px 0; }
  .about-company__list dt { font-size: 12px; color: var(--c-maroon); font-weight: 600; }
  .about-company__list dd { font-size: 14px; }
  .about-company__note { white-space: normal; }

  .about-cta { padding: 56px var(--gutter) 64px; }
  .about-cta__cloud { height: 60%; }
  .about-cta__cloud--l { top: 0; left: -120px; }
  .about-cta__cloud--r { top: auto; bottom: 0; right: -140px; }
  .about-cta__catch { font-size: 20px; }
  .about-cta__text { margin-top: 32px; font-size: 13px; line-height: 1.9; }
  .about-cta__btn { height: 52px; margin-top: 28px; font-size: 14px; }
}
