body{
    /* 背景の設定 */
    background-image: url(../img/background.png);
    background-size:cover;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    /* フォントの設定 */
    font-family: 'Kiwi Maru', serif;
    margin-bottom: 50px;
}

h2{
    color:#FFF;
    font-size: 20px;
}
h3{
    color: #17284E;
    font-size: 20px;
}

/* ----------MENU---------- */
    /* メニュー全体 */
    .rock{
        position: fixed;
    }
    
    .menu{
        /* サイズの設定 */
        width: 150px;
        height: auto;
        /* 位置調整 */
        position: absolute;
        margin-top: 10px;
        margin-left: 10px;
        /* 余白の設定 */
        padding-top: 10px;
        padding-left:10px;
        padding-bottom: 10px;
        /* 背景を暗くしてぼかす */
        background-color: #00000050;
        border-radius: 10px;
        backdrop-filter: blur(20px);
    }


    /* メニューオープン */
    .js-summary{
        display: block;
        list-style: none;
        }

    /* 一部ブラウザで消えなかった場合は以下も追記（三角を消すやつ） */
        summary::-webkit-details-marker {
  display:none;
    }

    .js-summary a{
        /* レイアウトの設定 */
        display: flex;
        justify-content: center;
        align-items: center;
        /* サイズの設定 */
        width: 90%;
        height: 30px;
        /* ボーダーラインの設定 */
        border: solid 1px #FFF;
        /* 文字色の変更 */
        color: #FFF;
        /* アニメーションの変更時間 */
        transition: 1s;
    }

    /* メニューのホバーアニメーション */
       .js-summary a:hover{
        /* アニメーション */
            background-color: #FFF;
            color:#17284E;
            transition: 1s;
        }

    /* アコーディオンの中身のスタイル */
    .content {
        overflow: hidden;
     }

    /* ボタンデザイン */
    .btn_design {
        /* サイズの設定 */
        height: 20px;
        /* レイアウトの設定 */
        padding-left: 10px;
        padding-top: 5px;
        /* 余白の設定 */
        margin-top: 10px;
        /* 文字の設定 */
        color: #ffffff;
        font-size: 12px;
        /* グラデーションの生成 */
        background: linear-gradient(to right, #FFF,90%,#ffffff00);
        background-position: -130px;
        background-repeat: no-repeat;
        /* アニメーションの設定 */
        transition: 0.7s;
    }

    .btn_design:hover {
        /* マウスオーバー時の設定 */
        /* 文字 */
        color: #17284E;
        /* グラデーションの移動 */
        background-position: -15px;
        /* アニメーションの設定 */
        transition: 0.7s;
    }
/* ------------------------- */

/* banner */
.banner{
    width: 100%;
    height: 100px;
    background-image: url(../img/tape.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin: 100px;
    /* 垂直中央 */
    display: flex;
    align-items: center
    }
    .banner h1{
    margin-left: 3%;
    font-size: 24px;
    color: #17284E;

    }

/* メインウィンドウ */
.main{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-items: center;
    align-items: start;
    gap: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 100px);
    box-sizing: border-box;
}

/* モデルのカード1 */
.model{
    width: 250px;
    height: 520px;
    display:flex ;
    flex-direction: column;
    gap: 30px;
}

.window{
    display: grid;
    height: 444px;
    width: 250px;
}
/* モデルの画像1 */
.modelcard{
    width: 250px;
    height: 444px;
    border-radius: 125px 125px 0 0;
    /* 枠に合わせてトリミング */
    object-fit: cover;
    object-position: center;
    /* 下の余白（baseline由来の隙間）を消す */
    display: block;
    grid-area: 1 / 1;
    justify-self: end;
    align-self: start;
}

/* モデルの画像2 */
.modelcard2{
    width: 250px;
    height: 444px;
    border-radius: 125px 125px 0 0;
    background-image: url(../img/note.png);
    grid-area: 1 / 1;
    justify-self: end;
    align-self: start;
    }

/* モデルの画像3 */
.modelcard3{
    width: 250px;
    height: 444px;
    border-radius: 125px 125px 0 0;
    background-image: url(../img/note.png);
    grid-area: 1 / 1;
    justify-self: end;
    align-self: start;
    }

/* モデルの画像4 */
.modelcard4{
    width: 250px;
    height: 444px;
    border-radius: 125px 125px 0 0;
    background-image: url(../img/note.png);
    grid-area: 1 / 1;
    justify-self: end;
    align-self: start;
    }

/* モデルの画像5 */
.modelcard5{
    width: 250px;
    height: 444px;
    border-radius: 125px 125px 0 0;
    background-image: url(../img/note.png);
    grid-area: 1 / 1;
    justify-self: end;
    align-self: start;
    }

/* モデルの画像6 */
.modelcard6{
    width: 250px;
    height: 444px;
    border-radius: 125px 125px 0 0;
    background-image: url(../img/note.png);
    grid-area: 1 / 1;
    justify-self: end;
    align-self: start;
    }

    /* モデルの画像7 */
.modelcard7{
    width: 250px;
    height: 444px;
    border-radius: 125px 125px 0 0;
    background-image: url(../img/note.png);
    grid-area: 1 / 1;
    justify-self: end;
    align-self: start;
    }

/* モデルの画像8 */
.modelcard8{
    width: 250px;
    height: 444px;
    border-radius: 125px 125px 0 0;
    background-image: url(../img/note.png);
    grid-area: 1 / 1;
    justify-self: end;
    align-self: start;
    }

/* ハートボタン */

.Heartbutton{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: antiquewhite;
    border: 2px solid rgb(54, 142, 152);
    grid-area: 1 / 1;
    justify-self: end;
    align-self: start;
    display: flex;
    padding: 25px 25px 20px 20px ;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

/* ホバー時のアニメーション */
.Heartbutton:hover{
    transform: scale(1.1);
    background-color: #ffd9dc;
}

/* クリック中（押し込み） */
.Heartbutton:active{
    transform: scale(0.9);
}

/* クリック直後のポップアニメーション */
.Heartbutton.is-animating{
    animation: heartPop 0.35s ease;
}

/* モデルのキャプション */
.caption{
    display: flex;
    width: 250px;
    height: auto;
    border:2px solid rgb(38, 29, 29);
}
.number{
    background-color: antiquewhite;
    width: 50px;
    height: auto;
    padding: 10px;
}

.captiontext{
    background-color: antiquewhite;
    width: 200px;
    height: auto;
    padding: 10px;
}

/* テキスト */
.text1{
    width: 100%;
    height: auto;
    background-image: url(../img/note.png);
    background-size: 200px;
    border-radius:10px;
    border:2px solid rgb(54, 142, 152);
    padding: 20px;
    line-height: 2;
    grid-column: 1 / -1;
    box-sizing: border-box;
}

/* 見出し間の余白 */
.text1 h3{
    margin-top: 30px;
    margin-bottom: 10px;
}
.text1 h3:first-child{
    margin-top: 0;
}

.text1 h4{
    color: #17284E;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.text1 p{
    margin-bottom: 10px;
}

/* テキストスタイル*/
.form_template{
    background-color: #ffffff80;
    border: 1px dashed rgb(54, 142, 152);
    border-radius: 8px;
    padding: 15px 20px;
    margin: 15px 0 10px;
}

.form_template ul{
    list-style: none;
    padding-left: 0;
}

.form_template li{
    padding-left: 1em;
    text-indent: -1em;
}

/* ご依頼の流れ（番号付き） */
.flow{
    list-style: none;
    padding-left: 0;
    counter-reset: flow;
}

.flow > li{
    counter-increment: flow;
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
}

.flow > li::before{
    content: counter(flow);
    /* 丸番号の設定 */
    position: absolute;
    left: 0;
    top: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgb(54, 142, 152);
    color: #FFF;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
}

/* -----リンク集----- */
.links{
    display: flex;
    margin-right: 100
px;
    margin-top: 100px;
    margin-bottom: 5px;
    margin-left:100px;
    gap: 0px 20px;
    color: #fff;
}
.links img{
width: 100%;
height: max-content;
transition: 0.5s;
position: relative;
top: 0px;
}

.links img:hover{
    position: relative;
    top: 2px;
    transition: 0.5s;
}

.links p{
font-size: 12px;
/* 垂直中央 */
display: flex;
align-items: center;
}
