/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
  --color-primary: #4AA3DF;
  --color-secondary: #1B3A5B;
  --color-accent: #A8D8EA;
  --color-bg: #FFFFFF;
  --color-bg-sub: #F5F8FA;
  --color-text: #2C2C2C;
  --color-text-sub: #6B7280;
  --font-serif-jp: "Noto Serif JP", serif;
  --font-sans-jp: "Noto Sans JP", sans-serif;
  --font-serif-en: "Cormorant Garamond", "Playfair Display", serif;
  --section-padding: 100px 0;
  --section-padding-sp: 60px 0;
  --transition: all 0.3s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans-jp);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* ========================================
   Utilities
   ======================================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Title */
.section-title {
  margin-bottom: 48px;
}

.section-title__jp {
  display: block;
  font-family: var(--font-serif-jp);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.section-title__en {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-top: 4px;
  text-transform: uppercase;
}

.section-title--center {
  text-align: center;
}

.section-title--white .section-title__jp {
  color: #fff;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.9375rem;
  font-family: var(--font-sans-jp);
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  letter-spacing: 0.05em;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: #3992ce;
  border-color: #3992ce;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 163, 223, 0.3);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn--white {
  background-color: #fff;
  color: var(--color-secondary);
  border-color: #fff;
}

.btn--white:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--white-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn--white-outline:hover {
  background-color: #fff;
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.8125rem;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in Left */
.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade-in Right */
.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Parallax Banner (between sections) */
.parallax-banner {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 58, 91, 0.5);
}

.parallax-banner__text {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif-en);
  font-size: 2.5rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Parallax Background Section */
.parallax-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.parallax-bg__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 58, 91, 0.7);
}

.parallax-bg .container {
  position: relative;
  z-index: 1;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
}

.header__logo {
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.header__logo-img {
  height: 50px;
  width: auto;
  border-radius: 4px;
  transition: var(--transition);
}

.header__nav-list {
  display: flex;
  gap: 32px;
}

.header__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
  position: relative;
  transition: var(--transition);
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header.scrolled .header__nav-link {
  color: var(--color-text);
}

.header.scrolled .header__nav-link:hover {
  color: var(--color-primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: var(--transition);
}

.header.scrolled .hamburger__line {
  background-color: var(--color-text);
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   Hero (First View)
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__video-wrap video {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero__video-wrap video.is-playing {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  will-change: transform, opacity;
}

.hero__title {
  font-family: var(--font-serif-jp);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-family: var(--font-serif-en);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero__description {
  font-size: 0.9375rem;
  line-height: 2;
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 0.04em;
}

/* Hero fade-in animation */
.fade-in-hero {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  font-family: var(--font-serif-en);
}

.hero__scroll-arrow {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.hero__scroll-arrow::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 1px;
  height: 40px;
  background-color: #fff;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0% {
    top: -40px;
  }
  100% {
    top: 40px;
  }
}

/* ========================================
   Information
   ======================================== */
.information {
  background-color: var(--color-bg-sub);
  padding: var(--section-padding);
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.information__inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.information__heading {
  flex-shrink: 0;
  min-width: 200px;
}

.information__content {
  flex: 1;
}

.information__list {
  border-top: 1px solid #dde3e8;
}

.information__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #dde3e8;
  flex-wrap: wrap;
}

.information__date {
  font-family: var(--font-serif-en);
  font-size: 0.875rem;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.information__tag {
  display: inline-block;
  padding: 2px 12px;
  font-size: 0.75rem;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 3px;
  flex-shrink: 0;
}

.information__text {
  font-size: 0.9375rem;
}

.information__more {
  text-align: right;
  margin-top: 24px;
}

/* ========================================
   Business
   ======================================== */
.business {
  padding: var(--section-padding);
  background-color: var(--color-bg);
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.business__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.business__card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.business__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.business__card-img {
  overflow: hidden;
  height: 220px;
}

.business__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.business__card:hover .business__card-img img {
  transform: scale(1.05);
}

.business__card-body {
  padding: 28px;
}

.business__card-title {
  font-family: var(--font-serif-jp);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.business__card-subtitle {
  font-family: var(--font-serif-en);
  font-size: 0.8125rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.business__card-text {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ========================================
   Company
   ======================================== */
.company {
  padding: var(--section-padding);
  background-color: var(--color-bg-sub);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.company__inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.company__table-wrap {
  flex: 1;
}

.company__table {
  width: 100%;
  border-collapse: collapse;
}

.company__table th,
.company__table td {
  padding: 18px 16px;
  border-bottom: 1px solid #dde3e8;
  font-size: 0.9375rem;
  text-align: left;
  vertical-align: top;
}

.company__table th {
  font-weight: 500;
  color: var(--color-secondary);
  white-space: nowrap;
  width: 160px;
  font-family: var(--font-sans-jp);
}

.company__table td a {
  color: var(--color-primary);
}

.company__table td a:hover {
  text-decoration: underline;
}

.company__image {
  flex: 0 0 400px;
  border-radius: 8px;
  overflow: hidden;
}

.company__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   Access
   ======================================== */
.access {
  padding: var(--section-padding);
  background-color: var(--color-bg);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.access__inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.access__info {
  flex: 1;
}

.access__dl dt {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-secondary);
  margin-top: 24px;
  font-family: var(--font-sans-jp);
}

.access__dl dt:first-child {
  margin-top: 0;
}

.access__dl dd {
  font-size: 0.9375rem;
  margin-top: 4px;
  line-height: 1.8;
}

.access__dl dd a {
  color: var(--color-primary);
}

.access__dl dd a:hover {
  text-decoration: underline;
}

.access__map {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  min-height: 400px;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* ========================================
   Recruit
   ======================================== */
.recruit {
  padding: var(--section-padding);
  background-color: var(--color-bg-sub);
}

.recruit.parallax-bg {
  background-color: transparent;
}

.recruit__inner {
  text-align: center;
}

.recruit__catch {
  font-family: var(--font-serif-jp);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.recruit.parallax-bg .recruit__catch {
  color: #fff;
}

.recruit__text {
  font-size: 1rem;
  color: var(--color-text-sub);
  margin-bottom: 36px;
  line-height: 2;
}

.recruit.parallax-bg .recruit__text {
  color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   Contact
   ======================================== */
.contact {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #4AA3DF, #1B3A5B);
}

.contact__inner {
  text-align: center;
}

.contact__lead {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.contact__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--color-secondary);
  padding: 60px 0 32px;
  color: rgba(255, 255, 255, 0.8);
}

.footer__inner {
  text-align: center;
}

.footer__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.footer__logo-img {
  height: 80px;
  width: auto;
  border-radius: 6px;
}

.footer__nav {
  margin-bottom: 32px;
}

.footer__nav-list {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__nav-list a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.footer__nav-list a:hover {
  color: #fff;
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* ========================================
   Contact Form (Subpage)
   ======================================== */
.contact-form-section {
  padding: var(--section-padding);
}

.contact-form-section__lead {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  margin-bottom: 48px;
  line-height: 2;
}

.required-note {
  font-size: 0.8125rem;
}

.required-mark {
  color: #e05555;
  font-weight: 700;
  margin-left: 2px;
}

.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto 60px;
}

.contact-form__group {
  margin-bottom: 28px;
}

.contact-form__label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.9375rem;
  font-family: var(--font-sans-jp);
  color: var(--color-text);
  background-color: var(--color-bg-sub);
  border: 1px solid #dde3e8;
  border-radius: 6px;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74, 163, 223, 0.15);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #b0b8c1;
}

.contact-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-form__error {
  display: none;
  font-size: 0.8125rem;
  color: #e05555;
  margin-top: 6px;
}

.contact-form__group--checkbox {
  text-align: center;
  margin-top: 36px;
  margin-bottom: 36px;
}

.contact-form__checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9375rem;
}

.contact-form__checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.contact-form__submit {
  text-align: center;
}

.btn--lg {
  padding: 18px 64px;
  font-size: 1rem;
}

/* Contact message */
.contact-message {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  border-radius: 12px;
}

.contact-message--success {
  background-color: #eef7ee;
  border: 1px solid #b8dbb8;
}

.contact-message--error {
  background-color: #fef2f2;
  border: 1px solid #f0c0c0;
  margin-bottom: 32px;
}

.contact-message__title {
  font-family: var(--font-serif-jp);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.contact-message--error .contact-message__title {
  color: #c33;
}

.contact-message__text {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  line-height: 2;
  margin-bottom: 24px;
}

.contact-message__text a {
  color: var(--color-primary);
}

/* Contact info */
.contact-form-section__info {
  text-align: center;
  padding: 40px;
  background-color: var(--color-bg-sub);
  border-radius: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.contact-form-section__info p {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
}

.contact-form-section__tel {
  margin: 8px 0 4px;
}

.contact-form-section__tel a {
  font-family: var(--font-serif-en);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-secondary);
  letter-spacing: 0.04em;
}

.contact-form-section__tel a:hover {
  color: var(--color-primary);
}

.contact-form-section__hours {
  font-size: 0.8125rem !important;
}

/* ========================================
   News List (Subpage)
   ======================================== */
.news-list {
  padding: var(--section-padding);
}

.news-list__items {
  border-top: 1px solid #dde3e8;
}

.news-list__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid #dde3e8;
  flex-wrap: wrap;
}

.news-list__date {
  font-family: var(--font-serif-en);
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 80px;
}

.news-list__tag {
  display: inline-block;
  padding: 3px 14px;
  font-size: 0.75rem;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 3px;
  flex-shrink: 0;
}

.news-list__text {
  font-size: 0.9375rem;
  line-height: 1.8;
}

.news-list__back {
  text-align: center;
  margin-top: 48px;
}

/* ========================================
   Subpage Header
   ======================================== */
.header--subpage {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header--subpage .header__nav-link {
  color: var(--color-text);
}

.header--subpage .header__nav-link:hover {
  color: var(--color-primary);
}

.header--subpage .hamburger__line {
  background-color: var(--color-text);
}

/* ========================================
   Page Hero (Subpage)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, #1B3A5B 0%, #2a5a8a 100%);
  padding: 160px 0 60px;
  color: #fff;
  text-align: center;
}

.page-hero__title {
  font-family: var(--font-serif-jp);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.page-hero__subtitle {
  font-family: var(--font-serif-en);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 24px;
}

/* Breadcrumb */
.breadcrumb__list {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb__item a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb__item a:hover {
  color: #fff;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: ">";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb__item[aria-current="page"] {
  color: #fff;
}

/* ========================================
   Service Detail (Subpage)
   ======================================== */
.service-detail {
  padding: var(--section-padding);
}

.service-detail__block {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.service-detail__image {
  flex: 0 0 480px;
  border-radius: 8px;
  overflow: hidden;
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail__content {
  flex: 1;
}

.service-detail__heading {
  font-family: var(--font-serif-jp);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.service-detail__text {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text-sub);
  margin-bottom: 16px;
}

.service-detail__text:last-child {
  margin-bottom: 0;
}

/* Features */
.service-detail__features {
  background-color: var(--color-bg-sub);
  border-radius: 12px;
  padding: 60px 48px;
  margin-bottom: 80px;
}

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

.service-detail__feature {
  text-align: center;
}

.service-detail__feature-num {
  font-family: var(--font-serif-en);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.service-detail__feature-title {
  font-family: var(--font-serif-jp);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.service-detail__feature-text {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--color-text-sub);
}

/* CTA */
.service-detail__cta {
  text-align: center;
  padding: 48px;
  background-color: var(--color-bg-sub);
  border-radius: 12px;
}

.service-detail__cta-text {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.service-detail__cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Responsive — Tablet (768px–1024px)
   ======================================== */
@media screen and (max-width: 1024px) {
  .service-detail__block {
    flex-direction: column;
    gap: 32px;
  }

  .service-detail__image {
    flex: none;
    width: 100%;
  }

  .service-detail__features-grid {
    gap: 28px;
  }

  .company__inner {
    flex-direction: column;
  }

  .company__image {
    flex: none;
    width: 100%;
    max-height: 350px;
  }

  .access__inner {
    flex-direction: column;
  }

  .access__map {
    width: 100%;
  }

  .business__grid {
    gap: 24px;
  }

  .business__card-img {
    height: 180px;
  }
}

/* ========================================
   Responsive — Smartphone (≤767px)
   ======================================== */
@media screen and (max-width: 767px) {
  :root {
    --section-padding: 60px 0;
  }

  .section-title__jp {
    font-size: 1.5rem;
  }

  .section-title {
    margin-bottom: 32px;
  }

  /* Header SP */
  .hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-secondary);
    transition: right 0.4s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header__nav.is-open {
    right: 0;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .header__nav-link {
    display: block;
    padding: 18px 20px;
    font-size: 1rem;
    color: #fff !important;
  }

  .header__nav-link::after {
    display: none;
  }

  /* Overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-overlay.is-visible {
    display: block;
  }

  /* Hamburger active colors */
  .hamburger.is-active .hamburger__line {
    background-color: #fff;
  }

  /* Parallax SP — disable fixed attachment */
  .parallax-banner {
    background-attachment: scroll;
    height: 200px;
  }

  .parallax-banner__text {
    font-size: 1.25rem;
  }

  .parallax-bg {
    background-attachment: scroll;
  }

  /* Fade directions fallback to simple fade on SP */
  .fade-in-left,
  .fade-in-right {
    transform: translateY(30px);
  }

  .fade-in-left.is-visible,
  .fade-in-right.is-visible {
    transform: translateY(0);
  }

  /* Hero SP */
  .hero__video-wrap video {
    height: 100%;
  }

  .hero__title {
    font-size: 1.75rem;
    letter-spacing: 0.08em;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__description {
    font-size: 0.8125rem;
  }

  /* Information SP */
  .information__inner {
    flex-direction: column;
    gap: 24px;
  }

  .information__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Business SP */
  .business__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Company SP */
  .company__inner {
    flex-direction: column;
    gap: 32px;
  }

  .company__image {
    flex: none;
    width: 100%;
  }

  .company__table th {
    display: block;
    width: 100%;
    padding-bottom: 4px;
    border-bottom: none;
  }

  .company__table td {
    display: block;
    padding-top: 0;
  }

  /* Access SP */
  .access__inner {
    flex-direction: column;
    gap: 32px;
  }

  /* Contact SP */
  .contact__buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact__buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Contact Form SP */
  .contact-form-section__lead {
    font-size: 0.8125rem;
  }

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

  .btn--lg {
    padding: 16px 48px;
    width: 100%;
    max-width: 320px;
  }

  /* News List SP */
  .news-list__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Page Hero SP */
  .page-hero {
    padding: 120px 0 40px;
  }

  .page-hero__title {
    font-size: 1.5rem;
  }

  /* Service Detail SP */
  .service-detail__block {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
  }

  .service-detail__image {
    flex: none;
    width: 100%;
  }

  .service-detail__heading {
    font-size: 1.375rem;
  }

  .service-detail__features {
    padding: 36px 20px;
    margin-bottom: 48px;
  }

  .service-detail__features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail__cta {
    padding: 32px 20px;
  }

  .service-detail__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .service-detail__cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .breadcrumb__list {
    font-size: 0.75rem;
  }

  /* Footer SP */
  .footer__nav-list {
    flex-direction: column;
    gap: 12px;
  }
}
