@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: robot;
    src: url(../fs/RobotoMono-ExtraLight.ttf);
}

@font-face {
    font-family: noto;
    src: url(../fs/Noto_Sans_JP/static/NotoSansJP-Regular.ttf);
}

@font-face {
    font-family: kosugi;
    src: url(../fs/KosugiMaru-Regular.ttf);
}

h1 {
    font-size: 2.5vw;
    text-shadow: 1px 1px 2px;
}

h2 {
    letter-spacing: -.25em;
    font-size: 6vw;
    font-family: kosugi;
    color: #7B4E4B;
}

h3 {
    letter-spacing: .15em;
    font-size: 4.2vw;
    font-family: kosugi;
    color: #7B4E4B;
}

h4 {
    letter-spacing: .15em;
    font-size: 4.2vw;
    font-family: kosugi;
    color: #7B4E4B;
}

p {
    letter-spacing: .1em;
    font-size: 4vw;
    line-height: 1.3;
    font-family: kosugi;
    color: #7B4E4B;
}

a {
    line-height: 1.6;
    text-decoration: none;
    text-align: center;
    color: rgb(91, 102, 84);
}

ul {
    list-style-type: none;
}

li {
    font-family: kosugi;
    text-align: center;
    font-size: 1.5vw;
}

html {
    scroll-behavior: smooth;
}
/* ヘッダーここから */
header:nth-of-type(1) {
    display: none;
}

header {
    display: flex;
    width: 100%;
    background-color: #EBEBDC;
}

header .h1-box {
    width: 100%;
    margin-top: 2vw;
    margin-bottom: 2vw;
}

header .h1-box h1 {
    width: 60%;
    margin-left: 5%;
    margin-right: 35%;
}

header .h1-box h1 img {
    width: 100%;
    vertical-align: bottom; 
}

nav.NavMenu{
	position: fixed; /*表示位置を固定*/
	z-index: 10000; /*重ね順を変更*/
	top: 0; /*表示位置を指定*/
	left: 0; /*表示位置を指定*/
	background: #fff;/*背景を白にする*/
	color: #000; /*文字色を黒にする*/
	text-align: center; /*テキストを中央揃え*/
	width: 100%; /*全幅表示*/
    border-top: 1px dotted black;
    border-left: 1px dotted black;
    opacity: .8;
	transform: translateY(-100%); /*ナビを上に隠す上から出したい場合は、transform: translateYを使う。*/
	transition: all 0.6s; /*アニメーションの時間を指定*/
}

nav.NavMenu ul{
	background: #FFED97; /*背景をグレーにする*/
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

header:nth-of-type(2) nav.NavMenu ul li{
	font-size: 1.3em;
	list-style-type: none;
	padding: 0;
	width: 100%;
	border-bottom: 1px dotted #333;
}

nav.NavMenu ul li:last-child{
	padding-bottom: 0;
	border-bottom: none; /*最後のメニュー項目のみ下線を消す*/
}

nav.NavMenu ul li a{
	display: block; /*クリックできる領域を広げる*/
	color: #000;
	padding: .5em 0;
    letter-spacing: .05em;
}


/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu.active{
	transform: translateY(0%);/*上から出したい場合は、transform: translateYを使う。*/
}


/*トグルボタンのスタイルを指定*/
.Toggle {
	position: fixed;    /* bodyに対しての絶対位置指定 */
	right: 43px;
	top: 23px;
	width: 42px;
    height: 42px;
	cursor: pointer;/*divだけどカーソルが変わるようにしている*/
	z-index: 30000;/*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle-img {
	position: fixed;    /* bodyに対しての絶対位置指定 */
	right: 11px;
	top: 11px;
	width: 100px;
	z-index: 3000;/*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle-img img {
    width: 100%;
    vertical-align: bottom;
}

.Toggle span {
	display: block;
	position: absolute;
	width: 30px;
	border-bottom: solid 3px #000;
	transition: .35s ease-in-out;/*変化の速度を指定*/
	left: 6px;
}

.Toggle span:nth-child(1) {
	top: 9px;
}

.Toggle span:nth-child(2) {
	top: 18px;
}

.Toggle span:nth-child(3) {
	top: 27px;
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
	top: 18px;
	transform: rotate(45deg);
}

header nav div h1 a:nth-of-type(1) {
    display: none;
}
/* ヘッダーここまで */

main {
    background-color: #EBEBDC;
    padding-bottom: 10vw;
}

/* 真下のここから ----------------------------------------------------------*/
.link-box {
    position: fixed;
    bottom: 2vw;
    display: flex;
    width: 95%;
    margin-left: 2.5%;
    margin-right: 2.5%;
    z-index: 10000000;
    opacity: .9;
}

.link-box1 {
    width: 49%;
    margin-right: 2%;
    border: 3px solid #F7F7F7;
    border-radius: 10px;
    box-shadow: 1px 1px .5px gray;
    background-color: #FFED97;
}

.link-box1 p {
    padding-top: 3.1vw;
    padding-bottom: 3vw;
    text-align: center;
    color: #59BC7B;
    font-size: 3.9vw;
}

.link-box2 {
    width: 49%;
    border: 3px solid #F7F7F7;
    border-radius: 10px;
    box-shadow: 1px 1px .5px gray;
    background-color: #FFED97;
}

.link-box2 p {
    padding-top: 3.1vw;
    padding-bottom: 3vw;
    text-align: center;
    color: #59BC7B;
    font-size: 3.9vw;
}
/* 真下のここまで */

/* FAQここから */
.faq-box {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 12vw;
    padding-bottom: 4vw;
}

.faq-box .faq-title {
    position: relative;
    width: 47%;
    height: 4vw;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    background-color: #FFE37C;
}

.faq-box .faq-title h2 {
    position: absolute;
    top: -3vw;
    width: fit-content;
    text-align: center;
}

.faq-article {
    width: 90%;
    margin-top: 5vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 7vw;
}

.faq-article p {
    text-align: center;
}
/* faq一覧ここから */
.faq-lineup-smart {
    width: 85%;
    margin-top: 2vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12vw;
    padding-top: 8vw;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-bottom: 8vw;
    border-radius: 20px;
    background-image: url(../images/section-back.png);
    background-color: #F7F7F7;
}
/* アコーディオンここから */
.qa-2 {
  width: 98%;
  margin: 0 auto 1em;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.qa-2 summary {
  display: flex;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 1em 1em 3em;
  color: #7B4E4B;
  font-family: kosugi;
  font-weight: 600;
  font-size: 3.8vw;
  border-bottom: 2px solid #749FE7;
  cursor: pointer;
}

.qa-2 summary::before,
.qa-2 p::before {
  position: absolute;
  left: .5em;
  font-size: 1.3em;
}

.qa-2 summary::before {
  color: #7B4E4B;
  content: "Ｑ.";
}

.qa-2 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 1.5vw;
  height: 1.5vw;
  margin-left: 10px;
  border-bottom: 3px solid #333333b3;
  border-right: 3px solid #333333b3;
  content: '';
  transition: transform .5s;
}

.qa-2[open] summary::after {
  transform: rotate(225deg);
}

.qa-2 p {
  position: relative;
  width: 80%;
  transform: translateY(-10px);
  opacity: 0;
  margin-left: 4%;
  margin-right: auto;
  padding: .6em 1em 1.5em 2.5em;
  font-size: 3.8vw;
  color: #7B4E4B;
  font-family: kosugi;
  font-weight: 600;
  letter-spacing: normal;
  transition: transform .5s, opacity .5s;
}

.qa-2[open] p {
  transform: none;
  opacity: 1;
}

.qa-2 p::before {
  color: #7B4E4B;
  line-height: .9;
  content: "Ａ.";
}
/* アコーディオンここまで */
/* FAQここまで */

/* CONTACTここから */
section:nth-of-type(2) {
    width: 100%;
    margin-top: 10vw;
    margin-bottom: 1vw;
    border-top: 3px solid #E3E3D0;
    border-bottom: 3px solid #E3E3D0;
    box-shadow: 2px 2px 4px gray;
    background-color: #F8C37B;
}

.contact-box {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 12vw;
    padding-bottom: 8vw;
    opacity: 0;
    transition: 1s;
    transform: translateY(50px);
}

.contact-box .contact-title {
    position: relative;
    width: 49%;
    height: 4vw;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    background-color: #FFF5C8;
}

.contact-box .contact-title h2 {
    position: absolute;
    top: -3vw;
    width: fit-content;
    text-align: center;
}

.contact-article {
    width: 90%;
    margin-top: 5vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 7vw;
}

.contact-article p {
    text-align: center;
}

.contact-link {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #7B4E4B;
    border-radius: 30px;
    box-shadow: 2px 2px 4px gray;
    background-color: #F7F7F7;
}

.contact-link p {
    padding-top: 2vw;
    padding-bottom: 2vw;
    text-align: center;
}
/* CONTACTここまで */

/* フッターここから */
footer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #F7F7F7;
}

.footer-box {
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3vw;
}

.footer-imgbox {
    display: flex;
    width: 100%;
}

.footer-imgbox img {
    width: 100%;
    vertical-align: bottom;
}

.imgbox1 {
    width: 13%;
    margin-left: 4%;
}

.imgbox2 {
    width: 40%;
    padding-top: 4vw;
}
/* mail */
.footer-address {
    display: flex;
    width: 90%;
    margin-top: 2vw;
    margin-left: 10%;
    align-items: flex-end;
}

.mail-img {
    width: 5%;
    margin-right: 3%;
    padding-bottom: .5vw;
}

.mail-img img {
    width: 100%;
    vertical-align: bottom;
}

.mail-address {
    width: 77%;
    padding-top: 1.8vw;
}

.footer-address p {
    text-align: left;
    font-size: 3vw;
}
/* 利用規約・プライバシー */
.footer-link {
    width: 90%;
    margin-top: 3vw;
    margin-left: 10%;
}

.footer-kiyaku {
    width: 50%;
}

.footer-kiyaku a p {
    padding-top: .5vw;
    font-size: 3vw;
    text-align: left;
}

.footer-privacy {
    width: 60%;
}

.footer-privacy a p {
    padding-top: .5vw;
    font-size: 3vw;
    text-align: left;
}
/* ソーシャルアイコンここから */
.social-box {
    position: absolute;
    bottom: 25vw;
    right: 4vw;
    display: flex;
    width: 25%;
    margin-left: 2%;
    margin-right: auto;
}

.social-box a:nth-of-type(1) {
    width: 50%;
    margin-right: 3%;
}

.social-box a:nth-of-type(2) {
    padding-top: 1.4vw;
    width: 39%;
}

.social-box a img {
    width: 100%;
    vertical-align: bottom;
}
/* ソーシャルアイコンここまで */
.footer-copy {
    width: 100%;
    margin-top: 5vw;
    padding-bottom: 15vw;
}

.footer-copy p {
    text-align: center;
}
/* フッターここまで */
.isAnimate {
    opacity: 1;
    transform: translateY(0px);
}

.left-cloud-a {
    display: none;
}

.left-cloud-b {
    display: none;
}

.left-cloud-c {
    display: none;
}

.left-cloud {
    display: none;
}

.right-cloud {
    display: none;
}

.center-raimbow {
    display: none;
}