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


body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  margin: 0;
  padding: 0;
  color: #333;
  box-sizing: border-box;
  line-height: 1.5;
  font-size: 16px;
}

.din {
  font-family: "din-2014", sans-serif;
  font-weight: 700;
  font-style: normal;
}

a {
  text-decoration: none;
  color: #1D8AC7;
}

p {
  font-size: 16px;
  margin: auto;
  margin-bottom: 40px;
  line-height: 2;
}

h2 {
  font-size: 24px;
}

em {
  font-family: "nimbus-sans", sans-serif;
  font-style: normal;

}

ul {
  list-style: none;
  padding: 0;
}

li {

}

figure {
  width: 100%;
  height: 100%;
  padding-top: 56.25%;
  position: relative;
  display: block;
  margin: 0;
}

figure img {
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  left: 0;
  right: 0;
  margin: auto;
  object-fit: cover;
}

img {
  max-width: 100%;
}

.ta-c {
  text-align: center;
}

.ta-l {
  text-align: left;
}

.ta-r {
  text-align: right;
}

.cl-orange {
  color: #FF4B00;
}

.cl-red {
  color: #CE0101;
}

.bold {
  font-weight: bold;
}



header {
  background: none;
    color: #333;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
}


header .header-in {
  padding: 15px 20px;
  width: 100%;
  max-width: 100%;
  display: flex;
  margin: auto;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  display: inline-block;
  margin: 0;
  line-height: 0;
}

.logo {
  max-width: 290px;
  margin-right: 10px;
}

header nav {
  margin: 0 0 0 auto;
  display: flex;
  align-items: center;

}

nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 20px;
}

nav ul li {
  display: inline-block;
  margin-right: 30px;
  position: relative;
  white-space: nowrap;
}

nav ul li::maker {
  display: none;
}

nav ul li em {
  font-size: 14px;
  display: block;
  /*color: #1D8AC7;*/
  color: #FFF;
}

nav ul li a {
  color: #FFF;
  font-size: 16px;
  position: relative;
}

nav ul li a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 2px;
background: #FFF;
bottom: 20px; /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
opacity: 0;
visibility: hidden;
transition: 0.3s;
}

nav ul li a:hover::after {
visibility: visible;
bottom: -5px; /*アニメーションが止まる位置*/
opacity: 1;
}

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

nav ul li:last-child {
  margin-right: 0;
}

nav ul li a.login {
  width: 150px;
  border-radius: 50px;
  color: #333;
  padding: 10px 25px;
  white-space: nowrap;
  background-color: #FFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: .3s;
}

nav ul li a.login:hover {
  background-color: #E8FAFF;
}

nav ul li a.login::before {
  content: "";
  background-image: url(../images/login.png);
  width: 28px;
  height: 28px;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

nav li ul {
  display: none;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 2.5em;
  left: -10px;
  z-index: 10;
}

nav li:hover ul {
  display: flex;
}

nav li.parent {
  padding: 10px;
  padding-right: 20px;
  margin-right: 20px;
}

nav li.parent::after {
  position: absolute;
  right: 0px;
  font-family: "Font Awesome 5 Free";
  content: "\f107";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
}


nav li ul li {
  padding: 10px 20px;
  margin-right: 0;
  white-space: nowrap;
  background: rgba(255,255,255,1);
}


header.fixed {
  transition: 0.3s;
  background-color: #000E64;
}

#scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background-color: #FFF;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 18px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

#scroll-top-btn.show {
  display: block;
  opacity: 1;
}

.section {
  padding: 150px 0;
  position: relative;
}

.wrapper {
  max-width: 1100px;
  width: 100%;
  margin: auto;
}

.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex.start {
  justify-content: flex-start;
}

.flex.end {
  justify-content: flex-end;
}

.flex.middle {
  align-items: center;
}

.box {
  width: 50%;
}

.box.wide {
  width: calc(60% - 30px);
  margin-bottom: 40px;
}

.box.narrow {
  width: 40%;
  margin-bottom: 40px;
}

.col3 .box {
  width: 33%;
}

.btn-area {
  display: inline-block;
}

.m0 {
    margin-bottom: 0;
}

.mt40 {
  margin-top: 40px;
}

.mt70 {
  margin-top: 70px;
}

.mb40 {
  margin-bottom: 40px;
}

.block {
  display: block;
}

.min-270 {
  min-width: 270px;
}

.max-270 {
  max-width: 270px;
}

nav .btn {
  color: #FFF;
    font-size: 14px;
    background-color: #1D8AC7;
    display: inline-block;
    display: table-cell;
    vertical-align: middle;
    width: 170px;
    height: 100px;
    text-align: center;
    z-index: 99;
    position: relative;
    top: 0px;
}

.btn em {
  color: #C9DBFF;
  position: absolute;
  top: 30px;
  font-size: 12px;
  font-weight: normal;
}


.btn.contact {
  margin-left: 10px;
}

.btn.contact::after {
}

.btn.contact::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0e0";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
  padding-right: .5em;
  color:#FFF;
}

.top-bg {
  background-color: #FFF;
}

.key-v {
  width: 100%;
  height: 100vh;
  position: relative;
  max-height: 1440px;
  z-index: 0;
  overflow: hidden;
}

.key-v .key-img {
  position: absolute;
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
  right: 0;
  top:0;
}

.key-v .txt-box {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  max-width: 80%;
  margin: auto;
  z-index: 2;
}

.key-v .txt-box h2 {
  font-size: 64px;
text-align: left;
color: #FFF;
font-weight: bold;
letter-spacing: .2em;
margin: 0 0 30px;
text-align: center;
}

.key-v .txt-box p {
  font-size: 15px;
  color: #FFF;
  font-weight: normal;
  margin: 0 0 20px;
}

.key-v .txt-box p span {
  /*background-color: #1D8AC7;*/
}

.key-v .txt-box p {
  line-height: 2;
}

.key-v .arrow-d {
  position: absolute;
  left: 5%;
  bottom: 5%;
  display: block;
}

.key-v #main_video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: relative;
  z-index: -2;
}

.key-v::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  /*background-image: url(/assets/images/pt_video.png);*/
  z-index: -1;
}

.key-v .hero_news {
  background-color: #FFF;
  position: absolute;
  right: 10%;
  bottom:0;
  padding: 20px 20px 15px 50px;
  border-radius: 40px 40px 0 0;
  white-space: nowrap;
}

.key-v .hero_news a {
  color: #333;
  font-size: 46px;
}

.key-v .hero_news a em {
  font-size: 100px;
  position: relative;
  top: 5px;
}

.key-v .hero_news a span {
  font-size: 40px;
  padding-right: 5px;
}

.key-v .hero_news strong {
  font-size: 66px;
  position: relative;
  right: 10px;
}

.key-v .hero_news::before {
  content: "施工実績";
  position: absolute;
  top: -15px;
  font-size: 22px;
  color: #FFF;
  text-align: center;
  padding: 5px 10px;
  background-color: #000;
}




.btn.more {
  min-width: 250px;
}

.btn.more:after {
  content: " ";
  width: 36px;
  height: 6px;
  object-fit: contain;
  background-image: url(/assets/images/arrow-r.png);
  background-repeat: no-repeat;
  top: 20px;
}

.img-box {
  width:100%;
  padding-top: 56.25%;
  position: relative;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left:0;
  right:0;
  margin: auto;
}


footer {
  background-color: #000E64;
    padding: 180px 0;
    width: 100%;
    position: relative;
}

footer .footer-in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  padding: 0 20px;
  margin: auto;
  flex-wrap: wrap;
}

footer .logo {
    width: 290px;
    margin-right: 15px;
}


footer nav {
  color: #FFF;
  margin-right: 15px;
}


.copyright {
  font-size: 14px;
  color: #FFF;
  text-align: right;
  margin: 0;
    white-space: nowrap;
}

#pagetop {
  cursor: pointer;
  position: absolute;
  bottom: 0;
  right: 0;
}

.pc {display: block!important;}
.sp {display: none!important;}


.sub-key {
  padding: 80px 0;
  background-image: url(/assets/images/sub-key.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.sub-key h2 {
  color: #FFF;
  margin: 0;
}

.breadcrumbs {
  width: 100%;
  padding: 5px 30px;
  display: flex;
  align-items: center;
  background-color: #000E64;
  color: #FFF;
  font-size: 12px;
}

.breadcrumbs ul {
  display: flex;
  align-items: center;
}

.breadcrumbs ul li::after {
  font-family: "Font Awesome 5 Free";
  content: "\f105";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
  margin: 0 15px;
}

.breadcrumbs ul li:last-child {
  pointer-events: none;
}

.breadcrumbs ul li:last-child::after {
  display: none;
}

.breadcrumbs span {
  margin-right: 5px;
}

.breadcrumbs a {
  color: #FFF;
}

.fa-house:before {
  font-family: "Font Awesome 5 Free";
  content: "\f015";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
}

.post-date {
  text-align: right;
}

.pagination {
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-pagenavi a, .wp-pagenavi span {
  color: #333;
  padding: 3px 9px;
}

.bottom-border {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #566890;
}

table {
  width: 100%;
  border-spacing: 0;
  line-height: 2;
}

table tr th {
    border: 1px solid #AAA;
    padding: 15px;
    vertical-align: top;
    background-color: #1D8AC7;
    text-align: left;
    width: 240px;
    color: #FFF;
    max-width: 100%;
    border-top:0;
}

table tr td {
  border: 1px solid #AAA;
  padding: 15px;
  border-top:0;
  border-left: 0;
}

table tr:first-of-type th,
table tr:first-of-type td {
}

.jump-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.btn.jump::after {
  content: "\f107";
}

form input,
form textarea {
  display: block;
  max-width: 100%;
  width: 100%;
  box-shadow: none;
  border: 1px solid #AAA;
  padding: .5em 1em;
}

th.requid:after {
  content:"※";
  color: red;
  padding-left: 10px;
}

form input[type="submit"] {
  max-width: 250px;
  background-color: #1D8AC7;
  margin: 40px auto 0;
  cursor: pointer;
}



h2.sec_ttl {
  font-size: 48px;
  color: #000E64;
  font-weight: bold;
  margin: 0 0 50px 0;
  font-weight: bold;
  text-align: center;
  position: relative;
  z-index: 2;
}

h2.sec_ttl em {
  font-size: 86px;
  color: #F2F3F7;
  font-weight: bold;
  text-align: center;
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -2;
}

#our_company {
  background-image: url(/assets/images/bg_intro.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  text-align: center;
}

.balloon_top {
  position: relative;
  display: block;
  padding: 7px 10px;
  width: 500px;
  max-width: 100%;
  font-size: 16px;
  background: #FFF;
  border: solid 2px #000E64;
  box-sizing: border-box;
  color: #000E64;
  font-size: 32px;
  text-align: center;
  margin: auto;
  margin-bottom: 40px;
}

.balloon_top:before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-bottom: 12px solid #FFF;
  z-index: 2;
}

.balloon_top:after {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-bottom: 14px solid #000E64;
  z-index: 1;
}

.balloon_top p {
  margin: 0;
  padding: 0;
}

#our_company p strong {
  font-size: 24px;
  background:linear-gradient(transparent 60%, #ff6 60%);
}

#our_company .flex.col2_box .box {
  width: calc(50% - 30px);
  border-radius: 20px;
  background-color: #F9F9FB;
  padding: 40px;
  margin-bottom: 40px;
}

p.label {
    color: #FFF;
    background-color: #000E64;
    padding: 5px 10px;
    border-radius: 40px;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

p.annotation {
  font-size: 12px;
}

.btn_contact {
  background-color: #000E64;
  color: #FFF;
  border-radius: 50px;
  width: 270px;
  display: inline-block;
  max-width: 100%;
  text-align: center;
  transition: .3s;
  padding: 15px 20px;
  position: relative;
  font-weight: bold;
  margin-bottom: 80px;
}

.btn_contact:hover {
  background-color: #FFF;
  color: #333;
  outline: 1px solid #333;
}

.btn_contact:after {
  position: absolute;
  right: 0px;
  font-family: "Font Awesome 5 Free";
  content: "\f061";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
  right: 20px;
}


.btn_normal {
  background-color: #000E64;
  color: #FFF;
  border-radius: 50px;
  min-width: 160px;
  display: inline-block;
  max-width: 100%;
  text-align: center;
  transition: .3s;
  padding: 15px 20px;
  position: relative;
  font-weight: bold;

}

.btn_normal:hover {
  background-color: #FFF;
  color: #333;
  outline: 1px solid #333;
}

.btn_normal:after {
  position: absolute;
  right: 0px;
  font-family: "Font Awesome 5 Free";
  content: "\f061";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
  right: 20px;
}

#our_company .flex.video_box .box {
  width: calc(50% - 30px);
  padding: 40px;
  margin-bottom: 40px;
}

#our_company video {
  max-width: 100%;
}

#our_company .flex.video_box p {
  font-size: 24px;
  position: relative;
}

#our_company .flex.video_box p::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: -40px;
  width: 32px;
  height: 46px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../images/sl_l.png);
}

#our_company .flex.video_box p::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: -40px;
  width: 32px;
  height: 46px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../images/sl_r.png);
}

#our_company .flex.video_box ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}

#works {
  background-color: #FFFAF3;
  position: relative;
  padding-top: 0;
}

#works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Adjust height for the thickness of the diagonal */
  background-color: #FFFAF3; /* Background color of the diagonal section */
  transform: skewY(-3deg); /* Adjust the angle of the diagonal */
  transform-origin: top left;
  z-index: 0;
}

#works h2.sec_ttl {
  position: relative;
  bottom: 40px;
}

#works .flex.col2_box:first-of-type {
  margin-bottom: 100px;
}

#works .flex.col2_box .box {
  background-color: none;
  border-radius: 0;
  width: calc(50% - 50px);
}

#feature {
  position: relative;
}

#feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Adjust height for the thickness of the diagonal */
  background-color: #FFF; /* Background color of the diagonal section */
  transform: skewY(-3deg); /* Adjust the angle of the diagonal */
  transform-origin: top left;
  z-index: 0;
}

#feature .feature_box {
  border: 1px solid #000;
  width: 100%;
}

#feature .feature_box .txt_box {
  width: 65%;
  padding: 80px 70px;
}

#feature .feature_box .txt_box h3 {
  font-size: 24px;
  margin-bottom: 40px;
}

#feature .feature_box .txt_box p {
  margin-bottom: 25px;
}

#feature .feature_box .txt_box p:last-of-type {
  margin-top: 80px;
}

#feature .feature_box .img_box {
  width: 35%;
}

#feature .feature_box .img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


#recruit h2.sec-ttl::after {
  margin: 0;
  background: #FFF;
}

#care {
  position: relative;
  background-color: #FAFAFA;
}

#care::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Adjust height for the thickness of the diagonal */
  background-color: #FAFAFA; /* Background color of the diagonal section */
  transform: skewY(-3deg); /* Adjust the angle of the diagonal */
  transform-origin: top left;
  z-index: 0;
}

#care::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 100px; /* Adjust height for the thickness of the diagonal */
  background-color: #FAFAFA; /* Background color of the diagonal section */
  transform: skewY(-3deg); /* Adjust the angle of the diagonal */
  transform-origin: top left;
  z-index: 20;
}

#care h3 {
  font-weight: 500;
  margin-bottom: 80px;
}

#care .care_box {
  background-color: #FFF;
  padding: 60px;
}

#care .care_box ul {
  margin-bottom: 40px;
}

#care .care_box ul li {
  display: flex;
  margin-bottom: 10px;
}

#care .care_box ul li::before {
  content: "●";
  color: #F5F5F5;
  margin-right: 15px;
}

#care .care_box .gray_box {
  background-color: #F5F5F5;
  padding: 70px 60px;
  margin-bottom: 50px;
}

#care .care_box .gray_box .col3_box {
      align-items: end;
      width: 80%;
      margin: auto;
      margin-bottom: 40px;
}

#care .care_box .gray_box .col3_box .box {
  margin-bottom: 15px;
  width: calc(33% - 15px);
}

#care .care_box .gray_box .col3_box .box figure {
  padding-top: 100%;
}

#care .care_box .gray_box .col3_box .box p {
  margin-bottom: 0;
}

#care .care_box .gray_box .deepgray_box {
  padding: 30px;
  background-color: #E4E4E4;
}

#care .care_box .col4_box {
  justify-content: space-between;
}

#care .care_box .col4_box .box {
  width: 20%;
}

#care .care_box .col4_box .box figure {
  padding-top: 100%;
  height: auto;
}

#care .care_box .col4_box .box figure img {

}

#care .care_box .gray_box h3 {
  font-size: 24px;
  font-weight: bold;
}

#care .care_box .gray_box .deepgray_box .txt_box {
  padding: 0 30px;
  max-width: calc(100% - 129px);
}

#care .care_box .gray_box .deepgray_box h3 {
  margin-bottom: 10px;
}

#care .care_box .gray_box .deepgray_box .txt_box h3 {
  margin-bottom: 30px;
  margin-top: 0;
}

#care .care_box .gray_box .deepgray_box table th {
  background-color: #F2F2F2;
  border: 1px solid #808080;
  color: #333;
  padding: 1em 2em;
}

#care .care_box .gray_box .deepgray_box table td {
  background-color: #FFF;
  border: 1px solid #808080;
  padding: 1em 2em;
}

#care .care_box .gray_box .annotation_box {
  background-color: #FFF;
  border: 1px solid #000;
  padding: 60px 45px;
  position: relative;
}

#care .care_box .gray_box .annotation_box::before {
  content: "ECOCARAT 注意事項";
  color: #FFF;
  background-color: #000;
  padding: .5em 1em;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
}

#inquiry {
  background-image: url(../images/mv.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 300px;
}

#inquiry .col2_box.detail {
  background-image: url(../images/bg1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 70px;
}

#inquiry .col2_box.detail .box {
  padding: 70px;
}

h3.th_line {
  color: #000E64;
  font-size: 20px;
  font-weight: bold;
  position: relative;
  margin: 0;
  margin-bottom: 50px;
}

h3.th_line::before {
  content: " ";
  width: 90px;
  height: 1px;
  background-color: #000E64;
  position: absolute;
  left: 0;
  bottom: -20px;
}

#inquiry .inquiry_box {
  background-color: #FFF;
  padding: 80px 70px;
}


#inquiry .inquiry_box .tel_box {
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 60px;
}

#inquiry .inquiry_box .tel_box div {
  padding-right: 10px;
}

#inquiry .inquiry_box .tel_box p {
  margin: 0;
  line-height: 1.5;
}

#inquiry .inquiry_box .tel_box strong {
  font-size: 40px;
  font-weight: bold;
  white-space: nowrap;
}

.required {
  color: #CE0101;
}

form table {
  width: 100%;
  margin-bottom: 30px;
}

form table tr {
  display: flex;
  align-items: center;
}

form table th,
form table td {
  background-color: inherit;
  border: none;
  color: #333;
  padding: 0;
  padding-top: .5em;
  padding-bottom: .5em;
}
form table th {
  width: 110px;
}

form table td {
  width: calc(100% - 110px);
}

form table tr.message th,
form table tr.message td {
  width: 100%;
}

form input,
form textarea {
  background-color: #F2F2F2;
  display: block;
  width: 100%;
  border-radius: 4px;
  border: none;
  padding: 1.5em;
}

.custom-select {
  position: relative;
}

.custom-select::before,
.custom-select::after {
  position: absolute;
  content: '';
  pointer-events: none;
  font-size: 80%;
}

.custom-select::before {
  display: inline-block;
  right: 0;
  width: 4.1em;
  height: 4.1em;
  border-radius: 0 4px 4px 0;
  background-color: #dcdcdc;
}

.custom-select::after {
  position: absolute;
  top: 50%;
  right: 2em;
  transform: translate(50%, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
}

.custom-select select {
  appearance: none;
  min-width: 20em;
  height: 4.1em;
  padding: 1.5em;
  border: none;
  border-radius: 4px;
  background-color: #f2f2f2;
  color: #333;
  font-size: 80%;
  cursor: pointer;
}

.custom-select select:focus {
  outline: 2px solid #dcdcdc;
}

form .submit-button {
  background-color: #000E64;
  color: #FFF;
  border-radius: 50px;
  min-width: 280px;
  display: inline-block;
  max-width: 100%;
  text-align: center;
  transition: .3s;
  padding: 15px 20px;
  position: relative;
  font-weight: bold;
  margin: 0 0 0 auto;
  display: block;
  cursor: pointer;
  font-size: 16px;
}

form .submit-button:hover {
  background-color: #FFF;
  color: #333;
  outline: 1px solid #333;
}

form .submit-button:after {
  position: absolute;
  right: 0px;
  font-family: "Font Awesome 5 Free";
  content: "\f061";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
  right: 20px;
  top: 20px;
}

.subkey-v {
  padding: 180px 0;
  background-image: url(../images/mv.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.subkey-v::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明のグレー */
  pointer-events: none; /* 背景の操作を有効にする場合は追加 */
}

.subkey-v h2 {
  font-size: 48px;
  text-align: center;
  color: #FFF;
  margin: auto;
  position: relative;
  z-index: 2;
}


@media screen and (min-width: 1281px) {
  header .header-in,
  footer .footer-in {
    padding-left: 5%;
    padding-right: 5%;
  }
}


@media screen and (max-width: 767px) {
  .pc {display: none!important;}
  .sp {display: block!important;}

  p {
    margin-bottom: 20px;
  }

  .toggler {
    position: absolute;
    z-index: 9998;
    top: 24px;
    right: 20px;
    width: 40px;
  }

  .toggler-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FFF;
    border-radius: 0;
  }

  .toggler-bars.active span {
    background-color: #000;
    transition: 0.3s;
  }

  .toggler-bars, .toggler-bars span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
  }

  .toggler-bars span:nth-of-type(1) {
    top: 0;
  }

  .toggler-bars span:nth-of-type(2) {
    top: 11px;
  }

  .toggler-bars span:nth-of-type(3) {
    bottom: 0;
  }

  .toggler-bars.active span:nth-of-type(1) {
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
    top: 3px;
  }

  .toggler-bars.active span:nth-of-type(2) {
    opacity: 0;
  }

  .toggler-bars.active span:nth-of-type(3) {
    -webkit-transform: translateY(-9px) rotate(45deg);
    transform: translateY(-9px) rotate(45deg);
  }

  .drawer-overlay {
    background: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    display: none;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
  }

  .drawer-overlay.open {
    display: block;
  }

  .wrapper {
    padding: 0 5.625vw;
  }

  .section {
    padding: 80px 0;
  }

  header {
    position: fixed;
    top:0;
    z-index: 100;
    background: #FFF;
  }

  header .header-in {
    height: 70px;
  }

  .logo {
    max-width: 128px;
  }

  nav ul li a {
    color: #333;
  }

  .btn.contact {
    margin-left: 0;
  }

  .key-v {
    height: calc(100vh - 70px);
    margin-top: 70px;
  }

  .sub-key {
    margin-top: 70px;
  }

  .key-v .key-img {
    width: 100%;
  }

  .key-v .txt-box {
    text-align: center;
    left: 0;
    right: 0;
    top: 25%;
    max-width: 100%;
    width: 100%;
    padding: 0 5.625vw;
  }


  header nav {
    display: block;
    width: 70%;
    max-width: 280px;
    background: #FFF;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    margin: auto;
    text-align: center;
    padding: 70px 0;
    box-sizing: border-box;
    z-index: 100;
    transition: right 0.3s ease-in-out;
  }

  header nav.open {
    display: block;
    right: 0;
  }

  nav ul {
    display: block;
    margin-bottom: 40px;
  }

  nav ul li.parent,
  nav ul li {
    width: 100%;
    margin: auto;
    padding: 20px;
  }

  nav ul li.parent::after {
    right: 30px;
    top: 20px;
  }

  nav li ul {
    display: block;
    position: static;
    margin-top: 30px;
  }

  nav li ul li a {
    font-size: 12px;
  }

  .btn-area {
    padding: 0 5.625vw;
  }

  .btn-area .btn {
    margin: auto;
    width: 100%;
    margin-bottom: 40px;
  }

  .col3 .box {
    width: 100%;
  }

  footer ul {
    flex-wrap: wrap;
  }

  footer .flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .b-box {
    width: 100%;
  }

  footer ul li a {
    font-size: 12px;
  }

  footer ul {
    gap: 25px;
  }

  #pagetop {
    left: 0;
    right: 0;
    bottom: -80px;
    margin: auto;
  }

  table tr th,
  table tr td {
    width: 100%;
    display: block;
  }

  .jump-links {
      flex-wrap: wrap;
      gap: 0;
      grid-row-gap: 40px;
  }

  .btn.jump {
    width: 250px;
  }


  .key-v .txt-box h2 {
    font-size: 32px;
    text-align: center;
    letter-spacing: 0;
  }

  .key-v .hero_news {
    left: inherit;
    right:0;
    max-width: 90%;
    bottom: 0%;
    padding: 15px;
    border-radius: 24px 24px 0 0;
  }

  .key-v .hero_news a span {
    font-size: 24px;
  }

  .key-v .hero_news a {
    font-size: 28px;
  }

  .key-v .hero_news strong {
    font-size: 32px;
  }

  .key-v .hero_news::before {
    font-size: 16px;
  }

  .key-v .hero_news a em {
    font-size: 40px;
  }

  .scroll-text {
    font-size: 80px;
  }

    h2.sec-ttl {
      font-size: 18px;
    }

  h2.sec-ttl em {
    font-size: 42px;
  }

  p {
    font-size: 14px;
  }

  h2.sec-ttl::after {
    width: 80px;
  }

  nav ul li em {
    color: #333;
  }

  footer {
    padding: 40px 0 0;
  }

  footer .flex div {
    width: 100%;
  }

  footer p.ta-l {
    text-align: center;
  }

  footer .contact-area {
    flex-wrap: wrap;
    justify-content: center;
  }

  footer .contact-area .tel {
    margin: 0 0 30px 0;
  }

  footer ul {
        gap: 40px;
        row-gap: 0;
        margin-bottom: 30px;
  }

  .copyright {
    height: 40px;
    font-size: 10px;
    text-align: center;
    justify-content: center;
  }

  nav .btn-area {
    width: 100%;
  }
  nav .btn-area .btn {
    height: auto;
    margin: auto;
    text-align: center;
    display: block;
    padding: 10px 15px;
  }

  .btn em {
    display: block;
    width: 100%;
    top: -25px;
    font-weight: bold;
    color: #1D8AC7;
    margin: auto;
    left: 0;
    right: 0;
  }

  header {
    background: inherit;
    background-color: #000E64;
  }

  header.fixed {
  }

  nav ul li a.login {
    margin: auto;
    border: 1px solid #DCDCDC;
  }

  .box {
    width: 100%;
  }

  h2.sec_ttl {
    font-size: 32px;
  }

  h2.sec_ttl em {
    font-size: 48px;
  }

  .balloon_top {
    font-size: 20px;
  }

  #our_company .flex.col2_box .box {
    padding: 15px;
    width: calc(50% - 10px);
  }

  #our_company .flex.video_box .box {
    width: 100%;
    padding: 0px;
  }

  #our_company .flex.video_box p {
    font-size: 16px;
  }

  #our_company .flex.video_box p::after,
  #our_company .flex.video_box p::before {
    width: 20px;
    height: 32px;
  }

  #our_company .flex.video_box p::before {
    left: 0;
  }

  #our_company .flex.video_box p::after {
    right: 0;
  }

  #works::before {
  }

  #works h2.sec_ttl {
    bottom:0;
  }

  #works {
    padding-top: 80px;
  }

  #works .flex.col2_box .box {
    width: 48%;
  }

  #works .flex.col2_box:first-of-type {
    margin-bottom: 0px;
  }


  #feature .feature_box .txt_box{
    padding: 20px;
    width: 100%;
  }

  #feature .feature_box .img_box {
    width: 100%;
    order: -1;
  }

  #feature .feature_box .txt_box p:last-of-type {
    margin-top: 40px;
  }


  #care .care_box {
    padding: 20px;
  }

  #care .care_box .gray_box {
    padding: 20px;
  }

  #care .care_box .gray_box .col3_box {
    width: 100%;
    margin-bottom: 0;
  }

  #care .care_box .gray_box .col3_box .box {
    width: calc(33% - 5px);
  }

  #care .care_box .gray_box .col3_box .box p {
    font-size: 10px;
  }

  #care .care_box .gray_box .deepgray_box {
    padding: 15px;;
  }

  #care .care_box .gray_box .deepgray_box .img_box {
    width: 100%;
    max-width: 128px;
    margin: auto;
    margin-bottom: 20px;
  }

  #care .care_box .gray_box .deepgray_box .img_box img {
    width: 100%;
  }

  #care .care_box .gray_box .deepgray_box .txt_box {
    width: 100%;
    padding: 15px;
    max-width: 100%;
  }

  #care .care_box .gray_box .deepgray_box table th,
  #care .care_box .gray_box .deepgray_box table td {
    padding: .5em;
  }

  #care .care_box .gray_box h3 {
    font-size: 18px;

  }

  #care .care_box .gray_box .deepgray_box .txt_box {
    padding: 0;
  }

  #care .care_box .gray_box .deepgray_box .txt_box h3 {
    margin-bottom: 20px;
  }

  #care .care_box .gray_box .annotation_box {
    padding: 10px;
    padding-top: 60px;
  }

  #care .care_box .gray_box .annotation_box .col3_box .box {
    width: 100%;
  }

  #care .care_box .col4_box p {
    font-size: 10px;
  }

  #inquiry {
    padding-top: 120px;
    padding-bottom: 160px;
  }


  #inquiry .inquiry_box {
    padding: 80px 20px;
  }


  #inquiry .col2_box.detail .box {
    width: 50%;
    padding: 20px;
  }

  #inquiry .col2_box.detail .box .btn_normal {
    min-width: inherit;
    width: 100%;
    max-width: 100%;
  }

  h3.th_line {
    font-size: 16px;
    margin-bottom: 40px;
  }

  #inquiry form .submit-button {
    margin: auto;
  }

  hr {
    width: 100%;
    margin: 60px auto;
  }

  footer nav ul li a{
    color: #FFF;
  }

  footer nav {
    margin: auto;
  }

  footer .logo {
    max-width: 290px;
  }

  .scroll_key {
    position: absolute;
    bottom:0;
    left: 0;
    right:0;
    margin: auto;
    bottom: -5px;
    text-align: center;
  }

  .subkey-v {
    padding: 80px 0;
    padding-top: 150px;
  }

  .subkey-v h2 {
    font-size: 36px;
    padding: 0 30px;
  }

  .box.wide,
  .box.narrow {
    width: 100%;
  }

  .box.reverse {
    order: -1;
  }
}
