/* ==========================================================================
   箕輪通信 公式サイト — スタイルシート
   コンセプト: つなぐ / 信頼 / 感謝 / 丁寧 / 技術 / 人とのつながり
   白を基調に、オレンジと赤をアクセントとした、親しみやすく清潔感のあるデザイン
   ========================================================================== */

:root {
  /* --- カラー --- */
  --color-white: #ffffff;
  --color-bg-soft: #fffaf5;
  --color-beige: #f8efe4;
  --color-beige-border: #ead9c6;

  --color-orange: #e8743d;
  --color-orange-dark: #d9622c;
  --color-orange-light: #f3a66b;

  --color-red: #d94e3f;
  --color-red-dark: #c23b2e;

  --color-text: #4a4038;
  --color-text-light: #8a7a6a;
  --color-text-lighter: #b3a596;
  --color-border: #eadfd2;
  --color-footer-bg: #5a4a40;

  /* --- 角丸・影 --- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 30px rgba(180, 130, 90, 0.12);
  --shadow-soft-sm: 0 4px 14px rgba(180, 130, 90, 0.1);

  /* --- レイアウト --- */
  --container-width: 1120px;
  --header-height: 76px;
}

/* --- リセット --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "Meiryo", "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--color-beige);
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-orange-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.section-lead {
  color: var(--color-text-light);
  font-size: 16px;
  max-width: 640px;
  margin-bottom: 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-header .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(217, 78, 63, 0.25);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-orange-dark);
  border-width: 2.5px;
  border-color: var(--color-orange-light);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--color-beige);
}

/* ==========================================================================
   ヘッダー / ナビゲーション
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(180, 130, 90, 0.12);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo {
  height: 44px;
  width: auto;
}

.header-company-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
  letter-spacing: 0.03em;
}

@media (max-width: 480px) {
  .header-company-name {
    display: none;
  }
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: var(--color-beige);
  color: var(--color-orange-dark);
}

.site-nav a.nav-cta {
  background: var(--color-orange);
  color: var(--color-white);
}

.site-nav a.nav-cta:hover {
  background: var(--color-orange-dark);
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

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

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 24px 20px 40px;
  }

  .site-nav a {
    padding: 16px 20px;
    font-size: 17px;
    text-align: center;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */
.hero {
  padding: calc(var(--header-height) + 8px) 0 16px;
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-white) 100%);
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-catch-wrap {
  position: relative;
  display: inline-block;
}

.hero-logo-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  margin-top: -33px;
  margin-left: -50px;
  z-index: 0;
  opacity: 0.21;
  pointer-events: none;
  animation: heroLogoFloat 6s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  animation: heroLogoFadeIn 1.5s ease-out both;
}

@keyframes heroLogoFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@keyframes heroLogoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-catch {
  position: relative;
  z-index: 1;
  font-size: clamp(24px, 4.6vw, 38px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: 8px;
  animation: heroTextFadeIn 1.2s ease-out 0.2s both;
}

.hero-catch .accent {
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 15.5px;
  color: var(--color-text-light);
  max-width: 460px;
  margin: 0 auto 10px;
  animation: heroTextFadeIn 1.2s ease-out 0.4s both;
}

@keyframes heroTextFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(14.5px, 2vw, 16.5px);
  font-weight: 700;
  color: var(--color-red-dark);
  margin: 0 auto 10px;
  animation: heroTextFadeIn 1.2s ease-out 0.5s both;
}

.hero-tagline::before,
.hero-tagline::after {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--color-orange-light);
}

.hero-quicklist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 0;
  max-width: 620px;
  margin: 0 auto 14px;
  animation: heroTextFadeIn 1.2s ease-out 0.55s both;
}

.hero-quicklist-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-light);
  white-space: nowrap;
}

.hero-quicklist-item svg {
  width: 17px;
  height: 17px;
  color: var(--color-orange-dark);
  flex-shrink: 0;
}

.hero-quicklist-divider {
  display: none;
  width: 1px;
  height: 14px;
  background: var(--color-border);
}

@media (min-width: 600px) {
  .hero-quicklist-divider {
    display: block;
  }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroTextFadeIn 1.2s ease-out 0.6s both;
}

@media (prefers-reduced-motion: reduce) {

  .hero-logo-wrap,
  .hero-logo,
  .hero-catch,
  .hero-sub,
  .hero-tagline,
  .hero-quicklist,
  .hero-buttons {
    animation: none;
  }

  .business-card:hover,
  .btn:hover {
    transform: none;
  }
}

/* ==========================================================================
   信頼情報
   ========================================================================== */
.trust-strip {
  background: var(--color-white);
  padding: 0 0 56px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft-sm);
}

.trust-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-beige);
  color: var(--color-orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-label {
  font-size: 12.5px;
  color: var(--color-text-lighter);
  margin-bottom: 2px;
}

.trust-value {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .trust-strip {
    padding-bottom: 72px;
  }
}

/* --- 私たちの想い --- */
.philosophy-card {
  position: relative;
  background: linear-gradient(135deg, var(--color-beige), var(--color-bg-soft));
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-orange);
  padding: 40px 40px 40px 36px;
  border-top: 1px solid var(--color-beige-border);
  border-right: 1px solid var(--color-beige-border);
  border-bottom: 1px solid var(--color-beige-border);
  margin-bottom: 44px;
}

.philosophy-statement {
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 22px;
  font-weight: 700;
}

.philosophy-card p:not(.philosophy-eyebrow) {
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 10px;
}

.philosophy-card p:not(.philosophy-eyebrow):last-child {
  margin-bottom: 0;
}

.logo-story-card {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft-sm);
}

.logo-story-card img {
  width: 96px;
  flex-shrink: 0;
}

.logo-story-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.logo-story-card p {
  white-space: pre-line;
  color: var(--color-text-light);
  font-size: 15px;
}

.logo-story-card .note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--color-text-lighter);
}

@media (max-width: 600px) {
  .logo-story-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   事業内容
   ========================================================================== */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.business-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.business-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-orange-light), var(--color-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 18px;
}

.business-icon svg {
  width: 24px;
  height: 24px;
}

.business-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-text);
}

.business-card p {
  color: var(--color-text-light);
  font-size: 14.5px;
}

.business-card .business-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--color-text-lighter);
  border-top: 1px dashed var(--color-border);
  padding-top: 10px;
}

.business-card--highlight {
  border-color: var(--color-orange-light);
}

.business-icon--accent {
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
}

.business-card-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-red-dark);
  margin-bottom: 4px;
}

/* ==========================================================================
   強み
   ========================================================================== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft-sm);
}

.strength-check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-beige);
  color: var(--color-orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.strength-check svg {
  width: 15px;
  height: 15px;
}

.strength-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.strength-item p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-light);
}

.strength-item--highlight {
  border-color: var(--color-orange-light);
}

.strength-check--accent {
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: var(--color-white);
}

/* ==========================================================================
   対応エリア
   ========================================================================== */
.area-card {
  background: linear-gradient(135deg, var(--color-beige), var(--color-bg-soft));
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--color-beige-border);
}

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

.area-card p {
  white-space: pre-line;
  color: var(--color-text);
  max-width: 680px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.area-tag {
  background: var(--color-white);
  border: 1px solid var(--color-orange-light);
  color: var(--color-orange-dark);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
}

.area-map {
  margin: 0;
  max-width: 360px;
  width: 100%;
  margin-inline: auto;
}

.area-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.area-map-label {
  font-size: 15px;
  font-weight: 700;
  fill: var(--color-white);
  text-anchor: middle;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.area-map-label--dark {
  fill: var(--color-text);
}

.area-map-pin-label {
  font-size: 12px;
  font-weight: 700;
  fill: var(--color-text);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

@media (min-width: 860px) {
  .area-card-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ==========================================================================
   施工写真
   ========================================================================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.photo-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft-sm);
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.photo-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-caption {
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--color-text-light);
  font-weight: 600;
}

/* ==========================================================================
   感謝
   ========================================================================== */
.thanks-section {
  text-align: center;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  color: var(--color-white);
  border-radius: var(--radius-lg);
  margin: 0 20px;
  padding: 64px 24px;
}

.thanks-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px;
}

.thanks-section .section-title {
  color: var(--color-white);
}

.thanks-section p {
  max-width: 560px;
  margin: 0 auto;
  white-space: pre-line;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .thanks-section {
    margin: 0 auto;
    border-radius: var(--radius-lg);
  }
}

/* ==========================================================================
   会社概要
   ========================================================================== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft-sm);
  border: 1px solid var(--color-border);
}

.company-table tr {
  border-bottom: 1px solid var(--color-border);
}

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

.company-table th,
.company-table td {
  text-align: left;
  padding: 18px 24px;
  font-size: 15px;
  vertical-align: top;
}

.company-table th {
  width: 160px;
  background: var(--color-beige);
  color: var(--color-text-light);
  font-weight: 700;
}

.company-table td {
  color: var(--color-text);
  white-space: pre-line;
}

@media (max-width: 600px) {

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

  .company-table th {
    padding-bottom: 6px;
  }

  .company-table td {
    padding-top: 0;
    padding-bottom: 20px;
  }
}

.is-pending {
  color: var(--color-text-lighter);
}

/* ==========================================================================
   お問い合わせ
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft-sm);
  text-align: center;
}

.contact-card .contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--color-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange-dark);
}

.contact-card .contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-card h3 {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.contact-card a,
.contact-card .is-pending {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-orange-dark);
}

.contact-card a:hover {
  color: var(--color-red-dark);
}

.contact-form-cta {
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.form-row input,
.form-row textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  background: var(--color-white);
  color: var(--color-text);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-orange-light);
  outline-offset: 1px;
}

.contact-form .btn {
  justify-self: start;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-required-mark {
  color: var(--color-red-dark);
  font-size: 12px;
  font-weight: 700;
  margin-left: 2px;
}

.form-optional-mark {
  color: var(--color-text-lighter);
  font-size: 12px;
  font-weight: 400;
  margin-left: 2px;
}

.contact-form-status {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
}

.contact-form-status--success {
  background: var(--color-beige);
  color: var(--color-orange-dark);
  border: 1px solid var(--color-beige-border);
}

.contact-form-status--error {
  background: rgba(217, 78, 63, 0.08);
  color: var(--color-red-dark);
  border: 1px solid rgba(217, 78, 63, 0.3);
}

/* ==========================================================================
   お問い合わせフォーム（モーダル）
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74, 64, 56, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-right: 32px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--color-beige);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-close:hover {
  background: var(--color-beige-border);
}

@media (max-width: 600px) {
  .modal {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  background: var(--color-footer-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  height: 40px;
  filter: grayscale(0.1) brightness(1.05);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-company-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
}

.footer-tagline,
.footer-area {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 14px;
}

.footer-contact-line svg {
  width: 16px;
  height: 16px;
  color: var(--color-orange-light);
  flex-shrink: 0;
}

.footer-contact-line a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-line a:hover {
  color: var(--color-orange-light);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 4px;
}

.footer-nav a {
  padding: 8px 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-nav a:hover {
  color: var(--color-orange-light);
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   背景装飾（AI生成の仮画像。実写が用意でき次第、同じファイル名で差し替え予定）
   ========================================================================== */
.section-bg-photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-bg-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(0.6) brightness(1.7) blur(8px);
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
}

.section-bg-photo > .container {
  position: relative;
  z-index: 1;
}

#top.section-bg-photo::before {
  background-image: url("../public/images/backgrounds/top-bg.jpg");
}

#about.section-bg-photo::before {
  background-image: url("../public/images/backgrounds/about-bg.jpg");
}

#business.section-bg-photo::before {
  background-image: url("../public/images/backgrounds/business-bg.jpg");
}

#strengths.section-bg-photo::before {
  background-image: url("../public/images/backgrounds/strengths-bg.jpg");
}

/* ==========================================================================
   ユーティリティ
   ========================================================================== */
[hidden] {
  display: none !important;
}

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