@charset 'utf-8';

/*style.css*/


:root {
  --base-color: #fffbf5;
  --base-color1: #ffe3e4;
  --base-color2: #9db4ee;
  --base-color3: #fdfdfd;
  --base-color4: #fafabf;
  --base-color5: #ffa69e;
  --base-color6: #90cea3;
  --base-color7: #c2d4c0;
  --text-color: #56494c;
  --text-color2: #fff;
  --text-color3: #7a6f72;
}/*記入例
  div{
    background-color: var(--link-color);
  }
  */

html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  overflow-x: hidden;
  color: var(--text-color3);
  font-weight: 400;
  font-size: 1.4rem;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  text-decoration: none;
  background-repeat: no-repeat;
  background-color: var(--base-color);
}


body.no-scroll {
  overflow-y: hidden;
}



#main {
  overflow: hidden;
}

/* contents幅
 ****************************************/

.inner {
  width: min(85%, 600px);

  margin-inline: auto;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  .inner {
    width: min(90%, 780px);
  }
}

/* 960px～（パソコン）
--------------------------------------- */
@media (min-width: 960px) {
  .inner {
    width: min(100%, 1200px);

    margin-inline: auto;
  }
}

/* フルサイズ
 ****************************************/

.full-width {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}


/* 960px～（パソコン）
--------------------------------------- */
@media (min-width: 960x) {
  .full-width {
    width: 100%;

    margin-inline: auto;
  }
}

/* センター寄せ
 ****************************************/

.center {
  text-align: center;
}

/* 上下左右中央
 ****************************************/

.middle {
  display: flex;
  justify-content: center;
  align-items: center;
}


.is-inview {
  opacity: 1;
}

.scroll-up {
  z-index: 8888;
  visibility: hidden;
  opacity: 0;
  transition: all 1s;

  translate: 0 50px;
}

.scroll-up.is-show {
  z-index: 8887;
  visibility: visible;
  opacity: 1;
  position: relative;

  translate: 0 0;
}



/*フェードイン-------------------------------------*/
.fade {
  opacity: 1;
  transition: .5s;

  translate: 0, 20px;
}

.fade.active {
  opacity: 1;

  translate: 0 0;
}

/*文字の色変更----------------------------------------------------*/

.multiply {
  mix-blend-mode: multiply;
}

/*カレント*/
.is-current {
  color: #4f9666;
  background-color: #4f9666;
}

/*ローディング*/
.loading {
  z-index: 99999999;
  display: grid;
  position: fixed;
  width: 100vw;
  height: 100vh;
  font-weight: 500;
  font-size: 2.5rem;
  font-family: 'Zen Maru Gothic', sans-serif;
  background-color: var(--base-color);

  place-content: center;
}


#top-swiper,
#anime {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* .active クラスが付与されたら表示状態にする */
#top-swiper.active,
#anime.active {
    opacity: 1;
    
}

/*ローディング画像*/
.loading img {
  padding-bottom: 30px;
  width: 100px;
  animation: fuwafuwa 1s infinite ease-in-out .2s alternate;
}

/*ローディング画像アニメーション*/
@keyframes fuwafuwa {
  0% {
    transform: translate(0, 0) rotate(-3deg);
  }
  50% {
    transform: translate(0, -3px) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(3deg);
  }
}

/* JS が無効なときのスタイル */
@media (scripting: none) {
  .loading {
    display: none;
  }
  .hidden {
    display: block;
  }
}

/*ローディング文字*/
.loading-text {
  font-size: 1.5rem;
  animation: 1s flashing infinite;
}

/*フラッシュアニメーション*/
@keyframes flashing {
  50% {
    opacity: .9;
  }
}

#anime {
  opacity: 0;
}

#anime.active {
  opacity: 1;
}

.loading-text p {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*ローディング文字色*/
.loading-text span {
  color: var(--base-color6);
  font-weight: 500;
  font-size: 1.3em;
  animation: animation-loading-text 1s infinite;
}

/*アニメーションを開始秒数*/
.loading-text span:nth-of-type(2) {
  animation-delay: .1s;
}

.loading-text span:nth-of-type(3) {
  animation-delay: .2s;
}

.loading-text span:nth-of-type(4) {
  animation-delay: .3s;
}

.loading-text span:nth-of-type(5) {
  animation-delay: .4s;
}

.loading-text span:nth-of-type(6) {
  animation-delay: .5s;
}

.loading-text span:nth-of-type(7) {
  animation-delay: .6s;
}

.loading-text span:nth-of-type(8) {
  animation-delay: .7s;
}

.loading-text span:nth-of-type(9) {
  animation-delay: .8s;
}

.loading-text span:nth-of-type(10) {
  animation-delay: .9s;
}

@keyframes animation-loading-text {
  50% {
    transform: translateY(10px);
  }
}


/* ヘッター
 ****************************************/

#header {
  width: 100%;
  height: 70px;
  background-color: var(--base-color);
}

/* 768px～（タブレット）
--------------------------------------- */

@media (min-width: 768px) {
  #header {
    height: 80px;
  }
}

/* 960px～（パソコン）
--------------------------------------- */

@media (min-width: 960px) {
  #header {
    height: 0;
    background: transparent;
  }
}


/* 960px～（パソコン）
--------------------------------------- */
@media (min-width: 960px) {
  #head-menu {
    display: flex;
    align-items: center;
  }
}


#wrap-sp-nav {
  z-index: -1;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  left: -100vw;
  padding: 30px;
  width: 100vw;
  height: 100vh;
  background-image: url(../img/common/common-gnav-bg-img.webp);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all .5s ease;
}

/* 500px～（タブレット）
--------------------------------------- */
@media (min-width: 500px) {
  #wrap-sp-nav {
    padding: 70px;
  }
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  #wrap-sp-nav {
    padding: 145px;
    width: 100%;
  }
}

/* 960px～（タブレット）
--------------------------------------- */
@media (min-width: 960px) {
  #wrap-sp-nav {
    right: -100vw;
    width: 75%;
  }
}

#wrap-sp-nav.open {
  z-index: 99999999;
  left: 0;
}


#wrap-sp-nav > *:not(:last-child) {
  margin-bottom: 3rem;
}

#wrap-sp-nav > .text-logo {
  color: #56494c;
  font-weight: 900;
  font-size: 3rem;
  font-family: 'Nothing You Could Do', cursive;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  #wrap-sp-nav > .text-logo {
    font-size: 6rem;
  }
}

#wrap-sp-nav > .gnav li:not(:last-child) {
  margin-bottom: 2rem;
}

#wrap-pc-nav > .gnav li:not(:last-child) {
  margin-right: 2rem;
}

#wrap-sp-nav > .gnav li a {
  color: #56494c;
  font-size: 1.8rem;
  font-family: 'Nothing You Could Do', cursive;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  #wrap-sp-nav > .gnav li a {
    font-size: 2.5rem;
  }
}

#wrap-sp-nav > .menu-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6rem;

  gap: 1rem;
}

#wrap-sp-nav > .menu-nav a {
  color: var(--text-color3);
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  #wrap-sp-nav > .menu-nav a {
    font-size: 2rem;
  }
}

/* ------------------------------------ */

#menu-line {
  z-index: 99999;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  #menu-line {
    top: 21px;
  }
}


/* ------------------------------------ */

#menu-line > span {
  display: block;
  width: 20px;
  height: 2px;
  background: #797979;
  transition: all .1s ease-in;

  margin-block: 4px;
  margin-inline: auto;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  #menu-line > span {
    width: 31px;

    margin-block: 7px;
    margin-inline: auto;
  }
}

/* ------------------------------------ */

#menu-line.open > span:nth-child(1) {
  rotate: 45deg;
  translate: 0 6px;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  #menu-line.open > span:nth-child(1) {
    translate: 0 9px;
  }
}

/* ------------------------------------- */

#menu-line.open > span:nth-child(2) {
  opacity: 0;
}

/* ------------------------------------- */

#menu-line.open > span:nth-child(3) {
  rotate: -45deg;
  translate: 0 -6px;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  #menu-line.open > span:nth-child(3) {
    rotate: -45deg;
    translate: 0 -9px;
  }
}

#company-nav {
  width: 100%;

  margin-block: 40px;
}

.flex-nav {
  position: relative;
  height: 300px;
  background-image: url(../img/common/common-gnav-img1.webp);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;

  margin-block: auto;
}


/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  .flex-nav {
    height: 400px;
  }
}

.menu-nav span {
  color: var(--base-color5);
}


/*下層ページの共通トップ*/
/*web.css*/

#page-title {
  opacity: .3;
  position: relative;
  width: 100%;
  height: 200px;
  background-image: url(../img/web/web-title-img.webp);
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  #page-title {
    height: 250px;
  }
}

/* 960px～（パソコン）
-------------------------------------------- */
@media (min-width: 960px) {
  #page-title {
    height: 375px;
  }
}

#page-title h1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 23px;
  color: var(--text-color2);
  font-size: 5rem;
  font-family: 'Nothing You Could Do', cursive;
  text-align: center;
  text-shadow: 1px 2px 5px rgb(0 0 0 / .5);
}

#page-title h1::after {
  content: attr(data-ja);
  display: block;
  padding-top: 5px;
  color: #42393c;
  font-size: 1.6rem;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  #page-title h1::after {
    font-size: 1.8rem;
  }
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  #page-title h1 {
    padding-top: 45px;
    font-size: 7rem;
  }
}
/* 960px～（パソコン）
-------------------------------------------- */
@media (min-width: 960px) {
  #page-title h1 {
    padding-top: 72px;
    font-size: 10rem;
  }
}



/*about下層ページ*/

.about-catch {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  width: 100%;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .about-catch {
    padding: 0;
    width: 100%;
    background-size: contain;
  }
}

.about-catch h1 {
  color: var(--text-color3);
}

.about-catch img {
  padding-right: 0;
  width: 40px;
  animation: rotate-z 5s infinite;
}

@keyframes rotate-z {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

.about-content-page {
  display: flex;
  position: absolute;
  top: 195px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  width: 90%;
  background-color: #fff;
  box-shadow: 0 3px 5px rgb(0 0 0 / .1);
}

/* 960px～（パソコン）
  -------------------------------------------- */
@media (min-width: 960px) {
}

/* 768px～（タブレット）
      -------------------------------------------- */
@media (min-width: 768px) {
  .about-content-page {
    top: 250px;
    width: 85%;
  }
}



/* 960px～（パソコン）
  -------------------------------------------- */
@media (min-width: 960px) {
  .about-content-page {
    padding: 65px;
    width: 65%;
  }
}

.about-content-page h2 {
  display: block;
  top: 0;
  left: 0;
  color: var(--text-color3);
  font-size: 6rem;
}


.about-text-page {
  padding: 25px;
  width: min(100vw, 300px);
  color: #ecf7fd;

  margin-inline: auto;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .about-text-page {
    padding: 30px;
    width: min(100vw, 400px);
  }
}

/* 960px～（パソコン）
  -------------------------------------------- */
@media (min-width: 960px) {
  .about-text-page {
    width: min(100%, 600px);
  }
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .about-text-page::after {
    right: 39px;
    bottom: 30px;
    width: 110px;
    height: 110px;
  }
}

.about-text-page p {
  color: var(--text-color3);
  font-size: 1.35rem;
  line-height: 1.8;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .about-text-page p {
    font-size: 1.5rem;
  }
}

/* 960px～（パソコン）
    -------------------------------------------- */
@media (min-width: 960px) {
}

.text-flex {
  display: flex;
  align-items: center;

  gap: 5px;
  margin-inline: auto;
}

.text-flex span {
  display: block;
  font-size: 1.8rem;
  text-align: center;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .text-flex {
    gap: 10px;
    margin-inline: auto;
  }
}

.text-flex img {
  width: 30px;
}

/*料金表共通*/

.kirikae-tab {
  margin: 40px auto;
  background-color: none;
}

/* 960px～（タブレット）
  -------------------------------------------- */
@media (min-width: 960px) {
  .kirikae-tab {
    margin: 40px auto 80px;
    width: 80%;
  }
}

/*** タブの部分 ***/
.tab-style {
  display: block;
  float: left;
  width: calc(100%/2); /*2はタブの数*/
  height: 35px;
  color: #888;
  font-size: 1.5rem;
  line-height: 2.5;
  text-align: center;
  background-color: #bdbdbd;
  border-radius: 20px 20px 0 0;
  transition: all .3s ease; /*0.3秒で表示*/;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .tab-style {
    height: 45px;
    font-size: 1.7rem;
  }
}

/* 960px～（タブレット）
  -------------------------------------------- */
@media (min-width: 960px) {
  .tab-style {
    height: 65px;
    font-size: 1.9rem;
    line-height: 3.5;
  }
}

/*** ラジオボタンを消す ***/
input[name='tab-style'] {
  display: none;
}

/*** 料金詳細***/
.tab-content {
  overflow: hidden;
  display: none;
  padding: 30px;
  background-color: #fff;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .tab-content {
    margin-bottom: 50px;
    padding: 20px 50px; /*中の余白*/
  }
}

/*** 選択タブの内容のみ表示する ***/
#all:checked ~ #all-content,
#tab2:checked ~ #tab2-content {
  display: block;
}

/*** 選択タブのデザイン ***/
.kirikae-tab input:checked + .tab-style {
  color: var(--text-color2);
  background-color: var(--base-color2);
}


label[for='tab2'] {
  position: relative;
  background-color: #bdbdbd;
}

label[for='tab2']::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 10%;
  width: 8px;
  height: 8px;
  border-top: 1px solid #9c9c9c;
  border-right: 1px solid #9c9c9c;

  rotate: 45deg;
  translate: 0 -50%;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
}

.price-instance {
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .price-instance {
    padding: 35px;
  }
}

.price-instance h1 {
  padding: 15px 10px 10px;
  color: var(--base-color2);
  font-weight: 500;
  font-size: 1.6rem;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  letter-spacing: 2px;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .price-instance h1 {
    font-size: 2.8rem;
  }
}

/* 960px～（パソコン）
  -------------------------------------------- */
@media (min-width: 960px) {
  .price-instance h1 {
    font-size: 3.8rem;
  }
}

.price-instance img {
  width: 100px;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .price-instance img {
    width: 15%;
    height: 40px;
  }
}

/* 960px～（パソコン）
  -------------------------------------------- */
@media (min-width: 960px) {
  .price-instance img {
    width: 8%;
    height: 51px;
  }
}

.price-instance p {
  position: relative;
  color: var(--base-color2);
  font-weight: 900;
  font-size: 1.6rem;
}



/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .instance-box {
    display: grid;
    margin-top: 38px;
    padding-bottom: 11px !important;

    grid-template-columns: 1fr 1fr;
  }
}

/* 960px～（タブレット）
  -------------------------------------------- */
@media (min-width: 960px) {
  .instance-box {
    padding-bottom: 60px !important;
  }
}


.instance-box ul {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 20px;
  background-color: #fff;
  border: dotted 1px #96b1f5;
}

.instance-box ul:first-child {
  margin-top: 30px;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .instance-box ul {
    margin-top: 0;
  }

  .instance-box ul:first-child {
    margin-top: 0;
  }
}

.instance-box li {
  font-size: 1.5rem;
  line-height: 1.5;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .instance-box li {
    font-size: 1.8rem;
    line-height: 1.8;
  }
}


.instance-box span {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.instance-box .number {
  padding: 5px;
  color: #96b1f5;
  font-size: 1.6rem;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .instance-box .number {
    padding: 5px;
    font-size: 2rem;
  }
}

/* 960px～（パソコン）
  -------------------------------------------- */
@media (min-width: 960px) {
  .instance-box .number {
    font-size: 2.2rem;

    padding-block: 1px 2px;
  }
}

/*contact*/
.contact-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: calc(300px, 100%);
  padding: 30px;
  background-color: var(--base-color6);
  border-radius: 30px;
  margin-block: auto;
  color: var(--text-color2);
  font-size: 1.9rem;
  cursor: pointer;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {

  .contact-nav  {
    width: min(600px, 100%);
    margin-block: 30px;
    margin-inline: auto;
    padding-top: 19px;
    text-align: center;
    font-size: 3rem;
    letter-spacing: 2.5px;
   
   
  }

}

.contact-nav span {
  color: var(--text-color2);
  font-weight: 900;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {

  .contact-nav span {
    padding-top: 9px;
  }
  
}

.time-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  padding-top: 15px;

  translate: -50% -50%;
}

.time-nav p {
  padding-bottom: 10px;
  font-weight: 900;
  font-size: 1.4rem;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  .time-nav p {
    font-size: 1.6rem;
  }
}


.time-nav li {
  font-size: 1.5rem;
  line-height: 3;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  .time-nav li {
    font-size: 1.8rem;
  }
}

.time-nav span {
  margin-right: 20px;
  padding: 5px 8px;
  color: var(--text-color2);
  font-size: 1.3rem;
  background-color: #ffa69e;
  border-radius: 10px;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  .time-nav span {
    padding: 8px 11px;
    font-size: 1.4rem;
  }
}

#tel-nav p {
  padding-top: 20px;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: center;
}

/* 768px～（タブレット）
--------------------------------------- */
@media (min-width: 768px) {
  #tel-nav p {
    font-size: 1.4rem;
  }
}

/**********タイトルアニメーション***********/

.contents-title span {
  opacity: 0;
  font-family: 'Nothing You Could Do', cursive;
  animation: letter-glow .7s 0s ease both;
}
.is-act .contents-title span {
  opacity: 1;
}
.contents-title span:nth-child(1) {
  animation-delay: .5s;
}
.contents-title span:nth-child(2) {
  animation-delay: .7s;
}
.contents-title span:nth-child(3) {
  animation-delay: .9s;
}
.contents-title span:nth-child(4) {
  animation-delay: 1.1s;
}
.contents-title span:nth-child(5) {
  animation-delay: 1.3s;
}

.is-act .contents-title span {
  opacity: 0;
  animation: letter-glow .7s 0s ease both;
}
.is-act .contents-title span {
  opacity: 1;
  font-size: 4rem;
}
.is-act .contents-title span:nth-child(1) {
  animation-delay: .5s;
}
.is-act .contents-title span:nth-child(2) {
  animation-delay: .7s;
}
.is-act .contents-title span:nth-child(3) {
  animation-delay: .9s;
}
.is-act .contents-title span:nth-child(4) {
  animation-delay: 1.1s;
}
.is-act .contents-title span:nth-child(5) {
  animation-delay: 1.3s;
}
.contents-title h2 {
  z-index: 666;
  position: absolute;
  top: -29px;
  right: 0;
  padding: 20px;
  font-size: 6rem;
  font-family: 'Nothing You Could Do', system-ui;

  rotate: -10deg;
}

@keyframes letter-glow {
  0% {
    opacity: 0;
    text-shadow: 0 0 1px rgb(255 255 255 /.1);
  }
  66% {
    opacity: 1;
    text-shadow: 0 0 20px rgb(255 255 255 /.9);
  }
  77% {
    opacity: 1;
  }
  100% {
    opacity: .7;
    text-shadow: 0 0 20px rgb(255 255 255 /0);
  }
}
@keyframes blur {
  0% {
    opacity: 0;

    filter: blur(10px);
  }
  100% {
    opacity: 1;

    filter: blur(0);
  }
}

/*共通タイトル*/

.section-title2 {
  padding: 50px 0 50px;
  background-color: #fff;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .section-title2 {
    padding-top: 95px;
  }
}

.section-title2 h1 {
  color: var(--base-color2);
  font-size: 4rem;
  font-family: 'Nothing You Could Do', cursive;
  text-align: center;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .section-title2 h1 {
    font-size: 5.5rem;
  }
}

/* 960px～（タブレット）
  -------------------------------------------- */
@media (min-width: 960px) {
  .section-title2 h1 {
    font-size: 7rem;
  }
}

.section-title2 h1::after {
  content: attr(data-ja);
  display: block;
  padding-top: 5px;
  font-size: 1.6rem;
}


/* 768px～（タブレット）
-------------------------------------------- */
@media (min-width: 768px) {
  .contents-title h2 {
    top: 30px;
    right: 10%;
    padding: 8px;
    font-size: 8rem;
  }
}

/* 960px～（パソコン）
-------------------------------------------- */
@media (min-width: 960px) {
  .contents-title h2 {
    top: 40px;
    right: 10%;
    font-size: 12rem;
  }
}

.text-loop {
  overflow: hidden;
  display: flex;
  width: 100%;
 
}

.text-loop div {
  opacity: .4;
  overflow: hidden;
  flex: 0 0 auto;
  white-space: nowrap;
  padding-block: 20px;
  padding-left: 20px;
  font-size: 4rem;
  font-family: "Hubballi", sans-serif;
  font-weight: 400;
}

.text-loop div:nth-child(odd) {
  color: #888;
  animation: loop1 50s -25s linear infinite;
}

.text-loop div:nth-child(even) {
  color: #888;
  animation: loop2 50s linear infinite;
}

@keyframes loop1 {
  0% {
    translate: 100%;
  }
  100% {
    translate: -100%;
  }
}

@keyframes loop2 {
  0% {
    translate: 0;
  }
  100% {
    translate: -200%;
  }
}
/* 768px～（タブレット）
-------------------------------------------- */
@media (min-width: 768px) {

  .text-loop div {
    padding-left: 30px;
    font-size: 6.5rem !important;
  }
}

/* 960px～（パソコン）
  -------------------------------------------- */
@media (min-width: 960px) {

  .text-loop div {
    font-size: 7.5rem;
  }

}

/*scroll*/
.mouse {
  position: absolute;
  width: 47px;
  background: var(--base-color1) linear-gradient(transparent 0%,
  transparent 50%,
  var(--base-color1) 50%,
  var(--base-color1) 100%);
  background-size: 100% 200%;
  border-radius: 100px;
  animation: colorSlide 5s linear infinite,
  nudgeMouse 5s ease-out infinite;
}
.mouse::before,
.mouse::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
.mouse::before {
  border-radius: 100px;
}
.mouse::after {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 100%;
  animation: trackBallSlide 5s linear infinite;
}

.text {
  margin-top: -10px;
  color: #fff;
  letter-spacing: 2px;
  text-indent: 12px;
  background-color: var(--base-color1);
  animation: colorText 5s ease-out infinite,
  nudgeText 5s ease-out infinite;
}

/* 960px～（パソコン）
  -------------------------------------------- */
@media (min-width: 960px) {
  .text {
    margin-top: -30px;
    padding-top: 20px;
    height: 40px;
  }
}


/* Animations */
@keyframes colorSlide {
  0% {
    background-position: 0 100%;
  }
  20% {
    background-position: 0 0;
  }
  21% {
    background-color: #4e5559;
  }
  29.99% {
    background-position: 0 0;
    background-color: #fff;
  }
  30% {
    background-position: 0 100%;
    background-color: #4e5559;
  }
  50% {
    background-position: 0 0;
  }
  51% {
    background-color: #4e5559;
  }
  59% {
    background-position: 0 0;
    background-color: #fff;
  }
  60% {
    background-position: 0 100%;
    background-color: #4e5559;
  }
  80% {
    background-position: 0 0;
  }
  81% {
    background-color: #4e5559;
  }
  90%,
  100% {
    background-color: #fff;
  }
}

@keyframes colorText {
  21% {
    color: #4e5559;
  }
  30% {
    color: #fff;
  }
  51% {
    color: #4e5559;
  }
  60% {
    color: #fff;
  }
  81% {
    color: #4e5559;
  }
  90% {
    color: #fff;
  }
}

@keyframes trackBallSlide {
  0% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  6% {
    opacity: 1;
    transform: scale(.9) translateY(5px);
  }
  14% {
    opacity: 0;
    transform: scale(.4) translateY(40px);
  }
  15%,
  19% {
    opacity: 0;
    transform: scale(.4) translateY(-20px);
  }
  28%,
  29.99% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  30% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  36% {
    opacity: 1;
    transform: scale(.9) translateY(5px);
  }
  44% {
    opacity: 0;
    transform: scale(.4) translateY(40px);
  }
  45%,
  49% {
    opacity: 0;
    transform: scale(.4) translateY(-20px);
  }
  58%,
  59.99% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  60% {
    opacity: 1;
    transform: scale(.9) translateY(-20px);
  }
  66% {
    opacity: 1;
    transform: scale(.9) translateY(5px);
  }
  74% {
    opacity: 0;
    transform: scale(.4) translateY(40px);
  }
  75%,
  79% {
    opacity: 0;
    transform: scale(.4) translateY(-20px);
  }
  88%,
  100% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
}
@keyframes nudgeMouse {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(8px);
  }
  30% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(0);
  }
  80% {
    transform: translateY(8px);
  }
  90% {
    transform: translateY(0);
  }
}
@keyframes nudgeText {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(2px);
  }
  30% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2px);
  }
  60% {
    transform: translateY(0);
  }
  80% {
    transform: translateY(2px);
  }
  90% {
    transform: translateY(0);
  }
}


/*コンタクト*/


#contact2 {
  margin-top: 90px;
  padding: 60px 0;
  background: var(--base-color6);
}

.grid-contact h1 {
  opacity: .5;
  padding-bottom: 10px;
  color: #fff;
  font-size: 4rem;
  font-family: 'Nothing You Could Do', system-ui;
}

.grid-contact p {
  padding-bottom: 30px;
  color: #4f9666;
  font-size: 1.5rem;
  line-height: 2;
}

.grid-contact img {
  padding-right: 10px;
  width: 40px;
  color: #fff;
}

.content1,
.content2,
.content3,
.content4 {
  padding: 20px;
  border: dotted 1px #fff;
}

.content4 ul {
  display: grid;
  align-items: center;
  width: 100%;
  font-size: 1.6rem;

  grid-template-columns: 200px 200px;
}

/* 960px～（タブレット）
-------------------------------------------- */
@media (min-width: 960px) {
  .content4 ul {
    font-size: 1.8rem;
  }
}

.content1 li a,
.content2 li a,
.content3 li,
.content4 li {
  display: flex;
  align-items: center;
  padding: 0 10px 20px 0;
  color: #4f9666;
  font-size: 1.5rem;
}

.content4 li {
  padding: 10px 10px;
}

/* 960px～（タブレット）
-------------------------------------------- */
@media (min-width: 960px) {
  .content4 li:hover {
    color: var(--base-color);
    transition: .5s;
  }

  .content1 li a,
  .content2 li a,
  .content3 li a,
  .content4 li a {
    transition: .5s;
  }

  .content1 li a:hover,
  .content2 li a:hover,
  .content3 li a:hover,
  .content4 li a:hover {
    color: var(--base-color);
    transition: .5s;
  }
}

.content3 span {
  font-weight: 700;
  font-size: 1.7rem;
}


/* 768px～（タブレット）
-------------------------------------------- */
@media (min-width: 768px) {
  .content1 {
    grid-area: contact-left;
  }

  .content2 {
    grid-area: contact-right;
  }
  .content3 {
    grid-area: contact-center;
  }
  .content4 {
    grid-area: contact-bottom;
  }
}

/* 768px～（タブレット）
-------------------------------------------- */
@media (min-width: 768px) {
  .grid-contact {
    display: grid;

    grid-template-areas: 'contact-left contact-right'
    'contact-center contact-center'
    'contact-bottom contact-bottom';
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px auto auto;
  }
}

/*バナーチラシ*/
.banner-card img {
  display: block;
  width: min(90%, 600px);

  margin-block: 50px;
  margin-inline: auto;
}

/* 960px～（タブレット）
-------------------------------------------- */
@media (min-width: 960px) {
  .banner-card img {
    width: min(100%, 800px);

    margin-block: 50px;
  }
}

/*固定インスタ*/

#sb_instagram {
  padding-top: 20px !important;
  padding-bottom: 100px !important;

  padding-inline: 20px;
}

.section-title {
  margin-block: 100px 0;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .section-title {
    margin-top: 100px;
  }
}

.section-title h1 {
  color: var(--base-color5);
  font-size: 4rem;
  font-family: 'Nothing You Could Do', cursive;
  text-align: center;
}

/* 768px～（タブレット）
  -------------------------------------------- */
@media (min-width: 768px) {
  .section-title h1 {
    font-size: 5.5rem;
  }
}

/* 960px～（タブレット）
  -------------------------------------------- */
@media (min-width: 960px) {
  .section-title h1 {
    font-size: 5.5rem;
  }
}

.section-title h1::after {
  content: attr(data-ja);
  display: block;
  padding-top: 5px;
  font-size: 1.6rem;
}


.section-title2 {
  background-color: var(--base-color);
}


.form-container {
  display: grid;
  padding: 0 20px;
  width: min(400px, 100%);

  grid-template-columns: 1fr;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .form-container {
    display: grid;
    align-items: start;
    margin-top: 50px;
    width: min(700px, 100%);

    gap: 1em;
    grid-template-columns: 1.25fr 3fr;
  }
}


.form-container > p {
  margin-block: 13px 3px;
}

@media (min-width: 768px) {
  .form-container > p {
    margin-bottom: 0;

    padding-block: 5px;
  }
}

@media (min-width: 768px) {
  .form-button {
    display: flex;
    padding: .5em 1em;
    min-width: 120px;
    color: var(--base-color6);
    font-weight: bold;
    background-color: var(--base-color2);
    border: solid 1px rgb(196 196 196);
    border-radius: 4px;
    box-shadow: 2px 2px 3px 0 rgb(0 0 0 / .05);
  }
}

.form-button:hover {
  color: white;
  background-color: rgb(169 169 169);
  box-shadow: none;
}

.form-label {
  padding-left: .5em;
  color: #9c9c9c;
}

input[type='text'],
input[type='email'],
select,
textarea {
  padding: 10px;
  width: min(400px, 100%);
  border: solid 1px #c4c2c2;
}

.wpcf7-form {
  width: 100%;
  
}

.wpcf7-form-control:not(:last-child) {
  margin-top: 5px;
  padding: 10px 20px;
  text-align: center;
  border: solid 1px var(--base-color2);
}

.wpcf7-not-valid {
  background-color: #faf2f3e3 !important;
}

.wpcf7-previous {
  width: 50%;
  height: 36px;
  text-align: center;
  border: 1px solid #d0d0d0;
}

.wpcf7-textarea {
  height: 300px;
  resize: none;
}

.warning-color {
  padding: 5px;
  color: var(--base-color2);
  border: solid 1px var(--base-color2);
  border-radius: 5px;
}

.secondary-color {
  color: blue;
}

/* ドロップダウンメニュー */
.select-box {
  position: relative;
}

.select-box select:before {
  z-index: 10;
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;

  pointer-events: none;
  translate: 0 -50%;
}

.select-box select {
  padding: 19px 20px;
  width: 100%;
  color: #a5a5a5;
  background: #f4f4f4;

  appearance: none;
}

/*承認ボタン*/


.wpcf7-list-item {
  display: block;
  margin: 0;
  line-height: 1;
}
.wpcf7-list-item + .wpcf7-list-item {
  margin-top: 8px;
}
input[type='checkbox'] {
  display: none;
}
.wpcf7-list-item-label {
  display: inline-block;
  position: relative;
  padding-top: 10px;
  padding-left: 25px;
  height: 40px;
  line-height: 20px;
}
.wpcf7-list-item-label::before {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  left: 0;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid var(--base-color2);
  box-sizing: border-box;
}
input[type='checkbox']:checked + .wpcf7-list-item-label::after {
  content: '';
  display: block;
  position: absolute;
  top: 16px;
  left: 6px;
  transform: rotate(135deg);
  width: 8px;
  height: 6px;
  border-top: 3px solid #3d8582;
  border-right: 3px solid #3d8582;
}

/*エラーメッセージ*/
.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
  color: var(--base-color2);
  font-weight: 700;
}

/*エラーメッセージ表示幅*/
.wpcf7-not-valid-tip {
  padding-block: 5px;
}


/*枠*/
input:focus,
textarea:focus {
  box-shadow: 0 0 3px 0 var(--base-color6);
  outline: none;
}

.form-btn {
  padding: 0 20px;
  width: min(400px, 100%);

  margin-inline: auto;
}

/* 768px～（タブレット）
-------------------------------------------- */
@media (min-width: 768px) {
  .form-btn {
    padding: 0 70px;
  }
}

.wpcf7 form.invalid .wpcf7-response-output {
  border-color: var(--base-color);
}

.top-back a {
  display: block;
  margin-bottom: 100px;
  padding: 10px 20px;
  width: 250px;
  color: var(--text-color2);
  font-size: 1.8rem;
  text-align: center;
  background-color: var(--base-color2);

  margin-inline: auto;
}

/*コピーライト*/
.copy {
  padding: 10px;
  color: var(--base-color3);
  text-align: center;
  background-color: #4f9666;
}

.insta-filling {
  z-index: 9999;
  position: fixed;
  right: 8px;
  bottom: 200px;
  padding: 0;
  color: var(--base-color2);
  font-weight: 900;
  font-family: 'Nothing You Could Do', cursive;
  background-color: transparent;

  writing-mode: vertical-rl;
}

/* 768px～（タブレット）
-------------------------------------------- */
@media (min-width: 768px) {
  .insta-filling {
    font-size: 1.8rem;
  }
}

.insta-filling a::before {
  z-index: 9998;
  content: '';
  position: absolute;
  right: 5px;
  bottom: 150px;
  padding-right: 10px;
  width: 30px;
  background-image: url(../img/common/common-flower-green-.webp);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}


/* 768px～（タブレット）
-------------------------------------------- */
@media (min-width: 768px) {
}

.page-top {
  z-index: 9999;
  position: fixed;
  right: 0;
  bottom: 100px;
  width: 100px;
  height: 100px;
  background-image: url(../img/common/common-page-top-img.webp);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: .5s;
  cursor: pointer;
}

/* 768px～（タブレット）
-------------------------------------------- */
@media (min-width: 768px) {
  .page-top {
    right: 0;
    width: 105px;
    height: 105px;
  }
}

.page-top.is-active{
 visibility: visible;
  opacity: 1;
 
  
}

/*works*/

#works-box {
  position: relative;
  margin-top: 50px;
  margin-bottom: 70px;

  margin-block: auto;
}

.works-content img {
  padding: 5px;
  width: 100%;
  border: solid 1px #adadad;
}

/* 768px～（タブレット）
-------------------------------------------- */
@media (min-width: 768px) {
  .works-content img {
    width: 100%;
  }
}

#works-box ul {
  display: grid;
  padding-top: 40px;
  text-align: center;
  padding-inline: 20px;
  gap: 20px;
  grid-template-columns: 1fr;
}

/* 768px～（タブレット）
-------------------------------------------- */
@media (min-width: 768px) {
  #works-box ul {
    grid-template-columns: 1fr 1fr;
  }
}

/* 960px～（タブレット）
-------------------------------------------- */
@media (min-width: 960px) {
  #works-box ul {
    padding-inline: 20px;
    padding-bottom: 120px;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.menu-title h1 {
  position: absolute;
  top: 0;
  right: 10px;
}

.works-content {
  padding: 5px;
}

/* 960px～（タブレット）
-------------------------------------------- */
@media (min-width: 960px) {
  .works-content:hover {
    opacity: .8;
  }
}


.top-insta {
  margin-top: 40px;
  margin-bottom: 50px;
}

[class^=ccc] {
  color: #f00;
}
