@charset "utf-8";
/* CSS Document */

:root {
  /* var(--color-primary) */
  --color-primary: #26156c;
  /* var(--color-white) */
  --color-white: #fff;
  /* var(--color-important) */
  --color-important: #c03300;
  /* var(--color-table) */
  --color-table: #6ca8bf;
  /* var(--color-caution) */
  --color-caution: #ffd500;

  /* 3.5 - 4.5 */ /* var(--fontSize-ll) */
  --fontSize-ll: clamp(3.5rem, 3.01rem + 2.09vw, 4.5rem);
  /* 2.5 - 3.5 */ /* var(--fontSize-l) */
  --fontSize-l: clamp(2.5rem, 2.01rem + 2.09vw, 3.5rem);
  /* 2.0 - 2.5 */ /* var(--fontSize-m) */
  --fontSize-m: clamp(2rem, 1.755rem + 1.05vw, 2.5rem);
  /* 1.8 */ /* var(--fontSize-s) */
  --fontSize-s: 1.8rem;
  /* 1.6 */ /* var(--fontSize-basic) */
  --fontSize-basic: 1.6rem;
  /* 1.4 */ /* var(--fontSize-basic) */
  --fontSize-ss: 1.4rem;
}

/* =================================================================
 * 
 *  共通
 * 
 * ================================================================= */

html {
  font-size: 62.5%; /*16px × 62.5=10px*/
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", "Noto Sans JP", sans-serif;
  color: var(--color-primary);
  font-size: var(--fontSize-basic);
  font-weight: 600; /* regular-400 bold-600 black-700 */
  font-feature-settings: "palt";
  line-height: 1.8;
  background-color: var(--color-white);
  word-break: break-all;
}

main {
  position: relative;
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: currentColor;
  text-decoration: none;
  transition: all 0.2s;
}

a:hover,
a:focus {
  opacity: 0.7;
}

.text-center {
  text-align: center;
}

.indent {
  padding-left: 1em;
  text-indent: -1em;
}

.text-capitalize {
  text-transform: capitalize;
}

.text-uppercase {
  text-transform: uppercase;
}

/* デバイスごとの非表示
 * ====================== */

/* sp */
.tb {
  display: none;
}
.pc {
  display: none;
}

/* tb */
@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
  .tb {
    display: block;
  }
  .pc {
    display: none;
  }
}

/* pc */
@media screen and (min-width: 960px) {
  .sp {
    display: none;
  }
  .tb {
    display: none;
  }
  .pc {
    display: block;
  }
}

/* セクション
 * ====================== */

.section {
  padding: 60px 0 0;
}
@media screen and (min-width: 768px) {
  .section {
    padding: 120px 0 0;
  }
}

.section__inner {
  width: 100%;
  margin-inline: auto;
  padding-left: 15px;
  padding-right: 15px;
}
@media screen and (min-width: 768px) {
  .section__inner {
    max-width: 1140px;
  }
}

/* 見出しと説明
 * ====================== */

.primaryTitle {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 30px;
  font-size: var(--fontSize-ll);
  text-align: center;
  background-image: url(../img/title-bg.png);
  background-position: center;
  background-size: 110%;
}
@media screen and (min-width: 475px) {
  .primaryTitle {
    background-size: auto;
  }
}

.secondaryTitle {
  margin-bottom: 30px;
  font-size: var(--fontSize-l);
  text-align: center;
}

.secondaryTitle__discription {
  margin-bottom: 40px;
  width: fit-content;
  margin-inline: auto;
  font-size: var(--fontSize-m);
}

/* リストスタイル
 * ====================== */

ul li {
  list-style: none;
}

.disc {
  list-style: disc;
  margin-left: 1em;
}

.circle {
  list-style: circle;
  margin-left: 1em;
}

/* 文字 強調 強弱
 * ====================== */

.text-important {
  color: var(--color-important);
}

.text-caution {
  color: var(--color-caution);
}

/* header
 * ====================== */

.header {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
@media screen and (min-width: 768px) {
  .header {
    height: 100px;
  }
}

.header__inner {
  display: flex;
  height: inherit;
  max-width: 1920px;
  margin-inline: auto;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
}

.header__right {
  display: flex;
  gap: 20px;
}

.header__logo {
  display: inline-block;
  width: 50px;
  height: 50px;
}
@media screen and (min-width: 768px) {
  .header__logo {
    width: 70px;
    height: 70px;
  }
}

.header__nav {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: var(--color-white);
  transition: ease 0.4s;
  z-index: 999;
}

.header__nav-items {
  padding-top: 20vh;
}

.header__nav-item {
  margin-right: auto;
  margin-left: auto;
  width: 90%;
  max-width: 500px;
  text-align: center;
}

.header__nav-item a {
  display: inline-block;
  width: 100%;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: solid 2px var(--color-table);
  color: var(--color-primary);
  text-align: center;
  font-weight: bold;
  font-size: var(--fontSize-m);
  text-decoration: none;
}

.header__nav-item:last-child a {
  margin-bottom: 0;
}

/* ハンバーガー
 * ====================== */
.header__hamburger {
  width: 30px;
}
@media screen and (min-width: 768px) {
  .header__hamburger {
    width: 50px;
  }
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
  cursor: pointer;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: var(--color-primary);
  position: relative;
  transition: ease 0.4s;
  display: block;
}
@media screen and (min-width: 768px) {
  .hamburger span {
    width: 50px;
  }
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 10px 0;
}
@media screen and (min-width: 768px) {
  .hamburger span:nth-child(2) {
    margin: 15px 0;
  }
}

.hamburger span:nth-child(3) {
  top: 0;
}

.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}
@media screen and (min-width: 768px) {
  .hamburger.active span:nth-child(1) {
    top: 15px;
  }
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -14px;
  transform: rotate(-45deg);
}
@media screen and (min-width: 768px) {
  .hamburger.active span:nth-child(3) {
    top: -20px;
  }
}

.header__nav-box-mask.active {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 998;
  background: rgba(0, 0, 0, 0.55);
  transition: ease 0.4s;
}

/* 立体ボタン */
.standout-button {
  box-sizing: border-box;
  text-align: center;
  padding: 0 1rem;
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: var(--fontSize-s);
  border: solid 2px var(--color-primary);
  border-radius: 10px;
  border-bottom: 7px solid var(--color-primary);
  transition: all 0.1s ease;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .standout-button {
    padding: 0 2rem;
    font-size: var(--fontSize-m);
  }
}

.standout-button:hover,
.standout-button:focus {
  transform: translateY(4px);
  border-bottom: 2px solid var(--color-primary);
  opacity: 1;
}

/* ページトップ
 * ====================== */

#page-top {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-white);
  border-radius: 50%;
  border: solid 2px var(--color-primary);
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}

#page-top {
  position: fixed;
  right: 15px;
  z-index: 2;
  opacity: 0;
  transform: translateY(100px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

#page-top::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f062";
  font-size: 30px;
  color: var(--color-primary);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

#page-top:hover,
#page-top:hover::before {
  opacity: 0.7;
}

#page-top:hover {
  border-color: rgba(38, 21, 108, 0.7);
}

#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}

.reset-hover::before {
  opacity: 1 !important;
}

/* footer
 * ====================== */

.footer-section {
  margin-top: 90px;
  padding: 20px 0 10px 0;
  border-top: solid 1px var(--color-primary);
  background-color: var(--color-white);
}
@media screen and (min-width: 768px) {
  .footer-section {
    margin-top: 120px;
  }
}

.footer {
  text-align: center;
}

.footerNav {
  margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
  .footerNav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: fit-content;
    margin-inline: auto;
  }
}

.footerNav li {
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .footerNav li {
    margin-bottom: 0;
  }
}

.footerNav a:hover,
.footerNav a:focus {
  opacity: 1;
  border-bottom: solid 1px var(--color-primary);
}

/* sns
 * ====================== */

.sns__text {
  margin-bottom: 40px;
  font-size: var(--fontSize-m);
  text-align: center;
}

.snsBtn__wrapper {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.snsBtn {
  width: 60px;
  height: 60px;
}
