@charset "utf-8";
@import url(reset.css);
@import url(base.css);
@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap);

html {
  height: 100%;
  margin:0;
  padding:0;
  -webkit-text-size-adjust: 100%;
}
body {	
  height: 100%;
  margin:0;
  padding:0;
  background-color: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}
.fw-300 {
    font-weight: 300;
}
.fw-400 {
  font-weight: 400;
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.sans {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}
.serif {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
}
.all {/*スマホの横揺れ禁止*/
  overflow: hidden;
}
.container {
  margin: 0 auto;
  max-width: 1200px;
}
@media only screen and (max-width: 1220px){

.container {
  margin: 0 auto;
  width: 94%;
}

}
a {
  text-decoration: none;
  transition: .5s ;
}
a:visited {
  text-decoration: none;
}
a:hover {/*マウスをのせたとき*/
  opacity: .8;
  text-decoration: none;
}
a:hover img {
 /* opacity: .9;*/
}
.sp-only {
  display: none;
}
.humberger {
  display: none;
}
figure img {
  width: 100%;
}  
/*------header------*/
header {
  grid-template-columns: 25% auto;
  width: 100%;
  padding: 40px 130px 5px 3%;
}
.grid {
  display: grid;
}
.grid-end {
  justify-items: end;
  grid-template-columns: auto auto auto auto auto auto;
  margin-right: 10px;
}
.contact {
  position: fixed;
  top: 0;
  right: 0;
  color: #fff;
  width: 120px;
  text-align: center;
  height: 96px;
  background: rgba(27, 107, 201, .9);
  z-index: 100;
}
.contact p {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
}
.contact p::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translate(-50%, 0);
  background: url(../images/top/contact-icon.svg) 0 6px no-repeat;
  width: 40px;
  height: 40px;
  background-size: 40px auto; 
  z-index: 3;
}
.contact a {
  color: #fff;
}
header a {
  color: #1B6BC9;
}
.text-main {
  color: #1B6BC9;
}
.bg-main {
  background: #1B6BC9;
}

/*------header=END------*/
/*------Main image------*/
.main-img {
  background: url(../images/top/main-img.webp) 0 0 no-repeat;
  background-size: contain; 
  width: 100%;
  /*height: 100vh; coverのとき*/
}
.main-img h2 {
  font-size: 3vw;
  text-align: right;
  padding: 6%;
  letter-spacing: .1em;
  line-height: 1.2em;
}
.main-img h1 {
  font-size: 5vw;
  letter-spacing: .1em;
  line-height: .9em;
  padding: 0 0 7% 6%;
  width: 45vw;
}
.main-img span {
  font-size: 1.5vw;
  float: right;
  letter-spacing: .2em;
  padding-right: 3%;
}
.main-img h1 img {
  width: 100%;
}
/*------Main image=END------*/
/*------Main------*/
main {
  padding-top: 5vw;
}
main h2 {
  font-size: 32px;
  display: inline-block;
  border-bottom: 2px solid #1B6BC9;
  margin-bottom: 30px;
}
main section {
  margin-bottom: 80px;
}
main a {
  color: #000;
}
main a:visited {
  color: #000;
}
main .pc-only .concept-box {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 30px;
}
main figcaption {
  padding-top: 10px;
}
main .link-box {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 30px;
}
/*------Main=END------*/
/*------Footer------*/
footer {
  border-top: 5px solid #1B6BC9;
  border-bottom: 10px solid #1B6BC9;
  padding-top: 20px;
}
/*------footer=END------*/

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

header {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
  padding: 20px 130px 5px 3%;
}
.grid-end {
  justify-items: start;
  grid-template-columns: auto auto auto auto auto auto;
  margin-right: 10px;
}
.logo {
  padding-bottom: 5px;
}
.grid-item {
  padding-bottom: 10px;
  font-size: 14px;
}

}

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

  header {
    padding: 10px 130px 5px 50px;
  }
  header nav {
    display: none;
  }
  header .grid {
    display: none; 
  }
  header .hamberger {
    display: block;
  }
  .contact {
    position: fixed;
    top: 0;
    right: 0;
    color: #fff;
    width: 40px;
    text-align: center;
    height: 160px;
  }
  .contact p {
    position: absolute;
    top: 40px;
    left: -9px;
    writing-mode: vertical-rl;
    transform: translate(0, 0);
    font-size: 14px;
    letter-spacing: .3em;
    padding: 0;
  }
  .contact p::before {
    content: "";
    position: absolute;
    top: -35px;
    left: 13px;
    transform: translate(0, 0);
    background: url(../images/top/contact-icon.svg) center no-repeat;
    width: 30px;
    height: 30px;
    background-size: 30px auto; 
    z-index: 3;
  }
  .main-img h2 {
    padding-right: 8%;
  }
 /*////////////ハンバーガー////////////////*/
.humberger {
  display: block;
 }
header nav.humberger {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 22;
}
header .top-nav2 > ul li {
  padding-bottom: 10px;
}
header .top-nav2 .act {
  cursor: pointer;
}
header .top-nav2 ul {
  background: rgba(255, 255, 255, 0.9);
  margin-top: 0px;
  padding: 30px;
  list-style: none;
  -webkit-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
  overflow-y: scroll;
  position: fixed;
  width: 90%;
  z-index: 100;
  top: 0px;
  height: 100%;
}
header .top-nav2 ul li {
  padding: 10px 0 10px 10%;
  width: 100%;
  font-size: 16px;
  border-bottom: 1px dotted #cdcdcd;
}
header .top-nav2 ul {
  left: -100%;
}
header .top-nav2 ul.active {
  left: 0px;
}
header .move-2.on.btn {
  z-index: 101;
}
header .btn {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 5px;
  top: 5px;
  color: #000;
  background: rgba(255, 255, 255, 0.9);
}
header .btn:before,
header .btn:after,
header .btn span {
  display: block;
  width: 30px;
  position: absolute;
  -webkit-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
header .btn span {
  height: 2px;
  background-color: #000;
  top: 48%;
  right: 12%;
}
header .btn:before {
  content: "";
  top: 28%;
  right: 12%;
  border-top: 2px solid #000;
}
header .btn:after {
  content: "";
  top: 68%;
  right: 12%;
  border-bottom: 2px solid #000;
}
header .btn.on span {
  display: none;
  width: 50px;
  height: 50px;
}
header .btn.on:before {
  top: 45%;
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
}
header .btn.on:after {
  top: 45%;
  right: 5px;
  -webkit-transform: rotate(-315deg);
  transform: rotate(-315deg);
}
header .btnlink {
  width: 90%;
  display: block;
  margin: auto;
  border: 1px solid #0060ff;
  border-radius: 5px;
  background: #4285F4;
  height: 35px;
  line-height: 35px;
  text-align: center;
  margin-bottom: 35px;
  color: #fff;
}
/*///////ハンバーガーここまで/////////*/

}

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

.pc-only {
  display: none;
}
.sp-only {
  display: block
}
.main-img h2 {
  font-size: 16px;
  text-align: left;
  padding: 10px 0 0 6%;
  letter-spacing: .1em;
  line-height: 1.2em;
}
.main-img h1 {
  font-size: 28px;
  letter-spacing: .1em;
  line-height: .9em;
  padding: 15px 0 3% 6%;
  width: 100%;
}
.main-img span {
  font-size: 14px;
  float: none;
  letter-spacing: .2em;
  padding-right: 0;
}
main .sp-only .concept-box {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 30px;
}
main .link-box {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 30px;
}
main h2 {
  font-size: 24px;
  display: inline-block;
  border-bottom: 2px solid #1B6BC9;
  margin-bottom: 30px;
}
main section {
  margin-bottom: 50px;
}
footer {
  font-size: 14px;
}

}