:root {
  --font-family-body-jp: "source-han-serif-japanese","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",serif;
  --color-orange: #F2D34D;
  --color-yellow: #F0C81C;
  --color-black: #333;
  --color-grey: #F5F5F5;
  --color-black-transparent: rgba(0, 0, 0, 0.57);
  --color-white: #fff;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-family-body-jp);
  color: var(--color-black);
}

.header {
  background-color: var(--color-grey);
  display: flex;
  position: relative;
}

.header--pc {
  display: flex;
}

.header--sp {
  display: none;
}

.headerImage {
  background-image: url(../img/pc/top-image.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.headerImage__title {
  font-size: 96px;
  font-weight: bold;
  color: var(--color-white);
  line-height: 1.0;
  text-align: center;
  margin: 0 100px 0 0;
}

.headerImage__subtitle {
  font-size: 48px;
  font-family: var(--font-family-body-jp);
  color: var(--color-white);
}

.headerText {
  width: 50%;
  padding: 0 0 0 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.headerText__title {
  font-size: 48px;
  line-height: 1.6;
  margin: 0;
}

.headerText__line {
  height: 1px;
  background-color: #707070;
  width: 100px;
  margin: 60px 0;
}

.headerText__main {
  max-width: 660px;
  line-height: 1.9;
  font-size: 20px;
}

.title-orange {
  color: var(--color-orange);
}

.navigation {
  position: absolute;
  top: 64px;
  right: 112px;
}

.navigation__button {
  display: flex;
  width: 105px;
  align-items: baseline;
  justify-content: space-between;
  color: var(--color-black);
  font-size: 16px;
  padding: 14px 0 14px 0;
  border-bottom: 1px solid var(--color-black);
  text-decoration: none;
  position: relative;
}

.navition__menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 130px;
  padding: 12px 0;
  transition: all 0.2s ease;
}

.navition__menu-item {
  color: var(--color-black);
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}

.navition__menu--close {
  /* display: none; */
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.mainSection__container {
  padding: 210px 200px;
  overflow: hidden
}

.mainSection__container--pd0 {
  padding: 0;
}

.mainSection__container--pd100 {
  padding: 100px 0;
}

.mainSection__container--pd170 {
  padding: 170px 200px;
}

.mainSection__article {
  max-width: 1513px;
  margin: 0 auto;
}

.mainSection__title {
  font-size: 60px;
  line-height: 1.5;
  margin: 0;
}

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

.mainSection__text {
  font-size: 48px;
  line-height: 1.7;
  margin: 80px auto 0;
}

.mainSection__fullImage {
  width: 100%;
}

.mainSection__fullImage--pc {
  display: block;
}

.mainSection__fullImage--sp {
  display: none;
}

.service {
  display: flex;
}

.service--reverse {
  display: flex;
  flex-direction: row-reverse;
}

.service__image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 600px;
  width: 50%;
}

.service__image--01 {
  background-image: url(../img/pc/service01.jpg);
}

.service__image--02 {
  background-image: url(../img/pc/service02.jpg);  
}

.service__image--03 {
  background-image: url(../img/pc/service03.jpg);  
}

.service__article-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 600px;
  background-color: var(--color-grey);
}

.service__article {
  width: 520px;
}

.service__title {
  font-size: 34px;
}

.service__text {
  font-size: 16px;
  line-height: 2.0;
}

.highlightText {
  font-size: 34px;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 100px;
}

.offices {
  display: flex;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
}

.office {
  width: 238px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.office__image {
  width: 195px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.14);
}

.office__name {
  font-family: Helvetica, sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin: 36px 0 20px;
  letter-spacing: 3px;
}

.office__location {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.footerImage {
  background-image: url(../img/pc/footer-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer__title {
  font-size: 60px;
  color: var(--color-white);
  text-align: center;
  margin: 0 0 10px;
}

.footer__text {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-white);
  text-align: center;
  margin: 0 0 140px; 
}

.footer__button {
  display: block;
  text-decoration: none;
  text-align: center;
  color: var(--color-white);
  font-size: 32px;
  font-weight: bold;
  padding: 40px 0;
  background-color: var(--color-yellow);
  width: 430px;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.navigation__arrow-pc {
  position: absolute;
  right: 0;
}

.navigation__arrow-pc--open {
  transform: rotate(-180deg);
  top: 22px;
}

/* ====================
  Page Loader
==================== */
.page-loader-container {
  position: absolute;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-loader {
  z-index: 900;
  width: 150px;
  height: 150px;
  border: 16px solid var(--color-grey);
  border-radius: 50%;
  border-top: 16px solid var(--color-orange);
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.page-content--animate {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

.page-content {
  display: none;
}

@media only screen and (max-width: 1600px) {
  .headerImage__title {
    margin: 0 70px 0 0;
  }
  .headerText {
    padding: 0 0 0 70px;
  }
  .headerText__line {
    margin: 42px 0;
  }
  .headerText__main {
    max-width: 580px;
  }
  .mainSection__text {
    font-size: 38px;
    line-height: 1.9;
    margin: 50px auto 0
  }
  .mainSection__title {
    font-size: 54px;
  }
}

@media only screen and (max-width: 1440px) {
  .headerImage__title {
    font-size: 76px;
  }
  .headerImage__subtitle {
    font-size: 38px;
  }
  .headerText__title  {
    font-size: 42px;
  }
  .headerText__main {
    max-width: 550px;
    line-height: 1.9;
    font-size: 18px;
  }
  .mainSection__text {
    font-size: 35px;
  }
  .mainSection__title {
    font-size: 48px;
  }
  .mainSection__container {
    padding: 180px 140px;
  }
  .mainSection__container--pd0 {
    padding: 0;
  }
  .mainSection__container--pd100 {
    padding: 100px 0;
  }
  .highlightText {
    font-size: 28px;
  }
  .footer__button {
    display: block;
    text-decoration: none;
    text-align: center;
    color: var(--color-white);
    font-size: 26px;
    font-weight: bold;
    padding: 26px 0;
    background-color: var(--color-yellow);
    width: 360px;
    border-radius: 8px;
  }
}

@media only screen and (max-width: 1280px) {
  .headerText__main {
    max-width: 480px;
  }
  .headerText__title {
    font-size: 38px;
  }
  .headerText__line {
    margin: 38px 0;
  }
  .headerText__main {
    font-size: 16px;
  }
  .headerImage__title {
    font-size: 66px;
  }
  .headerImage__subtitle {
    font-size: 32px;
  }
  .mainSection__title {
    font-size: 42px;
  }
  .mainSection__text {
    font-size: 30px;
    margin: 32px auto 0;
  }
  .service__image {
    height: 480px;
  }
  .service__article-container {
    height: 480px;
  }
  .service__article {
    width: 450px;
  }
  .service__title {
    font-size: 28px;
  }
  .service__text {
    font-size: 14px;
  }
  .service__text--en {
    line-height: 1.7;
  }
  .highlightText {
    font-size: 26px;
  }
  .office__image {
    width: 140px;
  }
  .office__name {
    font-size: 20px;
  }
  .office__location {
    font-size: 14px;
  }
  .mainSection__container {
    padding: 140px 120px;
  }
  .mainSection__container--pd0 {
    padding: 0;
  }
  .mainSection__container--pd100 {
    padding: 100px 0;
  }
  .footer__title {
    font-size: 48px;
  }
  .footer__text {
    font-size: 20px;
  }
  .footer__button {
    display: block;
    text-decoration: none;
    text-align: center;
    color: var(--color-white);
    font-size: 23px;
    font-weight: bold;
    padding: 20px 0;
    background-color: var(--color-yellow);
    width: 300px;
    border-radius: 8px;
  }
}

@media only screen and (max-width: 1024px) {
  .headerText {
    padding: 0 0 0 45px;
  }
  .headerText__title {
    font-size: 34px;
  }
  .headerText__main {
    max-width: 420px;
  }
  .mainSection__title {
    font-size: 38px;
  }
  .mainSection__text {
    font-size: 26px;
  }
  .mainSection__container {
    padding: 120px 80px;
  }
  .mainSection__container--pd0 {
    padding: 0;
  }
  .mainSection__container--pd100 {
    padding: 100px 0;
  }
  .mainSection__container--pd170 {
    padding: 140px 60px;
  }
  .service__article {
    width: 400px;
  }
  .service__image {
    height: 450px;
  }
  .service__article-container {
    height: 450px;
  }
  .footerImage {
    height: 42vh;
  }
  .footer__title {
    font-size: 38px;
  }
  .footer__text {
    font-size: 18px;
    margin: 0 0 80px;
  }
}

@media only screen and (max-width: 840px) {
  .headerImage__title {
    font-size: 46px;
    margin: 0 45px 0 0;
  }
  .headerImage__subtitle {
    font-size: 26px;
  }
  .headerText {
    padding: 0 0 0 45px;
  }
  .headerText__title {
    font-size: 26px;
  }
  .headerText__main {
    max-width: 300px;
  }
  .navigation {
    position: absolute;
    top: 64px;
    right: 40px;
  }
  .mainSection__title {
    font-size: 26px;
  }
  .mainSection__text {
    font-size: 20px;
  }
  .mainSection__container {
    padding: 80px 60px;
  }
  .mainSection__container--pd0 {
    padding: 0;
  }
  .mainSection__container--pd100 {
    padding: 70px 0;
  }
  .mainSection__container--pd170 {
    padding: 100px 60px;
  }
  .service__article {
    width: 320px;
  }
  .service__title {
    font-size: 20px;
  }
  .service__image {
    height: 400px;
  }
  .service__article-container {
    height: 400px;
  }
  .highlightText {
    font-size: 16px;
  }
  .office__name {
    font-size: 16px;
    margin: 22px 0 16px;
  }

  .footerImage {
    height: 42vh;
  }
  .footer__title {
    font-size: 26px;
  }
  .footer__text {
    font-size: 16px;
    margin: 0 0 40px;
  }
  .footer__button {
    display: block;
    text-decoration: none;
    text-align: center;
    color: var(--color-white);
    font-size: 14px;
    font-weight: bold;
    padding: 14px 0;
    background-color: var(--color-yellow);
    width: 160px;
    border-radius: 4px;    
  }
}

@media only screen and (max-width: 720px) {
  .header--pc {
    display: none;
  }
  .header--sp {
    display: block;
  }
  .headerImageSP {
    display: flex;
    justify-content: center;
    background-image: url(../img/sp/top-image_sp.jpg);
    background-size: cover;
    background-position-y: center;
    height: 70vh;
    position: relative;
  }
  .headerImageSP__title {
    font-size: 48px;
    color: var(--color-white);
    line-height: 1.0;
    text-align: center;
    margin: 0;
    position: absolute;
    top: 37%;
  }
  .headerImageSP__subtitle {
    font-size: 18px;
  }
  .headerTextSP {
    position: absolute;
    bottom: 20px;
    left: 16px;
  }
  .headerTextSP__title {
    font-size: 20px;
    color: var(--color-white);
    line-height: 1.5;
  }
  .headerTextSP__line {
    margin: 20px 0;
    height: 1px;
    width: 50px;
    background-color: var(--color-white);
  }
  .navigationSP {
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .navigationSP__button {
    display: flex;
    width: 80px;
    align-items: baseline;
    justify-content: space-between;
    color: var(--color-white);
    font-size: 12px;
    padding: 14px 0 14px 0;
    border-bottom: 1px solid var(--color-white);
    text-decoration: none;
    position: relative;
  }
  .navitionSP__menu {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: all 0.2s ease;
  }
  .navitionSP__menu--close {
    /* display: none; */
    opacity: 0;
    height: 0;
    overflow: hidden;
  }
  .navigation__arrow-sp {
    position: absolute;
    right: 0;
  }
  .navigation__arrow-sp--open {
    transform: rotate(-180deg);
    top: 20px;
  }
  .headerTextSP__main {
    height: 30vh;
    font-size: 13px;
    line-height: 2.1;
    padding: 30px 16px;
    margin: 0;
    display: flex;
    align-items: center;
  }
  .navitionSP__menu-item {
    color: var(--color-white);
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
  }
  .mainSection__container {
    padding: 40px 16px;
  }
  .mainSection__container--pd0 {
    padding: 0 16px 40px;
  }
  .mainSection__title {
    font-size: 24px;
  }
  .mainSection__text {
    font-size: 16px;
    line-height: 2.0;
    margin: 24px auto 0;
  }
  .mainSection__fullImage--pc {
    display: none;
  }
  .mainSection__fullImage--sp {
    display: block;
  }
  .mainSection--services {
    background-color: var(--color-grey);
  }
  .service {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .service__image {
    height: auto;
    min-height: 215px;
    width: 100%;
  }
  .service__image--01 {
    background-image: url(../img/sp/service01.jpg);
  }
  .service__image--02 {
    background-image: url(../img/sp/service02.jpg);
  }
  .service__image--03 {
    background-image: url(../img/sp/service03.jpg);
  }
  .service__article-container {
    width: 100%;
    height: initial;
    padding: 24px 0;
  }
  .service__article {
    width: 100%;
  }
  .service__title {
    font-size: 18px;
    margin: 0 0 12px;
  }
  .service__text--en {
    line-height: 2.0;
  }
  .highlightText {
    font-size: 16px;
    font-weight: normal;
    line-height: 2.0;
    margin: 0 0 40px;
  }
  .offices {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 1000px;
  }
  .footerImage {
    background-image: url(../img/sp/footer-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .footer__title {
    font-size: 24px;
  }
  .footer__text {
    font-size: 14px;
    font-weight: normal;
  }
  .footer__button {
    display: block;
    text-decoration: none;
    text-align: center;
    color: var(--color-white);
    font-size: 14px;
    font-weight: bold;
    padding: 14px 0;
    background-color: var(--color-yellow);
    width: 160px;
    border-radius: 4px;
  }
}