<style>
@charset "UTF-8";

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

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Meddon|Noto+Serif+JP&display=swap');

@font-face {
    font-family: 'XANO明朝';
    font-display: swap;
    src: url('https://cdn.leafscape.be/XANO-mincho/XANO-mincho_web.woff2') format("woff2");
}

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

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

/* リンク */
a {
    text-decoration: none;
    color: #16859a;
}

/* ヘッダー */
header {
    position: relative;
    margin: 3em auto;
    max-width: 500px;
}

/* ヘッダー画像 */
header img {
    display: block;
    width: 80%;
}

/* ヘッダー見出し */
header h1 {
    position: absolute;
    top: 50%;
    right: 0.5em;
    text-shadow: 1px 1px 0 #fff;
    letter-spacing: 0;
    font-family: 'Meddon', 'XANO明朝', serif;
    font-size: 1.5em;
}

/* 見出し線 */
header h1::before {
    position: absolute;
    display: block;
    content: '';
    top: 50%;
    right: 110%;
    width: 70%;
    height: 1px;
    background-color: #000;
}

/* セクションとアーティクル */
section,
article {
    margin: 3em auto;
    width: 80%;
    text-align: justify;
    word-break: break-all;
}

/* ボディ直下のセクション */
body > section {
    max-width: 500px;
}

/* 折り畳みボックス */
#AboutToggle {
    color: #808080;
}

/* 段落 */
#About p {
    margin: 0.5em auto;
    font-size: 0.9em;
    color: #808080;
}

/* セクション */
section {
    margin: 3em auto;
}

/* セクション見出し */
section h2 {
    display: inline-block;
    margin-bottom: 0.8em;
    padding: 0.5em 0.5em 0;
    border: thin solid #808080;
    letter-spacing: 0;
    font-family: 'Meddon', 'XANO明朝', serif;
    font-size: 1em;
    color: #808080;
}

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

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

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

section ul.yoko li a {
    padding: 0.1em 0.4em;
    background-color: #16859a;
    color: #fff;
}

section ol {
    list-style-position: inside;
}

section li {
    margin: 0.3em auto;
}

/* アーティクル */
article {
    max-width: 500px;
}

/* アーティクル見出し */
article h1 {
    position: relative;
    margin-bottom: 2em;
    text-align: center;
    font-family: 'XANO明朝', serif;
}

/* 線 */
article h1::before {
    position: absolute;
    display: block;
    content: '';
    bottom: -0.5em;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #000;
}

/* メニュー */
article .menu {
    text-align: center;
}

article .menu li {
    display: inline-block;
    margin: 0 1em;
}

/* 余白 */
article .menu,
p,
footer {
    margin: 1em auto 1.5em;
}

/* フッター */
footer p {
    font-size: 0.9em;
    color: #769cb9;
}

/* 重要事項 */
strong {
    font-weight: bold;
    color: red;
}

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

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

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

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

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

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

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

    /* メイン直下のセクション */
    main > section {
        margin: 3em 0;
        flex-basis: 48%;
    }
}

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

    /* リンクホバーエフェクト */
    a {
        position: relative;
        display: inline-block;
        transition: .3s;
    }

    a::after {
        position: absolute;
        bottom: 0;
        left: 0;
        content: '';
        width: 0;
        height: 1px;
        background-color: #16859a;
        transition: .3s;
    }

    a:hover::after {
        width: 100%;
    }

    /* メインコンテンツ */
    main {
        max-width: 1000px;
    }

    /* 横並びリンクホバー */
    section ul.yoko li a:hover {
        transition: all 0.5s;
        background-color: #fff;
        color: #16859a;
    }
}

form.changeName fieldset{ 
   text-align: center;
   display: flex; 
   border-style: none;
   flex-flow: row wrap;
   gap: 10px; /* 要素間のスペ―ス（必要なら） */
}
    /* https://ninawas.me/100000/blue/index.html*/
</style>