@charset "UTF-8";

/*
============================================================
---- メインビジュアル ----
============================================================
*/
.topMv {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: var(--color-white);
}

.topMv > div:nth-of-type(1) {
  position: absolute;
  inset: 0;
  z-index: var(--zindex-default);
  width: 100%;
  height: 100%;
}

.topMv > div:nth-of-type(1)::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-navy-main);
  opacity: 0.08;
}

.topMv > div:nth-of-type(1) .splide__track {
  width: 100%;
  height: 100%;
}

.topMv > div:nth-of-type(1) img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.topMv > div:nth-of-type(2) {
  position: absolute;
  inset: 0;
  z-index: var(--zindex-upper);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.topMv > div:nth-of-type(2) img:nth-of-type(1),
.topMv > div:nth-of-type(2) img:nth-of-type(2) {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 100%;
  height: auto;
  transform: translateX(-50%);
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.topMv > div:nth-of-type(2) img:nth-of-type(2){
  display: none;
}

.topMv > div:nth-of-type(2) img:nth-of-type(3) {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  height: calc(806 / 900 * 100vh);
  transform: translateX(-50%);
  opacity: 0.5;
  mix-blend-mode: soft-light;
}

.topMv > div:nth-of-type(3) {
  position: absolute;
  inset: 0;
  z-index: var(--zindex-tooltipBottom);
  display: flex;
  align-items: center;
  justify-content: center;
}

.topMv h1 {
  padding-top: 3.3em;
  font-family: var(--font-zen-old-mincho);
  font-size: max(calc(25 / 1440 * 100vw), 25px);
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
  color: var(--color-white);
}

.topMv h1 span {
  font-size: max(calc(31 / 1440 * 100vw), 31px);
}

@media screen and (max-width: 1023px) {
  .topMv > div:nth-of-type(2) img:nth-of-type(1) {
    display: none;
  }

  .topMv > div:nth-of-type(2) img:nth-of-type(2){
    display: block;
    bottom: 0;
  }

  /* .topMv > div:nth-of-type(2) img:nth-of-type(2) {
    top: var(--header-height);
    bottom: auto;
  } */

  .topMv > div:nth-of-type(2) img:nth-of-type(3) {
    top: 50%;
    bottom: auto;
    left: 50%;
    width: 100vw;
    height: auto;
    transform: translate(-50%, -40%);
  }

  .topMv h1 {
    padding-top: 10.2vh;
    padding-top: 10.2svh;
    font-size: min(24px, calc(24 / 375 * 100vw));
  }

  .topMv h1 span {
    font-size: min(30px, calc(30 / 375 * 100vw));
  }
}

/*
============================================================
---- トップページ内共通パーツ ----
============================================================
*/
:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner) header {
  --top-title-size: 60px;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner) header h2 {
  font-family: var(--font-marcellus);
  font-size: var(--top-title-size);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
  text-transform: uppercase;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
  header
  h2
  + a {
  margin-top: 28px;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner) header a,
:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 10px;
  align-items: center;
  width: fit-content;
  color: var(--color-white);
  text-decoration: none;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner) header a span,
:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a span {
  grid-row: 1;
  grid-column: 1;
  font-family: var(--font-zen-kaku-gothic-new);
  font-size: 16px;
  font-weight: 400;
  transition: opacity 0.3s;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
  header
  h2
  + a
  span {
  font-size: 18px;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
  header
  a::before,
:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
  header
  a::after,
:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a::before,
:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a::after {
  content: "";
  grid-row: 1;
  grid-column: 2;
  place-self: center;
  transition: transform 0.3s;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
  header
  a::before,
:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 50%;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
  header
  a::after,
:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a::after {
  display: block;
  width: 8px;
  aspect-ratio: 1;
  mask: url(../../img/common/icon-arrow-navy.svg) no-repeat center / contain;
}

:where(.topAbout, .topSectionPanel) header a::before {
  background: var(--color-navy-main);
}

:where(.topAbout, .topSectionPanel) header a::after {
  background: var(--color-white);
}

:where(.topFeaturePanel, .topBanner) header a::before {
  background: var(--color-white);
}

:where(.topFeaturePanel, .topBanner) header a::after {
  background: var(--color-navy-main);
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a::before {
  background: transparent;
  border-color: var(--color-white);
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a::after {
  background: var(--color-white);
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
  header
  a:hover::before,
:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
  header
  a:hover::after,
:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a:hover::before,
:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a:hover::after {
  transform: translateX(3px);
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
  header
  a:hover
  span,
:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a:hover span {
  opacity: 0.7;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div {
  --top-headline-size: 32px;
  margin-top: 52px;
  padding-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div h3 {
  font-family: var(--font-zen-old-mincho);
  font-size: var(--top-headline-size);
  font-weight: 400;
  line-height: 1.42;
  color: var(--color-white);
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div p {
  font-family: var(--font-zen-kaku-gothic-new);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-white);
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div > h3 + p {
  margin-top: 32px;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div p + p {
  margin-top: 1.8em;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 36px;
  row-gap: 20px;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div + ul {
  margin-top: 54px;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel) ul > li {
  line-height: 1;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel)
  ul
  > li:not(:first-of-type) {
  position: relative;
  margin-left: 36px;
}

:where(.topAbout, .topSectionPanel, .topFeaturePanel)
  ul
  > li:not(:first-of-type)::before {
  content: "";
  position: absolute;
  top: 0;
  left: -36px;
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--color-white);
  opacity: 0.4;
}

@media screen and (max-width: 1439px) {
  :where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner) header {
    --top-title-size: 48px;
  }
}

@media screen and (max-width: 1279px) {
  :where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner) header {
    --top-title-size: 40px;
  }
}

@media screen and (max-width: 767px) {
  :where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner) header {
    --top-title-size: 28px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
    header
    h2
    + a {
    margin-top: 14px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
    header
    h2
    + a::before {
    width: 18px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
    header
    h2
    + a
    span {
    font-size: 15px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div {
    --top-headline-size: 20px;
    margin-top: 22px;
    padding-top: 22px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div h3 {
    line-height: 1.4;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div p {
    font-size: 14px;
    line-height: 1.7;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div > h3 + p {
    margin-top: 18px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div p + p {
    margin-top: 1.7em;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel) ul {
    column-gap: 24px;
    row-gap: 16px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel) header + div + ul {
    margin-top: 32px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel)
    ul
    > li:not(:first-of-type) {
    margin-left: 24px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel)
    ul
    > li:not(:first-of-type)::before {
    left: -24px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
    header
    a
    span,
  :where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a span {
    font-size: 14px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
    header
    a::before,
  :where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a::before {
    width: 15px;
  }

  :where(.topAbout, .topSectionPanel, .topFeaturePanel, .topBanner)
    header
    a::after,
  :where(.topAbout, .topSectionPanel, .topFeaturePanel) ul a::after {
    width: 6px;
  }
}

/*
============================================================
---- 企業情報 ----
============================================================
*/
.topAbout {
  padding: 112px 0;
  position: relative;
}

.topAbout::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background-image: url(../../img/top/section-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.2;
  pointer-events: none;
  z-index: var(--zindex-lower);
}

.topAbout > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: var(--size-frame-width);
  margin: 0 auto;
  padding: 0 var(--layout-margin-outside-pc);
}

.topAbout > div > div:first-child {
  padding-top: 12px;
  padding-right: var(--layout-margin-inside-pc);
  padding-left: var(--layout-margin-inside-pc);
}

.topAbout header {
  --top-title-size: 26px;
}

.topAbout header a {
  margin-top: 8px;
}

.topAbout header + div {
  --top-headline-size: 50px;
  margin-top: 68px;
  padding-top: 0;
  border-top: none;
}

.topAbout header + div > h3 {
  letter-spacing: -0.03em;
}

.topAbout header + div > h3 + p {
  max-width: 480px;
  margin-top: 48px;
}

.topAbout header + div p {
  max-width: 480px;
}

.topAbout header + div + ul {
  margin-top: 92px;
}

.topAbout figure {
  width: 100%;
  height: 680px;
  overflow: hidden;
}

.topAbout figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1439px) {
  .topAbout > div > div:first-child {
    padding-left: 0;
  }

  .topAbout header + div {
    --top-headline-size: 38px;
    margin-top: 28px;
  }
}

@media screen and (max-width: 1023px) {
  .topAbout > div {
    display: flex;
    flex-direction: column;
    gap: 80px;
  }

  .topAbout > div > div:first-child {
    padding-top: 0;
    padding-right: 0;
  }

  .topAbout header + div {
    --top-headline-size: 30px;
  }

  .topAbout header + div p {
    max-width: 100%;
  }

  .topAbout figure {
    height: auto;
    aspect-ratio: 670 / 548;
  }

  .topAbout figure img {
    object-position: center 22%;
  }
}

@media screen and (max-width: 767px) {
  .topAbout {
    padding: 35px 0;
  }

  .topAbout > div {
    gap: 40px;
    padding: 0 var(--layout-margin-outside-sp);
  }

  .topAbout header {
    --top-title-size: 24px;
  }

  .topAbout header a {
    margin-top: 6px;
  }

  .topAbout header + div {
    --top-headline-size: 25px;
  }

  .topAbout header + div > h3 + p {
    margin-top: 32px;
  }

  .topAbout header + div + ul {
    gap: 24px;
    margin-top: 32px;
  }
}

/*
============================================================
---- 各タイプセクションラップ ----
============================================================
*/
.topSectionPanels,
.topFeaturePanels {
  padding-block: 110px;
  position: relative;
}

.topFeaturePanels::before,
.topFeaturePanels::after {
  content: "";
  display: block;
  width: 100%;
  position: absolute;
  z-index: var(--zindex-lower);
  pointer-events: none;
}

.topFeaturePanels::before {
  height: 518px;
  inset: 0;
  background:
    linear-gradient(
      color-mix(in srgb, var(--color-navy-main) 30%, transparent),
      color-mix(in srgb, var(--color-navy-main) 30%, transparent)
    ),
    url(../../img/top/sustainability-bg.jpg);
  background-position: center bottom;
  background-size: cover;
}

.topFeaturePanels::after {
  top: 518px;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../../img/top/section-bg.jpg);
  background-position: center bottom;
  background-size: cover;
  opacity: 0.2;
}

.topFeaturePanels > * {
  position: relative;
  z-index: var(--zindex-upper);
}

.topFeaturePanels > *:not(:first-child) {
  margin-top: 48px;
}

@media screen and (max-width: 767px) {
  .topSectionPanels,
  .topFeaturePanels {
    padding-block: 40px;
  }

  .topFeaturePanels::before {
    height: 61.6vw;
    background:
      linear-gradient(
        color-mix(in srgb, var(--color-navy-main) 30%, transparent),
        color-mix(in srgb, var(--color-navy-main) 30%, transparent)
      ),
      url(../../img/top/sustainability-bg-sp.jpg);
    background-position: center;
  }

  .topFeaturePanels::after {
    top: 61.6vw;
    background-image: url(../../img/top/section-bg-02-sp.jpg);
    background-position: center;
  }

  .topFeaturePanels > *:not(:first-child) {
    margin-top: 40px;
  }
}

/*
============================================================
---- セクションタイプ　① ----
============================================================
*/
.topSectionPanel {
  max-width: var(--size-frame-width);
  margin: 0 auto;
  padding-inline: var(--layout-margin-outside-pc);
}

.topSectionPanel + .topSectionPanel {
  margin-top: 48px;
}

.topSectionPanel > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  background-color: var(--color-panel);
}

.topSectionPanel > div > div:first-child {
  padding: 56px var(--layout-margin-inside-pc);
}

.topSectionPanel figure {
  width: 100%;
  min-height: 680px;
  overflow: hidden;
}

.topSectionPanel figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1023px) {
  .topSectionPanel + .topSectionPanel {
    margin-top: 40px;
  }

  .topSectionPanel > div {
    display: flex;
    flex-direction: column;
  }

  .topSectionPanel figure {
    height: auto;
    min-height: auto;
    aspect-ratio: 670 / 548;
  }
}

@media screen and (max-width: 767px) {
  .topSectionPanel {
    padding-inline: var(--layout-margin-outside-sp);
  }

  .topSectionPanel > div > div:first-child {
    padding: 34px var(--layout-margin-inside-sp);
  }

  #corporate-info p br {
    display: none;
  }
}

/*
============================================================
---- セクションタイプ　② ----
============================================================
*/
.topFeaturePanel {
  max-width: var(--size-frame-width);
  margin: 0 auto;
  padding-inline: var(--layout-margin-outside-pc);
}

.topFeaturePanel > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: calc(
    var(--size-frame-width) - (var(--layout-margin-inside-pc) * 2) -
      (var(--layout-margin-outside-pc) * 2)
  );
  margin: 0 auto;
  padding: 70px 48px;
  overflow: hidden;
  background-color: var(--color-navy-main);
}

.topFeaturePanel > div > div:first-child {
  padding: 0 48px 0 0;
}

.topFeaturePanel figure {
  width: 100%;
  height: auto;
  min-height: 676px;
  overflow: hidden;
}

.topFeaturePanel figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#sustainability header {
  --top-title-size: 54px;
}

#sustainability header h2 + a {
  margin-top: 10px;
}

#sustainability header h2 + a span {
  font-size: 16px;
}

#sustainability header + div {
  --top-headline-size: 26px;
}

#sustainability ul {
  flex-direction: column;
  row-gap: 0;
  margin-top: 32px;
}

#sustainability ul > li:not(:first-of-type) {
  margin-left: 0;
}

#sustainability ul > li:not(:first-of-type)::before {
  display: none;
}

#sustainability ul > li > a {
  width: 100%;
  padding: 17px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media screen and (max-width: 1439px) {
  #sustainability header {
    --top-title-size: 44px;
  }

  #sustainability header + div {
    --top-headline-size: 22px;
  }
}

@media screen and (max-width: 1023px) {
  .topFeaturePanel > div {
    display: flex;
    flex-direction: column;
  }

  .topFeaturePanel > div > div:first-child {
    padding: 0 0 70px;
  }

  .topFeaturePanel figure {
    min-height: auto;
    aspect-ratio: 590 / 482;
  }

  .topFeaturePanel figure img {
    object-position: center top;
  }
}

@media screen and (max-width: 767px) {
  .topFeaturePanel {
    padding-inline: var(--layout-margin-outside-sp);
  }

  .topFeaturePanel > div {
    padding: 34px var(--layout-margin-inside-sp);
  }

  .topFeaturePanel > div > div:first-child {
    padding: 0 0 40px;
  }

  #sustainability header {
    --top-title-size: 25px;
  }

  #sustainability header h2 + a span {
    font-size: 14px;
  }

  #sustainability header + div {
    --top-headline-size: 19px;
  }

  #sustainability ul > li > a {
    padding: 18px 12px 18px 0;
  }
}

/*
============================================================
---- セクションタイプ　③ ----
============================================================
*/
.topBanner {
  max-width: var(--size-frame-width);
  margin: 0 auto;
  padding-inline: var(--layout-margin-outside-pc);
}

.topBanner > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: calc(
    var(--size-frame-width) - (var(--layout-margin-inside-pc) * 2) -
      (var(--layout-margin-outside-pc) * 2)
  );
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--color-navy-main);
}

.topBanner > div > header {
  padding: 70px 48px;
}

.topBanner figure {
  min-height: 230px;
  height: auto;
  overflow: hidden;
}

.topBanner figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#locations header {
  /* --top-title-size: 48px; */
  --top-title-size: 44px;
}

#locations header h2 + a {
  margin-top: 10px;
}

#locations header h2 + a span {
  font-size: 16px;
}

@media screen and (max-width: 1439px) {
  #locations header {
    --top-title-size: 44px;
  }
}

@media screen and (max-width: 1023px) {
  .topBanner > div {
    display: flex;
    flex-direction: column;
  }

  .topBanner figure {
    width: 100%;
    min-height: auto;
    aspect-ratio: 670 / 200;
  }
}

@media screen and (max-width: 767px) {
  .topBanner {
    padding-inline: var(--layout-margin-outside-sp);
  }

  .topBanner > div > header {
    padding: 26px 20px;
  }

  #locations header {
    --top-title-size: 22px;
  }

  #locations header h2 + a {
    margin-top: 6px;
  }

  #locations header h2 + a span {
    font-size: 14px;
  }
}
