@charset "UTF-8";
/* CSS Document */
//ブレイクポイントを指定------ここから
$xl: 1399px;
$lg: 1199px;
$md: 991px;
$sm: 767px;
$xs: 575px;

@mixin xl {
  @media screen and (max-width: ($xl)) {
    @content;
  }
}
@mixin lg {
  @media screen and (max-width: ($lg)) {
    @content;
  }
}
@mixin md {
  @media screen and (max-width: ($md)) {
    @content;
  }
}
@mixin sm {
  @media screen and (max-width: ($sm)) {
    @content;
  }
}
@mixin xs {
  @media screen and (max-width: ($xs)) {
    @content;
  }
}
//ブレイクポイントを指定------ここまで

//カラー指定
$color-main: #50beff;

//共通
main {
    overflow: hidden;
    scroll-padding-top: 100px;
	padding-top: 80px;
	@include sm {
		margin-top: 70px;
	}
}

.inner {
	width: 83%;
	margin: 0 auto;
	@include md {
		width: 90%;
	}
	@include sm {
		width: 100%;
	}
}

.color-blue {
    color: $color-main;
}

//#wrapper {
//    margin-top: 80px;
//}

//header
header {
    background-color: transparent;
    transition: background-color .5s, color .5s;
}
.site-header {
	overflow: visible;
    .header-flex {
        position: fixed;
//		position: sticky!important; /* headerを追従にする */
        max-width: 100%;
        width: 100%;
        height: 80px;
        z-index: 999;
        background-color: transparent;
        transition: background-color .5s, color .5s;  
        display: flex!important;
        justify-content: space-between;
        align-items: center;
        .logo {
            margin-left: 3rem;
            img {
                width: 200px;
            }
        }
        .header-inner {
            display: flex;
            justify-content: flex-end;
            ul {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                height: 80px;
                text-align: right;
                padding-right: 3rem;
                margin: 0;
                li {
                    display: inline-block;
                    font-size: 14px;
                    font-size: 1.4rem;
                    font-weight: bold;
                    padding-left: 3rem;
					@include md {
						padding-left: 2rem;
					}
                    a {
                        display: block;
                        color: #505050;
                        transition: 0.3s;
                        &:hover {
                            color: #1ec3ff;
                        }
                    }
                }
            }
            .contact {
                a {
                    background-color: $color-main;
                    height: 80px;
                    width: 80px;
                    display: flex;
                    align-items: center;
                    justify-content: flex-end;
                    transition: 0.3s;
                    &::before {
                        content: "";
                        background-image: url("../img/contact-white.svg");
                        height: 24px;
                        width: 35.6px;
                        margin: auto;
                    }
                    &:hover {
                        background-color: #505050;
                    }
                }
            }
        }
        @include sm {
            display: none!important;
        }
    }
}
/* headerの色を変える */
.header-flex.change-color {
    background:#fff!important;
}

///*------ スマホ用ヘッダー ------*/
.header {
	position: fixed;
//	position: sticky!important; /* headerを追従にする */
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	background-color: #fff;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
	z-index: 999;
	.logo {
		display: flex;
		a{
			img{
				width: 155px;
				&:hover{
					opacity: 0.5;
				}
			}
		}
	}
	.header__inner {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 1.5rem 2rem;
	}
}
.drawer__button {
  position: relative;
  width: 4rem;
  height: 4rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 999; 
	& > span{
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		width: 4rem;
		height: 2px;
		background-color: #505050;
		transform: translateX(-50%);
	}
	& > span:first-child{
		transform: translate(-50%, calc(-50% - 1rem));
		transition: transform 0.3s ease;
	}
	& > span:nth-child(2){
		transform: translate(-50%, -50%);
		transition: opacity 0.3s ease;
	}
	& > span:last-child{
		transform: translate(-50%, calc(-50% + 1rem));
		transition: transform 0.3s ease;
	}
}
.drawer__button.active{
	& > span:first-child{
		transform: translate(-50%, -50%) rotate(-45deg);
	}
	& > span:nth-child(2){
		opacity: 0;
	}
	& > span:last-child{
		 transform: translate(-50%, -50%) rotate(45deg);
	}
}
.drawer__nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5);
	transition: opacity 0.3s ease;
	opacity: 0;
	visibility: hidden;
	.drawer__nav__inner {
		position: relative;
		width: 60%;
		height: 100%;
		background-color: #e5f5ff;
		padding: 0;
		margin: 0 0 0 auto;
		overflow: scroll;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		.drawer__nav__menu {
			list-style: none;
			padding-left: 0;
			padding-top: 7.5rem;
			.drawer__nav__link {
				font-size: 20px;
				font-size: 2rem;
				display: block;
				color: #505050;
				text-decoration: none;
				padding: 2rem;
				border-bottom: solid 1px lightgray;
				transition: 0.3s;
				&:hover{
					background-color: $color-main;
				}
			}
			li:last-child{
				border-bottom: none;
			}
		}
	}
}
.drawer__nav.active {
	opacity: 1;
	visibility: visible;
	.drawer__nav__inner {
		transform: translateX(0);
	}
}
body.active {
  height: 100%;
  overflow: hidden;
}




//footer
.site-footer {
    background-color: #505050;
    padding-top: 7rem;
	@include xs {
		padding-top: 5rem;
	}
    .footer-flex {
        width: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin: auto;
        margin-bottom: 4rem;
        @include sm {
            flex-direction: column;
            align-items: center;
            text-align: center;
            margin-bottom: 2rem;
        }
        .footer-left {
            a {
                display: block;
                width: 275px;
                margin-bottom: 3.4rem;
				@include xs {
					margin-bottom: 3rem;
				}
            }
            p {
                color: #fff;
                font-size: 14px;
                font-size: 1.4rem;
                line-height: 1.5;
                @include sm {
                    margin-bottom: 2rem;
                }
				a {
					color: #fff;
					margin-bottom: 0;
				}
            }
        }
        .footer-right {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            @include sm {
                align-items: center;
            }
            .contact-button {
                a {
                    background-color: $color-main;
                    display: inline-block;
                    color: #fff;
                    transition: 0.2s;
                    border-radius: 5px;
                    padding: 1rem 7rem;
                    margin-bottom: 2rem;
                    &:hover {
                        color: $color-main;
                        background-color: #fff;
                    }
                }
            }
            ul {
                display: flex;
				@include xs {
					flex-direction: column;
				}
                li {
                    margin-left: 2em;
                    @include md {
                        margin-left: 1.2em;
                    }
                    @include sm {
                        margin-left: 2em;
                    }
                    @include xs {
                        margin-left: 0;
                    }
                    a {
                        font-size: 14px;
                        font-size: 1.4rem;
                        font-weight: 600;
                        color: #fff;
                        transition: 0.2s;
                        &:hover {
                            color: $color-main;
                        }
                    }
                }
            }
        }
    }
    .copyright {
        color: #fff;
        text-align: left;
        padding-bottom: 1.5rem;
        font-size: 12px;
        font-size: 1.2rem;
		@include sm {
			text-align: center;
		}
    }
}

//ul-header
#ul-header {
}


h4 {
    font-size: 30px;
    font-size: 3rem;
    color: $color-main;
    text-align: center;
    letter-spacing: 0.4rem;
    margin-bottom: 7.6rem;
    @include lg {
        margin-bottom: 5rem;
    }
    @include sm {
        margin-bottom: 3rem;
    }
    @include sm {
        letter-spacing: 0.2rem;
		font-size: 27px;
		font-size: 2.7rem;
    }
    span {
        font-family: "Homemade Apple", cursive;
        font-weight: 400;
        font-size: 18px;
        font-size: 1.8rem;
        letter-spacing: 00;
    }
}











/* トップへ戻るボタン */
#page-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    margin-bottom: 0;
	a {
		width: 56px;
		display: block;
		transition: 0.3s;
	}
	a:hover {
	    transform: scale(1.1);
	}
}