/* ==== TOP (/index.html) ==== */

/* Hero */
.p-top-hero {
  position: relative;
  min-height: 640px;
  height: 80vh;
  max-height: 900px;
  color: #fff;
  background-color: #1a140f;
  background-image: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.4) 100%), url("../img/top/hero_pc.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-top-hero__inner {
  text-align: center;
  padding: 0 var(--gutter);
}

.p-top-hero__copy {
  font-family: var(--ff-mincho);
  font-weight: 500;
  font-size: 5.6rem;
  line-height: 1.5;
  letter-spacing: .05em;
  color: #fff;
}

@media (max-width: 767px) {
  .p-top-hero {
    background-image: url("../img/top/hero_sp.jpg");
    background-position: bottom;
    min-height: 520px;
  }
  .p-top-hero__copy {
    font-size: 3.6rem;
    letter-spacing: .18em;
  }
}

/* TOP / NEWS */
.p-top-news {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  padding-bottom: var(--section-pad);
}

.p-top-news__inner {
  padding-bottom: 15px;
}

.p-top-news__viewall {
  text-align: right;
  margin-top: 32px;
}

.p-top-news__viewall a {
  font-family: var(--ff-serif-en);
  font-size: 1.6rem;
  color: var(--c-primary);
  padding-bottom: 2px;
  position: relative;
  display: inline-block;
}

.p-top-news__viewall a:hover {
  opacity: 1;
}
.p-news-list__date {
  color: var(--c-text);
}
@media (max-width: 767px) {
  /* .p-top-news__inner padding は c-card--wide で管理 */
  .p-top-news__viewall {
    margin-top: 24px;
  }
  .p-top-news__viewall a {
    font-size: 1.6rem;
  }
}

/* TOP / ABOUT */
.p-top-about {
  background-color: var(--c-bg-section);
  padding: var(--section-pad) var(--gutter);
}

.p-top-about__inner {
  max-width: var(--content-inner-w);
  margin: 0 auto;
}

.p-top-about__block {
  position: relative;
  padding-top: 120px;
  margin-bottom: 75px;
}

.p-top-about__block:last-child {
  margin-bottom: 0;
}

.p-top-about__figure {
  position: absolute;
  top: 0;
  width: 70%;
  height: 360px;
  background-color: #c4b9a7;
  background-size: cover;
  background-position: center;
}

/* Block 1 (reverse): 画像右寄せ */
.p-top-about__block--reverse .p-top-about__figure { right: 0; }
/* Block 2: 画像左寄せ */
.p-top-about__block:not(.p-top-about__block--reverse) .p-top-about__figure { left: 0; }

.p-top-about__block:nth-of-type(1) .p-top-about__figure {
  background-image: url("../img/top/about_characteristics_pc.jpg");
}

.p-top-about__block:nth-of-type(2) .p-top-about__figure {
  background-image: url("../img/top/about_policy_pc.jpg");
}

.p-top-about__card {
  position: relative;
  z-index: 1;
  width: 38%;
  min-width: 340px;
  background-color: #fff;
  padding: 46px 24px 50px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .04);
}

/* Block 1 (reverse): カード左寄せ */
.p-top-about__block--reverse .p-top-about__card { margin-right: auto; }
/* Block 2: カード右寄せ */
.p-top-about__block:not(.p-top-about__block--reverse) .p-top-about__card { margin-left: auto; }

.p-top-about__label {
  font-family: var(--ff-serif-en);
  font-size: 1.2rem;

  color: var(--c-primary);
  margin-bottom: 6px;
}

.p-top-about__title {
  font-family: var(--ff-mincho);
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: .08em;
  margin-bottom: 20px;
}

.p-top-about__text {
  font-size: 1.4rem;
  line-height: calc(30 / 14);
  margin-bottom: 24px;
}

.p-top-about__action .c-button {
  min-width: 0;
  width: 100%;
  max-width: 220px;
}

@media (max-width: 767px) {
  .p-top-about {
    padding: var(--section-pad) 0;
  }
  .p-top-about__block {
    margin-bottom: 48px;
  }
  .p-top-about__label {
    font-size: calc(18/750*100vw);
    margin-bottom: 6%;
  }
  .p-top-about__figure {
    right: 0;
    width: calc(571/750*100%);
    height: auto;
    aspect-ratio: 571 / 460;
  }

  .p-top-about__block--reverse .p-top-about__figure {

    margin-left: auto;
  }

  .p-top-about__block:not(.p-top-about__block--reverse) .p-top-about__figure {
    left: auto;
  }

  .p-top-about__block:nth-of-type(1) .p-top-about__figure {
    background-image: url("../img/top/about_characteristics_sp.jpg");
  }

  .p-top-about__block:nth-of-type(2) .p-top-about__figure {
    background-image: url("../img/top/about_policy_sp.jpg");
    left: 0;
    right: auto;
  }

  .p-top-about__card {
    width: 52%;
    min-width: 0;
    padding: 32px 24px;
    margin-top: -60px;
    margin-left: calc(40/750*100%);
  }

  .p-top-about__block--reverse .p-top-about__card { margin-right: 0; }
  .p-top-about__block:not(.p-top-about__block--reverse) .p-top-about__card { 
    margin-left: auto;
    margin-right: calc(40/750*100%);
   }
  
  .p-top-about__action .c-button {
    font-size: calc(24/750*100vw);
    max-width: 100%;
    padding: 10px;
  }
  .p-top-about__title {
    font-size: calc(40/750*100vw);
    margin-bottom: 10%;
  }

  .p-top-about__text {
    font-size: calc(24/750*100vw);
    line-height: calc(30 / 14);
    margin-bottom: 12%;
  }
}

/* TOP / MESSAGE */
.p-top-message {
  background-image: url("../img/top/message-bg_pc.jpg");
  background-size: cover;
  padding: var(--section-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}

.p-top-message::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(168, 153, 125, .08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(168, 153, 125, .06), transparent 50%);
  pointer-events: none;
}

.p-top-message__inner {
  max-width: var(--content-inner-w);
  margin: 0 auto;
  position: relative;
}

.p-top-message__body {
  display: flex;
  flex-direction: row;
  gap: 80px;
  align-items: center;
}

.p-top-message__text {
  flex: 1;
}

.p-top-message__text p {
  font-size: 1.4rem;
  line-height: calc(30/14);
  margin-bottom: 1.5em;
  letter-spacing: .03em;
}

.p-top-message__sign {
  text-align: right;
  margin-top: 32px;
  font-family: var(--ff-mincho);
  padding-right: 10rem;
}

.p-top-message__sign span {
  font-size: 1rem;
  color: var(--c-text);
  margin-right: 12px;
}

.p-top-message__sign img {
  height: auto;
  vertical-align: middle;
}

.p-top-message__stats {
  flex: 0 0 420px;
  text-align: center;
}

.p-top-message__stats img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .p-top-message {
    background-image: url("../img/top/message-bg_sp.jpg");
  }
  .p-top-message__text p {
    line-height: calc(50/24);
  }
  .p-top-message__sign {
    padding-right: 0;
  }
  .p-top-message__body {
    flex-direction: column;
    gap: 48px;
  }
  .p-top-message__stats {
    flex: none;
  }
}

/* TOP / CONTACT CTA */
.p-top-contact {
  background-color: var(--c-bg-section);
  padding: var(--section-pad) var(--gutter);
  text-align: center;
  padding-bottom: var(--section-pad);
}

.p-top-contact .c-heading {
  margin-bottom: 15px;
}

.p-top-contact__inner {
  max-width: 640px;
  margin: 0 auto;
}

.p-top-contact__text {
  font-size: 1.5rem;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .p-top-contact__text {
    font-size: 1.4rem;
    margin-bottom: 28px;
  }
}
