/* ========================================
   Reset & Base
======================================== */
body.no-scroll {
  overflow: hidden;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Section Common
======================================== */
.section {
  padding: 80px 0;
}

.section__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #C9A84C;
  letter-spacing: 0.05em;
}

.section__subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 4px;
  margin-bottom: 40px;
}

/* ========================================
   Scroll Fade-up Animation
======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: #1a3f8f;
  color: #fff;
}

.btn--primary:hover {
  background: #15357a;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26, 63, 143, 0.3);
}

.btn--tel {
  background: #fff;
  color: #1a3f8f;
  border: 2px solid #1a3f8f;
  flex-direction: column;
  gap: 2px;
}

.btn--tel:hover {
  background: #f0f4ff;
}

.btn__icon {
  font-size: 1.2rem;
}

.btn__sub {
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.btn--submit {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  font-size: 1.1rem;
  padding: 18px 32px;
}

/* ========================================
   Header
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
}

.header__logo {
  margin-right: auto;
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: 20px;
}

.header__nav-list {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}

.header__nav-list li {
  display: flex;
  align-items: center;
  height: auto;
}

.header__nav-list li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.3s;
}

.header__nav-list li a:hover {
  color: #1a3f8f;
}

.header__tel {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1a3f8f;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.header__tel-icon {
  font-size: 1.2rem;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: all 0.3s;
}

.header__hamburger.is-active {
  position: fixed;
  top: 18px;
  right: 16px;
  z-index: 1002;
}

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

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

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

.header__hamburger.is-active span {
  background: #1a2744 !important;
}

/* ========================================
   First View
======================================== */
.fv {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 0;
  overflow: hidden;
}

/* 背景画像スライドショー */
.fv__images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.fv__img-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fvSlide 12s infinite;
}

.fv__img-item:nth-child(1) { animation-delay: 0s; }
.fv__img-item:nth-child(2) { animation-delay: 4s; }
.fv__img-item:nth-child(3) { animation-delay: 8s; }

@keyframes fvSlide {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  33%  { opacity: 1; }
  38%  { opacity: 0; }
  100% { opacity: 0; }
}

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

/* オーバーレイ */
.fv__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 63, 143, 0.75) 0%,
    rgba(26, 63, 143, 0.5) 40%,
    rgba(77, 166, 232, 0.4) 100%
  );
  z-index: 1;
}

.fv__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.fv__logo {
  width: 320px;
  margin-bottom: 32px;
}

.fv__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.78rem, 3.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  white-space: nowrap;
}

.fv__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 48px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.fv__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.fv__cta-divider {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.3);
}

/* FV CTA Redesign */
.fv__cta-main {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 24px;
  background: #C9A84C;
  color: #fff;
  border-radius: 50px;
  border: 2px solid #C9A84C;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(201,168,76,0.5);
}

.fv__cta-main:hover {
  background: #fff;
  color: #222;
  transform: translateY(-3px);
}

.fv__cta-main-text {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.fv__cta-main-sub {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.12em;
}

.fv__cta-tel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding-left: 32px;
  border-left: 1px solid rgba(255,255,255,0.3);
}

.fv__cta-tel-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em;
}

.fv__cta-tel-free {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.1;
  transition: opacity 0.2s;
}

.fv__cta-tel-free:hover {
  opacity: 0.8;
}

.fv__cta-tel-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
}

.fv__cta-tel-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 22px;
  background: #4da6e8;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.3s, transform 0.2s;
}

.fv__cta-tel-btn:hover {
  background: #2e8fd0;
  transform: translateY(-2px);
}

/* ========================================
   About
======================================== */
.about {
  background: #f8faff;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.about__image {
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
}

.about__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.about__message p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about__tagline {
  font-weight: 700;
  color: #1a3f8f;
  font-size: 1.05rem;
  margin-top: 24px;
}

.about__ceo {
  margin-top: 24px;
  font-weight: 700;
  text-align: right;
}

.about__info-title {
  font-size: 1.2rem;
  color: #1a3f8f;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1a3f8f;
}

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

.about__table th,
.about__table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.about__table th {
  width: 100px;
  font-weight: 700;
  color: #1a3f8f;
  white-space: nowrap;
}

/* ========================================
   Service
======================================== */
.service {
  background: #fff;
}

.service__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.service__tab {
  flex: 1;
  min-width: 140px;
  padding: 16px 12px;
  background: #e8f0fe;
  border: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a3f8f;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.service__tab:hover {
  background: #d0e0f8;
}

.service__tab.is-active {
  background: #1a3f8f;
  color: #fff;
}

.service__tab-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}

.service__contents {
  background: #f8faff;
  border-radius: 0 0 12px 12px;
  border: 2px solid #1a3f8f;
  border-top: none;
}

.service__content {
  display: none;
  padding: 40px;
}

.service__content.is-active {
  display: block;
}

.service__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.service__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #1a3f8f;
  opacity: 0.3;
  line-height: 1;
}

.service__name {
  font-size: 1.6rem;
  color: #1a3f8f;
  font-weight: 900;
}

/* サービス画像ギャラリー */
.service__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.service__gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e0e8f4;
}

.service__body h4 {
  font-size: 1.1rem;
  color: #1a3f8f;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 4px solid #4da6e8;
}

.service__desc {
  margin-bottom: 32px;
}

.service__desc p {
  font-size: 0.95rem;
}

.service__detail {
  margin-bottom: 32px;
}

.service__detail > p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.service__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.service__list li {
  padding: 10px 16px;
  background: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #e0e8f4;
}

.service__list li::before {
  content: '\2713';
  color: #4da6e8;
  margin-right: 8px;
  font-weight: 700;
}

.service__merits {
  margin-bottom: 32px;
}

.merit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.merit-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid #e0e8f4;
  transition: box-shadow 0.3s;
}

.merit-card:hover {
  box-shadow: 0 4px 16px rgba(26, 63, 143, 0.1);
}

.merit-card__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #4da6e8;
  display: block;
  margin-bottom: 8px;
}

.merit-card h5 {
  font-size: 0.95rem;
  color: #333;
}

.service__faq {
  margin-bottom: 24px;
}

.faq-list {
  margin-top: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 8px;
  border: 1px solid #e0e8f4;
}

.faq-item dt {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a3f8f;
  margin-bottom: 8px;
}

.faq-item dd {
  font-size: 0.85rem;
  color: #555;
}

.service__slogan {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #1a3f8f;
  opacity: 0.15;
  margin-top: 24px;
  letter-spacing: 0.1em;
}

/* ========================================
   Contact
======================================== */
.contact {
  background: #f8faff;
}

.contact__lead {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
}

.contact__form {
  max-width: 640px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
}

.form__required {
  background: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d0d8e4;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
  background: #fff;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: #1a3f8f;
  box-shadow: 0 0 0 3px rgba(26, 63, 143, 0.1);
}

.form__privacy {
  margin-bottom: 32px;
  text-align: center;
}

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

.form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1a3f8f;
}

/* ========================================
   Footer
======================================== */
.footer {
  background: #fff;
  color: #555;
  padding: 48px 0 0;
  border-top: 3px solid #e8f0fa;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.footer__logo-img {
  height: 50px;
  width: auto;
  margin-bottom: 8px;
}

.footer__company {
  font-size: 0.9rem;
  color: #1a2744;
  font-weight: 700;
  margin: 4px 0 16px;
}

.footer__address {
  font-style: normal;
  font-size: 0.8rem;
  line-height: 2;
  color: #666;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 0.85rem;
  color: #555;
  transition: color 0.3s;
}

.footer__nav a:hover {
  color: #1a3f8f;
}

.footer__copy {
  text-align: center;
  font-size: 0.75rem;
  padding: 16px 0;
  color: #aaa;
  border-top: 1px solid #e8f0fa;
}

/* ========================================
   Floating Tel Button (Mobile)
======================================== */
.floating-tel {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1a3f8f;
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  gap: 8px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(26, 63, 143, 0.4);
  z-index: 999;
  transition: transform 0.3s;
}

.floating-tel:hover {
  transform: scale(1.05);
}

.floating-tel__icon {
  font-size: 1.2rem;
}

/* ========================================
   Thanks Page
======================================== */
.thanks {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 70px;
  padding: 60px 20px;
}

.thanks__title {
  font-size: 2rem;
  color: #1a3f8f;
  margin-bottom: 16px;
}

.thanks__text {
  color: #555;
  margin-bottom: 32px;
  line-height: 2;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section__title {
    font-size: 2rem;
  }

  /* Header */
  .header__logo-img {
    height: 35px;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
  }

  .header__contact-btn {
    padding: 3px 14px;
    margin: 6px 0;
    font-size: 0.78rem;
  }


  .header__nav-list li a {
    display: block;
    padding: 20px 40px;
    font-size: 1.2rem;
    color: #1a2744 !important;
    border-bottom: 1px solid #eee;
    text-align: center;
  }

  .header__tel {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  /* FV */
  .fv__inner {
    padding: 60px 40px 60px 20px;
  }

  .fv__logo {
    width: 200px;
  }

  .fv__title {
    font-size: 22px;
  }

  .fv__cta {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .fv__cta-main {
    width: 100%;
    max-width: 320px;
  }

  .fv__cta-tel {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 16px;
  }

  .fv__cta-tel-free {
    font-size: 1.4rem;
  }

  /* About */
  .about__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Service */
  .service__tabs {
    flex-wrap: nowrap;
    gap: 2px;
  }

  .service__tab {
    min-width: 100px;
    padding: 10px 8px;
    font-size: 0.7rem;
  }

  .service__content {
    padding: 24px 16px;
  }

  .service__name {
    font-size: 1.2rem;
  }

  .service__gallery {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service__gallery-img {
    height: 180px;
  }

  .service__list {
    grid-template-columns: 1fr;
  }

  .merit-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service__slogan {
    font-size: 1.2rem;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }

  /* Floating tel */
  .floating-tel {
    display: flex;
  }
}


/* セクションタイトル下のグラデーションライン */
.section__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #1a3f8f, #4da6e8);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ========================================
   TOP Page: Main Content (slides over FV)
======================================== */
.main-content {
  position: relative;
  z-index: 1;
  margin-top: 100vh;
}

.top-service {
  border-radius: 28px 28px 0 0;
  background: #fff;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.18);
}


/* ラッパー：SERVICEとMESSAGEをまたぐdecoration用 */
.service-message-wrap {
  position: relative;
  overflow: hidden;
}

/* 横断decoration */
.cross-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

.cross-deco--tr {
  top: -40px;
  right: -60px;
  width: 640px;
}

.cross-deco--bl {
  bottom: -40px;
  left: -60px;
  width: 560px;
  transform: scaleX(-1);
}

.top-service,
.top-message {
  position: relative;
}

/* ========================================
   Header Nav CTA
======================================== */
.header__nav-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.header__nav-tel {
  display: none !important;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a2744;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
}

.header__nav-tel:hover {
  color: #1a3f8f;
}

/* ========================================
   Header Contact Button
======================================== */
.header__contact-btn {
  display: inline-block;
  padding: 5px 20px;
  margin: 10px 0;
  border-radius: 50px;
  background: #C9A84C;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid #C9A84C;
  transition: background 0.3s, color 0.3s;
}

.header__contact-btn:hover {
  background: transparent;
  color: #C9A84C !important;
}

/* FV上（透明ヘッダー）でも同じスタイルを維持 */
.page-top .header .header__contact-btn {
  background: #C9A84C;
  color: #fff !important;
  border-color: #C9A84C;
}

.page-top .header .header__contact-btn:hover {
  background: transparent;
  color: #C9A84C !important;
}

/* ========================================
   FV Contact Button
======================================== */
.btn--contact {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 16px 36px;
  background: #C9A84C;
  color: #fff;
  border-radius: 50px;
  border: 2px solid #C9A84C;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--contact:hover {
  background: transparent;
  color: #C9A84C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

.btn__contact-main {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn__contact-sub {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.05em;
}

/* ========================================
   TOP Page: Header Transparent on FV
======================================== */
.page-top .header {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.page-top .header .header__nav-list a {
  color: rgba(255, 255, 255, 0.9);
}

.page-top .header .header__tel {
  color: rgba(255, 255, 255, 0.9);
}

.page-top .header .header__hamburger span {
  background: #fff;
}

/* FV上ではヘッダーロゴを非表示、スクロール後に表示 */
.page-top .header__logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.page-top .header.is-scrolled .header__logo {
  opacity: 1;
  pointer-events: auto;
}

.page-top .header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.page-top .header.is-scrolled .header__nav-list a {
  color: #333;
}

.page-top .header.is-scrolled .header__tel {
  color: #1a3f8f;
}

.page-top .header.is-scrolled .header__hamburger span {
  background: #333;
}

.page-top .header.is-scrolled .header__logo-img {
  filter: none;
}

/* スクロール後はロゴ非表示ルールを上書き */
.page-top .header.is-scrolled .header__logo {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================
   Scroll Down Indicator
======================================== */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.scroll-down__circle {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  position: relative;
}

.scroll-down__circle::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { top: 8px;  opacity: 1; }
  100% { top: 26px; opacity: 0; }
}

.scroll-down__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
}

/* ========================================
   Service Nav (Hover Switcher)
======================================== */
.service-nav {
  display: flex;
  border-bottom: 2px solid #e0e8f4;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.service-nav__btn {
  flex: 1;
  padding: 16px 12px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.3s ease;
}

.service-nav__btn:hover,
.service-nav__btn.is-active {
  border-bottom-color: #C9A84C;
}

.service-nav__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: #C9A84C;
  letter-spacing: 0.12em;
}

.service-nav__name {
  font-size: 0.82rem;
  font-weight: 500;
  color: #888;
  transition: color 0.3s;
}

.service-nav__btn:hover .service-nav__name,
.service-nav__btn.is-active .service-nav__name {
  color: #1a2744;
  font-weight: 700;
}

/* ========================================
   Service Display Area
======================================== */
.service-display {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  border: 1px solid #e0e8f4;
  border-top: none;
}

.service-display__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-display__content.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* 偶数：写真右・テキスト左 */
.service-display__content--even {
  flex-direction: row-reverse;
}

.service-display__img {
  flex: 0 0 45%;
  overflow: hidden;
}

.service-display__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-display__content.is-active .service-display__img img {
  transform: scale(1.04);
}

.service-display__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  background: #f8faff;
}

.service-display__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: #C9A84C;
  opacity: 0.25;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.service-display__name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1a2744;
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-display__desc {
  font-size: 0.92rem;
  line-height: 2;
  color: #555;
  margin-bottom: 28px;
}

/* ========================================
   Hover Text-Change Button
======================================== */
.btn-textchange {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: center;
  min-width: 148px;
}

/* ダーク版（明るい背景用） */
.btn-textchange--dark {
  border: 2px solid #1a3f8f;
  color: #1a3f8f;
  background: transparent;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}

.btn-textchange--dark span:nth-child(1) {
  display: block;
  transition: opacity 0.25s ease;
}

.btn-textchange--dark span:nth-child(2) {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.25s ease;
  font-family: 'Montserrat', sans-serif;
}

.btn-textchange--dark:hover {
  background: #1a3f8f;
  color: #fff;
}

.btn-textchange--dark:hover span:nth-child(1) {
  opacity: 0;
}

.btn-textchange--dark:hover span:nth-child(2) {
  opacity: 1;
}

/* ========================================
   TOP Page: Message Section (Dark)
======================================== */
.top-message {
  background: #f0f4f8;
}

.top-message .section__title {
  color: #C9A84C;
}

.top-message__title {
  text-align: center;
  margin-bottom: 4px;
}

.top-message__subtitle {
  text-align: center;
  margin-bottom: 28px !important;
}

.top-message .section__subtitle {
  color: #888;
}

.top-message__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
/* テキスト左・写真右（デフォルト） */

.top-message__img-wrap {
  position: relative;
  z-index: 2;
}

.top-message__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #1a3f8f, #4da6e8);
  border-radius: 0 0 12px 12px;
}

.top-message__img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.top-message__catch {
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #1a2744 !important;
  margin-bottom: 20px !important;
  letter-spacing: 0.02em;
}

.top-message__text p {
  font-size: 0.92rem;
  line-height: 2.1;
  color: #555;
  margin-bottom: 14px;
}

.top-message__tagline {
  font-weight: 900 !important;
  color: #1a2744 !important;
  font-size: 1.5rem !important;
  margin: 16px 0 28px !important;
  line-height: 1.5 !important;
}

.top-message__sign {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.top-message__sign-title {
  height: 20px;
  width: auto;
}

.top-message__sign-name {
  height: 30px;
  width: auto;
}

/* ライト版ボタン（ダーク背景用） */
.btn-textchange--light {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
  transition: background 0.3s, border-color 0.3s;
  text-decoration: none;
}

.btn-textchange--light span:nth-child(1) {
  display: block;
  transition: opacity 0.25s ease;
}

.btn-textchange--light span:nth-child(2) {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.25s ease;
  font-family: 'Montserrat', sans-serif;
}

.btn-textchange--light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-textchange--light:hover span:nth-child(1) { opacity: 0; }
.btn-textchange--light:hover span:nth-child(2) { opacity: 1; }

/* ========================================
   Decoration Images
======================================== */
.section-deco-img {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

.section-deco-img--tr {
  top: -20px;
  right: -40px;
  width: 360px;
}

.section-deco-img--bl {
  bottom: -20px;
  left: -40px;
  width: 300px;
  transform: scaleX(-1);
}

/* ========================================
   Responsive: New TOP Page Elements
======================================== */
@media (max-width: 768px) {
  .service-nav {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .service-nav__btn {
    flex: 0 0 auto;
    min-width: 110px;
    padding: 12px 8px 16px;
  }

  .service-nav__name {
    font-size: 0.72rem;
  }

  .service-display {
    height: auto;
  }

  .service-display__content {
    position: relative;
    flex-direction: column;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, height 0.4s ease;
  }

  .service-display__content.is-active {
    height: auto;
    opacity: 1;
  }

  .service-display__content--even {
    flex-direction: column;
  }

  .service-display__img {
    flex: 0 0 220px;
    width: 100%;
    height: 220px;
  }

  .service-display__text {
    padding: 28px 20px;
  }

  .service-display__name {
    font-size: 1.2rem;
  }

  .top-message__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .top-message__img {
    height: 260px;
  }

  .top-message__catch {
    font-size: 0.9rem !important;
    white-space: nowrap;
  }

  .header__nav-tel {
    display: block !important;
  }

  .scroll-down {
    left: auto;
    right: 20px;
    transform: none;
  }
}
