/* =========================
   基本リセット & 変数
========================= */
:root {
  --brand: #1d3557;
  --brand-light: #274765;
  --accent: #f97316;
  --accent-soft: #fde68a;
  --accent-hover: #ea580c;
  --accent-line: #06c755;
  --bg: #fffaf3;
  --text: #1f2937;
  --muted: #64748b;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow: 0 4px 20px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
  --radius: 24px;
  --header-h: 72px;
  --section-gap: 100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 3D Canvas Removed */

/* Typography */
h1,
h2,
h3,
.brand__name {
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.02em;
  color: var(--brand);
}

/* 汎用ユーティリティ */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   ヘッダー（固定）
========================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255, 250, 243, .97);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, .15);
  z-index: 1000;
  transition: box-shadow .3s ease, background-color .3s ease;
  color: var(--brand);
}

.site-header.is-scrolled {
  background: rgba(255, 250, 243, .98);
  box-shadow: 0 4px 24px rgba(15, 23, 42, .1);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.header__tel {
  font-weight: 700;
  letter-spacing: .03em;
}

/* ブランド */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  height: 40px;
  width: auto;
}

.brand__name {
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ナビ */
.nav__list {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  font-weight: 700;
  color: var(--brand);
  opacity: .95;
  transition: opacity .2s ease;
  white-space: nowrap;
}

.nav__list a:is(:hover, .is-active) {
  opacity: 1;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: transparent;
  transition: background-color .25s ease;
}

.nav__list a.is-active::after {
  background: var(--accent);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(29, 53, 87, .22);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
  transition: background-color .2s ease, box-shadow .2s ease;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .18s ease;
}

.hamburger.is-open {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .18);
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   ボタン
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(15, 23, 42, .12);
  background: rgba(255, 255, 255, .88);
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .25s ease;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 26px rgba(249, 115, 22, .33);
}

.btn--primary:hover {
  box-shadow: 0 14px 32px rgba(249, 115, 22, .45);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.btn--outline {
  background: #fff;
  border-color: var(--accent);
  color: var(--brand);
  box-shadow: var(--shadow);
}

.btn--outline:hover {
  box-shadow: var(--shadow-lg);
}

.btn--line {
  background: linear-gradient(135deg, #06c755, #04a246);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(6, 199, 85, .35);
}

.btn--line:hover {
  box-shadow: 0 10px 28px rgba(6, 199, 85, .45);
}

/* =========================
   ヒーロー（スライド＋テキスト）
========================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* White overlay to make dark text readable */
.slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  /* Light overlay */
  backdrop-filter: blur(2px);
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 15s infinite;
}

/* 3枚想定。増やすなら nth-child のディレイを追加 */
.slideshow img:nth-child(1) {
  animation-delay: 0s;
}

.slideshow img:nth-child(2) {
  animation-delay: 5s;
}

.slideshow img:nth-child(3) {
  animation-delay: 10s;
}

@keyframes fade {

  0%,
  100% {
    opacity: 0;
  }

  10%,
  30% {
    opacity: 1;
  }

  40%,
  90% {
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 0 20px;
}

.hero__content h1 {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--brand);
  background: none;
  -webkit-text-fill-color: initial;
  text-shadow: none;
  animation: slideUp 1s ease-out forwards;
}

.hero__content p {
  font-size: clamp(16px, 3vw, 20px);
  color: var(--text);
  margin-bottom: 40px;
  animation: slideUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: slideUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.hero__content h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin: 0 0 8px;
  font-weight: 800;
}

.hero__content p {
  font-size: clamp(14px, 2.2vw, 18px);
  opacity: .95;
  margin: 0 0 18px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero--overlay {
  color: #fff;
}

.hero__layer {
  position: relative;
  z-index: 2;
  height: 100%;
  background: linear-gradient(120deg, rgba(29, 53, 87, .92), rgba(29, 53, 87, .68));
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}

.hero__main h1 {
  font-size: clamp(30px, 4.8vw, 48px);
  margin: 8px 0 16px;
  line-height: 1.25;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 13px;
}

.hero__lead {
  font-size: clamp(16px, 2.5vw, 18px);
  margin: 0 0 20px;
  color: #f1f5f9;
}

.hero__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.hero__badges li {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.hero__actions {
  justify-content: flex-start;
}

.hero__card {
  background: rgba(255, 255, 255, .9);
  color: #0b1c2c;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, .25);
  max-width: 420px;
}

.hero__card a.btn {
  margin-top: 12px;
}

.btn--wide {
  width: 100%;
}

.contact-card__label {
  font-weight: 700;
  color: #0f172a;
  margin-top: 0;
}

.contact-card__phone {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 800;
  margin: 8px 0;
}

.contact-card__hours {
  color: #475569;
  margin: 0 0 12px;
}

.contact-card__list {
  list-style: disc;
  margin: 0 0 18px 1.1rem;
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}

.contact-card__list li+li {
  margin-top: 6px;
}

.contact-card__actions {
  display: grid;
  gap: 12px;
}

.contact-card__actions .btn {
  width: 100%;
}

/* =========================
   共通セクション
========================= */
.section {
  padding: var(--section-gap) 0;
}

.section--alt {
  background: #fff;
}

.section__title {
  font-size: clamp(26px, 3.4vw, 36px);
  text-align: center;
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .03em;
}

.section__lead {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.section__actions {
  text-align: center;
  margin-top: 10px;
}

/* =========================
   インクワイアリーフォーム
========================= */
.inquiry__inner {
  display: grid;
  gap: 24px;
}

.inquiry__form fieldset {
  margin: 0;
  border: none;
  padding: 0;
}

.inquiry__form legend {
  font-weight: 700;
  margin-bottom: 12px;
  color: #0b1c2c;
}

.inquiry__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.chip input {
  accent-color: var(--accent);
}

.inquiry__note {
  margin-top: 18px;
  padding: 12px 16px;
  background: #f1f5f9;
  border-radius: 12px;
  color: #475569;
  font-size: 14px;
}

.inquiry__actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================
   ハイライト
========================= */
.section--highlight {
  padding: 40px 0;
  background: var(--brand);
  color: #fff;
}

.highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.highlight__number {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 900;
  margin: 0;
}

.highlight__number span {
  font-size: .5em;
}

.highlight__text {
  margin: 6px 0 0;
  font-weight: 600;
}

.highlight__divider {
  flex: 0 0 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, .3);
  min-height: 80px;
}

.highlight__list p {
  margin: 4px 0;
  font-weight: 600;
}

/* =========================
   事業内容（浮くカード）
========================= */
.business {
  padding: 80px 0;
}

.business .section__title {
  margin-bottom: 36px;
}

.business-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* =========================
   Glass Cards
========================= */
.card {
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, .18);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  color: var(--brand);
  margin-bottom: 14px;
  font-size: 1.15rem;
  font-weight: 800;
}

.card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

/* Scroll Animation Classes */
[data-scroll] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

[data-scroll].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   メリット
========================= */
.merits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.merit-card {
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, .18);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}

.merit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.merit-card h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: var(--brand);
  font-weight: 800;
}

.merit-card p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
  font-size: 14px;
}

/* =========================
   価値訴求
========================= */
.promise__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 36px;
  align-items: center;
}

.promise__list {
  list-style: disc;
  margin: 24px 0 0 1.3rem;
  color: #475569;
  font-size: 15px;
}

.promise__list li+li {
  margin-top: 8px;
}

.promise__card {
  background: linear-gradient(140deg, var(--brand), var(--brand-light));
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.promise__card h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.promise__card p {
  margin-bottom: 24px;
  line-height: 1.7;
}

/* =========================
   会社概要（簡易）
========================= */
.about .about__list {
  list-style: disc;
  padding-left: 1.25rem;
  color: #444;
}

.about .about__list li {
  margin: .35rem 0;
}

/* =========================
   ニュース（リスト）
========================= */
.news {
  list-style: none;
  padding: 0;
  margin: 0 auto 16px;
  width: min(900px, 92%);
}

.news li {
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: center;
}

.news li+li {
  margin-top: 14px;
}

.news time {
  color: #2b3d50;
  font-weight: 700;
  min-width: 110px;
  display: inline-block;
}

.news a {
  color: #0b1c2c;
  font-weight: 700;
}

.news a:hover {
  text-decoration: underline;
}

/* =========================
   お客様の声
========================= */
.voice-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.voice-card {
  background: #fffef9;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}

.voice-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.voice-card::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 22px;
  font-size: 48px;
  color: var(--accent);
  opacity: .25;
  font-family: Georgia, serif;
  line-height: 1;
}

.voice-card h3 {
  margin: 0 0 14px;
  color: var(--brand);
  font-weight: 800;
  font-size: 1rem;
}

.voice-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.9;
}

/* =========================
   ネットワーク
========================= */
.network__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 36px;
  align-items: center;
}

.network__list {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 18px 24px;
  color: #334155;
  font-weight: 600;
}

.network-centers {
  margin: 0;
  padding-left: 1.5rem;
  display: grid;
  gap: 8px;
}

.network-centers li {
  line-height: 1.6;
}

.network__card {
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}

.network__card h3 {
  margin-top: 0;
  color: var(--brand);
}

.network__card p {
  color: #475569;
  line-height: 1.7;
}

/* =========================
   会社概要カード
========================= */
.about--grid {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
}

.about__card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}

.about__card h3 {
  margin-top: 0;
  color: var(--brand);
}

.about__card ul {
  list-style: disc;
  margin: 12px 0 0 1.1rem;
  color: #475569;
  line-height: 1.65;
}

.office-list {
  list-style: disc;
  margin: 12px 0 0 1.1rem;
  color: #475569;
  line-height: 1.65;
}

.office-list li+li {
  margin-top: 8px;
}

/* =========================
   FAQ
========================= */
.faq details {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, .15);
  transition: box-shadow .3s ease;
}

.faq details[open] {
  box-shadow: var(--shadow-lg);
}

.faq details+details {
  margin-top: 16px;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--brand);
  font-size: 15px;
  padding: 4px 0;
  list-style: none;
}

.faq summary::before {
  content: "Q. ";
  color: var(--accent);
  font-weight: 800;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  margin-bottom: 12px;
}

.faq p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
  padding-left: 24px;
  border-left: 3px solid var(--accent-soft);
}

/* =========================
   お問い合わせ
========================= */
.contact-section {
  padding-bottom: 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.contact-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-tile__phone {
  font-size: 22px;
  font-weight: 800;
  margin: 4px 0;
}

.contact-tile__hours {
  margin: 0;
  color: #475569;
  font-weight: 600;
}

.contact-tile__note {
  margin: 8px 0 0;
  color: #475569;
  line-height: 1.6;
}

.contact {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  width: min(1000px, 92%);
  margin-inline: auto;
}

.glass {
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: saturate(140%) blur(8px);
}

.contact__form,
.contact__info {
  padding: 18px;
}

.contact__form label {
  display: block;
  font-weight: 700;
  margin: 10px 0 6px;
  color: #2b3d50;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  border: 1px solid #d6dde6;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 203, 225, .18);
}

/* =========================
   フッター
========================= */
.site-footer {
  background: var(--brand);
  color: rgba(226, 232, 240, .9);
  text-align: center;
  padding: 40px 0;
  font-size: 13px;
  letter-spacing: .04em;
  margin-top: 0;
}

.footer-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

.footer-company {
  margin: 0 0 18px;
  color: rgba(226, 232, 240, .88);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: .03em;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-policy {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
}

.footer-policy a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}

.footer-policy a:hover {
  color: #fff;
}

/* =========================
   お問い合わせページ
========================= */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 48px;
}

.contact-method-card {
  background: #fff;
  border: 1px solid rgba(29, 53, 87, .1);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.contact-method-card__label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.contact-method-card h3 {
  color: var(--brand);
  font-size: 1.12rem;
  margin: 0 0 12px;
}

.contact-method-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 18px;
}

.contact-method-card__link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
}

.contact-form-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(29, 53, 87, .1);
  border-radius: 20px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-form-field,
.contact-form-fieldset {
  min-width: 0;
}

.contact-form-field--full {
  grid-column: 1 / -1;
}

.contact-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.contact-form-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.contact-form-badge--required {
  background: rgba(249, 115, 22, .12);
  color: var(--accent);
}

.contact-form-badge--optional {
  background: #eef2f7;
  color: var(--muted);
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  width: 100%;
  border: 1px solid rgba(29, 53, 87, .16);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.contact-form-input,
.contact-form-select {
  min-height: 54px;
  padding: 0 16px;
}

.contact-form-textarea {
  min-height: 160px;
  padding: 15px 16px;
  line-height: 1.8;
  resize: vertical;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
  outline: none;
  border-color: rgba(249, 115, 22, .58);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .1);
}

.contact-form-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.contact-form-radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-form-radio {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(29, 53, 87, .14);
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
}

.contact-form-radio input {
  accent-color: var(--accent);
}

.contact-form-submit {
  margin-top: 32px;
  text-align: center;
}

.contact-form-privacy {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.contact-form-privacy a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-privacy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.form-privacy a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-submit .btn {
  border: 0;
  cursor: pointer;
  min-width: 260px;
}

/* =========================
   Privacy Policy
========================= */
.privacy-article {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(29, 53, 87, .08);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 56px);
}

.privacy-article__lead {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.privacy-section + .privacy-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(29, 53, 87, .08);
}

.privacy-section h2 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.5;
}

.privacy-section p,
.privacy-section li {
  color: #334155;
  font-size: 15px;
  line-height: 2;
}

.privacy-section p {
  margin: 0;
}

.privacy-section ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
}

.privacy-contact {
  background: #f8fbff;
  border-radius: 14px;
  padding: 18px 20px;
}

.privacy-contact a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.privacy-contact a:hover {
  color: var(--accent);
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 960px) {
  .header__inner {
    gap: 14px;
  }

  .hamburger {
    position: fixed;
    top: 14px;
    right: max(16px, 4vw);
    display: flex !important;
  }

  .nav {
    margin-left: auto;
  }

  .nav__list {
    position: absolute;
    top: calc(100% + 10px);
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100vh - var(--header-h) - 28px);
    overflow-y: auto;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(29, 53, 87, .12);
    border-radius: 18px;
    background: rgba(255, 250, 243, .98);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__list li {
    width: 100%;
  }

  .nav__list a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav__list a::after {
    display: none;
  }

  .nav__list a:is(:hover, .is-active) {
    background: rgba(29, 53, 87, .06);
  }

  .nav__list a.btn {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px !important;
    text-align: center;
  }

  .header__cta {
    display: none;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-field--full {
    grid-column: auto;
  }

  .contact-form-radio-group {
    grid-template-columns: 1fr;
  }

  .contact-form-submit .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .brand__logo {
    height: 34px;
  }

  .hero {
    height: auto;
    min-height: 460px;
  }
}

@media (max-width: 520px) {
  .nav__list {
    left: 5%;
    right: 5%;
  }

  /* 必要ならハンバーガー追加可 */
  .brand__name {
    font-size: 14px;
  }

  .section {
    padding: 64px 0;
  }

  .news time {
    min-width: 92px;
    font-size: 14px;
  }
}

@media (max-width:1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__card {
    margin-inline: auto;
  }

  .highlight {
    justify-content: center;
    text-align: center;
  }

  .highlight__divider {
    display: none;
  }

  .promise__grid,
  .network__grid,
  .about--grid {
    grid-template-columns: 1fr;
  }

  .promise__card,
  .network__card,
  .about__card {
    max-width: 540px;
    margin: 0 auto;
  }
}

@media (max-width:768px) {
  .hero__layer {
    padding: 48px 0;
  }

  .hero__badges {
    justify-content: center;
  }

  .inquiry__actions {
    justify-content: center;
  }

  .section--highlight {
    padding: 32px 0;
  }

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

@media (max-width:640px) {
  .hero__lead {
    font-size: 16px;
  }

  .chip {
    width: 100%;
    justify-content: flex-start;
  }

  .highlight__number {
    font-size: 36px;
  }
}

/* =========================
   事業詳細ページ用（ヒーロー＆ブロック）
========================= */
.page-hero {
  background: linear-gradient(rgba(11, 28, 44, .65), rgba(11, 28, 44, .55)), url("solar-bg.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 140px 20px 80px;
  margin-top: var(--header-h);
}

.page-title {
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: 10px;
  font-weight: 800;
}

.page-lead {
  font-size: clamp(14px, 2.6vw, 18px);
  opacity: .9;
}

.detail-block {
  margin: 60px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.detail-block.reverse {
  direction: rtl;
}

.detail-block.reverse>* {
  direction: ltr;
}

.detail-block img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-block h3 {
  margin-top: 0;
  color: var(--brand);
  font-size: 1.75rem;
  font-weight: 700;
}

.detail-block p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .detail-block {
    grid-template-columns: 1fr;
  }

  .detail-block.reverse {
    direction: ltr;
  }

  .detail-block img {
    margin-bottom: 16px;
  }
}

/* ===== 事業詳細ページ（既知の良品） ===== */

/* セクション全体：左右2カラム（モバイルは1カラム） */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin: 60px 0;
}

/* 説明テキストを白いカードで囲う */
.detail-block .text {
  background: #fff;
  border: 1px solid #e7edf3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
}

/* 画像の見た目 */
.detail-block .media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* 交互レイアウトにしたい場合に .reverse を付ける */
.detail-block.reverse {
  direction: rtl;
}

.detail-block.reverse>* {
  direction: ltr;
}

/* モバイル：縦並び */
@media (max-width: 768px) {
  .detail-block {
    grid-template-columns: 1fr;
  }

  .detail-block.reverse {
    direction: ltr;
  }

  .detail-block .media img {
    margin-top: 8px;
  }
}

/* ===== 白い囲みデザイン（事業詳細ページ） ===== */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin: 60px 0;
}

/* 文字部分（白いカードで囲う） */
.detail-block .text {
  background: #ffffff;
  border: 1px solid #e7edf3;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
  padding: 24px 28px;
}

/* 画像部分 */
.detail-block .media img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
}

/* 交互配置（右左入れ替え） */
.detail-block.reverse {
  direction: rtl;
}

.detail-block.reverse>* {
  direction: ltr;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .detail-block {
    grid-template-columns: 1fr;
  }

  .detail-block.reverse {
    direction: ltr;
  }

  .detail-block .media img {
    margin-top: 16px;
  }
}

/* =========================
   ユーティリティ
========================= */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-3 { margin-top: 3rem; }
.pt-1 { padding-top: 1rem; }

.container--narrow {
  max-width: 800px;
}

/* =========================
   ページヒーロー（ソリッド背景）
========================= */
.page-hero--solid {
  position: relative;
  background: var(--brand);
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.page-hero--solid .page-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.page-hero--solid p {
  font-size: 1.2rem;
  opacity: 0.9;
  color: #fff;
  margin: 0;
}

/* =========================
   グリッドレイアウト（2・3カラム）
========================= */
.grid--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid--2 > * {
  min-width: 0;
}

.grid--2.reverse {
  direction: rtl;
}

.grid--2.reverse > * {
  direction: ltr;
}

.grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

@media (max-width: 768px) {
  .grid--2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .grid--2.reverse {
    direction: ltr;
  }
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

/* =========================
   バッジ
========================= */
.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.badge--blue {
  background: #eaf2f9;
  color: var(--brand);
}

/* =========================
   CTAセクション（ダークブルー）
========================= */
.section--cta {
  background: var(--brand);
  color: #fff;
  text-align: center;
}

.section--cta .section__title {
  color: #fff;
}

.section--cta .btn {
  margin-top: 1rem;
}

/* =========================
   ワークスカード（実績）
========================= */
.works-card {
  padding: 0;
  overflow: hidden;
}

.works-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.works-card__body {
  padding: 1.5rem;
}

.works-card__body h4 {
  margin-bottom: 0.5rem;
}

.works-note {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.works-section-heading {
  text-align: left;
  margin: 3rem 0 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--brand);
  font-size: 1.5rem;
  color: var(--brand);
}

.works-section-heading--accent {
  border-left-color: var(--accent);
  margin-top: 4rem;
}

/* =========================
   強みページ
========================= */
.strength-body {
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
}

.strength-lead {
  font-size: 1.1rem;
  line-height: 2;
  margin-bottom: 3rem;
  color: #555;
}

.strength-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.strength-cta-wrap {
  max-width: 600px;
  margin: 0 auto;
}

/* =========================
   会社情報ページ
========================= */
.corporate-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.corporate-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.corporate-table tr:last-child {
  border-bottom: none;
}

.corporate-table th {
  padding: 1.5rem 0;
  font-weight: 700;
  width: 30%;
  vertical-align: top;
}

.corporate-table td {
  padding: 1.5rem 0;
  line-height: 1.8;
}

.card--padded {
  padding: 3rem;
}

.grid--2 .image {
  overflow: hidden;
}

.ceo-portrait {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ceo-message-title {
  text-align: left;
  margin-bottom: 2.5rem;
  font-size: 2.2rem;
  line-height: 1.5;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ceo-message-text {
  line-height: 2.2;
  margin-bottom: 2rem;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: #444;
}

.ceo-signature-wrap {
  font-size: 1.1rem;
  text-align: right;
  margin-top: 3rem;
}

.ceo-signature {
  font-family: 'Yuji Syuku', 'HG正楷書体-PRO', 'HG行書体', 'HGP行書体', 'ヒラギノ行書 W4', serif;
  font-size: 2.8rem;
  margin-top: 1rem;
  display: inline-block;
  color: #111;
  letter-spacing: 0.2em;
  -webkit-text-stroke: 0.8px currentColor;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  padding-right: 1rem;
}

.philosophy-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.philosophy-lead {
  font-size: 1.2rem;
  line-height: 2;
  margin-bottom: 3rem;
  color: #555;
}

.footer-social {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  padding: 0;
}

.footer-social a {
  color: #fff;
}

.contact-phone-number {
  font-size: clamp(1.5rem, 6vw, 2.5rem) !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere;
}

.top-contact-methods {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.top-contact-method-card {
  min-width: 0;
  width: 100%;
}

.top-contact-method-card p,
.top-contact-method-card a {
  word-break: normal;
}

.top-contact-method-card .contact-phone-number {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem) !important;
  white-space: normal;
}

.top-contact-form-link {
  align-self: center;
  max-width: 100%;
  white-space: normal;
}

.top-contact-email {
  overflow-wrap: anywhere;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .top-contact-methods {
    grid-template-columns: 1fr;
    gap: 1.25rem !important;
    width: 100%;
    max-width: min(560px, calc(100vw - 40px)) !important;
  }

  .top-contact-method-card {
    flex: none !important;
    width: 100%;
    padding: 2rem 1.5rem !important;
    text-align: center;
  }

  .top-contact-method-card .contact-phone-number {
    font-size: clamp(1.65rem, 8vw, 2.2rem) !important;
    line-height: 1.2 !important;
    white-space: normal;
  }

  .top-contact-form-link {
    display: inline-flex !important;
    width: auto;
    max-width: 100%;
    justify-content: center;
    padding: .9rem 1.2rem !important;
  }
}

@media (max-width: 520px) {
  .top-contact-methods {
    max-width: 300px !important;
  }

  .top-contact-method-card {
    padding: 1.8rem 1.25rem !important;
  }

  .top-contact-method-card .contact-phone-number {
    font-size: clamp(1.55rem, 7.5vw, 2rem) !important;
  }
}

.ceo-message-title {
  font-size: clamp(1.55rem, 4.4vw, 2.2rem);
}

.ceo-signature {
  font-size: clamp(2rem, 7vw, 2.8rem);
}

.philosophy-title {
  font-size: clamp(1.65rem, 4.8vw, 2.5rem);
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .section-title-en {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
    line-height: 1.15;
  }

  .page-hero--solid .page-title {
    font-size: clamp(2rem, 12vw, 3.2rem);
    line-height: 1.05;
  }

  .index-split-grid {
    flex-direction: column;
  }

  .index-split-panel {
    flex: 1 1 100% !important;
    padding: 3rem 1.35rem !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .index-split-panel:last-child {
    border-bottom: none;
  }

  .card--padded {
    padding: 1.35rem;
  }

  .ceo-message-title {
    margin-bottom: 1.5rem;
    line-height: 1.45;
  }

  .ceo-message-text {
    font-size: 1rem;
    line-height: 2;
    letter-spacing: .02em;
  }

  .ceo-signature-wrap {
    margin-top: 2rem;
    text-align: left;
    font-size: .95rem;
  }

  .ceo-signature {
    letter-spacing: .12em;
    padding-right: 0;
  }

  .philosophy-title {
    margin-bottom: 1.5rem;
    line-height: 1.45;
  }

  .philosophy-lead {
    font-size: 1rem;
    line-height: 1.9;
  }

  .corporate-table,
  .corporate-table tbody,
  .corporate-table tr,
  .corporate-table th,
  .corporate-table td {
    display: block;
    width: 100%;
  }

  .corporate-table tr {
    padding: 1rem 0;
  }

  .corporate-table th {
    width: auto;
    padding: 0 0 .35rem;
    color: var(--brand);
  }

  .corporate-table td {
    padding: 0;
    word-break: break-word;
  }
}
