/*
Theme Name: ITERRA
Description: ITERRA株式会社のコーポレートサイトテーマ - 中小企業へのITの浸透を加速させ、地域経済の活性化に貢献します
Version: 1.0
Author: ITERRA 株式会社
*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800&display=swap");

/* --------------------------------------------------
  Reset
    - The new CSS reset - version 1.11.2 (last updated 15.11.2023)
    - GitHub: https://github.com/elad2412/the-new-css-reset
-------------------------------------------------- */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) { all: unset; display: revert; }
*, *::before, *::after { box-sizing: border-box; }
html { -moz-text-size-adjust: none; -webkit-text-size-adjust: none; text-size-adjust: none; }
a, button { cursor: revert; }
ol, ul, menu, summary { list-style: none; }
img { max-inline-size: 100%; max-block-size: 100%; }
table { border-collapse: collapse; }
input, textarea { -webkit-user-select: auto; }
textarea { white-space: revert; }
meter { -webkit-appearance: revert; appearance: revert; }
:where(pre) { all: revert; box-sizing: border-box; }
::placeholder { color: unset; }
:where([hidden]) { display: none; }
:where([contenteditable]:not([contenteditable="false"])) { -moz-user-modify: read-write; -webkit-user-modify: read-write; overflow-wrap: break-word; -webkit-line-break: after-white-space; -webkit-user-select: auto; }
:where([draggable="true"]) { -webkit-user-drag: element; }
:where(dialog:modal) { all: revert; box-sizing: border-box; }
::-webkit-details-marker { display: none; }

/* リセット & 基本設定 */
body.iterra-frontend {
  font-family: "Noto Sans JP", sans-serif !important;
  line-height: 1.6;
  color: #1A1A1C;
  background-color: #fff;
  overflow-x: hidden;
}

.iterra-frontend *,
.iterra-frontend *::before,
.iterra-frontend *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

.container {
  margin: 0 auto;
  width: 100%;
}

/* 全幅セクション */
section,
.hero-section,
.services-section,
.features-section,
.cta-section,
.footer-main,
.footer-bottom {
  width: 100%;
  /* margin-left: calc(50% - 50vw); */
  /* margin-right: calc(50% - 50vw); */
  /* padding-left: calc(50vw - 50%); */
  /* padding-right: calc(50vw - 50%); */
}

/* ヘッダー */
.site-header {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-bottom: 1rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.header-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.9rem 2rem;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #3d405b;
  flex-shrink: 0;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

.logo-image {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}

/* モバイルメニューボタン */
.mobile-menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3d405b, #2a2d3a);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  position: fixed;
  right: 1.5rem;
  box-shadow: 0 4px 15px rgba(61, 64, 91, 0.3);
}

.mobile-menu-toggle:hover {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.4);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* デスクトップナビゲーション */
.desktop-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #3d405b;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.75rem 0;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.current::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.current {
  color: #e07a5f;
}

/* モバイルナビゲーション */
.mobile-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 243, 238, 0.95));
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s ease;
  z-index: 1000;
  display: none;
}

.mobile-navigation.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(224, 122, 95, 0.4);
}

.mobile-menu-close:hover {
  background: linear-gradient(135deg, #3d405b, #2a2d3a);
  transform: scale(1.1);
}

.close-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.close-line {
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  position: absolute;
}

.close-line:nth-child(1) {
  transform: rotate(45deg);
}

.close-line:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-nav-content {
  padding: 8rem 2rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 2rem 0 3rem 0;
  width: 100%;
}

.mobile-nav-menu li {
  margin-bottom: 0.3rem;
  border-bottom: 1px solid rgba(61, 64, 91, 0.1);
  padding-bottom: 0.3rem;
}

.mobile-nav-menu li:last-child {
  border-bottom: none;
}

.mobile-nav-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #3d405b;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 1rem;
  border-radius: 15px;
}

.mobile-nav-menu a:hover {
  color: #e07a5f;
  background: rgba(224, 122, 95, 0.1);
  transform: translateY(-2px);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 320px;
}

.btn-download-mobile,
.btn-contact-mobile {
  padding: 1.25rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

.btn-download-mobile {
  background: linear-gradient(135deg, #81b29a, #a8dadc);
  color: white;
  box-shadow: 0 6px 20px rgba(129, 178, 154, 0.4);
}

.btn-contact-mobile {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  color: white;
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.4);
}

.btn-download-mobile:hover,
.btn-contact-mobile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(224, 122, 95, 0.5);
}

/* デスクトップアクション */
.desktop-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
}

.btn-download {
  background: linear-gradient(135deg, #81b29a, #a8dadc);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(129, 178, 154, 0.3);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(129, 178, 154, 0.5);
}

.btn-contact {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(224, 122, 95, 0.3);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.5);
}

/* ヒーローセクション */
.hero-section,
.common-hero,
.business-hero,
.contact-hero,
.download-hero,
.news-hero {
  background: linear-gradient(135deg, #f4f3ee 0%, #e8f5e8 50%, #f0f8ff 100%);
  padding: 6rem 0 6rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.common-hero::before,
.business-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(135deg, #f4f3ee, #e8f5e8);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
  padding-top: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.common-hero .hero-content {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.hero-text h1,
.common-hero .hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #3d405b;
  letter-spacing: -0.02em;
}

.common-hero .hero-text h1 {
  margin-bottom: 0.5rem;
}

.hero-text .highlight {
  color: #e07a5f;
  position: relative;
}

.hero-text .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #e07a5f;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-description {
  font-size: 1.2rem;
  color: #7AA592;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.common-hero .hero-visual,
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(224, 122, 95, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, #81b29a, #a8dadc);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(129, 178, 154, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(129, 178, 154, 0.5);
}

/* サービスセクション */
.services-section,
.company-info-section,
.business-overview-section,
.contact-form-section,
.download-materials-section,
.news-list-section,
.legal-content-section {
  padding: 6rem 0;
  background: white;
}

/* Business Section Heading (App.tsx section variant style) */
.business-section-heading {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 20px;
}

.section-en-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #D7775D;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: "Noto Sans", sans-serif;
}

.section-main-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1A1A1C;
  line-height: 1.25;
  margin: 0;
}

.section-gradient-bar {
  margin-top: 1rem;
  width: 3rem;
  height: 0.25rem;
  background: linear-gradient(to right, #D7775D, #E5C47F);
  border-radius: 9999px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.5s ease-out;
}

/* .business-section-heading:hover .section-gradient-bar {
  width: 5rem;
} */

@media (min-width: 768px) {
  .section-main-title {
    font-size: 2.25rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.features-content .section-header {
  text-align: left;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #3d405b;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.3rem;
  color: #7AA592;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: white;
  border-radius: 25px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(61, 64, 91, 0.1);
  align-items: center;
  border: 1px solid rgba(244, 243, 238, 0.5);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(224, 122, 95, 0.15);
}

.service-visual {
  flex-shrink: 0;
  width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-lead {
  min-height: 3.2em;
  display: flex;
  align-items: center;
  margin-bottom: 1.2em;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-icon,
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-icon.coral,
.feature-icon.coral {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  color: white;
}

.service-icon.teal,
.feature-icon.teal {
  background: linear-gradient(135deg, #81b29a, #a8dadc);
  color: white;
}

.feature-icon.purple {
  background: linear-gradient(135deg, #7b68ee, #d1c4e9);
  color: white;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #3d405b;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #414143;
  font-size: 1rem;
}

.check-icon {
  color: #414143;
  margin-top: 3px;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 1.1rem;
}

/* 特徴セクション */
.features-section,
.detailed-services-section,
.company-history-section,
.process-section,
.about-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f4f3ee 0%, #e8f5e8 50%, #f0f8ff 100%);
}

.features-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* .feature-item:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(224, 122, 95, 0.1);
} */

.feature-icon {
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #3d405b;
}

.feature-text p {
  line-height: 1.7;
  font-size: 1rem;
}

.features-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.features-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(224, 122, 95, 0.2));
}

/* CTAセクション */
.cta-section {
  background: linear-gradient(135deg, #e07a5f 0%, #81b29a 50%, #a8dadc 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.cta-content {
  text-align: left;
}

.cta-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.2));
}

.cta-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: #e07a5f;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
  background: #f4f3ee;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border: 2px solid white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: white;
  color: #e07a5f;
  transform: translateY(-3px);
}

/* フッター */
.footer-main {
  background: linear-gradient(135deg, #3d405b 0%, #2a2d3a 100%);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.footer-company {
  max-width: 350px;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-image {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: #a8b2c8;
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #a8b2c8;
  font-size: 0.95rem;
}

.contact-item svg {
  color: #7AA592;
  flex-shrink: 0;
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 2rem;
  color: #f2cc8f;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 1rem;
}

.footer-section ul li a {
  color: #a8b2c8;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: #e07a5f;
  transform: translateX(5px);
}

.footer-bottom {
  background: #2a2d3a;
  padding: 2rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a8b2c8;
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  color: #a8b2c8;
  transition: all 0.3s ease;
  padding: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  color: #e07a5f;
  background: rgba(224, 122, 95, 0.1);
  transform: translateY(-3px);
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 画像最適化 */
.hero-image,
.service-image,
.features-image,
.cta-image,
.common-hero .hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 6px 25px rgba(224, 122, 95, 0.15));
  transition: all 0.3s ease;
}

.hero-image {
  max-width: 550px;
  animation: float 8s ease-in-out infinite;
}

.common-hero .hero-image {
  max-width: 400px;
}

.service-image {
  max-width: 300px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.service-card:hover .service-image {
  transform: scale(1.05);
  filter: drop-shadow(0 10px 30px rgba(224, 122, 95, 0.25));
}

/* 共通ページレイアウト */
.common-page,
.business-page,
.contact-page,
.download-page,
.news-page,
.legal-page {
  padding-top: 0;
}

/* Company Information Section */
.company-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.company-basic h2,
.company-mission h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #3d405b;
  margin-bottom: 2rem;
  position: relative;
}

.company-basic h2::after,
.company-mission h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  border-radius: 2px;
}

.info-table {
  background: #f8f9fa;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61, 64, 91, 0.06);
}

.info-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid rgba(233, 236, 239, 0.5);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  background: linear-gradient(135deg, #f4f3ee, #ffe5e0);
  padding: 1.25rem;
  font-weight: 600;
  color: #3d405b;
  border-right: 1px solid rgba(233, 236, 239, 0.3);
}

.info-value {
  padding: 1.25rem;
  color: #495057;
  line-height: 1.6;
}

.mission-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mission-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(61, 64, 91, 0.06);
  border-left: 4px solid #e07a5f;
}

.mission-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e07a5f;
  margin-bottom: 0.75rem;
}

.mission-item p {
  color: #495057;
  line-height: 1.7;
}

.mission-item ul {
  list-style: none;
  padding: 0;
}

/* Company History Timeline */
.history-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #e07a5f, #81b29a);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  width: 80px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e07a5f;
  text-align: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(61, 64, 91, 0.06);
  position: relative;
  margin: 0 2rem;
  max-width: 300px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 30px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid white;
}

.timeline-item:nth-child(even) .timeline-content::before {
  content: "";
  position: absolute;
  right: -10px;
  top: 30px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid white;
}

/* Detailed Services */
.detailed-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.detailed-service-item {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(61, 64, 91, 0.08);
  transition: all 0.3s;
  position: relative;
}

/* .detailed-service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(224, 122, 95, 0.12);
} */

.service-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.detailed-service-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}

.detailed-service-item p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #414143;
}

.detailed-service-item ul {
  list-style: none;
  padding: 0;
}

.detailed-service-item li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #414143;
  font-size: 0.9rem;
}

.detailed-service-item li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  background: linear-gradient(135deg, #81b29a, #a8dadc);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #3d405b;
  margin-bottom: 1rem;
}

.step-content p {
  color: #7AA592;
  line-height: 1.6;
}

/* Download Materials */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.material-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(61, 64, 91, 0.08);
  transition: all 0.3s;
  position: relative;
}

.material-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(224, 122, 95, 0.12);
}

.material-card.featured {
  border: 2px solid #e07a5f;
}

.material-header {
  padding: 2rem 2rem 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.material-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.material-icon.coral {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
}

.material-icon.teal {
  background: linear-gradient(135deg, #81b29a, #a8dadc);
}

.material-icon.purple {
  background: linear-gradient(135deg, #7b68ee, #9370db);
}

.material-icon.orange {
  background: linear-gradient(135deg, #ff8c42, #ffa726);
}

.material-icon.red {
  background: linear-gradient(135deg, #e74c3c, #ec7063);
}

.material-badge {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

.material-content {
  padding: 0 2rem 2rem;
}

.material-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #3d405b;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.material-description {
  color: #7AA592;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.material-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.material-info {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #7AA592;
  font-size: 0.875rem;
}

.btn-download-material {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
}

.btn-download-material:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 122, 95, 0.3);
}

/* Download Modal */
.download-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.download-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(50px);
  transition: transform 0.3s;
}

.download-modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 2rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(233, 236, 239, 0.5);
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #3d405b;
}

.modal-close {
  background: none;
  border: none;
  color: #7AA592;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s;
}

.modal-close:hover {
  background: rgba(224, 122, 95, 0.1);
  color: #e07a5f;
}

.modal-body {
  padding: 2rem;
}

.modal-body p {
  color: #7AA592;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.download-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

body.modal-open {
  overflow: hidden;
}

/* About Us Section */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  left: 25%;
  top: 50%;
  transform: translateY(-50%);
  width: 100vw;
  height: 100%;
  background: url('assets/images/team-collaboration.svg') no-repeat left center/contain;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-visual {
  text-align: center;
}

.about-image {
  max-width: 100%;
  height: 300px;
  object-fit: contain;
}

.about-content h2 {
  font-size: 2.8rem;
  color: #3d405b;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-points {
  list-style: disc inside;
  color: #e07a5f;
  font-size: 1.1rem;
  padding-left: 1.2em;
}

.about-points li {
  margin-bottom: 0.5em;
}

/* News Page */
.news-filter {
  margin-bottom: 3rem;
  text-align: center;
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 2px solid #e9ecef;
  color: #7AA592;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  color: white;
}

/* Process Flow Section (App.tsx ProcessFlow component) */
.flow-container {
  width: 100%;
  padding: 4rem 0;
  position: relative;
}

.flow-wave-decoration {
  position: relative;
  height: 8rem;
  overflow: hidden;
  margin-top: -1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, color-mix(in srgb, #7AA592 80%, transparent), #FFF 33%, color-mix(in srgb, #D7775D 80%, transparent) 100%);
}

.flow-wave-layer {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
}

.flow-wave-layer:first-child {
  opacity: 0.6;
  clip-path: shape(
    from 0% 30%,
    line to 3.33% 35%,
    curve to 10% 42.5% with 5.5% 37.5%,
    curve to 20% 50% with 15% 47.5%,
    curve to 30% 50% with 23.33% 50%,
    curve to 40% 42.5% with 36.67% 45%,
    curve to 50% 35% with 45% 32.5%,
    curve to 60% 35% with 56.67% 32.5%,
    curve to 70% 42.5% with 65% 37.5%,
    curve to 80% 50% with 75% 47.5%,
    curve to 90% 42.5% with 83.33% 50%,
    curve to 100% 35% with 96.67% 38.75%,
    line to 100% 100%,
    line to 0% 100%,
    close
  );
}

.flow-wave-layer:last-child {
  opacity: 1;
  clip-path: shape(
    from 0% 70%,
    line to 3.33% 66.67%,
    curve to 10% 61.67% with 5.5% 65%,
    curve to 20% 56.67% with 15% 58.33%,
    curve to 30% 60% with 23.33% 56.67%,
    curve to 40% 70% with 36.67% 65%,
    curve to 50% 78.33% with 45% 75%,
    curve to 60% 81.67% with 56.67% 82.5%,
    curve to 70% 71.67% with 63.33% 80%,
    curve to 80% 61.67% with 76.67% 66.67%,
    curve to 90% 51.67% with 83.33% 56.67%,
    curve to 100% 46.67% with 96.67% 48.33%,
    line to 100% 100%,
    line to 0% 100%,
    close
  );
}

.flow-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
  padding-top: 2rem;
}

.flow-header h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1A1A1C;
  margin-bottom: 1rem;
}

.flow-header p {
  color: #757578;
  font-size: 1rem;
}

.flow-steps-wrapper {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.flow-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
}

.flow-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  width: 100%;
}

.flow-step-icon-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.flow-step-circle {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: white;
  border: 4px solid #F1F1F4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  transition: all 0.3s ease;
}

/* .flow-step-item:hover .flow-step-circle {
  border-color: #D7775D;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
} */

.flow-step-badge {
  position: absolute;
  top: -0.75rem;
  left: -0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(to right, #D7775D, #E5C47F);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 20;
  font-size: 1rem;
}

.flow-arrow-down {
  display: flex;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 1rem);
  color: #D8D8DB;
}

.flow-step-item:last-child .flow-arrow-down {
  display: none;
}

.flow-step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1A1A1C;
  text-align: center;
  white-space: pre-wrap;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.flow-step-desc {
  font-size: 0.875rem;
  color: #757578;
  text-align: center;
  white-space: pre-wrap;
  line-height: 1.6;
  max-width: 200px;
}

@media (min-width: 768px) {

  .flow-steps-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
  }

  .flow-step-item {
    width: auto;
  }

  .flow-arrow-down {
    display: none;
  }
}

.news-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(61, 64, 91, 0.06);
  border-left: 4px solid #e07a5f;
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(224, 122, 95, 0.15);
}

.news-date {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-date time {
  color: #7AA592;
  font-weight: 500;
}

.news-category {
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.85rem;
  border-radius: 15px;
  color: #fff;
  display: inline-block;
  vertical-align: middle;
  line-height: 1.2;
}

.news-category.service {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
}

.news-category.company {
  background: linear-gradient(135deg, #81b29a, #a8dadc);
}

.news-category.media {
  background: linear-gradient(135deg, #7b68ee, #9370db);
}

.news-content h3 {
  margin-bottom: 1rem;
}

.news-content h3 a {
  color: #3d405b;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.news-content h3 a:hover {
  color: #e07a5f;
}

.news-content p {
  color: #7AA592;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-meta {
  display: flex;
  justify-content: flex-end;
}

.read-more {
  color: #e07a5f;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
}

.read-more.gradient-underline {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: color 0.2s;
}

.read-more.gradient-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff9800 0%, #ff7043 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
  pointer-events: none;
}

.read-more.gradient-underline:hover,
.read-more.gradient-underline:focus {
  color: #ff7043;
}

.read-more.gradient-underline:hover::after,
.read-more.gradient-underline:focus::after {
  transform: scaleX(1);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-btn {
    background: white;
    border: 1px solid #e9ecef;
    color: #7AA592;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
}

.pagination-btn.active,
.pagination-btn:hover {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  color: #fff;
  box-shadow: 0 4px 16px rgba(224, 122, 95, 0.15);
}

.pagination-btn:focus {
  outline: 2px solid #e07a5f;
}

.pagination-next {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-next:hover,
.pagination-next:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(224, 122, 95, 0.3);
}

.pagination-dots {
  color: #aaa;
  font-size: 1.1rem;
  padding: 0.75rem 0.5rem;
  align-self: center;
}

/* Banner CTA (App.tsx BannerCTA component) */
.banner-cta-wrapper {
  width: 100%;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.banner-cta-top {
  background: #7AA592;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.banner-cta-badge {
  background: #3C3F58;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.banner-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A1A1C;
  margin-bottom: 1.5rem;
}

.banner-cta-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 48rem;
}

.banner-cta-tag {
  background: white;
  color: #1A1A1C;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.banner-cta-bottom {
  background: #3C3F58;
  padding: 2rem 2.5rem;
  text-align: center;
}

.banner-cta-description {
  color: white;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.banner-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.banner-cta-btn {
  width: 100%;
  min-width: 240px;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-decoration: none;
}

.banner-cta-btn.primary {
  background: #7AA592;
  color: white;
}

.banner-cta-btn.primary:hover {
  background: white;
  color: #7AA592;
}

.banner-cta-btn.secondary {
  background: white;
  color: #7AA592;
}

.banner-cta-btn.secondary:hover {
  background: #7AA592;
  color: white;
}

@media (min-width: 768px) {
  .banner-cta-buttons {
    flex-direction: row;
  }
  
  .banner-cta-btn {
    width: auto;
  }
  
  .hidden-mobile {
    display: inline;
  }
}

@media (max-width: 767px) {
  .hidden-mobile {
    display: none;
  }
}

/* Legal Pages */
.legal-hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.legal-hero .hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #3d405b;
  margin-bottom: 0.5rem;
}

.legal-hero .hero-subtitle {
  font-size: 1.25rem;
  color: #e07a5f;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.last-updated {
  color: #7AA592;
  font-size: 1rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-intro {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 3rem;
  border-left: 4px solid #e07a5f;
}

.legal-intro p {
  color: #3d405b;
  line-height: 1.7;
  margin: 0;
  font-size: 1.1rem;
}

.legal-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(233, 236, 239, 0.5);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3d405b;
  margin-bottom: 1.5rem;
  position: relative;
}

.legal-section h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  border-radius: 2px;
}

.legal-section p {
  color: #495057;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-section li {
  color: #495057;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.contact-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.contact-info p {
  margin: 0rem;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* リスポンシブデザイン */
@media (max-width: 1024px) {
  .hero-content,
  .features-layout,
  .cta-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .features-visual,
  .cta-visual {
    order: -1;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-company {
    grid-column: 1 / -1;
    max-width: none;
    margin-bottom: 2rem;
  }

  .about-image {
    height: 220px;
  }

  .news-hero .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .news-hero .hero-text h1 {
    font-size: 2.5rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .desktop-nav,
  .desktop-actions {
    display: none !important;
  }

  .mobile-navigation {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-direction: column;
    text-align: center;
  }

  .service-visual {
    width: 100%;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .cta-content {
    text-align: center;
  }

  .cta-content h2 {
    font-size: 2.3rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-company {
    text-align: center;
    max-width: none;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-copyright {
    align-items: center;
    text-align: center;
  }

  /* Company Page Mobile */
  .company-hero .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .company-hero .hero-text h1 {
    font-size: 2.5rem;
  }

  .company-info-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .info-label {
    border-right: none;
    border-bottom: 1px solid rgba(233, 236, 239, 0.3);
  }

  .history-timeline::before {
    left: 130px;
    transform: none;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }

  .timeline-year {
    width: 60px;
    font-size: 1.25rem;
  }

  .timeline-content {
    margin-left: 1.5rem;
    margin-right: 0;
    padding: 1.5rem;
    max-width: none;
  }

  .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    right: auto;
    border-right: 10px solid white;
    border-left: none;
  }

  /* Business Page Mobile */
  .detailed-services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  /* Contact Page Mobile */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-header h2 {
    font-size: 1.5rem;
  }

  /* Download Page Mobile */
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .material-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal-content {
    width: 95%;
    margin: 1rem;
  }

  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }

  /* News & Legal Mobile */
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 100%;
    max-width: 200px;
  }

  .news-date {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .pagination-btn {
    padding: 0.5rem 0.75rem;
    min-width: 35px;
  }

  .legal-content {
    padding: 0 15px;
  }

  .legal-intro,
  .contact-info {
    padding: 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1,
  .company-hero .hero-text h1,
  .business-hero .hero-text h1,
  .contact-hero .hero-text h1,
  .download-hero .hero-text h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .detailed-service-item,
  .material-card {
    margin: 0 10px;
  }

  .timeline-content {
    margin-left: 1rem;
    padding: 1rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }
}

/* モバイルメニューが開いている時のbody */
body.mobile-menu-open,
body.modal-open {
  overflow: hidden;
}

/* ================= NEW BANNER HERO STYLES ================= */
/* App.tsxのデザインシステムに合わせたバナーヒーロー */
.page-hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  margin-top: 80px;
}

.hero-gradient-bg {
  position: relative;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 9rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background: linear-gradient(to right, #D7775D, #E5C47F);
  text-align: center;
}

/* ノイズテクスチャオーバーレイ */
.noise-overlay {
  position: absolute;
  inset: 0;
  background-image: url('https://www.transparenttextures.com/patterns/noise.png');
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.banner-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  z-index: 10;
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.banner-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.banner-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.banner-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0;
  color: white;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-family: "Noto Sans", sans-serif;
}

/* ウェーブアニメーション */
.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.wave-use {
  animation: wave-move 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.wave-use:nth-child(1) {
  animation-duration: 7s;
  animation-delay: -2s;
  opacity: 0.7;
}

.wave-use:nth-child(2) {
  animation-duration: 10s;
  animation-delay: -3s;
  opacity: 0.5;
}

.wave-use:nth-child(3) {
  animation-duration: 13s;
  animation-delay: -4s;
  opacity: 0.3;
}

.wave-use:nth-child(4) {
  animation-duration: 20s;
  animation-delay: -5s;
  opacity: 1;
}

@keyframes wave-move {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* スマートフォン対応 */
@media (max-width: 480px) {
  .banner-title {
    font-size: 1.875rem;
  }
  .banner-subtitle {
    font-size: 0.875rem;
  }
}
