@charset "utf-8";

:root {
  --color-primary: #005bac;
  --color-secondary: #00a83b;
  --content-max-width: 1200px;
  --sp-gutter: 12px;
  --pc-gutter: 60px;
}

html,
body {
  height: auto;
}

body {
  position: relative;
  font-family: "Ishii Gothic M", sans-serif;
  color: var(--color-primary);
  line-height: 1.3;
}

a {
  color: var(--color-primary);
}

@media (hover: hover) {
  a {
    transition: opacity 0.2s ease-in-out;

    &:hover {
      opacity: 0.5;
    }
  }
}

img,
video {
  height: auto;
}

/* wrapper */
@media (min-width: 992px) {
  .wrapper {
    display: flex;
    width: calc(100% - var(--pc-gutter) * 2);
    max-width: var(--content-max-width);
    margin: 0 auto;
  }
}
/* mv */
.mv {
  display: grid;
  place-items: center;
  padding: 1.25rem 0;
  height: 100svh;
  min-height: 37.5rem;
  background: #fff;
}

.mv__title {
  position: relative;
  padding: 1.375rem 3.75rem 0;
}

.mv__titleMain {
  display: block;
  max-width: 10.375rem;
}

.mv__titleSub {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  max-width: 1.75rem;
}

.mv__logo {
  width: 4.1875rem;
  margin: 1.75rem auto 0;
}

@media (min-width: 992px) {
  .mv {
    position: relative;
    flex: 1;
    max-width: 32.5rem;
    display: block;
    padding: 0;
    height: auto;
    min-height: unset;
    background: transparent;
  }

  .mv__inner {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100svh;
    padding: 8.25rem 1.875rem;
  }

  .mv__title {
    display: flex;
    position: relative;
    padding: 0;
    gap: calc(38 / 264 * 100%);
    width: auto;
    max-height: 32.125rem;
    height: 100%;
    aspect-ratio: 264/514;
  }

  .mv__titleMain {
    width: calc(188 / 264 * 100%);
    margin-top: calc(30 / 264 * 100%);
    max-width: unset;
  }

  .mv__titleSub {
    display: block;
    max-width: calc(38 / 264 * 100%);
  }

  .mv__logo {
    display: none;
  }
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 1.25rem var(--sp-gutter) 2.875rem;
  background-image: linear-gradient(to top, transparent, #fff 22%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease-out;

  &.is-fixed {
    opacity: 1;
  }
}

.header__logo {
  width: 100%;
  max-width: 17.3125rem;
}

@media (min-width: 992px) {
  .header {
    position: fixed;
    top: 2.5rem;
    left: 2.5rem;
    width: 4.8125rem;
    padding: 0;
    background-image: none;
    pointer-events: all;
    opacity: 1;
  }

  .header__logo {
    width: 100%;
    max-width: 17.3125rem;
  }
}

/* common style */
.pc {
  display: none;
}

@media (min-width: 992px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }
}

.text-box {
  padding: 0 0.625rem;
  font-size: 1rem;
  line-height: 2;

  p + p {
    margin-top: 0.75rem;
  }
}

@media (min-width: 992px) {
  .text-box {
    padding: 0;
    font-size: 1.125rem;

    .has-speace {
      margin-top: calc(2em + 1.5rem);
    }
  }
}

.img-rounded {
  border-radius: 0.5rem;
}

.img-border {
  border: 1px solid rgba(0, 91, 171, 0.4);
}

#baguetteBox-overlay .full-image {
  padding: 1.25rem;
}

/* content */
.content {
  max-width: 42.5rem;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .content {
    flex: 1.3076923077;
    max-width: 42.5rem;
    margin: 0 auto;
  }
}

/*yodogawa */
.yodogawa {
  padding: 4rem var(--sp-gutter) 0;
}

.yodogawa__img {
  margin: 1.375rem 0;

  img {
    width: 100%;
    max-width: 35rem;
  }
}

.yodogawa__zoom {
  margin: 1.625rem 0 1.875rem;
}

.yodogawa__zoom-button {
  position: relative;
  display: block;
  max-width: 42.5rem;
  border: none;
  background: none;

  &::after {
    content: "";
    position: absolute;
    right: 0.625rem;
    bottom: 0.625rem;
    z-index: 1;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    background: center / contain no-repeat url("../img/icon_zoom.webp");
  }
}

@media (min-width: 992px) {
  .yodogawa {
    padding: clamp(3.125rem, 30vh, 15.375rem) var(--pc-gutter) 0;
  }

  .yodogawa__img {
    margin: 2.25rem 0;
    max-width: 35rem;
  }

  .yodogawa__zoom {
    margin: 3.875rem calc(var(--pc-gutter) * -1) 3.0625rem;
  }

  .yodogawa__zoom-button {
    position: relative;
    display: block;
    max-width: 42.5rem;
    border: none;
    background: none;

    &::after {
      content: "";
      position: absolute;
      right: 0.625rem;
      bottom: 0.625rem;
      z-index: 1;
      display: block;
      width: 1.25rem;
      height: 1.25rem;
      background: center / contain no-repeat url("../img/icon_zoom.webp");
    }
  }
}

/* section01 */
.section01 {
  padding: 2.5rem var(--sp-gutter) 0;
}

.section01__title {
  max-width: 19.1875rem;
  margin: 0 auto 2.625rem;
}

.section01__img {
  margin: 1.75rem 0 1.875rem;
}

@media (min-width: 992px) {
  .section01 {
    padding: 4.25rem var(--pc-gutter) 0;
  }

  .section01__title {
    max-width: 36.375rem;
    margin: 0 0 4.25rem;
  }

  .section01__img {
    margin: 1.75rem 0 2rem;
  }
}

/* section02 */
.section02 {
  padding: 2.625rem var(--sp-gutter) 0;
}

.section02__title {
  max-width: 19.1875rem;
  margin: 0 auto 2.625rem;
}

@media (min-width: 992px) {
  .section02 {
    padding: 2.5rem var(--pc-gutter) 0;
  }

  .section02__title {
    max-width: 36.375rem;
    margin: 0 0 3.875rem;
  }
}

/* section03 */
.section03 {
  padding: 5.3125rem var(--sp-gutter) 0;
}

.section03__title {
  max-width: 18.3125rem;
  margin: 0 auto;
}

.section03__img {
  max-width: 17.5rem;
  margin: 0.625rem auto 1.5rem;
}

.section03__banner {
  display: block;
  max-width: 19.25rem;
  margin: 2.0625rem auto 0;
}

.section03__credit {
  margin-top: 2rem;
  font-size: 0.75rem;
  line-height: 1.8;
  text-align: center;
}

@media (min-width: 992px) {
  .section03 {
    padding: 7rem var(--pc-gutter) 0;
  }

  .section03__title {
    max-width: 32.6875rem;
    margin: 0;
  }

  .section03__img {
    max-width: 28.3125rem;
    margin: 2.25rem auto 2.375rem;
  }

  .section03__banner {
    max-width: 31.25rem;
    margin: 2.25rem auto 0;
  }

  .section03__credit {
    margin-top: 42px;
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }
}

/* section04  */
.section04 {
  padding: 6.5rem var(--sp-gutter) 0;
}

.section04__title {
  margin-bottom: 1.125rem;
  padding: 0 0.625rem;

  img {
    max-width: 11.375rem;
  }
}

.section04-box {
  margin: 1.5rem 0;
  padding: 1.5625rem 1.75rem;
  background: rgba(53, 38, 38, 0.06);
  border-radius: 0.5rem;
}

.section04-box-group {
  line-height: 1.8;

  + .section04-box-group {
    margin-top: 0.75rem;
  }

  dt {
    font-family: "Ishii Gothic EB", sans-serif;
    font-size: 1.25rem;
    color: var(--color-secondary);

    span {
      font-size: 1rem;
    }
  }

  dd {
    span {
      font-family: "Ishii Gothic EB", sans-serif;
    }
  }

  .link {
    font-size: 0.875rem;
  }

  .note {
    font-size: 0.75rem;
  }
}

@media (min-width: 992px) {
  .section04 {
    padding: 7.5rem var(--pc-gutter) 0;
  }

  .section04__title {
    margin-bottom: 1.25rem;
    padding: 0;

    img {
      max-width: 19.125rem;
    }
  }

  .section04-box {
    max-width: 31.25rem;
    margin: 2.75rem auto;
    padding: 2.1875rem 3.875rem;
  }

  .section04-box-group {
    dt {
      font-size: 1.5rem;

      span {
        font-size: 1.25rem;
      }
    }

    dd {
      font-size: 1.125rem;
    }

    .link {
      font-size: 1rem;
    }

    .note {
      font-size: 1rem;
    }
  }
}

.section05 {
  position: relative;
  margin-top: 5rem;
  padding: 4.5rem var(--sp-gutter) 4.375rem;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: var(--sp-gutter);
    right: var(--sp-gutter);
    display: block;
    height: 1px;
    background: var(--color-primary);
  }
}

.section05__title {
  margin-bottom: 1.5rem;
  padding: 0 0.625rem;

  img {
    max-width: 13.875rem;
  }
}

.section05-figure {
  max-width: 19.25rem;
  margin: 1.75rem auto 0;

  figcaption {
    display: grid;
    margin-top: 4.75rem;
    font-size: 0.875rem;
    line-height: 2;
    text-align: center;
  }
}

@media (min-width: 992px) {
  .section05 {
    margin-top: 10rem;
    padding: 8.3125rem var(--pc-gutter) 10.375rem;

    &::after {
      top: 0;
      left: 0;
      right: 0;
    }
  }

  .section05__title {
    margin-bottom: 1.75rem;
    padding: 0;

    img {
      max-width: 24.6875rem;
    }
  }

  .section05-figure {
    max-width: 33.25rem;
    margin: 1.75rem 0 0;

    figcaption {
      display: flex;
      gap: 2em;
      margin-top: 3.75rem;
      text-align: left;
    }
  }
}

/* footer */
.footer {
  padding: 5rem var(--sp-gutter) 4.0625rem;
  background: #fff;
}

.footer__inner {
  display: grid;
  justify-items: center;
}

.footer-row {
  display: grid;
  justify-items: center;
}

.footer-share {
  display: flex;
  align-items: center;
  gap: 1.5625rem;
}

.footer-share__title {
  font-family: "A1 Gothic B", sans-serif;
  font-size: 0.75rem;
}

.footer-share__list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0;

  li {
    list-style-type: none;
    width: 1.75rem;
  }
}

.footer-logo {
  max-width: 4.1875rem;
  margin-top: 1.875rem;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.1875rem;
  padding: 0;

  li {
    list-style-type: none;

    a {
      display: flex;
      font-family: "A1 Gothic B", sans-serif;
      font-size: 0.75rem;
      text-decoration: none;

      &::before {
        content: "●";
      }
    }
  }
}

.footer-nav {
  display: grid;
  justify-content: center;
  padding: 0 1.875rem;
  margin-top: 3.5rem;
}

.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2em;
  padding: 0;
  max-width: 14.0625rem;
  font-family: "A1 Gothic R", sans-serif;
  font-size: 0.75rem;

  li {
    list-style-type: none;
  }
}

.footer-copy {
  margin-top: 2.5rem;
  font-family: "A1 Gothic R", sans-serif;
  font-size: 0.625rem;
  text-align: center;
}

@media (min-width: 992px) {
  .footer {
    padding: 5.375rem var(--pc-gutter) 4.75rem;
  }

  .footer__inner {
    display: grid;
    justify-items: center;
  }

  .footer-row {
    display: flex;
    align-items: center;
    justify-items: center;
  }

  .footer-logo {
    order: 3;
    margin-top: 0;
    margin-left: 5.625rem;
  }

  .footer-contact {
    gap: 1.875rem;
    margin-top: 0;
    margin-left: 3.25rem;
  }

  .footer-nav {
    padding: 0;
    margin-top: 3.75rem;
  }

  .footer-nav__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    max-width: unset;

    li {
      list-style-type: none;

      &:not(:last-child)::after {
        content: "｜";
      }
    }
  }

  .footer-copy {
    margin-top: 1.125rem;
  }
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.background-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
