/* トップページ (index.html) 専用スタイル */

.page--home {
  --content-max-width: 1100px;
  --content-gutter: clamp(1.5rem, 6vw, 3.5rem);
}

/* ヒーロー上に重なるヘッダー */
.page--home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page--home.is-scrolled .site-header {
  background: #fff;
  border-bottom-color: #e0e0e0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.page--home .site-header__lead,
.page--home .site-header__title {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.page--home.is-scrolled .site-header__lead,
.page--home.is-scrolled .site-header__title {
  text-shadow: none;
}

/* イベント告知バナー（ヒーロー直下） */
.page--home .promo-banner {
  position: relative;
  z-index: 10;
  padding: 1.25rem var(--content-gutter) 1.5rem;
  background: #fff;
  border-bottom: 1px solid #e8e4df;
}

.promo-banner__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.promo-banner__link {
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.promo-banner__link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  text-decoration: none;
}

.promo-banner__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

/* フルスクリーンヒーロー */
.hero--immersive {
  --hero-progress: 0;
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: 0;
  text-align: left;
  background-image: url(../../images/466/6758778fa2b2644fb801468aba90bc29_m.jpg);
  background-position: center center;
  background-size: cover;
}

.hero--immersive .hero__content {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--content-max-width);
  height: 100%;
  margin: 0 auto;
  padding:
    0
    var(--content-gutter)
    clamp(4rem, 10vh, 6rem);
}

.hero--immersive .hero__label {
  position: absolute;
  top: clamp(3.5rem, 7vh, 4.5rem);
  left: -0.75rem;
  margin: 0;
  font-size: clamp(4rem, calc(16vw - var(--hero-progress) * 10vw), 11rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(calc(var(--hero-progress) * -12px));
}

.hero--immersive .hero__subtitle {
  position: absolute;
  left: 0;
  right: auto;
  bottom: clamp(2rem, 8vh, 5rem);
  margin: 0;
  font-size: clamp(1.25rem, calc(3.5vw - var(--hero-progress) * 1vw), 2.75rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  opacity: calc(1 - var(--hero-progress) * 1.4);
  transform: translateY(calc(var(--hero-progress) * 24px));
}

.hero--immersive .hero__subtitle-text {
  font-family: "Roboto", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.hero--immersive .hero__actions {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-50%);
  opacity: calc(1 - var(--hero-progress) * 1.6);
  pointer-events: auto;
}

.hero--immersive .hero__btn {
  display: block;
  min-width: 9rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid rgba(14, 116, 144, 0.85);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  color: #0e7490;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero--immersive .hero__btn:hover {
  background: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.hero--immersive .hero__btn--blog {
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.72), rgba(186, 230, 253, 0.82));
}

/* メインコンテンツ共通の横幅・余白（ヘッダー/フッター除く） */
.page--home .intro,
.page--home .mission,
.page--home .greeting,
.page--home .business {
  padding-left: var(--content-gutter);
  padding-right: var(--content-gutter);
}

.page--home .intro__heading,
.page--home .mission__title,
.page--home .greeting__heading,
.page--home .business__panel {
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

.page--home .about__inner,
.page--home .services__grid,
.page--home .detail__inner,
.page--home .profile__inner {
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--content-gutter);
  padding-right: var(--content-gutter);
}

.page--home .mission__icon {
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--content-gutter);
  padding-right: var(--content-gutter);
}

.intro {
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
  text-align: center;
  background-color: #fbf8f5;
}

.intro__heading {
  margin: 0;
  font-size: clamp(1.125rem, 4vw, 1.5rem);
  line-height: 1.5;
}

.about {
  background-image: url(../../images/700/img20200319174352315488.png);
  background-position: center center;
  background-size: cover;
}

.about__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.about__content {
  grid-column: 2;
}

.about__icon {
  margin: 0 0 1rem;
  text-align: center;
}

.about__text {
  margin: 0;
}

.mission {
  padding-top: 1.125rem;
  padding-bottom: 3.5rem;
  text-align: center;
  background-color: #f4e23a;
}

.mission__icon {
  margin: 0 0 1rem;
}

.mission__title {
  margin: 0;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  line-height: 1.55;
}

.services {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background-image: url(../../images/443/c6c2f31c85214ccffcc84d0e82f1c257_s.jpg);
  background-position: center center;
  background-size: cover;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.services__item {
  padding: 1.25rem 1rem 1.5rem;
  color: #fff;
}

.services__item:nth-child(1) {
  background: rgba(180, 92, 72, 0.88);
}

.services__item:nth-child(2) {
  background: rgba(88, 148, 188, 0.88);
}

.services__item:nth-child(3) {
  background: rgba(204, 162, 48, 0.88);
}

.services__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.services__image {
  margin: 0 0 1rem;
  text-align: center;
}

.services__image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.services__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: left;
}

.detail {
  background-image: url(../../images/494/logo001.jpg);
  background-position: center center;
  background-size: cover;
}

.detail__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.detail__content {
  grid-column: 2;
}

.detail__icon {
  margin: 0 0 1rem;
  text-align: center;
}

.detail__text {
  margin: 0;
  font-size: clamp(0.9375rem, 2.5vw, 1rem);
  line-height: 1.85;
}

.greeting {
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
  text-align: center;
  background-color: #f0eeec;
}

.greeting__heading {
  margin: 0;
  font-size: clamp(1.125rem, 4vw, 1.5rem);
  line-height: 1.5;
}

.profile--nakano {
  background-color: #f0eeec;
  background-image: url(../../images/751/back002.jpg);
  background-repeat: repeat;
}

.profile--tone {
  background-color: #f0eeec;
  background-image: url(../../images/752/back002.jpg);
  background-repeat: repeat;
}

.profile__spacer {
  margin: 0;
}

.business {
  padding-top: 5.25rem;
  padding-bottom: 5.25rem;
  background-color: #fefdfd;
  background-image: url(../../images/449/286d306ac0b627fe057f0c4097a2beda_l.jpg);
  background-position: center center;
  background-size: cover;
}

.business__panel,
.about__content,
.detail__content {
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 6px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.business__title {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.business__list {
  margin: 0;
}

.business__list a {
  color: #0066cc;
}

.banner {
  min-height: 700px;
  background-color: #f0eeec;
  background-image: url(../../images/753/0013.jpg);
  background-repeat: no-repeat;
  background-position: center center;
}

@media (max-width: 768px) {
  .hero--immersive .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: clamp(4rem, 12vh, 5.5rem);
    padding-bottom: clamp(1.5rem, 6vh, 3rem);
  }

  .hero--immersive .hero__label {
    position: absolute;
    top: clamp(3.5rem, 10vh, 4.5rem);
    left: var(--content-gutter);
    right: var(--content-gutter);
    font-size: clamp(3rem, 12vw, 5rem);
    transform: translateY(calc(var(--hero-progress) * -12px));
  }

  .hero--immersive .hero__subtitle {
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 0;
    transform: none;
    max-width: none;
  }

  .hero--immersive .hero__actions {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    flex-direction: row;
    gap: 0.75rem;
  }

  .hero--immersive .hero__btn {
    min-width: 0;
    flex: 1;
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
  }

  .page--home .site-header {
    padding: 0.5rem 1rem;
  }

  .page--home .site-header__lead {
    display: none;
  }

  .page--home .site-header__title {
    font-size: 1.25rem;
  }

  .about__inner,
  .detail__inner {
    grid-template-columns: 1fr;
  }

  .about__content,
  .detail__content {
    grid-column: 1;
  }

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

  .intro,
  .greeting {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .intro__heading,
  .greeting__heading {
    font-size: clamp(1.125rem, 4.5vw, 1.375rem);
    line-height: 1.5;
    padding: 0 0.5rem;
  }

  .about__inner,
  .detail__inner,
  .services,
  .business {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .about__text,
  .detail__text,
  .services__text {
    font-size: 0.9375rem;
    line-height: 1.85;
  }

  .detail__text {
    text-align: left;
  }

  .business__panel,
  .about__content,
  .detail__content {
    padding: 1.25rem 1.125rem;
  }

  .mission__title {
    font-size: clamp(1rem, 3.5vw, 1.125rem);
    line-height: 1.55;
    padding: 0 0.5rem;
  }

  .profile__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .profile__body {
    padding: 1.25rem 1.125rem;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 6px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  }

  .banner {
    min-height: 280px;
    background-size: cover;
  }
}

@media (max-width: 480px) {
  .hero--immersive .hero__content {
    gap: 0.875rem;
  }

  .hero--immersive .hero__label {
    font-size: clamp(2.25rem, 14vw, 3.5rem);
    top: clamp(3rem, 8vh, 4rem);
  }

  .hero--immersive .hero__subtitle {
    font-size: clamp(1rem, 4.5vw, 1.25rem);
  }

  .hero--immersive .hero__actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero--immersive .hero__btn {
    width: 100%;
  }

  .services__item {
    padding: 1.125rem 1rem 1.25rem;
  }

  .services__title {
    font-size: 0.9375rem;
  }

  .banner {
    min-height: 200px;
  }

  .business {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}