@charset "UTF-8";

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

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

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

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

/* リンク */
a {
    text-decoration: none;
    font-weight: bold;
    color: #7ca1c1;
}

/* コンテナ */
#wrap {
    margin-top: 5em;
}

/* ヘッダー */
header {
    position: relative;
    margin: 0 auto;
    padding: 2em 0;
    width: 260px;
    height: 260px;
    background-color: #fff;
    box-shadow: 0 0 15px #e0e0e0;
}

/* 枠線 */
header::before {
    position: absolute;
    display: block;
    content: '';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 270px;
    height: 270px;
    border: 2px solid #fff;
}

/* ヘッダー画像 */
header img {
    width: 100px;
    height: auto;
}

/* 見出し */
header h1 {
    position: absolute;
    bottom: -0.7em;
    right: -0.8em;
    transform: rotate(-5deg);
    letter-spacing: 0;
    font-family: 'La Belle Aurore', cursive;
    font-size: 2.5em;
    color: #596da5;
}

/* 補足情報 */
aside {
    margin: 3em auto 1.5em;
    padding: 1em;
    width: 270px;
    background-color: #fff;
    text-align: justify;
    word-break: break-all;
}

/* 枠線テキスト */
aside span {
    padding: 0.1em 0.5em;
    border: thin solid #7ca1c1;
    color: #7ca1c1;
}


/* メインコンテンツ */
main {
    margin: 1.5em auto;
}

/* セクション */
section {
    margin: 1.5em auto;
    padding: 1em;
    width: 650px;
    background-color: #fff;
    text-align: justify;
    word-break: break-all;
}

/* セクション見出し */
section h2 {
    margin-bottom: 0.3em;
    font-size: 1.2em;
}

/* 見出し背景色テキスト */
section h2 span {
    padding: 0 0.3em;
    background-color: #7ca1c1;
    font-family: 'Jost', 'Noto Serif JP', serif;
    color: #fff;
}

section h3 {
  font: 1em 'Shippori Mincho B1', serif;
  background: url(img/oldpaper.png) repeat;
  border: 1px solid rgba(124, 162, 193, 0.46);
  box-shadow: 4px 4px 0 rgba(124, 162, 193, 0.2);
  width: 200px;
  margin: 20px 0;
  padding: 3px 8px;
  text-align: center;
}
h3::first-letter {
  color: #7ca1c1;
}


h4 {
  display: flex;
  font: 1em 'Shippori Mincho B1', serif;
  font-weight: 400;
  align-items: center;
  gap: 10px;
		padding: 0.25em;
		font-size: 1.1em;
		margin: 2.0em 0 0.5em 0;
}

h4::before {
  display: inline-block;
  content: "";
  width: 15px;
  height: 1px;
  background-color: #444;
}

/* 見出し背景色テキスト */
h5 span {
    padding: 0 0.3em;
    background-color: #7ca1c1;
    font-family: 'Jost', 'Noto Serif JP', serif;
    color: #fff;
}

h5 {
  font: 1.5em 'Shippori Mincho B1', serif;
  margin: 20px 0;
  padding: 3px 8px;
text-align:left
}
h5::first-letter {
  color: #7ca1c1;
}


mark {
    display: inline-block;
    padding: .1rem .5rem;
    margin: 0rem 0;
    background: linear-gradient(transparent 10%, #e5ecf3 10%);
    text-shadow: none;
}

/* アクセント文字色 */
section p span {
    padding: 0.1em 0.5em;
    border: thin solid #7ca1c1;
    color: #7ca1c1;
}

em {
 font-style: normal;
    border-bottom: thin dashed; 
}

/* 線 */
section .line {
    margin: 0.5em auto;
    width: 80%;
    height: 1px;
    border-top: thin dashed #444;
}


/* 折り畳みボックス */
details summary {
    list-style: none;
    margin : 8px 0;
}

details summary::-webkit-details-marker {
    display: none;
}

details p {
 animation: fadeIn 0.5s ease;
}

summary {
    cursor: pointer;
}

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

/* アーティクル */
article {
    margin: 3em auto;
    padding: 3em 1.5em;
    width: 700px;
    background-color: #fff;
}

/* アーティクル見出し */
article h1 {
    position: relative;
    margin: 0 auto 1em;
    width: 210px;
    height: 210px;
    border: thin solid #7ca1c1;
    font-size: 1.3em;
    margin-bottom: 80px;
}

/* 見出しテキスト */
article h1 span {
    position: absolute;
    display: inline-block;
    letter-spacing: 0.2em;
    color: #7ca1c1;
}

article h1 img {
    width: 100px;
    height: auto;
}


/* 横書き */
article h1 span.yoko {
    top: 0;
    right: 2px;
}

/* 縦書き */
article h1 span.tate {
    top: 1.5em;
    right: 0;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
}

/* アーティクル段落 */
article p {
    margin: 1em auto 1.5em;
    line-height: 2;
  text-align: left;
}

/* アニメーション */
@keyframes FadeIn {
    0% {
        opacity: 0;
    }

    100% {

        opacity: 1;
    }
}

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

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

    /* コンテナ */
    #wrap {
        margin: 5em auto;
        max-width: 1000px;
    }

    /* フロートの解除 */
    #wrap::after {
        display: block;
        content: '';
        clear: both;
    }

    /* メインコンテンツ */
    main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        padding-left: 3em;
    }

    /* セクション */
    section {
        margin-left: 0;
        margin-right: auto;
        width: 100%;

    }

    /* アーティクル段落フォントサイズ */
    article p {
        font-size: 11px;
    }
}

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

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

    /* リンクホバーエフェクト */
    a {
        display: inline-block;
        transition: .3s;
        transform: scale(1);
    }

    a:hover {
        transform: scale(1.05);
        text-shadow: 0 0 3px #7ca1c1;
        color: transparent;
    }

    /* コンテナ */
    #wrap {
        max-width: 1000px;
    }

    /* ヘッダーコンテナ */
    #headerwrap {
        float: left;
    }

    /* メインコンテンツ */
    main {
        padding-left: 3em;
    }

    /* セクション */
    section {
        margin-left: 0;
        margin-right: auto;
        width: 100%;
    }

    /* アーティクル段落フォントサイズ */
    article p {
        font-size: 13px;
    }
}

	::-webkit-scrollbar{
   width: 8px;
}
::-webkit-scrollbar-track{
   background-color: #f2f2f2;
}
::-webkit-scrollbar-thumb{
   background-color: #ffffff;
}

/* アバウトリンク */
.link_list {
  display: grid;
  grid-template-columns: auto 1fr;
  margin-bottom: 20px;
}
.link_list dt {
  background: rgba(124, 162, 193, 0.46);
  margin: 0 25px 10px 0;
  padding: 0px 5px;
}

/* 展示リスト 横並び */
.list_inline li {
  padding-right: 5px;
  display: inline;
}
.list_inline li:not(:last-child):after {
  content: "|";
  padding-left: 10px;
  opacity: .5;
  position: relative;
  top: -1px;
}
.list_inline li:last-child {
  border: none;
}

hr {
    margin: 0.5em auto;
    width: 80%;
    height: 1px;
    border-top: thin dashed #444;
    margin-top: 60px;
}

.text_nav {
  list-style: none;
  text-align: center;
  margin-top: 30px;
}
.text_nav li {
  display: inline-block;
  margin-right: 20px;
}
.text_nav li:last-child {
  margin-right: initial;
}