/* =========================================================
   柴犬トレーナー ポートフォリオサイト style.css
   Brand: カワイイ格闘技™ / Cute is Strong.
   ========================================================= */

/* ---------- カラー & 基本変数 ---------- */
:root {
  --navy: #1A2236;
  --navy-soft: #232b44;
  --cream: #F5EFE1;
  --cream-deep: #EAE1CC;
  --red: #C8322D;
  --red-dark: #A52722;
  --gold: #D6A756;
  --charcoal: #2B2F3A;
  --gray: #666666;
  --light-gray: #DDDDDD;
  --white: #FFFFFF;

  --font-jp: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;
  --font-en: "Oswald", "Impact", "Arial Narrow", sans-serif;
  --font-accent: "Shippori Antique", "Yu Gothic", serif;

  --max-width: 1100px;
  --header-h: 64px;
  --shadow-soft: 0 6px 20px rgba(26, 34, 54, 0.08);
  --shadow-card: 0 10px 30px rgba(26, 34, 54, 0.10);
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --transition: 0.25s ease;
}

/* ---------- リセット & ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
ul { list-style: none; margin: 0; padding: 0; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

/* ---------- 共通レイアウト ---------- */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}
.section-head {
  margin-bottom: 40px;
}
.section-head-center {
  text-align: center;
}
.section-head-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--red);
  margin: 0 0 6px;
  text-transform: uppercase;
}
.section-head-ja {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--navy);
  margin: 0;
  letter-spacing: 0.02em;
}
.section-head-lead {
  color: var(--gray);
  font-size: 14px;
  margin: 12px 0 0;
}
.section-head-mascot {
  width: 100px;
  height: auto;
  margin: 0 auto 8px;
  display: block;
}
/* Worksセクションのパグ用：横長画像のため少し大きめ＋ソフトな影 */
.section-head-mascot-pug {
  width: 160px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(26, 34, 54, 0.18);
  margin: 0 auto 14px;
}
@media (max-width: 480px) {
  .section-head-mascot-pug { width: 130px; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-align: center;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 6px 16px rgba(200, 50, 45, 0.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(200, 50, 45, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--cream);
}
.btn-secondary:hover {
  background: var(--cream);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
}

/* =========================================================
   ヘッダー & ナビ
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(26, 34, 54, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  transition: background var(--transition);
}
.header-inner {
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 700;
}
.header-logo:hover { color: var(--gold); }
.header-logo-img {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  padding: 2px;
}
.header-logo-text {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-list {
  display: flex;
  gap: 22px;
}
.nav-link {
  color: var(--cream);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.15em;
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { width: 100%; }

.nav-sns {
  display: flex;
  gap: 10px;
  padding-left: 16px;
  border-left: 1px solid rgba(245, 239, 225, 0.2);
}
.nav-sns a {
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}
.nav-sns a:hover { opacity: 1; transform: translateY(-2px); color: var(--gold); }
.nav-sns svg { width: 16px; height: 16px; fill: currentColor; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  background:
    radial-gradient(ellipse at 85% 30%, rgba(214, 167, 86, 0.12), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(200, 50, 45, 0.10), transparent 50%),
    var(--navy);
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(245, 239, 225, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  opacity: 0.6;
}
.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  min-height: calc(100vh - var(--header-h) - 120px);
}
.hero-text {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-kicker {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.hero-catch {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
  color: var(--gold);
  /* hero-catch-main は単独でnowrap、suffix（クリエイター）は折り返し可 */
}
.hero-catch-main {
  display: inline;
  position: relative;
  white-space: nowrap;          /* 「カワイイ格闘技™」を必ず1行に */
}
/* 「技™」を必ず同じ行にとどめる */
.hero-catch-last {
  white-space: nowrap;
}
.hero-tm {
  font-size: 0.32em;
  vertical-align: 1.6em;        /* 上付き位置を明示 */
  color: var(--gold);
  font-weight: 700;
  margin-left: 2px;
  letter-spacing: 0;
  line-height: 1;
}
/* 「クリエイター」は控えめサイズの肩書きとして表示 */
.hero-catch-suffix {
  font-family: var(--font-jp);
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-left: 0.55em;
  vertical-align: 0.55em;
  white-space: nowrap;
  color: var(--gold);
}
.hero-sub {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--red);
  margin: 0 0 28px;
  letter-spacing: 0.05em;
}
.hero-lead {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(245, 239, 225, 0.9);
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 400px;
}
.hero-shiba {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  animation: floaty 6s ease-in-out infinite;
}
.hero-pug {
  position: absolute;
  left: -20px;
  bottom: -10px;
  width: 220px;
  border-radius: 14px;
  border: 3px solid var(--cream);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  filter: none;
  animation: floaty 5s ease-in-out infinite 0.5s;
  background: var(--navy);
}
@keyframes floaty {
  0%, 100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 10px)); }
}
.hero-pug {
  animation-name: floaty-pug;
}
@keyframes floaty-pug {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ---------- Hero カテゴリボタン（制作物カテゴリ入口） ---------- */
.hero-categories-heading {
  position: relative;
  z-index: 2;
  margin: 8px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-categories-heading-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-categories-heading-ja {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.hero-categories {
  position: relative;
  z-index: 2;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hero-category-btn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: rgba(245, 239, 225, 0.06);
  border: 1px solid rgba(214, 167, 86, 0.35);
  border-radius: var(--radius-m);
  color: var(--cream);
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--transition), background var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              color var(--transition);
  cursor: pointer;
}
.hero-category-btn:hover,
.hero-category-btn:focus-visible {
  background: rgba(214, 167, 86, 0.14);
  border-color: var(--gold);
  color: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}
.hero-category-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(26, 34, 54, 0.4);
}
.hero-category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition);
}
.hero-category-thumb-top img {
  object-position: center top;
}
.hero-category-btn:hover .hero-category-thumb img,
.hero-category-btn:focus-visible .hero-category-thumb img {
  transform: scale(1.06);
}
.hero-category-thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(214, 167, 86, 0.18), rgba(200, 50, 45, 0.22));
  color: var(--gold);
  transition: color var(--transition);
}
.hero-category-thumb-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-category-btn:hover .hero-category-thumb-icon,
.hero-category-btn:focus-visible .hero-category-thumb-icon {
  color: var(--cream);
}
.hero-category-label {
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  padding: 12px 8px;
  background: rgba(26, 34, 54, 0.55);
}

/* =========================================================
   About
   ========================================================= */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.about-photo {
  position: relative;
  align-self: start;
}
.about-photo img:first-child {
  width: 100%;
  border-radius: var(--radius-m);
  border: 3px solid var(--navy);
  box-shadow: var(--shadow-card);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
.about-shiba-side {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: auto !important;
  border: none !important;
  box-shadow: none !important;
  aspect-ratio: auto !important;
  filter: drop-shadow(0 10px 20px rgba(26, 34, 54, 0.2));
}

.about-body { min-width: 0; }
.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
  background: var(--white);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.profile-table th,
.profile-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--cream-deep);
}
.profile-table tr:last-child th,
.profile-table tr:last-child td { border-bottom: none; }
.profile-table th {
  width: 110px;
  background: var(--navy);
  color: var(--cream);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.profile-table td { color: var(--charcoal); }

.about-text p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.95;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text-strong {
  font-weight: 700;
  color: var(--navy);
  border-left: 4px solid var(--red);
  padding-left: 14px;
  margin-top: 20px !important;
}

/* ---------- Story / Timeline ---------- */
.story {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 2px dashed var(--cream-deep);
}
.story-head {
  text-align: center;
  margin-bottom: 40px;
}
.story-head .section-head-en {
  font-family: 'Oswald', sans-serif;
  color: var(--red);
  font-size: 14px;
  letter-spacing: 0.18em;
  margin: 0 0 6px;
}
.story-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  margin: 0;
  letter-spacing: 0.04em;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 860px;
  margin-inline: auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 30px;
  width: 3px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--gold) 100%);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding-left: 80px;
  padding-bottom: 28px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  z-index: 1;
  box-shadow: 0 4px 10px rgba(26, 34, 54, 0.15);
}
.timeline-content {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 18px 22px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.timeline-content::before {
  content: '';
  position: absolute;
  top: 22px;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--white);
}
.timeline-phase {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.timeline-points {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.timeline-points li:last-child { margin-bottom: 0; }
.timeline-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* 現在地点（最後のフェーズ） */
.timeline-item-current .timeline-marker {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
  box-shadow: 0 6px 16px rgba(200, 50, 45, 0.35);
}
.timeline-item-current .timeline-content {
  background: var(--navy);
  border: 2px solid var(--gold);
}
.timeline-item-current .timeline-content::before {
  border-right-color: var(--navy);
}
.timeline-item-current .timeline-phase {
  color: var(--cream);
}
.timeline-item-current .timeline-points li {
  color: var(--cream);
}
.timeline-item-current .timeline-points li::before {
  background: var(--gold);
}

/* =========================================================
   Works
   ========================================================= */
.works {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.work-card {
  background: var(--white);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.work-card-thumb {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  position: relative;
}
.work-card-thumb-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 225, 0.95);
  text-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.work-card-thumb-music {
  background-image:
    linear-gradient(rgba(26, 34, 54, 0.5), rgba(26, 34, 54, 0.6)),
    url('../image/button-web.png');
  background-size: cover;
  background-position: center;
}
.work-card-thumb-brand {
  background-image:
    linear-gradient(rgba(26, 34, 54, 0.45), rgba(26, 34, 54, 0.55)),
    url('../image/works-brand-ec.jpeg');
  background-size: cover;
  background-position: center;
}
.work-card-thumb-writing {
  background:
    radial-gradient(circle at 70% 30%, rgba(245,239,225,0.18), transparent 55%),
    linear-gradient(135deg, var(--red) 0%, #E0554F 100%);
}
.work-card-thumb-coming {
  background:
    repeating-linear-gradient(45deg, var(--cream-deep), var(--cream-deep) 12px, var(--cream) 12px, var(--cream) 24px);
}
.work-card-thumb-coming .work-card-thumb-label {
  color: var(--navy);
  text-shadow: none;
}
.work-card-thumb-app {
  background-image:
    linear-gradient(rgba(26, 34, 54, 0.5), rgba(26, 34, 54, 0.6)),
    url('../image/button-app.jpg');
  background-size: cover;
  background-position: center;
}
/* 書籍カード：書影画像をそのまま表示 */
.work-card-thumb-book {
  background: var(--navy);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.work-card-thumb-book img {
  height: 100%;
  max-height: 220px;
  width: auto;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  border-radius: 2px;
  transition: transform var(--transition);
}
.work-card-thumb-book:hover img {
  transform: scale(1.03);
}
.work-card-body {
  padding: 20px 22px 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.work-card-type {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  margin: 0 0 8px;
  text-transform: uppercase;
  font-weight: 700;
}
.work-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.4;
}
.work-card-desc {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.7;
  margin: 0 0 16px;
  flex-grow: 1;
}
.work-card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  align-self: flex-start;
}
.work-card-link:hover { color: var(--red-dark); }
.work-card-link-muted { color: var(--gray); cursor: default; }
.work-card-link-muted:hover { color: var(--gray); }

/* =========================================================
   Latest（最新作はこちら／X最新投稿）
   ========================================================= */
.latest {
  background: var(--cream);
}
.latest-lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.85;
  color: var(--charcoal);
  margin: 0 auto 28px;
  max-width: 640px;
}
.latest-embed {
  max-width: 560px;
  margin: 0 auto 18px;
  /* Twitter公式ウィジェットのiframeを綺麗に納める */
}
.latest-embed .twitter-timeline,
.latest-embed iframe {
  width: 100% !important;
  border-radius: 12px;
}
.latest-fallback {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin: 0;
}
.latest-fallback-link {
  color: var(--red);
  text-decoration: underline;
  margin-left: 4px;
}
.latest-fallback-link:hover {
  text-decoration: none;
}

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--navy); color: var(--cream); }
.services .section-head-en { color: var(--gold); }
.services .section-head-ja { color: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.service-card {
  background: var(--navy-soft);
  border: 1px solid rgba(214, 167, 86, 0.25);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  transition: transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.service-card-highlight {
  background: linear-gradient(180deg, var(--navy-soft) 0%, #2c3651 100%);
  border-color: var(--red);
  position: relative;
}
.service-card-highlight::before {
  content: "人気";
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--red);
  color: var(--cream);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.service-card-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--cream);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.service-card-target {
  font-size: 13px;
  color: rgba(245, 239, 225, 0.8);
  line-height: 1.7;
  margin: 0 0 20px;
  min-height: 68px;
}
.service-card-meta {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(214, 167, 86, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card-meta > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.service-card-meta dt {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}
.service-card-meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
  text-align: right;
}
.service-card-meta dd small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.75;
  margin-top: 2px;
}

.services-note {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(245, 239, 225, 0.06);
  border: 1px solid rgba(214, 167, 86, 0.3);
  border-radius: var(--radius-m);
  padding: 20px 24px;
  color: var(--cream);
}
.services-note-mascot {
  width: 100px;
  flex-shrink: 0;
}
.services-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================================
   Lessons
   ========================================================= */
.lessons { background: var(--cream); }
.lessons-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.lessons-visual {
  text-align: center;
}
.lessons-visual img {
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 15px 30px rgba(26, 34, 54, 0.2));
}
.lessons-video {
  display: block;
  max-width: 360px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-m);
  border: 3px solid var(--navy);
  box-shadow: 0 18px 36px rgba(26, 34, 54, 0.25);
  background: var(--navy);
  object-fit: cover;
}
.lessons-lead {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
  margin: 0 0 20px;
  border-left: 4px solid var(--red);
  padding-left: 14px;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
  background: var(--white);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.info-table th,
.info-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--cream-deep);
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }
.info-table th {
  width: 90px;
  background: var(--cream-deep);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  background:
    radial-gradient(circle at 50% 120%, rgba(200, 50, 45, 0.08), transparent 60%),
    var(--cream-deep);
}
.contact-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-item {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.contact-item-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}
.contact-item-value {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  word-break: break-all;
}
.contact-item-value:hover { color: var(--red); }
.contact-item-note {
  font-size: 11px;
  color: var(--gray);
  grid-column: 2 / 4;
  margin-top: -10px;
}
.contact-item-primary {
  border: 2px solid var(--red);
  background: #fff9f8;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 36px 24px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream);
  padding: 2px;
}
.footer-copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.85;
}
.footer-sns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-sns a {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--cream);
  opacity: 0.85;
  text-transform: uppercase;
}
.footer-sns a:hover { color: var(--gold); opacity: 1; }

/* =========================================================
   レスポンシブ：768px 以下（タブレット）
   ========================================================= */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding-top: 20px;
  }
  .hero-visual {
    min-height: auto;
    order: -1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    flex-wrap: nowrap;
  }
  .hero-shiba {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin: 0;
    width: 42%;
    max-width: 220px;
    flex-shrink: 1;
  }
  .hero-pug {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    width: 42%;
    max-width: 220px;
    flex-shrink: 1;
    border-width: 3px;
    height: auto;
    align-self: center;
  }
  @keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
  }

  .hero-categories {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .hero-categories-heading-en { font-size: 14px; }
  .hero-categories-heading-ja { font-size: 14px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .about-shiba-side { width: 110px; right: -16px; bottom: -20px; }

  .story { margin-top: 48px; padding-top: 36px; }
  .story-title { font-size: 20px; }
  .timeline::before { left: 24px; }
  .timeline-item { padding-left: 68px; padding-bottom: 24px; }
  .timeline-marker { width: 50px; height: 50px; font-size: 18px; border-width: 2px; }
  .timeline-content { padding: 16px 18px 18px; }
  .timeline-phase { font-size: 15px; }
  .timeline-points li { font-size: 13.5px; }

  .works-grid { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card-target { min-height: auto; }

  .lessons-grid { grid-template-columns: 1fr; gap: 24px; }
  .lessons-visual img { max-width: 200px; }
  .lessons-video { max-width: 100%; border-width: 2px; }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 20px;
  }
  .contact-item-note {
    grid-column: auto;
    margin-top: 0;
  }
}

/* =========================================================
   768px 以下：モバイルナビ
   ========================================================= */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(26, 34, 54, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid rgba(245, 239, 225, 0.1);
  }
  .site-nav.is-open {
    max-height: 500px;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 12px 0;
  }
  .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(245, 239, 225, 0.08);
  }
  .nav-list li:last-child { border-bottom: none; }
  .nav-link {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }
  .nav-link::after { display: none; }
  .nav-sns {
    padding-left: 0;
    padding-top: 16px;
    border-left: none;
    border-top: 1px solid rgba(245, 239, 225, 0.08);
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
  }

  .section-inner { padding: 56px 20px; }
  .section-head { margin-bottom: 28px; }

  .services-note {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; gap: 8px; }
  .footer-sns { justify-content: center; gap: 14px; }
}

/* =========================================================
   480px 以下（スマホ）
   ========================================================= */
@media (max-width: 480px) {
  :root { --header-h: 56px; }
  .header-logo-text { font-size: 13px; }
  .header-logo-img { width: 30px; height: 30px; }

  .hero { padding-bottom: 56px; }
  .hero-lead { font-size: 14px; line-height: 1.85; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  .hero-shiba { max-width: 160px; }
  .hero-pug { max-width: 170px; }

  .hero-categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hero-category-thumb-icon svg { width: 36px; height: 36px; }
  .hero-category-label { font-size: 12px; padding: 10px 6px; }
  .hero-categories-heading { gap: 10px; }

  .profile-table th { width: 90px; font-size: 12px; }
  .profile-table th,
  .profile-table td { padding: 10px 12px; font-size: 13px; }

  .info-table th { width: 72px; font-size: 12px; }
  .info-table th,
  .info-table td { padding: 10px 12px; font-size: 13px; }

  .work-card-body { padding: 16px 18px 18px; }
  .work-card-title { font-size: 16px; }
}

/* =========================================================
   アクセシビリティ：モーション低減
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   フェードイン（script.jsで制御）
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
