@charset "utf-8";

.basic-page{
  background-color: #fff;
  font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",Meiryo,sans-serif;
}

/* メインビジュアル */
.page-head__header{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 640px){
  .page-head__header{
    position: relative;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
  }
}

.page-head__title{
  display: grid;
  font-size: 2.5rem;
  font-weight: bold;
}
@media (max-width: 640px){
  .page-head__title{
    justify-items: center;
    font-size: 1.75rem;
  }
}

.page-head__title > span:first-of-type{
  color: #00429a;
  font-size: .875rem;
}

.page-head__images{
  position: relative;
  margin-top: 4rem;
  padding-bottom: 4rem;
  background: linear-gradient(transparent 25%, #eaf2f8 0%);
}
@media (max-width: 640px){
  .page-head__images{
    margin-top: 0;
    padding-bottom: 0;
    background: none;
  }
}

.page-head__image:nth-of-type(1){
  position: absolute;
  right: 0;
}
@media (max-width: 640px){
  .page-head__image:nth-of-type(1){
    position: static;
    width: 80%;
    max-width: max-content;
    margin: 1rem 0 0 auto;
  }
}

.page-head__image:nth-of-type(2){
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 640px){
  .page-head__image:nth-of-type(2){
    max-width: 100%;
    aspect-ratio: 2/1;
    object-fit: cover;
    object-position: center;
  }
}

/* ※お問い合わせ・個人情報保護方針ページのみ */
.page-head__images--secondary{
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: auto;
  border-bottom: 2px solid #ebf3f9;
}



/* セクション共通 */
section:not(:first-of-type){
  margin-top: 8rem;
}
@media (max-width: 640px){
  section:not(:first-of-type){
    margin-top: 4rem;
  }
}



/* セクション見出し */
.section__header{
  position: relative;
  display: grid;
  justify-items: center;
  font-size: 2rem;
  font-weight: bold;
}
@media (max-width: 640px){
  .section__header{
    text-align: center;
    font-size: 1.5rem;
  }
}

.section__header::after{
  display: block;
  width: 4rem;
  height: 3px;
  margin-top: 1rem;
  content: "";
  background-color: #00429a;
}



/* h3見出し */
.content__header{
  text-align: center;
  color: #0056c1;
  font-size: 1.5rem;
  font-weight: bold;
}



/* 背景色 */
.bg__blue{
  width: 100%;
  padding: 4rem 0;
  background-color: #eaf2f8;
}
@media (max-width: 640px){
  .bg__blue{
    padding: 2rem .5rem;
  }
}



/* 文字色 */
.txt__red{
  color: #d70026;
}



/* More view リンクボタン */
.btn__link{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 294px;
  min-height: 64px;
  color: #000;
  border: solid 1px;
  background-color: #fff;
}
@media (max-width: 640px){
  .btn__link{
    margin: 0 auto;
  }
}

.btn__link__append{
  position: absolute;
  right: 16px;
  width: 32px;
  height: 16px;
}
@media (hover: hover) and (pointer: fine){
  .btn__link:hover .btn__link__append::before{
    width: 64px;
    transition: .2s;
  }
  .btn__link:hover .btn__link__append::after{
    right: -32px;
    transition: .2s;
  }
}
.btn__link__append::before{
  position: absolute;
  top: 8px;
  width: 32px;
  height: 1px;
  content: "";
  transition: .4s;
  background-color: #000;
}

.btn__link__append::after{
  position: absolute;
  top: 5px;
  right: 0;
  width: 8px;
  height: 1px;
  content: "";
  transition: .4s;
  transform: rotate(45deg) ;
  background-color: #000;
}



/* 英語・日本語ページへのリンクボタン */
.link__english{
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 124px;
  min-height: 42px;
  padding: 0 0 0 1rem;
  color: #000;
  border: solid 1px;
  background-color: #fff;
}
@media (max-width: 640px){
  .link__english{
    position: absolute;
    top: -27px;
    right: 4px;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 48px;
    min-height: 48px;
    aspect-ratio: 1/1;
    margin: 0 auto;
    padding: 0;
    font-size: .75rem;
  }
}

.link__english__append{
  position: absolute;
  right: 4px;
  width: 16px;
  height: 16px;
}
@media (max-width: 640px){
  .link__english__append{
    position: relative;
    right: unset;
  }
}
@media (hover: hover) and (pointer: fine){
  .link__english:hover .link__english__append::before{
    width: 36px;
    transition: .2s;
  }
  .link__english:hover .link__english__append::after{
    right: -20px;
    transition: .2s;
  }
}

.link__english__append::before{
  position: absolute;
  top: 8px;
  width: 16px;
  height: 1px;
  content: "";
  transition: .4s;
  background-color: #000;
}

.link__english__append::after{
  position: absolute;
  top: 5px;
  right: 0;
  width: 8px;
  height: 1px;
  content: "";
  transition: .4s;
  transform: rotate(45deg) ;
  background-color: #000;
}



/* 青いリンクボタン */
.btn__blue{
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 488px;
  min-height: 6rem;
  padding: 0 4rem;
  transition: .2s;
  color: #fff;
  background-color: #0056b2;
  font-size: 1.125rem;
}
@media (max-width: 640px){
  .btn__blue{
    padding: 0 4rem 0 1rem;
    font-size: 1rem;
    min-height: 5rem;
  }
}

@media (hover: hover) and (pointer: fine){
  .btn__blue:hover{
    background-color: #003c7d;
  }
}

.btn__blue__append{
  position: absolute;
  right: 16px;
  width: 48px;
  height: 16px;
}

.btn__blue__append::before, .btn__blue__append::after{
  background-color: #fff;
}

.btn__blue__append::before{
  position: absolute;
  top: 8px;
  width: 48px;
  height: 1px;
  content: "";
  background-color: #fff;
}

.btn__blue__append::after{
  position: absolute;
  top: 5px;
  right: 0;
  width: 8px;
  height: 1px;
  content: "";
  transform: rotate(45deg) ;
}



/* PC,SP切り替え */
.display-pc{
  display: block;
}
@media (max-width: 640px){
  .display-pc{
    display: none;
  }
}

.display-sp{
  display: none;
}
@media (max-width: 640px){
  .display-sp{
    display: block;
  }
}
