@charset "utf-8";

/*==================================================
    レスポンシブCSS
===================================*/

/*========= ヘッダーレイアウトのためのCSS ===============*/
/* スマホのみのヘッドライン */
.sp-headline {
    padding: 10px 0;
    background-color: #000055;
    color: #fff;
}

.sp-headline p {
    font-size: .85em;
    letter-spacing: .05em;
}

/* 土台 */
#header {
    position: fixed !important;
    z-index: 999 !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: #fff;
}

#header .inner {
    padding: 0 4%;
    height: calc(100% - 37.84px);
}

.pc-nav {
    display: none;
}

/* ヘッダーロゴ */
.header-logo {
    max-width: 200px;
    display: flex;
    align-items: center;
    height: 100%;
}

.header-logo a {
    display: inline-block;
}

/*========= ナビゲーションのためのCSS ===============*/
/*アクティブになったエリア*/
#g-nav {
    position:fixed;
    z-index: 999;
	top: 0;
    right: -120%;
	width:100%;
    height: 100vh;
    background-color: #000055;
    transition: all 0.6s;
}

#g-nav.panelactive{
    right: 0;
}

/*ナビゲーション*/
#g-nav ul {
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/
#g-nav li{
	text-align: center;
	list-style: none;
    margin-bottom: 15px;
}

#g-nav li:last-child {
    margin-bottom: 0;
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
    font-weight: bold;
}
/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
	top:37.84px;
	right: 0;
	z-index: 9999;
	cursor: pointer;
    width: 50px;
    height:50px;
    border-radius: 0 0 0 15px;
}

/*×に変化*/
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 10px;
    height: 3px;
    border-radius: 2px;
	background-color: #000055;
    width: 55%;
}

.openbtn span:nth-of-type(1) {
	top:17px;
}

.openbtn span:nth-of-type(2) {
	top:26px;
}

.openbtn span:nth-of-type(3) {
	top:35px;
}

.openbtn.active span {
    background-color: #fff;
}

.openbtn.active span:nth-of-type(1) {
    top: 17px;
    left: 10px;
    transform: translateY(6px) rotate(-45deg);
    width: 55%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 10px;
    transform: translateY(-6px) rotate(45deg);
    width: 55%;
}

/*==================================================
    タブレットCSS
===================================*/

@media(min-width:600px) {

}

/*==================================================
    デスクトップCSS
===================================*/

@media(min-width:1025px) {
    #header {
        height: 110px;
    }

    #header .inner {
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 110px;
    }

    .openbtn {
        display: none;
    }

    #g-nav {
        display: none;
    }

    .pc-nav {
        display: block;
    }

    .sp-headline {
        display: none;
    }

    .header-logo {
        max-width: 250px;
    }

    .pc-nav ul {
        display: flex;
        justify-content: space-between;
    }

    .pc-nav ul li a {
        display: inline-block;
        margin-right: 40px;
        text-align: center;
        letter-spacing: .05em;
        font-size: 14px;
        text-decoration: none;
        color: #000055;
        font-weight: 500;
    }

    .head-top {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 10px;
    }

    .head-top .tel-text p {
        font-size: 10px;
    }
}

/* info-table */
.info-table {
    margin-bottom: 5px;
    width: 100%;
    color: #000055;
    font-size: 14px;
    border-collapse: collapse;
}

.info-table tr:first-child {
    background-color: #FCCF38;
}

.info-table tbody tr:nth-child(2),
.info-table tbody tr:last-child {
    border-bottom: 1px solid #ddd;
}

.info-table tr th {
    letter-spacing: .05em;
}

.info-table tr th:first-child {
    padding: 14px 10px;
    text-align: start;
}

.info-table tr td {
    text-align: center;
    font-size: 20px;
}

.bottom-content p {
    color: #666;
    font-size: .85em;
    text-align: end;
    font-weight: 500;
    letter-spacing: .05em;
}

/* ----- mainvisual ----- */

.main-visual {
    margin-top: 100px;
    width: 100%;
    height: calc(50vh + 400px);
}

.main-visual .inner {
    position: relative;
    padding: 0 4%;
    width: 100%;
    height: 50vh;
}

.main-visual .inner .main-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 3px;
}

.main-visual .inner .main-img::before {
    position: absolute;
    content: "";
    background-image: url(../images/main.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(2px);
    top: -3px;
    bottom: -3px;
    left: -3px;
    right: -3px;
    z-index: -1;
}

.main-visual .inner h1 {
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #fff;
    line-height: 1.7;
    text-shadow: 0 4px 15px #666;
    letter-spacing: .05em;
}

.flow-content {
    padding: 20px 4%;
}

.flow-content .top-content {
    margin-bottom: 20px;
}

.flow-content .top-content .yoyaku {
    display: block;
    padding: 5px 50px;
    border: 1.5px solid #000055;
    color: #000055;
    border-radius: 300px;
    text-align: center;
    font-weight: bold;
    width: 175px;
    margin: 0 auto 10px;
}

.flow-content .top-content .circle-content {
    display: flex;
    justify-content: center;
}

.flow-content .top-content .circle-content .circle {
    position: relative;
    background-color: #000055;
    color: #fff;
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.flow-content .top-content .circle-content .circle:first-child {
    margin-right: 15px;
}

.flow-content .top-content .circle-content .circle p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-weight: bold;
    letter-spacing: .05em;
}

.flow-content .top-content .circle-content .circle p .small {
    display: block;
    font-size: .85em;
}

.flow-content .top-content .circle-content .circle p .big {
    font-size: 2em;
    line-height: 1.1;
}

@media(min-width:600px) {
    .main-visual {
        position: relative;
        height: 50vh;
        margin-bottom: 80px;
    }

    .flow-content {
        position: absolute;
        width: 80%;
        bottom: -60px;
        right: 0;
        background-color: #fff;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        border-radius: 20px 0 0 20px;
        box-shadow: 5px 5px 15px #ddd;
        padding: 20px 30px;
    }

    .flow-content .top-content {
        margin-bottom: 0;
    }

    .flow-content .bottom-content {
        width: calc(100% - 240px);
    }

    .flow-content .top-content .yoyaku {
        width: 100%;
    }
}

@media(min-width: 1025px) {
    .main-visual {
        margin-top: 120px;
        height: 100vh;
    }

    .main-visual::before {
        position: absolute;
        content: "";
        width: 55%;
        height: 600px;
        bottom: 0;
        left: 0;
        background-color: #f7f6f5;
        z-index: -1;
    }
    .main-visual .inner {
        padding: 0;
        height: 75vh;
        width: 95%;
        margin: 0 auto;
        max-width: inherit;
    }

    .main-visual .inner .main-img {
        border-radius: 10px;
    }

    .main-visual .inner h1 {
        font-size: 2.25em;
    }

    .flow-content {
        bottom: 150px;
        width: 65%;
        max-width: 800px;
        align-items: center;
        padding: 30px 40px;
    }

    .flow-content .top-content {
        width: 40%;
    }

    .flow-content .bottom-content {
        width: 55%;
    }

    .bottom-content .info-table tr th:first-child {
        padding: 10px;
    }
}