/* ベース設定 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Segoe UI", "Yu Gothic", "游ゴシック体", "YuGothic", "メイリオ", sans-serif;
  color: #28292a; /* 基本文字色 */
  background-color: #ffffff;
  line-height: 1.7;
  font-weight: 500;
}

a {
  color: #e7ae46;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hidden {
  visibility: hidden;
  pointer-events: none;
}

/* レイアウト */

.section {
  padding: 120px 32px;
}

.bg-light {
  background-color: #f5f5f5;
}

.section-inner,
.hero-inner,
.header-inner,
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 32px;
  text-align: center;
}

.section-title {
  font-size: 1.75rem;
  margin: 0 0 8px;
}

.section-lead {
  margin: 0;
}

/* ヘッダー・ナビゲーション */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 16px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 0.75rem;
  color: #28292a;
  font-weight: 500;
}

.header-contact {
  margin-left: auto;
  text-align: right;
  font-size: 0.8rem;
}

.tel-label {
  font-weight: 600;
}

.tel-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.tel-time {
  opacity: 0.8;
}

.global-nav {
  margin-left: 24px;
}

.nav-root {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.nav-root > li > a,
.nav-parent {
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: inherit;
  background: none;
  border: none;
  padding: 8px 4px;
  cursor: pointer;
  color: #28292a;
  text-decoration: none;
  display: inline-block;
}

.nav-parent:hover {
  color: #e7ae46;
}

.nav-root > li {
  position: relative;
}

.nav-root > li.has-children:hover > .nav-children {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-children {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 6px 0 0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 1000;
}

.nav-children li {
  position: relative;
}

.nav-children li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: #8a5a1f;
}

.nav-children li a:hover {
  background-color: #f5f5f5;
  text-decoration: none;
}

/* 3階層目のサブメニュー */
.nav-children .nav-children {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 4px;
  min-width: 180px;
}

.nav-children li.has-children:hover > .nav-children {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-children li.has-children > a::after {
  content: "›";
  float: right;
  margin-left: 8px;
  font-size: 1.2rem;
  color: #8a5a1f;
}

/* ハンバーガー（SP） */

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #8a5a1f;
  margin: 6px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ヒーロー */

.hero {
  padding: 120px 16px 96px;
  position: relative;
  overflow: hidden;
  min-height: 700px;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: -1;
}

.hero-bg--current {
  opacity: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.85), 0 2px 4px rgba(0, 0, 0, 0.6);
}

.section-header .hero-kicker {
  color: #e7ae46;
  text-shadow: none;
}

.hero-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin: 0 0 16px;
  line-height: 1.4;
  font-family: "Hiragino Mincho ProN", "游明朝体", "Yu Mincho", "MS 明朝",
    "Noto Serif JP", serif;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-lead {
  margin: 0 0 24px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.85), 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
  padding: 0;
}

.hero-nav-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.hero-nav-button:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-nav-prev {
  left: 16px;
}

.hero-nav-next {
  right: 16px;
}

.hero-nav-button svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

/* ボタン */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn.primary {
  background-color: #e7ae46;
  border-color: #e7ae46;
  color: #ffffff;
}

.btn.primary:hover {
  background-color: #f2902f;
  border-color: #f2902f;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.btn.outline {
  background-color: transparent;
  border-color: #e7ae46;
  color: #28292a;
}

.btn.outline:hover {
  background-color: rgba(231, 174, 70, 0.08);
  text-decoration: none;
}

.hero .btn.outline {
  background-color: #ffffff;
  color: #28292a;
}

.hero .btn.outline:hover {
  background-color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

/* フルスクリーンヒーロー */

.fullscreen-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.medical-hero {
  background-image: url("../../assets/images/hero-medical.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px;
  text-align: center;
}

.fullscreen-hero .hero-kicker {
  color: #e7ae46;
  text-shadow: none;
  margin-bottom: 16px;
}

.fullscreen-hero .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 24px;
  line-height: 1.3;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
}

.fullscreen-hero .hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin: 0 0 40px;
  line-height: 1.8;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
}

.fullscreen-hero .hero-actions {
  justify-content: center;
}

.fullscreen-hero .btn.outline {
  color: #ffffff;
}

.fullscreen-hero .btn.outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
}

/* 地域貢献活動ページ */

.community-contribution-hero .hero-content {
  text-align: center;
}

.community-contribution-inner {
  max-width: 900px;
  margin: 0 auto;
}

.community-contribution-text {
  color: #28292a;
  margin-bottom: 60px;
  text-align: left;
}

.community-contribution-text .hero-kicker {
  color: #e7ae46;
  text-shadow: none;
}

.community-contribution-text .hero-title {
  color: #234056;
  text-shadow: none;
}

.community-contribution-text .hero-lead {
  color: #28292a;
  text-shadow: none;
}

.community-contribution-pdf-section {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #e0e0e0;
  display: grid;
  grid-template-columns: 8fr 2fr;
  gap: 40px;
  align-items: start;
}

.pdf-section-text {
  text-align: left;
}

.community-contribution-pdf-section .content-title {
  color: #234056;
  text-shadow: none;
  margin-bottom: 16px;
  text-align: left;
}

.community-contribution-pdf-section .hero-lead {
  color: #28292a;
  text-shadow: none;
  margin-bottom: 32px;
  text-align: left;
}

.community-contribution-pdf {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.community-contribution-pdf {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.community-contribution-pdf .pdf-link {
  padding: 8px;
  gap: 8px;
  flex-direction: column;
}

.community-contribution-pdf .pdf-thumbnail {
  width: 200px;
}

.community-contribution-pdf .pdf-link-label {
  font-size: 0.8rem;
}

.community-contribution-pdf .pdf-link-filename {
  font-size: 0.7rem;
}

.community-contribution-pdf .pdf-link-content {
  gap: 4px;
}

.community-contribution-hero .pdf-link {
  background-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
  border: none;
}

.community-contribution-hero .pdf-link:hover {
  background-color: transparent;
  transform: none;
}

.community-contribution-hero .pdf-link-label {
  color: #28292a;
  text-shadow: none;
}

.community-contribution-hero .pdf-link-filename {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
}

/* コンテンツグリッド */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.content-title {
  font-size: 2rem;
  font-weight: 700;
  color: #234056;
  margin: 0 0 24px;
  line-height: 1.4;
}

.content-section-block {
  padding: 48px 0;
  margin-bottom: 48px;
  border-bottom: 1px solid #e0e0e0;
}

.content-section-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.content-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #234056;
  margin: 48px 0 24px;
  line-height: 1.4;
  position: relative;
  padding-left: 24px;
}

.content-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 32px;
  background: linear-gradient(180deg, #e7ae46 0%, #d99a2e 100%);
  border-radius: 2px;
}


.content-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 24px;
  color: #28292a;
}


/* content-section-block内のリストの装飾 */
.content-section-block ul li::marker {
  color: #e7ae46;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.feature-list li {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e0e0e0;
}

.feature-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.feature-list strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #234056;
  margin-bottom: 12px;
}

.feature-list p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #28292a;
}

/* サイドバー */

.content-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #234056;
  margin: 0 0 16px;
}

.sidebar-text {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 24px;
  color: #28292a;
}

.sidebar-box .btn {
  width: 100%;
  margin-bottom: 24px;
}

.sidebar-contact {
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.sidebar-tel {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.sidebar-tel strong {
  display: block;
  margin-bottom: 8px;
  color: #234056;
}

.sidebar-tel a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e7ae46;
  text-decoration: none;
}

.sidebar-tel a:hover {
  text-decoration: underline;
}

.sidebar-tel small {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: #666;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  margin-bottom: 12px;
}

.sidebar-links li:last-child {
  margin-bottom: 0;
}

.sidebar-links a {
  color: #234056;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.6;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  transition: color 0.2s ease;
}

.sidebar-links a:hover {
  color: #e7ae46;
  text-decoration: none;
}

/* カード */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.card-thumb {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-thumb img {
  transform: scale(1.05);
}

/* サービス紹介ページ用（.card-contentがある場合） */
.card-content {
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #234056;
}

.card-text {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.8;
  color: #28292a;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.card-actions .btn {
  width: 100%;
  text-align: center;
}

.bg-light .card {
  background-color: #ffffff;
}

/* 施工事例カテゴリー */

.case-studies-section {
  position: relative;
  padding: 0;
  min-height: 600px;
  overflow: hidden;
}

.case-studies-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../../assets/images/jirei.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.case-studies-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.case-studies-section .section-inner {
  position: relative;
  z-index: 2;
  padding: 120px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.case-studies-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.case-studies-text {
  max-width: 600px;
  color: #ffffff;
  position: relative;
  padding: 32px;
}

.case-studies-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  z-index: -1;
}

.case-studies-text .section-title {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
  position: relative;
}

.case-studies-text .section-lead {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 32px;
  font-weight: 500;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
  position: relative;
}

.case-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.case-category {
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #28292a;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.case-category:hover {
  background-color: #e7ae46;
  border-color: #e7ae46;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr;
  gap: 32px;
}

.about-message {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}

.about-message-thumb {
  margin: 0;
}

.about-message-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}

.about-message-content {
  display: flex;
  flex-direction: column;
}

.subheading {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #8a5a1f;
}

.definition-list {
  margin: 0;
}

.definition-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.definition-list dt {
  font-weight: 600;
}

.definition-list dd {
  margin: 0;
}

.community-section {
  position: relative;
  padding: 0;
  min-height: 600px;
  overflow: hidden;
}

.community-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../../assets/images/tanabata.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.community-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.community-section .section-inner {
  position: relative;
  z-index: 2;
  padding: 120px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.community-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.community-text {
  max-width: 600px;
  color: #ffffff;
  text-align: right;
  position: relative;
  padding: 32px;
}

.community-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  z-index: -1;
}

.community-text .section-title {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
  text-align: right;
  position: relative;
}

.community-text p {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
  position: relative;
}

.community-text .btn.outline {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: #ffffff;
  color: #28292a;
  backdrop-filter: blur(4px);
}

.community-text .btn.outline:hover {
  background-color: #e7ae46;
  border-color: #e7ae46;
  color: #ffffff;
}

.section-actions {
  margin-top: 16px;
}

/* フッター */

.site-footer {
  background-color: #234056;
  color: #ffffff;
  padding-top: 32px;
}

.footer-top {
  display: flex;
  gap: 40px;
  padding: 0 16px 24px;
}

.footer-company {
  flex: 1;
  font-size: 0.9rem;
}

.footer-logo {
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-contact div {
  margin-bottom: 2px;
}

.footer-nav {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  font-size: 0.85rem;
}

.footer-nav-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #ffffff;
  display: inline-block;
  padding: 2px 0;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-banners {
  padding: 24px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-banner-link {
  display: inline-block;
  transition: opacity 0.3s ease;
  background-color: #ffffff;
  padding: 8px;
}

.footer-banner-link:hover {
  opacity: 0.8;
}

.footer-banner-link img {
  max-height: 60px;
  width: auto;
  display: block;
}

.footer-bottom {
  text-align: center;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
}

/* 施工事例ページ（フルスクリーン） */

.case-studies-tabs {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: transparent;
  padding: 16px 0;
  margin-top: 0;
}

.tabs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 16px;
  justify-content: flex-start;
}

.tab-button-wrapper {
  position: relative;
}

.tab-button {
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: #28292a;
  background-color: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.tab-button:hover {
  border-color: #e7ae46;
  color: #e7ae46;
  background-color: #ffffff;
}

.tab-button.active {
  background-color: #e7ae46;
  border-color: #e7ae46;
  color: #ffffff;
}

.tab-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 200px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 100;
}

.tab-button-wrapper:hover .tab-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tab-submenu li {
  margin: 0;
}

.tab-submenu li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: #8a5a1f;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.tab-submenu li a:hover {
  background-color: #f5f5f5;
  text-decoration: none;
  color: #e7ae46;
}

.case-studies-container {
  position: relative;
}

.case-studies-container.hidden {
  display: none;
}

/* 施工事例カテゴリセクション */
.case-study-category-section {
  padding: 80px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.case-study-category-header {
  margin-bottom: 60px;
  text-align: center;
}

.case-study-category-label {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 3px solid #e7ae46;
  display: inline-block;
}

/* 施工事例記事 */
.case-study-article {
  margin-bottom: 80px;
}

.case-study-article:last-child {
  margin-bottom: 0;
}

.case-study-article .case-study-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e7ae46;
}

/* 写真ギャラリー */
.case-study-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.case-study-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.case-study-gallery img {
  cursor: pointer;
}

.case-study-gallery img:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ライトボックスモーダル */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  padding: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  z-index: 10001;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 2.5rem;
    width: 40px;
    height: 40px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 50px;
    height: 50px;
    font-size: 2.5rem;
  }

/* 旧スタイル（後方互換性のため残す） */
.case-study-item {
  position: relative;
  min-height: auto;
  display: block;
  overflow: visible;
  color: #333;
  background: #fff;
  padding: 0;
}

.case-study-bg {
  display: none;
}

.case-study-overlay {
  display: none;
}

.case-study-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.case-study-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.case-study-category {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e7ae46;
  font-weight: 700;
  margin: 0 0 16px;
}

.case-study-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  margin: 0 0 40px;
  color: #666;
}

.case-study-details {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 32px;
  margin: 0 0 40px;
  text-align: left;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  margin: 0;
}

.detail-list dt {
  font-weight: 700;
  color: #e7ae46;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.detail-list dd {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.case-study-detail-content {
  position: relative;
  z-index: 3;
  background-color: #fff;
  padding: 40px 32px 120px;
  width: 100%;
}

.case-study-detail-content .content-main {
  max-width: 800px;
  margin: 0 auto;
}

.case-study-detail-content h2 {
  font-size: 2rem;
  color: #333;
  font-weight: 700;
  margin: 48px 0 24px;
}

.case-study-detail-content h2:first-child {
  margin-top: 0;
}

.case-study-detail-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin: 0 0 24px;
}

.case-study-detail-content blockquote {
  background: #f5f5f5;
  padding: 16px 24px;
  margin: 24px 0;
  color: #333;
  border-radius: 8px;
  border-left: 4px solid #e7ae46;
}

.case-study-detail-content blockquote p {
  margin: 0;
}

.case-study-item .btn {
  min-width: 200px;
}

/* レスポンシブ */

@media (max-width: 1023px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .header-inner {
    padding: 8px 12px;
  }

  .global-nav {
    margin-left: 0;
  }
}

/* スマホ用固定電話番号バー - デスクトップでは非表示 */
.mobile-tel-bar {
  display: none;
}

@media (max-width: 767px) {
  .header-inner {
    padding: 8px 12px;
  }

  .header-contact {
    display: none;
  }

  /* スマホ用固定電話番号バー */
  body {
    padding-bottom: 80px;
  }

  .mobile-tel-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #e7ae46;
    color: #ffffff;
    padding: 12px 16px;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-tel-bar-content {
    flex: 1;
    min-width: 0;
  }

  .mobile-tel-label {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 2px;
  }

  .mobile-tel-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
  }

  .mobile-tel-number:hover {
    text-decoration: none;
    opacity: 0.9;
  }

  .mobile-tel-button {
    flex-shrink: 0;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #e7ae46;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .mobile-tel-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
  }

  .global-nav {
    position: fixed;
    inset: 56px 0 0 0;
    background-color: #ffffff;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .global-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-root {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 0;
  }

  .nav-root > li {
    width: 100%;
  }

  .nav-parent,
  .nav-root > li > a {
    width: 100%;
    text-align: left;
    padding: 10px 8px;
  }

  .nav-children {
    position: static;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0 0 8px 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-children.open {
    display: block;
  }

  /* モバイルでの3階層メニュー */
  .nav-children .nav-children {
    position: static;
    margin-left: 0;
    padding-left: 16px;
    min-width: auto;
  }

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 80px 16px;
  }

  .section-header {
    text-align: left;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-message {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .about-message-thumb {
    max-width: 200px;
    margin: 0 auto;
  }

  .case-studies-section,
  .community-section {
    min-height: 500px;
  }

  .case-studies-section .section-inner,
  .community-section .section-inner {
    padding: 80px 16px;
  }

  .case-studies-content,
  .community-content {
    justify-content: center;
  }

  .case-studies-text,
  .community-text {
    max-width: 100%;
    text-align: center;
    padding: 24px;
  }

  .case-studies-text .section-title,
  .community-text .section-title {
    font-size: 2rem;
    text-align: center;
  }

  .case-studies-text .section-lead,
  .community-text p {
    text-align: center;
  }

  .case-categories {
    justify-content: center;
  }

  .fullscreen-hero {
    min-height: 80vh;
  }

  .hero-content {
    padding: 80px 16px;
  }

  .hero-nav-button {
    width: 40px;
    height: 40px;
  }

  .hero-nav-button svg {
    width: 20px;
    height: 20px;
  }

  .hero-nav-prev {
    left: 8px;
  }

  .hero-nav-next {
    right: 8px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-sidebar {
    position: static;
  }

  .content-title {
    font-size: 1.75rem;
  }

  .content-subtitle {
    font-size: 1.25rem;
    padding-left: 20px;
  }

  .content-subtitle::before {
    width: 3px;
    height: 24px;
  }


  .sidebar-box {
    padding: 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .footer-banners {
    padding: 20px 16px;
    gap: 24px;
  }

  .footer-banner-link img {
    max-height: 50px;
  }

  .case-studies-tabs {
    padding: 12px 0;
  }

  .tabs-inner {
    padding: 0 16px;
    flex-wrap: wrap;
  }

  .tab-button {
    padding: 10px 24px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 140px;
  }

  .case-study-category-section {
    padding: 60px 16px;
  }

  .case-study-category-label {
    font-size: 1.5rem;
  }

  .case-study-article {
    margin-bottom: 60px;
  }

  .case-study-article .case-study-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .case-study-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 24px;
  }

  .case-study-item {
    min-height: auto;
  }

  .case-study-content {
    padding: 40px 16px;
  }

  .case-study-title {
    font-size: 1.75rem;
  }

  .case-study-description {
    font-size: 1rem;
  }

  .case-study-details {
    padding: 24px;
  }

  .detail-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail-list dt {
    font-size: 0.9rem;
  }

  .detail-list dd {
    font-size: 1rem;
  }

  .case-study-detail-content {
    padding: 40px 16px;
  }

  .case-study-detail-content h2 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
  }

  .case-study-detail-content p {
    font-size: 1rem;
  }

  .pdf-link {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .pdf-thumbnail {
    width: 70px;
    margin: 0 auto;
  }

  .pdf-link-content {
    margin-top: 16px;
  }

  .pdf-link-section {
    margin-top: 32px;
  }

  .pdf-link {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .pdf-link:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    border-color: #e7ae46;
    text-decoration: none;
  }

  .pdf-thumbnail {
    width: 80px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
  }

  .pdf-link-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .pdf-link-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #234056;
  }

  .pdf-link-filename {
    font-size: 0.9rem;
    color: #666;
  }

  .pdf-link:hover .pdf-link-label {
    color: #e7ae46;
  }

  .about-section-content {
    padding: 80px 16px;
  }

  .about-section-title {
    font-size: 1.75rem;
  }

  .about-section-text {
    padding: 24px;
  }

  .about-section-text p {
    font-size: 1rem;
  }

  .about-info-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .about-info-list {
    padding: 20px;
  }

  .info-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .info-item dt {
    font-size: 0.9rem;
  }

  .info-item dd {
    font-size: 1rem;
  }

  .strengths-list {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .strength-item {
    padding: 24px;
  }

  .strength-title {
    font-size: 1.25rem;
  }

  .strength-text {
    font-size: 0.95rem;
  }

  .pdf-link {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .pdf-thumbnail {
    width: 100px;
    margin: 0 auto;
  }

  .pdf-link-content {
    margin-top: 16px;
  }

  .community-contribution-text {
    margin-bottom: 40px;
  }

  .community-contribution-pdf-section {
    margin-top: 40px;
    padding-top: 40px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .community-contribution-hero .hero-content {
    text-align: center;
  }

  /* 会社概要ページ：スマホ表示時に背景を無しにする */
  .about-fullscreen-section {
    color: #28292a !important;
    background-color: #f9f9f9;
    min-height: auto;
    position: relative;
  }

  .about-fullscreen-section:not(:first-child) {
    padding-top: 10px;
  }

  .about-fullscreen-section:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 160px);
    max-width: 1200px;
    height: 1px;
    background-color: #e0e0e0;
  }

  .about-fullscreen-section:not(:first-child) .about-section-content {
    padding-top: 10px;
  }

  .about-fullscreen-section * {
    text-shadow: none !important;
  }

  .about-section-bg {
    display: none;
  }

  .about-section-overlay {
    display: none;
  }

  .about-section-content {
    padding: 0 16px;
  }

  .about-section-inner {
    padding: 24px 16px;
  }

  .about-section-category {
    color: #e7ae46 !important;
    text-shadow: none !important;
    margin: 0 0 12px !important;
  }

  .about-section-title {
    color: #28292a !important;
    text-shadow: none !important;
    margin: 0 0 24px !important;
  }

  .about-section-text {
    background-color: #f5f5f5;
    backdrop-filter: none;
    color: #28292a !important;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 24px 16px;
    margin: 0 0 24px;
  }

  .about-section-text p {
    color: #28292a !important;
    text-shadow: none !important;
  }

  .about-signature {
    color: #28292a !important;
    text-shadow: none !important;
  }

  .about-info-list {
    background-color: #f5f5f5;
    backdrop-filter: none;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px 16px;
  }

  .info-item dt {
    color: #28292a !important;
    text-shadow: none !important;
  }

  .info-item dd {
    color: #28292a !important;
    text-shadow: none !important;
  }

  .strength-item {
    background-color: #f5f5f5;
    backdrop-filter: none;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 24px 16px;
  }

  .strength-title {
    color: #28292a !important;
    text-shadow: none !important;
  }

  .strength-text {
    color: #28292a !important;
    text-shadow: none !important;
  }
}

/* 会社概要ページ（フルスクリーン） */

.about-fullscreen-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  scroll-margin-top: 80px;
}

.about-section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.about-section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.about-section-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 32px;
}

.about-section-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-section-category {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e7ae46;
  font-weight: 700;
  margin: 0 0 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.about-section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 32px;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
}

.about-section-text {
  text-align: left;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 40px;
  margin: 0 0 32px;
}

.about-section-text p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  margin: 0 0 24px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
}

.about-section-text p:last-child {
  margin-bottom: 0;
}

.about-signature {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: right;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.about-info-list {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
  margin: 0;
}

.info-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-item dt {
  font-weight: 700;
  color: #e7ae46;
  font-size: 0.95rem;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.info-item dd {
  margin: 0;
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

  .strengths-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }

.strength-item {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 32px;
}

/* お問い合わせフォーム */

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-row {
  margin-bottom: 32px;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-row label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #28292a;
  margin-bottom: 8px;
}

.form-row .required {
  color: #e7ae46;
  font-size: 0.9rem;
  margin-left: 4px;
  font-weight: 700;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #28292a;
  background-color: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="tel"]:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #e7ae46;
  box-shadow: 0 0 0 3px rgba(231, 174, 70, 0.1);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-row select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2328292a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row .btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 1.1rem;
  margin-top: 8px;
}

@media (max-width: 767px) {
  .contact-form {
    padding: 32px 24px;
  }

  .form-row {
    margin-bottom: 24px;
  }

  .form-row input[type="text"],
  .form-row input[type="email"],
  .form-row input[type="tel"],
  .form-row select,
  .form-row textarea {
    font-size: 16px; /* iOSでズームを防ぐ */
  }
}

.strength-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e7ae46;
  margin: 0 0 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.strength-text {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}


