/* max-width 1000px
   height auto

   【スマホ切り替え】
   768px
*/

/*****************************************************************************
****************** 共通 ******************************************************
*****************************************************************************/
:root {
  --contents-width-big: 1150px;
  --contents-width-middle: 1000px;
  --color-main: #007033;
  --color-main-sub: #e84729;
  --font-weight-regular: 400;
  --font-weight-bold: 700;
  --header-height-pc: 125px;
  --header-height-sp: 81px;
}
.yu-mincho {
  font-family:
    "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN",
    "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 500;
}
.baskervville {
  font-family: "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* 上部にオフセット値を付与(固定ヘッダー用) */
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 105px; /* スマホ時のヘッダー高さ */
  }
}
body {
  -webkit-print-color-adjust: exact;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
body a,
body ::before,
body ::after,
body a img,
button {
  outline: none;
  text-decoration: none;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
body a {
  color: #3c3c3c;
}
body *:focus {
  outline: none;
}
body img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
body a:hover img {
  text-decoration: none;
  /*opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";*/
}
body p {
  text-align: justify;
  line-height: 160%;
}
ul,
li,
span {
  line-height: 160%;
}
/* html,bodyタグの設定 */
html,
body {
  width: 100%;
}

body .site {
  max-width: 100%;
  width: auto;
}

h2,
h3,
h4 {
  line-height: 160%;
}
@media screen and (max-width: 767px) {
}

#page {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
#page.is-active {
  opacity: 1;
}

/*****************************************************************************
****************** ヘッダー **************************************************
*****************************************************************************/
header {
  width: 100%;
  position: fixed;
  z-index: 5;
}
header #header {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 0 0 30px 30px;
  max-width: 425px;
  width: auto;
  margin-left: auto;
  margin-right: 1rem;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
header #header h1 {
  max-width: 200px;
  width: auto;
}
#header .menu-box {
  display: flex;
  align-items: center;
  gap: 2rem;
}
#header .menu-box .search-button {
  max-width: 48px;
  width: 100%;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
#header .menu-box .search-button > button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
@media screen and (min-width: 768px) {
  #header .menu-box .search-button:hover {
    max-width: 56px;
    margin-top: -7.5px;
    margin-right: -4px;
  }
}
@media screen and (max-width: 767px) {
  header #header {
    margin-right: auto;
  }
  header #header h1 {
    max-width: 193px;
  }
  #header .menu-box {
    gap: 1rem;
  }
}

/********* modal-search調整 *********/
.modalArea {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.4s;
}
.modalBg {
  width: 100%;
  height: 100%;
  background-image: url(../img/common/img-search-back.webp);
  background-repeat: no-repeat;
  background-size: cover;
}
.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  max-width: var(--contents-width-middle);
  padding: 2rem 3rem;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 30px;
}
.refine_search_wrap .search-text {
  border: 1px solid #3c3c3c;
  border-radius: 5px;
  display: flex;
  overflow: hidden;
  max-width: 545px;
  width: auto;
  margin: 0 auto;
}
.refine_search_wrap .search-text input.empty {
  background-color: #fff;
  border: 0;
  font-size: 16px;
  width: 100%;
  padding: 0.7rem 1rem;
}
.refine_search_wrap .search-text button {
  background-color: #fff;
  border: 0;
  cursor: pointer;
  padding: 0 17px;
  width: 60px;
  margin: 0 auto;
  position: relative;
}
.refine_search_wrap .search-text button::before {
  content: "";
  display: block;
  width: 1px;
  height: 90%;
  background-color: #3c3c3c;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.refine_search_wrap .search-inner {
  margin-top: 2rem;
}
.refine_search_wrap .search-inner .search-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
.refine_search_wrap .search-inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.refine_search_wrap .search-inner ul label.cp_label {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.refine_search_wrap .search-inner ul label.cp_label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.refine_search_wrap .search-inner ul label.cp_label span {
  display: inline-block;
  background-color: #fff;
  border-radius: 30px;
  font-size: 14px;
  letter-spacing: 2px;
  padding: 0 0.5rem 0.1rem;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.refine_search_wrap .search-inner ul label.cp_label input:checked + span {
  background-color: #000;
  color: #fff;
}
.refine_search_wrap .search-inner ul label.cp_label input:focus-visible + span {
  outline: 2px solid #333;
  outline-offset: 2px;
}

.closeModal {
  position: absolute;
  top: 1rem;
  right: 2rem;
  cursor: pointer;
  width: 54px;
}
.is-show {
  visibility: visible;
  opacity: 1;
}
@media screen and (max-width: 1040px) {
  .modalWrapper {
    padding-top: 6rem;
  }
}
@media screen and (max-width: 767px) {
  .modalWrapper {
    width: 85%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .refine_search_wrap .search-text button {
    padding: 0 10px;
    width: 50px;
  }
  .refine_search_wrap .search-inner .search-item {
    display: block;
  }
  .refine_search_wrap .search-inner .search-item p {
    font-size: 15px;
    text-align: center;
  }
  .refine_search_wrap .search-inner ul {
    font-size: 14px;
    margin-top: 0.5rem;
  }
}

/********* drawer調整 *********/
.drawer-hamburger {
  width: 41px;
  padding: 0;
  position: relative;
  z-index: 9;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.drawer--right.drawer-open .drawer-hamburger img.menu-b,
.drawer--right .drawer-hamburger img.close {
  display: none;
}
.drawer--right.drawer-open .drawer-hamburger {
  right: 0;
}
.drawer--right.drawer-open .drawer-hamburger img.close {
  display: block;
  opacity: unset;
}
.drawer--right .drawer-nav {
  background-image: url(../img/common/img-menu-back.webp);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  padding: 10rem 7rem 0;
  touch-action: pan-y !important;
  overflow: auto;
  right: -100%;
  z-index: 8;
}
.drawer--right .drawer-nav ul {
  max-width: 330px;
  width: auto;
  margin-left: auto;
}
.drawer--right .drawer-nav ul.menu-list li.item {
  margin-bottom: 2rem;
}
.drawer--right .drawer-nav ul.menu-list li.item span {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}
.drawer--right .drawer-nav ul a {
  color: #fff;
  display: block;
  font-size: 12px;
  position: relative;
}
.drawer--right .drawer-nav ul.menu-list li.item a::before,
.drawer--right .drawer-nav ul.menu-list li li a::before {
  content: "";
  position: absolute;
  bottom: 0.85rem;
  right: 0;
  width: 13px;
  height: 0;
  border-top: 1px solid #fff;
  transform: rotate(25deg) scale(0);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer--right .drawer-nav ul.menu-list li.item a::after,
.drawer--right .drawer-nav ul.menu-list li li a::after {
  content: "";
  position: absolute;
  bottom: 0.7rem;
  left: calc(330px - 173px);
  width: 173px;
  height: 1px;
  background-color: #fff;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer--right .drawer-nav ul.menu-list li.item a:hover::before,
.drawer--right .drawer-nav ul.menu-list li li a:hover::before {
  transform: rotate(25deg) scale(1);
  transition-delay: 0.2s;
}
.drawer--right .drawer-nav ul.menu-list li.item a:hover::after,
.drawer--right .drawer-nav ul.menu-list li li a:hover::after {
  clip-path: inset(0 0 0 0);
}
.drawer--right .drawer-nav ul.sns-menu-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.drawer--right .drawer-nav ul.sns-menu-list li.ttl {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.drawer--right .drawer-nav ul.sns-menu-list li a {
  display: block;
  max-width: 34px;
  width: auto;
}
.drawer--right .drawer-nav ul.sns-menu-list li a::before,
.drawer--right .drawer-nav ul.sns-menu-list li a::after {
  content: none !important;
}
.drawer--right .drawer-nav ul.sns-menu-list li a img.f-menu {
  display: none;
}
@media screen and (min-width: 768px) {
  .drawer-hamburger:hover {
    width: 49px;
    margin-top: -8px;
    margin-left: -4px;
    margin-right: -4px;
  }
}
@media screen and (max-width: 767px) {
  .drawer--right .drawer-nav {
    padding: 6rem 3rem 3rem;
  }
  .drawer--right .drawer-nav ul {
    max-width: none;
  }
  .drawer--right .drawer-nav ul a {
    width: fit-content;
  }
  .drawer--right .drawer-nav ul.menu-list li a::before,
  .drawer--right .drawer-nav ul.menu-list li a::after {
    content: none !important;
  }
}

/*****************************************************************************
****************** メイン ****************************************************
*****************************************************************************/
main {
}
@media screen and (max-width: 767px) {
  main {
  }
}

/****************** お問い合わせ *****************/
.contact-wrapper {
  height: auto;
  scroll-snap-align: end;
  padding-top: 5rem;
}
.contact-wrapper .c-inner {
  max-width: var(--contents-width-middle);
  width: auto;
  margin: 0 auto;
  letter-spacing: 2px;
}
.contact-wrapper .c-inner-item {
  max-width: 900px;
  width: auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 290px 1fr;
  align-items: center;
  gap: 2rem 7rem;
}
.contact-wrapper .c-inner-item h2 {
  font-size: 40px;
  line-height: 80%;
  text-align: center;
}
.contact-wrapper .c-inner-item h2 span {
  font-size: 16px;
}
.contact-wrapper .c-inner-item h3 {
  font-size: 28px;
}
.contact-wrapper .c-inner-item a {
  background-color: #fff;
  display: block;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  padding: 1.5rem 1rem;
  position: relative;
}
.contact-wrapper .c-inner-item a:hover {
  color: #fff;
  background-color: #000;
}
.contact-wrapper .c-inner-item a::before {
  content: "Contact Us";
  display: block;
  font-size: 38px;
  opacity: 0.05;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
}
.contact-wrapper .c-inner-item p {
  font-size: 22px;
  font-weight: var(--font-weight-regular);
  line-height: 250%;
}
.contact-wrapper .c-inner-link {
  max-width: 900px;
  width: auto;
  margin: 5rem auto 0;
}
.contact-wrapper .c-inner-link h2 {
  font-size: 40px;
  line-height: 80%;
  text-align: center;
  max-width: 290px;
  width: auto;
}
.contact-wrapper .c-inner-link h2 span {
  font-size: 16px;
}
.contact-wrapper .c-inner-link .link-item {
  display: grid;
  grid-template-columns: 480px 310px;
  gap: 2rem;
  margin-top: 2rem;
}
.contact-wrapper .c-inner-link .link-item .ttl {
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}
.contact-wrapper .c-inner-link .link-item a.ec {
  background-color: #fff;
  display: grid;
  grid-template-columns: 1fr 228px;
  align-items: center;
  gap: 1rem;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  padding: 1.5rem 1rem;
  position: relative;
}
.contact-wrapper .c-inner-link .link-item .sns-item a,
.contact-wrapper .c-inner-link .link-item .sns-item p {
  /* 1. Gridアイテムの最小サイズ制約をリセットする */
  min-width: 0;

  /* 2. 単語の途中で変な改行が入るのを防ぐ場合 */
  word-break: normal;
  overflow-wrap: break-word;
  white-space: nowrap;
}
.contact-wrapper .c-inner-link .link-item .sns-item a {
  background-color: #fff;
  display: grid;
  grid-template-columns: 135px 36px 42px;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  padding: 0.5rem 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.contact-wrapper .c-inner-link .link-item a span {
  display: inline-block;
  width: 42px;
  height: 42px;
  background-color: #fff;
  border: 1px solid #3c3c3c;
  border-radius: 50%;
  position: relative;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.contact-wrapper .c-inner-link .link-item a.ec span {
  margin-top: 1rem;
}
.contact-wrapper .c-inner-link .link-item a:hover span {
  background-color: #00b1b8;
  border-color: #00b1b8;
}
.contact-wrapper .c-inner-link .link-item a span::before,
.contact-wrapper .c-inner-link .link-item a span::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  left: 0;
  right: 0;
  margin: auto;
  width: 9.7px;
  height: 2px;
  border-radius: 9999px;
  background-color: #3c3c3c;
  transform-origin: calc(100% - 0.5px) 50%;
}
.contact-wrapper .c-inner-link .link-item a span::before {
  transform: rotate(45deg);
}
.contact-wrapper .c-inner-link .link-item a span::after {
  transform: rotate(-45deg);
}
.contact-wrapper .c-inner-link .link-item a:hover span::before,
.contact-wrapper .c-inner-link .link-item a:hover span::after {
  background-color: #fff;
}
@media screen and (max-width: 999px) {
  .contact-wrapper .c-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media screen and (max-width: 940px) {
  .contact-wrapper .c-inner-link h2 {
    margin: 0 auto;
  }
  .contact-wrapper .c-inner-link .link-item {
    display: block;
    max-width: 480px;
    width: auto;
    margin: 2rem auto 0;
  }
  .contact-wrapper .c-inner-link .link-item a.ec {
    max-width: 480px;
    width: auto;
    margin: 0 auto 2rem;
  }
}
@media screen and (max-width: 767px) {
  .contact-wrapper .c-inner-item {
    grid-template-columns: none;
  }
  .contact-wrapper .c-inner-item h2 {
    font-size: 30px;
    order: 1;
  }
  .contact-wrapper .c-inner-item h3 {
    display: none;
  }
  .contact-wrapper .c-inner-item a {
    max-width: 270px;
    width: 100%;
    margin: 0 auto;
    order: 3;
  }
  .contact-wrapper .c-inner-item p {
    font-size: 18px;
    order: 2;
  }
  .contact-wrapper .c-inner-link h2 {
    max-width: none;
  }
  .contact-wrapper .c-inner-link .link-item a.ec {
    grid-template-columns: 145px 1fr;
    margin-bottom: 1.5rem;
  }
  .contact-wrapper .c-inner-link .link-item .sns-item {
    max-width: 309px;
    width: auto;
  }
  .contact-wrapper .c-inner-link .link-item .sns-item a {
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .contact-wrapper .c-inner-link .link-item a span {
    width: 37px;
    height: 37px;
    background-color: #00b1b8;
    border-color: #00b1b8;
  }
  .contact-wrapper .c-inner-link .link-item a span::before,
  .contact-wrapper .c-inner-link .link-item a span::after {
    background-color: #fff;
  }
}

/*****************************************************************************
****************** フッター **************************************************
*****************************************************************************/
footer {
  background-image: url(../img/common/img-footer-back.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
  padding: 1rem 0 3rem;
  height: auto;
  scroll-snap-align: end;
}
footer .wave {
  width: 75%;
  margin-left: auto;
}
footer .wave svg {
  width: 100%;
}
footer .wave svg .cls-mask-target {
  mask: url(#mask-gray);
}
footer .wave svg .cls-path-gray {
  fill: none;
  stroke: #7197a3;
  stroke-width: 0.5px;
  stroke-miterlimit: 10;
  stroke-dasharray: var(--path-length);
  stroke-dashoffset: var(--path-length);
}
footer .wave svg.is-animated .cls-path-gray {
  animation: draw 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
footer .wave svg .cls-rect-gray {
  stroke-miterlimit: 10;
  fill: url(#line-gradient-gray);
  stroke: #fff;
  stroke-width: 1.5px;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
footer .f-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 4rem;
  align-items: end;
  max-width: var(--contents-width-middle);
  width: auto;
  margin: 0 auto;
  padding-top: 6.5rem;
  position: relative;
}
footer .f-inner .page-top {
  max-width: 55px;
  width: auto;
  position: absolute;
  top: -7rem;
  right: -5rem;
  z-index: 3;
}
footer .f-inner .page-top.is-fixed {
  position: fixed;
  top: auto;
  right: auto;
  bottom: 50px;
}
footer .f-inner ul.menu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}
footer .f-inner ul.menu-list li span {
  color: #7198a4;
  font-size: 22px;
  font-weight: 600;
}
footer .f-inner ul.menu-list li a {
  display: block;
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: 0.2rem;
  position: relative;
  width: fit-content;
}
footer .f-inner ul.sns-menu-list {
  display: none;
}
footer .info {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 1.5rem;
  align-items: end;
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 385px;
  width: auto;
}
footer .info > a {
  display: block;
  max-width: 177px;
  width: auto;
}
footer .info ul {
  font-size: 12px;
  margin-top: 0.5rem;
}
footer .info ul li {
  margin-top: 0.3rem;
}
@media screen and (max-width: 1165px) {
  footer .f-inner .page-top {
    top: 10rem;
    right: 0;
  }
}
@media screen and (max-width: 999px) {
  footer .f-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  footer .info {
    right: 1rem;
  }
}
@media screen and (max-width: 940px) {
  footer .f-inner .page-top {
    top: -1rem;
    right: 1rem;
  }
  footer .f-inner {
    display: block;
  }
  footer .info {
    position: relative;
    justify-content: center;
    margin: 3rem auto 0;
  }
}
@media screen and (max-width: 767px) {
  footer {
    background-image: url(../img/common/img-footer-back-sp.webp);
    padding-top: 3rem;
  }
  footer .wave {
    width: 100%;
  }
  footer .f-inner {
    padding-top: 2rem;
  }
  footer .f-inner .page-top {
    max-width: 48px;
  }
  footer .f-inner ul.menu-list {
    display: block;
  }
  footer .f-inner ul.menu-list > li {
    margin-bottom: 1rem;
  }
  footer .info {
    grid-template-columns: 210px 1fr;
    gap: 0.5rem;
    right: auto;
  }
  footer .info .goals {
    order: 2;
  }
  footer .info .info-inner {
    order: 1;
  }
}

/*****************************************************************************
****************** パソコン、スマホ版表示・非表示 *******************************
*****************************************************************************/
@media screen and (min-width: 768px) {
  .pc-hidden {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .sp-hidden {
    display: none;
  }
}

/* telリンク調整 */
@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/* reCAPTCHA非表示 */
.grecaptcha-badge {
  visibility: hidden;
}
