@charset "UTF-8";
/*!
global > color
------------------------------
*/
:root {
  --color-font-base: #1A1A1A;
  --color-white: #F5F0E8;
  --color-primary: #8B1A1A;
  --color-primary-dark: #3D0C0C;
  --color-secondary:
    #C9A84C;
  --color-gray: #2A2A2A;
  --color-gray-light: #EAE5E0;
  --color-black: #0D0D0D;
  --color-bg-kv-gradient: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
}

/*!
global > content-width
------------------------------
*/
:root {
  /* デフォルトのデザイン幅 */
  --width-content: 1016rem;
  /* PCの基本デバイス幅（aspect-ratio用） */
  --width-content-pc: 1366;
  /* SPの基本デバイス幅（aspect-ratio用） */
  --width-content-sp: 375;
}

/*!
global > font
------------------------------
*/
:root {
  --font-family-base: "Shippori Mincho", serif;
  --font-family-en: "Cormorant Garamond", serif;
}

/*!
global > z-index
------------------------------
*/
:root {
  --z-index-header: 30;
  --z-index-default: 1;
  --z-index-negative: -1;
  --z-index-cursor: 100;
}

/*!
foundation > reset
------------------------------
*/
html {
  color: #000;
  background: #fff;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

fieldset,
img {
  border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

q:before,
q:after {
  content: "";
}

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

input,
textarea,
select,
button {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  font-size: 100%;
  border-radius: 0;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  background-color: inherit;
}

textarea {
  resize: vertical;
  display: block;
}

select {
  cursor: pointer;
}

button {
  padding: 0;
  cursor: pointer;
}

legend {
  color: inherit;
}

tbody {
  -webkit-text-size-adjust: 100%;
}

main {
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
svg {
  width: 100%;
  height: auto;
  display: block;
}

dialog {
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  color: inherit;
  border: none;
}

iframe {
  vertical-align: bottom;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

/*!
foundation > base
------------------------------
*/
:root {
  --base-vw: 375;
}
@media screen and (min-width: 768px) {
  :root {
    --base-vw: 1366;
  }
}

html {
  font-size: calc(100vw / var(--base-vw));
  --font-size: calc(100vw / var(--base-vw));
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--font-size) * 56);
}
@media screen and (min-width: 768px) {
  html {
    scroll-padding-top: calc(var(--font-size) * 80);
  }
}
@media screen and (min-width: 1366px) {
  html {
    font-size: 1px;
    --font-size: 1px;
  }
}

body {
  font-size: 14rem;
  color: var(--color-font-base);
  font-family: var(--font-family-base);
  line-height: 2;
  letter-spacing: 0.02em;
  font-weight: 100;
}
@media screen and (min-width: 768px) {
  body {
    font-size: 16rem;
  }
}

/*!
utility > utility
------------------------------
*/
:root {
  --section-mtb: 120rem;
}
@media screen and (min-width: 768px) {
  :root {
    --section-mtb: 160rem;
  }
}

.u-visually-hidden {
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  border: 0 !important;
  padding: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  margin: -1px !important;
}

.u-text-block {
  display: block;
}

.u-text-block-sp {
  display: block;
}
@media screen and (min-width: 768px) {
  .u-text-block-sp {
    display: inline;
  }
}

.u-text-block-pc {
  display: inline;
}
@media screen and (min-width: 768px) {
  .u-text-block-pc {
    display: block;
  }
}

.u-mtb {
  margin-block: var(--section-mtb);
}

/*!
component > button
------------------------------
*/
.c-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 17rem;
  padding: 15rem 24rem;
  width: 100%;
  max-width: 256rem;
  background-color: var(--color-primary);
  box-shadow: 0rem 2rem 4rem 0 rgba(24, 40, 72, 0.46);
  font-size: 14rem;
  line-height: 1;
  letter-spacing: normal;
  color: var(--color-white);
  transition: filter 0.3s ease-in-out;
}
@media screen and (min-width: 768px) {
  .c-button {
    font-size: 16rem;
    padding: 24rem;
  }
}
.c-button::after {
  content: "";
  display: inline-block;
  width: 16.3rem;
  height: 3.9rem;
  background-image: url("../img/icon_arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: translate 0.3s ease-in-out;
}
@media (any-hover: hover) {
  .c-button:hover {
    filter: brightness(1.2);
  }
  .c-button:hover::after {
    translate: 8rem 0;
  }
}

.c-button--gap-small {
  gap: 10rem;
}

.c-button--contact-build,
.c-button--contact-special {
  justify-content: space-between;
  max-width: none;
  padding: 17rem 24rem;
}
@media screen and (min-width: 768px) {
  .c-button--contact-build,
  .c-button--contact-special {
    max-width: 320rem;
    justify-content: center;
    padding: 27rem;
  }
}
.c-button--contact-build::before,
.c-button--contact-special::before {
  content: "";
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.c-button--contact-build {
  background-color: var(--color-secondary);
}
.c-button--contact-build::before {
  background-image: url("../img/icon_backhoe.svg");
  width: 16rem;
  height: 11.7rem;
}
@media screen and (min-width: 768px) {
  .c-button--contact-build::before {
    width: 24rem;
    height: 17.6rem;
  }
}

.c-button--contact-special {
  background-color: var(--color-black);
}
.c-button--contact-special::before {
  background-image: url("../img/icon_factory.svg");
  width: 14rem;
  height: 12rem;
}
@media screen and (min-width: 768px) {
  .c-button--contact-special::before {
    width: 20rem;
    height: 16.7rem;
  }
}

/*!
component > title
------------------------------
*/
.c-title {
  display: flex;
  gap: 9.1rem;
}
@media screen and (min-width: 768px) {
  .c-title {
    gap: 9.3rem;
  }
}

.c-title-en {
  font-family: var(--font-family-en);
  font-size: 32rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: normal;
  color: var(--color-font-base);
}
@media screen and (min-width: 768px) {
  .c-title-en {
    font-size: 48rem;
  }
}

.c-title-ja {
  font-size: 20rem;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: normal;
  display: inline-flex;
  align-items: center;
  gap: 7.7rem;
  margin-top: 6rem;
}
@media screen and (min-width: 768px) {
  .c-title-ja {
    font-size: 24rem;
    margin-top: 12rem;
  }
}
.c-title-ja::before {
  content: "";
  display: inline-block;
  width: 15.2rem;
  height: 18rem;
  background: linear-gradient(-50deg, transparent 48%, currentColor 50%, transparent 52%);
}
@media screen and (min-width: 768px) {
  .c-title-ja::before {
    width: 20.3rem;
    height: 24.2rem;
  }
}

.c-title--contact .c-title-en,
.c-title--contact .c-title-ja {
  color: var(--color-white);
}

/*!
component > cursor
------------------------------
*/
.c-cursor {
  display: grid;
  place-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 80rem;
  margin: 0;
  aspect-ratio: 1;
  background: var(--color-secondary);
  border-radius: 50%;
  opacity: 1;
  transition: transform 0.1s, scale 0.1s;
  cursor: pointer;
  pointer-events: none;
  z-index: var(--z-index-cursor);
  mix-blend-mode: multiply;
}

/*!
layout > container
------------------------------
*/
.l-container {
  width: min(89.33%, var(--width-content));
  margin-inline: auto;
}

/*!
layout > header
------------------------------
*/
.l-header {
  height: 56rem;
  width: 100%;
  padding-inline: 20rem;
  background: var(--color-bg-kv-gradient);
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z-index-header);
}
@media screen and (min-width: 768px) {
  .l-header {
    height: 80rem;
    padding-inline: 40rem;
  }
}

.l-header-logo-black {
  display: none;
}

.l-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .l-header-inner {
    justify-content: flex-start;
    gap: 25rem;
  }
}
@media screen and (min-width: 1366px) {
  .l-header-inner {
    width: calc(var(--width-content-pc) * 1rem);
    margin-inline: auto;
  }
}

.l-header-logo {
  width: 120rem;
}
@media screen and (min-width: 768px) {
  .l-header-logo {
    width: 136rem;
    aspect-ratio: 136/29;
  }
}
.l-header-logo img {
  object-fit: cover;
}
.l-header-logo .l-header-logo-white {
  display: block;
}
.l-header-logo .l-header-logo-black {
  display: none;
}

.l-header-menu {
  background-color: var(--color-primary);
  width: 100%;
  height: 100vh;
}
@media screen and (min-width: 768px) {
  .l-header-menu {
    display: block;
    background-color: transparent;
    width: fit-content;
    height: auto;
    margin: 0;
    position: static;
  }
}

.l-header-menu-head {
  width: 100%;
  height: 56rem;
  padding-inline: 20rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .l-header-menu-head {
    display: none;
  }
}

.l-header-menu-close-button {
  width: 20rem;
  height: 20rem;
  mask-image: url(../img/icon_cross.svg);
  mask-size: cover;
  mask-position: center;
  mask-repeat: no-repeat;
  background-color: var(--color-white);
}
@media screen and (min-width: 768px) {
  .l-header-menu-close-button {
    display: none;
  }
}

.l-header-menu-nav {
  margin-top: 79rem;
}
@media screen and (min-width: 768px) {
  .l-header-menu-nav {
    margin-top: 0;
  }
}

.l-header-menu-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40rem;
}
@media screen and (min-width: 768px) {
  .l-header-menu-list {
    flex-direction: row;
    gap: 10rem;
  }
}

.l-header-menu-item {
  color: var(--color-white);
}
.l-header-menu-item a {
  display: grid;
  gap: 7rem;
  justify-content: center;
  text-align: center;
  transition: color 0.15s ease-in-out;
}
@media screen and (min-width: 768px) {
  .l-header-menu-item a {
    gap: 5rem;
  }
}
@media (any-hover: hover) {
  .l-header-menu-item a:hover {
    color: var(--color-black);
  }
}
@media screen and (min-width: 768px) {
  .l-header-menu-item {
    display: flex;
    align-items: center;
    gap: 7rem;
  }
  .l-header-menu-item:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 20.3rem;
    height: 24.2rem;
    background: linear-gradient(-50deg, transparent 48%, currentColor 50%, transparent 52%);
  }
}

.l-header-menu-text-ja {
  font-size: 20rem;
  line-height: 1;
  letter-spacing: normal;
}
@media screen and (min-width: 768px) {
  .l-header-menu-text-ja {
    font-size: 16rem;
  }
}

.l-header-menu-text-en {
  font-family: var(--font-family-en);
  font-size: 14rem;
  line-height: 1;
  letter-spacing: normal;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .l-header-menu-text-en {
    font-size: 10rem;
  }
}

.l-header-menu-open-button {
  width: 20rem;
  height: 16rem;
  mask-image: url(../img/icon_menu_white.svg);
  mask-size: cover;
  mask-position: center;
  mask-repeat: no-repeat;
  background-color: var(--color-white);
}
@media screen and (min-width: 768px) {
  .l-header-menu-open-button {
    display: none;
  }
}

.l-header-menu-close-button {
  width: 20rem;
  height: 20rem;
  mask-image: url("../img/icon_cross.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  background-color: var(--color-white);
}

/* scroll後のヘッダー */
.l-header--scroll {
  position: fixed;
  top: 0;
  left: 0;
  background: color-mix(in srgb, var(--color-white) 80%, transparent);
}
.l-header--scroll .l-header-logo .l-header-logo-white {
  display: none;
}
.l-header--scroll .l-header-logo .l-header-logo-black {
  display: block;
}
.l-header--scroll .l-header-menu-open-button {
  background-color: var(--color-black);
}
@media screen and (min-width: 768px) {
  .l-header--scroll .l-header-menu-item {
    color: var(--color-black);
  }
  .l-header--scroll .l-header-menu-item a {
    background: transparent;
    color: var(--color-black);
    transition: color 0.15s ease-in-out;
  }
  .l-header--scroll .l-header-menu-item a.is-active {
    color: var(--color-secondary);
  }
}
@media screen and (min-width: 768px) and (any-hover: hover) {
  .l-header--scroll .l-header-menu-item a:hover {
    color: var(--color-secondary);
  }
}

/*!
layout > footer
------------------------------
*/
.l-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  font-size: 14rem;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .l-footer {
    font-size: 16rem;
  }
}

.l-footer-inner {
  padding: 36rem 0 38rem 20rem;
  display: flex;
  flex-direction: column;
  gap: 80rem;
}
@media screen and (min-width: 768px) {
  .l-footer-inner {
    padding: 82rem 0 116rem;
    max-width: var(--width-content);
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-inline: auto;
  }
}

.l-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 64rem;
}
@media screen and (min-width: 768px) {
  .l-footer-nav {
    flex-direction: row;
    gap: 80rem;
  }
}

.l-footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 24rem;
}
@media screen and (min-width: 768px) {
  .l-footer-nav-list {
    writing-mode: vertical-lr;
    gap: 21rem;
    margin-top: 98rem;
    letter-spacing: 0.2em;
  }
}

@media screen and (min-width: 768px) {
  .l-footer-nav-item a {
    background-image: linear-gradient(var(--color-white), var(--color-white));
    background-repeat: no-repeat;
    background-position: bottom right;
    /* 下線の初期位置 */
    background-size: 1rem 0;
    /* 下線のサイズ（横幅、高さ） */
    transition: background-size 0.3s;
  }
}
@media (any-hover: hover) {
  .l-footer-nav-item a:hover {
    background-position: top right;
    /* 下線のホバー時位置 */
    background-size: 1rem 100%;
    /* 下線の横幅を100%にする */
  }
}

.l-footer-info-logo {
  width: 160rem;
}
@media screen and (min-width: 768px) {
  .l-footer-info-logo {
    width: 272rem;
  }
}
.l-footer-info-logo img {
  object-fit: cover;
}

.l-footer-info-text {
  margin-top: 22rem;
  display: flex;
  flex-direction: column;
  gap: 16rem;
}
@media screen and (min-width: 768px) {
  .l-footer-info-text {
    margin-top: 36rem;
    gap: 22rem;
  }
}

@media screen and (min-width: 768px) {
  .l-footer-info-text-address {
    display: flex;
    flex-direction: column;
    gap: 22rem;
  }
}

.l-footer-copyright {
  padding-block: 15rem;
  background-color: var(--color-black);
}
@media screen and (min-width: 768px) {
  .l-footer-copyright {
    padding-block: 24rem;
  }
}
.l-footer-copyright small {
  font-size: 10rem;
  line-height: 1;
  letter-spacing: normal;
}
@media screen and (min-width: 768px) {
  .l-footer-copyright small {
    font-size: 12rem;
  }
}

/*!
page > top > top-kv
------------------------------
*/
.top-kv {
  background: var(--color-bg-kv-gradient);
  height: 611rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .top-kv {
    height: max(100vh, 720rem);
  }
}
.top-kv::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 0% 57%, 50% 0);
  background: var(--color-bg-kv-gradient);
  z-index: var(--z-index-default);
}
@media screen and (min-width: 768px) {
  .top-kv::before {
    clip-path: polygon(0 0, 0% 100%, 40% 0);
  }
}

.top-kv-slider {
  width: 100%;
  height: 100%;
}
.top-kv-slider .splide__track {
  height: 100%;
}
.top-kv-slider .splide__list {
  height: 100%;
}
.top-kv-slider .splide__slide {
  height: 100%;
}
.top-kv-slider li {
  height: 100%;
}

.top-kv-item {
  width: 100%;
  height: 100%;
  position: relative;
}
.top-kv-item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.top-kv-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.splide__slide:nth-child(3) .top-kv-item img {
  object-position: 65% 50%;
}

.top-kv-content {
  position: absolute;
  top: 100rem;
  left: 0;
  right: 0;
  z-index: var(--z-index-default);
}
@media screen and (min-width: 768px) {
  .top-kv-content {
    top: 50%;
    transform: translateY(-50%);
  }
}

.top-kv-copy-en {
  font-family: var(--font-family-en);
  font-size: 48rem;
  line-height: 1.21;
  letter-spacing: 0.02em;
  font-weight: 900;
  color: var(--color-white);
  text-shadow: 4.2rem 4.2rem 4rem rgba(24, 40, 72, 0.5);
}
@media screen and (min-width: 768px) {
  .top-kv-copy-en {
    font-size: 96rem;
    line-height: 1.17;
  }
}

.top-kv-copy-ja {
  margin-top: 21rem;
  font-size: 19.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: normal;
  color: var(--color-primary-dark);
  display: inline-grid;
  gap: 14rem;
}
@media screen and (min-width: 768px) {
  .top-kv-copy-ja {
    font-size: 32rem;
  }
}
.top-kv-copy-ja span {
  --padding-x: 32rem;
  position: relative;
  width: fit-content;
  padding: 8rem calc(var(--padding-x) / 2);
  translate: calc(var(--padding-x) / 3) 0;
}
@media screen and (min-width: 768px) {
  .top-kv-copy-ja span {
    --padding-x: 52rem;
    padding: 16rem calc(var(--padding-x) / 2);
    translate: calc(var(--padding-x) / 2) 0;
  }
}
.top-kv-copy-ja span::before, .top-kv-copy-ja span::after {
  content: "";
  position: absolute;
  z-index: var(--z-index-negative);
  display: block;
  inset: 0;
  transform-origin: center;
  transform: skewX(-27deg);
}
@media screen and (min-width: 768px) {
  .top-kv-copy-ja span::before, .top-kv-copy-ja span::after {
    transform: skewX(-40deg);
  }
}
.top-kv-copy-ja span::before {
  background-color: var(--color-primary-dark);
  translate: 2rem 2rem;
}
@media screen and (min-width: 768px) {
  .top-kv-copy-ja span::before {
    translate: 4rem 4rem;
  }
}
.top-kv-copy-ja span::after {
  background-color: var(--color-white);
}

.top-news {
  position: absolute;
  bottom: 26rem;
  left: 0;
  right: 0;
  display: grid;
}
@media screen and (min-width: 768px) {
  .top-news {
    --grid-height: 64rem;
    grid-template-columns: calc(180rem - var(--grid-height) / 2) 1fr calc(125rem - var(--grid-height) / 2);
    height: var(--grid-height);
    align-items: center;
    background-color: var(--color-primary-dark);
    bottom: 16rem;
  }
  .top-news::after {
    grid-column: 3/4;
    content: "";
    display: block;
    width: 16.3rem;
    height: 3.9rem;
    background-image: url("../img/icon_arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 31.2rem;
  }
}

.top-news-heading {
  padding: 4rem 13rem;
  background-color: var(--color-primary-dark);
  font-size: 14rem;
  line-height: 1;
  letter-spacing: normal;
  color: var(--color-white);
  position: relative;
  width: fit-content;
}
@media screen and (min-width: 768px) {
  .top-news-heading {
    width: 100%;
    padding: 0 0 0 41rem;
    font-size: 16rem;
  }
}
.top-news-heading::after {
  content: "";
  width: 9rem;
  height: 100%;
  position: absolute;
  top: 0;
  right: -9rem;
  background-color: var(--color-primary-dark);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.top-news-item a {
  display: flex;
  align-items: center;
  padding: 13rem 8rem;
  border: 1rem solid var(--color-primary-dark);
  background-color: var(--color-white);
  gap: 8rem;
}
@media screen and (min-width: 768px) {
  .top-news-item a {
    padding: 16rem 53rem;
    gap: 24rem;
    border: none;
    position: relative;
    background-color: transparent;
    z-index: var(--z-index-default);
  }
  .top-news-item a::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background-color: var(--color-white);
    z-index: var(--z-index-negative);
    transform: skewX(-40deg);
  }
}
@media (any-hover: hover) {
  .top-news-item:hover .top-news-item-date,
  .top-news-item:hover .top-news-item-title {
    color: var(--color-primary);
  }
}

.top-news-item-meta {
  display: flex;
  align-items: center;
  gap: 5rem;
  flex-shrink: 0;
}
@media screen and (min-width: 768px) {
  .top-news-item-meta {
    gap: 24rem;
  }
}

.top-news-item-date,
.top-news-item-title {
  font-size: 14rem;
  letter-spacing: normal;
  transition: color 0.3s ease;
}
@media screen and (min-width: 768px) {
  .top-news-item-date,
  .top-news-item-title {
    font-size: 16rem;
  }
}

.top-news-item-label {
  font-size: 12rem;
  line-height: 1;
  letter-spacing: normal;
  color: var(--color-white);
  background-color: var(--color-secondary);
  padding: 4rem 9rem;
  border-radius: 8rem;
}
@media screen and (min-width: 768px) {
  .top-news-item-label {
    padding: 8rem 16rem;
    border-radius: 8rem;
  }
}

.top-news-item-date {
  line-height: 0.71;
}

.top-news-item-title {
  line-height: 1;
}

/*!
page > top > top-prayer
------------------------------
*/
.top-prayer {
  position: relative;
  --prayer-image-height: 248rem;
}
@media screen and (min-width: 768px) {
  .top-prayer {
    --prayer-image-height: 440rem;
  }
}
.top-prayer {
  /* グレーの背景 */
}
.top-prayer::before, .top-prayer::after {
  --prayer-bg-height: 468rem;
  --prayer-bg-width: 305rem;
  --prayer-bg-cut: 86rem;
  --prayer-bg-after-height: 134rem;
  --prayer-bg-after-width: 63rem;
  --prayer-bg-after-offset: 334rem;
}
@media screen and (min-width: 768px) {
  .top-prayer::before, .top-prayer::after {
    --prayer-bg-height: 435rem;
    --prayer-bg-width: 1190rem;
    --prayer-bg-cut: 820rem;
    --prayer-bg-after-height: 203rem;
    --prayer-bg-after-width: 175rem;
    --prayer-bg-after-offset: 232rem;
  }
}
.top-prayer::before, .top-prayer::after {
  content: "";
  position: absolute;
  z-index: var(--z-index-negative);
  background-color: var(--color-gray-light);
}
.top-prayer::before {
  content: "";
  top: var(--prayer-image-height);
  left: 0;
  width: var(--prayer-bg-width);
  height: var(--prayer-bg-height);
  clip-path: polygon(0 0, 100% 0, var(--prayer-bg-cut) 100%, 0 100%);
}
@media screen and (min-width: 768px) {
  .top-prayer::before {
    top: 0;
  }
}
.top-prayer::after {
  content: "";
  bottom: 0;
  right: 0;
  width: var(--prayer-bg-after-width);
  height: var(--prayer-bg-after-height);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
@media screen and (min-width: 768px) {
  .top-prayer::after {
    top: var(--prayer-bg-after-offset);
  }
}

@media screen and (min-width: 768px) {
  .top-prayer-container {
    width: 1190rem;
    display: grid;
    grid-template-columns: 620rem 1fr;
    grid-template-rows: auto;
    gap: 0 48rem;
  }
}
@media screen and (min-width: 1366px) {
  .top-prayer-container {
    margin-inline: auto;
  }
}

.top-prayer-image {
  height: var(--prayer-image-height);
}
@media screen and (min-width: 768px) {
  .top-prayer-image {
    grid-column: 1/2;
    grid-row: 1/2;
    height: var(--prayer-image-height);
    margin-top: 40rem;
  }
}
.top-prayer-image img {
  height: 100%;
  object-fit: cover;
}

.top-prayer-content {
  padding: 36rem 20rem 48rem 20rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .top-prayer-content {
    grid-column: 2/3;
    grid-row: 1/2;
    padding: 34rem 0 0;
  }
}

.top-prayer-copy {
  margin-top: 26rem;
  display: flex;
  flex-direction: column;
  gap: 15rem;
  font-size: 24rem;
  line-height: 1;
  letter-spacing: normal;
}
@media screen and (min-width: 768px) {
  .top-prayer-copy {
    margin-top: 30rem;
    font-size: 32rem;
  }
}

.top-prayer-text {
  margin-top: 24rem;
}

.top-prayer-button {
  text-align: center;
  margin-top: 26rem;
}
@media screen and (min-width: 768px) {
  .top-prayer-button {
    text-align: start;
    margin-top: 42rem;
  }
}

/*!
page > top > top-history
------------------------------
*/
.top-history {
  padding-inline: 20rem;
}
@media screen and (min-width: 768px) {
  .top-history {
    padding-inline: 0;
    position: relative;
  }
}

.top-history-image {
  aspect-ratio: 335/248;
}
@media screen and (min-width: 768px) {
  .top-history-image {
    aspect-ratio: 0/0;
    position: relative;
    height: 656rem;
  }
}
.top-history-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.top-history-content {
  margin-top: 36rem;
}
@media screen and (min-width: 768px) {
  .top-history-content {
    position: absolute;
    top: 40rem;
    right: 50%;
    margin-top: 0;
    z-index: var(--z-index-default);
    background-color: var(--color-white);
    padding: 42rem 48rem 48rem;
    width: 550rem;
  }
}

.top-history-text {
  margin-top: 20rem;
}
@media screen and (min-width: 768px) {
  .top-history-text {
    margin-top: 24rem;
  }
}

.top-history-button {
  margin-top: 28rem;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .top-history-button {
    margin-top: 38rem;
    text-align: start;
  }
}

.top-history-content-image {
  display: none;
}
@media screen and (min-width: 768px) {
  .top-history-content-image {
    display: block;
    margin-top: 32rem;
    aspect-ratio: 408/120;
  }
  .top-history-content-image img {
    height: 100%;
    object-fit: cover;
  }
}

/*!
page > top > top-treasures
------------------------------
*/
.top-treasures {
  padding: 26rem 0 34rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .top-treasures {
    padding: 0;
  }
}
.top-treasures::before, .top-treasures::after {
  content: "";
  position: absolute;
  z-index: var(--z-index-negative);
  width: 104rem;
  height: 222rem;
  background-color: var(--color-gray);
}
@media screen and (min-width: 768px) {
  .top-treasures::before, .top-treasures::after {
    width: 350rem;
    height: 408rem;
  }
}
.top-treasures::before {
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 0 100%, 100% 0);
}
@media screen and (min-width: 768px) {
  .top-treasures::before {
    left: auto;
    right: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
  }
}
.top-treasures::after {
  bottom: 0;
  right: 0;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
@media screen and (min-width: 768px) {
  .top-treasures::after {
    right: auto;
    left: 0;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
  }
}

@media screen and (min-width: 768px) {
  .top-treasures-heading {
    text-align: center;
  }
}

@media screen and (min-width: 768px) {
  .top-treasures-heading-title {
    display: flex;
    justify-content: center;
    margin-top: -6rem;
  }
}
.top-treasures-heading-title .c-title-en {
  mix-blend-mode: difference;
  color: var(--color-white);
}
@media screen and (min-width: 768px) {
  .top-treasures-heading-title .c-title-en {
    mix-blend-mode: normal;
    color: var(--color-font-base);
  }
}

.top-treasures-copy {
  display: flex;
  flex-direction: column;
  gap: 12rem;
  margin-top: 26rem;
  font-size: 24rem;
  line-height: 1;
  letter-spacing: normal;
  mix-blend-mode: difference;
  color: var(--color-white);
}
@media screen and (min-width: 768px) {
  .top-treasures-copy {
    flex-direction: row;
    gap: 0;
    justify-content: center;
    margin-top: 30rem;
    font-size: 32rem;
    mix-blend-mode: normal;
    color: var(--color-font-base);
  }
}

.top-treasures-text {
  margin-top: 24rem;
}
@media screen and (min-width: 768px) {
  .top-treasures-text {
    margin-top: 32rem;
  }
}

.top-treasures-list {
  margin-top: 34rem;
  display: grid;
  gap: 32rem;
  counter-reset: treasures-item-counter;
}
@media screen and (min-width: 768px) {
  .top-treasures-list {
    margin-top: 50rem;
    grid-template-columns: repeat(2, 472rem);
    grid-template-rows: auto auto auto;
    gap: 0 40rem;
    width: var(--width-content);
    margin-inline: auto;
    translate: 24rem 0;
  }
}

.top-treasures-item {
  counter-increment: treasures-item-counter;
}
@media screen and (min-width: 768px) {
  .top-treasures-item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    box-shadow: 0 0 10px 0 rgba(25, 25, 25, 0.25);
  }
}

.top-treasures-item-article {
  position: relative;
}
@media screen and (min-width: 768px) {
  .top-treasures-item-article {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
  }
}
.top-treasures-item-article {
  /* ラベル番号のスタイル */
}
.top-treasures-item-article::before {
  content: counter(treasures-item-counter, decimal-leading-zero);
  position: absolute;
  top: 120rem;
  left: 0;
  z-index: var(--z-index-default);
  width: 64rem;
  height: 40rem;
  display: grid;
  place-items: center;
  background-color: var(--color-primary-dark);
  font-family: var(--font-family-en);
  font-size: 20rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: normal;
  color: var(--color-white);
}
@media screen and (min-width: 768px) {
  .top-treasures-item-article::before {
    width: 56rem;
    height: 56rem;
    top: -16rem;
    left: -16rem;
    font-size: 24rem;
  }
}
@media screen and (min-width: 768px) {
  .top-treasures-item-article a {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
  }
}
@media (any-hover: hover) {
  .top-treasures-item-article a:hover .top-treasures-item-image img {
    scale: 1.05;
  }
}

.top-treasures-item-image {
  aspect-ratio: var(--width-content-sp)/160;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .top-treasures-item-image {
    aspect-ratio: 472/240;
  }
}
.top-treasures-item-image img {
  height: 100%;
  object-fit: cover;
  transition: scale 0.3s ease;
}

.top-treasures-item-content {
  padding: 22rem 20rem 0;
  background-color: transparent;
}
@media screen and (min-width: 768px) {
  .top-treasures-item-content {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    gap: 20rem;
    padding: 30rem 25rem;
    background-color: var(--color-white);
  }
}

.top-treasures-item-title {
  font-size: 20rem;
  line-height: 1;
  letter-spacing: normal;
  color: var(--color-primary);
}
@media screen and (min-width: 768px) {
  .top-treasures-item-title {
    font-size: 24rem;
  }
}

.top-treasures-item-text {
  margin-top: 16rem;
}
@media screen and (min-width: 768px) {
  .top-treasures-item-text {
    margin-top: 0;
    letter-spacing: 0.01em;
  }
}

.top-treasures-button {
  margin-top: 34rem;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .top-treasures-button {
    margin-top: 40rem;
  }
}

/*!
page > top > top-guidance
------------------------------
*/
.top-guidance {
  padding-bottom: 120rem;
}
@media screen and (min-width: 768px) {
  .top-guidance {
    padding: 76rem 0 80rem;
    background-color: var(--color-gray-light);
  }
}

@media screen and (min-width: 768px) {
  .top-guidance-title {
    display: grid;
    place-items: center;
  }
}

.top-guidance-list {
  margin-top: 32rem;
}
@media screen and (min-width: 768px) {
  .top-guidance-list {
    display: grid;
    grid-template-columns: repeat(3, 312rem);
    gap: 36rem;
    width: fit-content;
    margin-top: 50rem;
    margin-inline: auto;
  }
}

@media screen and (min-width: 768px) {
  .top-guidance-item:nth-of-type(1) {
    margin-top: 80rem;
  }
}
@media screen and (min-width: 768px) {
  .top-guidance-item:nth-of-type(2) {
    margin-top: 40rem;
  }
}

.top-guidance-item-article {
  position: relative;
}
@media (any-hover: hover) {
  .top-guidance-item-article a:hover .top-guidance-image img {
    scale: 1.05;
  }
  .top-guidance-item-article a:hover .top-guidance-item-title::after {
    translate: 5rem -5rem;
  }
}

.top-guidance-image {
  overflow: hidden;
  aspect-ratio: var(--width-content-sp)/200;
}
@media screen and (min-width: 768px) {
  .top-guidance-image {
    aspect-ratio: 312/240;
  }
}
.top-guidance-image img {
  height: 100%;
  object-fit: cover;
  transition: scale 0.3s ease-in-out;
}

.top-guidance-item-title {
  display: inline-flex;
  gap: 8rem;
  align-items: baseline;
  font-size: 16rem;
  line-height: 1;
  letter-spacing: normal;
  color: var(--color-white);
  position: absolute;
  bottom: 16rem;
  left: 21rem;
  text-shadow: 1px 1px 1px var(--color-primary-dark);
}
@media screen and (min-width: 768px) {
  .top-guidance-item-title {
    width: 264rem;
    padding: 20rem 15.5rem 20rem 17rem;
    background-color: color-mix(in srgb, var(--color-primary-dark) 100%, transparent 30%);
    left: 56rem;
    bottom: -24rem;
    justify-content: space-between;
    text-shadow: none;
  }
}
.top-guidance-item-title::after {
  content: "";
  display: inline-block;
  width: 16.3rem;
  height: 3.9rem;
  translate: 0 -4rem;
  background-image: url("../img/icon_arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: translate 0.3s ease-in-out;
  filter: drop-shadow(1px 1px 1px var(--color-primary-dark));
}
@media screen and (min-width: 768px) {
  .top-guidance-item-title::after {
    filter: none;
  }
}

.top-guidance-button {
  margin-top: 40rem;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .top-guidance-button {
    margin-top: 64rem;
  }
}

/*!
page > top > top-contact
------------------------------
*/
.top-contact {
  padding-block: 96rem;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.top-contact::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: var(--z-index-negative);
  background-color: color-mix(in srgb, var(--color-black) 20%, transparent);
}
@media screen and (min-width: 768px) {
  .top-contact {
    padding: 78rem 0;
  }
}

.top-contact-bg {
  position: absolute;
  inset: 0;
  z-index: calc(var(--z-index-negative) - 1);
}
.top-contact-bg img {
  width: 100%;
  height: calc(100% + 200px);
  object-fit: cover;
}

.top-contact-title {
  padding-inline: 20rem;
  margin-top: -4rem;
}
@media screen and (min-width: 768px) {
  .top-contact-title {
    display: grid;
    place-items: center;
  }
}

.top-contact-text {
  padding-inline: 20rem 16rem;
  margin-top: 20rem;
  font-size: 16rem;
  color: var(--color-white);
}
@media screen and (min-width: 768px) {
  .top-contact-text {
    margin-top: 24rem;
    text-align: center;
  }
}

.top-contact-title,
.top-contact-text {
  text-shadow: 1px 1px 1px var(--color-gray);
}

.top-contact-button {
  display: flex;
  flex-direction: column;
  gap: 24rem;
  padding-inline: 20rem;
  margin-top: 26rem;
}
@media screen and (min-width: 768px) {
  .top-contact-button {
    flex-direction: row;
    gap: 80rem;
    justify-content: center;
    margin-top: 50rem;
  }
}/*# sourceMappingURL=style.css.map */