/*
 * 堺北仏光殿 page-specific styles.
 * Load after assets/css/honkan-renewal.css and assets/css/senboku-new.css.
 * Font sizes intentionally inherit from the existing hall pages; the weight
 * settings below match the 泉北仏光殿 page.
 */

/*
 * The standard page template reserves space for the sidebar. This hall page
 * uses the same edge-to-edge layout as the 泉北仏光殿 renewal page.
 */
body.sakaikita_new main,
body.sakaikita-new-template main {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

body.sakaikita_new .sidebar_content,
body.sakaikita-new-template .sidebar_content {
  display: none;
}

body.sakaikita_new .honkan-page,
body.sakaikita-new-template .honkan-page {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.sakaikita-new-template,
.sakaikita-new-template button,
.sakaikita-new-template input,
.sakaikita-new-template select,
.sakaikita-new-template textarea {
  color: #063c71;
  font-weight: 400;
}

.sakaikita-new-template h1,
.sakaikita-new-template h2,
.sakaikita-new-template h3,
.sakaikita-new-template h4,
.sakaikita-new-template strong,
.sakaikita-new-template b {
  font-weight: 700;
}

.sakaikita-hero-subtitle {
  display: block;
  margin-top: 0.08em;
  font-size: 0.5em;
  line-height: 1.35;
}

/* デザインどおり、PCでは会館名とCTAをヒーロー左側へ配置する。 */
@media (min-width: 761px) {
  .senboku-new-template.sakaikita-new-template .honkan-hero::before {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.84) 26%,
      rgba(255, 255, 255, 0.58) 34%,
      rgba(255, 255, 255, 0.2) 42%,
      rgba(255, 255, 255, 0) 48%
    );
  }

  .senboku-new-template.sakaikita-new-template .honkan-hero > .honkan-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .senboku-new-template.sakaikita-new-template .honkan-hero__body {
    width: clamp(440px, 48vw, 620px);
    margin-right: 0;
    margin-left: clamp(24px, 3vw, 48px);
    text-align: center;
    transform: translateY(18px);
  }

  .senboku-new-template.sakaikita-new-template .honkan-hero h1,
  .senboku-new-template.sakaikita-new-template .honkan-hero__copy {
    text-align: center;
  }

  .senboku-new-template.sakaikita-new-template .honkan-hero .honkan-cta-row {
    width: 100%;
    gap: 20px;
  }
}

.senboku-new-template.sakaikita-new-template .honkan-hero__eyebrow {
  display: block !important;
  box-sizing: border-box;
  width: 15.5em !important;
  max-width: calc(100% - 32px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: left !important;
}

.sakaikita-feature-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sakaikita-course-facilities {
  display: grid;
  gap: 18px;
}

.sakaikita-course-facilities .honkan2-facility-group:first-child .honkan2-facility-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sakaikita-course-facilities .honkan2-facility-group:last-child .honkan2-facility-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sakaikita-course-facility span:first-child {
  display: block;
}

.sakaikita-type-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 767px) {
  .sakaikita-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sakaikita-feature-list li:last-child {
    grid-column: 1 / -1;
  }

  .sakaikita-course-facilities .honkan2-facility-group:first-child .honkan2-facility-grid,
  .sakaikita-course-facilities .honkan2-facility-group:last-child .honkan2-facility-grid,
  .sakaikita-type-grid {
    grid-template-columns: 1fr;
  }
}

.senboku-new-template .honkan2-feature-strip .honkan2-feature-list {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  max-width: 1100px !important;
}

@media (max-width: 767px) {
  .senboku-new-template.sakaikita-new-template .honkan-hero::before {
    background: radial-gradient(
      ellipse 66% 42% at 42% 36%,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.5) 46%,
      rgba(255, 255, 255, 0.2) 72%,
      rgba(255, 255, 255, 0) 100%
    ) !important;
  }

  .senboku-new-template.sakaikita-new-template .honkan-hero__image {
    object-position: 72% 25% !important;
  }

  .senboku-new-template.sakaikita-new-template .honkan2-feature-strip .sakaikita-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .senboku-new-template.sakaikita-new-template .sakaikita-feature-list li {
    justify-content: flex-start !important;
    padding-right: 8px;
    padding-left: 16px;
  }

  .senboku-new-template.sakaikita-new-template .sakaikita-feature-list li:nth-child(even) {
    border-right: 0 !important;
  }

  .senboku-new-template.sakaikita-new-template .sakaikita-feature-list li:last-child {
    grid-column: auto !important;
    border-right: 1px solid #a4afc8 !important;
  }
}

.honkan2-area-tags-secondary {
  font-size: 1.7rem !important;
}

.honkan2-area-tags span {
  padding: 10px 2px !important;
}

@media (max-width: 700px) {
.honkan2-area-tags span {
  font-size: 1.4rem !important;
}
}

.senboku-new-template .honkan2-area-tags-secondary {
  font-size: 1.7rem !important;
}

.honkan-voices {
  padding: 28px 45px 34px !important;
}

.senboku-new-template .honkan2-voice p {
  font-size: 1.8rem !important;
}

/* 一日葬の注記を本館と同じ改行・字下げにする。 */
.sakaikita-new-template .honkan-cost-card--course .honkan2-course-note {
  margin:10px 11px 0 !important;
}

.sakaikita-new-template .honkan-cost-card--course .honkan2-course-note__second-line {
  display:inline-block;
  margin-left:13px;
}

/* 堺北仏光殿ヒーロー：本館と同じ大きさ・余白で左側に配置する。 */
@media (min-width:1400px) {
  .senboku-new-template.sakaikita-new-template .honkan-hero > .honkan-container {
    display:flex;
    justify-content:flex-start;
    width:100%;
    max-width:none;
    margin-right:0;
    margin-left:0;
  }

  .senboku-new-template.sakaikita-new-template .honkan-hero__body {
    width:700px;
    margin-right:auto;
    margin-left:clamp(72px, 7.5vw, 132px);
    text-align:center;
    transform:translateY(-60px);
  }

  .senboku-new-template.sakaikita-new-template .honkan-hero__eyebrow {
    font-size:24px;
    line-height:1.5;
  }

  .senboku-new-template.sakaikita-new-template .honkan-hero__body h1 {
    font-size:68px;
    line-height:1.2;
  }

  .senboku-new-template.sakaikita-new-template .honkan-hero__copy {
    box-sizing:border-box;
    width:400px;
    max-width:100%;
    margin-right:auto;
    margin-left:auto;
    font-size:20px;
    line-height:1.75;
    text-align:left;
  }

  .senboku-new-template.sakaikita-new-template .honkan-hero .honkan-cta-row {
    width:560px;
    margin-top:82px;
    margin-right:auto;
    margin-left:auto;
    gap:20px;
  }

  .senboku-new-template.sakaikita-new-template .honkan-hero .honkan-cta {
    flex:1 1 0;
    width:auto;
    min-width:0;
  }
}

@media (max-width: 760px) {
.senboku-new-template.sakaikita-new-template .honkan-hero__eyebrow {
  width: 20.5em !important;
}
}

.honkan-renewal2-template .honkan2-reason-list li {
  padding: 16px 21px !important;
}

.honkan-access__info {
  padding: 28px 17px !important;
}

.honkan-access__item p, .honkan-access__item p a {
  font-size: 1.65rem !important;
}

.honkan2-area-box {
  padding: 42px 20px !important;
}

.honkan-faq-tel {
  display:grid;
  grid-template-columns:auto auto auto;
  align-items:center;
  justify-content:center;
  gap:8px 24px;
  width:100%;
  max-width:640px;
  margin:4px 0 22px;
  padding:16px 22px;
  border:1px solid #174ea6;
  border-radius:10px;
  background:#eef7ff;
  color:#143a87;
  text-decoration:none;
  box-sizing:border-box;
  transition:background-color .2s ease, transform .2s ease;
}

.honkan-faq-tel:hover {
  background:#e1f0ff;
  transform:translateY(-1px);
}

.honkan-faq-tel__label,
.honkan-faq-tel__hours {
  font-size:1.5rem;
  font-weight:600;
  line-height:1.4;
}

.honkan-faq-tel__number {
  position:relative;
  padding-left:30px;
  font-family:Arial, sans-serif;
  font-size:2.8rem;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.04em;
  white-space:nowrap;
}

.honkan-faq-tel__number::before {
  content:"\260E";
  position:absolute;
  top:50%;
  left:0;
  font-size:2.2rem;
  transform:translateY(-50%);
}

.honkan-page a.honkan-faq-tel {
  color:#143a87;
}

@media (max-width:520px) {
  .honkan-faq-tel {
    grid-template-columns:1fr;
    gap:2px;
    margin-bottom:18px;
    padding:14px 16px;
    text-align:center;
  }

  .honkan-faq-tel__number {
    padding-left:26px;
    margin:3px auto;
    font-size:2.5rem;
  }

  .honkan-faq-tel__number::before {
    font-size:1.9rem;
  }

  .honkan-faq-tel__label,
  .honkan-faq-tel__hours {
    font-size:1.3rem;
  }
}
