@charset "UTF-8";

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

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans|M+PLUS+Rounded+1c|Monoton&display=swap');
/* ここまで */

/* 全体に適用する */
 html {font-size: 62.5%;}
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 'Georgia', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', YuMincho, 'Yu Mincho', serif;;
}

/* 共通設定 */
body {
    background-color: #f6f6f6;
    word-break: break-all;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 1.2em;
    color: #606060;
    background: url(img/202108011814.png);
    -webkit-touch-callout:none;
    -webkit-user-select:none;
}

/* リンク基本設定 */
a {
    text-decoration: none;
    color: #2e709d;
}

/* ホバー */
a:hover {
    background-color: #fceead;
}

/* ヘッダー */
header {
    padding-top: 5vh;
    text-align: center;
}

#Head {
    display: inline-block;
    padding: 0.3em;
}

h1 span {
    padding: 0 0.5em;
    font-family: 'Monoton', 'M PLUS Rounded 1c', sans-serif;
    font-style: normal;
    font-size: 2em;
}

/* ヘッダーここまで */

/* ナビゲーション */
nav {
    margin: 1em auto;
    font-size: 1.1em;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline-block;
    margin: 0 0.8em;
}

nav ul li a {
    padding: 0.2em 0.5em;
    font-family: Avenir, 'Century Gothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', YuGothic, Meiryo, 'Yu Gothic', sans-serif;
    font-weight: bold;
}

/* フォントの指定 */
aside,
footer,
footer a {
    font-family: 'Georgia', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', YuMincho, 'Yu Mincho', serif;
}

/* 補足情報 */
aside {
    display: inline-block;
    margin-top: 1.5em;
    padding: 0 1em;
    background: linear-gradient(to right, #fceead, #f2cc9f);
    font-size: 0.9em;
    color: #2e709d;
}

/* セクション */
section {
    margin: 4em 0;
    padding: 2em;
    background-color: #fff;
}

/* 見出し */
section h2 {
    margin-bottom: 1em;
    text-align: center;
    font-size: 1.5em;
    font-family: Avenir, 'Century Gothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', YuGothic, Meiryo, 'Yu Gothic', sans-serif;
    font-weight: bold;
}

section h3 {
    display: inline-block;
    margin-bottom: 0.5em;
    background: linear-gradient(transparent 80%, #fceead 20%);
    font-size: 1.2em;
    font-family: Avenir, 'Century Gothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', YuGothic, Meiryo, 'Yu Gothic', sans-serif;
    font-weight: bold;
}

section h4 {
    font-family: Avenir, 'Century Gothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', YuGothic, Meiryo, 'Yu Gothic', sans-serif;
    font-size: 1em;
    font-weight: bold;
} 

/* セクション内共通設定 */
section p {
    margin: 0.5em auto 1.5em;
}

section span {
    font-weight: bold;
    font-style: italic;
}

section mark {
    background-color: #ddbcc9;
}

section em {
    border-bottom: thin dashed red;
}

section strong {
    font-weight: bold;
    color: red;
}

section mark,
.link {
    margin: 0.3em auto;
    padding: 0.1em 0.5em;
}

/* リスト系 */
section dl,
section ul {
    margin: 1em auto 1.5em;
}

section dd {
    margin-left: 1.5em;
    margin-bottom: 0.5em;
}

section ul:not(.list) {
    list-style-type: none;
}

section ul.list {
    list-style-position: inside;
}

section ul.yoko li {
    display: inline-block;
    margin-right: 0.5em;
}

/* フッター */
footer {
    margin: 1.5em auto;
    text-align: center;
}

/* 枠線リンク */
.link {
    display: inline-block;
    border: thin solid #a47cbe;
    font-weight: normal;
}

/* 段落横線 */
.line {
    margin-left: 1em;
    padding-left: 1em;
    border-left: 3px solid #fceead;
}

/* 右揃え */
.right {
    text-align: right;
}

/* 上に戻るボタン着地点 */
#Top {
    height: 1px;
}

/* 上に戻るボタン */
#PageTop {
    position: fixed;
    bottom: 4%;
    right: 5%;
}

/* 上に戻るボタンリンク部分 */
#PageTop a {
    display: block;
    z-index: 100;
    font-size: 25px;
}

/* フォーム系 */
textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.2em 0.5em;
    border: 2px solid #a47cbe;
    border-radius: 0;
    background-color: #fff;
    color: #a47cbe;
}

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

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

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

/* フォーム系ここまで */

/* アニメーション */
@keyframes SlideDown {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes FadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* 横幅768px以上で下記を読み込む */
@media screen and (min-width:768px) {
    body {
        font-size: 1.3em;
    }

    /* フレックスボックス */
    main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 80%;
        margin: 0 auto;
    }

    /* フォントサイズ */
    h1 span {
        font-size: 2.5em;
    }

    nav ul li a {
        font-size: 1em;
    }

    aside {
        font-size: 0.9em;
    }

    /* セクション内自動2カラム */
    .columns {
        flex-basis: 100%;
        columns: auto 2;
    }

    /* カラムを横切って見出しを表示させる */
    .columns h2 {
        column-span: all;
    }

    section {
        flex-basis: 100%;
    }

    /* 上に戻るボタンリンク部分 */
    #PageTop a {
        font-size: 35px;
    }
}

/* 横幅1024px以上で下記を読み込む */
@media screen and (min-width:1024px) {
    body {
        font-size: 1.4em;
    }

    main {
        max-width: 80%;
    }

}

        p img {
            max-width: 100%;  /* 横幅に合わせて自動縮小するが、拡大はしない */
        }

        .img40 img{
        width: 40%;
        height: auto;
        padding: 1px;
        }

        .thumbnail img{
        width: 90px;
        height: 90px;
        object-fit: cover;
        padding: 2px;
        }

        .thumbcircle{
        text-align: center;
        }

        .thumbcircle img{
        width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 50%;
        padding: 1px;
        }

        .thumbsquare{
        text-align: center;
        }

        .thumbsquare img{
        width: 100px;
        height: 100px;
        object-fit: cover;
        padding: 1px;
        }
        
        hr {
            margin:2em 0;		/*マージン*/
        }