@charset "UTF-8";
html { box-sizing:border-box} 
*, *::before, *::after { box-sizing:inherit}
/* 共通部分 */
html {
    font-size: 16px;
}
body {
    font-size: 1rem; 
    margin: 0 auto;
    background-color: #fff;
    line-height: 1.7;
    margin: 0;
    color: #2e2e2e;
    letter-spacing: 0.04rem;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
p {
    font-size: 1rem;
}

/* header */
header img{
    display: block;
    max-width: 450px;
    height: auto;
    margin: 10px auto;
}
/*==================
#loading
==================*/
#loading {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
    background: #fff;
}
#loading.is-active {
  opacity: 0;
  visibility: hidden;
}
.loading-one {
  display: inline-block;
}
.loading-one .loading-txt {
  position: absolute;
  text-align: center;
  transform: translate(-50%, -50%);
}
.loading-txt{
  top: 50%;
  left: 50%;
}
.loading-txt img{
  max-width: 650px;
  height: auto;
}
/*==================
.animation_loading
==================*/
.animation_loading {
  animation: equalizer_loading 7000ms infinite;
  animation-iteration-count: 10;
}
@keyframes equalizer_loading {
  0% {
    width: 70%;
  }
  10% {
    width: 50%;
  }
  20% {
    width: 100%;
  }
  30% {
    width: 10%;
  }
  40% {
    width: 50%;
  }
  50% {
    width: 70%;
  }
  60% {
    width: 50%;
  }
  70% {
    width: 10%;
  }
  80% {
    width: 100%;
  }
  90% {
    width: 10%;
  }
  100% {
    width: 70%;
  }
}
/* 文字をふわっと */
.blur{
    animation-name:blurAnime;
    animation-duration:1.6s;
    animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }

  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}

.blurTrigger{
    opacity: 0;
}

/* TOPスライダー */
#slider {
    width: 100%;
    height: 90vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/* 会社説明 */
.text{
  margin: 100px 0 0;
}
.text p{
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.25rem;
  line-height: 2.1;
}
/* 事業紹介・会社案内共通 */
.business,
.company,
.policy{
  max-width: 90vw;
  margin: 0 auto;
}
.title{
  position: relative;
}
.business h1,
.company h1,
.policy h1{
  color: #e3f1fc;
  font-size: 10em;
  margin: 50px 0 0;
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}
.business h2,
.company h2,
.policy h2{
  font-size: 2em;
  position: absolute;
  top: 50%;
  left: 0;
}
/* 事業紹介 */
.flex{
  display: flex;
  margin: 10px auto;
  justify-content: space-between;
}
.nissei,
.kadoma{
  padding: 0 60px;
  width: 50%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}
.nissei img,
.kadoma img{
  width: 100%;
}
.flex h3{
  font-size: 1.6em;
  text-align: center;
  margin: 20px 0;
  letter-spacing: 0.15rem;
}
/* ボタン */
.button{
  margin-top: auto;
}
.button a {
  background: #0068b7;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;  
  margin: 20px auto;
  max-width: 310px;
  padding: 15px 20px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s ease-in-out;
  font-weight: 800;
  letter-spacing: 0.15rem;
}
.button a:after {
  content: "";
  position: absolute;
  top: 51.5%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 7px;
  height: 7px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* 会社案内 */
table{
  text-align: left;
}
.table{
  width: 100%;
  margin-bottom: 80px;
}
.table table{
  margin: 0 auto;
  border-collapse: collapse;
  border: solid 2px #686868;/*表全体を線で囲う*/
}
.table th,
.table td{
  padding: 10px 40px;
}
.table table th,
.table table td {
  border: dotted 1px #cfcfcf;/*表内側の線*/
}
.tel a{
  color: #2e2e2e;
  text-decoration: none;
}
/* サイトポリシー */
.policy-text{
  max-width: 80vw;
  margin: 0 auto;
}
.policy-text h3{
  font-size: 1.4rem;
  padding: 0 0 0 10px;
  border-left: solid 10px #0068b7;

}
.policy-text p{
  margin-bottom: 40px;
}
.policy-text ul{
  padding: 0;
}
.policy-text li{
  list-style: none;
}

/* ------footer------ */
.footer-bg{
  margin-top: 100px;
  background-color: #0068b7;
}
.banner{
  max-width: 90vw;
  display: flex;
  gap: 50px;
  margin: 0 auto;
  justify-content: center;
}
.banner img{
  width: 100%; /* 親要素の幅に合わせて画像を縮小 */
  max-width: 460px; /* 元の画像サイズの最大値を指定 */
  height: auto;
  margin: 50px 0 20px;
}
.sitepolicy p{
  text-align: center;
}
.sitepolicy a{
  color: #fff;
  padding-bottom: 5px;
  position: relative;
}
.sitepolicy a::before {
  background: #e3f1fc;
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.copyright{
  text-align: center;
  margin: 0;
  padding: 15px 0;
  color: #fff;
}

/* メディアクエリ ホバー */
@media (hover:hover){
  /* 各社サイトリンクボタン */
  .button a:hover {
    background: #fff;
    border: solid #0068b7 1px;
    color: #0068b7;
  }
  .button a:hover:after {
    right: 1.5rem;
  }
  /* フッターリンクボタン */
  .sitepolicy a:hover::before {
    transform-origin: center top;
    transform: scale(1, 1);
  }
}
/* メディアクエリ タッチアクティブ */
@media (hover:none){
  .button a:active {
    background: #fff;
    border: solid #0068b7 1px;
    color: #0068b7;
  }
  .button a:active:after {
    right: 1.5rem;
  }
  /* フッターリンクボタン */
  .sitepolicy a:active::before {
    transform-origin: center top;
    transform: scale(1, 1);
  }

}

/* メディアクエリ タブレット */
@media (min-width:768px) and (max-width: 949px) {
/* header */
header img{
  max-width: 300px;
  height: auto;
  margin: 10px auto;
}
/* TOPスライダー */
#slider {
  height: 60vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

/* 事業紹介・会社案内共通 */
.business h1,
.company h1,
.policy h1{
  margin-top: 30px;
}
/* 事業案内 */
.flex{
  display: block;
  margin: 10px 0;
}
.nissei,
.kadoma{
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.flex h3{
  font-size: 1.6em;
  text-align: center;
  margin: 20px 0 0;
}
.button a {
  margin: 20px auto 60px;
}
.policy h1{
  font-size: 8.3em;
}
}

/* メディアクエリ スマホ */
@media (max-width: 767px) {
 /* ローディング */
.loading-txt img{
  max-width: 350px;
  height: auto;
}
/* header */
header img{
  max-width: 250px;
}
/* TOPスライダー */
#slider {
  height: 65vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/* 会社説明 */
.text{
  margin: 50px auto 0;
  max-width: 90vw;
}
.text p br:first-child,
.text p br:nth-child(2),
.text p br:nth-child(5){
  display: none;
}
.text p{
  text-align: left;
  font-size: 0.95rem;
  letter-spacing: 0.1rem;
  line-height: 1.9;
}
/* 事業紹介・会社案内共通 */
.business h1,
.company h1{
  margin-top: 30px;
  font-size: 5em;
}
.business h2,
.company h2,
.policy h2{
  font-size: 1.5em;
  top: 40%;
}
/* 事業案内 */
.flex{
  display: block;
  margin: 10px 0;
}
.nissei,
.kadoma{
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.flex h3{
  font-size: 1.2em;
  margin: 20px 0 0;
}
.flex p{
  font-size: 0.95em
}
/* ボタン */
.button{
  margin-top: auto;
}
.button a {
  margin: 20px auto 60px;
  max-width: 100%;
  padding: 15px 20px;
  transition: none;
}
/* 会社案内 */
.table{
  margin-bottom: 60px;
}
.table table{
  border: solid 1px #686868;/*表全体を線で囲う*/
}
.table th,
.table td{
  padding: 10px 10px;
}
.table table th,
.table table td {
  font-size: 0.95em;
}
/* サイトポリシー */
.policy h1{
  margin-top: 20px;
  font-size: 4em;
}
.policy-text{
  max-width: 85vw;
  margin: 0 auto;
}
.policy-text h3{
  font-size: 1rem;
  padding: 0 0 0 6px;
  border-left: solid 5px #0068b7;

}
.policy-text p{
  font-size: 0.9em;
  margin-bottom: 20px;
}
.policy-text li{
  font-size: 0.9em;
}
/* ------footer------ */
.footer-bg{
  margin-top: 80px;
  background-color: #0068b7;
}
.banner{
  max-width: 100%;
  display: block;
  margin: 0 0 10px;
  padding-top: 15px;
}
.banner img{
  display: block;
  max-width: 300px;
  height: auto;
  margin: 20px auto 0;
}
.sitepolicy p{
  font-size: 0.95em;
}
.copyright{
  font-size: 0.85em;
}

}