/* GutenbergのFlexレイアウト対応 */
.is-layout-flex {
  display: flex;
  flex-wrap: wrap; /* または nowrap に変更可能 */
  gap: var(--wp--style--block-gap, 1em);
}

/* グループブロックの幅調整 */
.wp-block-group.is-layout-flex > * {
  margin: 0;
}
#wpadminbar{
  display: none;
}
.pc{display: block;}
.sp{display: none;}
.inline-pc{display: inline-block!important;}
.inline-sp{display: none!important;}
.head-spmenu{display: none!important;}
html {
  scrollbar-gutter: stable;
}
body.home.overflow-hidden {
  overflow: hidden !important;
  position: fixed; /* iOS対策 */
  width: 100%;     /* iOS対策 */
}
* {
  margin: 0;
  padding: 0;
  letter-spacing: 2px;
}
ul,li{
  list-style: none;
}
a:-webkit-any-link {
  text-decoration: none;
}
img{
  width: 100%;
  vertical-align: bottom;
}
a,button{
opacity: 1;
transition: 0.3s;
color: unset;
}
a:hover,button:hover{
opacity: 0.8;
}
h2,p,b{
  color:#4C4948;
}
#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
}

#loader img {
  width: 170px;
  height: auto;
}
.under-bg{
  position: absolute;
  z-index: 1;
}
.news-contact-bg{
  position: absolute;
  z-index: 1;
  right: -10px;
  top: 50%;
}
.breadcrumb {
  font-size: 14px;
  color: #4C4948;
  display: flex;
  align-items: center;
  font-family: sans-serif;
  width: 95%;
  padding-top: 100px;
  margin: auto;
  position: relative;
  z-index: 2;
}
.breadcrumb a {
  color: #4C4948;
  opacity: 1;
  transition: 0.3s;
}
.breadcrumb a:hover {
  color: #70BD18;
  opacity: 0.8;
}
.breadcrumb-separator {
  margin: 0 6px;
  color: #70BD18; /* 緑色 */
  font-weight: bold;
}
.b-under{
  margin-bottom: -200px;
}

/* フェードアップ（画像のみ適用） */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.5s ease-out;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
    opacity: 0;
    transition: opacity 2s ease-out;
}
.fade-in.show {
    opacity: 1;
}
/* 下からマスクアップアニメーション */
.js-observer {
  overflow: hidden; /* マスクを適用 */
  display: block;
}

.js-observer .is-digout .row {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  /* transition: transform 0.5s cubic-bezier(0.83, 0, 0.17, 1), opacity 0.8s ease-out; */
  transition: transform 1s ease, opacity 0.8s ease-out;
}

.js-observer.is-cue .is-digout .row {
  opacity: 1;
  transform: translateY(0);
}

/* data-delay を適用 */
.js-observer .is-digout .row[data-delay="100"] { transition-delay: 0.1s; }
.js-observer .is-digout .row[data-delay="200"] { transition-delay: 0.2s; }
.js-observer .is-digout .row[data-delay="300"] { transition-delay: 0.3s; }

.fade-up[data-delay="100"] { transition-delay: 0.1s; }
.fade-up[data-delay="200"] { transition-delay: 0.2s; }
.fade-up[data-delay="300"] { transition-delay: 0.3s; }
.fade-up[data-delay="400"] { transition-delay: 0.4s; }
.fade-up[data-delay="500"] { transition-delay: 0.5s; }
.fade-up[data-delay="600"] { transition-delay: 0.6s; }
.fade-up[data-delay="700"] { transition-delay: 0.7s; }
.fade-up[data-delay="800"] { transition-delay: 0.8s; }

.fade-in[data-delay="100"] { transition-delay: 0.1s; }
.fade-in[data-delay="200"] { transition-delay: 0.2s; }
.fade-in[data-delay="300"] { transition-delay: 0.3s; }
.fade-in[data-delay="400"] { transition-delay: 0.4s; }
.fade-in[data-delay="500"] { transition-delay: 0.5s; }
.fade-in[data-delay="600"] { transition-delay: 0.6s; }
.fade-in[data-delay="700"] { transition-delay: 0.7s; }
.fade-in[data-delay="800"] { transition-delay: 0.8s; }

.fade-up[deta-deley-duration="100"] {transition-duration: 0.8s;}
.fade-up[deta-deley-duration="200"] {transition-duration: 1s;}

/*========= ナビゲーションのためのCSS ===============*/
/* ヘッダー全体 */
header {
  background: #fff;
  padding: 10px 0;
}

/* ヘッダーのラップ */
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95%;
  margin: 0 auto;
  height: 60px;
}
.logo{
  margin: auto 0;
  align-content: center;
}
.logo a{
  display: flex;
}
/* ロゴ */
.logo img {
  max-width: 280px;
  width: 20vw;
  max-height: 40px;
  vertical-align: bottom;
}

/* ナビゲーション */
.global-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav ul li {
  display: inline-block;
  align-content: center;
}

.global-nav ul li a {
  text-decoration: none;
  color: #4C4948;
  font-size: clamp(15px, 1.3vw, 18px);
  padding: 8px 0.8vw;
  transition: color 0.3s;
  letter-spacing: 1px;
  max-width: 210px;
  box-sizing: border-box;
  display: block;
  transition: color 0.3s ease;
  position: relative;
}

.global-nav ul li.active a {
  color: #70BD18;
}
.global-nav ul li a:after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #4C4948;
  transition: width 0.3s ease, left 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.global-nav ul li a:hover:after {
  width: 100%;
  left: 0;
  opacity: 1;
  /* color: #70BD18;
  border-bottom: solid 1px #4C4948; */
}
.global-nav ul li .highlight-btn:hover {
  border-bottom: none;
  opacity: 1;
}
/* AtoZボタン */
.highlight-btn {
  position: relative;
}
.global-nav ul li .highlight-btn:hover:after{
  content: unset;
}
.corpnote {
  position: absolute;
  background-color: #FFF2E8;
  text-align: center;
  padding: 15px;
  font-size: 15px;
  line-height: 160%;
  margin: auto;
  margin-top: 5px;
  left: 0;
  right: 0;
  height: auto;
  opacity: 0;
  max-width: 145px;
  border-radius: 6px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  color: #EB6100;
  transition: ease-in 0.3s;
  visibility: hidden;
}
a.highlight-btn:hover .corpnote{
  height: auto;
  opacity: 1;
  visibility: visible;
}
  .openbtn1{
    display: none;
  }
  header{
    width: 100%;
    margin: auto;
    height: 60px;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
  }
  header .wrap{
      width: 100%;
      margin: auto;
      position: relative;
      display: flex;
      height: 60px;
      padding-left: 3vw;
      padding-right: 3vw;
      box-sizing: border-box;
      /* top: -70px; */
      justify-content: space-between;
  }
  .scrollOn header{
    background-color: #fff;
    opacity: 1;
  }
  .scrollOn header .wrap {
    top: 0px;
  }
  
body {
    margin: 0;
    background: #fff;
    font-family: "Noto Sans JP", Arial, sans-serif;
    overflow-x: hidden;
  }
  body.page-template header{
    opacity: 1;
  }
  #sub-main {
    margin-top: -50px;
    position: relative;
  }
  #anime{
    opacity: 0;
    position: relative;
  }
  .first-v-area {
    position: absolute;
    width: 100%;
    height: 80vw;
    max-height: 100vh;
  }

  .container {
    width: 100%;
    opacity: 0; /* 初期状態で非表示 */
    transition: opacity 1s ease-in-out; /* フェードインアニメーション */
  }

  .container.visible {
    opacity: 1; /* 表示状態 */
  }
  svg {
    width: 90%; /* レスポンシブ対応 */
    /* height: 100%; */
    position: relative;
    top: -0.9vw;
    left: -5vw;
    margin-right: auto;
  }
  .initial-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(1.5);
    width: 150vw;
    height: calc(100vw * 20 / 36);
    max-height: 122vh;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
    transform-origin: center;
    will-change: opacity, transform;
}
  .initial-svg svg{
    left: 0!important;
    top: 0!important;
  }
  
  /* @keyframes fadeInExpand {
    0% {
      opacity: 0;
      top: 50%;
      transform: translate(-50%, -50%) scale(1);
    }
    35% {
      opacity: 1;
      top: 50%;
      transform: translate(-50%, -50%) scale(1);
    }
    48%{
      opacity: 0.8;
      top: 50%;
      transform: translate(-50%, -50%) scale(1);
    }
    100% {
      opacity: 0;
      top: 25vw;
      transform: translate(-500%, -50%) scale(calc(170 / 10), calc(200 / 10));
    }
  } */
  
  
  
  .logo-front{
    position: absolute;
    top: 26.8vw;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    width: 100%;
    max-width: 100px;
    z-index: 1;
    opacity: 0;
    transform-origin: left center; /* 左端を基準に拡大 */
  }
  .logo-front2{
    position: absolute;
    top: 26.8vw;
    margin-top: 80px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    max-width: 220px;
    z-index: 1;
  }

  @media screen and (max-width:1360px) {
    .logo-front{
      margin-top: 0.2%;
    }
  } 
  .third-triangle {
    position: absolute;
    top: -4vw;
    right: 6.5%;
    transform: scale(1.5);
    left: unset;
    width: 50%;
    height: auto;
    opacity: 0;
    z-index: 2;
  }
  .right-bottom-svg{
    position: absolute;
    top: 17.8vw;
    right: -3%;
    left: unset;
    width: 48vw;
    height: auto;
    opacity: 0;
    z-index: 2;
  }

  .clip-path-anim{
    opacity: 0;
  }

  .container svg image {
    width: 120%;
    height: 100%;
  }
  .third-triangle image{
    width: 220%;
    height: 100%;
  }

  .content {
    padding: 20px;
    background: #fff;
    color: #4C4948;
  }
  .mv-txt{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 5vw;
    opacity: 0;
    z-index: 3;
    font-size: 64px;
    line-height: 100px;
    display: inline-table;
    color: #4C4948;
    font-weight: 600;
    letter-spacing: 4px;
  }
  .first-v-area small{
    font-size: 32px;
    display: block;
    line-height: 60px;
    }
  .cls-2{fill:#70BD18;}


.fadeinslide-wrapper {
    display: inline-flex; /* 横並びにする */
    align-items: center; /* 上下位置を揃える */
    width: 100%;
    gap: 10px;
}
.fadeinslide-txt { 
    position: relative;
    display: inline-block;
    width: 60%;
    background: #fff;
    height: 15vh;
    max-height: 70px;
}
.fadeinslide-txt img { 
    position:absolute; 
    left:0; 
    top:0;
    bottom: 0;
    margin: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform:scale(1.2);
}
.fadeinslide-txt img:first-child {
    opacity: 1; /* 初期表示の画像を設定 */
}
.support-text {
    display: inline-block;
    width: 100%;
}

/* 元のアイコンメニュー */
.icon-menu{
  position: absolute;
  right: -2px;
  bottom: -30px;
  z-index: 9989;
  opacity: 0;
  pointer-events: none;
  list-style: none;
}
.icon-menu .title{
  background-color: #fff;
  border-radius: 10px 0px 0px 10px;
  color: #4C4948;
  font-weight: bold;
  padding: 10px 25px;
  margin-top: 0;
  margin-bottom: 7px;
  filter: none;
  width: 249px;
  font-size: 18px;
  box-sizing: border-box;
  position: relative;
  text-align: center;
}
.icon-menu li{
  list-style: none;
}
.icon-menu li.sidemenu{
  position: relative;
}
.icon-menu img{
  vertical-align: bottom;
  margin-left: -2px;
}

/* .icon-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 30px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    row-gap: 1vw; 
    width: 170px; 
    opacity: 0; 
    pointer-events: none;
}
.icon-menu a{
    text-decoration: none;
}
.icon-menu:hover {
    pointer-events: auto;
}
.hover-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 170px;
    height: 170px;
    background-color: #e3f7f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.8s ease-in-out;
}
.hover-button:hover {
    transform: translateX(-300px);
    width: 470px;
    z-index: 1;
}
.icon-menu .hover-button:not(:hover) {
    transform: translateX(0);
    width: 170px;
    transition: none;
}
.hover-button img {
    width: 170px;
    height: 170px;
    flex-shrink: 0;
}
.hover-button .text {
    opacity: 0;
    margin-left: 20px;
    color: #333;
    transition: opacity 0.3s ease-in-out;
    font-size: 16px;
    line-height: 1.5;
    white-space: normal;
    padding-right: 20px;
    letter-spacing: 1px;
}
.hover-button:hover .text {
    opacity: 1;
}
.hover-button .title {
    font-size: 18px;
    font-weight: bold;
    color: #16b5c0;
    margin-bottom: 5px;
} */

.dot-container {
  position: absolute;
  width: 50px;
  height: 80px;
  overflow: hidden;
  bottom: -35px;
  left: 0;
  right: 0;
  margin: auto;
  opacity: 0;
  background-image: url(../img/scroll.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  z-index: 2;
}

.dot {
  position: absolute;
  top: 0px;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: #70BD18;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: drop 2.5s ease-in-out infinite;
}
.skip-area{
  position: absolute;
  height: 100vh;
  width: 100%;
  top: 80px;
}
#skipBtn{
  position: absolute;
  right: 50px;
  bottom: 50px;
  z-index: 99999999;
  cursor: pointer;
  color: #70BD18;
  font-weight: bold;
  border-radius: 10px;
  padding: 15px 30px;
  font-size: 20px;
  background-color: #F3FAEE;
  border:none;
  letter-spacing: 2px;
  z-index: 5;
}

/* アニメーション */  
@keyframes drop {
  0% { top: 5px; opacity: 0; }
  20% { opacity: 1; }
  30% { top: 35px; }
  45% { top: 30px; opacity: 0.6; }
  55%{ top: 30px; opacity: 0; }
  100%{ top: 30px; opacity: 0; }
}

/*コンテンツエリア*/
.wrap{
  max-width: 1200px;
  width: 90%;
  margin: auto;
  position: relative;
  z-index: 1;
}
.middle-wrap{
  width: 95%;
  margin: auto;
}
.wide-wrap{
  width: 100%;
  margin: auto;
}
.home .intro{
  margin-top: -8vw;
  opacity: 0;
}
@media screen and (max-width:1200px) {
.home .intro{
  margin-top: 5vw;
}
}
.intro .wrap{
  text-align: left;
}
.intro .wrap:before{
  content: "";
  background-image: url(../img/intro-photo.webp);
  background-repeat: no-repeat;
  background-size: 100%;
  max-width: 500px;
  width: 40vw;
  height: 40vw;
  position: absolute;
  right: -10px;
  top: 25%;
}
.intro h2{
  color: #70BD18;
  font-size: 48px;
  line-height: 160%;
  padding-bottom: 25px;
}
.intro p{
  color: #4C4948;
  line-height: 45px;
  font-size: 21px;
}
.intro .philosophy-btn{
  padding: 20px 25px;
  color: #fff;
  background-color: #70BD18;
  border-radius: 6px;
  margin: 50px auto 50px 0px;
  display: block;
  max-width: 300px;
  font-size: 21px;
  text-decoration: none;
  text-align: left;
  position: relative;
  opacity: 1;
  transition: 0.3s;
}
.intro .philosophy-btn:before{
  content: "\2192";
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 24px;
  color: #fff;
  height: fit-content;
}
.intro .philosophy-btn:hover{
  opacity: 0.8;
}

#looplogo-area .w-wrap{
  position: relative;
  height: 50vw;
  align-content: center;
}
#looplogo-area .w-wrap:before{
  content: "";
  position: absolute;
  background-image: url(../img/looparea-photo.webp);
  width: 90%;
  height: 55vw;
  background-repeat: no-repeat;
  background-size: 100%;
  left: 0;
  top: 0;
  z-index: 2;
}
.scroll-container {
  width: 100%;
  overflow: hidden;
  background: #fff;
  white-space: nowrap;
  position: relative;
}
.scroll-content {
  display: flex;
  gap: 30px;
  animation: scroll 45s linear infinite;
  width: max-content;
}
.scroll-content img {
  height: 45px; /* ロゴの高さ */
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.title-wrap{
  text-align: center;
}
.title-wrap b{
  font-size: 21px;
  padding-top: 20px;
  display: block;
  font-weight: 500;
  text-align: center;
}
#service{
  background-color: #F7F7F7;
}
#service img{
  width: 100%;
}
#service .title{
  height: 70px;
  display: block;
}
#service .wrap{
  padding: 100px 0;
}
.tab-container {
  margin: 50px auto 20px;
}
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  position: relative;
  width: 100%;
  z-index: 1;
  top: 11px;
}
.tab-content{
  position: relative;
  min-height: 270px;
  /* top: 113px; */
}
.tab-btn {
  padding: 10px 20px;
  border: none;
  background: #fff;
  cursor: pointer;
  transition: background 0.8s;
  border: solid 1px #70BD18;
  border-radius: 10px;
  font-size: 32px;
  font-weight: 700;
  color:#70BD18;
  width: 100%;
  margin: 10px auto;
  position: relative;
}
.tab-btn small{
  font-size: 24px;
}
.tab-btn.active {
  background: #F3FAEE;
  color: #70BD18;
  border-bottom: unset;
  border-radius: 10px 10px 0 0;
  margin: 0;
  opacity: 1;
}
.tab-btn.active::after {
  /* content: ""; */
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: calc(100% + 1.6px);
  border-left: solid 1px #70bd18;
  border-right: solid 1px #70bd18;
  height: 20px;
  background-color: #F3FAEE;
}
.tab-panel {
  position: absolute;
  width: 100%;
  background: #F3FAEE;
  border: solid 1px #70BD18;
  border-radius: 0 10px 10px 10px;
  padding: 50px 100px 50px 80px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.tab-panel .tab-area-title{
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.5s ease-out;
}
.tab-panel.active .tab-area-title{
  transform: rotateY(0);
  opacity: 1;
}
.tab-panel.active .tab-area-title.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.5s ease-out;
}
.tab-panel.active .tab-area-title.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
.tab-panel:last-child img{
  width: 80%!important;
  padding: 20px 0;
}
.tab-panel:last-child .img-box{
  justify-content: end;
}
.sp-title{display: none;}
.tab-panel.tab-active-1 {
  border-radius: 0 10px 10px 10px;
}
.tab-panel.tab-active-2 {
  border-radius: 10px;
}
.tab-panel.tab-active-3 {
  border-radius: 10px 0 10px 10px;
}
/* 表示されるタブ */
.tab-panel.active {
  opacity: 1;
  visibility: visible;
}

#service .flex-wrap{
  display: flex;
  gap: 20px;
  color: #4C4948;
}
#service .img-box{
  width: 37%;
  max-height: 175px;
  display: flex;
  justify-content: center;
}
#service .img-box img{
  width: 100%;
  aspect-ratio: 60 / 50;
}
#service .tab-area-title{
  font-size: 24px;
  line-height: 40px;
  display: inline-block;
      z-index: 2;
    position: relative;

}
#service .flex-wrap p{
  font-size: 21px;
  line-height: 35px;
}
#service .text-box{
  position: relative;
  width: 100%;
  align-content: center;
  text-align: left;
}
.tab-panel-btn{
  font-size: 24px;
  color: #fff;
  position: absolute;
  right: -30px;
  bottom: 0;
  background-color: #70BD18;
  border-radius: 10px;
  padding: 20px 25px;
}
.tab-panel.tab-active-2 img{
  margin: 25px auto;
  aspect-ratio: 110 / 49;
}
/* .tab-panel.tab-active-3 img{
  margin-bottom: 5px;
} */

#news{
  padding: 100px 0;
}
#news .title-wrap{
  text-align: left;
  padding-bottom: 20px;
}
#news .title{
  height: 70px;
  display: block;
  width: auto;
  margin: auto;
  margin-left: 0;
}
#news .title-wrap b{
  text-align: left;
}
#news .news-content {
  margin: 30px auto 10px;
}
#news .news-list {
  list-style: none;
  padding: 20px 0;
}
#news .news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px dotted #4C4948;
  padding: 30px 0;
}
#news .news-item:first-child{
  border-top: dotted 1px #4C4948;
}
#news .news-date {
  color: #4C4948;
  min-width: 100px;
  font-size: 16px;
}
#news .news-category .category-label {
  background: #70BD18;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 16px;
  min-width: 107px;
  display: block;
  text-align: center;
}
#news .news-title {
  flex: 1;
  text-decoration: none;
  color: #4C4948;
  font-size: 16px;
  text-align: left;
}
#news .news-title:hover {
  text-decoration: underline;
  color: #70BD18;
}
#news .list_btn{
  display: flex;
  justify-content: end;
}
#news .back-btn {
  background-color: #F3FAEE;
  color: #4C4948;
  font-size: 18px;
  font-weight: 500;
  padding: 25px 30px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  min-width: 150px;
  margin: 0px 0px auto 30px;
  position: relative;
  text-align: center;
}
/* 矢印のデザイン */
#news .back-btn::after {
  content: url(../img/arrow.svg);
  font-size: 30px;
  font-weight: bold;
  color: #70BD18;
  margin-left: 10px;
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  line-height: 0;
}
#banner .top_about{
  background-image: url(../img/top_about_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  max-width: 1200px;
  max-height: 340px;
  height: 25vw;
  filter: drop-shadow(0px 2px 4px #00000040);
  padding: 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#banner  .title {
  height: 70px;
  display: block;
  width: auto;
  margin: auto;
  margin-left: 0;
}
#banner .flex-wrap{
  display: flex;
  justify-content: space-between;
  align-items: end;
}
#banner .title-wrap b {
    font-size: 24px;
    color: #fff;
    padding-top: 20px;
    display: block;
    font-weight: 500;
    text-align: left;
}
#banner span{
  font-size: 18px;
  font-weight: 400;
  color: #4C4948;
}
#banner .btn{
     font-size: 29px;
    color: #70BD18;
    background-color: #fff;
    border-radius: 10px;
    padding: 23px 38px;
}
@media screen and (max-width:1100px) {
    #banner .top_about{
      height: 35vw;
    }

}
@media screen and (max-width:768px) {
  #banner .top_about{
    background-image: url(../img/top_about_bg_sp.jpg);
    max-width: 672px;
    max-height: 646px;
    height: 88vw;
    margin: auto;
    padding: 30px;
  }
  #banner  .title {
    height: 40px;
  }
  #banner .flex-wrap{
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }
  #banner span{
    display: block;
    width: 100%;
    text-align: justify;
    line-height: 200%;
  }
  #banner .btn{
     font-size: 29px;
    color: #70BD18;
    background-color: #fff;
    border-radius: 10px;
    padding: 18px 32px;
  }
}
#access{
  margin-top: -1px;
  padding-top: 1px;
}
#access .wrap{
  margin: 80px auto 150px;
  text-align: center;
}
#access .title{
  height: 65px;
  display: block;
  margin-bottom: 20px;
}
#access .sub-title{
  font-size: 21px;
  font-weight: 500;
  display: inline-block;
  text-align: center;
  margin-bottom: 50px;
  color: #4C4948;
}
#access .adder{
  font-size: 18px;
  color: #4C4948;
  display: block;
}
#access .gmap{
  background-color: #70BD18;
  color: #fff;
  font-size: 18px;
  padding: 10px 30px;
  border-radius: 30px;
  display: inline-block;
  margin: 20px auto;
}
#access .map-img{
  display: block;
  margin: 20px auto;
  max-width: 800px;
}
#access .flex-wrap{
  display: flex;
  gap: 30px;
  justify-content: center;
  color: #4C4948;
}
#access li{
  padding-left: 20px;
  position: relative;
  font-size: 15px;
} 
#access li:first-child:before{
  position: absolute;
  content: "";
  background-image: url(../img/train.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 16px;
  height: 20px;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
#access li:last-child:before{
  position: absolute;
  content: "";
  background-image: url(../img/parking.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 13px;
  height: 17px;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
/*コンテンツエリア*/

footer{
  background-color: #F7F7F7;
  position: relative;
  z-index: 1;
  border-radius: 100px 0 0 0;
}
/* footer:before{
  position: absolute;
  content: "";
  background-image: url(../img/footer-bg.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
  width: 100%;
  height: 100px;
  top: -100px;
  z-index: 1;
} */
/* footer:after{
  content: "";
  position: absolute;
  width: 100%;
  height: 100px;
  top: -100px;
  background:  #F7F7F7;
  z-index: 0;
  border-radius: 100px 0 0 0;
} */
footer .wrap{
  width: 90%;
  text-align: center;
  padding-top: 150px;
  margin: 250px auto 0;
  padding-bottom: 50px;
  position: relative;
}
footer .notcontact{
  padding-top: 50px;
}
footer .title-wrap{
    text-align: left;
    margin-top: -175px;
    text-align: left;
    margin-bottom: 100px;
}
footer .title-wrap img{
  max-width: 400px;
}
footer .title-wrap b{
  text-align: left;
}
/* footer .wrap:before{
  position: absolute;
  content: "";
  background-image: url(../img/footer-contact.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  max-width: 400px;
  width: 50vw;
  height: 130px;
  top: -25px;
  left: 0;
  z-index: 1;
} */
footer .notcontact:before{
  content: unset;
}
footer .wrap:after{
  position: absolute;
  content: "";
  background-image: url(../img/footer-cat.gif);
  background-repeat: no-repeat;
  background-size: contain;
  max-width: 80px;
  width: 100%;
  height: 120px;
  top: -110px;
  right: 0;
  z-index: 1;
}
footer .wrap p{
  margin: auto;
  font-size: 21px;
  color: #4C4948;
  line-height: 200%;
}
footer .wrap .tel{
  font-family: "M PLUS 1", serif;
  color: #70BD18;
  font-weight: bold;
  font-size: 72px;
  padding-left: 50px;
  position: relative;
  display: inline-block;
  line-height: unset;
}
footer .wrap .tel:before{
  content: "";
  position: absolute;
  background-image: url(../img/tel.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  left: -10px;
  top: 0;
  bottom: -15px;
  width: 40px;
  height: 40px;
  margin: auto;
}
footer .contact-btn{
  padding: 20px 25px;
  color: #fff;
  font-weight: 700;
  background-color: #70BD18;
  border-radius: 6px;
  margin: 50px auto;
  display: block;
  max-width: 250px;
  font-size: 18px;
  text-decoration: none;
  opacity: 1;
  transition: 0.3s;
  display: flex;
  position: relative;
}
footer .contact-btn:after {
  content: '';
  width: 15px;
  height: 15px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  margin: auto;
  top: 32px;
  right: 40px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
footer .contact-btn:hover{
  opacity: 0.8;
}
footer hr{
  margin: 50px calc(50% - 44.6vw) 0;
  width: 100vw;
  border: unset;
  border-bottom: solid 1px #4C4948;
}
footer .flex-wrap{
  display: flex;
  justify-content: space-between;
  margin: 30px auto 0;
  padding-bottom: 30px;
}
footer .address img{
  max-width: 200px;
  width: 100%;
  display: block;
  padding-bottom: 20px;
}
footer .address a{
  display: block;
  width: fit-content;
  margin: auto;
  margin-left: 0;
}
footer .address span{
  font-size: 18px;
  line-height: 180%;
  color: #4C4948;
  letter-spacing: 1px;
}
footer .footer-menu{
  text-decoration: none;
  text-align: right;
  font-size: 21px;
  line-height: 40px;
}
footer .footer-menu a{
  color: #4C4948;
  transition: color 0.3s ease;
  position: relative;
}
footer .footer-menu a:after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #4C4948;
  transition: width 0.3s ease, left 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
footer .footer-menu a:hover:after{
  width: 100%;
  left: 0;
  opacity: 1;
}
/* footer .footer-menu a:hover {
  color: #70BD18;
  border-bottom: solid 1px #4C4948;
} */

footer .wrap .copy{
  color: #4C4948;
  font-size: 11px;
  text-align: right;
  width: auto;
  display: block;
  font-weight: 300;
  margin: initial;
}
footer .wrap .privacy{
  color: #4C4948;
  font-size: 16px;
  text-align: right;
  width: auto;
  display: block;
  font-weight: 300;
  text-decoration: underline;
}
  .pc768{
    display: block;
  }
  .sp768{
    display: none;
  }
@media screen and (max-width:1100px) {

    /*スマホメニュー*/
  #g-nav{
    transition: all 0.25s ease-in-out;
    opacity: 0;
  }
  #g-nav.panelactive {
    opacity: 1;
    z-index: 997
  }
  #g-nav-list {
      position: fixed;
      z-index: 999;
      width: 100%;
      height: 0;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
      left: 0;
      top: 60px;
      background: #fff;
  }
  #g-nav.panelactive #g-nav-list {
    -webkit-overflow-scrolling: touch;
    height: 100vh;
    overflow-y: scroll;
    position: fixed;
    width: 100%;
    z-index: 999;
    border-top: solid 1px #70BD18;
  }
  #g-nav.panelactive ul {
    display: block;
    margin-bottom: 50px;
 }
  
  #g-nav li {
    color: #4C4948;
    line-height: 12px;
    list-style: none;
    position: relative;
    text-align: left;
    width: 100%;
    border-bottom: dotted 1px #70BD18;
  }
  #g-nav li:last-child{
    border-bottom: unset;
    margin-bottom: 50px;
  }
  #g-nav li:before{
    content: "";
    position: absolute;
    background-image: url(../img/spmenu-icon.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 45px;
    height: 45px;
    margin: auto;
    right: 15%;
    top: 0;
    bottom: 0;
  }
  #g-nav li:last-child:before{
    content: unset;
  }
  #g-nav li span{
    color: #70BD18;
    font-size: 14px;
  }
  #g-nav .corpnete{
    font-size: 16px!important;
    color: #EB6100!important;
    text-align: center;
    padding-bottom: 20px;
  }
  #g-nav ul {
      display: flex;
      grid-gap: 50px;
      flex-wrap: wrap;
      right: 3vw;
  }
  .global-nav ul li a {
    color: #4C4948;
    font-size: 20px;
    padding: 20px 15%;
    display: block;
    max-width: unset;
  }
  .global-nav ul li a:hover:after{
    content: unset;
  }
  .global-nav ul li:last-child a {
    width: 65%;
    max-width: 300px;
    margin: auto;
    padding: 20px 0px !important;
  }
  .global-nav ul li a:hover{
    border: unset;
  }
  .openbtn1 {
    position: fixed;
    z-index: 998;
    top: 0px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    margin-right: auto;
    display: block;
    align-content: end;
  }
  
  .openbtn1 span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    right: 5px;
    height: 1px;
    border-radius: 2px;
    background-color: #70BD18;
    width: 80%;
  }
  .openbtn1 .menu-text{
    background: unset;
    font-size: 10px;
    position: unset;
    display: block;
    margin: auto;
    height: auto;
    text-align: center;
    letter-spacing: 0;
    color: #70BD18;
  }
  
  .openbtn1 span:nth-of-type(1) {
    top: 15px;
  }
  
  .openbtn1 span:nth-of-type(2) {
    top: 23px;
    /* width: 60%; */
  }
  
  .openbtn1 span:nth-of-type(3) {
    top: 31px;
  }
  
  .openbtn1.active span:nth-of-type(1) {
    top: 18px;
    right: 6px;
    transform: translateY(6px) rotate(-30deg);
    width: 70%;
  }
  
  .openbtn1.active span:nth-of-type(2) {
    opacity: 0;
  }
  
  .openbtn1.active span:nth-of-type(3) {
    top: 30px;
    right: 6px;
    transform: translateY(-6px) rotate(30deg);
    width: 70%;
  }
  header{
    height: 40px;
  }
  .header-wrap {
    height: 40px;
  }
  .logo img{
    max-width: 200px;
    width: 100%;
  }
  .mv-txt{
    font-size: calc(min(64px, 5.8181vw));
  }
  .first-v-area small{
    font-size: calc(min(32px, 2.9091vw));
  }
  /*スマホメニューここまで*/
  .icon-menu img{
    max-width: 25vw;
  }
  .third-triangle{
    top: 11vw;
  }
  .right-bottom-svg {
    top: 39.8vw;
  }
  .intro .wrap img{
    max-width: 500px;
    margin: auto;
  }
    .intro .wrap:before{
      content: unset;
    }
    .pc{display: none;}
  .sp{display: block;}

  .head-spmenu{display: block!important;}
  #access .zoom-btn {
      margin-bottom: 20px;
      max-width: 400px;
  }
}

/*スマホここから*/
@media screen and (max-width:767px) {
  .pc768{
    display: none;
  }
  .sp768{
    display: block;
  }
  .inline-sp{display: inline-block!important;}
  .inline-pc{display: none!important;}
  html{
    overflow-x: hidden;
  }
  .breadcrumb {
    padding-top: 20px;
  }
  .b-under {
    margin-bottom: -50px;
    padding-top: 50px;
  }

    #skipBtn{
      /* display: none; */
        bottom: 55vw;
        right: 10px;
    }
    .dot-container {
      bottom: 40vw;
      width: 50px;
      height: 80px;
    }
    #sub-main{
      margin-top: 0;
    }
    #main{
      position: relative;
      top: 0px;
      overflow: hidden;
    }
      .initial-svg {
    height: 150vw;
        transform: translateX(-50%) scale(1.8);
  }
  .dot-container {
      bottom: 20vh;
  }
  .mv-txt{
    font-size: 27px;
    top: 20vh;
    margin: unset;
    line-height: 50px;
  }
  .first-v-area small{
    font-size: 17px;
    line-height: 30px;
  }
  .fadeinslide-txt {
    height: 5vh;
    max-height: 50px;
  }
  .icon-menu {
    bottom: 0;
    margin: auto;
    right: 0;
    left: 0;
  }
  .icon-menu ul{
    width: 65%;
    margin: auto;
    display: flex;
  }
  .icon-menu .title{
    display: none;
  }
  .third-triangle {
    top: -3vw;
    right: 1%;
  }
  .right-bottom-svg {
    top: 21.2vw;
    right: -3%;
  }
    .first-v-area{
      height: 180vw;
    }
    .container{
      overflow: hidden;
    }
    svg{
      width: 130%;
      height: 100%;
    }
    .right-bottom-svg{
      top: 87.5vw;
      right: -4%;
    }
    .third-triangle{
        top: 2%;
        right: -15%;
        width: 70%;
    }
    .container svg image {
      width: 160%;
      height: 110%;
    }

    .mv-txt{
      font-size: calc(min(27px, 7.2vw));
      top: 22vh;
      margin: unset;
      line-height: 50px;
    }
    .first-v-area small{
      font-size: 17px;
      line-height: 30px;
    }
    .fadeinslide-txt {
      height: 5vh;
      max-height: 50px;
    }
    .icon-menu{
      bottom: 8%;
    }
    .icon-menu ul{
      width: 95%;
      margin: auto;
      display: flex;
      justify-content: center;
    }
    .icon-menu .title{
      display: none;
    }
    .home .intro{
      margin-top: 10vh;
      opacity: 0;
    }
  
    .intro h2 {
      line-height: 160%;
      padding-bottom: 25px;
      font-size: calc(min(32px, 8.53333vw));
      padding-top: 20px;
      letter-spacing: 1px;
    }
    .intro p{
      font-size: 17px;
      line-height: 220%;
      letter-spacing: 0px;
    }
    .intro .philosophy-btn{
      padding: 20px 20px;
      margin: 50px auto;
    }
    .scroll-container {
      position: absolute;
      top: 10px;
    }
    #looplogo-area .w-wrap{
      height: 165vw;
    }
    #looplogo-area .w-wrap:before {
        background-image: url(../img/looparea-photo-sp.webp);
        width: 95%;
        height: 160vw;
        top: 60px;
        right: 0;
        margin: auto;
    }
    .tab-buttons{
      display: none;
    }
    .tab-content .tab-panel {
      position: relative;
      border-radius: 10px;
      padding: 25px 30px;
      opacity: 1;
      visibility: visible;
      margin-bottom: 10px;
    }
    .tab-content .tab-panel:last-child{
      margin-bottom: 0;
    }
    .tab-content .tab-panel:nth-child(2n){
      background-color: #fff;
    }
    #service .wrap{
      padding: 150px 0 50px;
    }
    #service .flex-wrap {
      flex-wrap: wrap;
    }
    #service .title{
      height: 40px;
      width: auto;
      margin: auto;
      display: block;
    }
    #service .img-box,#service .text-box{
      width: 100%;
    }
    #service .img-box img{
      width: auto;
      max-width: 160px;
      margin: auto;
    }
    .tab-panel:last-child img {
      width: 50% !important;
    }
    .tab-panel:nth-child(2) .sp-title{
      margin-top: -15px;
    }
    #service .tab-area-title {
      font-size: 18px;
      line-height: 160%;
      padding-bottom: 15px;
      display: inline-block;
    }
    .tab-panel-btn{
      position: unset;
      display: table;
      margin: auto;
    }
    .sp-title{
      display: block;
      font-size: 28px;
      font-weight: 700;
      color: #70BD18;
      padding-bottom: 20px;
      text-align: center;
      line-height: 110%;

    }
    .sp-title small{
      font-size: 24px;
    }
    #news{
      padding: 50px 0;
    }
    #news .title-wrap{
      text-align: center;
    }
    #news .title{
      height: 40px;
      margin: auto;
    }
    #news .title-wrap b{
      text-align: center;
    }
    #news .news-item{
      border-bottom: solid 1px #70BD18;
      flex-wrap: wrap;
    }
    #news .news-item:first-child {
      border-top: solid 1px #70BD18;
    }
    #news .news-title{
      width: 100%;
      flex: none;
      font-size: 18px;
      font-weight: 500;
    }
    #news .list_btn{
      justify-content: center;
    }
    #news .back-btn{
      margin: auto;
      font-size: 18px;
    }
    #access {
      padding-top: 6px;
      margin-top: -6px;
    }
    #access .title{
      height: 40px;
      width: auto;
      margin: 0 auto 20px;
    }
    #access .sub-title{
      font-size: 24px;
    }
    #access .adder{
      font-size: 16px;
    }
    #access .wrap{
      margin: 80px auto 50px;
    }
    #access .flex-wrap{
      flex-wrap: wrap;
      gap: 15px;
    }
    #access .map-img{
      margin: 20px calc(50% - 50vw) 0;
      width: 100vw;
    }
    #access .zoom-btn{
      margin: 0 calc(50% - 50vw) 20px;
      width: 100vw;
    }
    
    footer{
      margin-top: 100px;
    }
    footer .wrap{
      padding-top: 80px;
      padding-bottom: 0;
      margin: 200px auto 0;
    }
    footer .wrap:after{
      right: -20px;
    }
    footer .wrap:before{
      content: none;
    }
    footer .title-wrap{
      text-align: center;
      margin-top: 0;
      margin-bottom: 0;
    }
    footer .title-wrap b{
      text-align: center;
    }
    footer .title {
      height: 40px;
      display: block;
      width: auto;
      margin: auto;
    }
    footer .wrap p{
      font-size: 18px;
      line-height: 200%;
      padding-top: 50px;
    }
    footer .wrap .tel {
      font-size: 30px;
      padding-left: 25px;
    }
    footer .wrap .tel:before {
      width: 25px;
      height: 25px;
      left: -5px;
      bottom: -55px;
    }
    footer .wrap .reception{
      font-size: 16px;
      padding-top: 15px;
    }
    footer .flex-wrap{
      justify-content: center;
      flex-wrap: wrap-reverse;
      text-align: center;
    }
    footer .address img{
      margin: 50px auto 0;
    }
    footer .address a{
      margin: auto;
    }
    footer .footer-menu{
      text-align: center;
      line-height: 45px;
    }
    footer .copy-wrap{
      flex-wrap: wrap;
      gap: 10px;
    }
    footer .wrap .copy{
      width: 100%;
      text-align: center;
    }
    #footer-modal .wrap{
      position: relative;
      max-height: 70vh;
      overflow-y: scroll;
    }
    .fade-up {
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 0.8s ease-out, transform 0.5s ease-out;
    }
    .fade-up.show {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @media screen and (max-width:360px) {
        .sp-title {
          font-size: 27px;
        }
        .breadcrumb{
          font-size: 10px;
        }
        #banner .top_about {
          padding: 30px 10px;
          height: 100vw;
        }
        #banner .title {
            width: 100%;
            height: auto;
        }
        .sp-title small {
           font-size: calc(min(24px, 6.2vw));
        }
        footer .wrap .tel {
            font-size: calc(min(28px, 8.75vw));
        }
        footer .wrap p{
          font-size: 16px;
        }
        footer .wrap .reception {
            font-size: 14px;
            padding-top: 15px;
        }
  }

  @media screen and (max-width:340px) {
        .global-nav ul li:last-child a{
          width: 80%;
        }
        .intro h2{
          letter-spacing: 0px;
        }
        .sp-title {
            font-size: calc(min(27px, 7.2vw));
        }
        .tab-content .tab-panel {
            padding: 25px 25px;
        }
        #service .title{
          width: 100%;
          height: auto;
        }
        #banner .title {
            width: 100%;
            height: auto;
        }
        #banner span {
          font-size: 15px;
        }
        #banner .top_about {
            height: 108vw;
        }
        footer .title{
          width: 100%;
          height: auto;
        }
  }

