/* ----------------------------------------------
カラー
----------------------------------------------- */
:root {
  --color-bk: #000;
  --color-wh: #fff;
  --color-yel: #fff352;
  --color-navy: #223a70;
  --color-gray: #a6a6a6;
  --color-transparent: rgba(11, 9, 9, 0.2);
}

/* ----------------------------------------------
フォント
----------------------------------------------- */

:root {
  --font-noto: "Noto Sans JP", sans-serif;
  --font-zen: "Zen Maru Gothic", sans-serif;
  --font-en: "Montserrat", sans-serif;
}

/* ----------------------------------------------
アニメーション
----------------------------------------------- */

/* 1.フェードインアニメーションの動き */
.scrollanime {
  opacity: 0;
}

/* 一瞬表示されるのを防ぐ */
.fadeInDown {
  animation-name: fadeInDown;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}

/*2.アップダウン*/
.updown {
  transform: translateY(-100px);
}
.downup {
  transform: translateY(100px);
}

/*3.スライドイン*/

.slide-right {
  transform: translateX(50px);
}
.slide-left {
  transform: translateX(-50px);
}

.slideUp {
  animation-name: slideUp;
  animation-fill-mode: forwards;
}

@keyframes slideUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

/*4.フェードイン*/
.fadeIn {
  animation-name: fadeIn;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.slideAnimeLeftRight {
  animation-name: slideTextX100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideTextX100 {
  from {
    transform: translateX(-100%); /*要素を左外に移動*/
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.leftAnime {
  opacity: 0; /*事前に透過0にして消しておく*/
}

/*5.アニメーションの開始を遅らせる*/
.delay01 {
  animation-delay: 0.5s;
}

.delay02 {
  animation-delay: 1s;
}

.delay03 {
  animation-delay: 1.5s;
}

.delay04 {
  animation-delay: 2s;
}

.delay05 {
  animation-delay: 2.5s;
}

/* ----------------------------------------------
PC・SPの切り替え
----------------------------------------------- */
@media screen and (min-width: 769px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/* ----------------------------------------------
contents
----------------------------------------------- */
body.open {
  position: fixed;
  overscroll-behavior: none;
}

.l-container {
  position: relative;
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: 40px;
}

.l-container.-small {
  max-width: 1010px;
}

main {
  position: relative;
  overflow: hidden;
}

.bg01 {
  background: #f1efe8;
}

.bg-bk {
  background: var(--color-bk);
}

.bg-wh {
  background: var(--color-wh);
}

.bg-gray {
  background: var(--color-gray);
}

.bg-gray02 {
  background: #3a3a3a;
}

@media screen and (max-width: 768px) {
  .l-container {
    padding-inline: 20px;
  }

  main {
    position: relative;
  }
}

/* ----------------------------------------------
header
----------------------------------------------- */
.l-header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  padding: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  background: #fbfaf5;
  background: linear-gradient(
    180deg,
    rgba(251, 250, 245, 1) 0%,
    rgba(251, 250, 245, 0.33) 71%,
    rgba(251, 250, 245, 0) 100%
  );
}

.l-header.top {
  background: transparent;
}

.l-header.top.animation {
  background: #fbfaf5;
  background: linear-gradient(
    180deg,
    rgba(251, 250, 245, 1) 0%,
    rgba(251, 250, 245, 0.33) 71%,
    rgba(251, 250, 245, 0) 100%
  );
}

.p-globalNav {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 40px;
  padding-right: 40px;
  gap: 20px 0;
}

.p-header__logo {
  width: 300px;
  margin-right: auto;
  margin-top: 40px;
  margin-left: 40px;
}

.p-header__logo span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  word-break: keep-all;
  display: block;
  margin-bottom: 4px;
}

.l-header.top .p-header__logo {
  opacity: 0;
  visibility: hidden;
  transition: ease 0.4s;
}

.l-header.top.animation .p-header__logo {
  opacity: 1;
  visibility: visible;
}

.p-header__logo a {
  display: block;
}

.c-drawer {
  display: none;
}

.p-globalNav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.p-globalNav__list a {
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: ease 0.4s;
}

.p-globalNav__list a:hover {
  opacity: 1;
  color: var(--color-navy);
}

.p-globalNav__list li.contact a {
  width: 184px;
  height: 54px;
  background: var(--color-yel);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
  line-height: 1;
}

.p-globalNav__list li.contact a i {
  width: 24px;
  height: 24px;
  background: url(../img/mail-icon.svg) no-repeat center center / cover;
  transition: ease 0.4s;
}

.p-globalNav__list li.contact a:hover {
  color: var(--color-wh);
  background: var(--color-navy);
}

.p-globalNav__list li.contact a:hover i {
  background-image: url(../img/mail-icon_wh.svg);
}

.p-globalNav__sns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0 20px;
}

.p-globalNav__sns li:last-child img {
  width: 188px;
  height: auto;
}

@media screen and (max-width: 480px) {
  .l-header {
    height: 70px;
  }

  .l-header__drawerWrap.open {
    right: 10px;
  }

  .c-drawer {
    width: 50px;
    height: 50px;
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 50%;
    background: var(--color-yel);
  }

  .navbar_toggle {
    position: absolute;
    z-index: 999;
    width: 50px;
    height: 50px;
    right: 0;
    top: 0;
  }

  .navbar_toggle_icon {
    position: relative;
    display: block;
    height: 2px;
    width: 25px;
    -webkit-transition: ease 0.5s;
    transition: ease 0.5s;
    transform: translateX(-50%);
    left: 50%;
    background: var(--color-bk);
    border-radius: 2px;
  }

  .navbar_toggle_icon:nth-child(1) {
    top: 20px;
    transition: 0.4s;
  }

  .navbar_toggle_icon:nth-child(2) {
    top: 20px;
    margin-top: 6px;
    transition: 0.4s;
  }

  .c-drawer.open .navbar_toggle_icon:nth-child(1) {
    top: 24px;
    left: 13px;
    transition: 0.4s;
    transform: rotate(45deg);
  }

  .c-drawer.open .navbar_toggle_icon:nth-child(2) {
    top: 18px;
    left: 13px;
    margin-top: 4px;
    transition: 0.4s;
    transform: rotate(-45deg);
  }

  .l-header__drawerWrap {
    position: fixed;
    width: calc(100% - 20px);
    height: calc(100dvh - 20px);
    top: 10px;
    right: -100%;
    background: var(--color-yel);
    transition: ease 0.4s;
    overflow-y: scroll;
    color: var(--color-bk);
    display: flex;
    flex-direction: column;
    border-radius: 20px;
  }

  .p-globalNav {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
  }

  .p-globalNav__list {
    flex-direction: column;
    gap: 30px 0;
  }

  .p-globalNav__list li.contact a {
    background: var(--color-wh);
  }

  .p-globalNav__list li.contact {
    margin-block: 30px;
  }

  .p-header__logo {
    width: 200px;
    margin-top: 20px;
    margin-left: 20px;
  }

  .p-header__logo span {
    font-size: 6px;
  }
}

/* ----------------------------------------------
footer
----------------------------------------------- */
.l-footer {
  background: #f1efe8;
  padding-block: 80px;
}

.p-footerCopy {
  font-size: 0.875em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-en);
  margin-top: 60px;
}

.p-footerMenu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.p-footerMenu li {
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  font-size: 0.875em;
}

.p-footerMenu li a {
  transition: ease 0.4s;
}

.p-footerMenu li a:hover {
  opacity: 1;
  color: var(--color-navy);
}

.p-footerMenu__sns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 20px;
  margin-top: 40px;
}

.p-footerMenu__sns li:last-child img {
  width: 188px;
  height: auto;
}

@media screen and (min-width: 769px) {
  .l-footer {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  .l-footer {
    padding-block: 40px;
  }

  .p-footerCopy {
    font-size: 10px;
    margin-top: 40px;
  }
}

/* ----------------------------------------------
btn
----------------------------------------------- */

.c-btn__center {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
}

.c-btn__center + .c-btn__center {
  margin-top: 80px;
}

.c-btn__left {
  margin-right: auto;
  margin-left: 0;
}

.c-btn__right {
  margin-left: auto;
  width: max-content;
}

.c-btn__primary {
  width: 250px;
  height: 54px;
  background: var(--color-yel);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
  line-height: 1;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: ease 0.4s;
}

.c-btn__primary i {
  width: 37px;
  height: 37px;
  background: url(../img/arrow.svg) no-repeat center center / cover;
  transition: ease 0.4s;
}

.c-btn__primary:hover {
  background: var(--color-navy);
  color: var(--color-wh);
  opacity: 1;
}

.c-btn__primary:hover i {
  background-image: url(../img/arrow_wh.svg);
}

.c-btn__contact {
  width: 100%;
  max-width: 400px;
  height: 60px;
  background: var(--color-navy);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
  line-height: 1;
  font-size: 1.125em;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: ease 0.4s;
  color: var(--color-wh);
  font-family: var(--font-zen);
}

.c-btn__contact i {
  width: 30px;
  height: 30px;
  background: url(../img/mail-icon_wh.svg) no-repeat center center / cover;
  transition: ease 0.4s;
}

.c-btn__contact:hover {
  background: var(--color-wh);
  color: var(--color-bk);
  opacity: 1;
}

.c-btn__contact:hover i {
  background-image: url(../img/mail-icon.svg);
}

@media screen and (min-width: 769px) {
}

@media screen and (max-width: 768px) {
  .c-btn__primary {
    padding: 8px 20px;
    max-width: 250px;
    width: 100%;
    font-size: 0.875em;
  }

  .c-btn__contact {
    font-size: 1em;
    height: 50px;
  }

  .c-btn__center {
    flex-direction: column;
  }
}

/* ----------------------------------------------
title
----------------------------------------------- */

.c-heading__wrap {
  position: relative;
  width: 100%;
  padding-block: 180px 80px;
}

.c-title01 {
  margin-bottom: 60px;
  font-size: 1.875em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  position: relative;
  padding-top: 120px;
  font-family: var(--font-zen);
}

.c-title01 span {
  font-size: 0.833em;
  font-weight: 700;
  display: block;
  font-family: var(--font-en);
  color: var(--color-navy);
  margin-bottom: 10px;
}

.c-title01::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100px;
  background: var(--color-navy);
}

.c-title02 {
  font-size: 1.25em;
  font-family: var(--font-zen);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px 0;
  color: var(--color-navy);
  margin-bottom: 40px;
}

.c-title02::after {
  content: "";
  width: 60px;
  height: 2px;
  background: var(--color-navy);
}

.c-title03 {
  font-size: 1.875em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: left;
  font-family: var(--font-zen);
}

.c-title03 span {
  font-size: 0.833em;
  font-weight: 700;
  display: block;
  font-family: var(--font-en);
  color: var(--color-navy);
  margin-bottom: 10px;
}

@media screen and (min-width: 769px) {
}

@media screen and (max-width: 768px) {
  .c-title01 {
    padding-top: 80px;
    font-size: 1.3em;
  }

  .c-title01::before {
    height: 60px;
  }

  .c-title02 {
    font-size: 1.125em;
    gap: 10px 0;
    margin-bottom: 20px;
  }

  .c-title02::after {
    width: 40px;
  }

  .c-title03 {
    font-size: 1.3em;
  }
}

@media screen and (max-width: 480px) {
  .c-heading__wrap {
    padding-block: 100px 60px;
  }
}

/* ----------------------------------------------
text
----------------------------------------------- */

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

.c-text__left {
  text-align: left;
}

.c-text__right {
  text-align: right;
}

.c-text__primary {
  font-size: 1em;
  line-height: 1.875;
  letter-spacing: 0.1em;
}

.c-text__secondary {
  font-family: var(--font-zen);
  font-size: 1.5em;
  line-height: 2.083em;
  letter-spacing: 0.1em;
}

.c-text__thirdry {
  line-height: 3.125;
  letter-spacing: 0.1em;
}

.c-list__disc,
.c-list__number {
  padding-left: 1em;
  display: flex;
  flex-direction: column;
  gap: 8px 0;
  line-height: 1.8;
  word-break: break-all;
}

.c-list__disc {
  list-style-type: disc;
}

.c-list__number {
  list-style-type: decimal;
}

.indent {
  padding-left: 1.2em;
}

@media screen and (max-width: 768px) {
  .c-text__primary {
    font-size: 0.85em;
  }

  .c-text__secondary {
    font-size: 1em;
    line-height: 2.083em;
  }

  .c-text__thirdry {
    font-size: 0.85em;
    line-height: 2;
  }

  .center {
    text-align: left;
  }

  .c-list__disc,
  .c-list__number {
    font-size: 0.875em;
    line-height: 1.7;
  }

  .c-list__disc p {
    font-size: 0.875em;
  }
}

/* ----------------------------------------------
tab
----------------------------------------------- */

.js-tab__listBlock {
  border-bottom: 1px solid var(--color-red);
}

.js-tab__listBlock.wh {
  border-bottom: 1px solid var(--color-wh);
}

.js-tab__list {
  display: flex;
  justify-content: center;
  max-width: 700px;
  margin-inline: auto;
}

.js-tab__item {
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  line-height: 100px;
  color: var(--color-gray02);
  position: relative;
  font-size: 1em;
}

.js-tab__item.current {
  color: var(--color-bk);
}

.js-tab__item.current::after {
  content: "";
  width: 100%;
  height: 3px;
  background: var(--color-red);
  position: absolute;
  bottom: 0;
  left: 0;
}

@media screen and (min-width: 769px) {
}

@media screen and (max-width: 768px) {
  .js-tab__item {
    line-height: 60px;
    font-size: 1em;
  }
}

/* ----------------------------------------------
form
----------------------------------------------- */

.c-form__select select,
.c-form__inputText input[type="text"],
.c-form__inputText input[type="email"],
.c-form__inputText input[type="tel"],
.c-form__textarea {
  border: none;
  padding: 12px 16px;
  border-radius: 5px;
  font-size: 0.875em;
  font-weight: 400;
  letter-spacing: 0.1em;
  width: 100%;
  color: var(--color-bk);
  background: var(--color-wh);
}

.c-form__textarea textarea {
  width: 100%;
  resize: block;
}

.c-form__inputText input::placeholder,
.c-form__textarea textarea::placeholder {
  color: var(--color-gray);
  opacity: 0.7;
}

.c-form__select {
  position: relative;
}

.c-form__select select {
  cursor: pointer;
  color: var(--color-gray01);
  padding-right: 40px;
}

.c-form__select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 15px;
  content: "";
  width: 8px;
  height: 8px;
  border: 0;
  border-top: solid 2px #727283;
  border-right: solid 2px #727283;
  transform: rotate(135deg);
  z-index: 2;
  pointer-events: none;
}

.c-form__radiobtn {
  padding-block: 8px;
}

.c-form__radiobtn label .wpcf7-list-item-label {
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding: 0 10px 0 40px;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.c-form__radiobtn input[type="radio"] {
  display: none;
}

.c-form__radiobtn label .wpcf7-list-item-label:before {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 25px;
  height: 25px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  background-color: var(--color-wh);
}

.c-form__radiobtn input[type="radio"]:checked + .wpcf7-list-item-label:after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 13px;
  height: 13px;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--color-navy);
}

.c-btn__reset {
  width: 250px;
  height: 54px;
  background: var(--color-gray);
  color: var(--color-wh);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
  line-height: 1;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: ease 0.4s;
}

.p-contact__group + .c-btn__center {
  margin-top: 60px;
}

@media screen and (min-width: 769px) {
  .c-form__radiobtn .wpcf7-form-control {
    display: flex;
    gap: 0 40px;
  }

  .c-btn__submit:hover {
    background: var(--color-red);
    color: var(--color-wh);
  }

  .c-btn__reset:hover {
    background: var(--color-bk);
    color: var(--color-wh);
  }
}

@media screen and (max-width: 768px) {
  .c-form__radiobtn .wpcf7-form-control {
    display: flex;
    flex-direction: column;
    gap: 16px 0;
  }

  .c-btn__submit:active {
    background: var(--color-red);
    color: var(--color-wh);
  }

  .c-btn__reset:active {
    background: var(--color-bk);
    color: var(--color-wh);
  }
}

/* ----------------------------------------------
Utility
----------------------------------------------- */

.u-visuallyhidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
}

.u-scrollPrevent {
  position: fixed;
  z-index: -1;
  width: 100%;
}
