/*
Theme Name: かっつん福祉サポート
Theme URI: https://katsun-welfare.com
Author: かっつん福祉サポート
Description: 医療・介護・福祉領域に特化したLP型サービスサイト。兵庫県の丹波市・三田市・神戸市を中心に活動。
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: katsun-welfare
*/

/* =====================
   CSS カスタムプロパティ
===================== */
:root {
  --red:        #D92323;
  --red-dark:   #b01b1b;
  --black:      #111111;
  --gray-900:   #1a1a1a;
  --gray-700:   #444444;
  --gray-500:   #888888;
  --gray-200:   #E8E8E8;
  --gray-100:   #F4F4F4;
  --white:      #FFFFFF;

  --font-sans:  'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', 'Meiryo', sans-serif;
  --font-serif: 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', 'Noto Serif JP', serif;

  --max:    1080px;
  --pad:    80px 24px;
  --t:      0.18s ease;
}

/* =====================
   リセット
===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
ul { list-style: none; }

/* =====================
   汎用
===================== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* =====================
   ボタン
===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn--ghost:hover { background: var(--black); color: #fff; }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--ghost-white:hover { background: #fff; color: var(--red); border-color: #fff; }

/* =====================
   ヘッダー
===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.02em;
}
.site-header__logo span { color: var(--red); }
.site-header__logo:hover { opacity: 0.7; color: var(--black); }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
  letter-spacing: 0.04em;
  transition: color var(--t);
}
.site-nav a:hover { color: var(--red); }
.site-nav .btn { padding: 9px 20px; font-size: 0.8rem; margin-left: 8px; }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--black);
  transition: transform 0.22s, opacity 0.22s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 60px 0 0 0;
  background: #fff;
  z-index: 99;
  padding: 32px 24px;
  flex-direction: column;
  border-top: 1px solid var(--gray-200);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-nav a:hover { color: var(--red); }
.mobile-nav .btn { margin-top: 24px; justify-content: center; padding: 15px; font-size: 0.95rem; }

/* =====================
   ヒーロー
===================== */
.hero {
  background: var(--white);
  border-top: 3px solid var(--red);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

/* 右側：薄い赤の斜め帯 */
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 52%; height: 130%;
  background: var(--red);
  clip-path: polygon(16% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.03;
  pointer-events: none;
}

/* 縦ライングリッド */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0.025) 0px,
    rgba(0,0,0,0.025) 1px,
    transparent 1px,
    transparent 80px
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 120px 40px 88px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0 48px;
}

.hero__content { grid-column: 1; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--red);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--black);
  letter-spacing: 0.01em;
}
.hero__title em {
  font-style: normal;
  color: var(--red);
}

.hero__rule {
  width: 40px; height: 1.5px;
  background: var(--red);
  margin: 32px 0;
}

.hero__sub {
  font-size: clamp(0.82rem, 1.4vw, 0.94rem);
  color: var(--gray-700);
  line-height: 2.05;
  max-width: 500px;
  margin-bottom: 40px;
  letter-spacing: 0.03em;
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__location {
  margin-top: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
  padding: 9px 18px;
}
.hero__location-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.hero__side {
  grid-column: 2;
  align-self: end;
  padding-bottom: 2px;
}
.hero__side-text {
  writing-mode: vertical-rl;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(0,0,0,0.1);
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2));
  animation: scrollDown 1.9s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: top; }
  61%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.hero__scroll-label {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(0,0,0,0.2);
  text-transform: uppercase;
}

/* =====================
   セクション見出し
===================== */
.sec-head {
  margin-bottom: 56px;
}
.sec-head--center { text-align: center; }

.sec-head__en {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.sec-head__ja {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* =====================
   3サービス概要
===================== */
.services-intro {
  padding: var(--pad);
  border-bottom: 1px solid var(--gray-200);
}

.services-intro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gray-200);
}

.svc-card {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--gray-200);
  position: relative;
  transition: background var(--t);
}
.svc-card:last-child { border-right: none; }
.svc-card:hover { background: var(--gray-100); }

.svc-card__num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: block;
}

.svc-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--black);
  margin-bottom: 14px;
}

.svc-card__desc {
  font-size: 0.845rem;
  color: var(--gray-700);
  line-height: 1.85;
}

.svc-card__arrow {
  position: absolute;
  bottom: 28px; right: 28px;
  width: 28px; height: 28px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gray-500);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.svc-card:hover .svc-card__arrow {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* =====================
   サービス詳細
===================== */
.svc-detail {
  padding: var(--pad);
}
.svc-detail--gray { background: var(--gray-100); }

.svc-detail__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 72px;
  align-items: start;
}
.svc-detail__inner--rev { direction: rtl; }
.svc-detail__inner--rev > * { direction: ltr; }

.svc-detail__tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  margin-bottom: 18px;
}

.svc-detail__title {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.svc-detail__for {
  font-size: 0.78rem;
  color: var(--gray-700);
  line-height: 1.7;
  border-left: 2px solid var(--red);
  padding: 8px 14px;
  margin-bottom: 24px;
  background: var(--white);
}
.svc-detail--gray .svc-detail__for { background: var(--gray-100); }

.svc-detail__desc {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--black);
  margin-bottom: 28px;
}

.svc-detail__items-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
  display: block;
}

.svc-detail__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--gray-200);
}
.svc-detail__list li {
  font-size: 0.86rem;
  color: var(--black);
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc-detail__list li:last-child { border-bottom: none; }
.svc-detail__list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* サービス詳細ビジュアル */
.svc-detail__panel {
  position: relative;
}

.svc-detail__panel-inner {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  overflow: hidden;
  position: relative;
}
.svc-detail--gray .svc-detail__panel-inner {
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.svc-detail__panel-bg {
  position: absolute;
  inset: 0;
  background: var(--red);
  opacity: 0.04;
  clip-path: polygon(60% 0%, 100% 0%, 100% 100%, 40% 100%);
}

.svc-detail__panel-num {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(0,0,0,0.06);
  font-family: Georgia, serif;
  line-height: 1;
  position: absolute;
  top: 16px; left: 24px;
  letter-spacing: -0.04em;
}

.svc-detail__panel-label {
  position: relative;
  z-index: 1;
}
.svc-detail__panel-label p {
  font-size: 0.78rem;
  color: var(--gray-700);
  line-height: 1.8;
  letter-spacing: 0.04em;
}
.svc-detail__panel-label strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

/* =====================
   対応エリア
===================== */
.area-sec {
  padding: var(--pad);
  background: var(--gray-100);
  color: var(--black);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.area-sec::before {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  background: var(--red);
  opacity: 0.035;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

.area-sec .sec-head__en { color: var(--red); }
.area-sec .sec-head__ja { color: var(--black); }

.area-sec__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.area-sec__cities {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.area-city {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-200);
}
.area-city:first-child { border-top: 1px solid var(--gray-200); }

.area-city__name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
}
.area-city__pref {
  font-size: 0.72rem;
  color: var(--gray-500);
  letter-spacing: 0.08em;
}

.area-sec__note {
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.9;
}
.area-sec__note p + p { margin-top: 12px; }

/* =====================
   選ばれる理由
===================== */
.reasons-sec {
  padding: var(--pad);
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.reasons-sec__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.reasons-sec__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.reason-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}
.reason-row:first-child { border-top: 1px solid var(--gray-200); }

.reason-row__num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  padding-top: 3px;
}

.reason-row__text {
  font-size: 0.93rem;
  color: var(--black);
  line-height: 1.8;
}

/* =====================
   最新記事
===================== */
.media-sec {
  padding: var(--pad);
  background: var(--gray-100);
}

.media-sec__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-bottom: 40px;
}

.post-card {
  background: var(--white);
  text-decoration: none;
  color: var(--black);
  display: flex;
  flex-direction: column;
  transition: background var(--t);
}
.post-card:hover { background: var(--gray-100); color: var(--black); }

.post-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--gray-200);
  overflow: hidden;
  position: relative;
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.03); }

.post-card__thumb-ph {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
}
.post-card__thumb-ph span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 600;
}

.post-card__body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.post-card__date {
  font-size: 0.7rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
}

.post-card__cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.post-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.65;
  flex: 1;
}

.media-sec__more { text-align: center; }

/* =====================
   運営者紹介
===================== */
.about-sec {
  padding: var(--pad);
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.about-sec__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: start;
}

.about-sec__left {}

.about-sec__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.about-sec__name span { color: var(--red); }

.about-sec__sub {
  font-size: 0.7rem;
  color: var(--gray-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.about-sec__plate {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-sec__plate span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.about-sec__text {
  font-size: 0.93rem;
  line-height: 2;
  color: var(--black);
}

.about-sec__text p + p { margin-top: 1.4em; }

/* =====================
   お問い合わせ
===================== */
.contact-sec {
  background: var(--red);
  padding: var(--pad);
  position: relative;
  overflow: hidden;
}
.contact-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 1px,
    transparent 1px,
    transparent 80px
  );
  pointer-events: none;
}

.contact-sec__inner {
  max-width: 680px;
  margin: 0 auto;
}

.contact-sec__head {
  margin-bottom: 36px;
}
.contact-sec__en {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 14px;
}
.contact-sec__title {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.contact-sec__text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.95;
  margin-bottom: 36px;
}

/* =====================
   フッター
===================== */
.site-footer {
  background: #0a0a0a;
  padding: 48px 24px 32px;
  border-top: 1px solid #1e1e1e;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.site-footer__brand {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.site-footer__brand span { color: var(--red); }
.site-footer__tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
  max-width: 260px;
}
.site-footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer__nav a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  transition: color var(--t);
}
.site-footer__nav a:hover { color: #fff; }
.site-footer__bottom {
  border-top: 1px solid #1e1e1e;
  padding-top: 24px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  text-align: center;
  letter-spacing: 0.04em;
}

/* =====================
   投稿一覧
===================== */
.arch-wrap { padding: var(--pad); }
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-bottom: 48px;
}

/* =====================
   ページ見出し（archive/single）
===================== */
.page-banner {
  background: var(--black);
  padding: 52px 24px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}
.page-banner__inner { max-width: var(--max); margin: 0 auto; }
.page-banner__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: block;
  margin-bottom: 10px;
}
.page-banner__title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #fff;
}

/* =====================
   ページネーション
===================== */
.pagination {
  display: flex;
  gap: 2px;
  justify-content: center;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--gray-200);
  font-size: 0.82rem;
  color: var(--black);
  text-decoration: none;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.pagination a:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.pagination span.current {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* =====================
   投稿詳細
===================== */
.single-wrap { padding: var(--pad); }
.single-inner { max-width: 720px; margin: 0 auto; }

.single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.single-date { font-size: 0.75rem; color: var(--gray-500); letter-spacing: 0.04em; }
.single-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
}

.single-title {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.single-thumb {
  margin-bottom: 44px;
  overflow: hidden;
}
.single-thumb img { width: 100%; height: auto; }

.entry-content {
  font-size: 0.96rem;
  line-height: 2;
  color: var(--black);
}
.entry-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
}
.entry-content h2::before {
  content: '';
  display: inline-block;
  width: 3px; height: 1.1em;
  background: var(--red);
  vertical-align: middle;
  margin-right: 10px;
}
.entry-content h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 36px 0 12px;
}
.entry-content p { margin-bottom: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.5em; }
.entry-content li { list-style: disc; margin-bottom: 0.5em; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content blockquote {
  border-left: 3px solid var(--red);
  padding: 14px 20px;
  margin: 24px 0;
  background: var(--gray-100);
  font-size: 0.93rem;
  color: var(--gray-700);
}

.single-nav {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.post-nav-link { font-size: 0.8rem; color: var(--gray-500); }
.post-nav-link:hover { color: var(--red); }
.post-nav-link strong {
  display: block;
  font-size: 0.9rem;
  color: var(--black);
  margin-top: 4px;
  font-weight: 600;
}
.single-back { text-align: center; margin-top: 36px; }

/* =====================
   404
===================== */
.notfound {
  padding: 120px 24px;
  text-align: center;
}
.notfound__num {
  font-size: 7rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.notfound__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}
.notfound__text {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 36px;
  line-height: 1.85;
}

/* =====================
   レスポンシブ
===================== */
@media (max-width: 900px) {
  .services-intro__grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .svc-card:last-child { border-bottom: none; }

  .svc-detail__inner { grid-template-columns: 1fr; gap: 36px; }
  .svc-detail__inner--rev { direction: ltr; }
  .svc-detail__inner--rev > * { direction: ltr; }

  .area-sec__layout { grid-template-columns: 1fr; gap: 40px; }

  .reasons-sec__layout { grid-template-columns: 1fr; gap: 40px; }

  .media-sec__grid { grid-template-columns: 1fr 1fr; }
  .arch-grid { grid-template-columns: 1fr 1fr; }

  .about-sec__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  :root { --pad: 56px 20px; }

  .site-nav { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 100svh; }
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 96px 24px 84px;
    gap: 0;
  }
  .hero__side { display: none; }
  .hero__btns { flex-direction: column; align-items: flex-start; }
  .hero__btns .btn { width: 100%; justify-content: center; }

  .area-city__name { font-size: 1.3rem; }

  .media-sec__grid { grid-template-columns: 1fr; }
  .arch-grid { grid-template-columns: 1fr; }

  .site-footer__top { flex-direction: column; }
  .site-footer__nav { flex-direction: column; align-items: flex-start; gap: 14px; }

  .single-nav { flex-direction: column; }
}
