:root {
  --color: #9266F2;
  --temple-index-gray: #666666;
  --temple-index-gray-dark: #333333;
  --temple-index-red: #ff0000;
  --temple-index-bg: #f8f8f8;
  --temple-index-text: #333333;
  --temple-index-muted: #666666;
  --temple-index-border: #dddddd;
  --temple-index-white: #FFFFFF;
  --temple-index-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
  --temple-index-radius-lg: 20px;
  --temple-index-radius-md: 10px;
  --temple-index-container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.temple-index {
  margin: 0;
  color: var(--temple-index-text);
  background: var(--temple-index-white);
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  line-height: 1.85;
}

.temple-index a {
  color: inherit;
  text-decoration: none;
}

.temple-index-container {
  width: min(100% - 48px, var(--temple-index-container));
  margin: 0 auto;
}

.temple-index-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

.temple-index-header__inner {
  width: min(100% - 48px, var(--temple-index-container));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.temple-index-header__logo {
  color: var(--temple-index-gray);
  font-size: 18px;
  font-weight: 900;
}

.temple-index-header__text {
  margin: 0;
  color: var(--temple-index-muted);
  font-size: 14px;
}

.temple-index-header__cta,
.temple-index-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.35;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.temple-index-header__cta,
.temple-index-button--primary {
  color: var(--temple-index-white) !important;
  background: var(--color);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.temple-index-button--secondary {
  color: var(--temple-index-gray-dark);
  background: var(--temple-index-white);
  border: 1px solid var(--temple-index-border);
}

.temple-index-button--secondary-dark {
  color: var(--temple-index-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.temple-index-header__cta:hover,
.temple-index-button:hover,
.temple-index-select-card:hover,
.temple-index-service-card:hover {
  transform: translateY(-2px);
}

.temple-index-hero {
  overflow: hidden;
}

.temple-index-hero__fv .title_wrap {
  position: relative;
  text-align: center;
  padding: 100px 20px 40px 20px;
}

.temple-index-hero__fv .title_wrap::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
  content: "";
  background-color: var(--color);
  width: 80px;
  height: 30px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.temple-index-hero__fv .title_wrap .icon {
  margin-bottom: 20px;
}

.temple-index-hero__fv .title_wrap .h1 {
  color: var(--temple-index-text);
  margin: 0;
}

.temple-index-hero__fv .title_wrap .sitename {
  font-size: min(15vw, 88px);
  font-weight: 900;
  line-height: 1.2;
}

.temple-index-hero__fv .title_wrap .copy {
  margin: 10px 0 15px;
  font-size: min(6vw, 32px);
  line-height: 1.6;
}

.temple-index-hero__fv .title_wrap .powered_by {
  font-size: min(3vw, 16px);
  font-weight: 700;
}

.temple-index-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 58px;
  align-items: center;
  padding: 96px 0 86px;
}

.temple-index-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--temple-index-gray-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.temple-index-label::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: var(--color);
}

.temple-index-hero__lead {
  max-width: 660px;
  color: var(--temple-index-text);
  font-size: 17px;
}

.temple-index-hero__lead p {
  margin: 0 0 18px;
}

.temple-index-hero__lead p:last-child {
  margin-bottom: 0;
}

.temple-index-hero__actions,
.temple-index-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.temple-index-hero__panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--temple-index-border);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--temple-index-shadow);
}

.temple-index-hero__mini-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 18px;
  border-radius: var(--temple-index-radius-md);
  background: var(--temple-index-white);
  border: 1px solid var(--temple-index-border);
}

.temple-index-hero__mini-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--temple-index-white);
  background: var(--color);
  font-weight: 900;
}

.temple-index-hero__mini-card p {
  margin: 0;
  color: var(--temple-index-text);
  font-weight: 800;
  line-height: 1.55;
}

.temple-index-section {
  padding: 92px 0;
}

.temple-index-section--tint {
  background: var(--temple-index-bg);
}

.temple-index-section__head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.temple-index-section__head h2,
.temple-index-policy__intro h2,
.temple-index-guide h2,
.temple-index-final-cta h2 {
  margin: 14px 0 14px;
  color: var(--temple-index-text);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.42;
}

.temple-index-section__head p,
.temple-index-policy__intro p,
.temple-index-guide p,
.temple-index-final-cta p {
  color: var(--temple-index-text);
}

.temple-index-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.temple-index-select-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 26px;
  border: 1px solid var(--temple-index-border);
  border-radius: var(--temple-index-radius-lg);
  background: var(--temple-index-white);
  box-shadow: 0 12px 30px rgba(31, 58, 95, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.temple-index-select-card:hover,
.temple-index-service-card:hover {
  box-shadow: 0 22px 48px rgba(31, 58, 95, 0.12);
}

.temple-index-select-card::before {
  content: "";
  width: 42px;
  height: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--color);
}

.temple-index-select-card--emergency::before {
  background: var(--temple-index-red);
}

.temple-index-select-card__label {
  margin: 0 0 10px;
  color: var(--color);
  font-size: 13px;
  font-weight: 700;
}

.temple-index-select-card--emergency .temple-index-select-card__label {
  color: var(--temple-index-red);
}

.temple-index-select-card h3 {
  margin: 0 0 12px;
  color: var(--temple-index-text);
  font-size: 20px;
  line-height: 1.45;
}

.temple-index-select-card p {
  color: var(--temple-index-muted);
}

.temple-index-select-card a,
.temple-index-service-card a,
.temple-index-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--color);
  font-weight: 700;
}

.temple-index-select-card--emergency a,
.temple-index-service-card--emergency a {
  color: var(--temple-index-red);
}

.temple-index-select-card a::after,
.temple-index-service-card a::after,
.temple-index-footer a::after {
  content: "→";
}

.temple-index-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.temple-index-service-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--temple-index-border);
  border-radius: 28px;
  background: var(--temple-index-white);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.temple-index-service-card__top {
  padding: 18px 20px;
  border-radius: var(--temple-index-radius-md);
  background: var(--temple-index-bg);
}

.temple-index-service-card__top p {
  margin: 0 0 4px;
  color: var(--color) !important;
  font-size: 13px;
  font-weight: 700;
}

.temple-index-service-card__top h3 {
  margin: 0;
  color: var(--temple-index-text);
  font-size: 23px;
  line-height: 1.45;
}

.temple-index-service-card--emergency .temple-index-service-card__top p {
  color: var(--temple-index-red) !important;
}

.temple-index-service-card h4 {
  margin: 24px 0 0;
  color: var(--temple-index-text);
  font-size: 21px;
  line-height: 1.55;
}

.temple-index-service-card p {
  color: var(--temple-index-muted);
}

.temple-index-service-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 24px;
  padding: 20px;
  list-style: none;
  border-radius: var(--temple-index-radius-md);
  background: var(--temple-index-bg);
}

.temple-index-service-card li {
  position: relative;
  padding-left: 22px;
  color: var(--temple-index-text);
  font-size: 14px;
}

.temple-index-service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color);
}

.temple-index-service-card--emergency li::before {
  background: var(--temple-index-red);	
}

.temple-index-policy {
  color: var(--temple-index-white);
  background: var(--temple-index-gray-dark);
}

.temple-index-policy .temple-index-label,
.temple-index-policy__intro h2,
.temple-index-policy__intro p {
  color: var(--temple-index-white);
}

.temple-index-policy__intro {
  max-width: 780px;
  margin-bottom: 36px;
}

.temple-index-policy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.temple-index-policy__grid article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--temple-index-radius-lg);
  background: rgba(255, 255, 255, 0.08);
}

.temple-index-policy__grid span {
  color: var(--color);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.temple-index-policy__grid h3 {
  margin: 12px 0 10px;
  font-size: 20px;
  line-height: 1.55;
}

.temple-index-policy__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.temple-index-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--temple-index-border);
  border-radius: 30px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--temple-index-bg) 100%);
  box-shadow: var(--temple-index-shadow);
}

.temple-index-guide h2 {
  margin-top: 0;
}

.temple-index-final-cta {
  padding: 86px 0;
  color: var(--temple-index-white);
  text-align: center;
  background: var(--temple-index-gray-dark);
}

.temple-index-final-cta .temple-index-label {
  color: var(--temple-index-white);
}

.temple-index-final-cta h2 {
  color: var(--temple-index-white);
}

.temple-index-final-cta p {
  max-width: 760px;
  margin: 0 auto 12px;
  color: rgba(255, 255, 255, 0.84);
}

.temple-index-final-cta__actions {
  justify-content: center;
}

.temple-index-footer {
  /* padding: 48px 0 28px; */
  padding: 48px 0 60px;
  background: #222222;
  color: rgba(255, 255, 255, 0.78);
}

.temple-index-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding-bottom: 30px;
}

.temple-index-footer__label {
  margin: 0 0 6px;
  color: var(--color);
  font-size: 13px;
  font-weight: 900;
}

.temple-index-footer h2 {
  margin: 0 0 8px;
  color: var(--temple-index-white);
}

.temple-index-footer p {
  margin: 0;
}

.temple-index-footer a {
  color: var(--temple-index-white);
}

.temple-index-footer__copy {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1040px) {
  .temple-index-hero__inner,
  .temple-index-guide {
    grid-template-columns: 1fr;
  }

  .temple-index-select-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .temple-index-policy__grid {
    grid-template-columns: 1fr;
  }

  .temple-index-guide .temple-index-button {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .temple-index-container,
  .temple-index-header__inner {
    width: min(100% - 36px, var(--temple-index-container));
  }

  .temple-index-header__inner {
    min-height: 66px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .temple-index-header__logo {
    font-size: 15px;
  }

  .temple-index-header__text {
    display: none;
  }

  .temple-index-header__cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
  
  .temple-index-hero__fv .title_wrap {
    padding: 60px 20px 40px 20px;
  }
  
  .temple-index-hero__fv .title_wrap::after {
    bottom: 0;
    width: 60px;
    height: 20px;
  }
  
  .temple-index-hero__fv .title_wrap .icon {
    margin-bottom: 10px;
  }
  
  .temple-index-hero__fv .title_wrap .icon img {
    width: 60px;
  }
  
  .temple-index-hero__fv .title_wrap .copy {
    margin-bottom: 5px;
  }


  .temple-index-hero__inner {
    min-height: auto;
    padding: 58px 0 64px;
    gap: 34px;
  }

  .temple-index-hero h1 {
    font-size: 34px;
  }

  .temple-index-hero__lead {
    font-size: 15px;
  }

  .temple-index-hero__actions,
  .temple-index-final-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .temple-index-button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

  .temple-index-hero__panel,
  .temple-index-guide {
    padding: 22px;
    border-radius: 22px;
  }

  .temple-index-section {
    padding: 66px 0;
  }

  .temple-index-section__head {
    margin-bottom: 30px;
    text-align: left;
  }

  .temple-index-section__head h2,
  .temple-index-policy__intro h2,
  .temple-index-guide h2,
  .temple-index-final-cta h2 {
    font-size: 27px;
  }

  .temple-index-select-grid,
  .temple-index-service-grid {
    grid-template-columns: 1fr;
  }

  .temple-index-select-card {
    min-height: auto;
    padding: 24px 22px;
  }

  .temple-index-service-card {
    padding: 24px 22px;
    border-radius: 22px;
  }

  .temple-index-service-card__top {
    padding: 16px;
  }

  .temple-index-service-card__top h3 {
    font-size: 21px;
  }

  .temple-index-policy__grid article {
    padding: 22px;
  }

  .temple-index-final-cta {
    padding: 68px 0;
    text-align: left;
  }

  .temple-index-final-cta p {
    margin-left: 0;
  }

  .temple-index-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) {
  br.pc-only {
    display: inline;
  }
}

@media (max-width: 760px) {
  br.sp-only {
    display: inline;
  }
}


/*--------------------------------------------------*/
/* お問合せフォーム */
/*--------------------------------------------------*/

.temple-index-final-cta {
  position: relative;
  padding-bottom: 100px;
}
.temple-index-final-cta:after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 40px;
  content: "";
  background-color: var(--color);
  width: 80px;
  height: 30px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}