@charset "UTF-8";
/*
Theme Name: コネタス株式会社
Author: Your conetas
Description: コネタス株式会社ホームページ
Version: 1.0
*/

:root {
  --mainC: #2D6CEC;
  --sabC: #DFA8C6;
  --text: #444444;
  --white: #ffffff; }

:root {
  --size0: 3vw;
  --size1: 5vw;
  --size2: 10vw;
  --size3: 15vw;
  --min-viewport: 390;
  --max-viewport: 1920; }

  :root{
    --noto: "Noto serif JP", serif;
    --noto_s: "Noto sans JP", sans-serif;
    --logo: 'RocknRoll One', sans-serif;
    --rale:  "Raleway", sans-serif;
    --mei: 'Meiryo', Arial, sans-serif;
    --chi: 'chivo', Arial, sans-serif;
    --my:'myriad-pro', sans-serif;
      }

      .yellow {
        font-family: "Yellowtail", cursive;
        font-weight: 400;
        font-style: normal;
      }

     


html {
  scroll-behavior: smooth; }

body {
  color: var(--text); 
  overflow-x: hidden;
}

body,
h1,
h2,
h3,
h4,
h5,
ul,
figure {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--my);
  font-style: normal;
  font-weight: 400; 

}

h1, h2, h3{
  font-weight: 400 !important;  /* ブラウザのスタイルを強制上書き */
  font-size: inherit;  /* サイズを継承 */
  line-height: 1.2;  /* 行間を調整 */
}

h4{
  font-weight: 400 !important;  /* ブラウザのスタイルを強制上書き */
  font-size: inherit;  /* サイズを継承 */
}

  h2::first-letter {
    font-size: 150%;    /* 元のサイズの2倍に設定 */
    font-weight: normal;
 
  }

   .underline_black{
    border-bottom: 3px solid #000000;
    padding: 0;
    display: inline-block;
    padding-bottom: 2%;
    }

    .underline_white{
      border-bottom: 3px solid #ffffff;
      padding: 0;
      display: inline-block;
      padding-bottom: 2%;
      }

  .underline_black_p{
      margin-top: 2%;
    }

  p{
    margin: 0;
    padding: 0;
    list-style: none;
    /* font-family: var(--noto); */
  }

img {
  vertical-align: top; }

a {
  text-decoration: none;
  color: #ffffff; }

 a.tel_number{
  color: #444444;
 } 

a:hover {
  opacity: 0.5; }

*,
::after,
::before {
  box-sizing: border-box; }

* {
  /* a 傾き */
  --slope: calc((var(--max-size) - var(--min-size))/ (var(--max-viewport) - var(--min-viewport)));
  /* b 切片 */
  --intercept: calc(var(--min-size) - var(--slope) * var(--min-viewport));
  /* y = ax + b 可変サイズ */
  --fluid-size: calc(var(--slope) * 100vw + var(--intercept)*1px);
  /* clamp(最小サイズ, 可変サイズ, 最大サイズ) */
  --clamp-size: clamp(var(--min-size)* 1px, var(--fluid-size), var(--max-size)* 1px); }

* {
  /* a 傾き */
  --slope2: calc((var(--mx-size) - var(--mn-size))/ (var(--max-viewport) - var(--min-viewport)));
  /* b 切片 */
  --intercept2: calc(var(--mn-size) - var(--slope2) * var(--min-viewport));
  /* y = ax + b 可変サイズ */
  --fluid-size2: calc(var(--slope2) * 100vw + var(--intercept2)*1px);
  /* clamp(最小サイズ, 可変サイズ, 最大サイズ) */
  --clamp-size2: clamp(var(--mn-size)* 1px, var(--fluid-size2), var(--mx-size)* 1px); }

.pc-br{
  display: block;
}

.sp-br{
  display: none;
}

@media(max-width:1510px)
{
  .pc-br{
     display: none;
  }
  
  .sp-br{
    display: block;
  }

}

/* シャッターCSS　　　*/

html.loading-inactive #loading {
  display: none !important
}

.center_logo{
  width: 150px;
  height: auto;
  z-index:9999;
  position: fixed;
  top: 50%;
  left:50%;
  transform-origin: center;
  /* transform: translate(-50%, -50%); */
  opacity: 0;
  display: block; 
  margin: 0;             /* ← ブラウザによる余白補正 */
padding: 0; 
  
}


.leftdoor {
  background-color: #8FBC3E;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 99;
  transform-origin: top;
}

.rightdoor {
  background-color: #31519A;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 98;
  transform-origin: bottom;
}


/*　ここまでシャッター　　　*/


.container {
  display: grid;
  grid-template-columns: var(--size2) 1fr 1fr 1fr 1fr var(--size2);

 }




.hero {
  grid-column: 1 / 7;
  background: url('./assets/images/con_01.png');
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
  /* --after-background-image: url('./assets/images/con_02.png');  */
  --after-background-image: none;
  --after-opacity: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: var(--after-background-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: var(--after-opacity);
  transition: opacity 1s ease-in-out, background-image 1s ease-in-out;
  z-index: 1;
}




body:not(.top-page) .hero {
  height: 30vh; /* その他のページの高さ */
  background: none;
  background-size: cover;
  background-repeat: no-repeat;
  background: url('./assets/images/con_0102.png') no-repeat center center;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.9);

}

body:not(.top-page) .hero::after {
  content: '';
  position: relative;
  
}

body:not(.top-page) .navbar a {
  color:#444;
  position: relative;
  
}

body:not(.top-page) .navbar a::after {
  content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #444;
    transition: width 0.3s ease-in-out;
    
}

body:not(.top-page) .navbar a:hover::after{
  width: 100%;
}


body.page-service .hero { /* About ページの例 */
  background: url('./assets/images/con_0103.png') no-repeat center center;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.9);
  
}

body.page-company .hero { /* About ページの例 */
  background: url('./assets/images/con_0104.png') no-repeat center center;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.9);
}

body.page-otoiawase .hero { /* About ページの例 */
  background: url('./assets/images/con_0105.png') no-repeat center center;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.9);
}

body.error404 .hero { /* About ページの例 */
  background: none;
  background-size: cover;
}


body:not(.top-page) .hero h1 {
  mix-blend-mode: normal;
  --min-size: 40;
  --max-size: 50;
  font-size: var(--clamp-size);
  position: relative;
  color: #444;
  transform: none;
  left: 15%;
  top: 5%;

}

body:not(.top-page) .hero  {
  mix-blend-mode: normal;
  --min-size: 40;
  --max-size: 50;
  font-size: var(--clamp-size);
  position: relative;
  color: #444;
  
}
body:not(.top-page) .hero h1 .blend_h1 {

  display: none;

}
body:not(.top-page) .hero h1 .blend_p1 {

  display: none;

}

body:not(.top-page) .hero h1 .blend_p {

display: none;

}

body:not(.top-page) .hero h1 img{
  width: 15%;
  height: auto;
}


body.top-page h1 img{
  display: none;
}


@media (max-width: 1000px) {
  body:not(.top-page) .hero h1 {

  display: none;
 
    }

   .hero{
    background-position: 75%;
     background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
   } 
  
  
  
  body:not(.top-page) .hero  {
    /* display: none; */
    
  }
  body:not(.top-page) .hero h1 .blend_h1 {
    mix-blend-mode: normal;
    --min-size: 30;
    --max-size: 50;
    font-size: var(--clamp-size);
    position: relative;
    color: #fff;
    /* display: none; */
    display: block;
    --min-size: 40;
    --max-size: 40;
    font-size: var(--clamp-size);
  
  }
  body:not(.top-page) .hero h1 .blend_p1 {
    mix-blend-mode: normal;
    --min-size: 20;
    --max-size: 30;
    font-size: var(--clamp-size);
    position: relative;
    color: #444;
    /* display: block; */
  
  }
  
  body:not(.top-page) .hero h1 .blend_p {
    display: block;
  
  }
  
  body:not(.top-page) .hero h1 img {
    display: none;
  
  }
  
}




h1 {
  
  /* line-height: 1.4; */
  margin-block: 0;
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  color: white;
  }

  .blend_h1 {
    mix-blend-mode: overlay;
    --min-size: 40;
    --max-size: 140;
    font-size: var(--clamp-size);
    font-family: var(--mei);
    font-weight: bold;
  }

 
  .blend_p1{
    mix-blend-mode: overlay;
    --min-size: 16;
    --max-size: 32;
    font-size: var(--clamp-size);
    font-family: var(--mei);
    /* margin-bottom: -3%; */
    /* position: absolute;
    top: 45%;
    left: 40%;
    transform: translate(-50%, -50%); */
    color: white;
    font-family: var(--my);
    padding-left: 3%;
    text-align: left;
  } 
  

.blend_p{
  mix-blend-mode: overlay;
  --min-size: 16;
  --max-size: 32;
  font-size: var(--clamp-size);
  font-family: var(--mei);
  margin-top: -3%;
  /* position: absolute;
  top: 45%;
  left: 40%;
  transform: translate(-50%, -50%); */
  color: white;
  font-family: var(--my);
  padding-left: 3%;
  text-align: right;
} 



@media (max-width: 1000px) {
  .hero {
    /* height: auto; 
    padding-top: 56.25%; */
    height: 100vh;
  }
    .hero h1{
      width: 75%;
      height: auto;
      z-index: 2;
      position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
  mix-blend-mode: normal;
  }

  .blend_p1{
    /* display: none; */
    padding-left: 0;
  }

  .blend_p{
    width: 90%;
    padding-top: 2%;
   

  }
}






/* 透明のヘッダー領域を作成 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* ホバー領域の高さを調整 */
  background-color: transparent;
  z-index: 10;
}

/* ナビゲーションメニューの初期設定 */
.nav {
  position: absolute;
  top: -100px;   /*初期位置を隠す*/
  left: 0;
  width: 100%;
  background-color: #fff;
  transition: top 0.3s ease; /* スムーズなアニメーション */
  height: 100px;
  /* opacity: 0.8; */
  display: flex;
  align-items: center; /* 縦の中央揃え */
  justify-content: space-around; /* 左右に分けて配置 */
}

.nav-logo {
  /* max-height: 100px; ロゴの高さを調整 */
  /* margin-left: 10%;*/
} 


.navbar {
  list-style: none;
  margin: 10px;
  padding: 0;
  display: flex;
  margin-left: 10%;
  /* justify-content: flex-end; */
}

.navbar li {
    padding: 0 40px;
  --min-size: 18;
  --max-size: 24;
  font-size: var(--clamp-size);
  font-weight: 500;
}

.navbar a {
  display: inline-block;
  text-decoration: none;
  padding: 15px 0px;
  position: relative;
  color: #444;
  text-decoration: none;
}

.navbar a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #444;
  transition: width 0.3s ease-in-out;
}

.navbar a:hover::after {
  width: 100%;
}


/* hoverで表示 */
.header:hover .nav {
  top: 0;
}

/* JavaScriptで追加するクラス：表示を固定 */
.nav.active {
  top: 0;
}


@keyframes slideshow {
  0% {
    opacity: 0; }
  10% {
    opacity: 1; }
  28% {
    opacity: 1; }
  38% {
    opacity: 0; }
  100% {
    opacity: 0; } }

.section_01,.section_02,.section_06,.company_section_01,.company_section_02,.otoiawase_section_01,.news_section_01 {
  grid-column: 1 / 7;

}

.inner_section_01,.inner_section_06  {
  display: grid;
  grid-template-columns: var(--size2) 1fr 1fr 1fr 1fr 1fr var(--size2);
  /* margin-block: 5%; */

}

.inner_section_01_left {
  grid-column: 1 / 3;
  text-align: left;
  margin-top: -var(--size2);
  background-image: url(./assets/images/sankaku02.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 172;
  /* padding-bottom: 5%; */

}


.inner_section_01_left,.company_inner_section_01_left,.service_inner_section_01_left,.otoiawase_inner_section_01_left,.news_inner_section_01_left {
  grid-column: 1 / 3;
  text-align: left;
  margin-top: -var(--size2);
  /* background-image: url(./assets/images/sankaku02.png); */
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 172;
 

}



.inner_section_01_center {
  grid-column: 3 / 6;
  text-align: left;
  margin-top: -var(--size2);
  background-image: url(./assets/images/wifi.png);
  background-repeat: no-repeat;
  background-position: right top;
  height: auto;
  margin-top: -30%;
  /* padding-bottom: 5%; */

}



.inner_section_01_center {
  /* padding: 20px; */
}
.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px 0;
}
.breadcrumb li {
  display: inline;
  margin-right: 5px;
}
.breadcrumb li+li:before {
  content: '>';
  margin-right: 5px;
}
.breadcrumb a {
  text-decoration: none;
  color: #444;
}


.service_inner_section_01_center h2{
  text-align: center;
  margin-top: 15%;
  /* margin-bottom: 30%; */
  --min-size: 36;
  --max-size: 64;
  font-size: var(--clamp-size);
  font-family: var(--my);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  /* border-bottom: double 5px #444444; */
  font-style: italic;
  background-image: linear-gradient(
      -45deg, 
      #8FBC3E 0 50%, 
      #31519A 20%
    );
    background-repeat: no-repeat;
    background-size: 100% 10%;
    background-position: bottom;
}


.service_inner_section_01_center h5{
  text-align: center;
  margin-block: 15% 10%;
  --min-size: 20;
  --max-size: 36;
  font-size: var(--clamp-size);
  font-family: var(--my);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  /* border-bottom: solid 3px #444444; */
 
}

.h5_before{
  position: relative;
  color: #444444;
 
}

.h5_before::before{
  content: "■";
  --min-size: 20;
  --max-size: 24;
  font-size: var(--clamp-size);
  position: absolute;
  left: -30px;
  font-size: 24px;
  top: 3%;
}





.company_inner_section_01_center h5{
  text-align: center;
  margin-top: 15%;
  margin-bottom: 15%;
  --min-size: 30;
  --max-size: 48;
  font-size: var(--clamp-size);
  font-family: var(--my);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  border-bottom: double 5px #444444;
}


.inner_section_01_center h5{
  text-align: center;
  margin-top: 15%;
  --min-size: 30;
  --max-size: 48;
  font-size: var(--clamp-size);
  font-family: var(--my);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.section_01 h2{
  text-align: center;
  margin-top: 15%;
  --min-size: 30;
  --max-size: 48;
  font-size: var(--clamp-size);
  font-family: var(--my);
  font-optical-sizing: auto;
  font-weight: 400;
  width: 50%;
  margin: 10% auto 0;
  font-style: italic;
}



.section_03 h2.mission{
  text-align: center;
  margin-top: 15%;
  --min-size: 36;
  --max-size: 64;
  font-size: var(--clamp-size);
  font-family: var(--my);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  /* border-bottom: double 5px #444444; */
  background-image: linear-gradient(
    -45deg, 
    #8FBC3E 0 50%, 
    #31519A 20%
  );
  background-repeat: no-repeat;
  background-size: 100% 10%;
  background-position: bottom;
  width: 40%;
  margin: 10% auto 0;
  font-style: italic;
  padding: 0px;
}

.h2_underline_black{
  text-align: center;
  margin: 1% auto 0;
  font-weight: 500;
}

.h2_underline_black_02{
  text-align: center;
  margin: 1% auto 10%;
  font-weight: 500;
}

.text_area_mission{
 margin-bottom: 10%;
}


@media (max-width: 1000px) {
h2 img{
  width: 100%;
  height: auto;
  margin-bottom: 10%;
}

.header{
  display: none;
}

.section_01_2 h2{
  width: 100%;
}

.section_03 h2.mission{
  width: 80%;
}
.h5_before::before{
  content: "■";
  position: absolute;
  left: -20px;
  font-size: 16px;
  top: 0%;
}


}


.text_area{
  text-align: left;
  width: 90%;
  height: auto;
  margin: 3% auto;
  --min-size: 14;
  --max-size: 16;
  font-size: var(--clamp-size);
}

.text_area_02{
  text-align: left;
  width: 90%;
  height: auto;
  margin: 10% auto 0;
  --min-size: 14;
  --max-size: 16;
  font-size: var(--clamp-size);
}
  
  .text_area p{
    font-family: var(--my);
    margin-top: 2%;
  }

  .text_area .company_img{
 text-align: right;
  }

  .text_area_mission p{
    width: 40%;
    margin: 3% auto;
    --min-size: 14;
    --max-size: 20;
    font-family: var(--my);
    
  }

  @media (max-width: 1000px) {
    .text_area_mission p{
    width: 100%;
    }
    .text_area_02{
      text-align: center;
      width: 95%;
      margin-bottom: 20%;
    }

    .text_area_mission p{
      width: 80%;
      --max-size: 11;
      --min-size: 14;
      font-size: var(--clamp-size);
      
    }
    .text_area .company_img img{
        width: 50%;
       }
  }

.text_area_news{
  text-align: left;
  width: 85%;
  height: auto;
  margin: 3% auto;
  padding-bottom: 3%;
  --min-size: 14;
  --max-size: 20;
  font-size: var(--clamp-size);
  
  
}

.text_area_news p{
  font-family: var(--my);
}

.text_area_news p.title{
  font-weight: 600;
}

.text_area_news p.main_content{
  --min-size: 12;
  --max-size: 16;
  font-size: var(--clamp-size);
}

.inner_section_01_right {
  grid-column: 6 / 8;
  text-align: left;
  margin-top: -var(--size2);
  background-image: url(./assets/images/sankaku03.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 172;
  /* padding-bottom: 5%; */

}

.br-sp {
  display: block;
}
@media (max-width: 600px) {
  .br-sp {
      display: none;
  }
}

.br-pc {
  display: none;
}
@media (max-width: 600px) {
  .br-pc {
      display: block;
  }
}



.company_inner_section_01_right,.service_inner_section_01_right,.otoiawase_inner_section_01_right,.news_inner_section_01_right {
  grid-column: 6 / 8;
  text-align: left;
  margin-top: -var(--size2);
  /* background-image: url(./assets/images/sankaku03.png); */
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 172;
  /* padding-bottom: 5%; */

}



.company_inner_section_02.hovered,.company_inner_section_03.hovered,.company_inner_section_04.hovered,.company_inner_section_05.hovered{
  position: relative;
 
}

.company_inner_section_02.hovered::after{
 content: "";
 /* background-color: #31519A; */
 position: absolute;
 top: 0;
  right: 0;
  width: 100%;
  height: 100%;
 inset: 0;
 z-index: 2;
opacity: 0.1;
border-radius: 20px 0 0 20px;


}

.company_inner_section_03.hovered::before{
  content: "";
  /* background-color: #8FBC3E; */
  position: absolute;
  inset: 0;
  z-index: 2;
opacity: 0.1;
border-radius: 20px 0 0 20px;
display: ;
}

.company_inner_section_04.hovered::before{
  content: "";
  /* background-color: #8FBC3E; */
  position: absolute;
  inset: 0;
  z-index: 2;
opacity: 0.1;
border-radius: 20px 0 0 20px;
display: ;
}

.company_inner_section_05.hovered::before{
  content: "";
  /* background-color: #31519A; */
  position: absolute;
  inset: 0;
  z-index: 2;
opacity: 0.1;
border-radius: 20px 0 0 20px;
}

.inner_section_06_left {
  grid-column: 1 / 3;
  text-align: left;
  margin-top: -var(--size2);
  background-image: url(./assets/images/sankaku04.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 172;
  /* padding-bottom: 5%; */

}



.inner_section_06_center {
  grid-column: 3 / 6;
  height: auto;
  text-align: center;
  position: relative;
  
  /* padding-bottom: 5%; */

}


a.arrow{
  
  position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.inner_section_06_right {
  grid-column: 6 / 8;
  text-align: left;
  margin-top: -var(--size2);
  background-image: url(./assets/images/sankaku05.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 172;
  /* padding-bottom: 5%; */

}



.section_01_2{
  grid-column: 2 / 6;
  margin-top: 5%;
}

.card_section_01{
  display: flex;
  justify-content: space-around;
}



.card{
  text-align: center;
  opacity: 0; /* 初期状態で非表示 */
  transform: translateY(20px); /* 下にずらした位置から開始 */
  transition: all 0.3s ease-in-out;
}

.card img{
  width: 100%;
  height: auto;
}

.card.-visible04 {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻る */
}

@media (max-width: 1200px) {
  .card img{
    width: 75%;
    height: auto;
  }
}

@media (max-width: 1000px) {

  .card {
    /* transform: translateX(50%);  */
    /* SPでは小さめの移動に変更にしないとレイアウト崩れる */
    margin-bottom: 20%;
}

  
  .card_section_01{
    display: block;
  }

  .card img{
    width: 50%;
    height: auto;
  }
  
  
  

  }


.section_01_2 h4{
  /* text-align: center; */
  --min-size: 14;
  --max-size: 16;
  font-size: var(--clamp-size);
  margin-top: 5%;
  margin-bottom: 5%;
}

.section_01_2 h4 p {
  text-align: left;
  padding-left: 5%;
  padding-bottom: 5px;
}

h4 .big_f{
  --min-size: 20;
  --max-size: 30;
  font-size: var(--clamp-size);

}


.card_section_01 p{
  --min-size: 20;
  --max-size: 30;
  font-size: var(--clamp-size);
  font-family: var(--my);
  font-weight: 500;
  text-align: left;
  margin-block: 5%;
}

.card_section_01 p.number{
  --min-size: 16;
  --max-size: 64;
  font-size: var(--clamp-size);
  margin-block: -5%;
}

.service_button{
  /* display: flex;
  align-items: center; */
  margin-top: 15%;

}

.service_button02{
  /* display: flex;
  align-items: center; */
  margin-top: 5%;

}

.service_button_ipcn{
  /* display: flex;
  align-items: center; */
  margin-top: 20%;

}

.service_set{
  /* width: 50%; */

}

.service_gyomu{
display: flex;
margin-top: 7%;
}




.service_gyomu p{
  font-family: var(--my);
}



.service_gyomu01,.service_gyomu02,.service_gyomu03{
  width: 100%;

}

.fa-solid{
  color: #ccc;
}

.section_02
{
  margin-top: 10%;
  }

  .section_03{
    grid-column: 1 / 7;
    margin-top: 0%;
  }


.section_04,.section_05 {

  grid-column: 1 / 7;
  margin-top: 8%;
  
  }

  .section_05 {
    margin-bottom: 8%;
  }


  .section_02 h2,.section_03 h2,.section_04 h2,.section_05 h2{
    text-align: center;
    /* margin-top: 10%; */
    --min-size: 24;
    --max-size: 48;
    font-size: var(--clamp-size);
    padding: 2% 0 0;
    font-weight: 600;
  }




.inner_section_02,.inner_section_04,.inner_section_05{
  display: flex;
  

}
.inner_section_02_left{
  width: 50%;
  text-align: center;

}

.inner_section_02_right{
  width: 50%;
  /* background-image: url(./assets/images/news.png); */
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  color: #000000;
  padding: 3% 0 0 10%;
  opacity: 0; 
  transform: translateX(100%); 
  transition: all 0.5s ease-in-out;
    /* clip-path: inset(0 100% 0 0); /* 右側に切り抜き 
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; */
}

@media(max-width:768px) {
  .inner_section_02_right{
          opacity: 0;
         transform: translateX(0) translateY(20%); /* 初期位置: 画面外右 */
           transition: all 0.5s ease-in-out;
           padding: 0;
           text-align: center;
    }
}

.inner_section_02_right p,.inner_section_03_right p,.inner_section_04_right p.inner_section_05_right p{
  margin-bottom: 10%;
  --min-size: 14;
  --max-size: 18;
  font-size: var(--clamp-size);

}

.inner_section_02_right p a{
  color: #000000;
}


.inner_section_03,.inner_section_04,.inner_section_05{
  display: flex;
  /* padding-bottom: 5%; */
  /* height: 500px; */
 
}

.inner_section_03_left,.inner_section_04_left,.inner_section_05_left{
  width: 50%;
  /* margin-bottom: 8%; */
  text-align: center;
  overflow: hidden;

 
}


.service{
  margin-bottom: 10%;
}

.service_last{
  margin-bottom: 0%;
}

.inner_service,.inner_company,.inner_access{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  margin-top: 5%;
  /* align-items: stretch; */
}

.inner_last{
  margin-bottom: 0;
}

.inner_service_left_01,.inner_service_left_02,.inner_service_left_03{
  grid-column: 3 / 6;
  /* width: 50%; */
  height: auto;
  padding-right: 10%;
  
}



@media (max-width: 1000px) {
  .inner_service_left_01,.inner_service_left_02,.inner_service_left_03{
    padding-right: 0%;
    
  }

  .section_01_2 h4 p {
    padding-left: 0%;
    text-align: center;
  
}
}

.inner_service_left_01 h3,.inner_service_left_02 h3,.inner_service_left_03 h3{
  color: #444444;
  --min-size: 16;
  --max-size: 30;
  font-size: var(--clamp-size);
  font-weight: 600;
  /* margin-block: 5%; */
}
  .inner_service_left_01 p,.inner_service_left_02 p,.inner_service_left_03 p{
    color: #444444;
    --min-size: 10;
    --max-size: 16;
    font-size: var(--clamp-size);
    margin-top: 5%;
  }

  .inner_service_left_01 p.more,.inner_service_left_02 p.more,.inner_service_left_03 p.more{
    --min-size: 12;
    --max-size: 16;
    font-size: var(--clamp-size);
    width: 75%;
    
  }


.inner_service_right_01,.inner_service_right_02,.inner_service_right_03{
  grid-column: 6 / 8;
  width: 100%;
  height: auto;
  /* background-image: url(./assets/images/service_it.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: auto; */
  color: #ffffff;
  flex: 0 0 auto;
  position: relative;
}

.inner_service_right_01 img,.inner_service_right_02 img,.inner_service_right_03 img{
  display: block; /* 画像がインライン要素のデフォルトのスペースを持たないようにする */
  width: auto; /* 画像の自然な幅を保持 */
  height: auto; /* 画像の自然な高さを保持 */
  max-width: 100%; /* コンテナが小さい場合は画像を縮小 */
}




.inner_section_04_left img{
  display: block; /* 画像がインライン要素のデフォルトのスペースを持たないようにする */
  width: auto; /* 画像の自然な幅を保持 */
  height: auto; /* 画像の自然な高さを保持 */
  max-width: 100%; /* コンテナが小さい場合は画像を縮小 */
}

.inner_section_04_left h2.overlay-text{
  position: absolute; /* テキストを絶対位置指定でオーバーレイ */
  top: 10%; /* コンテナの上から50%の位置に */
  left: 50%; /* コンテナの左から50%の位置に */
  transform: translate(-50%, -50%); /* 中心を正確に合わせる */
  color: white; /* テキストの色を白に */
  text-align: center; /* テキストを中央揃え */
  width: 90%; /* テキストの幅を90%に設定 */
}

.inner_section_04_right{
  width: 50%;
  /* background-image: url(./assets/images/.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: auto; */
  color: #ffffff;

}


.inner_company_left{
  grid-column: 3 / 6;
  /* width: 50%; */
  height: auto;
  /* text-align: center; */
  padding-right: 10%;

}


@media(max-width:1000px){
  .inner_company_left{
    padding-right: 0%;
  
  }

}

.inner_company_left h3{
  color: #444444;
    --min-size: 20;
    --max-size: 36;
    font-size: var(--clamp-size);
  margin-block: 5%;
}
.inner_company_left p{
    color: #444444;
    --min-size: 14;
    --max-size: 18;
    font-size: var(--clamp-size);
    margin-bottom: 10%;
  }

  .inner_company_left p.camp{
    margin-block: 1%;
  }

  .inner_company_left p.more{
  --min-size: 12;
  --max-size: 16;
  font-size: var(--clamp-size);
  width: 75%;
  font-family: var(--logo);
  }

  .inner_company_right{
    grid-column: 6 / 8;
    width: 100%;
    height: auto;
  }

  .inner_company_right h2{
    /* position: absolute;
    top:10; */

  }

  .inner_company_right img {
    display: block; /* 画像がインライン要素のデフォルトのスペースを持たないようにする */
    width: auto; /* 画像の自然な幅を保持 */
    height: auto; /* 画像の自然な高さを保持 */
    max-width: 100%; /* コンテナが小さい場合は画像を縮小 */

  }

.inner_section_05_left h2.overlay-text{
  position: absolute; /* テキストを絶対位置指定でオーバーレイ */
  top: 10%; /* コンテナの上から50%の位置に */
  left: 50%; /* コンテナの左から50%の位置に */
  transform: translate(-50%, -50%); /* 中心を正確に合わせる */
  color: white; /* テキストの色を白に */
  text-align: center; /* テキストを中央揃え */
  width: 90%; /* テキストの幅を90%に設定 */
}

.inner_section_05_left img {
  display: block; /* 画像がインライン要素のデフォルトのスペースを持たないようにする */
  width: auto; /* 画像の自然な幅を保持 */
  height: auto; /* 画像の自然な高さを保持 */
  /*max-width: 100%;  コンテナが小さい場合は画像を縮小 */
  position: absolute;
  bottom: 0;
}




.inner_access_left{
  grid-column: 3 / 5;
  /* width: 50%; */
  height: auto;
  /* text-align: center; */
  
}

.inner_access_left h3{
  color: #444444;
  --min-size: 20;
  --max-size: 36;
  font-size: var(--clamp-size);
  margin-block: 5%;
}
.inner_access_left p{
    color: #444444;
    --min-size: 14;
    --max-size: 18;
    font-size: var(--clamp-size);
    
    
  }

  .inner_access_left p.address{
    margin-block: 1%;
  }

  .inner_access_left p.tel{
    margin-block: 3%;
  }
  .inner_access_left p.fax{
    margin-bottom: 15%; /*マップの高さ調整のため*/
  }


.inner_access_right{
  grid-column: 6 / 8;
  width: 100%;
  height: auto;
}

.inner_access_right img {
  display: block; /* 画像がインライン要素のデフォルトのスペースを持たないようにする */
  width: auto; /* 画像の自然な幅を保持 */
  height: auto; /* 画像の自然な高さを保持 */
  max-width: 100%; /* コンテナが小さい場合は画像を縮小 */
}

.map{
  width: 100%;
  height: 100%;
}

.map iframe{
  width: 100%;
  height: 100%;
}


.button_01 {
  position: relative;
  /* width: 50%; */
}

.button_02 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: lightblue;
  padding: 20px;
}


.button_01 a {
  background: #eee;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 200px;
  padding: 10px 25px;
  color: #313131;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  z-index:0;
}
.button_01 a:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: block;
  background: #31519A;;
  transition: .3s;
  left:0;
}
.button_01 a:hover {
  color: #FFF;
}
.button_01 a:hover:before {
  width: 100%;
  z-index: -1;
}


 

.fa-angles-up{

  color: #E9E8E8;
}



footer{
  background-image: url(./assets/images/footer_img.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  margin-top: 0%;
  

}

.inner_footer{
  display: grid;
  grid-template-columns: var(--size2) 1fr 1fr 1fr var(--size2);
  padding-block: 5%;
}

.inner_footer_img{
  grid-column: 2 / 3;
  position: relative;
  text-align: center;
  

}
.inner_footer_img img{
  width: 50%;
  height: auto;
  

  
}

.inner_footer_center {
  grid-column: 3 / 5;
}

.inner_footer_center ul{
  color: #ffffff;
  --max-size: 16;
  --min-size: 14;
  font-size: var(--clamp-size);
  display: flex;
  justify-content: space-around;
  text-align: center;
}
  
  .inner_footer_center ul li{
    width: 100%;
  }

  .footer_list{
    padding-left: 0%;
    --max-size: 14;
  --min-size: 12;
  font-size: var(--clamp-size);
  font-family: var(--mei);
  margin-top: 10%;
  }

 .address{
       text-align: center;

 }

 .address_inner{
  display: flex;
  justify-content: center;
  color: #ffffff;
  --max-size: 14;
  --min-size: 12;
  font-size: var(--clamp-size);
  font-family: var(--mei);

 }

 .address_inner li{
  padding-left: 6px;

 }


  @media (max-width: 1000px) {
    .footer_list{
    margin-top: 3%;
    }

    .address_inner{
      display: block;
      justify-content: center;
      
    
     }

     .inner_company_right img {
      width: 75%;
      margin: 0 auto;
     }
  }




  .footer_copy {
    text-align: center;
    padding-top: 10px;
     width: 100%;
    color: #FFF;
    margin-bottom: 0;
    font-family: var(--my);
    --min-size: 10;
    --max-size: 14;
    font-size: var(--clamp-size);
}


  @media (max-width: 1000px) {

  nav{
        display: none;
      }
    }

    @media (max-width: 768px) {
  .inner_section_01_left {
    /* display: none; */
    grid-column: 1 / 3;
  }
.inner_section_01_right {
    /* display: none; */
    grid-column: 6 / 8;
  } 
  .inner_section_01_center {
    grid-column: 2 / 7;
    padding: 0;
    padding-block: 10%;
    background-image: none;
  }

  .inner_section_02, .inner_section_04, .inner_section_05 {
    display: block;
  }
  .inner_section_02_left,.inner_section_02_right{
    width: 100%;
    padding-block: 10%;
  }

  .service,.service_last,.section_04 {
  /* margin-bottom: 20%; */
  }

  .inner_service, .inner_company, .inner_access {
    display: block;
    padding-top: 15%;
    /* border-bottom: 1px solid #cccccc; */
    width: 95%;
    margin: 0 auto;
  }
  
.inner_section_03_left, .inner_section_04_left, .inner_section_05_left {
  width: 100%;
  padding-top: 20%;
}
  .inner_service_left_01, .inner_service_left_02, .inner_service_left_03 {
    text-align: center;
  }
  .service_button{
    display: block;
  }
  .service_set {
    width: 80%;
    margin: 0 auto;
}
.button_01 {
  position: relative;
  width: 80%;
  margin: 5% auto;
}
.inner_service_right_01, .inner_service_right_02, .inner_service_right_03 {
  
}
.inner_service_right_01 img, .inner_service_right_02 img, .inner_service_right_03 img {
  /* height: 200px;
  margin: 0 auto; */
  display: none;
}

.inner_company_left h3 {
  text-align: center;
}

.inner_access_left {
  text-align: center;
}

.inner_access_right {
  height: 300px;
}
.fa-angles-up {
  font-size: 2em;
}


  .inner_footer{
    display: block;
    padding-block: 10%;
  }
  .inner_footer_center {
    margin-top: 10%;
  }

  .inner_footer_center ul{
    display: block;
  }
  .inner_footer_center ul li{
    padding-bottom: 5%;
  }

    body:not(.top-page) .hero {
    height: 30vh;
  }
  .breadcrumb {
    display: none;
  }

  .card_section_01 p {
  margin-block: 0%;
  margin-top: 5%;
  }
  .card_inner{
    text-align: left;
   margin-block: 0%;
   margin-top: 5%;
   padding-left: 10%;
   position: absolute;
 }


}
/* ハンバーガーメニューのスタイル */


/* ===============================================
ハンバーガーボタンのスタイリング
=============================================== */

input[type="checkbox"] {
  opacity: 110;
  visibility: hidden;
  position: absolute;
  }

label{
display: none;
}

.nav_sp{
  display: none;
}

@media(max-width:1000px){


label{
  z-index: 10;
}
.hamburger {
  display: block;
  width: 30px;
  height: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  right: 3%;
  top: 0;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.5s;
}
.hamburger span::before {
  top: -10px;
}
.hamburger span::after {
  bottom: -10px;
}
input[type="checkbox"]:checked + .hamburger span {
  background-color: transparent;
}
input[type="checkbox"]:checked + .hamburger span::before {
  top: 0;
  transform: rotate(45deg);
}
input[type="checkbox"]:checked + .hamburger span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ===============================================
メニューのスタイリング
=============================================== */
.nav_sp{
  display: block;
  position: fixed;
  width: 100%;
  height: 100vh;
  top:0;
  right: -120%;
  background-color: #14223A;
  color: #fff;
  opacity: 0.8;
  padding: 50px 0;
  transition: all 0.5s ease-in;
   z-index: 9;
  text-align: center;

}

.sp_nav-logo{
  padding-bottom: 30px;
}

.nav__item a {
  display: block;
  font-size: 20px;
  padding: 20px 0 20px 0px;
  /* text-transform: uppercase; */
}
.nav__item a:hover {
  color: #0f5474;
  background-color: #fff;
}
#check:checked ~ .nav_sp {
  right: 0;
}


}

.loading {
  position: fixed;
  width: 100vw;
  height: 100vh;
  /* background: white; */
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  
  
}

/* ロゴ登場と消えるアニメーション */
.logo_load {
  position: relative;
  z-index: 10000;
  animation: logoIn 0.8s ease-out forwards;
  animation-delay: 2s; /* ← すぐ出すように */
  opacity: 0; /* アニメで出すため初期値は0 */
}

.loading.loaded .logo_load{
  animation: logoOut 4s ease forwards;
  animation-delay: 4s;
}

/* シャッター開閉アニメーション */
.leftdoor,
.rightdoor {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 998;
}

.leftdoor {
  background: #8FBC3E;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.rightdoor {
  background: #31519A;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.loading.loaded .leftdoor {
  animation: doorOpenTop 1s ease forwards;
}

.loading.loaded .rightdoor {
  animation: doorOpenBottom 1s ease forwards;
}

/* ロゴ登場 */
@keyframes logoIn {
  0%   { opacity: 0; transform: scale(0.1); }
  100% { opacity: 1; transform: scale(0.4); }
}


/* シャッター開く */
@keyframes doorOpenTop {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

@keyframes doorOpenBottom {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}