<style>
@charset "UTF-8";

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

/* ウェブフォントの読み込み */
@font-face{
  font-display: swap;
}

/*-------------------------------------------------
このフォントはIPAフォントライセンスv1.0の下で提供されています。
http://ipafont.ipa.go.jp/ipa_font_license_v1.html
オリジナルのフォントは以下から取得できます。
http://ipafont.ipa.go.jp/
http://mplus-webfonts.osdn.jp/
-------------------------------------------------*/

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

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

/* 背景固定 */
body::before {
    position: fixed;
    content: '';
    display: block;
    z-index: -100;
    top: 0;
    left: 0;
    width: 100%;
    height: 110vh;
    background-color: #000;
    background-image: url('../img/back_top2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
}

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

a:visited {
    color: #99004d;
}

a:focus-visible {
  outline-style: dotted;
  outline-color: white;
}

/* コンテナ */
#wrap {
    margin: 5em auto 3em;
}

/* ヘッダー */
header {
    position: relative;
    display: inline-block;
    margin: 0em auto 4em;
    width: 250px;
    height: 300px;
    color: #000;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.3);
}

/* ヘッダーの中身 */
header #head {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
}

header p {
    position: relative;
    width: 190px;
    text-align: center;
    font-size: 0.8em;
}

/* 画像サイズ */
header img {
    margin: 2em auto 2em;
    width: 130px;
    height: auto;
}

section p img {
    margin-right: 0.5em;
    width: 12px;
    height: auto;
}

/* 見出し */
header h1 {
    font-size: 1em;
    letter-spacing: 0.2em;
    font-weight: normal;
    color: #000;
}

/* ナビゲーション */
nav ul {
    list-style-type: none;
}

nav ul li {
    margin: 0.5em auto 1em;
    border-bottom: 1px dotted #000;
}

nav ul li a {
    border-bottom: none;
}

/* メイン */
main {
    text-align: left;
    margin: 0 auto;
    width: 80%;
    color: #000;
}

/* メイン直下のセクション */
main > section {
    text-align: justify;
    z-index: -10;
    margin: 1em auto;
    top: -10;
    word-break: break-all;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.3);
}

/* 見出し */
h2 {
    text-indent: 0.2em;
    position: relative;
    color: #fff;
}


/* セクション内セクション */
section > section {
    margin: -1em auto 0em;
    width: 88%;
    font-size: 0.9em;
}

section > ul section {
    margin: -1em auto 0em;
    width: 88%;
    font-size: 0.9em;
}

/* 文字サイズ */
section > section p {
    font-size: 0.5em;
}

.pclap{
    font-size: 0.9em;
    color:#fff;
    vertical-align:middle;
}

.pclap span{
    padding:0 0.1em;
}

/* セクション内共通 */
section p {
    margin: 1em 1.5em 1em;
    font-size: 0.9em;
}

section p span {
    display: inline-block;
    border-bottom: 1px dotted #000;
    line-height: 1;
}

#main p{
    margin: 0 1.5em 1em;
}

section mark {
    padding: 0.1em 0.4em;
    background-color: #efefef;
}


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

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

section dd {
    margin-left: 1em;
}

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

section ul li a {
    margin: auto;
    margin-left: 1em;
}

/* リンク */
section .link {
    display: inline-block;
    margin: 0.2em auto;
    padding: 0.1em 0.5em;
    color: navy;
}

section .boxlink {
    display: inline-block;
    margin: 0.5em auto;
    padding: 0.2em 1em;
    background-color: #efefef;
    border: 1px solid #000;
    font-family: 'La Belle Aurore', cursive;
}

/* 中央寄せ */
.center {
    text-align: center;
}

/* 左寄せ */
.left {
    text-align: left;
    font-size: 0.8em;
}

/* 下ライン */
.underbar {
    border-bottom: 1px dotted;
    width: 110%;
}


/* 更新履歴 */
#update {
    margin: 1em auto 3em;
    width: 85%;
}

#update h2 {
    margin: 1em auto 0em;
    padding: 0.1em 0.4em;
    font-size: 1.8em;
}

#update img {
    margin: 1em auto 0em;
    width: 80px;
    height: auto;
}

#update section {
    text-align: justify;
    margin: 1em auto;
    word-break: break-all;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.3);
    color: #000;
}

/* 返信 */
#response
h2 {
    margin: 1em auto 0em;
    padding: 0.1em 0.4em;
    font-size: 1.8em;
}

#response section{
    margin: 1em auto auto;
    font-size: 0.9em;
    width: 90%;
}

#response section dl{
    margin: 0.5em auto 0;
}

#response .acMenu dt{
    position: relative;
    cursor: pointer;
    padding: 0.2em 1em;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.5);
    color:#cc0066;
    display: inline-block;
}

#response .acMenu dd{
    display:none;
    padding: 0.5em 0 0;
    text-align: left;
}

#response .acMenu div, .hide{
    display:none;
}

input[type=text],
input[type=submit]{
    -webkit-appearance: none;
    padding: 0em 0.5em;
    background-color: #fff;
    border: thin solid #fff;
    border-radius: 0;
}

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

input[type=text]:focus {
  outline: none;
}

input[type=submit] {
    width: auto;
    color: #000;
    background-color: #f5f5f5;
}

input[type=submit]:active {
    color: #fff;
}

input[type=submit]:focus-visible{
  outline-style: solid;
  outline-width: medium;
  outline-color: black;
}

input[type=radio] {
    vertical-align:middle;
}

input[type=radio]:focus-visible{
  outline-style: dotted;
  outline-color: white;
}

p input[type=submit] {
    margin:0.3em 0;
}

/* 拍手 */
#clap{
/*    text-align:center; */
    margin: 0.5em auto;
}

input.clap_name {
    -webkit-appearance: none;
    width: 10em;
    max-width: 400px;
    height: 1.6em;
    font-size: 1.1em;
    margin:0.3em 0 0.5em 0;
    padding: 0em 0.3em;
    border: thin solid #fff;
    border-radius: 0;
}

.clap_textarea {
    resize: none;
    width: 90%;
    max-width: 400px;
    height: 100px;
    font-size: 1.1em;
    margin:0 0 -0.2em 0;
    padding: 0.1em 0.3em;
    border: thin solid #fff;
    border-radius: 0;
}

.clap_textarea:focus {
  outline: none;
}

.clap_select{
    -moz-appearance: menulist;
    -webkit-appearance: menulist;
    appearance: menulist;
    margin:0 0 0.3em 0;
    background-color: transparent;
    border:none;
    border-radius: 0;
    border-bottom: solid 1px #fff;
    color: #fff;
    font-size: 1.1em;
}

.clap_select:focus-visible {
  outline-style: dotted;
  outline-color: white;
}

.clap_select option{
    background-color: #fff;
    color: #000;
}

.hidden {
  display: none;
}

span.message {
  padding: 0.8em 0.8em;
  border-radius: 10px;
  background: rgba(255,255,255,1);
  color: #000;
  font-size: 1.2em;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1.5em;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.popup-message {
  animation: popup 2.5s forwards;
}

@keyframes popup {
  0% {
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    pointer-events: none;
  }
}

/* フッター */
footer {
    position: relative;
    margin: 2em auto auto;
}

@media screen and (max-width:500px) {
    span.message {
        width:60%;
    }
}

/* 横幅1024px以上で読み込む */
@media screen and (min-width:1024px) {
    #wrap {
        margin: 5em auto 3em;
        max-width: 1000px;
    }
    
    #wrap::after {
        display: block;
        content: '';
        clear: both;
    }

    header {
        margin-left: 2em;
        float: left;
    }

    main {
        overflow: hidden;
        width: calc(85% - 250px);
    }

    #clap{
        text-align:left;
    }
    
}
</style>