@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'DotGothic16'; /* 任意の名前でOK */
    src: url(../font/DotGothic16/DotGothic16-Regular.ttf);
    /* フォント指定したい場所にfont-family: ' '; */
}

@font-face {
    font-family: 'Stick'; /* 任意の名前でOK */
    src: url(../font/Stick/Stick-Regular.ttf);
}

body {
    background-color: #faeee5;
}

/* ページトップボタン */
main > a {
    position: fixed;
    bottom: 3%;
    right: 3%;
    width: 5%;
    padding: 0 1em;
    text-align: center;
    text-decoration: none;
    font-size: 1.1vw;
    color: #fff;
    background-color: #dbc0e7;
    box-shadow: 0.4vw 0.4vw 0 #fad1d8, 0 0 1vw #aaa;
}

/* 『授業のきろく』とナビゲーションを横並びにする */
.header-flexbox {
    position: relative;
    top: 0vw;
    left: 0vw;
    position: fixed;
    display: flex;
    width: 100%;
    padding: 1% 2% 0% 2%;
    border-bottom: 0.5vw solid #555555;

    background-color: #faeee5;
    z-index: 100;
}

h1 { /* 『授業の記録』 */
    width: 23%;
    height: 5vw;
    line-height: 5vw;
    /* ↑↑ height=line-heightで文字が要素の中で中央揃えになる
    （一行の文章に限る） */
    border: solid #555555;
    border-width: 0.5vw 0.5vw 0vw 0.5vw;
    border-radius: 1vw 1vw 0vw 0vw;
    /* ↑角丸をつける */
    box-shadow: 1.4vw 0.5vw 0vw -0.5vw #fad1d8;
    /* ↑要素に影をつける
    左右の向きpx  上下の向きpx ぼかしpx 広がりpx 色 内側指定(inset) */

    background-color: #dbc0e7;
}

h1 a {
    display: block;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
    text-shadow: 0.3vw 0.3vw 0vw rgba(117, 117, 117, 0.3);
    /* ↑文字に影をつける
    左右の向きpx  上下の向きpx ぼかしpx 広がり 色 内側指定(inset) */
    color: #fff;
    font-size: 2.5vw;
    font-family: 'Stick';
}

/* ナビゲーションエリアの指定 */
nav {
    width: 73%;
}

/* ナビゲーション位置の調整 */
nav ul {
    display: flex;
    margin-left: 15%;
}

/* 各タブの調整 */
nav ul li {
    width: 25%;
    height: 4vw;
    margin-top: 1vw;
    line-height: 4.5vw;
    list-style-type: none;
    border: 0.5vw solid #555555;
    border-radius: 1vw 1vw 0vw 0vw;
    margin-bottom: -0.5vw;
}

/* タブのホバー効果 */
nav ul li:hover {
    transform: translateY(-5%);
    /* ↑タブがぴょこっと浮く */
}

nav ul li a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #555;
    font-size: 1.5vw;
    font-family: 'DotGothic16';
}

/* 各タブの背景色と影 */
nav ul li:nth-child(1) {
    background-color: #ead5f3;
}

nav ul li:nth-child(2) {
    margin-left: -0.3vw;
    /* ↑重なった線の打ち消し */
    background-color: #ead5f3;
}

nav ul li:nth-child(3) {
    margin-left: -0.3vw;
    /* ↑重なった線の打ち消し */
    background-color: #ead5f3;
}

/* ------------------------------------- */
/* メイン部分 */
main {
    position: relative;
    top: 0vw;
    left: 0vw;
    padding-top: 5vw;
    padding-bottom: 5vw;
    /* ↓背景のストライプ */
    background: repeating-linear-gradient(#e0ebee, #e0ebee 20px, #c9e6ee 20px, #c9e6ee 40px);
    /* 135beg＝角度。デフォルトは横ストライプ */

    z-index: 0;
}

/* サムネギャラリー大枠 */
main .gloval-section .samune {
    width: 96%;
    padding: 1%;
    margin: 2%;
    margin-left: auto;
    margin-right: auto;
    border: 0.3vw solid #fff;
    background-color: rgba(255, 255, 255, 0.5);
}

main .gloval-section h2 {/* スクショ一覧 */
    width: 15%;
    height: 1.5em;
    padding: 0.5% 0.5% 0.7% 0.5%;
    margin: 5% auto 2% auto;
    border-radius: 20vw;
    box-shadow: 0.5vw 0.5vw #fff;
    text-align: center;
    color: #fff;
    font-size: 2vw;
    background-color: #f2c4d6;

    font-family: "Stick", serif;
    font-weight: 400;
    font-style: normal;
    cursor: default;
}

main .gloval-section h2 a {
    text-decoration: none;
    color: #fff;
}

main .gloval-section .samune .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1vw;
}

main .gloval-section .samune .container a img {
    width: 100%;
    height: 20vw;
    object-fit: contain;
    border: 0.2vw solid #181818;
    background-color: #faeee5;
}

/* フッター部分 */
footer {
    position: relative;
    top: 0vw;
    left: 0vw;
    padding: 1% 0%;

    background-color: #f2c4d6;
    z-index: 1;
}

footer p {
    text-align: center;
    font-size: 1.2vw;
    color: #fff;
}

footer p small span {
    margin-left: 0.3em;
    margin-right: 0.3em;
}