html {
  font-size: 62.5%;
  /* scroll-behavior: smooth; */
}

body {
  color: #2A2625;
  line-height: 3.5rem;
  letter-spacing: 0.05rem;
  font-size: 1.6rem;
  /* Googleフォント */
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  overflow-x: hidden;
  font-style: normal;
  -webkit-animation: contentScale 2.6s forwards;
  animation: contentScale 2.6s forwards;
  max-width: 100vw;
  animation: fadeIn 1s;
}

.header {
  max-width: 100vw !important;
  overflow: hidden;
}

main {
  contain: paint;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* アニメーションキーフレーム */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bottomIn {
  0% {
    transform: translateY(-10%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes fadeIn-bottom {
  0% {
    opacity: 0;
  }
  100% {
    transform: translateY(-10%);
    opacity: 1;
  }
}

@keyframes hyokohyoko {
  0%,60% {
    transform: rotate(0);
  }

  70% {
    transform: rotate(10%);
  }
  80% {
    transform: rotate(0%);
  }

  90% {
    transform: rotate(10%);
  }
  100% {
    transform: rotate(0%);
  }
}

@keyframes fadeIn-pyon {
  0% {
    transform: translateY(80px);
    opacity: 0;
  }
  60% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(0);
  }
  40%,100% {
    opacity: 1;
  }
}

.fuwafuwa{
  transform-origin: center bottom;
  animation: fuwafuwa 2s linear infinite;
  animation-delay: 3s;
}

@keyframes fuwafuwa {
  0%, 100% {
    transform: translateY(-10%);
  }
  50% {
    transform: translateY(10%);
  }
}

.zoom-in { 
  animation: zoom-in .6s ease-in-out forwards;
  }
  @keyframes zoom-in {
  0% {
    transform: scale(0%);
    opacity: 0;
  }
  60% {
    transform: scale(130%);
  }
  100% {
    transform: scale(100%);
  }
  40%,100% {
    opacity: 1;
  }
  }

.fv_anime1 {
  animation: zoom-in .6s ease-in-out forwards;
  animation-delay: 1s;
  opacity: 0;
}

.fv_anime2 {
  animation: zoom-in .6s ease-in-out forwards;
  animation-delay: 1.5s;
  opacity: 0;
}

.fv_anime3 {
  animation: zoom-in .6s ease-in-out forwards;
  opacity: 0;
  animation-delay: 2s !important;
}


/* スクロール時のフェードイン */
.fade-in-section {
  opacity: 0;
  transform: translate(0, 5%);
  transition: 2s;
}

.bottom-in-img {
  opacity: 0;
  transform: translateY(20%);
  transition: .5s;
}

.bottom-in {
  animation: fadeIn-pyon .5s forwards;
}

.fade-in {
  opacity: 1;
  transform: translate(0, 0);
}

/* スクロール時の右スライドイン */
.slide-in-right-img {
  opacity: 1;
  transform: translate(120%, -20%);
  transition: 1.5s;
}

.slide-in-right {
  opacity: 1;
  transform: translate(0, 0);
}

/* スクロール時の左スライドイン */
.slide-in-left-img {
  opacity: 1;
  transform: translate(-120%, -20%);
  transition: 1.5s;
}

.slide-in-left {
  opacity: 1;
  transform: translate(0, 0);
}

/* スクロール時のズームイン */
.zoom-in-img {
  opacity: 1;
  transform: scale(0, 0);
  transition: 1s;
}

/* ページトップ飛び出し */
.slide-in-pagetop-img {
  transform: translate(80%, 5%);
  transition: .5s;
}

.slide-in-pagetop {
  transform: translate(0, 0);
}

p {
  text-align: justify;
}

a {
  transition: 0.2s;
}

.pc_display_none {
  display: none !important;
}

.pc_display_none_flex {
  display: none !important;
}

.pc_display_flex {
  display: flex !important;
}
.pc_display_block {
  display: block !important;
}
.br_500 {
  display: none;
}

/* 白ボタン */
.button a {
  position: relative;
  overflow: hidden;
  border-radius: 100vh;
  text-decoration: none;
  display: block;
  max-width: 250px;
  background: #fff;
  margin: auto;
  padding: 10px 30px;
  font-weight: 600;
  text-align: center;
  height: 60px;
  text-decoration: none;
  outline: none;
  transition: ease .3s;
}

.button a:hover {
  background: #F7CF57;
  color: #2A2625;
}

.button a:after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: url("../images/arrow.svg") no-repeat center;
  background-size: contain;
  transition: 0.3s ease-in-out;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  z-index: 3;
}

.button a span {
  position: relative;
  z-index: 3;
  color:#2A2625;
}

.button a:hover span{
  color:#2A2625;
  opacity: 1;
}

/* 黒ボタン */
.button_bk a {
  background: #2A2625;
}

.button_bk a:after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: url("../images/arrow2.svg") no-repeat center;
  background-size: contain;
  transition: 0.3s ease-in-out;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  z-index: 3;
}

.button_bk a span {
  color:#fff;
}

.button_bk a:hover span{
  color:#2A2625;
}

/* コンタクトボタン */
.contact_button {
  position: relative;
}

.contact_button a {
  position: relative;
  overflow: hidden;
  border-radius: 100vh;
  text-decoration: none;
  display: block;
  max-width: 400px;
  background: #2A2625;
  margin: auto;
  padding: 10px 30px;
  font-weight: 600;
  text-align: center;
  height: 70px;
  text-decoration: none;
  outline: none;
  transition: ease .3s;
}

.contact_button a:hover {
  background: #F7CF57;
  color: #2A2625;
}

.contact_button a:after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: url("../images/arrow2.svg") no-repeat center;
  background-size: contain;
  transition: 0.3s ease-in-out;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  z-index: 3;
}

.contact_button a span {
  position: relative;
  z-index: 3;
  color:#fff;
  line-height: 5rem;
}

.contact_button a:hover span{
  color:#2A2625;
  opacity: 1;
}

/* ヘッダーボタン */
.header_button {
  display: inline-block;
  vertical-align: middle;
}

.header_button a {
  position: relative;
  overflow: hidden;
  border-radius: 100vh;
  text-decoration: none;
  display: block;
  background: #2A2625;
  margin: auto;
  padding: 10px 30px;
  font-weight: 600;
  text-align: center;
  line-height: 1.8;
  text-decoration: none;
  outline: none;
  transition: ease .3s;
}

.header_button a:hover {
  background: #F7CF57;
  color: #2A2625;
}

.header_button a span {
  position: relative;
  z-index: 3;
  color:#fff;
}

.header_button a:hover span{
  color:#2A2625;
  opacity: 1;
}

/* 横幅 */
.inner {
  width: 100%;
  /* max-width: 1280px; */
  margin: 0 auto;
  padding: 0 8vw;
}

/* ヘッダー */
.sp_nav, .hamburger {
  display: none;
}

.header_nav {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 999;
}

.header_menu {
  margin: 0 0 0 auto;
  padding: 1rem 2rem 1rem 3rem;
  background-color: #fff;
  border: solid 1px #D9D9D9;
  border-radius: 100vh;
  /* Googleフォント */
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.header_menu li {
  display: inline;
}

.header_link {
  padding-right: 3rem;
  text-align: center;
}

.hover_red:hover {
  color: #F5693F;
}

/* ====================================
 ファーストビュー
 ==================================== */

.fv {
  width: 100%;
  min-height: 850px;
  height: 100dvh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F5F0EB;
  overflow: hidden;
}

/* fv背景 */
.fv_back_texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fv_back1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: 75vw;
}

.fv_back2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: 115vw;
}

.fv_back3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: 134vw;
}

.fv_back4 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: 154vw;
}

/* アニメーション */
.ripples_animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  height: 100%;
}

.ripples,
.ripples:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    animation: ripples 2s ease-out forwards;
}

.ripples:after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    animation: ripples2 2s ease-out forwards;
}

.ripples:before {
    content: "";
    background-image: url(../images/fv_back1.svg);
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: 50%;
}

.ripples:after {
  content: "";
  background-image: url(../images/fv_back2.svg);
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: 50%;
}

.ripples:before {
  animation-delay: 0s;
}

.ripples:after {
  animation-delay: .5s;
}

@keyframes ripples {
  0% {
      width: 0;
      height: 0;
      opacity: 1;
  }

  100% {
    width: 110%;
    height: 110%;
    opacity: 1;
  }
}

@keyframes ripples2 {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
}

100% {
  width: 170%;
  height: 170%;
  opacity: 1;
}
}

.fv_gr {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  z-index: 10;
}

.fv_copy {
  display: inline-block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 6rem;
  position: relative;
  z-index: 10;
  transform: rotate(-4.6deg);
  opacity: 0;
}

.dokidoki {   
  animation: dokidoki .6s forwards;
  animation-delay: .5s;
  opacity: 0;
  }
  @keyframes dokidoki {
  0% {
    transform: scale(0%) rotate(-4.6deg);
    opacity: 0;
  }
  60% {
    transform: scale(130%) rotate(-4.6deg);
  }
  100% {
    transform: scale(100%) rotate(-4.6deg);
  }
  40%,100% {
    opacity: 1;
  }
  }

.copy_back_zoom_in {   
  animation: copy_back_zoom_in .6s forwards;
  animation-delay: .25s;
  opacity: 0;
  }
  @keyframes copy_back_zoom_in {
  0% {
    width: 0%;
    opacity: 0;
  }
  60% {
    transform: scale(130%) translate(-38%, -38%);
  }
  100% {
    transform: scale(100%) translate(-50%, -50%);
  }
  40%,100% {
    opacity: 1;
  }
  }  

.fv_copy_back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw;
  max-width: 500px;
  opacity: 1;
  z-index: 2;
}

.fv_attention_gr {
  position: absolute;
  bottom: -16vw;
  right: -17vw;
  z-index: 10;
}

.fv_img2 {
  display: block;
  margin-top: -30px;
}

.fv_attention {
  text-align: center;
  position: relative;
  display: inline-block;
  padding: 0 2rem;
  font-size: 1.4rem;
  letter-spacing: -0.05rem;
  line-height: 2vw;
  transform: rotate(12deg);
}

.fv_attention_dot {
  margin: 0 -0.2rem;
}

.fv_attention:before {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  width: 1px;
  height: 80%;
  background: #2A2625;
  border-radius: 3px;
  transform: rotate(-25deg);
}
     
.fv_attention:after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  width: 1px;
  height: 80%;
  background: #2A2625;
  border-radius: 3px;
  transform: rotate(25deg);
}



.fv_copy img {
  padding-bottom: 4rem;
  margin: 0 -1rem;
}

.fv_copy span {
  font-size: 5rem;
  font-weight: 900;
}

.wakuwaku2 {
  transform: scale(-1, 1);
}

.wakuwaku4 {
  transform: scale(-1, 1);
}

/* FVイラスト */
.fv_gr > img {
  opacity: 0;
}

.fv_img1 {
  position: absolute;
  top: -12vw;
  left: -17vw;
  width: 14vw;
  max-width: 179px;
}

.fv_img2 {
  margin-top: -2.5vw;
  margin-left: 1vw;
  width: 14vw;
  max-width: 179px;
}

.fv_img3 {
  position: absolute;
  top: -20vw;
  right: -35vw;
  width: 32vw;
  max-width: 409px;
}

.fv_img4 {
  position: absolute;
  bottom: -19vw;
  left: -33vw;
  width: 26.5vw;
  max-width: 339px;
}

.fv_img5 {
  position: absolute;
  top: -4.2vw;
  left: -39vw;
  width: 14vw;
  max-width: 179px;
}

.fv_img6 {
  position: absolute;
  top: -27vw;
  left: -21vw;
  width: 12vw;
  max-width: 154px;
}

.fv_img7 {
  position: absolute;
  top: -21vw;
  right: -38vw;
  width: 10vw;
  max-width: 124px;
}

.fv_img8 {
  position: absolute;
  top: 14vw;
  right: -37vw;
  width: 10vw;
  max-width: 121px;
}

.fv_img9 {
  position: absolute;
  bottom: -27vw;
  left: -3vw;
  width: 10vw;
  max-width: 127px;
}

.fv_guruguru1 {
  position: absolute;
  top: -25vw;
  left: -7vw;
  width: 9vw;
  max-width: 135px;
}

.fv_guruguru2 {
  position: absolute;
  top: -25vw;
  right: -12vw;
  width: 11vw;
  max-width: 177px;
}

.fv_guruguru3 {
  position: absolute;
  bottom: -0.5vw;
  right: -30vw;
  width: 11vw;
  max-width: 175px;
}

.fv_guruguru4 {
  position: absolute;
  bottom: -23vw;
  right: 0.6vw;
  width: 5.7vw;
  max-width: 123px;
}

.fv_guruguru5 {
  position: absolute;
  bottom: -14vw;
  left: -12vw;
    width: 8.8vw;
  max-width: 180px;
}

.fv_guruguru6 {
  position: absolute;
  top: -0.2vw;
  left: -25vw;
  width: 13vw;
  max-width: 201px;
}

.fv_light1 {
  position: absolute;
  top: -21vw;
  left: -32.5vw;
  width: 8vw;
  max-width: 102px;
}

.fv_light2 {
  position: absolute;
  top: -18vw;
  right: 7vw;
  width: 5vw;
  max-width: 75px;
}

.fv_light3 {
  position: absolute;
  bottom: -25vw;
  right: -32vw;
  width: 8vw;
  max-width: 102px;
}

.fv_light4 {
  position: absolute;
  bottom: -25vw;
  left: -34vw;
  width: 5vw;
  max-width: 75px;
}

@media (min-width: 1400px) {
  .fv_img1 {
    top: -168px;
    left: -238px;
  }
  
  .fv_img2 {
    margin-top: -28px;
    width: 196px;
  }
  
  .fv_img3 {
    top: -280px;
    right: -490px;
  }
  
  .fv_img4 {
    bottom: -266px;
    left: -462px;
  }
  
  .fv_img5 {
    top: -58.8px;
    left: -546px;
  }
  
  .fv_img6 {
    top: -378px;
    left: -294px;
  }
  
  .fv_img7 {
    top: -294px;
    right: -532px;
  }
  
  .fv_img8 {
    top: 196px;
    left: 714px;
  }
  
  .fv_img9 {
    bottom: -378px;
    left: -42px;
  }
  
  .fv_guruguru1 {
    top: -350px;
    left: -98px;
  }
  
  .fv_guruguru2 {
    top: -350px;
    right: -168px;
  }
  
  .fv_guruguru3 {
    bottom: -7px;
    right: -420px;
  }
  
  .fv_guruguru4 {
    bottom: -322px;
    right: 8.4px;
  }
  
  .fv_guruguru5 {
    bottom: -196px;
    left: -168px;
  }
  
  .fv_guruguru6 {
    top: -2.8px;
    left: -350px;
  }
  
  .fv_light1 {
    top: -294px;
    left: -455px;
  }
  
  .fv_light2 {
    top: -252px;
    right: 98px;
  }
  
  .fv_light3 {
    bottom: -350px;
    right: -448px;
  }
  
  .fv_light4 {
    bottom: -350px;
    left: -476px;
  }

.fv_attention_gr {
  bottom: -224px;
  right: -242px;
}

.fv_attention {
  line-height: 3rem;
}
}

@media (max-width: 1300px) {
  .fv {
    min-height: 600px;
  }

  .header_nav {
    font-size: 1.3vw;
  }

  .header_link {
    padding-right: 2.5vw;
  }

  .contact_btn {
    padding: 1rem 2.5vw;
  }

  .fv_copy {
    font-size: 2.5vw;
    line-height: 4vw;
  }

  .fv_copy img {
    padding-bottom: 2.3vw;
    margin: 0 -0.3vw;
  }

  .wakuwaku1, .wakuwaku2 {
    width: 2vw;
  }

  .wakuwaku3, .wakuwaku4 {
    width: 2vw;
  }
  
  .fv_copy span {
    font-size: 3vw;
  }

  .fv_attention_gr {
    right: -22vw;
  }

  .fv_attention {
    font-size: 1.3rem;
    line-height: 2.5rem;
  }

  .fv_copy_back {
    width: 29vw;
  }

  .fv_img1 {
    position: absolute;
    top: -9.9vw;
    left: -10.9vw;
    width: 9.8vw;
    max-width: 179px;
  }
  
  .fv_img2 {
    margin-top: -1.75vw;
    margin-left: 3vw;
    width: 9.8vw;
    max-width: 179px;
  }
  
  .fv_img3 {
    position: absolute;
    top: -12vw;
    right: -27.5vw;
    width: 22.4vw;
    max-width: 409px;
  }
  
  .fv_img4 {
    position: absolute;
    bottom: -13.3vw;
    left: -25.1vw;
    width: 18.55vw;
    max-width: 339px;
  }
  
  .fv_img5 {
    position: absolute;
    top: -0.94vw;
    left: -34.3vw;
    width: 9.8vw;
    max-width: 179px;
  }
  
  .fv_img6 {
    position: absolute;
    top: -15.9vw;
    left: -20.7vw;
    width: 8.4vw;
    max-width: 154px;
  }
  
  .fv_img7 {
    position: absolute;
    top: -14.7vw;
    right: -30.6vw;
    width: 7vw;
    max-width: 124px;
  }
  
  .fv_img8 {
    position: absolute;
    top: 8.8vw;
    right: -35.7vw;
    width: 7vw;
    max-width: 121px;
  }
  
  .fv_img9 {
    position: absolute;
    bottom: -15.9vw;
    left: -2.1vw;
    width: 7vw;
    max-width: 127px;
  }
  
  .fv_guruguru1 {
    position: absolute;
    top: -17.5vw;
    left: -4.9vw;
    width: 6.3vw;
    max-width: 135px;
  }
  
  .fv_guruguru2 {
    position: absolute;
    top: -17.5vw;
    right: -7.7vw;
    width: 7.7vw;
    max-width: 177px;
  }
  
  .fv_guruguru3 {
    position: absolute;
    bottom: -0.35vw;
    right: -21vw;
    width: 7.7vw;
    max-width: 175px;
  }
  
  .fv_guruguru4 {
    position: absolute;
    bottom: -14vw;
    right: 4.6vw;
    width: 3.7vw;
    max-width: 123px;
  }
  
  .fv_guruguru5 {
    position: absolute;
    bottom: -9.8vw;
    left: -8.4vw;
    width: 6.16vw;
    max-width: 180px;
  }
  
  .fv_guruguru6 {
    position: absolute;
    top: -0.14vw;
    left: -17.5vw;
    width: 9.1vw;
    max-width: 201px;
  }
  
  .fv_light1 {
    position: absolute;
    top: -11.7vw;
    left: -29.75vw;
    width: 5.6vw;
    max-width: 102px;
  }
  
  .fv_light2 {
    position: absolute;
    top:  -12.6vw;
    right: 4.9vw;
    width: 3.5vw;
    max-width: 75px;
  }
  
  .fv_light3 {
    position: absolute;
    bottom: -17.5vw;
    right: -30.4vw;
    width: 5.6vw;
    max-width: 102px;
  }
  
  .fv_light4 {
    position: absolute;
    bottom: -17.5vw;
    left: -28.8vw;
    width: 3.5vw;
    max-width: 75px;
  }

}

/* ====================================
SERVICE
==================================== */
#service {
  padding: 150px 0;
}

.h2_sub {
  color: #106AAE;
  font-size: 1.4rem;
  margin-bottom: 4rem;
}

.h2 {
  writing-mode: vertical-rl;
  color: #106AAE;
  font-size: 6.4rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 5rem;
}

.h2_gr {
  position: sticky;
  top: 150px;
  height: 80vh;
}

.service_wrap {
	display: flex;
	justify-content: center;
	position: relative;
  padding-left: 80px;
  margin-top: -90vh;
}

.service_img {
  width: 100%;
  max-width: 440px;
}

.service_img_gr.active {
  opacity: 1;
  }

.service_img_gr {
  height: 400px;
  margin: auto;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 0;
  bottom: 0;
  /* フェード速度 */
  transition: .8s;
  opacity: 0;
  width: 100%;
}

.service_contents_wrap {
  width: 50%;
  position: relative;
  padding-right: 30px;
}

.service_contents_wrap div {
  padding-top: 50vh;
  padding-left: 30px;
  position: relative;
}

.service_contents_wrap div:first-child {
  padding-top: 40vh;
  padding-bottom: 10vh;
}

.service_contents_wrap div:last-child {
  padding-bottom: 40vh;
}

.service_img_wrap {
  width: 50%;
	height: 100vh;
	display: flex;
	align-items: center;
  justify-content: center;
	position: sticky;
	position: -webkit-sticky;
	top:0;
}

.service_img_wrap_sp {
  width: 100%;
}

.service_img_wrap_container_sp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.service_num {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
}

.service_num:before {
  content: "";
  width: 15px;
  height: 15px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 1rem;
}

.yellow {
  color: #F7CF57;
}

.yellow:before {
  background-color: #F7CF57;
}

.blue {
  color: #5FB3E0;
}

.blue:before {
  background-color: #5FB3E0;
}

.red {
  color: #F5693F;
}

.red:before {
  background-color: #F5693F;
}

.green {
  color: #239C7A;
}

.green:before {
  background-color: #239C7A;
}

.pink {
  color: #EB75BA;
}

.pink:before {
  background-color: #EB75BA;
}

.h3 {
  font-size: 3.7rem;
  letter-spacing: 0.5rem;
  font-weight: 600;
  line-height: 6rem;
  margin-bottom: 2rem;
}

.service_tx {
  display: inline-block;
}

/* 背景 */
.box1::after, .box2::after, .box3::after, .box4::after, 
.box5::after, .box6::after, .box7::after, .box8::after {
  display: block;
  content: '';
  background-repeat: no-repeat;
  width: 500px;
  height: 500px;
	position: absolute;
  top: -18vh;
  right: -60vw;
  z-index: -1;
}

.box1::after {
  background-image: url(../images/service_back.svg);
}

.box2::after {
  background-image: url(../images/service_back2.svg);
}

.box3::after {
  background-image: url(../images/service_back3.svg);
}

.box4::after {
  background-image: url(../images/service_back4.svg);
}

.box5::after {
  background-image: url(../images/service_back5.svg);
}

.box6::after {
  background-image: url(../images/service_back.svg);
}

.box7::after {
  background-image: url(../images/service_back2.svg);
}

.box8::after {
  background-image: url(../images/service_back3.svg);
}



/* ページネーション */
.service_pagination {
  width: auto;
	height: 100vh;
	display: flex;
  flex-direction: column;
  gap: 10px;
	align-items: center;
  justify-content: center;
	position: sticky;
	position: -webkit-sticky;
	top:0;
  left: 0;
}

.service_pagination::after {
 content: "";
 width: 1px;
 height: 140px;
 background-color: #afbec7;
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
}

.service_pagination div {
  z-index: 1;
  width: 10px;
  height: 10px;
  background-color: #afbec7;
  border-radius: 50%;
  transition: all .5s;
}

.service_pagination div.active {
  background-color: #106AAE;
}

@media (max-width: 1300px) {
  
.h2_gr {
  top: 100px;
}

.service_wrap {
  padding-left: 12vw;
  gap: 3vw;
}

}

/* ====================================
WORKS
==================================== */
#works {
  padding: 120px 0 280px 0;
  background-color: #F4F2EF;
  border-radius: 80px 80px 0 0;
  position: relative;
}

#works h2 {
  width: 20rem;
  padding-right: 8vw;
  padding-left: 4vw;
}

.works_tx {
  padding-left: 8vw;
}

.works_contact_link {
  border-bottom: 1px dotted #2A2625;
}

.works_contact_link:hover {
  color: #F5693F;
}

.works_img1 {
  position: absolute;
  top: -189px;
  left: 30px;
}

.works_img2 {
  position: absolute;
  top: -149px;
  left: 133px;
}

.works_img3 {
  position: absolute;
  top: -30px;
  right: 30px;
}

.works_cotainer {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  flex-direction: row-reverse;
}

.works_thumbnail {
  width: 100%;
  aspect-ratio: 380 / 250 !important;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
}

.swiper-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.swiper-wrapper {
  padding: 80px 0 140px 0;
}

.swiper {
  margin-left: -40px !important;
}

.swiper-slide {
  padding-top: 0px;
  transition: 1s !important;
}

.swiper-slide.swiper-slide-active {
  padding-top: 60px;
  margin-bottom: -60px;
}

.cat_gr {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category {
  background-color: #fff;
  border-radius: 100vh;
  padding: 0px 10px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 3rem;
}

.category::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 0.5rem;
  background-color: #fff;
}

.works_h3 {
  font-weight: 600;
  font-size: 1.8rem;
  margin: 20px 0;
  line-height: 3rem;
}

.swiper-scrollbar {
  margin-left: 8vw;
  background: #fff !important;
}

.swiper-scrollbar-drag {
  background: #2A2625 !important;
}

/* 前へ次への矢印カスタマイズ */
.swiper-button-prev,
.swiper-button-next {
  height: 40px !important;
  width: 40px !important;
  position: static !important;
  margin: 0 !important;
}
/* 前へ次への矢印カスタマイズ */
.swiper-button-prev::after,
.swiper-button-next::after {
  background-repeat: no-repeat;
  background-size: contain;
  content: "" !important;
  height: 40px !important;
  margin: auto;
  width: 40px !important;
}
/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
  background-image: url(../images/works_arrow.svg);
}
/* 次への矢印カスタマイズ */
.swiper-button-next::after {
  background-image: url(../images/works_arrow.svg);
  transform: scale(-1, 1);
}
/* 画像サイズ調整 */
.swiper-slide img {
  height: auto;
  width: 100%;
}

.works_lead_gr {
  display: flex;
  position: relative;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.swiper-button_gr {
  display: flex;
  gap: 20px;
}

/* ====================================
NEWS & COLUMNS
==================================== */
#news-columns {
  padding: 120px 0 80px 0;
  background-color: #185B8F;
  border-radius: 80px 80px 0 0;
  position: relative;
  margin-top: -100px;
  z-index: 4;
}

.news_columns_img_gr {
  width: 100%;
  height: 50px;
  position: relative;
  padding-bottom: 96px;
  background-color: #F4F2EF;
  z-index: 3;
}

.news_columns_img1 {
  position: absolute;
  top: -100px;
  right: 40px;
  z-index: 3;
  animation-delay: .5s;
}

.news_columns_img2 {
  position: absolute;
  top: -100px;
  right: 200px;
  z-index: 3;
}

.news_columns_img3 {
  position: absolute;
  top: 14px;
  left: 32px;
  width: 70px;
}

.news_columns_img4 {
  position: absolute;
  top: -77px;
  left: 100px;
  width: 61px;
}

.news_columns_img5 {
  position: absolute;
  bottom: 350px;
  right: 85px;
}

.news_columns_img6 {
  position: absolute;
  bottom: 292px;
  right: 170px;
  width: 40px;
}

#news-columns h2 {
  color: #BACEDD;
  white-space: nowrap;
}

.news_columns_container {
  display: flex;
  gap: 6vw;
  margin-bottom: 80px;
}

.news_columns_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
}

.news_columns_gr {
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: 30px;
}

.news_columns_thumbnail {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.news_columns_thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .8s all;
}

.news_columns_gr:hover .news_columns_thumbnail img {
  transform: scale(1.1, 1.1);
}

.date_category_gr {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 3rem;
  margin-bottom: 20px;
}

.date {
  color: #fff;
  font-size: 1.3rem;
}

.news_columns_h3 {
  color: #fff;
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 3rem;
}

.news_columns_wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.works_left_wrap {
  padding-top: 40px;
}

/* ループ文字 */

.loop_tx {
  display: flex;
  width: 100%;
  height: 180px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 12.8rem;
  color: #2E6EA0;
  line-height: 12rem;
  margin-top: 180px;
}

.loop_tx_content {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 150px;
  overflow: hidden;
}

.loop_tx_content:nth-child(odd) {
animation: loop 50s -25s linear infinite;
}

.loop_tx_content:nth-child(even) {
animation: loop2 50s linear infinite;
}

@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}



/* ====================================
ABOUT US
==================================== */

#about {
  padding: 120px 0 120px 0;
  background-color: #F4F2EF;
  border-radius: 80px;
  position: relative;
  margin-top: -100px;
  z-index: 10;
  box-shadow: 0px 6px 20px 4px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width:1200px) {

  #about.scroll_top {
    scroll-margin-top: 30vw;
  }
  }

.about_container {
  display: flex;
  gap: 6vw;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.about_img1 {
  position: absolute;
  top: -80px;
  left: 60px;
  z-index: 100;
}

.about_contents_wrap {
  width: 100%;
}

.about_contents {
  display: grid;
  grid-template-columns: 4fr 3fr;
  gap: 40px;
  margin-bottom: 60px;
  width: 100%;
}

.about_img_gr {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.about_img2 {
  width: 80%;
  margin-bottom: 40px;
  max-width: 400px;
}

.about_img3 {
  position: absolute;
  bottom: 17vw;
  right: 2vw;
  width: 5vw;
  max-width: 61px;
  animation-delay: .8s;
}

.about_company_gr {
  display: flex;
  gap: 20px;
  margin-bottom: 3rem;
}

.about_company_gr p {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 5rem;
}

.map {
  width: 100%;
  height: 300px;
  border-radius: 20px;
}

.about_list {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid #CCCCCC;
}

.about_list_title {
  width: 30%;
  font-weight: 500;
}

.about_list_description {
  width: 70%;
}

/* ====================================
CONTACT
==================================== */
#contact {
  padding: 300px 0 240px 0;
  position: relative;
  background-image: url(../images/contact_back.png);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  margin-top: -100px;
  text-align: center;
  z-index: 0;
}

#contact .h2 {
  writing-mode: horizontal-tb;
  margin-bottom: 3rem;
}

.contact_tx {
  text-align: center;
  margin-bottom: 140px;
  font-size: 1.8rem;
}

.contact_img {
  position: absolute;
  top: -81px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

/* ====================================
フッター
==================================== */
#footer {
  position: relative;
  background-color: #2A2625;
  color: #fff;
  max-width: 100%;
}

.page_top_img {
  position: absolute;
  bottom: 90px;
  right: 20px;
  transition: .3s;
}

.page_top_img:hover {
  bottom: 95px;
}

.footer_container {
  padding: 40px 4vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.copy_right {
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 3rem;
  text-align: right;
}

.recaptcha {
  font-weight: 400;
  font-size: 1rem;
  line-height: 2rem;
  text-align: right;
}

.footer_logo {
  margin-bottom: 30px;
}

.footer_link_gr {
  display: flex;
  gap: 20px;
  font-size: 1.4rem;
}

.footer_link_gr a:hover {
  color: #F7CF57;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
下層ページ：NEWS & COLUMN
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.child_main {
  background-color: #F4F2EF;
}

.child_header {
  width: 100%;
  height: 540px;
  background-color: #F4F2EF;
  background-image: url(../images/child_head_back.svg);
  background-repeat: no-repeat;
  background-position: top -140px right -80px;
  position: relative;
  padding-top: 100px;
  z-index: 11;
}

.news_column_header_img {
  position: absolute;
  top: 136px;
  right: 190px;
}

.breadcrumb {
  display: flex;
  font-size: 1.2rem;
  padding: 0 30px;
  color: #828282;
  flex-wrap: wrap;
  line-height: 2rem;
}

.breadcrumb li::after {
  content: "/";
  margin: 0 1rem;
}

.breadcrumb li:last-child::after {
  content: "";
  margin: 0;
}

.breadcrumb li a:hover {
  color: #F5693F;
}

.mark {
  font-weight: 700;
  color: #2A2625;
}

.child_header_h1 {
  color: #106AAE;
  font-size: 6.4rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 5rem;
  padding: 0 8vw;
  margin: 260px auto 0 auto;
  max-width: 1920px;
}

.category_list_gr {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid #2A2625;
  padding-bottom: 30px;
  margin-bottom: 50px;
}

.category_li {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 4rem;
  background-color: #fff;
  border-radius: 100vh;
  padding: 0px 2rem;
}

.category_all {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 4rem;
  background-color: #fff;
  border-radius: 100vh;
  padding: 0px 2rem;
}

.category_li::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.news::before, .design::before {
  background-color: #F7CF57 !important;
}

.column::before, .ec-site::before {
  background-color: #239C7A !important;
}

.coding:before {
  background-color: #5FB3E0 !important;
}

.cms:before {
  background-color: #EB75BA !important;
}

.child_news_columns_container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px 40px;
}

.child_news_columns_wrap .date,
.child_news_columns_wrap .news_columns_h3 {
  color: #2A2625;
}

.child_news_columns_wrap .news_columns_thumbnail {
  aspect-ratio: 3 / 2;
  margin-bottom: 20px;
}

.category_container {
  background-color: #F4F2EF;
  padding: 50px 0 150px 0;
  margin-top: -50px;
  border-radius: 0 0 80px 80px;
  position: relative;
  z-index: 10;
  box-shadow: 0px 6px 20px 4px rgba(0, 0, 0, 0.1);
}

.cat_mark {
  background-color: #2A2625 !important;
  color: #fff !important;
}

.category_container .inner {
  max-width: 1920px;
}

.child_news_columns_gr:hover .news_columns_thumbnail img {
  transform: scale(1.1, 1.1);
}

/* ページネーション */
.nav-links > .page-numbers {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 2rem;
  margin-top: 80px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  line-height: 3rem;
  font-size: 1.4rem;
}

.page-numbers .page-numbers {
  display: inline-block;
  text-align: center;
  background-color: #fff;
  color: #2A2625;
  border-radius: 100vh;
  width: 30px;
  height: 30px;
}

.page-numbers.current {
  display: inline-block;
  text-align: center;
  background-color: #2A2625;
  color: #fff;
  border-radius: 100vh;
  width: 30px;
  height: 30px;
}

.prev, .next, .dots {
  background: none !important;
  color: #2A2625;
}

.next {
  padding-left: 1rem;
  width: 5rem !important;
}

.prev {
  padding-right: 1rem;
  width: 5rem !important;
}

.prev:hover,
.next:hover {
  color: #F5693F;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
下層ページ：NEWS & COLUMN 詳細
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.news_column_detail_wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.news_columns_detail_head_gr {
  border-bottom: #2A2625 1px solid;
  margin-bottom: 60px;
}

.detail_date {
  font-size: 1.6rem;
}

.news_columns_detail_h1 {
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 5.5rem;
  margin-bottom: 30px;
  text-align: justify;
}

.news_columns_detail_main_img {
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.news_columns_detail_main_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news_columns_detail_contents {
  margin-bottom: 100px;
  padding: 0 8vw;
}

.wp-block-image img {
  margin: 0 auto;
  display: block;
  max-width: 100%;
  margin-bottom: 60px;
  border-radius: 20px;
}

h2.wp-block-heading {
  font-size: 3.2rem !important;
  line-height: 5rem !important;
  border-left: 10px solid #F7CF57 !important;
  padding-left: 2rem !important;
  font-weight: 600 !important;
  margin: 40px 0 20px 0;
}

h3.wp-block-heading {
  font-size: 2rem !important;
  line-height: 4rem !important;
  padding-left: 3.5rem !important;
  font-weight: 600;
  margin: 40px 0 10px 0;
  position: relative;
}

h3.wp-block-heading::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 1.2rem;
  left: 0rem;
  width: 22px;
  height: 22px;
  background-image: url(../images/h3_arrow.svg);
  background-repeat: no-repeat;
}

.contact_container {
  padding-bottom: 200px;
}

@media (min-width: 1400px) {
  .news_columns_detail_contents {
    padding: 0 0vw;
  }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
下層ページ：CONTACT
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.contact_wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 80px;
  padding: 60px;
}

/*ContactForm7カスタマイズ*/
.wp-block-contact-form-7-contact-form-selector {
  padding-bottom: 120px;
}

table.CF7_table{
  text-align: left;
	width:100%;
	margin: 60px auto 0px auto;
	border: none;
}

.CF7_table th{
	width:30%;/*横幅*/
	background-color: transparent;
  padding-right: 30px;
}

.CF7_table p {
  margin-bottom: 30px;
  text-align: left;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: none;
  background: #F9F9F9;
  border: 1px solid #E6E6E6;
  border-radius: 10px;
  padding: 5px 10px;
  width: 100%;
}

.CF7_table input[type="radio"], .CF7_table input[type="checkbox"] {
  background: transparent !important;
  appearance: auto;
  width: 15px;
  margin-right: 5px;
}

.CF7_table ::placeholder {
	color:#797979;
}

.wpcf7-radio {
  display: flex;
}

.wpcf7-acceptance label {
  display: flex;
}

.radio .wpcf7-list-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.check_contents p {
  display: flex !important;
  justify-content: center !important;
}

/*「必須」文字*/
.CF7_req{
	font-size: 1.5rem;
	color: #e25333;
	margin-left:2px;
}

/* 「送信する」ボタン */
.submit_btn {
  margin: 0 auto !important;
  max-width: 300px !important;
  min-width: 240px !important;
  height: 50px !important;
  line-height: 1.5rem !important;
  padding: 1em !important;
  display: block !important;
  color: #fff !important;
  background: #2A2625 !important;
  font-weight: 500 !important;
  border-radius: 100vh !important;
  text-align:center !important;
  transition: 0.3s ease-in-out !important;
  position: relative !important;
}

.submit_btn:hover {
  background: #F7CF57 !important;
  color: #2A2625 !important;
}

.wpcf7-spinner {
  display: block !important;
  margin: 0 auto !important;
  background-color: #FF631C !important;
}

.privacy_link {
  border-bottom: solid 1px #565758 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #FF631C !important;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
下層ページ：お問い合わせ完了
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.thanks-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
}

.thanks_container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20vh;

}

.tanks_wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
下層ページ：404
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.wrap_404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
 margin: 0px auto 0vh auto;
 height: 100vh;
 position: relative;
}

.wrap_404 .button_bk {
  width: 100%;
}

.title404 {
  font-size: 3.6rem;
  font-weight: 500;
}

.wrap_404 p {
  margin: 50px 0;
  text-align: center;
}

.grecaptcha-badge {
  visibility: hidden;
}

/*media Queries 1024px
----------------------------------------------------*/
@media screen and (max-width:1024px) {
  /* ファーストビュー */
.fv {
  max-height: 700px;
}

#contact {
  background-attachment: scroll;
}

}

/*media Queries 912px
----------------------------------------------------*/
@media screen and (max-width:912px) {

/* ファーストビュー */
.fv {
  max-height: 100dvh;
}

.fv_bg.active {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgb(42, 38, 37, 0.5);
  width: 100vw;
  height: 100vh;
  z-index: 900;
  transition: .5s;
}

.fv_copy_back {
  width: 45vw;
}

.fv_copy {
  font-size: 3.2vw;
  line-height: 6.4vw;
  margin-top: 1.28vw;
}

.fv_copy img {
  padding-bottom: 4.6vw;
}

.wakuwaku1, .wakuwaku2 {
  width: 2.88vw;
}

.wakuwaku3, .wakuwaku4 {
  width: 1.92vw;
}

.fv_copy span {
  font-size: 5.44vw;
}

.fv_attention_gr {
  bottom: -35vw;
  right: -26vw;
  z-index: 10;
}

.fv_attention {
  padding: 0 2rem;
  font-size: 1.3rem;
  line-height: 2.5rem;
}

/* FVイラスト */
.fv {
  min-height: 900px;
}

.fv_img1 {
  top: -17vw;
  left: -17vw;
  width: 17vw;
}

.fv_img2 {
  margin-top: -1vw;
  width: 17vw;
  margin-left: 2vw;
}

.fv_img3 {
  top: -35vw;
  right: -32vw;
  width: 40vw;
}

.fv_img4 {
  bottom: -34vw;
  left: -29vw;
  width: 34vw;
}

.fv_img5 {
  display: none;
}

.fv_img6 {
  top: -45vw;
  left: -6vw;
  width: 13vw;
}

.fv_img7 {
  top: -48vw;
  right: -24vw;
  width: 13vw;
}

.fv_img8 {
  position: absolute;
  top: auto;
  position: absolute;
  top: auto;
  bottom: -44vw;
  left: 5vw;
  width: 13vw;
}

.fv_img9 {
  display: none;
}

.fv_guruguru1 {
  top: -35vw;
  left: 2vw;
  width: 14vw;
  transform: rotate(32deg) !important;
}

.fv_guruguru2 {
  top: -39vw;
  right: -36vw;
  width: 15vw;
  transform: rotate(-13deg) !important;
}

.fv_guruguru3 {
  bottom: 30.5vw;
  right: -38vw;
  width: 14vw;
  transform: rotate(-33deg) !important;
}

.fv_guruguru4 {
  bottom: -1vw;
  right: -22.4vw;
  width: 8vw;
  transform: rotate(-26deg) !important;
}

.fv_guruguru5 {
  bottom: -46vw;
  left: 25vw;
  width: 12vw;
  transform: rotate(-59deg) !important;
}

.fv_guruguru6 {
  top: 8.8vw;
  left: -35vw;
  width: 18vw;
  transform: rotate(178deg) !important;
}

.fv_light1 {
  top: -40vw;
  left: -26.5vw;
  width: 13vw;
}

.fv_light2 {
  top: -50vw;
  right: 4vw;
  width: 5vw;
}

.fv_light3 {
  bottom: -48vw;
  right: -29vw;
  width: 11vw;
}

.fv_light4 {
  display: none;
}

.ripples:before {
  background-size: 100%;
}

.ripples:after {
  background-size: 100%;
}

@keyframes ripples {
  0% {
      width: 0;
      height: 0;
      opacity: 1;
  }

  100% {
    width: 140%;
    height: 140%;
    opacity: 1;
  }
}

@keyframes ripples2 {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
}

100% {
  width: 200%;
  height: 200%;
  opacity: 1;
}
}

/* SERVICE */

.box1::after, .box2::after, .box3::after, .box4::after, .box5::after, .box6::after, .box7::after, .box8::after {
  background-size: 100%;
  width: 300px;
  height: 300px;
  top: -9vh;
}

.service_wrap {
  margin-top: -107vh;
}

.h3 {
  font-size: 2.7rem;
  letter-spacing: 0.1rem;
  line-height: 4rem;
}

}


/*media Queries 768px
----------------------------------------------------*/
@media screen and (max-width:768px) {
  body {
    font-size: 1.5rem;
    line-height: 3.2rem;
    overflow-x: hidden;
  }

  .sp_nav {
    display: block;
    position: relative;
  }

  .inner {
    padding: 0 30px !important;
  }

  .logo {
    z-index: 800;
  }

  .logo img {
    width: 80px;
  }

  .header_nav {
    display: none;
  }

  .pc_display_none {
    display: block !important;
  }

  .pc_display_none_flex {
    display: flex !important;
  }

  .pc_display_flex {
    display: none !important;
  }

  .pc_display_block {
    display: none !important;
  }

  /* スマホ用メニューボタン */
  .sp_menu{
    display: block;
    padding: 80px 0px 150px 0px;
    color: #fff;
    background-color: #2A2625;
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    z-index: 999;
    transition: .5s;
    font-size: 1.5rem;
    overflow-x: hidden;
    line-height: 5rem;
    border-radius: 40px 0 0 40px;

    font-family: "Montserrat", sans-serif;
    font-weight: 600;
  }

  .sp_menu.active{
    width: 80%;
    left: 20%;
  }

  .hamburger {
    display: block; 
    position: fixed;
    top: 10px;
    right: 10px;
    width: 60px; 
    height: 60px;
    background-color: #2A2625;
    border-radius: 100vh;
    cursor: pointer;
    z-index: 9999;
    transform: translate3d(0, 0, 0);
  }
  
  .hamburger span{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2.5px;
    border-radius: 1.5px;
    background-color: #fff;
    transition: .5s;
  }
  .hamburger span:first-of-type{/* ハンバーガーメニューの1番目の線 */
    top: 20px;
  }
  .hamburger span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
    top: 29px;
  }
  .hamburger span:last-of-type{/* ハンバーガーメニューの3番目の線 */
    bottom: 20px;
  }

  /* メニュークリック時 */
  .hamburger.active span:first-of-type{/* ハンバーガーメニューの1番目の線 */
    top: 50%;
    transform: translate(-50%, -2px) rotate(45deg);
    background-color: #2A2625;
  }
  .hamburger.active span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
    opacity: 0;/* 透明にする */
  }
  .hamburger.active span:last-of-type{/* ハンバーガーメニューの3番目の線 */
    top: 50%;
    transform: translate(-50%, -2px) rotate(-45deg);
    background-color: #2A2625;
  }

  .hamburger.active {
    background-color: #fff;
  }

  .sp-menu.active{
    transform: translateY(0); 
  }

.sp_menu_link {
  display: block;
  width: 100%;
  height: 60px;
  padding: 0 50px;
}

.sp_menu_img {
  position: absolute;
  right: 3vw;
  bottom: 10vh;
}

/* ヘッダーボタン */
.header_button a {
  background: #fff;
}

.header_button a span {
  color:#2A2625;
  font-weight: 700;
}

.header_button a:hover span{
  color:#fff;
}

.header_button {
  padding: 0 50px;
  width: 100%;
  margin-top: 40px;
}

.fv {
  min-height: 667px;
}

.fv_img2 {
  margin-left: 6vw;
}

/* ====================================
SERVICE
==================================== */
#service {
  padding-top: 0;
}

.h2_gr {
  position: relative;
  margin-bottom: 10px;
  height: auto;
  z-index: 120;
}

.h2_sub {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.h2 {
  writing-mode: horizontal-tb;
  font-size: 4rem;
  line-height: 4rem;
  text-align: center;
}

.service_wrap {
  margin-top: 100px;
  padding-left: 0px;
  flex-direction: column;
}

.service_img_wrap {
  width: 100%;
  height: 60vw;
  position: sticky;
  position: -webkit-sticky;
  top: -30px;
  z-index: 10;
  background: linear-gradient(#fff 90%, transparent);
}

.service_img {
  width: 50vw;
  max-width: 300px;
}

.service_contents_wrap {
  width: 100%;
  padding-right: 0px;
  z-index: 9;
}

.service_contents_wrap div {
  padding-left: 0;
  padding-top: 30vh;
}

.service_img_gr {
  height: auto;
  padding-left: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service_contents_wrap div {
  position: relative;
  z-index: 100;
}

.box1::after, .box2::after, .box3::after, .box4::after, .box5::after, .box6::after, .box7::after, .box8::after {
  display: none;
}

.service_pagination {
  height: auto;
}

.service_pagination .sp_box.active {
  background-color: #106AAE;
}

.service_pagination div {
  width: 7px;
  height: 7px;
}

.service_num {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
}

.service_num:before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 1rem;
}

.service_pagination::after {
  height: 112px;
}

.h3 {
  font-size: 2.4rem;
  letter-spacing: 0.05rem;
  line-height: 3.5rem;
}

/* ====================================
WORKS
==================================== */
#works {
  padding: 80px 0 180px 0;
  border-radius: 40px 40px 0 0;
}

#works .h2 {
  padding: 0 30px;
  width: auto;
}

.works_tx {
  padding: 0 30px;
}


.works_lead_gr {
  gap: 0;
}

.swiper-button_gr {
  display: none;
}

.works_img2 {
  left: auto;
  right: 39px;
  top: -90px;
  width: 93px;
}

.works_img1 {
  left: auto;
  right: 123px;
  top: -107px;
  width: 77px;
}

.works_img3 {
  width: 58px;
  transform: rotate(-107deg);
  right: auto;
  left: 20px;
}


.works_h3 {
  font-size: 1.6rem;
  margin: 10px 0;
  line-height: 2.5rem;
}

.cat_gr {
  gap: 6px;
}

.works_cotainer {
  flex-direction: column;
  gap: 0px;
}

.swiper {
  margin-left: 0px !important;
}

.swiper-scrollbar {
  margin-left: 0;
}

.swiper-wrapper {
  padding: 40px 0 140px 0;
}

.swiper-horizontal>.swiper-scrollbar, .swiper-scrollbar.swiper-scrollbar-horizontal {
  width: 100% !important;
  position: static !important;
}

/* ====================================
NEWS & COLUMNS
==================================== */
#news-columns {
  padding: 80px 0 30px 0;
  border-radius: 40px 40px 0 0;
}

#news-columns .h2 {
  font-size: 3.4rem;
  padding: 0;
  width: auto;
  line-height: 3.5rem;
  white-space: nowrap;
}

.news_columns_img1 {
  width: 243px;
  top: -49px;
  right: 40px;
}

.news_columns_img2 {
  width: 241px;
  top: -49px;
  right: 120px;
}

.news_columns_img3 {
  width: 36px;
  left: auto;
  right: 30px;
  top: -119px;
}

.news_columns_img4 {
  display: none;
}

.news_columns_container {
  flex-direction: column;
}

.news_columns_wrap {
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 40px;
}

.news_columns_gr {
  gap: 20px;
}

.news_columns_h3 {
  font-size: 1.6rem;
  line-height: 2.5rem;
}

.date_category_gr {
  margin-bottom: 10px;
}

.loop_tx {
  margin-top: 170px;
}

.loop_tx_content {
  font-size: 6.4rem;
}

.news_columns_img5 {
  width: 80px;
  bottom: 246px;
  right: 3px;
}

.news_columns_img6 {
  bottom: 201px;
  right: 77px;
  width: 43px;
}


/* ====================================
ABOUT US
==================================== */

#about {
  padding: 80px 0 80px 0;
  border-radius: 40px;
}

#about.scroll_top {
  scroll-margin-top: 0 !important;
}

.about_img1 {
  width: 86px;
  top: -55px;
  left: 26px;
}

.about_container {
  flex-direction: column;
}

.about_contents {
  grid-template-columns: 1fr;
  margin-top: 50px;
}

.about_tx_gr {
  order: 2;
}

.about_img_gr {
  order: 1;
}

.about_img2 {
  margin-bottom: 0;
}

.about_logo {
  width: 102px;
  margin: 0 auto;
}

.about_company_gr {
  flex-direction: column;
  gap: 10px;
}

.about_company_gr p {
  text-align: center;
}

.about_img3 {
  position: absolute;
  bottom: 40vw;
  right: 10vw;
  width: 50px;
}

/* ====================================
CONTACT
==================================== */

#contact {
  padding: 230px 0 150px 0;
  background-attachment: scroll;
  background-image: url(../images/sp_contact_back.png);
  background-position: 50%;
  background-size: cover;
}

#contact .h2 {
  line-height: 3rem;
}

.contact_tx {
  font-size: 1.6rem;
  margin-bottom: 100px;
}

.contact_img {
  top: -51px;
  width: 147px;
}

/* ====================================
フッター
==================================== */
.footer_container {
  padding: 60px 30px 30px 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer_left_gr {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 40px;
}

.page_top_img {
  bottom: 223px;
  right: 8px;
  width: 132px;
}

.page_top_img:hover {
  bottom: 230px;
}

.footer_logo_a {
  margin: 0 auto 0px auto;
}

.footer_logo {
  width: 200px;
  margin: 0 auto 30px auto;
}

.footer_link_gr {
  flex-wrap: wrap;
  justify-content: center;
}

.copy_right {
  font-size: 1rem;
  line-height: 2rem;
  text-align: center;
}

.recaptcha {
  font-size: 0.9rem;
  text-align: center;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
下層ページ：NEWS & COLUMN
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.child_header {
  padding-top: 70px;
  background-size: 220px;
  background-position: top -40px right -60px;
  height: auto;
  margin-bottom: 40px;
}

.news_column_header_img {
  width: 150px;
  right: 40px;
}

.child_header_h1 {
  font-size: 3.2rem;
  padding: 0 30px;
  margin: 160px auto 0 auto;
}

.category_list_gr li {
  font-size: 1.3rem;
  padding: 0px;
  line-height: 3rem;
}

.category_list_gr {
  gap: 1rem;
  flex-wrap: wrap;
}

.category_li {
  padding: 0 1.3rem;
}

.child_news_columns_container {
  grid-template-columns: 1fr 1fr;
  gap: 40px 20px;
}

.child_news_columns_wrap .date {
  font-size: 1.2rem;
}

.child_news_columns_wrap .news_columns_h3 {
  font-size: 1.5rem;
  text-align: justify;
}

.category_container {
  padding: 50px 0 100px 0;
  border-radius: 0 0 40px 40px;
}

/* ページネーション */
.content > .page-numbers {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 1rem;
  margin-top: 80px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  line-height: 2rem;
  font-size: 1.3rem;
}

.page-numbers .page-numbers {
  display: inline-block;
  text-align: center;
  background-color: #fff;
  color: #2A2625;
  border-radius: 100vh;
  width: 20px;
  height: 20px;
}

.page-numbers.current {
  display: inline-block;
  text-align: center;
  background-color: #2A2625;
  color: #fff;
  border-radius: 100vh;
  width: 20px;
  height: 20px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
下層ページ：NEWS & COLUMN　詳細
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.news_columns_detail_h1 {
  font-size: 2.6rem;
  line-height: 4rem;
  letter-spacing: 0;
}

.news_columns_detail_head_gr {
  margin-bottom: 40px;
}

.news_columns_detail_contents {
  margin-bottom: 80px;
}

.child_contact_head_img {
  width: 170px;
}

h2.wp-block-heading {
  font-size: 2.2rem !important;
  line-height: 3.5rem !important;
  border-left: 5px solid #F7CF57 !important;
  padding-left: 1.5rem !important;
}

h3.wp-block-heading {
  font-size: 1.8rem !important;
  line-height: 3.5rem !important;
  padding-left: 3rem !important;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
下層ページ：CONTACT
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.contact_container .inner {
  padding: 0 !important;
}

.contact_container {
  padding-bottom: 100px;
}

.contact_wrap {
  border-radius: 40px;
  padding: 30px 30px 60px 30px;
}


/* お問い合わせフォーム */

.contact-btn {
  font-size: 1.3rem;
  width: 100% !important;
  max-width: 250px;
  height: 50px;
  line-height: 2rem;
}


.CF7_table p {
  margin-bottom: 0;
}

.CF7_table tr {
  margin-bottom: 20px;
}

.contact-btn:after {
  position: absolute;
  right: 1rem;
}

table.CF7_table{
  width:95%;
  }
  .CF7_table tr, .CF7_table td, .CF7_table th{
  display: block;
  width: 100%;
  }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
下層ページ：お問い合わせ完了
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.thanks-title {
  font-size: 2.4rem;
  margin-bottom: 40px;
  text-align: left;
}

}

/*media Queries 500px
----------------------------------------------------*/
@media screen and (max-width:500px) {

  .service_img_wrap {
    width: 100%;
    height: 96vw;
  }

  .service_img {
    width: 100%;
  }

  .fv {
    min-height: 667px;
  }
  
  .fv_bg.active {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(42, 38, 37, 0.5);
    width: 100vw;
    height: 100vh;
    z-index: 900;
    transition: .5s;
  }
  
  .fv_copy_back {
    width: 70vw;
  }
  
  .fv_copy {
    font-size: 5vw;
    line-height: 10vw;
    margin-top: 2vw;
  }
  
  .fv_copy img {
    padding-bottom: 7.3vw;
  }
  
  .wakuwaku1, .wakuwaku2 {
    width: 4.5vw;
  }
  
  .wakuwaku3, .wakuwaku4 {
    width: 3vw;
  }
  
  .fv_copy span {
    font-size: 8.5vw;
  }
  
  .fv_attention_gr {
    bottom: -51vw;
    right: -25vw;
    z-index: 10;
  }
  
  .fv_attention {
    padding: 0 -0.5rem;
    font-size: 1.2rem;
    line-height: 2rem;
  }

  .br_500 {
    display: inline;
  }
  
  /* FVイラスト */
  
  .fv_img1 {
    top: -27vw;
    left: -17vw;
    width: 22vw;
  }
  
  .fv_img2 {
    margin-top: -1.5vw;
    width: 22vw;
    margin-left: 11vw;
  }
  
  .fv_img3 {
    top: -59vw;
    right: -26vw;;
    width: 55vw;
  }
  
  .fv_img4 {
    bottom: -55vw;
    left: -25vw;
    width: 48vw;
  }
  
  .fv_img5 {
    display: none;
  }
  
  .fv_img6 {
    top: -65vw;
    left: 6vw;
    width: 19vw;
  }
  
  .fv_img7 {
    top: -56vw;
    right: -26vw;
    width: 14vw;
  }
  
  .fv_img8 {
    position: absolute;
    top: auto;
    bottom: -68vw;
    left: 9vw;
    width: 17vw;
    max-width: 121px;
    animation-delay: 2.5s;
  }
  
  .fv_img9 {
    display: none;
  }
  
  .fv_guruguru1 {
    top: -35vw;
    left: 2vw;
    width: 16vw;
    transform: rotate(32deg) !important;
  }
  
  .fv_guruguru2 {
    top: -40vw;
    right: -29vw;
    width: 16vw;
    transform: rotate(-13deg) !important;
  }
  
  .fv_guruguru3 {
    bottom: 30.5vw;
    right: -30vw;
    width: 19vw;
    transform: rotate(-33deg) !important;
  }
  
  .fv_guruguru4 {
    bottom: -8vw;
    right: -22.4vw;
    width: 11vw;
    transform: rotate(-26deg) !important;
  }
  
  .fv_guruguru5 {
    bottom: -56vw;
    left: 25vw;
    width: 16vw;
    transform: rotate(-59deg) !important;
  }
  
  .fv_guruguru6 {
    top: 14.8vw;
    left: -35vw;
    width: 23vw;
    transform: rotate(178deg) !important;
  }
  
  .fv_light1 {
    top: -51vw;
    left: -21.5vw;
    width: 20vw;
  }
  
  .fv_light2 {
    top: -70vw;
    right: -1vw;
    width: 7vw;
  }
  
  .fv_light3 {
    bottom: -67vw;
    right: -21vw;
    width: 13vw;
  }
  
  .fv_light4 {
    display: none;
  }

  #news-columns .h2 {
    white-space: normal;
  }

  }

/*media Queries 360px
----------------------------------------------------*/
@media screen and (max-width:360px) {
  .page_top_img {
    bottom: 272px;
  }

  .page_top_img:hover {
    bottom: 282px;
  }

  .news_columns_img1 {
    right: -15px;
}

.news_columns_img2 {
  width: 241px;
  top: -49px;
  right: 65px;
}

.fv_attention {
  font-size: 1.1rem;
}
}

