@charset "UTF-8";
@import url("/nobel/nazotoki/css/grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #fff;
    --linkhover-color: #000;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}

/*ヘッダー
-------------------------------------*/
.header {
	background-color: #0B186D;
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid var(--white-color);
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 0rem 0 0 0;
}
nav li {
	background-color: #0B186D;
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
    font-weight:bold
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(/nobel/nazotoki/img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(/nobel/nazotoki/img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: var(--back-color);
}
.white-back {
	background-color: var(--base-color);
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid var(--base-color);
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    padding: 5rem 0;
    text-align: center;
}
footer h4 {
    border-bottom: 3px solid var(--border-color);
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}

.link-wrap{
    margin-top: 20px;
}

.link-wrap div{
    display: flex;
    justify-content: center;
}

.link-wrap div a{
    color: blue;
}

.contact-box{
    height: 100%;
}

.intro-text{
    text-align: center;
    display: block;
    margin-bottom: 20px;
}

.howto-wrap ul{
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-top: 70px;
    counter-reset: howtonum 0;
}

.howto-wrap ul li{
    width: 270px;
    background-color: #1960AD;
    color: #FCED31;
    border-radius: 15px;
    height: 230px;
    list-style: none;
    font-weight: bold;
    font-size: 19px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 10px;
    line-height: 1.5;
}

.howto-wrap ul li::before{
    counter-increment: howtonum 1;
    content: counter(howtonum, decimal-leading-zero);
    font-size: 24px;
    color: #1960AD;
    background-color: #ABD5EF;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    position: absolute;
    top: -35px;
    left: -35px;
    border-radius: 50%;
}


.howto-wrap ul li:last-of-type::after{
    content: "";
    background: url(/nobel/nazotoki/img/present-icon.png) no-repeat;
    width: 50px;
    height: 73px;
    background-size: cover;
    display: block;
    position: absolute;
    bottom: 20px;
    right: 10px;
}

.howto-wrap ul li span,
.howto-wrap ul li figcaption{
    color: #fff;
    font-size: 16px;
}

.howto-wrap ul li:first-of-type span{
    text-decoration: underline;
}

.howto-wrap ul li figure{
    display: flex;
    align-items: center;
    gap: 20px;
}

.howto-wrap ul li figure img{
    width: 80px;
}

.br-sp{
    display: none;
}


.howto-wrap ul li .kit-pdf:hover{
    color: #fff;
    opacity: .8;
}

@media screen and (max-width: 768px){
    .br-sp{
        display: block;
    }

    .catch{
        padding: 0 20px;
    }

    section {
        padding: 3rem 10px;
    }

    .howto-wrap ul{
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
    }

    .howto-wrap ul li{
        width: 90%;
    }

    h3{
        font-size: 20px;
    }

    .howto-wrap ul li::before{
        top: -25px;
        left: -20px;
    }

    .howto-wrap ul li:last-of-type::after{
        content: "";
        background: url(/nobel/nazotoki/img/present-icon.png) no-repeat;
        width: 50px;
        height: 73px;
        background-size: cover;
        display: block;
        position: absolute;
        bottom: 25px;
        right: 25px;
    }

}