@charset "utf-8";
/*
font-family: "Noto Serif JP";
font-weight: 700;
sans:400=Regular,700=Bold
*/
a[href^="tel:"] {
  pointer-events: none;
}
/* keyview */
#keyview{
  background-color: #ffffff;
  background-image: linear-gradient(-45deg, #d1e4f7 25%, transparent 25%, transparent 50%, #d1e4f7 50%, #d1e4f7 75%, transparent 75%, transparent);
  background-size: 5px 5px;
  width: 100%;
  height: 768px;
}
.key_img{
  position: absolute;
  top:157px;
  left:50%;
  margin:0 0 0 221px;
  width: 884px;
  height: 559px;
  z-index: 10;
  transform:translateX(-50%);
}
.key_img img{
  border-radius: 20px;
  width: 100%;
}
.key_img::after{
  content: "";
  position: absolute;
  top:-42px;
  left:-36px;
  background: url(../images/img_keyview_men.webp) no-repeat;
  background-size: cover;
  width: 507px;
  height: 664px;
  z-index: 20;
}
.key_cont{
  position: relative;
  margin:0 auto;
  width: 1306px;
  height: 768px;
}
.key_cont h2{
  position: absolute;
  top: 280px;
  left: 30px;
  z-index: 30;
}
.key_cont h2 span{
  display: table;
  margin:0 0 20px;
  padding:0 25px;
  background-color: #0071bc;
  color:#FFF;
  height: 56px;
  font-size:34px;
  line-height: 56px;
  font-weight: 700;
}
.key_cont p{
  position: absolute;
  top: 577px;
  left: 30px;
  width: 365px;
  font-size:18px;
  z-index:90;
}
/* info */
#cont_info{
  width: 100%;
  padding:60px 0;
}
.info_area{
  margin: 0 auto;
  padding:60px 0;
  background-color: #f7f9fb;
  border-radius: 20px;
  width: 1200px;
}
.info_area h3{
  position: relative;
  margin:0px 60px 0;
  padding:0 0 0 60px;
  color:#004b75;
  font-size:32px;
  line-height:1.2em;
  font-weight: 700;
}
.info_area h3::before{
  content: "";
  position: absolute;
  top:50%;
  left:0;
  background-color: #004b75;
  width: 40px;
  height: 2px;
  transform:translateY(-50%);
}
.info_data{
  display: flex;
  margin:60px 60px 0;
}
.info_txt{
  margin:0 30px 0 0;
  width: 553px;
}
.info_txt p{
  padding:0 0 1em;
  font-size:18px;
  line-height:1.5em;
}
.info_img{
  width: 495px;
}
.info_img img{
  width: 100%;
}
/* service */
#service{
  padding:100px 0; 
  background-color: #f3f8fc;
  width: 100%;
}
.service_area{
  margin: 0 auto;
  width: 1200px;
}
.service_area h3{
  position: relative;
  margin:0;
  padding:0 0 0 60px;
  color:#004b75;
  font-size:32px;
  line-height:1.2em;
  font-weight: 700;
}
.service_area h3::before{
  content: "";
  position: absolute;
  top:50%;
  left:0;
  background-color: #004b75;
  width: 40px;
  height: 2px;
  transform:translateY(-50%);
}
.service_area p{
  margin:60px 0 0;
  font-size:18px;
}
#service_card{
  display: flex;
  justify-content: center;
  margin:60px 0 0;
}
.card_area{
  margin:0 30px 0 0;
  background-color: #FFF;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 380px;
  min-height: 564px;
}
.card_area:last-child{
  margin:0;
}
.card_area h4{
  margin: 30px 30px 0;
}
.card_area h4 a{
  color:#004b75;
  font-size:24px;
  line-height: 1.2em;
  font-weight: 700;
  text-decoration: none;
}
.card_area h4 a:hover{
  text-decoration: underline;
}
.card_img{
  margin: 30px 30px 0;
  width: 320px;
  height: 224px;
  overflow: hidden;
}
.card_img a{
  display: block;
}
.card_img a img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  vertical-align: bottom;
}
.card_img a:hover img{
  transform: scale(1.1);
}
.card_area p{
  margin:25px 30px 0;
  font-size:16px;
}
.btn_card{
  display: inline-block;
  margin:30px 30px 0;
  padding:0 0 30px;
  height: 48px;
}
.btn_card a{
  display: block;
  padding:0 20px;
  background-color: #29abe2;
  color:#FFF;
  line-height: 48px;
  text-align: center;
  text-decoration: none;
}
.btn_card a:hover{
  background-color: #1d8fc2;
}

@media (max-width: 767px){
  a[href^="tel:"] {
    pointer-events:auto;
  }
  /* keyview */
  #keyview{
    background-color: #ffffff;
    background-image: linear-gradient(-45deg, #d1e4f7 25%, transparent 25%, transparent 50%, #d1e4f7 50%, #d1e4f7 75%, transparent 75%, transparent);
    background-size: 5px 5px;
    width: 100%;
    height: 100svh;
  }
  .key_img{
    position: absolute;
    top:auto;
    bottom:50%;
    left:50%;
    margin:0 0 -83px;
    width: 355px;
    height: 224.5px;
    z-index: 10;
    transform:translateX(-50%);
  }
  .key_img img{
    border-radius: 10px;
    width: 100%;
  }
  .key_img::after{
    content: "";
    position: absolute;
    top:auto;
    bottom:-7px;
    left:50%;
    background: url(../images/img_keyview_men.webp) no-repeat;
    background-size: cover;
    width: 253px;
    height: 307.5px;
    z-index: 20;
    transform:translateX(-50%);
  }
  .key_cont{
    position: absolute;
    top: 50%;
    left: 50%;
    margin:58px 0 0;
    width: 100%;
    height:auto;
    z-index: 30;
    transform:translateX(-50%);
  }
  .key_cont h2{
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    transform:none;
  }
  .key_cont h2 span{
    display: table;
    margin:0 auto 10px;
    padding:0 10px;
    background-color: #0071bc;
    color:#FFF;
    height: 40px;
    font-size:20px;
    line-height: 40px;
    font-weight: 700;
    white-space: nowrap;
  }
  .key_cont p{
    position: static;
    top: 0;
    left: 0;
    z-index: 30;
    margin: 10px auto 0;
    width: calc(100% - 20px);
    font-size:16px;
    transform:none;
  }
  /* info */
  #cont_info{
    width: 100%;
    padding:30px 0;
  }
  .info_area{
    margin: 0 10px;
    padding:30px 10px;
    background-color: #f7f9fb;
    border-radius: 10px;
    width: calc(100% - 40px);
  }
  .info_area h3{
    position: relative;
    margin:0px 10px 0;
    padding:0 0 0 30px;
    color:#004b75;
    font-size:24px;
    line-height:1.2em;
    font-weight: 700;
  }
  .info_area h3::before{
    content: "";
    position: absolute;
    top:15px;
    left:0;
    background-color: #004b75;
    width: 20px;
    height: 2px;
    transform:auto;
  }
  .info_data{
    display: block;
    margin:30px 10px 0;
  }
  .info_txt{
    margin:0 0 0 0;
    width: 100%;
  }
  .info_txt p{
    padding:0 0 1em;
    font-size:14px;
    line-height:1.5em;
  }
  .info_img{
    width: 100%;
  }
  .info_img img{
    width: 100%;
  }
  /* service */
  #service{
    padding:50px 0; 
    background-color: #f3f8fc;
    width: 100%;
  }
  .service_area{
    margin: 0 10px;
    width: calc(100% - 20px);
  }
  .service_area h3{
    position: relative;
    margin:0;
    padding:0 0 0 30px;
    color:#004b75;
    font-size:24px;
    line-height:1.2em;
    font-weight: 700;
  }
  .service_area h3::before{
    content: "";
    position: absolute;
    top:15px;
    left:0;
    background-color: #004b75;
    width: 20px;
    height: 2px;
    transform:auto;
  }
  .service_area p{
    margin:30px 0 0;
    font-size:14px;
  }
  #service_card{
    display:block;
    justify-content: center;
    margin:30px 0 0;
  }
  .card_area{
    margin:0 0 30px;
    padding:0 10px 30px;
    background-color: #FFF;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: calc(100% - 20px);
    min-height: 282px;
    overflow: auto;
  }
  .card_area:last-child{
    margin:0;
  }
  .card_area h4{
    margin: 15px 0 0;
  }
  .card_area h4 a{
    color:#004b75;
    font-size:20px;
    line-height: 1.2em;
    font-weight: 700;
    text-decoration: none;
  }
  .card_area h4 a:hover{
    text-decoration: underline;
  }
  .card_img{
    margin: 15px 0 0;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .card_img a{
    display: block;
  }
  .card_img a img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    vertical-align: bottom;
  }
  .card_img a:hover img{
    transform: scale(1.1);
  }
  .card_area p{
    margin:12.5px 0px 0;
    font-size:14px;
  }
  .btn_card{
    display: inline-block;
    margin:15px 0px 0;
    padding:0;
    height: 48px;
  }
  .btn_card a{
    display: block;
    padding:0 10px;
    background-color: #29abe2;
    color:#FFF;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
  }
  .btn_card a:hover{
    background-color: #1d8fc2;
  }
}

@media (max-width: 767px) and (orientation:landscape){
  /* keyview */
  #keyview{
    background-color: #ffffff;
    background-image: linear-gradient(-45deg, #d1e4f7 25%, transparent 25%, transparent 50%, #d1e4f7 50%, #d1e4f7 75%, transparent 75%, transparent);
    background-size: 5px 5px;
    width: 100%;
    height: 100svh;
  }
  .key_img{
    position: absolute;
    top:auto;
    top:90px;
    left:50%;
    margin:0 0 0 144px;
    width: 355px;
    height: 224.5px;
    z-index: 10;
    transform:translateX(-50%);
  }
  .key_img img{
    border-radius: 10px;
    width: 100%;
  }
  .key_img::after{
    content: "";
    position: absolute;
    top:auto;
    bottom:-7px;
    left:50%;
    background: url(../images/img_keyview_men.webp) no-repeat;
    background-size: cover;
    width: 253px;
    height: 307.5px;
    z-index: 20;
    transform:translateX(-50%);
  }
  .key_cont{
    position: absolute;
    top: 60px;
    left: 10px;
    margin:22px 0 0;
    width: 100%;
    height:auto;
    z-index: 30;
    transform:none;
  }
  .key_cont h2{
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    transform:none;
  }
  .key_cont h2 span{
    display: table;
    margin:0 0 10px;
    padding:0 10px;
    background-color: #0071bc;
    color:#FFF;
    height: 40px;
    font-size:20px;
    line-height: 40px;
    font-weight: 700;
    white-space: nowrap;
  }
  .key_cont p{
    position: static;
    top: 0;
    left: 0;
    z-index: 30;
    margin: 20px 0 0;
    width: 250px;
    font-size:16px;
    transform:none;
  }
}
