/* フォントの読み込み */
@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300&display=swap');

/* Template & Designed by Towako. */
/* https://ninawas.me */

/* 全体に適用する */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 基本設定 */
body {
    background-color: #212121;
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 13px;
    color: #fff;
}

/* リンク */
a {
    text-decoration: none;
    color: #fff;
}
a.btn {
    color: #fff;
    font-weight: bold;
    background: #ea9bc6;
    padding: 5px 10px;
    border-radius: 6px;
}
a.btn:hover {
    background-color: rgb(253, 225, 242);/* ★リンク文字をホバーした時の背景色 */
    color: rgb(211, 102, 167);/* ★リンク文字をホバーした時の文字色 */
}



/* ナビゲーション */
nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 0.5em 0;
    width: 100%;
    background-color: #212121;
}

nav h2 {
    position: relative;
    margin-top: 0.5em;
    margin-left: 1em;
    margin-bottom: 1em;
    padding-left: 1.5em;
    text-align: left;
    font-weight: bold;
    font-size: 1.2em;
}

nav h2::before {
    position: absolute;
    display: block;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-left: thin solid #fff;
    border-bottom: thin solid #fff;
}

nav ul {
    overflow-x: scroll;
    display: flex;
    list-style-type: none;
    margin: 0 auto;
    width: 95%;
}

nav ul li {
    flex: 0 0 120px;
    margin-bottom: 0.5em;
}

nav ul li:first-of-type {
    border-bottom: 2px solid #fff;
}

/* ヘッダー */
header {
    position: relative;
    margin-top: 100px;
    padding-top: 220px;
}

header::before {
    position: absolute;
    display: block;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url('../image/sena.PNG') center/cover;
}

#iconbox img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

header h1 {
    font-weight: bold;
    font-size: 1.5em;
}

header aside {
    margin: 0.5em auto;
}

header aside span {
    color: #d3d3d3;
}

/* メインコンテンツ・フッター */
main,
footer {
    margin: 1em auto;
    width: 95%;
    text-align: justify;
    word-break: break-all;
}

/* 見出し */
h3 {
    margin-bottom: 0.5em;
    font-size: 1em;
}

/* アーティクル */
article {
    margin-bottom: 1em;
}

.articlebox2 a {
    font-size: 1.1em;
}

.articlebox2 aside {
    color: #d3d3d3;
}

article img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* フッター */
footer .footerbox {
    margin-bottom: 1em;
    color: #d3d3d3;
}

footer span {
    display: inline-block;
    margin-bottom: 0.5em;
    padding: 0.2em 0.5em;
    background-color: #efefef;
    color: #888;
}

/* フォーム系 */
textarea,
input[type] {
    padding: 0.2em 0.5em;
    background: #b43f39;
    border: none;
    border-radius: 5px;
    text-align: center;
    color: #fff;
}

textarea {
    width: 200px;
    height: 70px;
}

input[type=text] {
    width: 80px;
}

input[type=submit] {
    width: auto;
}

/* フッター内部フォーム系 */
footer textarea,
footer input[type] {
    background: #efefef;
    border-radius: 0;
    color: #888;
}

/* 767px以下で読み込む */
@media screen and (max-width:767px) {

    /* 登録済ボタンを非表示にする */
    #check {
        display: none;
    }

    /* アーティクル */
    article {
        display: flex;
        justify-content: space-between;
    }

    article .articlebox1 {
        flex-basis: 49%;
    }

    article .articlebox2 {
        flex-basis: 49%;
    }
}

/* 横幅768px以上で読み込む */
@media screen and (min-width:768px) {

    /* フォントサイズ */
    body {
        font-size: 14px;
    }

    /* フレックスボックス */
    .articlewrap,
    .footerwrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    article,
    .footerbox {
        flex-basis: 48%;
    }
}

/* 横幅1024px以上で読み込む */
@media screen and (min-width:1024px) {

    /* フォントサイズ */
    body {
        font-size: 15px;
        background-color: #fff;
        color: #000;
    }

    /* リンク */
    a {
        color: #000;
    }

    /* ナビゲーション */
    nav {
        background-color: #fff;
    }

    nav h2::before {
        border-left: thin solid #000;
        border-bottom: thin solid #000;
    }

    nav ul li:first-of-type {
        border-color: #000;
    }

    /* ヘッダー */
    header {
        display: flex;
        margin: 0 auto;
        padding: 380px 20% 0;
        text-align: justify;
        word-break: break-all;
    }

    header::before {
        height: 350px;
    }

    #iconbox {
        flex-grow: 1;
    }

    #iconbox img {
        width: 100px;
        height: 100px;
    }

    #headerbox {
        flex-grow: 10;
    }

    /* 登録済ボタン */
    #check {
        flex-grow: 1;
    }

    #check .box {
        padding: 0.5em 0;
        background-color: #efefef;
        text-align: center;
        color: #888;
    }

    header aside span {
        color: #888;
    }

    /* Contents */
    nav,
    main,
    footer {
        padding: 0 20%;
        width: 100%;
    }

    /* アーティクル */
    article {
        flex-basis: 33%;
    }

    .articlebox2 aside {
        color: #888;
    }

    /* フッター */
    footer .footerbox {
        color: #888;
    }

    footer span {
        background-color: #efefef;
        color: #888;
    }

    /* スクロールバー */
    ::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }

    ::-webkit-scrollbar-track {
        background-color: #fff;
        border-radius: 100px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 100px;
    }
}

/* 横幅1440px以上で読み込む */
@media screen and (min-width:1440px) {

    /* フォントサイズ */
    body {
        font-size: 16px;
    }

    /* ヘッダー */
    header {
        padding: 550px 20% 0;
    }

    header::before {
        height: 500px;
    }

}