@charset "utf-8";

.l-container{
  max-width: 1080px;
  margin-inline:auto;
  padding-inline: 40px;
}

@media screen and (max-width:768px) {
  .l-container{
    padding-inline: 20px;
  }
}

.c-button-wrap{
  margin-top: 48px;
  text-align: center;
}

.c-button-primary{
  display: inline-block;
  width: 100%;
  max-width: 400px;
  padding: 24px;
  background-color: #0470CB;
  color: #fff;
  border-radius: 40px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.c-heading-primary{
  color: #0470CB;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}

@media screen and (max-width:768px){
  .c-button-wrap{
    margin-top: 32px;
  }

  .c-button-primary{
    padding: 16px;
    font-size: 1.125rem;
  }

  .c-heading-primary{
    font-size: 1.5rem;
  }
}

.p-hero{
  display: flex;
  height: 100vh;
  max-height: 900px;
  min-height: 700px;
}

.p-hero__textBox{
  flex: 1;
  align-self: center;
  margin-left: -4px;
  padding-inline: 2.7818448vw 4.39238653vw;
}

.p-hero__copy{
  color: #0470CB;
  font-size: 2.92825769vw;
  font-weight: 700;
  line-height: 1.625;
  letter-spacing: 0.05em;
}

.p-hero__copy span{
  position: relative;
  margin-inline: 4px;
  font-size: 3.51390922vw;
}

.p-hero__copy span::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFF738;
  z-index: -1;
  animation: bg linear both 0.5s;
}

@keyframes bg {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}


.p-hero__read{
  margin-block: 24px 48px;
  font-size: 1.46412884vw;
  font-weight: 700;
}

.p-hero__read span{
  display: inline-block;
}

.p-hero__image{
  position: relative;
  width: 48%;
}

.p-hero__image img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width:768px) {
  .p-hero{
    flex-direction: column;
    gap: 24px;
    height: auto;
    min-height: auto;
    padding-top: 32px;
  }

  .p-hero__textBox{
    align-self: flex-start;
    width: 100%;
    padding-inline: 20px;
  }

  .p-hero__copy{
    font-size: 6vw;
  }

  .p-hero__copy span{
    font-size: 7.25vw;
  }

  .p-hero__read{
    margin-block: 16px 40px;
    font-size: 4.5vw;
    line-height: 1.5;
  }

  .p-hero__image{
    position: relative;
    width: 100%;
  }

  .p-hero__image img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.p-about{
  padding-block: 120px 160px;
  background: url(../img/company/bg.png) no-repeat left bottom / 100% auto;
}

.p-about__body{
  display: flex;
  gap: 80px;
}

.p-about__heading{
  flex-shrink: 0;
  color: #0470CB;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.8;
}

.p-about__read{
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
}

.p-about__link{
  display: flex;
  flex-wrap: wrap;
  gap: 16px 56px;
  margin-top: 48px;
}

@media screen and (max-width:768px) {
  .p-about{
    padding-block: 56px;
    background: url(../img/company/bg.png) no-repeat left center / 200% auto;
  }

  .p-about__body{
    flex-direction: column;
    gap: 24px;
  }

  .p-about__heading{
    font-size: 1.75rem;
  }

  .p-about__read{
    font-size: 0.875rem;
  }

  .p-about__link{
    gap: 16px 48px;
    margin-top: 32px;
  }
}

.p-purpose{
  padding-block: 80px;
  background-color: #0470CB;
}

.p-purpose__list{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 48px;
}

.p-purpose__item{
  padding: 32px;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
}

.p-purpose__item img{
  width: auto;
  height: 120px;
}

.p-purpose__text{
  margin-top: 24px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.8;
}

@media screen and (max-width:768px) {
  .p-purpose{
    padding-block: 56px;
  }

  .p-purpose__list{
    grid-template-columns: repeat(1,1fr);
    gap: 16px;
    margin-top: 32px;
  }

  .p-purpose__item{
    padding: 24px;
  }

  .p-purpose__item img{
    width: auto;
    height: 100px;
  }

  .p-purpose__text{
    margin-top: 16px;
    font-size: 1rem;
  }
}

.p-cta{
  padding-block: 80px;
  background: url(../img/company/cta-bg.jpg) no-repeat center / cover;
}

.p-measures{
  margin-top: 80px;
}

.p-measures__body{
  position: relative;
  padding-bottom: 80px;
}

.p-measures__body::after{
  content: "";
  position: absolute;
  right: 0;
  bottom: -5%;
  width: 28.61111111%;
  padding-top: 27.59259259%;
  background: url(../img/company/img04.svg) no-repeat center / cover;
}

.p-measures__list{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 56px;
  margin-top: 64px;
}

.p-measures__title{
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 4px solid #0470CB;
  color: #0470CB;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}

@media screen and (max-width:768px) {
  .p-measures{
    margin-top: 56px;
  }

  .p-measures__body{
    position: relative;
    padding-bottom: 80px;
  }

  .p-measures__body::after{
    content: "";
    position: absolute;
    right: 0;
    bottom: -5%;
    width: 28.61111111%;
    padding-top: 27.59259259%;
    background: url(../img/company/img04.svg) no-repeat center / cover;
  }

  .p-measures__list{
    grid-template-columns: repeat(1,1fr);
    gap: 32px;
    margin-top: 48px;
  }

  .p-measures__title{
    margin-bottom: 16px;
    font-size: 1.125rem;
  }
}

.p-message{
  padding-block: 80px;
  background-color: #0470CB;
}

.p-message__list{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 64px;
}

.p-message__item{
  padding: 24px 24px 24px 60px;
  background: url(../img/company/icon-check.svg) no-repeat left 24px center / 22px , #fff;
  border-radius: 5px;
  color: #0470CB;
  font-size: 1.25rem;
  font-weight: 700;
}

.p-message__read{
  margin-top: 32px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

@media screen and (max-width:768px) {
  .p-message{
    padding-block: 56px;
  }

  .p-message__list{
    grid-template-columns: repeat(1,1fr);
    gap: 8px;
    margin-top: 48px;
  }

  .p-message__item{
    padding: 16px 16px 16px 60px;
    background: url(../img/company/icon-check.svg) no-repeat left 24px center / 22px , #fff;
    font-size: 1.125rem;
  }

  .p-message__read{
    margin-top: 24px;
    font-size: 1.25rem;
  }
}

.p-company{
  margin-top: 80px;
}

.p-company__body{
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.p-company__title{
  color: #0470CB;
  font-size: 1.5rem;
  font-weight: 700;
}

.p-company__list{
  margin-top: 32px;
}

.p-company__item{
  display: flex;
}

.p-company__item + .p-company__item{
  margin-top: 16px;
}

.p-company__item dt{
  flex-shrink: 0;
  width: 120px;
  font-weight: 400;
  line-height: 1.5;
}

.p-company__item dd{
  line-height: 1.5;
}

.p-company__map{
  position: relative;
  width: 42%;
}

.p-company__map iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width:768px) {
  .p-company{
    margin-top: 56px;
  }

  .p-company__body{
    flex-direction: column;
    gap: 24px;
  }

  .p-company__title{
    font-size: 1.25rem;
  }

  .p-company__list{
    margin-top: 24px;
  }

  .p-company__item + .p-company__item{
    margin-top: 16px;
  }

  .p-company__item dt{
    width: 110px;
  }

  .p-company__item dd{
    line-height: 1.5;
  }

  .p-company__map{
    width: 100%;
    height: 280px;
  }
}

.p-contact{
  margin-top: 80px;
  padding-block: 80px;
  background-color: #0470CB;
}

.p-contact__entry{
  margin-top: 40px;
  padding: 48px;
  background-color: #fff;
  border-radius: 10px;
}

.p-contact__entryBox{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.p-contact__entryHeading{
  font-size: 1.5rem;
  font-weight: 700;
}

.p-contact__entryTel{
  font-size: 2.5rem;
  font-weight: 700;
}

.p-contact__form{
  position: relative;
  margin-top: 32px;
  padding: 80px;
  background-color: #fff;
  border-radius: 10px;
}

.p-contact__form::before{
  content: "";
  position: absolute;
  right: -20px;
  top: -7%;
  width: 28.61111111%;
  padding-top: 27.59259259%;
  background: url(../img/company/img05.png) no-repeat center / cover;
}

.p-contact__heading{
  margin-bottom: 40px;
  font-size: 1.5rem;
  font-weight: 700;
}

.p-form__title{
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 4px solid #0470CB;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-form__block + .p-form__block{
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #e5e5e5;
}

.p-form__text{
  margin-top: 64px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
}

.p-form__text a{
  text-decoration: underline;
}

.p-form__item + .p-form__item{
  margin-top: 32px;
}

.p-form__label{
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
}

.p-form__label span{
  display: inline-block;
  margin-top: -4px;
  margin-left: 8px;
  color: #B20606;
  font-size: 10px;
  font-weight: 500;
  vertical-align: middle;
}

.p-form__item input,
.p-form__item textarea{
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
  background-color: #fff;
}

.p-form__send{
  width: 200px;
  padding: 16px;
  background-color: #0470CB;
  color: #fff;
  border-radius: 30px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.p-form__radio,
.p-form__checkbox{
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.p-form__radio input,
.p-form__checkbox input{
  display: inline-block;
  width: auto;
  margin-right: 8px;
  vertical-align: baseline;
}

input.p-form__input-short{
  display: inline-block;
  width: 90px;
  margin-inline: 4px;
}

.screen-reader-response{
  display: none;
}

.wpcf7-not-valid-tip{
  display: block;
  margin-top: 8px;
  color: #B20606;
  font-size: 14px;
}

.wpcf7-response-output{
  margin-top: 24px;
  color: #B20606;
  text-align: center;
  font-size: 14px;
}

@media screen and (max-width:768px){
  .p-contact{
    padding-block: 56px;
  }

  .p-contact__entry{
    margin-top: 40px;
    padding: 32px;
  }

  .p-contact__entryBox{
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .p-contact__entryHeading{
    font-size: 1.5rem;
    font-weight: 700;
  }

  .p-contact__entryTel{
    font-size: 2.5rem;
    font-weight: 700;
  }

  .p-contact__body{
    flex-direction: column;
    gap: 0;
  }

  .p-contact__body .c-heading-primary{
    align-self: center;
    flex-shrink: 0;
  }

  .p-contact__block{
    flex: 1;
    text-align: center;
  }

  .p-contact__tel{
    padding: 16px 16px;
    font-size: 18px;
  }

  .p-contact__tel span{
    margin-top: 4px;
    font-size: 10px;
  }

  .p-contact__form{
    margin-top: 60px;
    padding: 40px 20px;
  }

  .p-form__item + .p-form__item{
    margin-top: 24px;
  }

  .p-form__item input,
  .p-form__item textarea{
    padding: 12px 16px;
  }
}

.p-footer{
  margin-top: 40px;
}

.p-footer__top{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
  padding-inline: 40px;
}

.p-footer__logo{
  width: 112px;
}

.p-footer__read{
  font-size: 16px;
  font-weight: 500;
}

.p-footer__read strong{
  font-size: 20px;
}

.p-footer__types{
  margin-top: 12px;
  font-size: 12px;
  line-height: 2;
}

.p-footer__bottom{
  margin-top: 40px;
  padding-block: 32px;
  background-color: #0066BA;
  color: #fff;
}

.p-footer__grid{
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.p-footer__add{
  font-size: 14px;
}

.p-footer__right{
  margin-left: auto;
}

.p-footer__list{
  display: flex;
  justify-content: flex-end;
}

.p-footer__item + .p-footer__item::before{
  content: "/";
  display: inline-block;
  margin-inline: 1em;
}

.p-footer__link{
  transition: opacity 0.3s;
}

.p-footer__link:hover{
  opacity: 0.7;
}

.p-footer__copy{
  margin-top: 24px;
  font-size: 10px;
  text-align: right;
}

@media screen and (max-width:768px){
  .p-footer{
    margin-top: 80px;
  }

  .p-footer__top{
    display: block;
    padding-inline: 20px;
  }

  .p-footer__logo{
    display: block;
    width: 112px;
    margin: auto;
  }

  .p-footer__read{
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
  }

  .p-footer__read strong{
    display: block;
    font-size: 18px;
  }

  .p-footer__link{
    font-size: 14px;
  }
}

.u-wh{
  color: #fff;
}

.u-center{
  text-align: center;
}

.u-text{
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.75;
}

.u-read{
  margin-top: 32px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
}

.u-link{
  position: relative;
  padding-right: 50px;
  color: #0470CB;
  font-weight: 500;
  line-height: 1.75;
}

.u-link::after{
  content: "→";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  margin: auto;
  border-radius: 26px;
  background-color: #0470CB;
  color: #fff;
  border-radius: 26px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 26px;
}

@media screen and (max-width:768px){
  .u-text{
    font-size: 14px;
  }
}
