#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;
      -moz-text-size-adjust: none;    /* Firefox Android */
      -webkit-text-size-adjust: none;
    text-size-adjust: none;
}
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: 90px;
  height: auto;
}
.under-bg{
  position: absolute;
  width: 120vw;
  margin: 0 calc(45% - 61vw);
  top: -15vw;
  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: #EB6100;
  opacity: 0.8;
}
.breadcrumb-separator {
  margin: 0 6px;
  color: #EB6100; /* 緑色 */
  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; }
.js-observer .is-digout .row[data-delay="400"] { transition-delay: 0.4s; }

.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-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-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: 200px;
  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: 220px;
  box-sizing: border-box;
  display: block;
  transition: color 0.3s ease;
  position: relative;
}
.global-nav ul li.active a {
  color: #EB6100;
}

.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;
}
/* 井澤会計事務所ボタン */
.highlight-btn {
  position: relative;
}
.global-nav ul li .highlight-btn:hover:after{
  content: unset;
}
.corpnote {
  position: absolute;
  background-color: #F3FAEE;
  text-align: center;
  padding: 15px 5px;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 160%;
  margin: auto;
  margin-top: 5px;
  left: 0;
  right: 0;
  height: auto;
  opacity: 0;
  max-width: 175px;
  border-radius: 6px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  color: #70BD18;
  transition: ease-in 0.3s;
  letter-spacing: 0px;
  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; 
    font-family: "Noto Sans JP", Arial, sans-serif;
    overflow-x: hidden;
}
body.page-template header{
  opacity: 1;
}
.main-area{
    position:relative;
    width:100%;
    height:100vh;
    display: flex;
    opacity: 0;
}
#logo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: calc(100vw * 9 / 16);
    max-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    z-index:-2;
    transform: scale(2);
    transform-origin: center;
}
#logo2 {
  position: absolute;
  top: 40.5vh;
  left: 50%;
  margin: auto;
  margin-top: 100px;
  transform: translate(-50%, 0%);
  font-size: 5vw;
  opacity: 0;
  max-width: 200px;
  width: 100%;
}
.triangle {
    position: absolute;
    width: 50px;
    height: auto;
    opacity: 0;
    margin:auto;
    z-index: -2;
}
/* 初期位置: ▶が左側, ◀が右側 */
#triangle-left {
  position: absolute;
  left: calc(50% - 50px); 
  top: 40vh;
  transform: scale(1, 0.9);
  width: 30vw;
  height: 30vw;
}
#triangle-right {
  position: absolute;
  right: calc(50% - 50px); 
  top: 40vh;
  transform: scale(1, 0.9);
  width: 27vw;
  height: 20vw;
}
#triangle-01{
    right:50%;
    top: 50%;
    width: 30vw;
    height: 30vw;
}
#triangle-02{
    right:50%;
    top: 50%;
    width: 15vw;
    height: 15vw;
}
#triangle-03{
    width: 20vw;
    height: 20vw;
}
#triangle-04{
    width: 15vw;
    height: 15vw;
    transform: rotate(180deg);
}
#triangle-05{
    width: 15vw;
    height: 15vw;
}
#triangle-06{
    width: 13vw;
    height: 13vw;
}
#triangle-07{
    width: 15vw;
    height: 15vw;
}
#cat{
    position: absolute;
    margin: auto;
    top:0;
    bottom: 0;
    left: 16vw;
    width: 20vw;
    height: 20vw;
    opacity: 0;
}
.text-container {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    letter-spacing: 10px;
    font-size: 3.5vw;
    position: relative;
    margin: auto;
    color: #4C4948;
    margin-right: 22vw;
    z-index: -2;
    padding-top: 3vw;
    opacity: 0;
}
.line {
    position: relative;
    overflow: hidden;
    display: flex; /* フレックスボックスを使う */
    align-items: center; /* 縦方向の中央揃え */
    height: 3vw; /* 行の高さを固定 */
    padding-bottom: 2.5vw;
    padding-top: 1px;
}

.line span {
    display: inline-block; /* インラインブロックにして高さを制御 */
}
#line02,#line04{
  text-indent: 35px;
}
.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
}
.orange{
    color:#EB6100!important;
}
.cloud-wrap{
  position: absolute;
  transform-origin: center;
  left: 3.5vw;
  top: 10%;
  opacity: 0;
  width: 9vw;
  height: 9vw;
  z-index: -1;
}
.letter-wrapA{
    position: absolute;
    left: 9%;
    top: -20%;
}
.letter-boxA{
    position: absolute;
    transform-origin: center;
    opacity: 0;
    width: 4.8vw;
    height: 4.8vw;
}
.letter-wrapZ{
    position: absolute;
    left: 43%;
    top: -20%;
}
.letter-boxZ{
    position: absolute;
    transform-origin: center;
    opacity: 0;
    width: 4.8vw;
    height: 4.8vw;
}

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

.dot {
    position: absolute;
    top: 0px;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: #EB6100;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: drop 2.5s ease-in-out infinite;
}
@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;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  position: relative;
  width: 100%;
  z-index: 1;
  top: 11px;
}
.tab-btn {
  padding: 10px 20px;
  border: none;
  background: #fff;
  cursor: pointer;
  transition: background 0.8s;
  border: solid 1px #EB6100;
  border-radius: 10px;
  font-size: 26px;
  font-weight: 700;
  color: #EB6100;
  width: 100%;
  margin: 10px auto;
  position: relative;
}
#skipBtn{
  position: absolute;
  right: 50px;
  bottom: 50px;
  z-index: 99999999;
  cursor: pointer;
  color: #EB6100;
  font-weight: bold;
  border-radius: 10px;
  padding: 15px 30px;
  font-size: calc(min(20px, 5.3333vw));
  border:none;
  background-color: #FFF2E8;
  letter-spacing: 2px;
}

.thought{
  color: #4C4948;
  border-bottom: solid 2px #EB6100;
  /* padding: 5px 20px; */
  font-size: 18px;
  font-weight: 700;
  display: table;
  margin-bottom: 50px;
}
.intro .sub-title{
  font-size: 48px;
  color: #4C4948;
  font-weight: 700;
}
.intro h2{
  color: #EB6100;
  font-size: 48px;
  line-height: 170%;
  padding-bottom: 25px;
  text-indent: -30px;
  white-space: nowrap;
}
.intro p{
  color: #4C4948;
  line-height: 45px;
  font-size: 21px;
}
.intro .flex-wrap{
  display: flex;
  gap: 50px;
  justify-content: center;
}
.intro .right-wrap{
  align-content: end;
  margin-bottom: -100px;
}
.intro .philosophy-btn{
  color: #EB6100;
  font-size: 18px;
  font-weight: 500;
  padding: 25px 30px;
  border-radius: 60px;
  background-color: #FFF2E8;
  border: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  max-width: 300px;
  min-width: 250px;
  margin: 80px auto 30px;
  position: relative;
  text-align: left;
  box-sizing: border-box;
}
.intro .philosophy-btn::after {
    content: url(../img/arrow.svg);
    font-size: 30px;
    font-weight: bold;
    color: #EB6100;
    margin-left: 10px;
    position: absolute;
    right: 35px;
    line-height: 0;
    top: 50%;
    transform: translateY(-50%);
}

#main-menu{
  width: 100%;
  margin: 200px auto 100px;
  position: relative;
  z-index: 2;
}
.dotted-bg{
  background-color: #F7F7F7;
  background-image: radial-gradient(#EB6100 3%, transparent 3%);
  background-size: 40px 40px;
  background-position: 5px 10px, 0px 0px;
  padding: 10px 50px;
  margin: auto;
  border-radius: 10px;
}
.title-wrap{
  text-align: center;
  margin-top: -45px;
}
.title-wrap b{
  font-size: 21px;
  padding-top: 20px;
  display: block;
  font-weight: 500;
}
#main-menu .title{
  height: 70px;
  display: block;
}
.service-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 50px 30px 50px 30px;
  margin: 0px auto 0px;
  position: relative;
  border-bottom: solid 1px #EB6100;
}
#main-menu .wrap:last-child .service-container{
  border-bottom: unset;
}
.service-container:before{
  content: "\2192";
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  background-color: #EB6100;
  background-repeat: no-repeat;
  background-size: 100%;
  border-radius: 50px;
  font-size: 24px;
  width: 80px;
  height: 80px;
  right: 0px;
  top: 0;
  bottom: 0;
  margin: auto;
  cursor: pointer;
}
.service03mb{
  margin-bottom: 50px;
}
.service-text {
  flex: 1;
  padding-right: 20px;
  margin-left: 50px;
  position: relative;
}
.service-text .small-text{
  font-size: 18px;
}
.service-text h2 {
  color: #EB6100;
  font-size: 35px;
  margin: 0;
  padding-left: 0;
  padding-bottom: 0;
  line-height: 70px;
}
.service-text p {
  color: #4C4948;
  font-size: 19px;
  line-height: 180%;
}
.service-list {
  list-style: none;
  font-size: 20px;
  font-weight: 500;
  line-height: 200%;
  padding-top: 20px;
  color: #EB6100;
}
.service-list li {
  margin-bottom: 5px;
}
.service-image {
  flex: 0.4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  row-gap: 20px;
}
.dotted-bg .service-image{
  justify-content: center;
  align-items: center;
}
.service-image img {
  max-width: 300px;
  aspect-ratio: 50 / 45;
  height: auto;
  margin: auto;
  max-height: 250px;
}

#main-menu .mlfit img{
  max-height: unset;
  aspect-ratio: 50 / 50;
  position: relative;
  left: -28px;
  width: 117%;
  max-width: unset;
}

#top-news{
  padding: 100px 0;
}
#top-news .title{
  height: 70px;
  display: block;
  width: auto;
  aspect-ratio: 282 / 70;
}
#top-news .news-container{
  display: flex;
  gap: 80px;
}
#top-news .title-wrap{
  margin-top: 0;
  text-align: left;
  padding-bottom: 20px;
}
#top-news .news-content {
  margin: 10px auto 10px;
  width: 100%;
  border: solid 2px #EB6100;
  border-radius: 15px;
  position: relative;
}
#top-news .news-content::before,
#top-news .news-content::after {
    content: "";
    position: absolute;
    width: calc(100% - 60px);
    height: 10px;
    background: white;
    left: 30px;
}
#top-news .news-content::before {
  top: -2px;
}
#top-news .news-content::after {
  bottom: -2px;
}
#top-news .news-list {
  list-style: none;
  padding: 20px 0;
  width: 90%;
  margin: auto;
}
#top-news .news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}
#top-news .news-date {
  color: #4C4948;
  min-width: 100px;
  font-size: 16px;
}
#top-news .news-category .category-label {
  background: #EB6100;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 16px;
  min-width: 107px;
  display: block;
  text-align: center;
}
#top-news .news-title {
  flex: 1;
  text-decoration: none;
  color: #4C4948;
  font-size: 16px;
}
#top-news .news-title:hover {
  text-decoration: underline;
  color: #EB6100;
}
#top-news .list_btn{
  display: flex;
  justify-content: end;
  position: relative;
}
#top-news .list_btn:before{
  position: absolute;
  content: "";
  background-image: url(../img/news-cat.svg);
  background-repeat: no-repeat;
  background-size: contain;
  max-width: 95px;
  width: 100%;
  height: 100px;
  bottom: -10px;
  right: -40px;
  z-index: 1;
}
#top-news .back-btn{
  color: #EB6100;
  font-size: 21px;
  font-weight: 500;
  padding: 25px 30px;
  border-radius: 60px;
  background-color: #FFF2E8;
  border: unset;
  cursor: pointer;
  display: inline-block;
  align-items: center;
  max-width: 240px;
  min-width: 240px;
  margin: 80px auto 30px;
  position: relative;
  box-sizing: border-box;
  margin-left: 0;
}
#top-news .back-btn::after {
  content: url(../img/arrow.svg);
  font-size: 30px;
  font-weight: bold;
  color: #EB6100;
  margin-left: 10px;
  position: absolute;
  right: 35px;
  line-height: 0;
  top: 50%;
  transform: translateY(-50%);
}
#top-news .list_btn.pc_btn{
  display: flex;
}
#top-news .list_btn.sp_btn{
  display: none;
}

#top-about{
  background-color: #FFF2E8;
  background-image: radial-gradient(#EB6100 3%, transparent 3%);
  background-size: 40px 40px;
  background-position: 5px 10px, 0px 0px;
  width: 90%;
  max-width: 1200px;
  padding: 10px 50px;
  margin: 150px auto;
  border-radius: 10px;
}
#top-about .service-container{
  border: unset;
  padding: 100px 30px;
}
#top-about .title-wrap{
  text-align: left;
  position: absolute;
  left: -50px;
  top: 0px;
}
#top-about .title{
  height: 70px;
  display: block;
  width: auto;
  max-width: none;
  aspect-ratio: unset;
}
#top-about .service-image>img{
  position: absolute;
  bottom: -100px;
  left: -50px;
}
#top-about .service-text{
  align-content: center;
  margin-left: 0;
}
#top-about .service-text p{
  font-size: calc(min(29px, 2.636363vw));
  color: #EB6100;
  line-height: 55px;
  font-weight: 500;
}
#top-about .service-container:before{
  color: #EB6100;
  background-color: #fff;
}
#access{
}
#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: #EB6100;
  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 .title-wrap{
    text-align: left;
    margin-top: -175px;
    text-align: left;
    margin-bottom: 100px;
}
footer .title-wrap img{
  max-width: 400px;
}
/* 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 .wrap:after{
  position: absolute;
  content: "";
  background-image: url(../img/footer-cat.gif);
  background-repeat: no-repeat;
  background-size: contain;
  max-width: 95px;
  width: 100%;
  height: 180px;
  top: -107px;
  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: #EB6100;
  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: #EB6100;
  border-radius: 6px;
  margin: 50px auto;
  display: block;
  max-width: 250px;
  opacity: 1;
  transition: 0.3s;
  display: flex;
  position: relative;
  font-size: 18px;
}
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: 120px;
  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 .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 #EB6100;
  }
  #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 #EB6100;
  }
  #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: #EB6100;
    font-size: 14px;
  }
  #g-nav .corpnete{
    font-size: 16px!important;
    color: #70BD18!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: 80%;
    max-width: 300px;
    margin: auto;
    padding: 20px 0px !important;
  }
  .global-nav ul li:last-child img {
    max-width: 260px;
    margin: auto;
    display: block;
  }
  .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: #EB6100;
    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: #EB6100;
  }
  
  .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: 150px;
    width: 100%;
  }
  #access .zoom-btn {
      margin-bottom: 20px;
      max-width: 400px;
  }
  /*スマホメニューここまで*/
  .pc{display: none;}
  .sp{display: block;}
  .head-spmenu{display: block!important;}
}
/*ここからスマホ*/
@media screen and (max-width:767px) {
  .inline-sp{display: inline-block!important;}
  .inline-pc{display: none!important;}
  .pc768{
    display: none;
  }
  .sp768{
    display: block;
  }
  html{
    overflow-x: hidden;
  }
  .breadcrumb {
    padding-top: 20px;
  }
  .b-under {
    margin-bottom: -50px;
    padding-top: 50px;
  }
  #logo{
    height: 100vh;
  }
  #g-nav .corpnete{
    white-space: nowrap;
  }
    .triangle{
      width: 50vw;
      height: 50vw;
    }
    #triangle-left{
      left: -68%;
    }
    #triangle-right{
      right: -1%;
    }
    #triangle-06 {
      width: 28vw;
      height: 28vw;
      z-index: 3;
    }
    #skipBtn{
      /* display: none; */
      bottom: 30vw;
      right: 10px;
    }
    .dot-container {
      bottom: 18vw;
      width: 50px;
      height: 80px;
    }
    #main{
      position: relative;
      /* top: 60px; */
      overflow: hidden;
      padding-top: 60px;
    }
    .main-area{
      height: calc(100vh - 60px);
    }

    #cat {
      margin: auto;
      top: 10vh;
      bottom: unset;
      left: 0;
      width: 100%;
      height: 43vw;
    }
    .text-container{
      margin-right: auto;
      font-size: calc(min(28px, 7.4667vw));
      line-height: 180%;
      z-index: 2;
      padding-top: 20vw;
    }
    .line{
      height: 8vw;
    }
    .line span{
      letter-spacing: 4px;
    }
    @media screen and (max-width:359px) {
        .line span{
          letter-spacing: 3px;
        }
    }
    #line02, #line04 {
      text-indent: 15px;
    }
    .letter-boxA,.letter-boxZ {
      width: calc(min(35px, 9.3333vw));
      height: calc(min(35px, 9.3333vw));
    }
    .letter-wrapA,.letter-wrapZ {
      top: 0%;
    }
    .intro{
      margin-top: 30vw;
    }
    .intro .flex-wrap{
      flex-wrap: wrap;
    }
    .thought{
      font-size: 18px;
      margin-bottom: 30px;
      padding: 0;
    }
    .intro .sub-title{
      font-size: 30px;
      line-height: 160%;
      text-align: left;
      margin-left: 0;
      margin-right: auto;
      display: block;
      margin-bottom: 0;
    }
    .intro .title-area{
      margin-bottom:10px;
      bottom: 0;
    }
    .intro h2{
      font-size: 30px;
      line-height: 170%;
      text-indent: -18px;
      padding: 0;
      padding-bottom: 25px;
      text-align: left;
    }
    .intro h2 small{
      font-size: 24px;
    }
    .intro p{
      font-size: 18px;
      /* font-size: calc(min(18px, 4.5712468193vw)); */
      letter-spacing: 0;
      line-height: 220%;
      text-align: left;
    }
    .intro .right-wrap{
      width: 90%;
    }
    #main-menu{
      margin: 200px auto 0px!important;
    }
    #main-menu .title{
      height: 40px;
      width: auto;
      display: block;
      margin: auto;
    }
    #main-menu .title-wrap {
      margin-top: -35px;
    }
    #main-menu .title-wrap b{
      padding-top: 05px;
    }
    .dotted-bg{
      padding: 10px 10px 50px 10px;
    }
    .service-container{
      padding: 50px 0px 150px 0px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .service-image,.service-text{
      flex: unset;
      width: 100%;
      margin: auto;
      padding: 0;
      justify-content: center;
      align-items: center;
    }
    .service-image h2 {
      color: #EB6100;
      font-size: 28px;
      margin: 0;
      padding-left: 0;
      padding-bottom: 0;
      line-height: 110%;
      text-align: center;
      position: relative;
      letter-spacing: 4px;
      font-weight: 700;
      z-index: 2;
    }
    .service-text p{
      font-size: 16px;
      line-height: 180%;
      text-align: justify;
    }
    .service-image img {
      margin: -20px auto 20px;
    }
    #main-menu .mlfit img{
      z-index: -1;
      width: 100%;
      max-width: 300px;
      left: 0;
      aspect-ratio: 50 / 40;
    }
    #main-menu .wrap:nth-child(2) .service-image img{
       aspect-ratio: 40 / 35;
    }
    #main-menu .wrap:last-child .service-image img{
      margin: -25px auto 20px;
    }
    .service-list{
      font-size: 16px;
      line-height: 30px;
      text-align: left;
    }
    .service-container:before {
      right: 0px;
      left: 0;
      top: unset;
      bottom: 50px;
    }
    .service-list li{
      padding-left: 12px;
      text-indent: -17px;
    }
    #top-news .news-container {
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }
    #top-news .title{
      height: 40px;
    }
    #top-news .title-wrap{
      text-align: center;
    }
    #top-news .back-btn{
      margin: 30px auto 30px;
    }
    #top-news .list_btn:before {
      bottom: -30px;
      right: 180px;
    }
    #top-news .list_btn.pc_btn{
      display: none;
    }
    #top-news .list_btn.sp_btn{
      display: flex;
    }
    #top-news .news-content{
      border: unset;
    }
    #top-news .news-content::before,
    #top-news .news-content::after{
      content: unset;
    }
    #top-news li{
      border-bottom: solid 1px #EB6100;
    }
    #top-news li:first-child{
      border-top: solid 1px #EB6100;
    }
    #top-news .news-list{
      width: 100%;
    }
    #top-news .news-item{
      flex-wrap: wrap;
    }
    #top-news .news-title{
      flex: unset;
      display: block;
      width: 100%;
      font-size: 18px;
      font-weight: 500;
      text-align: left;
    }
    #top-about {
      width: 90%;
      padding: 10px;
      margin: 50px auto;
      box-sizing: border-box;
    }
    #top-about .title{
      height: 40px;
      margin: auto;
      width: auto;
      display: block;
    }
    #top-about .title img{
      margin: auto;
    }
    #top-about .title-wrap{
      text-align: center;
      left: 0;
      margin: -30px auto 0;
    }
    #top-about .service-container {
      border: unset;
      padding: 300px 0px 120px;
    }
    #top-about .service-text{
      width: 100%;
    }
    #top-about .service-image>img {
      position: absolute;
      bottom: 0;
      top: 80px;
      left: 0;
      right: 0;
      max-width: 280px;
    }
    #top-about .service-text p{
      font-size: 19px;
      line-height: 180%;
      letter-spacing: 0;
    }
    #top-about .service-container:before {
      bottom: 20px;
    }
    .under-bg {
      width: 130vw;
      margin: 0 calc(45% - 70vw);
      top: -30vw;
    }
    #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;
      max-width: unset;
    }
    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 {
      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;
    }
}
@media screen and (max-width:360px) {
      .breadcrumb{
        font-size: 10px;
      }
      .intro h2{
        letter-spacing: 1px;
        font-size: 28px;
      }
      .intro .sub-title {
        font-size: 28px;
      }
      #main-menu .title,
      #top-about .title {
        height: auto;
        width: 100%;
      }
      .sp-title small {
          font-size: calc(min(24px, 6.2vw));
      }
      .service-image h2 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) {
      #g-nav .corpnete{
        font-size: 14px!important;
        line-height: 20px;
        white-space: nowrap;
      }
      .intro h2{
          letter-spacing: 1px;
          font-size: 26px;
      }
      .intro .sub-title {
        font-size: 26px;
      }
      .service-image h2 {
          font-size: calc(min(27px, 7.2vw));
      }
      #top-about .service-text p {
        font-size: 16px;
      }
      #main-menu .wrap{
        width: 95%;
      }
      footer .title{
        width: 100%;
        height: auto;
      }
}
@media screen and (max-width:300px) {
    .intro .philosophy-btn {
        margin: 80px calc(50% - 45vw) 30px;
        min-width: auto;
        width: 90vw;
    }
}
/*改行用*/
@media screen and (max-width:1330px) {
  .low-pc{
    display: none;
  }
}