@charset 'utf-8';

/* =========================
   Custom Tour page (base)
========================= */
.page__customTour .page__title h1 {
  font-size: 10rem;
}

.page__customTour .page__lead {
  line-height: 1.9;
}

/* 説明文 / 対象者のリスト */
.custom__description,
.custom__targetList {
  margin-top: 16px;
  padding-left: 1.2em;
  line-height: 1.9;
}

.custom__description li,
.custom__targetList li {
  margin: 6px 0;
}

/* =========================
   Custom Points
========================= */

.custom__pointList {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.custom__pointItem {
  background: #ffffff;
  border: 1px solid rgba(60, 40, 25, 0.12);
  /* 薄いブラウンの線 */
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.custom__pointIcon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(140, 110, 80, 0.10);
  /* 薄いブラウン */
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.custom__pointIcon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.custom__pointTitle {
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}

.custom__pointText {
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
  opacity: 0.9;
}

/* hover（PCでちょっとだけ気持ちよく） */
@media (hover: hover) {
  .custom__pointItem {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .custom__pointItem:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
  }
}

/* =========================
   custom__cta
========================= */
.custom__ctaTitle {
  font-size: 2rem;
  font-weight: 700;
}

.custom__ctaText {
  margin-top: 1rem;
  line-height: 1.5;
}

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

@media (max-width: 1024px) {
  .custom__pointList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .page__customTour .page__title h1 {
    font-size: min(13cqw, 4rem);
  }

  .custom__description,
  .custom__targetList {
    margin-top: 16px;
    padding-left: 1em;
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .custom__description li,
  .custom__targetList li {
    margin: 0.75rem 0;
  }

  .custom__pointList {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .custom__pointItem {
    padding: 16px;
    width: 48%;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .custom__pointIcon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
  }

  .custom__pointIcon img {
    width: 26px;
    height: 26px;
  }

  .custom__pointTitle {
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 600;
  }

  .custom__ctaTitle {
    font-size: 1.5rem;
    font-weight: 700;
  }
}

/*--------------------------------
LINE CONTACT
--------------------------------*/

.contact__line {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 5rem 2rem 0;
  box-sizing: border-box;
}

.contact__lineInner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.contact__lineLead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0;
  color: #ad8c34;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.contact__lineLead::before,
.contact__lineLead::after {
  content: "";
  width: 60px;
  height: 1px;
  background: #ad8c34;
}

.contact__lineTitle {
  margin: 1rem 0 0;
  color: #1c252b;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .03em;
}

.contact__lineTitle span {
  color: #06c755;
  font-size: 1.15em;
  font-weight: 800;
}

.contact__lineText {
  margin: 1.5rem 0 0;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  line-height: 2;
}

.contact__lineGuide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 2rem 0 0;
  color: #1c252b;
  font-size: 1.15rem;
  font-weight: 700;
}

.contact__lineGuide::before,
.contact__lineGuide::after {
  content: "";
  width: 70px;
  height: 1px;
  margin: 0 1rem;
  background: #ad8c34;
}

.contact__lineGuide span {
  letter-spacing: .04em;
}

.contact__lineGuide strong {
  color: #ad8c34;
  font-weight: 700;
}

.contact__lineBtn {
  position: relative;
  display: flex;
  align-items: center;
  width: min(850px, 100%);
  min-height: 100px;
  margin: 2rem auto 0;
  padding: 1.5rem 5rem 1.5rem 2.5rem;
  border-radius: 12px;
  background: #06c755;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    background .3s ease;
}

.contact__lineBtn:hover {
  background: #05b84e;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .16);
  transform: translateY(-2px);
}

.contact__lineIcon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-right: 2rem;
  border-radius: 50%;
  background: #fff;
  color: #06c755;
  font-size: 1.05rem;
  font-weight: 800;
}

.contact__lineBtnText {
  flex: 1;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.contact__lineArrow {
  position: absolute;
  top: 50%;
  right: 2.25rem;
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-55%);
  transition: transform .3s ease;
}

.contact__lineBtn:hover .contact__lineArrow {
  transform: translate(5px, -55%);
}

.contact__lineForm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.25rem;
  color: #333;
  font-size: .95rem;
  font-weight: 500;
}

.contact__lineMail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ede5d6;
  color: #1c252b;
  font-size: 1.15rem;
}

.contact__lineMail img {
  width: 25px;
}

.contact__lineForm p {
  margin: 0;
}

.contact__lineForm p span {
  color: #ad8c34;
  font-weight: 700;
}

.contact__lineScroll {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.contact__lineScroll span {
  display: block;
  width: 16px;
  height: 16px;
  border-right: 2px solid #ad8c34;
  border-bottom: 2px solid #ad8c34;
  transform: rotate(45deg);
}


/*--------------------------------
LINE CONTACT / SP
--------------------------------*/

@media screen and (max-width: 580px) {

  .contact__line {
    padding: 3.5rem 1.25rem 0;
  }

  .contact__lineLead {
    gap: .75rem;
    font-size: 3cqw;
  }

  .contact__lineLead::before,
  .contact__lineLead::after {
    width: 30px;
  }

  .contact__lineTitle {
    margin-top: .75rem;
    font-size: 7cqw;
    line-height: 1.5;
  }

  .contact__lineTitle span {
    display: block;
    font-size: 2.4rem;
    line-height: 1.2;
  }

  .contact__lineText {
    margin-top: 1.25rem;
    font-size: .9rem;
    line-height: 1.9;
  }

  .contact__lineGuide {
    display: block;
    margin-top: 1.75rem;
    font-size: .95rem;
    line-height: 1.8;
  }

  .contact__lineGuide::before,
  .contact__lineGuide::after {
    display: none;
  }

  .contact__lineGuide span {
    display: block;
    font-size: .8rem;
  }

  .contact__lineBtn {
    min-height: 82px;
    margin-top: 1.5rem;
    padding: 1rem 3rem 1rem 1rem;
    border-radius: 10px;
  }

  .contact__lineIcon {
    width: 54px;
    height: 54px;
    margin-right: .75rem;
    font-size: .8rem;
  }

  .contact__lineBtnText {
    font-size: 1rem;
    line-height: 1.5;
  }

  .contact__lineArrow {
    right: 1.25rem;
    font-size: 1.75rem;
  }

  .contact__lineForm {
    margin-top: 1.75rem;
    font-size: .8rem;
    line-height: 1.8;
    text-align: left;
  }

  .contact__lineMail {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .contact__lineScroll {
    margin-top: 1rem;
  }
}

/* =========================
2026 MEMORIAL PHOTO
========================= */

.kanayama__memorial {
  width: 100%;
  margin-top: 7rem;
  padding: 7rem 2rem;
  box-sizing: border-box;
  background: #f7f7f5;
}

.kanayama__memorialInner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}


/* HEAD */

.kanayama__memorialHead {
  margin-bottom: 3rem;
  text-align: center;
}

.kanayama__memorialEn {
  margin: 0;
  color: #9a7a32;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.kanayama__memorialTitle {
  margin: .75rem 0 0;
  color: #1f292d;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
}

.kanayama__memorialLine {
  display: block;
  width: 45px;
  height: 1px;
  margin: 1.5rem auto;
  background: #9a7a32;
}

.kanayama__memorialLead {
  margin: 0;
  color: #555;
  font-size: .95rem;
  font-weight: 500;
  line-height: 2;
}


/* THUMBNAIL */

.kanayama__memorialGallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.kanayama__memorialItem {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #ddd;
  cursor: pointer;
}

.kanayama__memorialItem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background .3s ease;
}

.kanayama__memorialItem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

@media (hover: hover) {

  .kanayama__memorialItem:hover::after {
    background: rgba(0, 0, 0, .12);
  }

  .kanayama__memorialItem:hover img {
    transform: scale(1.04);
  }

}

.kanayama__memorialTap {
  margin: 1.25rem 0 0;
  color: #777;
  font-size: .75rem;
  letter-spacing: .03em;
  text-align: center;
}


/* END */

.kanayama__memorialEnd {
  margin-top: 4rem;
  text-align: center;
}

.kanayama__memorialEnd::before {
  content: "";
  display: block;
  width: 1px;
  height: 45px;
  margin: 0 auto 1.75rem;
  background: #9a7a32;
}

.kanayama__memorialEndEn {
  margin: 0;
  color: #9a7a32;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.kanayama__memorialEndText {
  margin: .75rem 0 0;
  color: #1f292d;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.8;
}


/* =========================
MEMORIAL MODAL
========================= */

.kanayama__memorialModal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  background: rgba(0, 0, 0, .9);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity .3s ease,
    visibility .3s ease;
}

.kanayama__memorialModal.is-open {
  opacity: 1;
  visibility: visible;
}

.kanayama__memorialModalInner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1200px, 100%);
  height: min(85vh, 850px);
}


/* IMAGE */

.kanayama__memorialSlide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 160px);
  height: 100%;
}

.kanayama__memorialModalImg {
  display: block;
  max-width: 100%;
  max-height: calc(100% - 40px);
  width: auto;
  height: auto;
  object-fit: contain;
}


/* COUNT */

.kanayama__memorialCount {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin: 0;
  color: #fff;
  font-size: .8rem;
  letter-spacing: .15em;
  transform: translateX(-50%);
}


/* PREV / NEXT */

/* PREV / NEXT */

.kanayama__memorialPrev,
.kanayama__memorialNext {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background .3s ease,
    border-color .3s ease;
}

.kanayama__memorialPrev {
  left: 0;
}

.kanayama__memorialNext {
  right: 0;
}


/* 矢印 */

.kanayama__memorialPrev::before,
.kanayama__memorialNext::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.kanayama__memorialPrev::before {
  left: 52%;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.kanayama__memorialNext::before {
  left: 48%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.kanayama__memorialPrev:hover,
.kanayama__memorialNext:hover {
  background: #fff;
  border-color: #fff;
}

.kanayama__memorialPrev:hover::before,
.kanayama__memorialNext:hover::before {
  border-color: #222;
}


/* CLOSE */

.kanayama__memorialClose {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.kanayama__memorialClose span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 1px;
  background: #fff;
}

.kanayama__memorialClose span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.kanayama__memorialClose span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}


/* Modal表示中の背景スクロール停止 */

body.is-memorial-open {
  overflow: hidden;
}


/* =========================
2026 MEMORIAL PHOTO / TABLET
========================= */

@media screen and (max-width: 900px) {

  .kanayama__memorial {
    padding: 5rem 1.5rem;
  }

  .kanayama__memorialGallery {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* =========================
2026 MEMORIAL PHOTO / SP
========================= */

@media screen and (max-width: 580px) {

  .kanayama__memorial {
    padding: 4rem 1rem;
  }

  .kanayama__memorialHead {
    margin-bottom: 2.5rem;
  }

  .kanayama__memorialEn {
    font-size: .7rem;
    letter-spacing: .18em;
  }

  .kanayama__memorialTitle {
    margin-top: .5rem;
    font-size: 1.75rem;
  }

  .kanayama__memorialLine {
    width: 35px;
    margin: 1.25rem auto;
  }

  .kanayama__memorialLead {
    font-size: .85rem;
    line-height: 1.9;
  }

  .kanayama__memorialLead br {
    display: none;
  }

  .kanayama__memorialGallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .kanayama__memorialTap {
    margin-top: 1rem;
    font-size: .7rem;
  }

  .kanayama__memorialEnd {
    margin-top: 3rem;
  }

  .kanayama__memorialEndText {
    font-size: 1rem;
  }


  /* MODAL */

  .kanayama__memorialModal {
    padding: 1rem;
  }

  .kanayama__memorialModalInner {
    width: 100%;
    height: 80vh;
  }

  .kanayama__memorialSlide {
    width: 100%;
    height: 100%;
    padding: 50px 0;
  }

  .kanayama__memorialModalImg {
    max-height: 100%;
  }

  .kanayama__memorialPrev,
  .kanayama__memorialNext {
    top: auto;
    bottom: 12px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, .35);
    transform: none;
  }

  .kanayama__memorialPrev {
    left: calc(50% - 72px);
  }

  .kanayama__memorialNext {
    right: calc(50% - 72px);
  }

  .kanayama__memorialCount {
    bottom: 68px;
  }

}