@charset "UTF-8";

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

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Opti:wght@500&family=Noto+Serif+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC&family=BIZ+UDMincho&family=Dela+Gothic+One&family=IBM+Plex+Sans+JP:wght@300;400&family=Murecho:wght@100..900&family=Noto+Serif+JP:wght@200&family=Noto+Serif+TC:wght@200&family=Shippori+Mincho&family=Shippori+Mincho+B1&family=Zen+Maru+Gothic:wght@300&family=Zen+Old+Mincho&family=Zeyada&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1&family=Pacifico&family=Yusei+Magic&display=swap');

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

:root {
    --main-color: #915C84;
    --sub-color: #C0A2C7;
    --font: 'Kaisei Opti', serif;
    --light-color: #fff;
}

/* 基本設定 */
body {
    background-color: #fff;
    border-top: 10px solid var(--main-color);
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 15px;
    color: #000;
}

summary {
  list-style-image: url(m.gif);
}


/* リンク */
a {
    text-decoration: none;
    color: var(--color);
    transition: .5s all;
    background: linear-gradient(transparent 75%, #A8BF93 75%);
}

}

a:visited {
    color: var(--color);
}

a:hover,
a:visited:hover {
    color: var(--black);
}

/* ヘッダー */

header {
    position: relative;
    margin: 0;
    padding: 0 0 0 0;
    width: 100% ;
    height: 98%;
    border: 0px solid var(--sub-color);
    vertical-align: middle;
    background-image: url(img/top.png);
    background-size:  auto 100%;
    background-position: right 50% bottom  ;
    background-repeat: no-repeat;
}

#headerbox {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); 
    width: 100%;
    height:  80%;
    background-image :url(img/);
    background-size: 50vh auto;
    background-position: center 20%;
    background-repeat: no-repeat;
    
}

/* ヘッダー画像 */
#headerbox img {
    width: 30vh;
    transform: rotate(0deg);   
}

/* 大見出し */
header h1 {
    position: relative;
    margin: 0 auto;
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    font-family: var(--font);
    color: var(--sub-color);
    width: 100%;
    height: 96%;
}


/* メインコンテンツ */
main {
    padding: 3em;
    background-color: var(--main-color);
    text-align: justify;
    word-break: break-all;
    color: var(--light-color);
}

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

/* 小見出し */
section h2 {
    position: relative;
    padding-left: 20px;
    font-family: var(--font);
}

section h2::before {
    position: absolute;
    display: block;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: repeating-linear-gradient(90deg, var(--light-color) 0, var(--light-color) 3px, transparent 3px, transparent 6px);
}

/* セクション内リンク */
section a {
    color: var(--light-color);
}

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

section ul {
    margin-left: 0.5em;
    padding-left: 0.5em;
    list-style-type: none;
    border-left: thin solid var(--light-color);
}

section ol {
    list-style-position: inside;
    list-style-type: cjk-ideographic;
}

section ul.yoko li {
    display: inline-block;
}

mark {
  line-height: 1;
  font-size: 14px;
  padding: 2px 0;
  margin: 0 7px;
  background: rgba(230, 210, 210, 0.37);
}
mark::after {
  content: "";
  margin: 0 7px;
}


/* アーティクル */
article {
    margin: 3em auto;
    width: 80%;
    max-width: 600px;
    text-align: justify;
    word-break: break-all;

}

article h1 {
    position: relative;
    padding-left: 25px;
}

article h1::before {
    position: absolute;
    display: block;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 15px;
    height: 20px;
    background: repeating-linear-gradient(90deg, var(--main-color) 0, var(--main-color) 3px, transparent 3px, transparent 6px);
}

/* メニュー */
.menu {
    text-align: center;
    margin: 1em auto 1.5em;
}

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

/* 文字色 */

.menu li a {
    display: inline-block;
    padding: 0.3em 0.5em;
    text-decoration: none;
    background-color: #7EBEA5;
    color: #fff;
}


/* フォーム系 */
textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.2em 0.5em;
    background-color: var(--sub-color);
    border: none;
    border-radius: 5px;
    color: var(--light-color);
}

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: 15px;
    }
}

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

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

    main {
        padding: 3em 30%;
    }
}
