@charset "UTF-8";

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

:root {
  /* Brand Colors */
  --deep-green: #5a1525;
  --teal: #8b2131;
  --teal-light: #c44d6c;
  --gold: #c8a855;

  /* Neutral Colors */
  --bg-light: #faf8f5;
  --bg-white: #ffffff;
  --text-main: #222222;
  --text-muted: #666666;
  --border-color: #eaeaea;

  /* Dark Mode Colors for specific sections */
  --bg-dark: #3d0f1c;
  --card-dark: #5a1a2a;

  /* form error */
  --error: #c0392b;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  overflow-x: hidden;
  line-height: 1.8;
}

.serif {
  font-family: 'Noto Serif JP', serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.4;
}

/* ===== Utility ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

/* ===== Fade-in Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--deep-green);
  text-decoration: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav.scrolled .nav-logo {
  color: var(--deep-green);
}

.nav-center {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-center a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.nav.scrolled .nav-center a {
  color: var(--text-main);
}

.nav-center a:hover {
  color: var(--teal);
}

.nav-center .current a,
.nav.scrolled .nav-center .current a {
  text-underline-offset: 5px;
  text-decoration: underline;
  color: var(--teal);
}

.nav-right-btn {
  background: var(--bg-dark);
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s;
}

.nav-right-btn:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep-green);
  transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 100vh;
  width: 100%;
}

/* Hero Left */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 60px 80px 10%;
  position: relative;
  z-index: 2;
}

.hero-tagline-en {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  color: var(--deep-green);
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 2;
  max-width: 460px;
  margin-bottom: 48px;
}

.hero-cta {
  transition: transform 0.3s;
}
.hero-cta:hover {
  transform: translateY(-2px);
}
.hero-ctabtn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--deep-green);
  color: #fff;
  text-decoration: none;
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: background 0.3s, transform 0.3s;
  align-self: flex-start;
}


.hero-cta-arrow {
  width: 20px;
  height: 1px;
  background: #fff;
  position: relative;
  transition: width 0.3s;
  transform: rotate(90deg);
}

.hero-cta-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
}

.hero-cta:hover .hero-cta-arrow {
  width: 30px;
}

/* Hero Right */
.hero-right {
  position: relative;
  background: var(--deep-green);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Medical/Digital/Future Background Image */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/1-2.jpg');
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

/* Overlay to ensure text readability and brand color feel */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, rgba(90, 21, 37, 0.6) 0%, rgba(139, 33, 49, 0.4) 100%); */
  background: linear-gradient(135deg, rgba(90, 21, 37, 0.2) 0%, rgba(139, 33, 49, 0.0) 100%);
  z-index: 2;
}

/* Diagonal line decoration on hero */
.hero-diagonal {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 80px;
  background: var(--bg-white);
  /* clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%); */
  z-index: 3;
}

/* ===== VISION SECTION ===== */
.vision {
  padding: 120px 0;
  background-color: var(--bg-white);
  background-image: url('../img/1-1.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

.vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.vision .container {
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 40px;
}

.vision-header {
  position: relative;
  margin-bottom: 60px;
  text-align: center;
}

.vision-actions {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 16px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-size: 12px;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s;
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
}

.vision-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 2.2;
}

/* ===== STRUCTURE SECTION ===== */
.structure {
  padding: 80px 0 120px;
  background: var(--bg-light);
}

.structure-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 60px;
  position: relative;
}

.structure-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s;
}

/* .structure-card:hover {
  transform: translateY(-5px);
} */

.structure-label {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
}

.structure-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 24px;
}

.structure-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 8px;
}

.structure-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  z-index: 2;
}

.structure-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.structure-link {
  margin-top: .65em;
  font-size: 13px;
  text-align: right;
}

.structure-link a {
  color: var(--teal);
  text-underline-offset: 5px;
  display: inline-block;
  transition: transform 0.3s;
}

.structure-link a:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 100px 0;
  background: var(--bg-dark);
  color: #fff;
  background-image: url('../img/3-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(61, 15, 28, 0.92);
  z-index: 1;
}

.services .container {
  position: relative;
  z-index: 2;
}

.services .section-label {
  color: var(--teal-light);
}

.services .section-title {
  color: #fff;
}

.services .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  /* transition: transform 0.3s; */
  overflow: hidden;
}

/* .service-card:hover {
  transform: translateY(-8px);
} */

.service-img {
  /* height: 200px; */
  background-size: cover;
  background-position: center;
  aspect-ratio: 3 / 1.75;
}

.service-card:nth-child(1) .service-img {
  background-image: url('../img/2-3.jpg');
}

.service-card:nth-child(2) .service-img {
  background-image: url('../img/3-3.jpg');
}

.service-card:nth-child(3) .service-img {
  background-image: url('../img/3-2.jpg');
}

.service-card-inner {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card.dark {
  background: var(--card-dark);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-icon {
  margin-bottom: 24px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card.dark .service-icon svg {
  stroke: var(--teal-light);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  flex-grow: 1;
}

.service-card.dark p {
  color: rgba(255, 255, 255, 0.7);
}

.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-green);
  text-decoration: none;
}

.service-card.dark .service-link {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.service-link:hover svg {
  transform: translateX(4px);
}

.service-card:nth-child(3) h3 a {
  color: var(--deep-green);
  text-underline-offset: 5px;
  transition: transform 0.3s;
  display: inline-block;
}

.service-card:nth-child(3) h3 a:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.service-card:nth-child(3) .service-link {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ===== VALUE SECTION ===== */
.value {
  padding: 120px 0;
  background: var(--bg-white);
}

.value-list {
  max-width: 800px;
  margin: 60px auto 0;
  position: relative;
}

/* 左側のガイドライン（ステップを表現） */
.value-list::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.value-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.value-item:last-child {
  margin-bottom: 0;
}

.value-num {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin-right: 32px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: all 0.3s;
}

.value-item:hover .value-num {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.value-body {
  width: 100%;
  padding: 40px;
  background: var(--bg-light);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* 背景に写真を薄く敷く */
.value-body-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  z-index: 1;
  transition: opacity 0.5s;
}

.value-item:hover .value-body-bg {
  opacity: 0.15;
}

.value-content {
  position: relative;
  z-index: 2;
}

.value-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 12px;
}

.value-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== TOPICS & ABOUT ===== */
.topics-about {
  padding: 80px 0 120px;
  background: var(--bg-light);
}

.ta-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}

.topics-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.topics-title h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-green);
}

.topics-title a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
}

.topics-list {
  list-style: none;
}

.topic-item {
  border-bottom: 1px solid var(--border-color);
  display: block;
  padding: 30px 0;
  text-decoration: none;
  transition: background 0.3s;
}

.topic-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.topic-date {
  font-size: 13px;
  color: var(--text-muted);
  font-family: monospace;
}

.topic-tag {
  font-size: 11px;
  background: var(--text-main);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}

.topic-tag[data-category="新刊"] {
  background: var(--teal);
}

.topic-title {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.3s;
  word-break: break-all;
}

.topic-title a {
  color: var(--teal);
  text-underline-offset: 5px;
}

.topic-title a:hover {
  text-decoration: none;
}

.about-banners {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.banner {
  display: block;
  padding: 20px 32px;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.banner img {
  vertical-align: middle;
  max-width: 100%;
  width: 100%;
  height: auto;
}

.banner:hover {
  transform: translateY(-4px);
}

.banner-list {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.banner-first {
  background-color: #23b082;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  padding: 5px;
}

.banner-first img {
  vertical-align: middle;
  max-width: 280px;
  width: 100%;
  height: auto;
}

.banner-sub {
  /* padding: 22px 16px;
  border: 1px solid var(--teal);
  background: #fdf0f2; */

  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.banner-name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 16px;
  font-size: 16px;
  display: flex;
  gap: 5px;
  margin-bottom: 0;
  flex-direction: column;
  align-items: baseline;
  width: 100%;
}

.banner-name span {
  font-size: 12px;
  color: var(--teal);
  padding: 2px 8px;
  background: var(--bg-light);
  border-radius: 5px;
  font-weight: 700;
}

.banner-def {
  font-family: 'Noto Serif JP', serif;
  color: var(--deep-green);
  border: 1px solid var(--teal);
  text-align: center;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  width: 100%;
  justify-content: space-between;
  font-weight: 700;
  background: #fdf0f2;
}

.banner-def:nth-child(1) {
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.banner-def svg {
  width: 16px;
  height: 16px;
  stroke: #000;
  fill: none;
  stroke-width: 1.5;
}

.banner-company {
  background: linear-gradient(rgba(90, 21, 37, 0.8), rgba(90, 21, 37, 0.9)), url('../img/2-2.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.banner-company span {
  font-size: 10px;
  opacity: 0.7;
  letter-spacing: 0.1em;
}

.banner-company h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.banner-company p {
  font-size: 12px;
  opacity: 0.7;
}

.banner-company svg {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  opacity: 0.5;
}

.banner-mirai {
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.95)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-color);
  text-align: center;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-mirai-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.banner-mirai-logo svg {
  width: 24px;
  height: 24px;
  fill: var(--teal);
}

.banner-mirai p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.btn-small {
  font-size: 12px;
  padding: 8px 24px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-main);
  background: #fff;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background-color: var(--bg-dark);
  background-image: url('../img/2-2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: #fff;
  text-align: center;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(61, 15, 28, 0.65), rgba(90, 21, 37, 0.85));
  z-index: 1;
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
}

.contact h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
}

.btn-white {
  background: #fff;
  color: var(--deep-green);
  padding: 16px 40px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s;
}

.btn-white:hover {
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: #1a0508;
  color: rgba(255, 255, 255, 0.5);
  padding: 60px 0 24px;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.footer-desc {
  line-height: 1.8;
}

.footer-desc dd {
  padding-left: 1em;
}

.footer-desc div {
  padding-top: 1em;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.wbr-wrap {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ac {
  font-size: 115%;
  color: var(--teal);
}

.fw-500 {
  font-weight: 500;
}

/* 下層用パーツ */
/* .def {
    padding: 150px 0;
    background: var(--bg-white);
 }
 .def-content {
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
}
.def-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--deep-green);
    margin-bottom: 24px;
}
*:not(.top) .section-title {
  font-size: clamp(28px, 3vw, 32px);
  padding-bottom: 20px;
} */

/* ===== Page Hero ===== */
*:not(.top) .nav {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  padding: 12px 0;
}

*:not(.top) .topics-list {
  max-width: 820px;
  margin: 0 auto 24px;
  padding-bottom: 30px;
}

.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--deep-green) 0%, var(--teal) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background-image: url('../img//1-1.jpg'); */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  margin-bottom: 16px;
  opacity: 0.85;
  text-transform: uppercase;
}

.page-hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.page-hero-desc {
  font-size: 14px;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

.breadcrumb {
  font-size: 12px;
  margin-top: 28px;
  opacity: 0.8;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* ===== Policy Content ===== */
.page-content {
  padding: 100px 0;
  background: var(--bg-light);
}

.policy-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.policy-card {
  background: #fff;
  padding: 64px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.policy-intro {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2.2;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.policy-section {
  margin-bottom: 36px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  line-height: 1.6;
}

.policy-section p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 2.1;
}

.policy-section p+p {
  margin-top: 10px;
}

.policy-section ul {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 2.1;
  padding-left: 1.5em;
  margin-top: 10px;
}

.policy-section a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}


.intro-block {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-color);
}

.intro-block h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 28px;
}

.intro-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 2.2;
}

.intro-block p+p {
  margin-top: 16px;
}

.info-section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--deep-green);
  text-align: center;
  margin-bottom: 48px;
}

.info-table-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.info-table th,
.info-table td {
  padding: 26px 32px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  width: 220px;
  background: var(--bg-light);
  color: var(--deep-green);
  font-weight: 700;
}

.info-table td {
  color: var(--text-muted);
  line-height: 1.9;
}

.info-table .branch-label {
  display: inline-block;
  font-size: 11px;
  background: var(--teal);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.info-table a {
  color: var(--teal);
  text-decoration: none;
}

.info-table a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-center-block {
  text-align: center;
  margin-bottom: 12px;
  display: block;
}

.form-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.form-intro {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 12px;
}

.form-required-note {
  text-align: center;
  font-size: 12px;
  color: var(--teal);
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

.form-card {
  background: #fff;
  padding: 56px 64px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
  align-items: start;
}

.form-row:first-child {
  padding-top: 0;
}

.form-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-green);
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.required {
  display: inline-block;
  font-size: 10px;
  color: #fff;
  background: var(--teal);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.optional {
  display: inline-block;
  font-size: 10px;
  color: var(--text-muted);
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-light);
  transition: border 0.3s, background 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139, 33, 49, 0.08);
}

.form-textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.8;
}

.form-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.7;
}

.form-errorlist {
  color: var(--teal);
  font-weight: 700;
  font-size: 15px;
  list-style: inside;
  margin-bottom: 20px;
}

.form-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 6px;
  display: none;
}

.form-input.error,
.form-textarea.error {
  border-color: var(--error);
  background: #fff5f5;
}

.form-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 0 8px;
  font-size: 14px;
  color: var(--text-main);
  flex-wrap: wrap;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  cursor: pointer;
}

.form-consent label {
  cursor: pointer;
}

.form-consent a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-submit-wrap {
  text-align: center;
  margin-top: 32px;
}

.form-submit {
  background: var(--deep-green);
  color: #fff;
  border: none;
  padding: 18px 72px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.15em;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.form-submit:hover:not(:disabled) {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 33, 49, 0.25);
}

.form-submit svg {
  width: 16px;
  height: 16px;
}

.form-controll {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 45px 0 15px;
  flex-wrap: wrap;
  gap: 30px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 15px;
  font-weight: 500;
}

.pagination span {
  display: block;
  padding: 3px 5px;
  margin: 5px;
}

.pagination a {
  display: block;
  padding: 3px 5px;
  margin: 5px;
  color: var(--teal);
  text-underline-offset: 3px;
}




/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-left {
    padding: 140px 40px 80px;
  }

  .hero-right {
    min-height: 400px;
  }

  .hero-diagonal {
    display: none;
  }

  .vision-header {
    display: flex;
    flex-direction: column;
  }

  .vision-actions {
    position: static;
    margin-top: 24px;
  }

  .structure-grid {
    flex-direction: column;
  }

  .structure-arrow svg {
    rotate: 90deg;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .ta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-center {
    gap: 18px;
  }
}

@media (max-width: 768px) {

  .nav-center {
    display: none;
  }

  .nav-right-btn {
    display: block;
    position: absolute;
    right: 68px;
  }

  .nav-center.open {
    display: flex;
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-left {
    padding: 120px 24px 60px;
  }

  .hero-title {
    font-size: clamp(28px, 6vw, 36px);
  }

  .value-list::before {
    left: 20px;
    /* スマートフォンサイズでの調整 */
  }

  .value-num {
    width: 40px;
    height: 40px;
    margin-right: 20px;
  }

  .value-body {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 40px;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .page-content {
    padding: 60px 0;
  }

  .policy-card {
    padding: 32px 24px;
  }

  .intro-block {
    padding-bottom: 40px;
    margin-bottom: 48px;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 14px 20px;
  }

  .info-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .form-card {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .form-label {
    padding-top: 0;
  }

  .form-submit {
    padding: 16px 48px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {

  .vision-header,
  .vision-text,
  .section-header,
  .structure-desc,
  .form-intro,
  .form-required-note {
    text-align: left;
  }

  .disp-min600 {
    display: none;
  }
}

@supports (-webkit-touch-callout: none) {

  .vision,
  .services,
  .contact {
    /* 固定を解除して通常のスクロールに戻す（これで綺麗に表示されます） */
    background-attachment: scroll;
  }
}