*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  word-break: break-word;
}
html {
  font-size: 62.5%;
}
.container {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}
img {
  max-width: 100%;
  height: auto;
}
body {
  font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
}

/* header */
header {
  padding: 23px 0;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo {
  font-family: 'Arial Black', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  color: #222222;
}
.header-tel {
  text-align: right;
  padding-left: 165px;
}
.header-tel .tel {
  font-family: "HelveticaNeue-CondensedBold", "HelveticaNeueBoldCondensed", "HelveticaNeue-Bold-Condensed", "Helvetica Neue Bold Condensed", "HelveticaNeueBold", "HelveticaNeue-Bold", "Helvetica Neue Bold", "HelveticaNeue", "Helvetica Neue", 'TeXGyreHerosCnBold', "Helvetica", "Tahoma", "Geneva", "Arial Narrow", "Arial", sans-serif;
  font-weight:600;
  font-stretch:condensed;
  font-size: 3rem;
  line-height: 1.27;
  letter-spacing: 0.08em;
  color: #1b1b1b;
}
.phone-icon {
  font-size: 2.3rem;
  color: #1144a3;
  padding-right: 7px;
  transform: rotate(10deg);
}
.header-tel .time {
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: 0.07em;
  color: #2a2a2a;
}
.header-contact a {
  display: inline-block;
  padding: 17px 15px 17px 20px;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-decoration: none;
  background-color: #ff4355;
  border-radius: 4px;
  box-shadow: 0 3px 1px #d9d9d9;
}
.envelope-icon {
  padding-right: 19px;
  vertical-align: middle;
  font-size: 2rem;
}
.right-icon {
  font-size: 1.3rem;
  padding-left: 31px;
}
.header-contact a:hover {
  opacity: 0.9;
}
.header-contact a:active {
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
  box-shadow: none;
}
@media screen and (max-width: 999px) {
  header {
    padding: 40px 0 20px;
  }
  header .container {
    flex-direction: column;
  }
  .header-logo{
    font-size: 3.5rem;
  } 
  .header-tel {
    text-align: center;
    padding-left: 0;
    margin-top: 20px;
  }
  .header-contact {
    margin-top: 15px;
  }
}
@media screen and (max-width: 767px) {
  header {
    padding: 50px 0 20px;
  }
  .header-logo {
    font-size: 2.5rem;
  }
  .header-tel .tel {
    font-size: 2rem;
  }
  .header-contact a {
    padding: 8px 15px 8px 20px;
  }
}


/* .nav */
.nav {
  background:linear-gradient(to right, #6589d7, #193c8a);
}
.nav .container {
  border-right: 1px solid lightslategray;
  border-left: 1px solid lightslategray;
}
.nav .container ul {
  display: flex;
  
}
.nav .container ul li {
  padding: 14px 0;
  width: 200px;
  text-align: center;
}
.nav .container ul li a {
  display: block;
  padding: 8px 0;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-decoration: none;
  border-right: 1px solid lightslategray;
}
#access-nav {
  border-right: none;
}
.nav .container ul li a:hover {
  opacity: 0.8;
}
@media screen and (max-width: 767px) {
  .nav {
    display: none;
  }
}




/* .top */
.top {
  width: 100%;
  height: 0;
  background: url(../images/top.jpg) no-repeat center center;
  padding-top: calc(100%*600/1500);   /* 元の画像サイズ1500*600 */
  background-size: cover;
  position: relative;
}
.top h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-family: "ヒラギノ明朝 Pro W6", "HiraMinPro-W6", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 5rem;
  line-height: 1.28;
  text-align: center;

}
.top h1 span {
  background-color: rgba(245, 250, 255, 0.8);
}
@media screen and (max-width: 767px) {
  .top h1 {
    font-size: 2.4rem;
    line-height: 1.28;
  }
}




/* .intro */
.intro {
  padding: 80px 0 70px;
  background: url(../images/intro.jpg) no-repeat center center/cover;
}
.intro h2 {
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 600;
  font-size: 3.6rem;
  letter-spacing: 0.14em;
  text-align: center;
  color: #313131;
}
.intro h2 span {
  position: relative;
}
.intro h2 span::before {
  content: "❝";
  display: block;
  font-size: 300%;
  color: #c7d3f6;
  position: absolute;
  top: -30px;
  left: -80px;
}
.intro h2 span::after {
  content: "❞";
  display: block;
  font-size: 300%;
  color: #c7d3f6;
  position: absolute;
  bottom: -75px;
  right: -80px;
}
.intro-description {
  margin-top: 46px;
  display: flex;
  justify-content: space-between;
}
.intro-description p {
  /*width: 76.5%;*/
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.875;
  color: #2a2a2a;
}
.intro-description__circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-right: 22px;
  background: linear-gradient(135deg, #f5e99b, #fffdaf, #f5e99b);
  position: relative;
}
.intro-description__circle img:first-child {
  mix-blend-mode: darken;
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
}
.intro-description__circle img:last-child {
  mix-blend-mode: darken;
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}
.intro-images {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}
.intro-images p {
  text-align: center;
  padding-top: 20px;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: #313131;
}
.intro-button {
  margin-top: 52px;
  text-align: center;
}
.btn {
  display: inline-block;
  padding: 13px 16px 12px 58px;
  border: 1px solid #5166aa;
  border-radius: 5px;
  box-shadow: 0 3px 1px #dedede;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: #1b1b1b;
  text-decoration: none;
  background-color: #fff;
}
.icon-right {
  padding-left: 30px;
  color: #576bad;
  font-size: 1.3rem;
}
.btn:active {
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
  box-shadow: none;
}
@media screen and (max-width: 999px) {
  .intro-description p {
    width: 70%;
    margin-left: 22px;
  }
  .intro-images > * {
    width: 30%;
  }
}
@media screen and (max-width: 767px) {
  .intro h2 {  
    font-size: 3rem;
  }
  .intro h2 span::before {
    font-size: 280%;
    top: -30px;
    left: -50px;
  }
  .intro h2 span::after {
    font-size: 280%;
    bottom: -75px;
    right: -50px;
  }
  .intro-description {
    flex-direction: column;
    align-items: center;
  }
  .intro-description p {
    width: 100%;
    margin-left: 0;
    padding: 10px;
  }
  .intro-description__circle {
    margin-right: 0;
  }
  .intro-images {
    margin-top: 30px;
    flex-direction: column;
    align-items: center;
  }
  .intro-images > * {
    width: 80%;
    margin-bottom: 20px;
  }
  .intro-images p {
    padding-top: 5px;
  }
}


/* access */
.access {
  background-color: #edf4ff;
  padding: 70px 0;
}
.access-icon {
  text-align: center;
}
.access-icon img {
  mix-blend-mode: darken;
}
.access h2 {
  margin-top: 19px;
  text-align: center;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 600;
  font-size: 3.6rem;
  letter-spacing: 0.08em;
  color: #313131;
}
.access-description {
  margin-top: 35px;
  text-align: center;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-size: 1.6rem;
  color: #292a2a;
}
.access-images {
  margin-top: 46px;
  display: flex;
  justify-content: space-between;
}
.access-images__item p {
  padding: 20px 0;
  background-color: #ffffff;
  text-align: center;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
}
.access-button {
  margin-top: 40px;
  text-align: center;
}
@media screen and (max-width: 999px) {
  .access-description {
    padding: 0 88px;
  }
  .access-images__item {
    width: 30%;
  }
}
@media screen and (max-width: 767px) {
  .access-description {
    padding: 0 20px;
  }
  .access-images {
    flex-direction: column;
    align-items: center;
  }
  .access-images__item {
    width: 80%;
    margin-bottom: 25px;
  }
}


/* company */
.company {
  padding: 70px 0 130px;
  background-color: #ffffff;
}
.company-icon {
  text-align: center;
}
.company h2 {
  margin-top: 20px;
  text-align: center;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 600;
  font-size: 3.4rem;
  letter-spacing: 0.14em;
  color: #1b1b1b;
}
.companies {
  margin-top: 57px;
}
.company-item {
  width: 100%;
  border-top: 3px solid #223c78;
}
.company-item:not(:last-child) {
  margin-bottom: 60px;
}
.company-name {
  background-color: #e7f1ff;
  text-align: center;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 2.3rem;
  letter-spacing: 0.15em;
  padding: 18px 0;
}
.company-block {
  background-color: #f8f8f8;
  padding: 38px;
}
.company-description {
  display: flex;
  justify-content: space-between;
}
.company-description img {
  width: calc(300 / 924 * 100%);
}
.business {
  width: calc(580 / 924 * 100%);
}
.business-outline {
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 0.2em;
  color: #ffffff;
  background-color: #5166aa;
  border-bottom: 3px solid #8499dd;
  padding: 10px 0 8px 21px;
}
.business p {
  margin-top: 16px;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.01em;
  color: #1b1b1b;
}
.business ul {
  margin-top: 38px;
}
.business ul li {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: #1b1b1b;
}
.business ul li span {
  color: #5166aa;
}
.company-button {
  margin-top: 9px;
  text-align: right;
}
.company-button a {
  display: inline-block;
  width: 420px;
  text-align: center;
  padding: 13px 0 12px;
  border: 1px solid #5166aa;
  border-radius: 5px;
  box-shadow: 0 3px 1px #dedede;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: #1b1b1b;
  text-decoration: none;
  background-color: #fff;
  position: relative;
}
.company-button img {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}
.company-button a:active {
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
  box-shadow: none;
}
#company-button__ex {
  letter-spacing: -0.05em;
}
@media screen and (max-width: 999px) {
  .company {
    padding: 70px 0 60px;
  }
  .company-button {
    margin-top: 40px;
    text-align: center;
  }
}
@media screen and (max-width: 767px) {
  .company-description {
    flex-direction: column;
  }
  .company-description img {
    width: 100%;
  }
  .business {
    width: 100%;
    margin-top: 35px;
  }
  .company-button a {
    width: 280px;
  }
  .company-button img {
    top: auto;
    right: 15px;
    transform: translateY(0);
  }
}



/* contact */
.contact  {
  padding: 80px 0 67px;
  background: url(../images/contact.jpg) no-repeat center center/cover;
}
.contact p {
  text-align: center;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  color: #333333;
}
.contact-button {
  margin-top: 17px;
  text-align: center;
}
.contact-button a {
  display: inline-block;
  padding: 19px 28px 18px;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: 0.2em;
  color: #ffffff;
  text-decoration: none;
  background-color: #ff4355;
  border-radius: 5px;
  box-shadow: 0 3px 1px #d9d9d9;
}
#con-env {
  padding-right: 83px;
  vertical-align: middle;
  font-size: 2rem;
}
#con-right {
  font-size: 1.7rem;
  padding-left: 108px;
}
.contact-button a:hover {
  opacity: 0.9;
}
.contact-button a:active {
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
  box-shadow: none;
}
@media screen and (max-width: 767px) {
  .contact  {
    padding: 50px 0 40px;
  }
  .contact p {
    font-size: 2rem;
  }
  .contact-button a {
    font-size: 2.2rem;
  }
  #con-env {
    padding-right: 40px;
  }
  #con-right {
    padding-left: 50px;
  }
}




/* footer */
footer {
  padding: 80px 0 84px;
  background-color: #223c78;
}
.footer-logo {
  font-family: 'Arial Black', Arial, Helvetica, sans-serif;
  font-size: 2.4rem;
  color: #fff;
  text-align: center;
}
.footer-address {
  margin-top: 15px;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.09em;
  color: #eeeeee;
  text-align: center;
}
footer ul {
  margin-top: 72px;
  padding: 0 145px;
  display: flex;
}
footer ul li {
  width: calc(100% / 6);
  text-align: center;
}
footer ul li:not(:last-child) {
  border-right: 1px solid #b0b9cf;
}
footer ul li a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
}
footer ul li a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 999px) {
  footer {
    padding: 40px 0 42px;
  }
  footer ul {
    margin-top: 36px;
  }
}
@media screen and (max-width: 767px) {
  footer ul {
    padding: 0;
    flex-direction: column;
  }
  footer ul li {
    width: auto;
  }
  footer ul li:not(:last-child) {
    border-right: none;
    margin-bottom: 20px;
  }
}



/* copy */
.copy {
  padding: 19px 0 18px;
  background-color: #ffffff;
}
.copy p {
  text-align: center;
}
.copy p small {
  font-family: "HelveticaNeue-Medium", "HelveticaNeueMedium", "Helvetica Neue Medium", "HelveticaNeue-Bold", "Helvetica Neue Bold", "HelveticaNeue", "Helvetica Neue", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #313131;
}


/* ハンバーガーメニュー */

#wrapper {
  display: none;
}
@media screen and (max-width: 767px) {
  #wrapper {
    display: block;
  }
  #wrapper nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    padding-top: 50px;
    background:#333;
    font-size: 16px;
    box-sizing: border-box;
    z-index: 2
  }
  #wrapper nav ul li {
    display:block;
    padding: 20px 28px
  }
  #wrapper nav ul li a {
    text-decoration: none;
    color: #fff;
  }
  #wrapper .btn-gnavi {
    position: fixed;
    top: 20px;
    right: 30px;
    width: 30px;
    height: 24px;
    z-index: 3;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
  }
  #wrapper .btn-gnavi span {
    position: absolute;
    width: 30px;
    height: 4px;
    background: gray;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms
  }
  #wrapper .btn-gnavi span:nth-child(1) {
    top: 0
  }
  #wrapper .btn-gnavi span:nth-child(2) {
    top: 10px
  }
  #wrapper .btn-gnavi span:nth-child(3) {
    top: 20px
  }
  #wrapper .btn-gnavi.open span {
    background: #fff
  }
  #wrapper .btn-gnavi.open span {
    width: 24px;
  }
  #wrapper .contents section p {
    position: absolute;
    top: 50%;
    width: 30%;
    line-height: 1.4;
    font-size: 20px;
    color: #fff;
  }
  #wrapper .contents section:nth-child(odd) p {
    left: 10%
  }
  #wrapper .contents section:nth-child(even) p {
    right: 10%
  }
}
