@charset "UTF-8";

@import url("_setting.css");

body {
  font-family: var(--font-base);
  font-weight: 500;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  text-align: center;
  color: var(--color-base);
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

img {
  vertical-align: bottom;
  width: 100%;
  max-width: 100%;
  height: auto;
}
@media only screen and (max-width: 1024px) {
  img {
    border: 0;
    max-width: 100%;
    height: auto;
  }
}

a {
  color: var(--color-base);
  text-decoration: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
a:hover {
  /* opacity: 0.7; */
}
a img {
  border: none;
}

i {
  padding: 0 5px;
}

ul {
  letter-spacing: -1em;
}
ul li {
  letter-spacing: 0;
  list-style: none;
}

/*PC改行加える*/
.br-pc {
  display: inherit;
}
@media only screen and (max-width: 1024px) {
  .br-pc {
    display: none;
  }
}

/*PC改行無効*/
.br_sp {
  display: none;
}
@media only screen and (max-width: 1024px) {
  .br_sp {
    display: block;
  }
}

.br_ssp {
  display: none;
}
@media only screen and (max-width: 600px) {
  .br_ssp {
    display: block;
  }
}

/************************************

wrapper

************************************/
.wrapper {
  max-width: var(--wrapper-max);
  width: var(--wrapper-width);
  margin: 0 auto;
}
.wrapper::after {
  content: "";
  display: block;
  clear: both;
}

/************************************

.list(flexbox)

************************************/
.list {
  display: block;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.list::after {
  content: "";
  display: block;
  clear: both;
}
.list article {
  width: auto;
}

/************************************

header

************************************/
header {
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 1100;
}
@media print {
  header {
    position: relative;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0;
  background-color: var(--color-key2);
  border-radius: 999px;
  padding: 8px 20px 8px 12px;
}
.header-menu li {
  letter-spacing: 0;
}
.header-menu li + li {
  margin-left: 4px;
}
.header-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.89rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  padding: 4px 8px;
}
.header-menu a:hover {
  opacity: 1;
}
.header-menu a span {
  position: relative;
  display: inline-block;
  padding:6px 0;
}
.header-menu a span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 4px;
  background-color: var(--color-key3);
  transform: translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.header-menu a:hover span::after {
  transform: translateY(0);
  opacity: 1;
}
.header-menu img {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
}

@media only screen and (max-width: 1024px) {
  header {
    top: 12px;
    right: 12px;
  }
  .header-menu {
    padding: 6px 14px 6px 8px;
    gap: 4px;
  }
  .header-menu a {
    font-size: 0.85rem;
    gap: 6px;
    padding: 2px 6px;
  }
  .header-menu img {
    width: 34px;
    height: 34px;
  }
}

@media only screen and (max-width: 600px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .header-menu {
    padding: 5px 6px 5px 6px;
    gap: 2px;
  }
  .header-menu a {
    font-size: 0.7rem;
    gap: 4px;
    padding: 2px 3px;
  }
  .header-menu img {
    width: 28px;
    height: 28px;
  }
}

/************************************

PageUP

************************************/
#pageup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  width: 50px;
  height: 50px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
#pageup.none {
  display: none;
}
#pageup a {
  display: block;
  width: 61px;
  height: 61px;
}
#pageup a:hover {
  opacity: 0.8;
}
#pageup img {
  width: 61px;
  height: 61px;
}

@media only screen and (max-width: 600px) {
  #pageup {
    bottom: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
  }
  #pageup a,
  #pageup img {
    width: 48px;
    height: 48px;
  }
}

/************************************

main

************************************/
main {
  display: block;
}

/*!------------------------------------*\
    Base
\*!------------------------------------*/
.drawer-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  overflow: hidden;
  width: min(900px, 85vw);
  height: 100%;
  height: 100dvh;
  color: #fff;
  background-color: transparent;
  border-radius: 70px 0 0 70px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* 背景（ぼかし・色）は疑似要素に分離（overflowとの競合回避） */
.drawer-nav::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  border-radius: inherit;
  background-color: rgba(37, 176, 252, 0.25);
  -webkit-backdrop-filter: blur(39px) brightness(0.5) saturate(1.15);
  backdrop-filter: blur(39px) brightness(0.5) saturate(1.15);
  pointer-events: none;
}

/* iScroll用: 親(.drawer-nav)は固定高さ+overflow:hidden、子はコンテンツ高さに伸ばす */
.drawer-menu {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

/*! overlay */
.drawer-overlay {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.drawer-open .drawer-overlay {
  display: block;
}

.drawer--right.drawer-open .drawer-nav {
  right: 0;
  -webkit-overflow-scrolling: touch;
}

/*!------------------------------------*\
    Right
\*!------------------------------------*/
.drawer--right .drawer-nav {
  right: calc(-1 * min(900px, 85vw));
  -webkit-transition: right 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transition: right 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.drawer--right.drawer-open .drawer-nav {
  right: 0;
}

/*!------------------------------------*\
    Hamburger
\*!------------------------------------*/
.drawer-hamburger {
  position: relative;
  z-index: 1100;
  display: block;
  width: 70px;
  height: 70px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.drawer-hamburger:hover {
  opacity: 0.85;
  background-color: transparent;
}

.drawer-hamburger-icon {
  position: relative;
  display: block;
  width: 70px;
  height: 70px;
  margin: 0;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 28px 3px no-repeat,
    url("../images/humberger_back@2x.webp") center / contain no-repeat;
  -webkit-transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
  position: absolute;
  left: 50%;
  width: 28px;
  height: 3px;
  margin-left: -14px;
  border-radius: 2px;
  background-color: #fff;
  content: "";
  -webkit-transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.drawer-hamburger-icon:before {
  top: 24px;
}

.drawer-hamburger-icon:after {
  top: 43px;
}

.drawer-hamburger-text {
  position: absolute;
  top: 100%;
  left: 50%;
  display: block;
  width: 67px;
  height: auto;
  margin-top: 2px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.drawer-open .drawer-hamburger-text {
  display: none;
}

.drawer-open .drawer-hamburger-icon {
  background: url("../images/humberger_back@2x.webp") center / contain no-repeat;
}

.drawer-open .drawer-hamburger-icon:before,
.drawer-open .drawer-hamburger-icon:after {
  top: 50%;
  margin-top: -1.5px;
}

.drawer-open .drawer-hamburger-icon:before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.drawer-open .drawer-hamburger-icon:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

@media only screen and (max-width: 1024px) {
  .drawer-hamburger {
    width: 56px;
    height: 56px;
  }
  .drawer-hamburger-icon {
    width: 56px;
    height: 56px;
    background:
      linear-gradient(#fff, #fff) center / 22px 2.5px no-repeat,
      url("../images/humberger_back@2x.webp") center / contain no-repeat;
  }
  .drawer-hamburger-icon:before,
  .drawer-hamburger-icon:after {
    width: 22px;
    height: 2.5px;
    margin-left: -11px;
  }
  .drawer-hamburger-icon:before {
    top: 19px;
  }
  .drawer-hamburger-icon:after {
    top: 34px;
  }
  .drawer-hamburger-text {
    width: 52px;
  }
  .drawer-open .drawer-hamburger-icon {
    background: url("../images/humberger_back@2x.webp") center / contain no-repeat;
  }
}

@media only screen and (max-width: 600px) {
  .drawer-hamburger {
    width: 48px;
    height: 48px;
  }
  .drawer-hamburger-icon {
    width: 48px;
    height: 48px;
    background:
      linear-gradient(#fff, #fff) center / 18px 2px no-repeat,
      url("../images/humberger_back@2x.webp") center / contain no-repeat;
  }
  .drawer-hamburger-icon:before,
  .drawer-hamburger-icon:after {
    width: 18px;
    height: 2px;
    margin-left: -9px;
  }
  .drawer-hamburger-icon:before {
    top: 16px;
  }
  .drawer-hamburger-icon:after {
    top: 30px;
  }
  .drawer-hamburger-text {
    width: 44px;
  }
}

/*!------------------------------------*\
    accessibility
\*!------------------------------------*/
.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/*!------------------------------------*\
    Container
\*!------------------------------------*/
.drawer-menu {
  padding: 40px 48px 60px;
  text-align: left;
}

.drawer-menu h2 {
  max-width: none;
  width: auto;
  margin: 0 0 36px;
  color: #fff;
  
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.0em;
  text-align: left;
}

.drawer-menu > ul {
  letter-spacing: 0;
}

.drawer-menu > ul > li {
  position: relative;
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.drawer-menu > ul > li > a {
  display: block;
  padding: 10px 0 10px 30px;
  color: #fff;
  line-height: 1.5;
}

.drawer-menu > ul > li > a:hover {
  opacity: 0.8;
}

.drawer-menu > ul > li > a::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  right: auto;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: var(--color-key2);
  font-family: inherit;
  color: transparent;
  -webkit-transform: none;
  transform: none;
}

.drawer-menu > ul > li > ul {
  margin: 0 0 12px 22px;
  letter-spacing: 0;
}

.drawer-menu > ul > li > ul > li {
  display: block;
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  font-weight:500;
  border-bottom: none;
  letter-spacing: 0;
}

.drawer-menu > ul > li > ul > li::before {
  content: none;
}

.drawer-menu > ul > li > ul > li > a {
  position: relative;
  display: block;
  padding: 8px 0 8px 30px;
  color: #fff;
}

.drawer-menu > ul > li > ul > li > a::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  width: 1rem;
  height: 1rem;
  margin-top: -5px;
  border-radius: 50%;
  background-color: var(--color-key3);
  font-family: inherit;
  color: transparent;
  -webkit-transform: none;
  transform: none;
}

@media only screen and (max-width: 1024px) {
  .drawer-nav {
    width: min(720px, 90vw);
    border-radius: 40px 0 0 40px;
  }
  .drawer--right .drawer-nav {
    right: calc(-1 * min(720px, 90vw));
  }
  .drawer-menu {
    /* header(top12 + hamburger56) の下に収める */
    padding: 88px 28px 48px;
  }
  .drawer-menu h2 {
    font-size: 2rem;
    margin-bottom: 24px;
  }
  .drawer-menu > ul > li > a {
    padding: 14px 0 14px 20px;
    font-size: 0.95rem;
  }
  .drawer-menu > ul > li > a::before {
    top: 15px;
    width: 1rem;
    height: 1rem;
  }
}

@media only screen and (max-width: 600px) {
  .drawer-nav {
    width: 92vw;
    border-radius: 28px 0 0 28px;
  }
  .drawer--right .drawer-nav {
    right: -92vw;
  }
  .drawer-menu {
    /* header(top12 + hamburger48) の下に収める */
    padding: 80px 20px 40px;
  }
  .drawer-menu h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  .drawer-menu > ul > li > a {
    padding: 12px 0 12px 22px;
    font-size: 0.9rem;
  }
}

/************************************
  footer
************************************/
footer {
  padding: 64px 0 56px;
  color: #fff;
  text-align: center;
  background-color: #172C9F;
}

footer .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .footer-logo {
  margin: 0 0 32px;
  line-height: 0;
}

footer .footer-logo img {
  display: block;
  width: min(100%, 470px);
  height: auto;
  margin: 0 auto;
}

footer .footer-site {
  margin: 0 0 36px;
}

footer .footer-site-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 10px 40px 10px 28px;
  color: var(--color-key1);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  box-sizing: border-box;
}

footer .footer-site-btn:hover {
  opacity: 1;
  background-color: var(--color-key3);
  border-color: var(--color-key3);
}

footer .footer-site-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: var(--color-key2);
  border-radius: 50%;
  background-image: url("../images/icon_yaji_r.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

footer .footer-info {
  margin: 0 0 8px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

footer .footer-info:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 600px) {
  footer {
    padding: 48px 0 80px;
  }

  footer .footer-logo {
    margin-bottom: 24px;
  }

  footer .footer-logo img {
    max-width: 320px;
  }

  footer .footer-site {
    margin-bottom: 28px;
  }

  footer .footer-site-btn {
    min-width: 0;
    width: 100%;
    max-width: 280px;
    padding: 12px 44px 12px 16px;
    font-size: 3.5vw;
  }

  footer .footer-info {
    font-size: 0.78rem;
    line-height: 1.6;
  }
}
