@charset "UTF-8";

/* ===============================================
共通
=============================================== */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

:root {
  --m-color: #c8d7ff;
  --m-color-rgb: 200, 215, 255;
  --bs-color: #fffaf2;
  --ac-color: #ffef94;
  --txt-color: #2a1301;
  --en-font: "Montserrat", "sans-serif";
  --border: 1px solid #2a1301;
  --radius: 20px;
}

body {
  color: var(--txt-color);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.noto-color-emoji-regular {
  font-family: "Noto Color Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
}

figure {
  width: 100%;
}

img {
  max-width: 100%;
}

/* 文字の大きさ */
h1 {
  font-size: clamp(22px, (5vw), 26px);
  font-weight: 700;
  color: #fff5e1;
  -webkit-text-stroke: 1px #acc2ff;
  line-height: 1.25;
}

h2 {
  font-size: 3.2rem;
  font-weight: bold;
  margin: 0 0 5.6rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2.2rem;
}

.txt_large {
  font-size: 2.6rem;
}

.text-medium {
  font-size: 2.4rem;
}

.text-small {
  font-size: 1.4rem;
}

.text-center {
  text-align: center;
}

.ac-color {
  color: var(--ac-color);
}

.block {
  display: inline-block;
}

.flex {
  display: flex;
}

@media screen and (max-width: 769px) {
  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2.2rem;
  }

  h4 {
    font-size: 1.8rem;
  }

  .txt_large {
    font-size: 2rem;
  }

  .text-medium {
    font-size: 1.8rem;
  }

  .text-small {
    font-size: 1.3rem;
  }

  .flex {
    display: block;
  }
}

p {
  margin-top: 8px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .container {
    margin: 0 6%;
  }

  section {
    margin-bottom: 6%;
  }
}

.sp-only {
  display: none;
}

@media screen and (max-width: 765px) {
  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: block;
  }
}

ul {
  list-style-type: none;
}

.block {
  display: block;
}

.link {
  position: relative;
}

.link.line {
  text-decoration: underline;
}

.link::after {
  content: "";
  display: block;
  mask-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.3125 1.40625H13.5938V4.6875M12.8906 2.10938L9.375 5.625M7.96875 2.34375H3.75C3.37704 2.34375 3.01935 2.49191 2.75563 2.75563C2.49191 3.01935 2.34375 3.37704 2.34375 3.75V11.25C2.34375 11.623 2.49191 11.9806 2.75563 12.2444C3.01935 12.5081 3.37704 12.6562 3.75 12.6562H11.25C11.623 12.6562 11.9806 12.5081 12.2444 12.2444C12.5081 11.9806 12.6562 11.623 12.6562 11.25V7.03125' stroke='%232A1301' stroke-width='0.9375' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  mask-size: contain;
  mask-repeat: no-repeat;
  background: var(--txt-color);
  width: calc(20 / 16 * 1rem);
  height: calc(20 / 16 * 1rem);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(2rem, -45%);
}

.link:hover::after,
.mbti:hover .link::after {
  background: #fff;
  transition: 0.5s;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .link::after {
    right: 3%;
    top: 50%;
    transform: translate(2rem, -40%);
  }
}

/*------------------*
ヘッダー
------------------*/
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
}

.nav_container {
  width: 90%;
  max-width: 1350px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-top: 1px solid var(--txt-color);
  border-bottom: 1px solid var(--txt-color);
  position: relative;
  padding: 1.5% 0;
}

.nav__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__item {
  cursor: pointer;
  transition: 0.3s;
}

@media (hover: hover) {
  .nav_icon:hover {
    transform: translateY(-5px);
    color: var(--m-color);
    transition: 0.3s;
  }
}

h1 {
  position: absolute;
  left: 0;
}

.nav_icon {
  display: flex;
  gap: 3px;
  align-items: center;
  padding-right: 3.2rem;
  font-size: 2rem;
}

/* sp 679px */
@media screen and (max-width: 679px) {
  h1 {
    position: unset;
    left: unset;
  }

  .header__hamburger {
    width: 42px;
    height: 100%;
  }

  .hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
  }
  .nav_container {
    width: 100%;
    justify-content: space-between;
    border-top: transparent;
    border-bottom: transparent;
    padding: 6% 4% 4%;
  }

  .hamburger span {
    width: 100%;
    height: 1px;
    background-color: var(--txt-color);
    position: relative;
    transition: ease 0.4s;
    display: block;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    margin: 8px 0;
  }
  .hamburger span:nth-child(3) {
    top: 0;
  }

  .header_nav.active {
    transform: translateX(0);
    z-index: 1;
  }

  .hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
  }

  .header_nav {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    background-color: var(--m-color);
    transition: 0.3s;
  }

  .nav__item {
    display: block;
    text-align: center;
    margin: 128px auto;
    width: 50%;
  }

  .nav_icon {
    justify-content: center;
    margin-bottom: 32px;
    color: var(--txt-color);
    background-color: #fff;
    font-size: 2rem;
    font-weight: bold;
    border: var(--border);
    border-radius: 50px;
    padding: 0.5rem 1.6rem 0.8rem;
  }
}
/* 679px */

@media (min-width: 768px) and (max-width: 1024px) {
  .nav_container {
    justify-content: flex-end;
  }
}

/*------------------*
トップへ戻る
------------------*/
.btn_page_top {
  position: fixed;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--ac-color);
  right: 5%;
  bottom: 3vh;
}

.btn_page_top::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-top: var(--border);
  border-right: var(--border);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%) rotate(-45deg);
}

/*------------------*
footer
------------------*/
footer p {
  text-align: center;
  margin: 24px 0;
}

/* 共通ここまで */
