@charset "utf-8";

/* =============================================
設定処理
============================================= */
html { scroll-behavior: smooth;}
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  color: #151d3e;
  background-color: #fff;
}
body,p,ul,li,div,h1,h2,h3,table,tr,th,td {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
ul,ol ,li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover{
  opacity: 0.7;
}

/* =============================================
共通処理ここから
============================================= */
.section-heading {
  text-align: center;
  font-weight: 700;
  margin-bottom: 60px;
}
.section-heading h2 {
  font-size: 48px;
  /* margin-bottom: 10px; */
  font-family: futura-pt, sans-serif;
  font-weight: 600;
  font-style: normal;
  position: relative;
  display: inline-block;
  letter-spacing: 0.07em;
}
.section-heading span {
  letter-spacing: 0.06em;
  font-weight: 400;
  color: #229fe0;
  font-size: 18px;
  display: block;
}
.section-heading_text{
  font-size: 20px;
  font-weight: 400;
  margin-top: 40px;
}
.pc_only{
  display: block;
}
.sp_only{
  display: none;
}
@media screen and (max-width: 767px) {
  .section-heading {
    margin-bottom: 30px;
    padding: 0 20px;
  }
  .section-heading h2 {
    font-size: 30px;
}
.section-heading span {
  font-size: 16px;
}
.section-heading_text{
  font-size: 16px;
  margin-top: 20px;
  text-align: left;
}
.pc_only{
  display: none;
}
.sp_only{
  display: block;
}
}
/* =============================================
g-nav
============================================= */
.l-header {
  display: block;
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 20%);
}

.p-header__title img {
  width: 300px;
}
.c-hamburger {
  position: relative;
  width: inherit;
  height: inherit;
  margin: 0;
  border: transparent;
  background-color: transparent;
  cursor: pointer;
}
.c-hamburger span {
  display: block;
  position: relative;
  left: 50%;
  width: 24px;
  height: 2px;
  transform: translateX(-50%);
  background: #151d3e;
  transition: all 0.4s;
}

.c-hamburger span:nth-of-type(1) {
  top: -4px;
}

.c-hamburger span:nth-of-type(2) {
  top: 1px;
  /* transform: translateX(-0.45deg); */
}

.c-hamburger span:nth-of-type(3) {
  top: 6px;
  /* transform: translateX(-0.45deg); */
}
.c-hamburger.is-active span:nth-of-type(1) {
  top: 0;
  transform: translateX(-50%) rotate(225deg);
}

.c-hamburger.is-active span:nth-of-type(2) {
  opacity: 0;
}

.c-hamburger.is-active span:nth-of-type(3) {
  top: -4px;
  transform: translateX(-50%) rotate(-225deg);
}
.p-header__nav {
  display: flex;
  z-index: 10;
  position: absolute;
  top: 0;
  right: -100%;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: transparent;
  opacity: 0;
  transition: top 0.6s, right 0.6s, opacity 0.6s;
}

.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  padding: 0 20px;

}
.p-header__hamburger {
  z-index: 100;
  position: absolute;
  top: 0;
  right: 0;
  width: 95px;
  height: 100%;
}

.p-header__nav.is-active {
  position: fixed;
  top: 0;
  right: 0;
  opacity: 1;
  background-color: #fff;
}
.p-nav__list {
  display: block;
  padding-right: 20px;
  padding-left: 20px;
}

.p-nav__item {
  /* display: inline-block; */
  display: block;
  position: relative;
  /* width: 100%; */
}
.p-nav__link {
  color: #151d3e;
  display: block;
  padding: 20px;
  cursor: pointer;
  text-align: center;
  font-family: futura-pt, sans-serif;
  letter-spacing:  0.06em;
}
.p-nav__link span {
  display: block;
  color: #229fe0;
  font-size:12px;
}
.p-nav__item.p-nav__item-acMenu>.p-nav__link {
  position: relative;
}

.p-nav__item.p-nav__item-acMenu>.p-nav__link::after {
  position: absolute;
  content: "";
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.p-nav__middle {
  display: none;
}

.p-nav__middleItem a::before {
  margin-right: 8px;
  margin-left: 8px;
  content: "-";
}


.p-nav__item.is-open .p-nav__middle {
  display: block;
}

@media screen and (min-width: 768px) {

  .p-header__hamburger {
    display: none;
  }
  .p-nav__inner {
    margin-right: auto;
    margin-left: auto;
    max-width: initial;
    width: 100%;
    display: contents;
  }
  .p-header__nav {
    position: static;
    opacity: 1;
    height: inherit;
    width: initial;
    width: 100%;
    max-width: fit-content;
  }
  .p-nav__list {
    padding-right: 0;
    padding-left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .p-nav__item ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 130px;
    margin: 0;
    padding: 0;
  }
  .p-nav__item ul li {
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: all 0.1s;
  }
  .p-nav__item ul li a {
    display: flex;
    align-items: center;
    padding: 13px 20px 13px 10px;
    color: #fff;
  }
  .p-nav__item:hover>ul>li {
    height: 48px;
    overflow: visible;
    background-color: rgb(242, 195, 107);
  }
  .p-nav__item:hover>ul>li:not(:first-child) {
    border-top: 1px solid #fff;
  }
  .p-nav__item:hover>ul>li.p-nav__middleItem:hover {
    background-color: #fff;
  }
  .p-nav__item:hover>ul>li.p-nav__middleItem:hover a {
    color: #2C2C2C;
  }
  .p-nav__middle {
    display: block;
    text-align: left;
  }
  .p-nav__middleItem {
    position: relative;
  }
  .p-nav__middleItem a {
    position: relative;
    white-space: nowrap;
  }
}
.btn_contact a{
  font-size: 16px;
  display: inline-block;
  padding: 15px 0;
  border-radius: 50vh;
  color: #fff;
  background-color:#c19f43 ;
  width: 180px;
  text-align: center;
  margin-left: 20px;
  transition: 0.3s;
}
.btn_contact a:hover{
  opacity: 0.7;
}
.btn_contact i{
  padding-right: 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style:normal;
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .btn_contact a {
    margin-left: 0;
    margin-top: 20px;
  }
  .p-header__title img {
    width: 250px;
}
}

/* =============================================
header
============================================= */
.header-logo img{
  width: 220px;
}
.anchor{
  display: block;
  padding-top: 100px;
  margin-top: -100px;
}
@media screen and (max-width: 767px) {
  .header-logo {
    margin: 10px 20px;
  }
}

/* =============================================
キービジュアル
============================================= */
.top_main{
  margin-bottom: 80px;
}
.top_main img{
  width: 100vw;
  object-fit: cover;
}
@media (max-width: 768px) {
  .top_main{
    margin-bottom: 40px;
  }
}

/* =============================================
service
============================================= */
.service_flex {
  display: flex;
  width: 100%;
  height: auto;
  margin-bottom: 60px;
}

.service_image {
  position: relative;
  width: 50%;
}
.service_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service_text {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  margin-left: -2rem;
  background-color: #effaff;
  padding: 50px 30px;
  width: 570px;
  box-sizing: border-box;
  width: 80%;
}

.service_text .title {
  font-size: 24px;
  color: #229fe0;
  margin-bottom: 1rem;
}

.service_text .description {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .service_flex {
    flex-direction: column;
  }

  .service_image {
    width: 100%;
  }

  .service_text {
    position: static;
    transform: none;
    width: 100%;
    margin: auto;
    margin-top: -20px;
  }
  .service_image img {
    width: 90%;
  }
  .service_text .title {
    font-size: 20px;
  }

}

/* card */
.l-container {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 40px;
}

.card__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.card__item {
  display: grid;
  /* grid-template-rows: subgrid; */
  grid-row: span 3;
  gap: 20px;
  background-color:#effaff;
  padding-bottom: 30px;
}

.card__item h3 {
  font-size: 20px;
  font-weight: normal;
  text-align: center;
  padding: 0 20px;
}
.card__item p {
  padding: 0 20px;
  font-size: 16px;
}
.card__image {
  text-align: center;
  width: 100%;
}
.card__image img {
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
.l-container{
  padding: 0 20px;
  margin: 0 auto 40px;
}
.card__item h3 {
  font-size: 16px;
}
.card__list {
  display: block;
}
.card__item{
  width: 80%;
  margin: 0 auto 30px;
}
}
@media (max-width: 420px) {
  .card__item {
    width: 100%;
}
}


/* =============================================
about
============================================= */
.flex__list{
  display: flex;
  gap: 30px;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 60px;
}
.flex__item{
  /* width: calc(100% /3); */
  width: 300px;
  /* padding: 40px; */
}
.flex__image{
  text-align: center;
  margin-bottom:30px;
}
.table{
  width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 18px;
}
.table tr {
  border-bottom: 1px solid #c4c4c4;
}

.table th,
.table td {
  padding: 24px 0;
  border: none;
}

.table th {
  width: 30%;
  text-align: left;
}

@media only screen and (max-width: 768px) {
.flex__list{
  display: block;
}
.flex__item{
  width: 100%;
  margin: 0 auto 30px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.flex__item p{
  width: 60%;
}
.flex__image {
  margin-right: 20px;
  width: 200px;
}
.table{
  font-size: 16px;
}
}
@media only screen and (max-width: 480px) {
  .flex__item{
    display: block;
  }
  .flex__item p{
    width: 90%;
    margin: auto;
    font-size: 16px;
  }
  .flex__image {
    margin: 0 auto 20px;
    width: 200px;
  }


  .table{
    font-size: 14px;
  }
  .table th,
  .table td {
    width: 100%;
    display: block;
  }

  .table th {
    width: 100%;
    padding: 15px 0 0;
  }

  .table td {
    padding-top: 0;
    padding: 15px 0;
  }
}

.map-wrap {
  max-width: 100%;
}
.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 30%;
  margin-bottom: 150px;
}
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    margin-bottom: 80px;
}
}
/* =============================================
contact
============================================= */
.contact{
  background-image: url(../img/contact_bg.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  padding-bottom: 100px;
  background-size: cover;
}
.contact_wrapper{
  text-align: center;
  background-color: #fff;
  padding: 60px;
  box-shadow: 0 0 8px #00000014;
}
.contact .btn_contact a{
  margin: 40px auto 0;
  width:250px;
  font-size: 20px;
}
@media (max-width: 768px) {
  .contact {
    padding-bottom: 40px;
  }
  .contact_wrapper {
  padding: 30px;
}
.contact_wrapper p{
  font-size: 16px;
}
.contact .btn_contact a {
  max-width: 250px;
  width: 100%;
  padding: 15px;
  font-size: 16px;
}

}

/* =============================================
footer
============================================= */
footer{
  background-color: #fff;
}
footer .l-container{
  margin: 0 auto 30px;
}
.footer .section-inner {
  padding-top: 40px;
}

.footer-info {
  display: flex;
  justify-content: center;
  gap: 80px;
  align-items: baseline;
  margin: 30px 0;
}

.footer-list {
  display: flex;
  justify-content: center;
}
.header-item {
  border-left: 1px solid #151d3e;
}
.header-item:first-child{
  border:0
}
.header-item a {
  font-size: 16px;
  display: block;
  padding: 5px 20px;
  transition: 0.5s;
}

.company_text img {
  width: 360px;
}
.copyright {
  background-color: #229fe0;
  text-align: center;
  padding: 47px 0;
  font-family: futura-pt, sans-serif;
  font-weight: 400;
  color: #fff;
  font-size: 16px;
}

@media screen and (max-width: 767px) {

  .footer-info {
    display: block;
  }
  /* .company_text img {
    max-width: 264px;
  } */
  .contact_btn_bnr{
    text-align: center;
  }
  .company_text {
    margin-bottom: 0;
    text-align: center;
  }
  .header-item{
  margin-bottom: 10px;
  }
  .header-item a{
    font-size: 14px;
  }
  .footer-list {
    flex-wrap: wrap;
  }
  footer .l-container {
    margin: 0 auto 20px;
}
  /* .footer .header-item {
    border-left: none;
    border-bottom: 1px solid #d7d7d7;
    padding: 10px 0;
    position: relative;
  }

  .footer .header-item::after {
    content: "";
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 3px #1ba4e3;
    border-right: solid 3px #1ba4e3;
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -8px;
    transform: rotate(45deg);
  } */

  .btn-footer a {
    width: 100%;
  }

  .copyright {
    padding: 20px;
    font-size: small;
  }
}