:root {
  --color-main: #245640;
  --color-main-dark: #1d4736;
  --color-accent: #8a6a3f;
  --color-emergency: #b42318;
  --color-text: #333333;
  --color-muted: #1c1c1c;
  --color-border: #e5ddd2;
  --color-bg: #faf8f4;
  --color-bg-soft: #f3f8f9;
  --color-white: #ffffff;
  --color-bg-course: #fcf8fb;
  --color-emergency-bg: #fff4f1;
  --color-emergency-head: #8f241a;
  --color-number: #FFF79E;
  --color-button: #368262;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, .06);
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
  --hall-max-width: 1180px;
  --header-height: 78px;


}

.tips {
  font-size: 0.8em;
  width: 430px;
  margin-left: auto;
  margin-right: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-bg);
  letter-spacing: .02em;
}

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

a {
  color: inherit;
}

.str {
  font-size: 1.2em;
  color: var(--color-number);
}

.hvy {
  font-size: 1.2em;
  font-weight: 700;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* ==========================
       Header
    ========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(229, 221, 210, .9);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  max-width: var(--max-width);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.site-logo img {
  width: 150px;
  height: auto;
}

.pc-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}

.pc-nav a {
  display: block;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.pc-nav a:hover {
  color: var(--color-main);
}

.header-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--color-main);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button-tel {
  display: flex;
  align-items: center;
  margin: 10px auto;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--color-main);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* ==========================
       Common
    ========================== */

.section {
  padding: 72px 20px;
}

.section--white {
  background: var(--color-white);
}

.section--soft {
  background: var(--color-bg-soft);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: normal;
}

.section-heading__eyebrow {
  margin: 0 0 6px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0 0 14px;
  color: var(--color-main);
  font-size: 30px;
  line-height: 1.5;
}

.section-heading p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.5;
  transition: transform .2s ease, opacity .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: .9;
}

.btn--emergency {
  background: var(--color-emergency);
  color: var(--color-white);
}

.btn--sub {
  background: #efe5d7;
  color: #5a3f24;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-main-dark);
}

/* ==========================
       Hero
    ========================== */

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
}

.hero__inner {
  max-width: var(--hall-max-width);
  margin: 0 auto;
  padding: 56px 20px 64px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.hero__label {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: .08em;
}

.hero h1 {
  margin: 0 0 18px;
  color: var(--color-main-dark);
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.35;
  letter-spacing: .04em;
}

.hero__lead {
  margin: 0 0 26px;
  color: #444444;
  font-size: 16px;
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__notes li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-main-dark);
  font-size: 13px;
  font-weight: 700;
}

.hero__media {
  position: relative;
  z-index: 0;
}

.hero__media::before {
  content: "";
  position: absolute;
  top: 22px;
  right: -22px;
  bottom: -22px;
  left: 22px;
  z-index: -1;

  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
}

.hero__media img {
  display: block;
  /* img下部の隙間防止 */
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.hero__media .hall-index-hero__slider {
  position: relative;
  isolation: isolate;
  /* スライド内のz-indexを閉じ込める */
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-soft);
  /* ハードコードを避ける */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.hero__media .hall-index-hero__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  backface-visibility: hidden;
  transition: opacity 1.2s ease;
}

.hero__media .hall-index-hero__slide.is-active {
  z-index: 2;
  opacity: 1;
}

.hero__media .hall-index-hero__slide.is-leaving {
  z-index: 1;
  opacity: 0;
}

.hero__media .hall-index-hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transform: scale(1.02);
  transform-origin: center;
  backface-visibility: hidden;
}

.hero__media .hall-index-hero__slide.is-active img,
.hero__media .hall-index-hero__slide.is-leaving img {
  animation: hero-media-zoom 6.2s linear forwards;
}

@keyframes hero-media-zoom {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media .hall-index-hero__slide {
    transition: none !important;
  }

  .hero__media .hall-index-hero__slide img {
    animation: none !important;
    transform: none !important;
  }
}


.hero__caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--color-main-dark);
  font-size: 13px;
  font-weight: 700;
  z-index: 3;
}

@media screen and (max-width: 900px) {
  .hero__media::before {
    display: none;
  }
}

/* ==========================
       Reason cards
    ========================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--color-white);
  border: 1px solid rgba(229, 221, 210, .72);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}

.card img {
  width: 100%;
  border-radius: var(--radius-md);
  padding-bottom: 10px;
}

.card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--color-main);
  color: var(--color-bg-soft);
  font-size: 13px;
  font-weight: 700;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--color-main-dark);
  font-size: 18px;
  line-height: 1.5;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ==========================
       Flow
    ========================== */

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.flow-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(229, 221, 210, .58);
}

.flow-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--color-main);
  color: var(--color-white);
  font-weight: 700;
  letter-spacing: .04em;
}

.flow-list h3 {
  margin: 0 0 6px;
  color: var(--color-main-dark);
  font-size: 18px;
  line-height: 1.5;
}

.flow-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ==========================
       Facility
    ========================== */

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.facility-card {
  overflow: hidden;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(229, 221, 210, .58);
}

.facility-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.facility-card__body {
  padding: 20px;
}

.facility-card__body h3 {
  margin: 0 0 8px;
  color: var(--color-main-dark);
  font-size: 18px;
  line-height: 1.5;
}

.facility-card__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ==========================
       Overview / Access / FAQ
    ========================== */

.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.info-table th,
.info-table td {
  padding: 17px 20px;
  border-bottom: 1px solid #eeeeee;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  width: 28%;
  background: #f6efe6;
  color: #5a3f24;
  font-weight: 700;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff, #f3f8f9);
  border: 1px solid rgba(229, 221, 210, .58);
  border-radius: var(--radius-md);
  color: var(--color-muted);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.faq {
  margin: 0;
  padding: 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(229, 221, 210, .58);
}

.faq dt {
  margin: 22px 0 8px;
  color: var(--color-main-dark);
  font-weight: 700;
  line-height: 1.7;
  font-size: 1.2em;
}

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

.faq dd {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #eeeeee;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq dd:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

/* ==========================
       Final CTA
    ========================== */

.final-cta {
  padding: 58px 20px;
  background: var(--color-main-dark);
  color: var(--color-white);
  text-align: center;
}

.final-cta__inner {
  max-width: 760px;
  margin: 0 auto;
}

.final-cta h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.5;
}

.final-cta p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .88);
  line-height: 1.9;
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* emergency */
/* ==========================
お急ぎの方へ
========================== */

.emergency-guide {
  background: #fff4f1;
  padding: 56px 20px;
  border-top: 1px solid #f1d2cb;
  border-bottom: 1px solid #f1d2cb;
}

.emergency-guide__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.emergency-guide__heading {
  text-align: center;
  margin-bottom: 28px;
}

.emergency-guide__heading h2 {
  margin: 0 0 14px;
  color: #8f241a;
  font-size: 30px;
  line-height: 1.5;
  word-break: auto-phrase;
}

.emergency-guide__heading p {
  margin: 0;
  color: #555;
  line-height: 1.9;
}

.emergency-guide__box {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 24px;
  align-items: stretch;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(120, 40, 30, .08);
}

.emergency-guide__text h3 {
  margin: 0 0 14px;
  color: #8f241a;
  font-size: 20px;
}

.emergency-guide__text ul {
  margin: 0 0 16px;
  padding-left: 1.3em;
}

.emergency-guide__text li {
  margin-bottom: 6px;
}

.emergency-guide__text p {
  margin: 0;
  color: #555;
  line-height: 1.8;
}

.emergency-guide__cta {
  background: #8f241a;
  color: #fff;
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.emergency-guide__cta p {
  margin: 0 0 10px;
  font-weight: 700;
}

.emergency-tel {
  display: block;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
}

.emergency-guide__cta span {
  margin-top: 8px;
  font-size: 13px;
  opacity: .9;
}

@media screen and (max-width: 768px) {
  .section-heading {
    text-align: left;
  }

  .emergency-guide {
    padding: 42px 16px;
  }

  .emergency-guide__heading h2 {
    font-size: 30px;
    padding: 5% 5% 0;
    text-align: left;
  }

  .emergency-guide__heading p {
    text-align: left;
    padding: 0 5% 0;
  }

  .emergency-guide__box {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .emergency-tel {
    font-size: 24px;
  }
}

/* ==========================
       Responsive
    ========================== */

@media screen and (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(0);
    transition: transform .3s ease;
  }

  .site-header.is-hidden {
    transform: translateY(-100%);
  }

  .site-header__inner {
    padding: 10px 16px;
  }

  .site-logo img {
    width: 140px;
  }


  .pc-nav,
  .header-tel {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 36px 16px 48px;
    gap: 28px;
  }

  .hero__media {
    order: -1;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .section {
    padding: 54px 16px;
  }

  .section-heading {
    margin-bottom: 30px;
    padding: 5% 5% 0;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .flow-list li {
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .flow-list span {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: none;
    padding-bottom: 8px;
  }

  .info-table td {
    padding-top: 8px;
  }

  .final-cta h2 {
    font-size: 24px;
  }

  .btn {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .final-cta h2 {
    font-size: 30px;
    padding: 5% 5px 0;
    text-align: left;
  }

  .final-cta p {
    text-align: left;
    padding: 0 5px 8px;
  }

  .cards,
  .facility-grid {
    grid-template-columns: 1fr;
  }

}


/* ==========================
施設概要フォトギャラリー
========================== */

.overview-gallery {
  margin: 0 0 32px;
}

.overview-gallery__main {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #eee;
  box-shadow: none;

  /* 縦スクロールを許可し、横方向の操作はJSのフリックへ渡す */
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.overview-gallery__main.is-dragging {
  cursor: grabbing;
}

.overview-gallery__main-img {
  width: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  transition: opacity .25s ease;
}

.overview-gallery__main-img.is-changing {
  opacity: 0;
}

.overview-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #5a3f24;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.overview-gallery__nav--prev {
  left: 14px;
}

.overview-gallery__nav--next {
  right: 14px;
}

.overview-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.overview-gallery__thumb {
  flex: 0 0 120px;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: none;
  cursor: pointer;
}

.overview-gallery__thumb.is-active {
  border-color: var(--color-main, #6b4b2a);
}

.overview-gallery__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.overview-gallery__title {
  margin: 0;
  padding: 13px 18px;

  background: var(--color-white, #fff);

  border-right: 1px solid var(--color-border, #e5ddd2);
  border-bottom: 1px solid var(--color-border, #e5ddd2);
  border-left: 1px solid var(--color-border, #e5ddd2);

  border-radius: 0 0 20px 20px;

  color: var(--color-main-dark, #1d4736);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;

}

/* 小さなアクセント線 */
.overview-gallery__title::before {
  content: "";
  display: inline-block;

  width: 22px;
  height: 2px;
  margin-right: 9px;

  background: var(--color-accent);
  vertical-align: middle;
}

@media screen and (max-width: 768px) {
  .overview-gallery {
    margin-bottom: 24px;
  }

  .overview-gallery__nav {
    width: 36px;
    height: 36px;
    font-size: 26px;
  }

  .overview-gallery__nav--prev {
    left: 10px;
  }

  .overview-gallery__nav--next {
    right: 10px;
  }

  .overview-gallery__thumb {
    flex-basis: 96px;
    border-radius: 10px;
  }

  .overview-gallery__title {
    padding: 10px 14px;
    font-size: 15px;
  }

  .overview-gallery__title::before {
    width: 18px;
    margin-right: 7px;
  }
}

.page-index {
  display: none;
}

@media screen and (max-width: 900px) {
  .page-index {
    display: block;
    margin: initial;
  }

  .page-index details {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
  }

  .page-index summary {
    padding: 15px 18px;
    color: var(--color-main-dark);
    font-weight: 700;
    cursor: pointer;
  }

  .page-index ul {
    margin: 0;
    padding: 0 18px 14px;
    list-style: none;
  }

  .page-index li {
    border-top: 1px solid #eee;
  }

  .page-index a {
    display: block;
    padding: 13px 2px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }
}


/* ==========================
   SP Fixed Emergency Button
========================== */

.sp-fixed-emergency {
  display: none;
}

@media screen and (max-width: 1980px) {
  .sp-fixed-emergency {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 1040;

    display: flex;
    align-items: center;
    justify-content: center;

    width: auto;
    max-width: 560px;
    min-height: 52px;
    margin-right: auto;
    margin-left: auto;
    padding: 12px 16px;

    box-sizing: border-box;

    border-radius: var(--radius-lg);
    background: var(--color-button);
    color: #ffffff !important;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none !important;

    box-shadow:
      0 8px 22px rgba(0, 0, 0, 0.18);

    /* 初期状態では画面下に隠す */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
      translateY(calc(100% + 30px));

    transition:
      opacity 0.35s ease,
      visibility 0.35s ease,
      transform 0.35s ease;
  }

  /* JSによってis-visibleが付いた状態 */
  .sp-fixed-emergency.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .sp-fixed-emergency__main {
    display: block;
  }

  body {
    padding-bottom: 0;
  }

  /*
   * スマホメニュー展開時は非表示
   */
  body.menu-open .sp-fixed-emergency {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
      translateY(calc(100% + 30px));
  }
}

@media screen and (max-width: 380px) {
  .sp-fixed-emergency {
    left: 10px;
    right: 10px;

    min-height: 50px;
    padding: 10px 12px;

    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-fixed-emergency {
    transition: none;
  }
}

/* ==========================
   ホール限定コース
========================== */

.course-feature {
  display: grid;
  grid-template-columns:
    minmax(0, .95fr) minmax(0, 1.05fr);

  margin-top: 32px;
  margin-bottom: 24px;
  overflow: hidden;

  background:
    linear-gradient(135deg,
      var(--color-white) 0%,
      #f8f4ed 100%);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* 画像エリア */
.course-feature__media {
  min-width: 0;
  background: #eeeeee;
}

.course-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

/* 本文エリア */
.course-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(30px, 4vw, 48px);
}

/* 限定ラベル */
.course-feature__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;

  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 13px;

  background: var(--color-main);
  border-radius: 999px;

  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}

/* 誰に向けたコースか */
.course-feature__target {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  word-break: keep-all;
}

/* コース名 */
.course-feature__body h3 {
  margin: 0 0 16px;
  color: var(--color-main-dark);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.45;
  letter-spacing: .02em;
  text-wrap: balance;
}

/* 説明文 */
.course-feature__body>p:not(.course-feature__badge):not(.course-feature__target) {
  margin: 16px auto;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.9;
}

/* CTA */
.course-feature__cta {
  display: block;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 8px;

  min-height: 48px;
  padding: 11px 20px;

  background: var(--color-button);
  border-radius: var(--radius-lg);

  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;

  max-width: 30%;
  margin: 26px auto 0px;

  transition:
    background-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.course-feature__cta:hover {
  background: var(--color-main-dark);
  box-shadow: 0 8px 20px rgba(36, 86, 64, .2);
  transform: translateY(-1px);
}

.course-feature__cta:focus-visible {
  outline: 3px solid rgba(36, 86, 64, .28);
  outline-offset: 4px;
}


/* ==========================
   SP・タブレット
========================== */

@media screen and (max-width: 900px) {
  .course-feature {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .course-feature__media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .course-feature__body {
    padding: 28px 22px 32px;
  }

  .course-feature__badge {
    margin-bottom: 15px;
  }

  .course-feature__body h3 {
    font-size: 34px;
  }

  .course-feature__body>p:not(.course-feature__badge):not(.course-feature__target) {
    font-size: 15px;
  }

  .course-feature__cta {
    align-self: stretch;
    width: 100%;
    margin-top: 22px;
    max-width: none;
  }
}


/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .course-feature__cta {
    transition: none !important;
  }

  .course-feature__cta:hover {
    transform: none;
  }
}

/* ==========================
   お葬儀コース紹介
========================== */

.course-section {
  background: var(--color-bg-course);
}

/* コースカード一覧 */
.course-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 22px;
}

/* コースカード */
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px 26px;

  background: var(--color-white);
  border: 1px solid rgba(229, 221, 210, .72);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.course-card:hover {
  border-color: rgba(36, 86, 64, .28);
  box-shadow: 0 12px 30px rgba(36, 86, 64, .1);
  transform: translateY(-3px);
}

/* 誰に向けたお葬儀か */
.course-card__label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;

  width: fit-content;
  margin: 0 0 15px;
  padding: 5px 11px;

  background: #f3ede4;
  border-radius: 999px;

  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}

/* コース名 */
.course-card h3 {
  margin: 0 0 14px;
  color: var(--color-main-dark);
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.5;
  letter-spacing: .02em;
  text-wrap: balance;
}

/* 家族葬などの補足 */
.course-card h3 span {
  display: inline-block;
  margin-left: .15em;
  font-size: .72em;
  font-weight: 600;
  color: var(--color-muted);
}

/* 説明文 */
.course-card>p:not(.course-card__label) {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.9;
}

/* ==========================
   無料見積り・相談案内
========================== */

.course-consultation {
  position: relative;
  isolation: isolate;

  margin: 64px auto 0;
  padding: 38px 34px 32px 138px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* 案内スタッフのイラスト */
.course-consultation::before {
  content: "";
  position: absolute;
  z-index: 1;

  top: -38px;
  left: 20px;

  width: 178px;
  aspect-ratio: 1 / 1;

  background:
    url("/sougi/img/echo/onepoint.webp") center / contain no-repeat;

  pointer-events: none;
}

/* イラストの背後に薄いアクセント */
.course-consultation::after {
  content: "";
  position: absolute;
  z-index: -1;

  top: 18px;
  left: 22px;

  width: 150px;
  height: 150px;

  background: var(--color-bg-soft);
  border-radius: 50%;
}

.course-consultation h3 {
  margin: 0 0 13px;
  color: var(--color-main-dark);
  font-size: 21px;
  line-height: 1.55;
  text-align: center;
  word-break: auto-phrase;
}

.course-consultation p {
  margin: auto;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 80%;
  text-align: center;
}

.course-consultation p+p {
  margin-top: 10px;
}

.course-feature__fit {
  margin-top: 24px;
  padding: 18px 20px;

  background: var(--color-bg-soft);
  border-radius: 12px;
}

.course-feature__fit-title {
  margin: 0 0 10px !important;

  color: var(--color-main-dark) !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.6 !important;
}

.course-feature__fit ul {
  margin: 0;
  padding-left: 1.4em;
}

.course-feature__fit li {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.course-feature__fit li:first-child {
  margin-top: 0;
}

/* ==========================
   タブレット・SP
========================== */

@media screen and (max-width: 900px) {
  .course-grid {
    gap: 18px;
  }

  .course-card {
    padding: 25px 22px;
  }

  .course-card h3 {
    font-size: 22px;
  }

  .course-card>p:not(.course-card__label) {
    font-size: 15px;
  }

  .course-consultation {
    margin-top: 40px;
    padding: 90px 22px 24px;
  }

  .course-consultation::before {
    top: -20px;
    left: 18px;
    width: 136px;
  }

  .course-consultation h3 {
    font-size: 22px;
    text-align: center;
  }

  .course-consultation p {
    font-size: 15px;
    max-width: none;
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .course-consultation {
    margin-top: 58px;
    padding: 100px 22px 26px;
  }

  .course-consultation::before {
    top: -40px;
    left: 18px;
    width: 126px;
  }

  .course-consultation::after {
    top: 8px;
    left: 28px;
    width: 92px;
    height: 92px;
  }

  .course-consultation h3 {
    font-size: 19px;
    text-align: left;
  }

  .course-consultation p {
    font-size: 15px;
    max-width: none;
    text-align: left;
  }

  .tips {
    width: 100%;
    padding: 0 24px;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .course-card {
    transition: none !important;
  }

  .course-card:hover {
    transform: none;
  }
}

/*スマホ用分節単位の改行*/
@supports (word-break: auto-phrase) {

  .hero h1,
  .section-heading h2,
  .card h3,
  .course-card h3 {
    word-break: auto-phrase;
  }
}

.text-phrase {
  display: inline-block;
}

/* ==========================
   アクセス
========================== */

.access-box {
  display: grid;
  grid-template-columns:
    minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: stretch;
}

.access-info,
.access-map {
  min-width: 0;
  overflow: hidden;

  background: var(--color-white);
  border: 1px solid rgba(229, 221, 210, .72);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.access-info {
  padding: 26px 24px;
}

.access-info p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.9;
}

.access-info p:last-child {
  margin-bottom: 0;
}

.access-info strong {
  color: var(--color-main-dark);
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}


/* ==========================
   道案内動画
========================== */

.access-route {
  margin-top: 28px;
  padding: clamp(26px, 4vw, 42px);

  background: var(--color-white);
  border: 1px solid rgba(229, 221, 210, .72);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.access-route__heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.access-route__label {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.access-route__heading h3 {
  margin: 0 0 10px;
  color: var(--color-main-dark);
  font-size: 24px;
  line-height: 1.5;
}

.access-route__heading>p:last-child {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.access-route__content {
  display: grid;
  grid-template-columns:
    minmax(220px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  justify-content: center;
}

.access-route__video {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  overflow: hidden;

  background: #111;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}

.access-route__video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.access-route__description h4 {
  margin: 0 0 14px;
  color: var(--color-main-dark);
  font-size: 19px;
  line-height: 1.5;
}

.access-route__description ul {
  margin: 0;
  padding-left: 1.5em;
}

.access-route__description li {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.access-route__description li:first-child {
  margin-top: 0;
}

.access-route__note {
  margin: 24px 0 0;
  padding: 15px 17px;

  background: var(--color-bg-soft);
  border-radius: 10px;

  color: var(--color-main-dark);
  font-size: 15px;
  line-height: 1.8;
}


/* ==========================
   タブレット・SP
========================== */

@media screen and (max-width: 900px) {
  .access-map iframe {
    min-height: 360px;
  }

  .access-route__content {
    align-items: flex-start;
  }

  .access-route__description {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .access-box {
    grid-template-columns: 1fr;
  }

  .access-info {
    padding: 22px 20px;
  }

  .access-route__content {
    grid-template-columns: 1fr;
  }


  .access-map iframe {
    min-height: 320px;
  }

  .access-route {
    margin-top: 22px;
    padding: 26px 20px;
  }

  .access-route__heading {
    margin-bottom: 22px;
    text-align: left;
  }

  .access-route__heading h3 {
    font-size: 28px;
  }

  .access-route__heading>p:last-child,
  .access-route__description li {
    font-size: 15px;
  }

  .access-route__video {
    max-width: 300px;
    border-radius: 15px;
  }
}

/* ==========================
   パンくずリスト
========================== */

.breadcrumb {
  padding: 14px 20px;
  background: var(--color-white);
  border-bottom: 1px solid rgba(229, 221, 210, .65);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;

  max-width: var(--hall-max-width);
  margin: 0 auto;
  padding: 0;

  list-style: none;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;

  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.7;
}

.breadcrumb__item+.breadcrumb__item::before {
  content: "›";
  margin-right: 8px;
  color: #999;
}

.breadcrumb__item a {
  color: var(--color-main-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;

  transition:
    color .2s ease,
    text-decoration-color .2s ease;
}

.breadcrumb__item a:hover {
  color: var(--color-main);
  text-decoration-color: currentColor;
}

.breadcrumb__item[aria-current="page"] {
  color: var(--color-muted);
}

@media screen and (max-width: 767px) {
  .breadcrumb {
    padding: 10px 16px;
  }

  .breadcrumb__list {
    gap: 2px 6px;
  }

  .breadcrumb__item {
    font-size: 11px;
  }

  .breadcrumb__item+.breadcrumb__item::before {
    margin-right: 6px;
  }
}