/* 基本設定 */

:root{
  --main-color:#244676;
  --accent-color:#bae2f4;
  --white:rgb(255, 255, 255);
  --gray:rgb(151, 151, 151);


  --subnav-color:rgba(245, 236, 214, 0.8);
  --subnav-border:rgba(255, 255, 255, 0.8);

  --sidenav-main:rgba(247, 199, 128, 0.4);

  --faq-box:rgb(204, 204, 204);
  --faq-text:rgb(255, 0, 0);

  --contact-input-field:rgb(255, 225, 181);

  --right-menu-main:rgba(0, 145, 255, 0.5);
  --right-menu-text:rgb(13, 35, 91);
  --right-menu-gray:rgb(151, 151, 151, 0.6);
  
  --bigtext:rgb(0, 0, 0);
  --stdtext:rgb(51, 51, 51);
  --subtext:rgb(102, 102, 102);

}


html{
  font-size: 10px;
  color: var(--stdtext);
  /* pc: 16px-18px
  タブレット: 15-17px
  スマホ: 14-16px */
}

html, body{
  /* overflow-x: hidden; */
  /* font */

  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 350;
  font-style: normal;

/*  font-family:    
  "Yu Gothic", 
  "YuGothic", 
  "Hiragino Kaku Gothic ProN", 
  "Hiragino Sans", 
  "Meiryo", 
  sans-serif;
  font-weight: 500; /~ または 600, 700 ~/*/

  /* end-font */
}

/* h1を70pxとする */
h1{
  font-size: 7rem;
}
/* h2を70pxとする */
h2{
  font-size: 2rem;
}
/* 以下は16pxとする */
p, ul, ol, span, label, input, textarea, summary, div{
  font-size: 1.5rem;
}
/* 中黒の非表示 */
ul, ol {
  list-style: none;
}
/* 下線の有無 */
a{
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

/* //基本設定 */


/* スクロールフェード */
#main section{
  opacity: 0;
}
#main section.fade-in{
  opacity: 1;
  transition: all 2s
}

/* firstView--------------------------------------- */
#header{
  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: var(--accent-color);
  width: 90%;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;

  box-shadow: 0px 0px 0px 2px var(--main-color);
}

#header-fix{
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: white;
  width: 90%;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;

  box-shadow: 0px 0px 0px 2px var(--accent-color);

  opacity: 0;
  visibility: hidden;
}

#header-fix.fixed{
  opacity: 1;
  visibility: visible;

  transition: opacity 1s ease, visibility 1s ease;
}


/* ロゴ */
#logo-container{
  width: 12%;
  font-size: 0px;
  margin-left: 40px;
}
#logo{
  width: 100%;
}


/* ナビメニュー */
#navi-menu{
  display: flex;
  flex-wrap: wrap;/*スマホ表示折り返し用なのでPCのみなら不要*/

  margin-right: 25px;
}
#navi-menu a{
  position: relative;
  display: block;
  padding: 10px 15px;
  color: var(--main-color);
  transition: color .3s ease;
}
#header #navi-menu a:hover{
	color: white;
  transition: color .3s ease;
}
#header-fix #navi-menu a:hover{
	color: #9abef8;
  transition: color .3s ease;
}


/* .carousel{
  width: 100%;
} */
#carousel-sp{
  display: none;
}
.fv-img{
  width: 100%;
}
/* //firstView--------------------------------------- */


/* concept--------------------------------------- */
#main{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}


.title-container{
  margin-top: 100px;

  text-align: center;
}
.title{
  font-size: 35px;

  background-image: repeating-linear-gradient(-45deg,
  rgb(187, 227, 245) 0px, rgb(187, 227, 245) 3px,
  transparent 3px, transparent 6px);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 50%;
}
#concept-container{
  position: relative;
  width: 100%;
  height: 600px;
  overflow:hidden;
}
.concept-text{
  text-align: center;
}
.text-subTitle{
  font-size: 20px;
  font-weight: bold;
  margin-top: 50px;
}
.text-coment{
  margin-top: 16px;
  line-height: 1.5;
}


#concept-bgImg{
  position: relative;
  width: 80%;
  height: 400px;
  margin-left: auto;
  margin-right: auto;
}

#concept-bgImg::after{
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);

  width: 100%;
  height: 100%;
  background-image: url("../images/都会.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#concept-bgImg::before{
  content: "";
  position: absolute;
  top: 27%;
  left: 80%;
  transform: translateX(-50%);
  z-index: 1;

  width: 122px;
  height: 148px;
  background-image: url("../images/女性2-R2.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  animation: moveLeft 10s linear infinite;
}

@keyframes moveLeft {
  0% {
    /* 右側スタート */
    left: 100%;
  }
  95% {
    left: 5%;
    opacity: 1; 
  }
  100% {
    left: 0%;
    opacity: 0; 
  }
}


/* //concept--------------------------------------- */



/* service--------------------------------------- */
#service-Img-container{
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.service-Img{
  width: 230px;
  margin: 20px 40px 20px 40px;
}

.text-Img{
  width: 45%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.service-contents-Img{
  width: 100%;
  display: block;
}


/* //service--------------------------------------- */



/* supportArea--------------------------------------- */

#supportArea-text-container{
  position: relative;
}
#supportArea-text-container::after{
  content: "";
  position: absolute;
  top: 0px;
  right: 170px;

  width: 150px;
  height: 150px;
  background-image: url("../images/エリア拡大中-R2.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  
  transform: rotate(10deg);
}



#supportArea-text-container .concept-text p:nth-of-type(1){
  margin-top: 50px;
}
#areaMap{
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 50px;

  overflow: hidden;
}

.area{
  width: 90%;
  margin-left: 10px;
  margin-right: 10px;
}

.area > p{
  width: 100px;
  padding: 5px;

  background-color: rgb(37, 70, 119);
  color: white;
  text-align: center;
}
.area > iframe{
  width: 100%;
}
/* //supportArea--------------------------------------- */



/* review--------------------------------------- */
#review{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

#review .postAssy{
  margin-top: 50px
}

#review .review-Img-frame{
  display: flex;
  flex-direction: row;
  margin-bottom: 50px;
}

.review-Img{
  width: 100px;
  height: 100%;
  box-shadow: 5px 5px 0px 1px rgba(37, 70, 119);
  border-radius: 5px;
}

#review .post-contents > p{
  margin-left: 30px;
  line-height: 1.5;
}

#review .post-contents > p:nth-of-type(3){
  margin-left: 30px;
  margin-top: 16px;
}

/* //review--------------------------------------- */


/* news--------------------------------------- */
#news{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

#news .postAssy{
  margin-top: 50px
}

#news .review-Img-frame{
  display: flex;
  flex-direction: row;
  margin-bottom: 50px;
}

.news-Img{
  width: 40%;
  height: 100%;
  box-shadow: 5px 5px 0px 1px rgb(37, 70, 119);
  border-radius: 5px;
}

#news .post-contents > p{
  margin-left: 30px;
  line-height: 1.5;
}

#news .post-contents > p:nth-of-type(3){
  margin-left: 30px;
  margin-top: 16px;
}

/* //news--------------------------------------- */


/* faq--------------------------------------- */
.faqAssy{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}

.question{
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 30px 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;

  background-color: rgb(37, 70, 119);
  color: white;
  cursor: pointer;
}
.answer{
  display: none;

  padding-top: 10px;
  padding-bottom: 20px;
  padding-left: 20px;
  line-height: 1.5;
}
/* //faq--------------------------------------- */


/* precautions--------------------------------------- */
.rule-title{
  padding: 15px 30px 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;

  background-color: rgb(37, 70, 119);
  color: white;
}

.precautionsList{
  padding-top: 10px;
  padding-bottom: 20px;
  padding-left: 20px;
  line-height: 1.5;
}
/* //precautions--------------------------------------- */



/* footer--------------------------------------- */
#footer-sub{
  width: 100%;
  margin-top: 100px;
  background-color: var(--accent-color);
}

#footer-sub-sub{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

#footer-sub-sub-sub{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 60px;
  padding-bottom: 60px;
}

#footer-left > img{
  display: block;
  height: 50px;
  margin-left: auto;
  margin-right: auto;
}

#footer-note{
  display: flex;
  justify-content: center;
}

#footer-note > a{
  padding-left: 40px;
  padding-right: 40px;
  margin-top: 30px;
  margin-bottom: 30px;

  text-align: center;
  border-right: 1px solid;
}

#footer-note > a:last-child{
  border-right: none;
}

#footer-left span{
  display: block;
}

#footer-left span:nth-child(2){
  margin-top: 7px;

  font-size: 1.2rem;
}

#footer-right > p{
  font-family: "Londrina Shadow", sans-serif;
  font-weight: 900;
  font-style: normal;

  margin-top: 50px;
  margin-bottom: 30px;
  font-size: 4rem;
  color: var(--main-color);
  text-align: center;
}

#footer-sns{
  display: flex;
  justify-content: center;

  margin-top: 10px;
}

.footer-sns-link{
  display: flex;
  justify-content: center;
  align-items: center;

  width: 40px;
  height: 40px;
  margin-left: 10px;
  margin-right: 10px;
  border: 1px solid var(--main-color);
  border-radius: 50%;
}

#footer-sns .fa-brands{
  font-size: 2.5rem;
  color: var(--main-color);
}


#copyright{
  position: relative;

  width: 100%;
  height: 100px;
}

#copyright::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100vw;
  height: 150px;
  background-image: url("../images/footer-wave.png");
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
}
#copyright > p{
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;

  color:var(--white);
  white-space: nowrap;
}

/* //footer--------------------------------------- */


/* ページトップボタン--------------------------------------- */
@keyframes arrowmove{
  0%{bottom: 80px;}
  50%{bottom: 85px;}
  100%{bottom: 80px;}
 }

/* jsでaddClass()にてクラス付与 */
.js-scroll.scroll-view {
	opacity: 1;
	visibility: visible;
}

/* ページトップボタンpタグ */
.js-scroll {
	position: fixed;
	right: 30px;
  bottom: 80px;

	opacity: 0;
	visibility: hidden; 
  /* それぞれに0.5秒の変化のアニメーション */
	transition: opacity .5s, visibility .5s;
	/* 縦書き */
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
	/* 改行禁止 */
  white-space: nowrap;
	/* 矢印の動き */
	animation: arrowmove 1s ease-in-out infinite;
}

/* ページトップボタンaタグ */
.js-scroll a {
  display: inline-block;
  font-size: 1.5rem;
	color: #666;
  text-align: center;

	text-transform: uppercase;
  transform: rotate(180deg);
}

/* ページトップボタンの画像 */
.js-scroll a::after{
	content:"";
	position: absolute;
  top: -25px;
	right: -65px;

  transform: rotate(180deg);

  width: 60px;
  height: 100px;
  background-image: url("../images/cycle.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* jsでaddClass()にてクラス付与 */
.js-pagetop.scroll-view {
	opacity: 1;
	visibility: visible;
}

/* ページトップボタンpタグ */
.js-pagetop {
	position: fixed;
	right: 110px;
  bottom: 63px;
	/* はじめは非表示 */
	opacity: 0;
	visibility: hidden; 
  /* それぞれに0.5秒の変化のアニメーション */
	transition: opacity .5s, visibility .5s;
	/* 縦書き */
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
	/* 改行禁止 */
  white-space: nowrap;
	/* 矢印の動き */
	animation: arrowmove 1s ease-in-out infinite;
}

/* ページトップボタンaタグ */
.js-pagetop a {
  display: inline-block;
  font-size: 1.5rem;
	text-decoration: none;
	color: #666;
  text-align: center;

	text-transform: uppercase;
  transform: rotate(0deg);
}

/* ページトップボタンの画像 */
.js-pagetop a::after{
	content:"";
	position: absolute;
  top: -25px;
	right: -65px;

  transform: rotate(180deg);

  width: 60px;
  height: 100px;
  background-image: url("../images/cycle.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}


/*Edge IE11 hack*/
/* _:-ms-lang(x), .js-scroll a::before{
	right:-11px;
} */

/*Edge IE11 hack*/
/* _:-ms-lang(x), .js-pagetop a::before{
	right:0;
} */

/* //footer--------------------------------------- */





/* SP用ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1030px){

  /* ハンバーガーメニュー・・・・・・・・・・・・・・・・・・・・・・・・ */
  #header{
    display: none;
  }
  #header-fix{
    display: none;
  }
  
  .openbtn-sp{
    /*追従するナビゲーション*/
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;

    background: var(--main-color);
    cursor: pointer;
    width: 50px;
    height:50px;
    border-radius: 5px;
  }
  
  
  /*ボタン内側*/
  .openbtn-sp span{
    position: absolute;
    left: 14px;
    height: 2px;

    display: inline-block;
    width: 45%;
    background: #fff;
    border-radius: 5px;

    transition: all .4s;/*アニメーションの設定*/
  }
  
  .openbtn-sp span:nth-of-type(1) {
    top:13px; 
  }
  
  .openbtn-sp span:nth-of-type(2) {
    top:19px;
  }
  
  .openbtn-sp span:nth-of-type(3) {
    top:25px;
  }
  
  .openbtn-sp span:nth-of-type(3)::after {
    content:"Menu";
    position: absolute;
    top:5px;
    left:-1px;

    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
  }
  
  /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
  .openbtn-sp.active-pc span:nth-of-type(1) {
    top: 14px;
    left: 18px;

    width: 30%;

    transform: translateY(6px) rotate(-45deg);
  }
  
  .openbtn-sp.active-pc span:nth-of-type(2) {
    opacity: 0;
  }
  
  .openbtn-sp.active-pc span:nth-of-type(3){
    top: 26px;
    left: 18px;

    width: 30%;

    transform: translateY(-6px) rotate(45deg);
  }
  
  .openbtn-sp.active-pc span:nth-of-type(3)::after {
    content:"Close";

    top:5px;
    left:4px;

    transform: translateY(0) rotate(-45deg);
  }


  #carousel-pc{
    display: none;
  }
  #carousel-sp{
    display: block;
  }

/* //firstView--------------------------------------- */
#main{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}


/* concept--------------------------------------- */
  #concept-bgImg::before{
    top: 12%;
    left: 80%;

    width: 61px;
    height: 74px;
  }

/* //concept--------------------------------------- */


/* service--------------------------------------- */
#service-Img-container{
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* //service--------------------------------------- */


/* supportArea--------------------------------------- */
#areaMap{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.area{
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
}
#supportArea-text-container::after{
  display: none;
}


/* review--------------------------------------- */
#review{
  width: 100%;
}
/* //review--------------------------------------- */



/* news--------------------------------------- */
#news{
  width: 100%;
}

#news .review-Img-frame{
  display: flex;
  flex-direction: column-reverse;
}

#news .post-contents > p {
  margin: 0;
}
.news-Img{
  width: 100%;
}

#news .post-contents > p:nth-of-type(3){
  margin-left: 0px;
}
/* //news--------------------------------------- */


/* faq--------------------------------------- */
.faqAssy{
  width: 100%;
}
/* //faq--------------------------------------- */




/* footer--------------------------------------- */
#footer-sub-sub{
  width: 90%;
}

#footer-note{
  display: flex;
  flex-direction: column;

  margin-top: 50px;
}

#footer-note > a{
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 0px;
  margin-bottom: 0px;

  text-align: center;
  border-left: none;
  border-top: 1px solid var(--main-color);
}

#footer-note > a:last-child{
  padding-bottom: 10px;
  border-bottom: 1px solid;
  border-right: none;
}

#copyright::after{
  height: 90px;
  background-size: cover;
}

#copyright > p{
  font-size: 1.3rem;
}
/* //footer--------------------------------------- */

/*スクロールリンクの形状*/
.js-scroll a::after{
  top: -10px;
	right: -47px;

  width: 45px;
  height: 75px;
}
/*スクロールリンクの形状*/
.js-pagetop {
	right: 77px;
  bottom: 66px;
}
/*ページトップリンクの形状*/
.js-pagetop a::after{
  top: -10px;
	right: -47px;

  width: 45px;
  height: 75px;
}


} 
