/*
Theme Name: Akko's Mind Travel
Theme URI: https://akikoagarie.com/
Description: オリジナルテーマ – akikoagarie.com パーソナルメディア
Author: Akiko Agarie
Version: 1.0.0
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ============================================================
   1. カスタムプロパティ
   ============================================================ */
:root {
  --navy:        #244966;
  --slate:       #4a6a82;
  --teal:        #1f93a7;
  --teal-dark:   #176e7d;
  --orange:      #f86828;
  --orange-dark: #d45015;
  --parchment:   #fdfdfd;
  --ice:         #f0fafc;
  --sky:         #87e7ff;
  --border:      hsla(0,0%,78%,.5);
  --border-teal: rgba(31,147,167,.35);
  --border-input: #dcdcdc;

  --font-body:     'Noto Sans JP', 'Inter', sans-serif;
  --font-display:  'Cormorant Garamond', 'Noto Serif JP', '游明朝', serif;
  --font-serif-jp: 'Noto Serif JP', '游明朝', serif;
  --font-script:   'Great Vibes', cursive;
  --font-label:    'Inter', sans-serif;

  --max-w:   1180px;
  --read-w:  720px;
  --prof-w:  780px;
  --pad-x:   6vw;
  --sec-y:   clamp(58px, 9vw, 108px);
}

/* ============================================================
   2. リセット・ベース
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--navy);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--teal);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: var(--teal-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

::selection { background: rgba(31,147,167,.2); }

input, textarea, select, button { font-family: inherit; }

/* ============================================================
   3. レイアウトユーティリティ
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--read  { max-width: var(--read-w); margin-inline: auto; padding-inline: var(--pad-x); }
.container--prof  { max-width: var(--prof-w); margin-inline: auto; padding-inline: var(--pad-x); }
.container--narrow { max-width: 900px; margin-inline: auto; padding-inline: var(--pad-x); }

/* ============================================================
   4. ヘッダー
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 3vw, 22px) var(--pad-x);
  background: rgba(253,253,253,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.site-header.is-hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  pointer-events: none;
}
.site-header.is-hero .site-branding,
.site-header.is-hero .main-nav a,
.site-header.is-hero .main-nav span,
.site-header.is-hero .nav-current {
  pointer-events: auto;
}

.site-branding {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.3vw, 21px);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--navy);
  text-decoration: none;
  transition: color .2s;
}
.site-header.is-hero .site-branding { color: #fff; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 34px);
  list-style: none;
}

.main-nav a,
.main-nav .nav-current {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color .2s;
}
.main-nav a:hover { color: var(--teal); }
.main-nav .nav-current { color: var(--teal); pointer-events: none; }

.site-header.is-hero .main-nav a { color: rgba(255,255,255,.92); }
.site-header.is-hero .main-nav a:hover { color: #fff; }

/* ============================================================
   5. ヒーロー（フロントページ）
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(36,73,102,.45) 0%,
    rgba(36,73,102,.22) 45%,
    rgba(36,73,102,.55) 88%,
    rgba(36,73,102,.35) 100%);
  pointer-events: none;
}

.hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}

.hero__script {
  font-family: var(--font-script);
  font-size: clamp(36px, 7.5vw, 84px);
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 28px rgba(36,73,102,.45);
}

.hero__sub {
  font-family: var(--font-serif-jp);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: .22em;
  color: rgba(255,255,255,.94);
  margin-top: clamp(18px, 3vw, 26px);
  text-shadow: 0 1px 16px rgba(36,73,102,.7);
}

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0));
  pointer-events: none;
}

@media (max-width: 480px) {
  .hero__sub { letter-spacing: .14em; }
}

/* ============================================================
   6. Aboutストリップ（ホーム）
   ============================================================ */
.about-strip {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(64px, 10vw, 110px) var(--pad-x) clamp(60px, 9vw, 100px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  justify-content: center;
}

.about-strip__face {
  width: clamp(128px, 32vw, 168px);
  height: clamp(128px, 32vw, 168px);
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.about-strip__body {
  flex: 1 1 380px;
  min-width: 300px;
}

.about-strip__name {
  font-family: var(--font-display);
  font-size: clamp(25px, 3.6vw, 34px);
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--navy);
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.about-strip__name span {
  font-size: 22px;
  font-style: italic;
  color: var(--slate);
}

.about-strip__text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
  margin: 0 0 22px;
  word-break: auto-phrase;
}

.about-strip__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  border-bottom: 1px solid rgba(31,147,167,.4);
  padding-bottom: 3px;
}
.about-strip__link:hover {
  color: var(--teal-dark);
  border-bottom-color: var(--teal-dark);
}

@media (max-width: 768px) {
  .about-strip { flex-direction: column; align-items: center; text-align: center; }
  .about-strip__body { min-width: 0; text-align: center; }
  .about-strip__link { margin-inline: auto; }
}

/* ============================================================
   7. セクションラベル（Kicker）
   ============================================================ */
.kicker {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 16px;
  display: block;
}
.kicker--sky { color: var(--sky); }

/* ============================================================
   8. 記事カード共通（ホーム・ブログ一覧・アーカイブ）
   ============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(40px, 6vw, 56px) 36px;
}

.post-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-card__thumb {
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--ice);
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-card__thumb img { transform: scale(1.03); }

.post-card__meta {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.post-card__title {
  font-family: var(--font-serif-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--navy);
  word-break: auto-phrase;
  line-break: strict;
  transition: color .2s;
}
.post-card:hover .post-card__title { color: var(--teal); }

@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   9. ブログ一覧タイトル帯
   ============================================================ */
.blog-title-section {
  padding: clamp(58px, 9vw, 92px) var(--pad-x) 0;
}
.blog-title-section h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  margin: 0 0 20px;
  color: var(--navy);
}
.blog-title-section p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--slate);
  max-width: 560px;
  word-break: auto-phrase;
}

/* ============================================================
   10. カテゴリタブ
   ============================================================ */
.cat-tabs {
  padding: clamp(34px, 5vw, 48px) var(--pad-x) 0;
}
.cat-tabs__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
}

.cat-tab {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid hsla(0,0%,78%,.7);
  background: transparent;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cat-tab:hover { color: var(--teal); border-color: var(--teal); }
.cat-tab.is-active,
.cat-tab[aria-current="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ============================================================
   11. 注目記事（ブログ一覧・Featured）
   ============================================================ */
.featured-post {
  padding: clamp(44px, 6vw, 64px) var(--pad-x) 0;
}
.featured-post__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.featured-post__thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.featured-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.featured-post__inner:hover .featured-post__thumb img { transform: scale(1.03); }

.featured-post__meta {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.featured-post__title {
  font-family: var(--font-serif-jp);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 500;
  line-height: 1.65;
  margin: 0 0 18px;
  color: var(--navy);
  word-break: auto-phrase;
  line-break: strict;
  transition: color .2s;
}
.featured-post__inner:hover .featured-post__title { color: var(--teal); }
.featured-post__excerpt {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--slate);
  margin: 0 0 20px;
  word-break: auto-phrase;
}
.featured-post__date {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--teal-dark);
}

/* ============================================================
   12. ページネーション
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: clamp(56px, 8vw, 76px) var(--pad-x) 0;
}
.pagination a,
.pagination span,
.pagination .page-numbers {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: .08em;
  border: 1px solid var(--border);
  color: var(--slate);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.pagination a:hover { color: var(--teal); border-color: var(--teal); }
.pagination .current,
.pagination .page-numbers.current {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.pagination .dots { border: none; cursor: default; }

/* ============================================================
   13. Substackニュースレター帯
   ============================================================ */
.newsletter-band {
  background: var(--ice);
  margin-top: clamp(64px, 10vw, 104px);
  padding: clamp(58px, 9vw, 88px) var(--pad-x);
  text-align: center;
}
.newsletter-band__inner { max-width: 620px; margin-inline: auto; }
.newsletter-band h2 {
  font-family: var(--font-display);
  font-size: clamp(25px, 3.6vw, 34px);
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--navy);
}
.newsletter-band p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--slate);
  margin: 0 0 30px;
  word-break: auto-phrase;
}

/* ============================================================
   14. CTAボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 15px clamp(30px, 8vw, 42px);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); color: #fff; }
.btn--teal-outline { background: transparent; color: var(--teal); border: 1px solid var(--teal); }
.btn--teal-outline:hover { background: var(--teal); color: #fff; }

@media (max-width: 768px) {
  .btn--full-sm { width: 100%; }
}

/* ============================================================
   15. フッター
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: clamp(60px, 9vw, 88px) var(--pad-x) 40px;
}
.site-footer__inner { max-width: var(--max-w); margin-inline: auto; }

.footer-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255,255,255,.25);
  padding: clamp(24px, 5vw, 34px) clamp(22px, 5vw, 36px);
  margin-bottom: clamp(44px, 7vw, 64px);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.footer-banner:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.04);
  color: inherit;
}
.footer-banner__body { flex: 1 1 300px; }
.footer-banner__label { font-family: var(--font-label); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sky); margin-bottom: 10px; }
.footer-banner__title { font-family: var(--font-display); font-size: clamp(21px, 2.8vw, 26px); color: #fff; margin-bottom: 12px; }
.footer-banner__desc { font-family: var(--font-serif-jp); font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.8); max-width: 640px; word-break: auto-phrase; }
.footer-banner__cta { font-family: var(--font-label); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-top: 20px; flex-shrink: 0; }

.footer-mid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand { font-family: var(--font-display); font-size: 20px; color: #fff; text-decoration: none; }
.footer-brand:hover { color: #fff; }
.footer-contact-note { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 10px; }
.footer-contact-note a { color: var(--sky); }
.footer-contact-note a:hover { color: #fff; }

.footer-sns {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-sns a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.75);
}
.footer-sns a:hover { color: #fff; }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 44px;
  padding-top: 24px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
}

@media (max-width: 768px) {
  .footer-banner { flex-direction: column; }
}

/* ============================================================
   16. Aboutページ
   ============================================================ */
.about-opening {
  padding: clamp(58px, 9vw, 96px) var(--pad-x) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 6vw, 64px);
  align-items: center;
}
.about-opening__kicker { font-family: var(--font-label); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 22px; display: block; }
.about-opening__script { font-family: var(--font-script); font-size: clamp(30px, 6vw, 52px); color: var(--teal); line-height: 1.25; margin-bottom: 26px; }
.about-opening h1 {
  font-family: var(--font-serif-jp);
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 500;
  line-height: 1.7;
  margin: 0 0 20px;
  color: var(--navy);
  word-break: auto-phrase;
  line-break: strict;
}
.about-opening__lead { font-size: 15.5px; line-height: 1.85; color: var(--slate); word-break: auto-phrase; }
.about-opening__portrait {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
}

.about-chapter {
  padding: clamp(66px, 10vw, 112px) var(--pad-x) 0;
}
.about-chapter h2 {
  font-family: var(--font-serif-jp);
  font-size: clamp(24px, 2.8vw, 31px);
  font-weight: 500;
  line-height: 1.65;
  margin: 0 0 36px;
  color: var(--navy);
  word-break: auto-phrase;
  line-break: strict;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.about-chapter p {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--slate);
  margin: 0 0 26px;
  word-break: auto-phrase;
}

.about-bleed {
  margin-top: clamp(52px, 8vw, 88px);
  width: 100%;
  height: clamp(240px, 46vh, 520px);
  object-fit: cover;
}

.about-dots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 36px;
  margin-bottom: 56px;
}
.about-dot {
  border-top: 1px solid var(--border-teal);
  padding-top: 20px;
}
.about-dot__from { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.about-dot__skill { font-family: var(--font-serif-jp); font-size: 17px; font-weight: 500; line-height: 1.7; color: var(--navy); word-break: auto-phrase; }

.about-statement {
  font-family: var(--font-serif-jp);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--teal);
  margin-bottom: 32px;
  word-break: auto-phrase;
  line-break: strict;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(38px, 6vw, 52px) 44px;
}
.about-value__no {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 18px;
}
.about-value h3 {
  font-family: var(--font-serif-jp);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 14px;
  color: var(--navy);
  word-break: auto-phrase;
}
.about-value p { font-size: 14px; line-height: 1.85; color: var(--slate); word-break: auto-phrase; }

.timeline { display: flex; flex-direction: column; }
.timeline__row {
  display: grid;
  grid-template-columns: minmax(72px, 108px) 1fr;
  gap: clamp(14px, 3vw, 28px);
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.timeline__year { font-family: var(--font-label); font-size: 12.5px; letter-spacing: .1em; color: var(--teal-dark); }
.timeline__text { font-size: 14.5px; line-height: 1.85; color: var(--slate); word-break: auto-phrase; }

.now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(34px, 5vw, 44px) 40px;
}
.now-item__label { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px; }
.now-item h3 { font-family: var(--font-serif-jp); font-size: 18.5px; font-weight: 500; line-height: 1.6; margin: 0 0 14px; color: var(--navy); word-break: auto-phrase; }
.now-item p { font-size: 14px; line-height: 1.9; color: var(--slate); word-break: auto-phrase; }

.credentials { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 44px); }
.credential {
  display: grid;
  grid-template-columns: minmax(42px, 64px) 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
}
.credential__no { font-family: var(--font-display); font-size: 26px; color: var(--teal); line-height: 1.2; }
.credential h3 { font-family: var(--font-serif-jp); font-size: 18.5px; font-weight: 500; margin: 0 0 12px; color: var(--navy); word-break: auto-phrase; }
.credential p { font-size: 14.5px; line-height: 1.9; color: var(--slate); word-break: auto-phrase; }

.about-cta-section {
  max-width: 560px;
  margin-bottom: clamp(48px, 7vw, 68px);
}
.about-cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 500;
  margin: 0 0 16px;
  color: #fff;
  word-break: auto-phrase;
}
.about-cta-section p { font-size: 14.5px; line-height: 1.85; color: rgba(255,255,255,.65); margin: 0 0 28px; word-break: auto-phrase; }

/* ============================================================
   17. Contactページ
   ============================================================ */
.contact-lead {
  padding: clamp(58px, 9vw, 92px) var(--pad-x) 0;
  text-align: center;
}
.contact-lead__script {
  font-family: var(--font-script);
  font-size: clamp(32px, 6.5vw, 56px);
  color: var(--teal);
  line-height: 1.2;
  margin-bottom: 24px;
}
.contact-lead p { font-size: 15.5px; line-height: 1.95; color: var(--slate); word-break: auto-phrase; }

.contact-topics {
  padding: clamp(48px, 8vw, 76px) var(--pad-x) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(28px, 5vw, 36px) 32px;
}
.contact-topic {
  border-top: 1px solid var(--border-teal);
  padding-top: 20px;
}
.contact-topic__label { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.contact-topic__title { font-family: var(--font-serif-jp); font-size: 16.5px; font-weight: 500; line-height: 1.7; color: var(--navy); margin-bottom: 10px; word-break: auto-phrase; }
.contact-topic p { font-size: 13.5px; line-height: 1.85; color: var(--slate); word-break: auto-phrase; }

.contact-form-section {
  background: var(--ice);
  margin-top: clamp(58px, 9vw, 92px);
  padding: clamp(56px, 9vw, 88px) var(--pad-x) clamp(60px, 9vw, 96px);
}
.contact-form-inner { max-width: 680px; margin-inline: auto; }
.contact-form-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 500;
  margin: 0 0 44px;
  color: var(--navy);
}

.contact-form { display: flex; flex-direction: column; gap: clamp(20px, 4vw, 26px); }
.contact-form__field { display: flex; flex-direction: column; gap: 8px; }
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--navy);
}
.contact-form label .required { color: var(--orange); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-input);
  border-radius: 0;
  background: #fff;
  font-size: 16px;
  color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31,147,167,.08);
}
.contact-form textarea { resize: vertical; line-height: 1.8; }
.contact-form__note { font-size: 12.5px; line-height: 1.8; color: var(--slate); }
.contact-form__success {
  display: none;
  border-left: 2px solid var(--teal);
  padding: 4px 0 4px 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--navy);
}
.contact-form__success.is-visible { display: block; }

.contact-sns {
  padding: clamp(56px, 9vw, 88px) var(--pad-x) 0;
  text-align: center;
}
.contact-sns p { font-size: 14.5px; line-height: 1.9; color: var(--slate); margin: 0 0 28px; word-break: auto-phrase; }
.contact-sns__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  list-style: none;
}
.contact-sns__links a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--slate);
  border-bottom: 1px solid hsla(0,0%,78%,.6);
  padding-bottom: 3px;
}
.contact-sns__links a:hover { color: var(--teal); border-bottom-color: var(--teal); }

/* ============================================================
   18. 記事詳細（single.php）
   ============================================================ */
.single-header {
  padding: clamp(58px, 9vw, 92px) var(--pad-x) 0;
}
.single-header__meta {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 20px;
}
.single-header h1 {
  font-family: var(--font-serif-jp);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--navy);
  word-break: auto-phrase;
  line-break: strict;
  margin: 0 0 20px;
}
.single-header__lead { font-size: 15.5px; line-height: 1.95; color: var(--slate); word-break: auto-phrase; }

.single-eyecatch {
  width: 100%;
  height: clamp(260px, 50vh, 560px);
  object-fit: cover;
  margin: clamp(36px, 6vw, 56px) 0;
}

/* 本文 */
.entry-content {
  padding: 0 var(--pad-x);
  word-break: auto-phrase;
}

.entry-content p {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--slate);
  margin: 0 0 26px;
  word-break: auto-phrase;
}

.entry-content h2 {
  font-family: var(--font-serif-jp);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--navy);
  margin: clamp(48px, 7vw, 64px) 0 24px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  word-break: auto-phrase;
  line-break: strict;
}

.entry-content h3 {
  font-family: var(--font-serif-jp);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--navy);
  margin: clamp(36px, 5vw, 44px) 0 18px;
  word-break: auto-phrase;
}

.entry-content blockquote {
  font-family: var(--font-serif-jp);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.85;
  color: var(--navy);
  border-left: 2px solid var(--teal);
  padding-left: 24px;
  margin: clamp(36px, 5vw, 48px) 0;
  background: none;
}
.entry-content blockquote p { color: var(--navy); font-size: inherit; line-height: inherit; margin: 0; }
.entry-content blockquote cite { display: none; }

.entry-content img,
.entry-content figure {
  max-width: 100%;
  margin: clamp(36px, 5vw, 48px) 0;
  border-radius: 0 !important;
}
.entry-content figure img { width: 100%; }
.entry-content figcaption {
  font-size: 13px;
  color: var(--slate);
  margin-top: 12px;
}

.entry-content ul,
.entry-content ol {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--slate);
  padding-left: 1.4em;
  margin: 0 0 26px;
}
.entry-content li + li { margin-top: 10px; }

.entry-content a {
  color: var(--teal);
  border-bottom: 1px solid rgba(31,147,167,.4);
}
.entry-content a:hover { color: var(--teal-dark); border-bottom-color: var(--teal-dark); }

.entry-content strong { color: var(--navy); font-weight: 600; }

.entry-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: clamp(48px, 7vw, 64px) 0;
}

.entry-content code {
  font-family: 'Courier New', Courier, monospace;
  font-size: .9em;
  background: var(--ice);
  padding: .1em .3em;
}

/* Gutenberg wide / full */
.entry-content .alignwide {
  max-width: 1000px;
  margin-inline: auto;
}
.entry-content .alignfull {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  max-width: none;
}
.entry-content .wp-block-image.alignfull img { width: 100%; }
.entry-content .wp-block-image { border-radius: 0 !important; }
.entry-content .wp-block-image img { border-radius: 0 !important; }

/* 記事フッター */
.single-footer {
  padding: clamp(48px, 7vw, 64px) var(--pad-x) 0;
  border-top: 1px solid var(--border);
  margin-top: clamp(48px, 7vw, 64px);
}
.single-footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.single-footer__tags a {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  border: 1px solid rgba(31,147,167,.35);
  padding: 6px 14px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.single-footer__tags a:hover { color: var(--teal); border-color: var(--teal); }

.single-share {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 0;
}
.single-share a {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: none;
}
.single-share a:hover { color: var(--teal); }

/* 著者帯 */
.author-band {
  max-width: var(--read-w);
  margin-inline: auto;
  padding: clamp(56px, 8vw, 76px) var(--pad-x) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 4vw, 36px);
}
.author-band__face {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.author-band__body { flex: 1 1 240px; }
.author-band__name { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.author-band__bio { font-size: 13.5px; line-height: 1.8; color: var(--slate); margin-bottom: 12px; word-break: auto-phrase; }
.author-band__link { font-family: var(--font-label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); border-bottom: 1px solid rgba(31,147,167,.4); padding-bottom: 2px; }
.author-band__link:hover { color: var(--teal-dark); border-bottom-color: var(--teal-dark); }

/* 前後記事 */
.post-nav {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(56px, 8vw, 80px) var(--pad-x) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.post-nav__item { border-top: 1px solid var(--border-teal); padding-top: 20px; }
.post-nav__label { font-family: var(--font-label); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.post-nav__title { font-family: var(--font-serif-jp); font-size: 17px; font-weight: 500; line-height: 1.7; color: var(--navy); word-break: auto-phrase; transition: color .2s; }
.post-nav a:hover .post-nav__title { color: var(--teal); }
.post-nav a { text-decoration: none; color: inherit; }

@media (max-width: 640px) {
  .post-nav { grid-template-columns: 1fr; }
}

/* 関連記事帯 */
.related-posts {
  background: var(--ice);
  margin-top: clamp(64px, 10vw, 104px);
  padding: clamp(56px, 9vw, 80px) var(--pad-x);
}
.related-posts h2 {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 40px;
}

/* ============================================================
   19. 404ページ
   ============================================================ */
.error-404 { text-align: center; padding: clamp(80px, 12vw, 140px) var(--pad-x) clamp(80px, 12vw, 140px); }
.error-404__num {
  font-family: var(--font-display);
  font-size: clamp(76px, 16vw, 148px);
  color: var(--teal);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 24px;
}
.error-404__script {
  font-family: var(--font-script);
  font-size: clamp(26px, 4.6vw, 40px);
  color: var(--navy);
  margin-bottom: 28px;
}
.error-404__text { font-size: 15px; line-height: 1.9; color: var(--slate); max-width: 540px; margin: 0 auto 36px; word-break: auto-phrase; }
.error-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.error-404__cats { max-width: var(--max-w); margin: clamp(64px, 10vw, 96px) auto 0; padding-inline: var(--pad-x); }
.error-404__cats-inner { background: var(--ice); padding: clamp(40px, 6vw, 64px) var(--pad-x); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.error-cat { border-top: 1px solid var(--border-teal); padding-top: 20px; }
.error-cat a { font-family: var(--font-serif-jp); font-size: 16px; font-weight: 500; color: var(--navy); display: block; }
.error-cat a:hover { color: var(--teal); }

/* ============================================================
   20. セクション帯の共通パターン
   ============================================================ */
.section-band {
  background: var(--ice);
  padding: clamp(58px, 9vw, 96px) var(--pad-x);
}
.section-band--navy {
  background: var(--navy);
}

/* ============================================================
   21. プルクオート（本文中）
   ============================================================ */
.pullquote {
  font-family: var(--font-serif-jp);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.85;
  color: var(--navy);
  border-left: 2px solid var(--teal);
  padding-left: 24px;
  margin: 0 0 0 0;
  word-break: auto-phrase;
  line-break: strict;
}

/* ============================================================
   22. レスポンシブ
   ============================================================ */
@media (max-width: 768px) {
  .about-opening { grid-template-columns: 1fr; }
  .about-opening__portrait { max-height: 60vw; }
  .post-nav { grid-template-columns: 1fr; }
  .contact-topics { grid-template-columns: 1fr 1fr; }
  .footer-mid { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
  .contact-topics { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: 1fr; }
  .now-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   23. アクセシビリティ・ユーティリティ
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* スキップリンク */
.skip-link {
  position: absolute;
  top: -100%;
  left: 6vw;
  background: var(--teal);
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }
