@charset "UTF-8";
body,main{width: 100%; margin: 0; padding: 0; background-color: #fff;}

header{
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 40px 0 20px 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
}

.head_wrap{
    margin: 0 auto;
    display: flex;
    max-width: 1000px;
    justify-content: space-between;
    align-items: flex-end;
}

.head_logo{
    width: 240px;
}

.head_logo a:hover{
    opacity: 0.3;
    transition: 0.3s;
}

.head_wrap img{width: 100%;}

nav ul{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    font-weight: bold;
    font-size: 17px;
}

nav ul li{
    margin-left: 27px;
}

nav ul li a{
    position: relative;
}

nav ul li a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 2px;
background: #000000;
bottom: -5px;
transform: scale(0, 1);
transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
transition: transform 0.3s;  /*変形の時間*/
}

a:hover::after {
transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
transform-origin: left top; /*左から右に向かう*/
}

#container{
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 170px auto 0 auto;
    height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("img/kv_a.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.container{
    position: relative;
    width: 100%;
    margin: 140px 0 0 0;
}

#background {
    width: 100%;
    height: 100%;
    background: url("img/kv_b.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: circle(100px at 85% 55%);
}

.slider_fade {
  position: relative;
  width: 100%;
  aspect-ratio: 2280 / 940;
  overflow: hidden;
}

.slider_fade .item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slider_fade .item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}





.copyBox,.contactBox{
    position: relative;
    width: 100%;
    margin: 100px auto;
}

.frontStr{
    padding-top: 20px;
    text-align: center;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

.frontStr h1,h2{
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 30px;
}

.frontStr p{
    font-size: 20px;
    line-height: 38px;
    font-weight: 500;
}

.frontStr h3{
    font-size: 20px;
    line-height: 38px;
    font-weight: 600;
}

.messageBox img{
    width: 2px;
    margin: 30px auto;
}

.copyBox .backStr{
    position: absolute;
    font-family: "Avenir", sans-serif;
    font-weight: bold;
    font-size: 120px;
    line-height: 100px;
    color: #F8F8F8;
    z-index: -50;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 99vw;
    text-align: center;
}

.subCon{margin-top: 200px;}

table{
    margin: 0 auto;
    width: 800px;
    font-size: 16px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

table tr th,td{
    vertical-align: middle;

}

table tr th{
    padding: 30px 0;
    width: 160px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #111;
}

table tr td{
    text-align: left;
    padding-left: 40px;
    font-weight: 200;
    line-height: 24px;
    background-image : linear-gradient(to right, #111 1px, transparent 2px);
    background-size: 10px 1px;
    background-repeat: repeat-x;
    background-position:bottom;}

.historyBox{
    width: 800px;
    margin: 0 auto;
}

.historyBox img{width: 100%;}

.serviceBox ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 880px;
    margin: 0 auto;
}

.serviceBox ul li{
    margin-bottom: 35px;
}

.serviceCon{
    width: 270px;
    height: 270px;
}

/* サービス */
.conImg01{
    background: url(img/gray/gray1.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
.conImg01:hover{
    background: url(img/color/color1.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ２ */
.conImg02{
    background: url(img/gray/gray2.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
.conImg02:hover{
    background: url(img/color/color2.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ３ */
.conImg03{
    background: url(img/gray/gray3.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
.conImg03:hover{
    background: url(img/color/color3.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ４ */
.conImg04{
    background: url(img/gray/gray4.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
.conImg04:hover{
    background: url(img/color/color4.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ５ */
.conImg05{
    background: url(img/gray/gray5.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
.conImg05:hover{
    background: url(img/color/color5.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ６ */
.conImg06{
    background: url(img/gray/gray6.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
.conImg06:hover{
    background: url(img/color/color6.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ７ */
.conImg07{
    background: url(img/gray/gray7.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
.conImg07:hover{
    background: url(img/color/color7.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ８ */
.conImg08{
    background: url(img/gray/gray8.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
.conImg08:hover{
    background: url(img/color/color8.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}

.accessBox{
    width: 880px;
    margin: 0 auto;
}

.accessBox iframe {
    width: 100%;
    height: 420px;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

/* フォーム */

/* フォーム全体のスタイル */
form {
    width: 880px;
    margin: auto;
    text-align: left;
}

/* ラベルのスタイル */
label {
    display: block;
    margin-top: 30px;
    font-weight: 600;
    color: #111;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

/* 入力欄のスタイル */
input, textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    font-weight: 500;
}

.imput100{
    width: 100%;
}

.imput01{
    margin-bottom: 15px;
}

.imput02{
    margin-left: 30px;
}

/* テキストエリアの高さを調整 */
textarea {
    resize: vertical;
    height: 120px;
}

/* 送信ボタンのスタイル */
button {
    display: block;
    background-color: #111;
    text-align: center;
    color: #fff;
    border: none;
    padding: 14px;
    width: 270px;
    margin: 30px auto 0 auto;
    border-radius: 100px;
    font-size: 18px;
    cursor: pointer;
}

/* ホバー時のボタンスタイル */
button:hover {
    background-color: #d0d0d0;
    color: #111;
}

.warkBox p{
    color: #828282;
    font-size: 10px;
}

/* タブ */
.tab__area{
    color: #828282;
    margin: 0 auto;
    width: 800px;
}
.warkBox ul{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.warkBox ul li{
    width: 30%;
}

.warkBox ul li a {
    display: block;
    width: 100%;
    padding: 15px 0;
    color: #828282;
    font-size: 20px;
    font-weight: 500;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    background-color: #F8F8F8;
    border: 1px solid #F8F8F8;
    border-radius: 100px;
}


/* hover時の背景色（グレー）の指定 */
.warkBox ul li a:hover{
    background-color: #bfbfbf;
}
/* タブ選択時の文字色の指定 */
.warkBox ul li a.selected{
    color: #111111;
}
/* タブ01（ピンク）の背景色と文字色の指定 */
.warkBox ul li:first-child a.selected{
    background-color: #fff;
    border: 1px solid #00FF00;
}
/* タブ02（オレンジ）の背景色と文字色の指定 */
.warkBox ul li:nth-child(2) a.selected{
    background-color: #fff;
    border: 1px solid #FF00FF;
}
/* タブ03（グリーン）の背景色と文字色の指定 */
.warkBox ul li:nth-child(3) a.selected{
    background-color: #fff;
    border: 1px solid #00FFFF;
}
.tab__inner{
    margin-top: 30px;
}

.tab__inner img{
    width: 100%;
}
/* タブ01（ピンク）選択時のコンテンツ内の背景色の指定 */
.tab__inner .pink{
    padding: 20px;
    background-color: #F8F8F8;
}
/* タブ02（オレンジ）選択時のコンテンツ内の背景色の指定 */
.tab__inner .orange{
    padding: 20px;
    background-color: #F8F8F8;
}
/* タブ03（グリーン）選択時のコンテンツ内の背景色の指定 */
.tab__inner .green{
    padding: 20px;
    background-color: #F8F8F8;
}

.js-tab-box{
    position: relative;
}

.js-tab-box a{
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    color: #fff;
    font-size: 14px;
    background-color: #111;
    border: 1px solid #111;
    padding: 8px 0;
    border-radius: 100px;
    width: 200px;
    position: absolute;
    bottom: 3.7%;
    right: 0;
    left: 0;
    margin: 0 auto;
}

.js-tab-box a:hover{
    background-color: #F8F8F8;
    border: 1px solid #111;
    color: #111;
    transition: 0.3s;
}

.otherCon{
    width: 516px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.otherCon a:hover{
    opacity: 0.5;
    transition: 0.3s;
}

.otherCon a img{
    width: 150px;
    box-shadow: 0px 3px 5px #00000020;
}

footer{
    background-color: #fff;
    text-align: center;
    padding-bottom: 100px;
    width: 100%;
    color: #B3B3B3;
    font-size: 12px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

/* スクロールダウンの位置 */
.scroll {
  position: fixed;
  right: 3%;
  bottom: 20%;
  writing-mode: vertical-rl;
}
/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #000;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}
/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
  &.fadein-left{
      transform: translate(-30px,0);
  }
  &.fadein-right{
      transform: translate(30px,0);
  }
  &.fadein-up{
      transform: translate(0,-30px);
  }
  &.fadein-bottom{
      transform: translate(0,30px);
  }
  &.scrollin{
  opacity: 1;
  transform: translateY(0);
  }
}

    .loading-screen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    /* テキスト */
    .loading-text {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 52px;
    font-weight: bold;
    color: #333;
    opacity: 0;
    transition: opacity 0.5s ease;
    }

    /* 非表示にするクラス */
    .hide-loading {
      display: none !important;
    }


    /* ハンバーガー */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
    margin: 20px;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #000;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ハンバーガー変形（アクティブ時） */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 8px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -8px;
}

/* メディアクエリ */
@media screen and (max-width: 470px) {

  /* ハンバーガー表示 */
  .hamburger {
    display: block;
  }

  /* ナビゲーション：非表示→アクティブで表示 */
  nav ul {
    display: none;
  }

  nav ul.active {
    position: absolute;
    top: 95px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    flex-flow: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  nav ul li {
    margin: 15px 0;
    text-align: center;
    font-size: 14px;
  }

  nav ul li a::after {
display: none;
}

a:hover::after {
display: none;

}

  /* スクロール非表示 */
  .scroll {
    display: none;
  }

  header {
    width: 100%;
    padding: 20px 10px;
  }

  .head_wrap {
    width: 100%;
  }

  .head_logo {
    width: 180px;
    margin-bottom: 10px;
  }

  #container {
    width: 100%;
    height: auto;
    padding: 30px 0;
    background-size: cover;
  }

  #background {
    clip-path: circle(80px at 85% 55%);
    background-size: cover;
  }

  .frontStr h1,
  .frontStr h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .frontStr p,
  .frontStr h3 {
    font-size: 16px;
    line-height: 28px;
  }

  .copyBox,
  .contactBox {
    width: 90%;
    margin: 60px auto;
  }

  .copyBox .backStr {
    font-size: 40px;
    line-height: 40px;
    width: 100%;
  }

  .historyBox,
  table,
  .tab__area,
  form,
  .serviceBox ul,
  .otherCon {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  table {
    font-size: 14px;
  }

  table tr th,
  table tr td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 0;
    border-bottom: none;
  }

  table tr td {
    padding-left: 0;
    background: none;
    line-height: 20px;
  }

  .serviceBox ul {
    flex-direction: column;
  }

  .serviceBox ul li {
    width: 100%;
  }

  .serviceCon {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background-size: cover;
  }

  label {
    font-size: 14px;
    margin-top: 20px;
  }

  input,
  textarea {
    font-size: 14px;
  }

  button {
    width: 80%;
    font-size: 16px;
  }

  .tab__area .warkBox ul {
    flex-direction: column;
    gap: 10px;
  }

  .warkBox ul li {
    width: 100%;
  }

  .warkBox ul li a {
    font-size: 16px;
    text-align: center;
  }

  .tab__inner .pink,
  .tab__inner .orange,
  .tab__inner .green {
    padding: 15px;
  }

  .js-tab-box a {
    width: 25%;
    font-size: 10px;
    padding: 2px 10px;
    bottom: 4.4%;
  }

  .otherCon {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .otherCon a img {
    width: 120px;
  }

  .accessBox{
    width: 90%;
    margin: 0 auto;
}

.accessBox iframe {
    width: 100%;
    height: 300px;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

  footer {
    font-size: 10px;
    padding-bottom: 50px;
  }

  .loading-text {
    font-size: 20px;
  }

  .fadein {
    opacity: 1 !important;
    transform: none !important;
  }

/* サービス */
.conImg01{
    background: url(img/color/color1.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ２ */
.conImg02{
    background: url(img/color/color2.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ３ */
.conImg03{
    background: url(img/color/color3.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ４ */
.conImg04{
    background: url(img/color/color4.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ５ */
.conImg05{
    background: url(img/color/color5.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ６ */
.conImg06{
    background: url(img/color/color6.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ７ */
.conImg07{
    background: url(img/color/color7.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}
/* ８ */
.conImg08{
    background: url(img/color/color8.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
}

input, textarea {
    margin-top: 0;
}

.imput02{
  margin-left: 0;
}

.imput03{
  margin-left: 45px;
}

}


/* 下層 */
.sub_serviceItem{
    margin: 0 auto;
    width: 880px;
}

.sub_serviceItem ul{
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Avenir", sans-serif;
    font-weight: bold;
    color: #b3b3b3;
}

.sub_serviceItem ul li a:hover{
    opacity: 0.3;
}

.sub_copy{
    width: 880px;
    margin: 150px auto 0 auto;
}

.sub_copy img{
    width: 100%;
}

.sub_copy p{
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 17px;
    line-height: 30px;
    padding: 50px 0;
}

.sub_itemBox{
    width: 880px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.sub_img{
    width: 36%;
}

.sub_img img{
    width: 100%;
}

.sub_txt{
    width: 55%;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

.sub_txt h2{
    color: #111;
    padding: 10px 0 10px 20px;
    margin: 0;
    font-size: 20px;
    letter-spacing: 2px;
}

.sub_txt p{
    margin: 0;
    padding-top: 20px;
}

/* 線色 */
.containerA{
    border-left: 20px solid #009FE6;
}
.underlineA{
    border-bottom: 2px solid #009FE6;
}

.containerB{
    border-left: 20px solid #22F1FF;
}
.underlineB{
    border-bottom: 2px solid #22F1FF;
}

.containerC{
    border-left: 20px solid #FF00FF;
}
.underlineC{
    border-bottom: 2px solid #FF00FF;
}

.containerD{
    border-left: 20px solid #00FF00;
}
.underlineD{
    border-bottom: 2px solid #00FF00;
}

.containerE{
    border-left: 20px solid #D80000;
}
.underlineE{
    border-bottom: 2px solid #D80000;
}

.containerF{
    border-left: 20px solid #FFE800;
}
.underlineF{
    border-bottom: 2px solid #FFE800;
}

/* サービス */
.colorA{
    color: #fff;
    background-color: #009FE6;
    padding: 5px 15px;
    border-radius: 100px;
}

.colorB{
    color: #fff;
    background-color: #22F1FF;
    padding: 5px 15px;
    border-radius: 100px;
}

.colorC{
    color: #fff;
    background-color: #FF00FF;
    padding: 5px 15px;
    border-radius: 100px;
}

.colorD{
    color: #fff;
    background-color: #00FF00;
    padding: 5px 15px;
    border-radius: 100px;
}

.colorE{
    color: #fff;
    background-color: #D80000;
    padding: 5px 15px;
    border-radius: 100px;
}

.colorF{
    color: #fff;
    background-color: #FFE800;
    padding: 5px 15px;
    border-radius: 100px;
}


@media screen and (max-width: 470px) {
  .sub_serviceItem,
  .sub_copy,
  .sub_itemBox {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .sub_serviceItem ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .sub_serviceItem ul li {
    width: 100%;
    margin-bottom: 10px;
  }

  .sub_copy p {
    font-size: 15px;
    line-height: 26px;
    padding: 30px 0;
  }

  .sub_itemBox {
    flex-direction: column;
    gap: 20px;
  }

  .sub_img,
  .sub_txt {
    width: 100%;
  }

  .sub_txt h2 {
    font-size: 18px;
    padding-left: 10px;
  }

  .sub_txt p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 470px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}