@charset "UTF-8";
/**
 * @ main.css
 *
 * 
 */

/* ==============================
  :root
============================== */
:root {
  /* font-weight */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-semibold: 900;

  /* font-size */
  --fs-title-main: clamp(1.6rem, calc(1.6rem + 0.5vw), 1.8rem);

  /* color */
  --color-accent: #774094;
  --color-text-base: #000;

  /* trantision */
  --transition-base: 0.3s;

  /* scale */
  --scale-base: scale(1.05);

  /* opacity --hover */
  --opacity-base: 0.7;
}
/* ==============================
  base
============================== */
html {
  font-size: 62.5%;
}
body {
  width: 100%;
  height: 100%;
  text-align: left;
  font-size: 1.6rem;
  color: var(--color-text-base);
  font-weight: var(--fw-regular);
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  -webkit-text-size-adjust: 100%;
  position: relative;
  margin-top: 100px;
}
main {
  overflow: hidden;
}
a,
a img {
  text-decoration: none;
  -webkit-transition: var(--transition-base);
  transition: var(--transition-base);
}
a:hover,
a img:hover {
  transition: var(--transition-base);
}
figure {
  margin: 0;
}
dl dt,
dl dd {
  margin: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
}
:target {
  scroll-margin-top: 60px;
}
@media screen and (max-width: 1599px) {
  body {
    margin-top: 60px;
  }
}
/* ==============================
  utility
============================== */
.u-inner {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
.u-inner--wide {
  width: 90%;
  max-width: 1600px;
  margin: auto;
}
.u-show-sp {
  display: none;
}
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}
@media screen and (max-width: 768px) {
  .u-show-sp {
    display: block;
  }
  .u-show-pc {
    display: none;
  }
}

/* bg */
.u-bg-firstview {
  background: url(../img/firstview_bg.png) no-repeat bottom center / cover;
}

/* btn */
.u-btn {
  position: relative;
  transition: var(--transition-base);
  display: block;
}

/* リンクボタン */
.u-btn--fill {
  background: #e9e0ee;
  border-radius: 100px;
  width: fit-content;
  padding: 10px 70px 10px 40px;
  font-size: 1.8rem;
  color: var(--color-accent);
  font-weight: var(--fw-bold);
  min-width: 215px;
}
.u-btn--fill::before {
  content: "";
  background: url(../img/arrow_long-purple.svg) no-repeat center / 100%;
  width: 30px;
  height: auto;
  aspect-ratio: 37 / 16;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
}
.u-btn--fill-back {
  padding: 10px 40px 10px 70px;
}
.u-btn--fill-back::before {
  transform: translateY(-50%) scale(-1, 1);
  right: auto;
  left: 30px;
}

@media screen and (max-width: 768px) {
  .u-btn--fill {
    font-size: 1.6rem;
    min-width: auto;
    padding: 10px 50px 10px 30px;
  }
  .u-btn--fill::before {
    width: 20px;
    right: 15px;
  }
}

/* くの字 */
.u-btn--arrow-corner {
  padding-right: 20px;
}
.u-btn--arrow-corner::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateY(2px);
}
.u-btn--arrow-corner::after {
  content: "";
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%) translateY(2px) rotate(45deg);
}

/* 背景：紫 × 矢印：白 */
.u-btn--purple::before {
  content: "";
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateY(2px);
}
.u-btn--purple::after {
  content: "";
  background: url(../img/arrow_white.svg) no-repeat center / 100%;
  width: 18px;
  height: auto;
  aspect-ratio: 18 / 15;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateY(2px);
  right: 10px;
}

/* 背景：白 × 矢印：紫 */
.u-btn--purple-reverse::before {
  content: "";
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  right: 0;
  bottom: 0;
}
.u-btn--purple-reverse::after {
  content: "";
  background: url(../img/arrow_short-purple.svg) no-repeat center / 100%;
  width: 28px;
  height: auto;
  aspect-ratio: 28 / 17;
  position: absolute;
  right: 20px;
  bottom: 20px;
}

/* ==============================
  accessibility
============================== */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}
.skip-link:focus {
  top: 0;
}

/* ==============================
  .header
============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: var(--transition-base);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 30px 25px;
  transition: var(--transition-base);
}
.header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  width: 100%;
}
.header__nav-items {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 5px;
}
.header__nav-link {
  font-size: 1.6rem;
  font-weight: var(--fw-medium);
  position: relative;
}
.header__nav-items--cta {
  gap: 10px;
}
.header__nav-items--cta .header__nav-link {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 150px;
  height: 40px;
  max-width: 100%;
  background: var(--color-accent);
}
.header__nav-items--cta .header__nav-text {
  font-size: 1.4rem;
  padding-left: 10px;
}
.header__nav-icon--access {
  background: url(../img/icon_access.svg) no-repeat center / 100%;
  width: 17px;
  height: auto;
  aspect-ratio: 17 / 24;
}
.header__nav-icon--contact {
  background: url(../img/icon_contact.svg) no-repeat center / 100%;
  width: 20px;
  height: auto;
  aspect-ratio: 20 / 17;
}

/* スクロールで背景色追加 */
#js-bg-white.is-bg-white {
  background: #fff;
  transition: var(--transition-base);
}
#js-bg-white.is-bg-white .header__inner {
  padding: 10px 30px;
  transition: var(--transition-base);
}

/* ハンバーガーメニュー */
.header__hamburger {
  display: none;
}
@media screen and (max-width: 1599px) {
  .header__inner {
    gap: 10px;
    padding: 0 !important;
    width: 100%;
  }
  .header__logo {
    width: 330px;
    max-width: 43%;
    flex-shrink: 0;
    margin-left: 3vw;
  }
  .header__logo a {
    display: flex;
    align-items: center;
  }
  .header__nav-items--cta {
    gap: 5px;
    margin-top: 0;
  }
  .header__nav-items--cta .header__nav-item,
  .header__hamburger {
    width: 100px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .header__nav-items--cta .header__nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header__nav {
    gap: 5px;
  }
  .header__nav-items:not(.header__nav-items--cta) {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    right: -100%;
    top: 100%;
    height: 100%;
    width: 525px;
    max-width: 90%;
    height: fit-content;
    background: #fff;
    margin-top: 0;
    padding: 60px 0 200px 70px;
    transition: all 0.5s;
    z-index: 99;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #582c75;
    overflow: auto;
    max-height: 100vh;
  }
  .header__nav-items:not(.header__nav-items--cta) .header__nav-link {
    font-size: 2.5rem;
    text-align: left;
    width: 100%;
    color: #fff;
    display: block;
    padding: 30px 0;
    border-bottom: 4px dotted #fff;
    line-height: 1;
  }
  .header__nav-items:not(.header__nav-items--cta) .header__nav-item {
    width: 100%;
  }
  .header__nav-items--cta .header__nav-link {
    flex-direction: column;
    height: 100%;
    padding: 25px 0 20px;
    justify-content: flex-end;
  }
  .header__nav-icon--access {
    width: 28px;
  }
  .header__nav-icon--contact {
    width: 38px;
  }
  .header__nav-items--cta .header__nav-text {
    font-size: 1.3rem;
    padding-left: 0;
    margin-top: 9px;
    line-height: 1;
  }

  /* ハンバーガーメニュー */
  .header__hamburger {
    display: block;
    padding: 25px 0 20px;
    background: var(--color-accent);
  }
  .header__hamburger-inner {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    background: transparent;
    appearance: none;
    padding: 0;
    cursor: pointer;
    z-index: 999;
    height: 100%;
  }
  .header__hamburger-bar {
    display: inline-block;
    width: 40px;
    height: 7px;
    background: #fff;
    position: absolute;
    transition: 0.5s;
    left: 50%;
    border-radius: 10px;
    max-width: 80%;
    transform: translateX(-50%);
  }
  .header__hamburger-bar:first-child {
    top: 3px;
  }
  .header__hamburger-bar:nth-child(2) {
    top: 14px;
  }
  .header__hamburger-bar:nth-child(3) {
    top: 25px;
  }
  .header__hamburger-text {
    font-size: 1.3rem;
    color: #fff;
    font-weight: var(--fw-medium);
    margin-top: 10px;
    line-height: 1;
  }

  /* .is-open */
  html.is-open {
    overflow: hidden;
  }
  .header__hamburger.is-open {
    background: #582c75;
  }
  .header__nav-items:not(.header__nav-items--cta).is-open {
    right: 0;
    transition: 0.5s;
    opacity: 1;
  }
  .header__hamburger.is-open .header__hamburger-bar {
    top: calc(50% - 14px);
  }
  .header__hamburger.is-open .header__hamburger-bar:first-child {
    transform: translateX(-50%) rotate(35deg);
  }
  .header__hamburger.is-open .header__hamburger-bar:nth-child(3) {
    transform: translateX(-50%) rotate(-35deg);
  }
  .header__hamburger.is-open .header__hamburger-bar:nth-child(2) {
    display: none;
  }
}

@media screen and (max-width: 1599px) {
  .header__nav-items:not(.header__nav-items--cta) {
    padding-left: 50px;
  }
  .header__nav-items:not(.header__nav-items--cta) .header__nav-link {
    font-size: 1.8rem;
  }
  .header__nav-items--cta .header__nav-link {
    padding: 9px 0;
    justify-content: space-around;
  }
  .header__nav-items--cta .header__nav-text {
    font-size: 0.9rem;
  }
  .header__nav-icon--access {
    width: 21px;
  }
  .header__nav-icon--access + .header__nav-text {
    margin-top: 5px;
  }
  .header__nav-icon--contact {
    width: 27px;
    margin-top: 3px;
  }
  .header__nav-items--cta .header__nav-item,
  .header__hamburger {
    width: 60px;
    height: 60px;
  }
  .header__hamburger {
    padding: 9px 0;
  }
  .header__hamburger-text {
    font-size: 0.9rem;
  }
  .header__hamburger-bar {
    width: 30px;
    height: 3px;
  }
  .header__hamburger-bar:first-child {
    top: 6px;
  }
  .header__hamburger-bar:nth-child(2) {
    top: 15px;
  }
  .header__hamburger-bar:nth-child(3) {
    top: 24px;
  }
  /* .is-open */
  .header__hamburger.is-open .header__hamburger-bar {
    top: calc(50% - 9px);
  }
}
@media screen and (max-width: 374px) {
  .header__logo {
    max-width: 33%;
  }
}

/* ==============================
  .footer
============================== */
.footer {
  padding: 75px 0 90px;
  background: url(../img/footer_bg.png) no-repeat center bottom / cover;
  color: #fff;
}
.footer__inner {
  display: flex;
  gap: 60px 200px;
}
.footer__logo {
  margin-bottom: 50px;
}
.footer__address {
  margin-bottom: 20px;
}
.footer__address-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 15px;
}
.footer__address-link {
  pointer-events: none;
}
.footer__sns {
  margin-bottom: 100px;
}
.footer__right {
  display: flex;
  gap: 50px 160px;
}
.footer__menu-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media screen and (max-width: 1024px) {
  .footer__inner {
    flex-direction: column;
    gap: 30px;
  }
  .footer__logo {
    margin-bottom: 20px;
  }
  .footer__sns {
    margin-bottom: 0;
  }
  .footer__copyright {
    position: absolute;
    bottom: 10px;
    line-height: 1.2;
    padding-right: 80px;
  }

  @media screen and (max-width: 768px) {
    .footer {
      padding-top: 50px;
    }
    .footer__logo {
      margin-bottom: 30px;
      max-width: 80%;
    }
    .footer__address-link {
      pointer-events: auto;
    }
    .footer__right {
      gap: 50px;
    }
    .footer__copyright-text {
      font-size: 1.2rem;
    }
  }
}
/* ==============================
  .page-top
============================== */
.page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  text-align: center;
  background: #fff;
  color: #fff;
  cursor: pointer;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.4rem;
  overflow: hidden;
  transition: var(--transition-base);
  border: 2px solid var(--color-accent);
  z-index: 20;
}
.page-top::before {
  content: "";
  background: url(../img/arrow_short-purple.svg) no-repeat center / 100%;
  width: 23px;
  height: auto;
  aspect-ratio: 28 / 17;
  transform: translate(50%, -50%) rotate(-90deg);
  position: absolute;
  top: 50%;
  right: 50%;
}
.page-top p {
  text-indent: -99999px;
}
.page-top:hover {
  background: #e9e0ee;
  transition: var(--transition-base);
}

@media screen and (max-width: 768px) {
  .page-top {
    width: 60px;
    height: 60px;
  }
  .page-top::before {
    width: 20px;
  }
}
