:root {
  --navy: #14325c;
  --navy-light: #1f4380;
  --orange: #ff8b3d;
  --bg: #fff9f3;
  --bg-card: #ffffff;
  --text: #111827;
  --gray: #6b7280;
  --white: #ffffff;
  --accent-pink: #ffd2e1;
  --accent-mint: #c8f3e6;
  --max-width: 1320px;
}

/* =========================
   Base
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP",
    sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #fff4df, #fff9f5 40%, #fefeff);
  line-height: 1.8;
  font-size: 20px;
  font-weight: 500;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   Header
========================= */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 10px rgba(20, 50, 92, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.logo-kabu {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--navy);
}

.logo-image {
  height: 28px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

nav a {
  color: var(--navy);
  position: relative;
  padding: 4px 0;
  text-decoration: none !important;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #ffbd4f);
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

/* =========================
   Hero
========================= */

.hero-wrap {
  position: relative;
}

.hero {
  background: radial-gradient(circle at 0% 0%, #ffecd4, #ffd9c2 35%, #ffeaf4 90%);
  padding: 72px 8px;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.66;
  z-index: -1;
}

.hero::before {
  width: 260px;
  height: 260px;
  background: var(--accent-pink);
  top: -70px;
  right: -50px;
}

.hero::after {
  width: 240px;
  height: 240px;
  background: var(--accent-mint);
  bottom: -110px;
  left: -60px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3.8fr) minmax(0, 2.2fr);
  gap: 28px;
  align-items: center;
}

.hero-title-sub {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 12px;
  color: var(--navy);
}

.hero-title-main {
  font-size: 96px;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1.1;
  word-break: keep-all;
  
  position: relative;
  z-index: 10;
}

.hero-title-main span {
  background: linear-gradient(90deg, #ff7b38, #ffbc44);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-title-main-sp {
  display: none;
}

.hero-copy {
  font-size: 24px;
  margin-bottom: 22px;
  color: #374151;
}

.hero-copy strong {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  padding: 4px 8px;
  border: 1px solid rgba(255, 139, 61, 0.5);
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 139, 61, 0.4);
  background: #ffffffdd;
  margin-bottom: 10px;
  color: var(--navy);
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), #ffbc44);
}

/* Hero actions / buttons */

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 17px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff8b3d, #ffbc44);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(255, 143, 61, 0.42);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 12px 28px rgba(255, 143, 61, 0.5);
}

.btn-outline {
  background: #ffffffee;
  color: var(--navy);
  border-color: rgba(31, 67, 128, 0.25);
}

.btn-outline:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Hero SNS */

.hero-sns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sns-icon {
  width: 50px;
  height: 50px;
  border-radius: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sns-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hero photo & name */

.hero-photo-wrapper {
  position: relative;
}

.hero-photo-frame {
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
}

.hero-photo-sp {
  display: none;
}

.hero-photo {
  width: 115%;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 52px rgba(20, 50, 92, 0.7));
}

.hero-name-badge {
  position: absolute;
  left: -8px;
  bottom: -12px;
  background: rgba(20, 50, 92, 0.96);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(20, 50, 92, 0.65);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

.hero-name-badge span {
  font-size: 28px;
  font-weight: 900;
}

/* =========================
   Common highlight utils
========================= */

.hl-strong {
  font-weight: 900;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hl-orange-strong {
  font-weight: 900;
  color: var(--orange);
}

.hl-orange-underline {
  font-weight: 800;
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* =========================
   Sections common
========================= */

section {
  padding: 60px 0;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 8px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 8px;
  font-weight: 900;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title::after {
  content: "";
  width: 56px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8b3d, #ffbc44);
}

.section-subtitle {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 24px;
  letter-spacing: 0.18em;
}

/* 2カラム（SPでは縦積み） */

.two-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* STORY 背景 */

#story {
  background: #f4f6ff;
}

/* ABOUTだけ順番入れ替え */

#about .two-column > .about-main {
  order: 1;
}

#about .two-column > .about-profile-card {
  order: 2;
}

/* Card */

.card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(21, 36, 76, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

/* =========================
   PROFILE
========================= */

.about-main {
  text-align: center;
}

.about-main-photo,
.story-main-photo {
  max-width: 380px;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(21, 36, 76, 0.18);
  margin: 0 auto 18px;
}

.profile-in-card {
  margin-top: 4px;
}

.story-in-card {
  margin-bottom: 16px;
}

.about-text {
  font-size: 18px;
}

.lead {
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 21px;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
}

.profile-list li {
  display: flex;
  margin-bottom: 12px;
}

.profile-term {
  width: 150px;
  color: var(--gray);
  font-weight: 600;
  font-size: 15px;
}

.profile-desc {
  flex: 1;
}

/* 代表プロフィールカード：左テキスト／右写真 */

.about-profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-profile-card .profile-list {
  flex: 2;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* ← 上下中央 */
}

.about-profile-card .about-main-photo {
  flex: 1;
  max-width: 420px;
  width: 100%;
  margin: 0 0 0 12px;
  height: auto;
  object-fit: cover;
}

/* =========================
   HOBBY
========================= */

.hobby-block {
  margin-top: 28px;
  padding: 22px 20px;
  border-radius: 22px;
  background: #fff7ea;
  box-shadow: 0 16px 40px rgba(255, 195, 120, 0.35);
  text-align: center;
}

.hobby-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  justify-content: center;
}

.hobby-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.hobby-title {
  font-size: 20px;
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.hobby-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.hobby-text {
  flex: 1;
  min-width: 240px;
  text-align: center;
}

.hobby-text p {
  margin: 0 0 8px;
}

.hobby-note {
  font-size: 15px;
  color: #4b5563;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  justify-content: center;
}

.tag {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ffe9d7;
  color: var(--navy);
  border: 1px solid rgba(255, 139, 61, 0.35);
}

/* デフォルトの hobby-photos（SPでもPCでも使うベース） */

.hobby-photos {
  flex: 1;
  display: flex;
  gap: 12px;
  min-width: 260px;
  align-items: stretch;
  margin-top: 30px;
  justify-content: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hobby-photos img {
  flex: 1;
  border-radius: 16px;
  max-height: 280px;
  width: 100%;
  object-fit: cover;
}

/* ずらしておしゃれ配置（複数画像用） */

.hobby-photos img:nth-child(1) {
  transform: translateY(6px);
}

.hobby-photos img:nth-child(2) {
  transform: translateY(-6px);
}

.hobby-photos img:nth-child(3) {
  transform: translateY(6px);
}

/* =========================
   STORY（タイムライン）
========================= */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px dashed #d4d9f2;
  padding-left: 22px;
  margin-left: 10px;
}

.timeline-item {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 6px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange);
  box-shadow: 0 0 0 3px #fff9f3;
}

.timeline-year {
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
  margin: 0 8px 0 0;
  display: inline;
}

.timeline-text {
  font-size: 16px;
  display: inline;
}

/* STORY レイアウト */

#story .story-main {
  text-align: center;
}

#story .story-main .about-text {
  text-align: center;
  margin: 0 auto;
}

#story .two-column > .card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

#story .two-column > .card .timeline {
  flex: 2;
}

#story .two-column > .card .story-main-photo {
  flex: 1;
  max-width: 320px;
  margin: 0 0 0 12px;
  height: 100%;
  object-fit: cover;
  align-self: flex-end;
}

/* =========================
   MESSAGE
========================= */

.message-block {
  font-size: 18px;
  line-height: 1.9;
  text-align: center;
}

.message-block p {
  margin: 0 0 10px;
}

.message-with-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.message-photo {
  margin-bottom: 14px;
}

.message-text {
  max-width: 620px;
}

.message-highlight {
  font-size: 44px;
  font-weight: 900;
  margin-top: 0;
  border-radius: 16px;
  padding: 16px 18px;
  background: #fff7ea;
  border: 2px solid #ffd59f;
  box-shadow: 0 8px 20px rgba(255, 195, 120, 0.28);
  text-align: center;
}

.message-highlight span {
  font-size: 1.08em;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* MESSAGE 強調表現 */

.msg-strong {
  font-weight: 900;
  color: var(--navy);
  background: #e8eefc;
  padding: 2px 6px;
  border-radius: 6px;
}

.msg-strong-orange {
  font-weight: 900;
  color: var(--orange);
  background: #fff1e5;
  padding: 2px 6px;
  border-radius: 6px;
}

.msg-highlight {
  font-weight: 800;
  color: var(--navy);
  background: #f7faff;
  padding: 4px 8px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 4px;
}

.msg-underline {
  color: var(--orange);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* =========================
   PHILOSOPHY
========================= */

.philosophy-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.philosophy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
  text-align: center;
  flex: 2;
}

.philosophy-list li {
  margin-bottom: 12px;
  padding: 11px 14px 11px 28px;
  position: relative;
  font-weight: 800;
  color: var(--navy);
  border-radius: 999px;
  background: #f2f5ff;
  font-size: 20px;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-list li::before {
  content: "★";
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffae3d;
  font-size: 11px;
}

.philosophy-note {
  font-size: 14px;
  color: var(--gray);
  margin-top: 8px;
}

.philosophy-message {
  text-align: center;
}

/* =========================
   SERVICE
========================= */

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.service-card {
  background: linear-gradient(135deg, #1f4380, #14325c);
  color: var(--white);
  border-radius: 18px;
  padding: 18px 18px 22px;
  box-shadow: 0 10px 22px rgba(13, 36, 78, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 18.5px;
  border-top: none;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.service-card::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 191, 120, 0.4), transparent);
  opacity: 0.7;
}

/* 左側テキスト */

.service-text {
  flex: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.service-label {
  font-size: 11px;
  font-weight: 700;
  color: #ffe0ba;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.service-title {
  font-weight: 900;
  color: var(--navy);
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #ff8b3d, #ffbc44);
  box-shadow: 0 10px 24px rgba(255, 143, 61, 0.42);
  width: 400px;
  max-width: 100%;
  margin: 10px auto 24px;
}

.service-body {
  margin-top: 4px;
}

/* 右側画像 */

.service-image {
  flex: 2;
  max-width: 260px;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

/* =========================
   COMPANY
========================= */

.company-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 20px 20px 18px;
  box-shadow: 0 10px 22px rgba(21, 36, 76, 0.07);
}

.company-photos {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  justify-content: center;
}

.company-photo {
  flex: 0 0 auto;
  max-width: 350px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(21, 36, 76, 0.15);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  margin-bottom: 16px;
}

.company-table th,
.company-table td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px dashed #e0e3f0;
}

.company-table th {
  width: 135px;
  color: var(--gray);
  font-weight: 600;
  padding-right: 12px;
}

.company-table td {
  color: var(--text);
}

.company-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(21, 36, 76, 0.12);
}

/* =========================
   COMMUNITY
========================= */

#community {
  background: #fffef9;
}

.community-card {
  text-align: center;
  padding: 32px 22px;
}

.community-text {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--gray);
}

.community-lead {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.7;
}

.community-name {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
}

.community-btn {
  margin-top: 8px;
  align-self: center;
  padding: 12px 28px;
  font-size: 17px;
}

/* =========================
   CONTACT
========================= */

.contact-box {
  background: linear-gradient(135deg, #1f4380, #14325c);
  color: var(--white);
  border-radius: 24px;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(13, 36, 78, 0.55);
  position: relative;
  overflow: hidden;
}

.contact-box::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 187, 102, 0.9), transparent);
  opacity: 0.35;
  right: -50px;
  bottom: -100px;
}

.contact-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-text {
  font-size: 16px;
  color: #e6ecff;
  position: relative;
  z-index: 1;
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.contact-sub {
  font-size: 13px;
  opacity: 0.9;
}

.contact-sns {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.sns-icon-sm {
  width: 32px;
  height: 32px;
}

/* =========================
   Footer
========================= */

footer {
  background: transparent;
  color: #6b7280;
  font-size: 13px;
  text-align: center;
  padding: 20px 8px 26px;
  margin-top: 4px;
}

footer span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0f3ff;
}

/* =========================
   Scroll animation
========================= */

.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Responsive: base (max 880px)
========================= */

@media (max-width: 880px) {
  body {
    font-size: 17px;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 64px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-photo-wrapper {
    order: -1;
    max-width: 360px;
    margin: 0 auto 8px;
    right: 0;
  }

  .hero-title-main {
    font-size: 40px;
    word-break: normal;
  }

  .hero-copy {
    font-size: 19px;
  }

  .hero-name-badge {
    position: static;
    margin-top: 8px;
    align-self: flex-start;
  }

  nav ul {
    gap: 8px;
    font-size: 11px;
  }

  .section-inner {
    padding: 0 12px;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-title {
    font-size: 26px;
  }

  .company-photos {
    flex-direction: column;
    align-items: center;
  }

  .about-profile-card {
    flex-direction: column;
    align-items: center;
  }

  .about-profile-card .profile-list {
    padding-left: 0;
  }

  .about-profile-card .about-main-photo {
    margin: 0 0 12px 0;
    max-width: 260px;
  }

  #story .two-column > .card {
    flex-direction: column;
    align-items: center;
  }

  #story .two-column > .card .story-main-photo {
    max-width: 320px;
    margin: 12px auto 0;
  }

  .service-card {
    flex-direction: column;
    text-align: center;
  }

  .service-text {
    width: 100%;
  }

  .service-image {
    max-width: 260px;
    width: 100%;
    margin: 0 auto;
  }

  .service-title {
    margin-left: auto;
    margin-right: auto;
  }

  .message-highlight {
    font-size: 30px;
  }

  .philosophy-card {
    align-items: center;
  }
}

/* =========================
   Responsive: Header & Hero & HOBBY (max 880px)
========================= */

@media (max-width: 880px) {
  /* Header */
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .logo {
    margin: 0 auto;
    white-space: nowrap;
  }

  .logo-kabu {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 8px;
    font-size: 11px;
  }

  /* Hero layout（縦並び） */
  .hero {
    padding-top: 40px;
    padding-bottom: 64px;
    min-height: auto;
  }

  .hero-inner {
    display: block;
  }

  .hero-photo-pc {
    display: none;
  }

  .hero-photo-sp {
    display: block;
    max-width: 320px;
    margin: 24px auto 8px;
    position: relative;
  }

  .hero-title-main-pc {
    display: block;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -webkit-text-orientation: mixed;
    text-orientation: mixed;
    font-size: 28px;
    line-height: 1.8;
    margin: 16px auto 0;
    text-align: left;
    color: var(--navy);
  }

  .hero-copy {
    font-size: 16px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-sns {
    justify-content: center;
  }

  /* HOBBY header */
  .hobby-header {
    flex-direction: column;
  }

  .hobby-photos {
    margin-top: 24px;
    text-align: center;
  }

  .hobby-photo-single {
    width: 100%;
    max-width: 360px;
    border-radius: 18px;
  }
}

/* =========================
   HOBBY PC レイアウト（本文左／画像右）
========================= */

@media (min-width: 881px) {
  .hobby-content {
    flex-direction: row;
    align-items: center;
  }

  .hobby-text {
    flex: 1;
  }

  .hobby-photos {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
  }

  .hobby-photo-single {
    max-width: 420px;
  }
}

/* =========================
   各セクションの細かい調整（共通）
   ※ここはブレークポイント指定なし（PC/SP共通）
========================= */

/* MESSAGE タイトル・テキスト */

#message .section-title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 10em;
}

#message .message-highlight {
  font-size: 26px;
}

#message .about-text {
  font-size: 16px;
}

/* PHILOSOPHY の文字 */

#philosophy .philosophy-list li {
  font-size: 18px;
}

#philosophy .about-text {
  font-size: 16px;
}

/* SERVICE 本文 */

.service-body {
  font-size: 15px;
}

/* COMPANY テーブル文字サイズ */

.company-table {
  font-size: 15px;
}

/* CONTACT タイトルなど */

#contact .section-title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 9em;
}

.contact-title {
  font-size: 18px;
}

.contact-text {
  font-size: 15px;
}

.contact-actions {
  align-items: center;
}

.contact-actions .btn-primary {
  width: 100%;
  max-width: 320px;
  justify-content: center;
}

.contact-sns {
  justify-content: center;
}

/* =========================
   Hero 縦書きタイトル・写真位置（max 880px）
========================= */

@media (max-width: 880px) {
  /* タイトルを縦書き＆右上に配置 */
  .hero-title-main-pc {
    display: block;
    position: absolute;
    z-index: 10;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    -webkit-text-orientation: mixed;
    text-orientation: mixed;
    top: 50px;
    right: 12px;
    font-size: 35px;
    line-height: 1.3;
    margin: 16px auto 0;
    text-align: left;
    color: var(--navy);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  }

  /* グラデーションを無効化し、文字色をオレンジに */
  .hero-title-main-pc span {
    background: none !important;
    -webkit-background-clip: initial !important;
    color: var(--orange) !important;
  }

  .hero-title-main-pc .hl-orange-strong {
    color: var(--orange) !important;
  }

  /* 写真を少し左へ寄せる＋サイズ調整＋バッジ位置調整 */
  .hero-photo-wrapper.hero-photo-sp {
    position: relative;
    max-width: 340px;
    margin: 80px auto 90px !important; /* 下の余白もここで確保 */
    left: -18px;
  }

  .hero-photo-wrapper.hero-photo-sp .hero-photo {
    width: 100%;
    height: auto;
  }

  .hero-photo-wrapper.hero-photo-sp .hero-name-badge {
    position: absolute;
    left: -5px;
    bottom: -12px;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 14px;
  }

  .hero-photo-wrapper.hero-photo-sp .hero-name-badge span {
    font-size: 20px;
  }

  /* FOR FOOD & HOSPITALITY BUSINESS のサイズ（※のちほど非表示にもしている） */
  .hero-title-sub {
    font-size: 10px !important;
    letter-spacing: 0.18em;
    margin-bottom: 6px;
  }

  /* スマホでは「代表プロフィールサイト」「FOR FOOD〜」は非表示 */
  .badge,
  .hero-title-sub {
    display: none !important;
  }

  /* 上の余白を少し詰める */
  .hero {
    padding-top: 4px;
  }
}
