@charset "utf-8";

/* @import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic&display=swap'); */
/* フォントのライセンス表記 */
/*
'Nanum Gothic' is licensed under the Open Font License.
https://fonts.google.com/specimen/Nanum+Gothic
*/


/* 基本設定 */
:root{
  --heading: #020826; /* 見出し、主線 */
  --paragraph: #716040; /* パラグラフ */
  --caption: #8e7b6f; /* キャプション */
  --background: #f9f4ef; /*背景色*/
  --secondary: #eaddcf; /*2番目に強い*/
  --highlight: #f25042; /* 1番目に強い */
  --white: #fffffe; /* 白色 */
  --button: #8c7851;
}


html {
    background: #f9f4ef;
    font-size: 62.5%!important;
}
body {
    min-height: 100vh;
    font-size: 1.4rem;
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', sans-serif;
    letter-spacing: 0.05em;
    line-height: 2;
    color: #716040;
    word-break: break-word;
/* justify-content: center;
    align-items: center;
    display: flex; */
    margin: 0;
}

ul {
    list-style: none;
}


/* フォント指定まとめて */
h2,
h3,
h4,
.nav,
.navTrigger {
    /* font-family: 'Nanum Gothic', 'メイリオ', 'ヒラギノ角ゴ', sans-serif; */
    font-weight: normal;
    color: #020826;
}


/* 見出し、強調 */
h2 {
    margin: 40px 0 30px;
    padding-bottom: 30px;
    font-size: 1.5em;
    text-align: center;
    border-bottom: 1.5px solid #020826;
}
h2:first-of-type {
    margin-top: 0;
}
h3 {
    margin: 20px 0 15px;
}
h3 > span {
    display: inline-block;
    padding: 2px 10px;
    background: #eaddcf;
}
h4 {
    margin: 15px 15px;
}
h4 > span {
    padding: 5px 5px;
    border-bottom: #243444 solid 1px;
}
/* em {
    background: #fff;
    text-decoration: underline;
} */
strong {
    background: #f25042;
    color: #fffffe;
}

small {
    font-size: smaller;
}


/* フォーム関連基本設定 */
textarea,
input[type] {
    background: #fff0;
    border: #020826 solid 1px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 100%;
}
.form .enter {
    padding: 3px;
    margin-bottom: 5px;
}
.form .button {
    padding: 3px 10px;
    margin-bottom: 5px;
    border: #243444 solid 1px;
    box-sizing: border-box;
}


/* 段落、余白、リンク */
p {
    margin: 0 2em;
}
.box {
    padding: 50px 40px;
    margin: 30px 0;
    border: solid #020826 2px;
    border-radius: 0.3rem;
    background: #fffffe;
    box-sizing: border-box;
}
/* .box::before {
    content: '';
    display: block;
    width: 2.8em;
    height: 2.8em;
    margin: 0 auto 10px;
    background: url('../img/design81.svg') center / contain no-repeat;
} */

.box:first-of-type {
    margin-top: 0;
}

.space {
    padding: 1em 30px;
}

hr {
    border-top: 1.5px solid #020826;
    margin: 3em 0;
}

.update-record {
    margin-left: 1.5rem;
    opacity: 0.7;
    font-size: smaller;
    text-decoration: none;
    text-align: right;
}

.update-record:before{
    font-family: 'Phosphor';
    content: "\e19e";
}



.allWrap {
    margin: 5vh 0;
}

.mainWrap {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 5vh auto;
    z-index: 2;
}
a {
    color: #f25042;
    transition: .3s;
text-underline-offset: 2px;
}
.mainWrap a {
    color: #f25042;
    text-decoration: underline;
} 
/* .box a:hover {
    filter: blur(1px);
} */

a.color_reset {
    color: #020826;
}

/* メインコンテンツ */

/* 長編リスト */
.longList {
    display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 40px 30px;
    margin: 30px;
}
.longList-child a {
    display: flex;
    /* grid-template-columns: 100px 1fr; */
    grid-template-rows: minmax(1.2em, auto) 1fr;
    gap: 0 10px;
    min-height: 100px;
    color: #243444;
    text-decoration: none;
}

.longList-child:last-of-type {
    margin: 0;
}

/* ↓グリッド設定 */

.caption {
    width: 100%;
}

.longList a > img {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.longInfo {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    /* font-size: 1.3rem; */
    margin: 1em;
    color: var(--paragraph);
}

div.thumb {
    position: relative;
    white-space: nowrap;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    max-width: initial;
}

p.number {
    position: absolute;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    right: 7px;
    top: 7px;
    padding: 0px 7px;
    border-radius: 0.3em;
    margin: 0px;
    z-index: 1;
    font-size: 1.2rem;
}

p.number:before {
    content: "\e836";
    font-family: 'Phosphor-Fill';
    margin-right: 0.1rem;
}

.thumb > figure {
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 0.3rem;
    border: 1px solid var(--secondary);
}

.longTitle {
    color: var(--highlight);
    font-size: 1.5rem;
    text-decoration: underline;
}

/* 短編リスト */
.shortList {
    columns: 2;
}
.shortList li {
    margin-bottom: 5px;
    color: #999;
    break-inside: avoid;
    page-break-inside: avoid;
}
.shortList li a {
    margin-right: .5em;
}

/* 注意マーク */
.caution::after {
    content: '*';
    display: inline;
    color: #ea7781;
}


/* ヘッダー */
.mainHeader {
    position: relative;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    margin: auto;
    background: #fffffe;
    border: solid #020826 2px;
    border-radius: 5px;
    box-sizing: border-box;
    text-align: center;
}

.sub-pageHeader {
    color: #020826;
    text-align: center;
}

h1 {
    position: relative;
    font-size: 2em;
    z-index: 2;
}
/* .mainHeader::before {
    content: '';
    display: block;
    width: 90px;
    height: 90px;
    margin: 20px auto;
    background: url('') center / contain no-repeat;
} */
.site-address {
    font-size: 1rem;
    letter-spacing: 2px;
}
.headerNav {
    margin-top: 30px;
}
.headerNav li {
    margin-bottom: 5px;
    font-size: 1.1em;
}
.header a {
    color: #020826;
}


/* ナビゲーション（ハンバーガーメニュー） */
.mainNav {
    position: fixed;
     top: 0;
    opacity: 0;
    transition: .5s;
    visibility: hidden;
    z-index: -1;
}
.mainNav a {
    color: #243444;
    text-decoration: none;
}
.mainNav::before {
    content: '';
    display: block;
    position: absolute;
     top: 0;
     left: 0;
    width: calc(100vw + 400px);
    height: 100vh;
    transform: translateX(-400px);
}
.mainNav ul {
    width: 300px;
    height: 100vh;
    padding: 30vh 50px;
  background: -moz-linear-gradient(left, transparent, 20%, var(--white));
  background: -webkit-linear-gradient(left, transparent, 20%, var(--white));
    background: linear-gradient(to right, transparent, 20%, var(--white));
    backdrop-filter: blur(2px);
    box-sizing: border-box;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2;
    /* box-shadow: 0 0 10px -5px; */
}
.mainNav li {
    margin: 40px 0;
}
.mainNav li a {
    display: block;
    padding: 10px;
    font-size: 1.15em;
}

nav#mainNavClone {
    display: inline-block;
}

nav#mainNavClone ul {
    display: flex;
    gap: 1em;
}

nav#mainNavClone a{
    text-decoration: none;

}

/* リスト */
ul {
    list-style: none;
}

.list {
    margin: 10px 0 10px 20px;
}

.list li {
  position: relative;
  margin-left: 16px;
  margin-bottom: 10px;
}

.list li::before {
  position: absolute;
  top: 1rem;
  left: -16px;
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

/* ナビゲーション開閉 */
.navTrigger {
    position: fixed;
     top: 20px;
    font-size: 1rem;
    opacity: 0;
    text-transform: uppercase;
    transition: .5s;
    visibility: hidden;
    z-index: 3;
}
.navTrigger a {
    display: inline-block;
    position: fixed;
    /* border: solid #020826 1.5px; */
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    font-size: 26px;
    text-align: center;
    text-decoration: none;
    background: var(--button);
    width: 50px;
    height: 50px;
    top: auto;
    bottom: 30px;
    right: 30px;
}
.navTrigger a::before {
    content: "\ebca";
    font-family: "Phosphor-Bold" !important;
    position: relative;
    z-index: 2;
    top: -1.25px;
}

/* ↓スクロールに応じてmenuボタンを表示＆子ページで最初から表示 */
.view.navTrigger,
.page .navTrigger {
    opacity: 1;
    visibility: visible;
}

/* ↓クリックで開いたとき */
.mainNav.open {
    z-index: 0;
    opacity: 1;
    visibility: visible;
}
.open.navTrigger a::before {
    content: "\eddb";
    font-family: "Phosphor-Bold" !important;
    position: relative;
    z-index: 2;
    top: -1.25px;
}


/* フッター（削除OK※デフォルト非表示） */
.mainFooter {
    /* display: none; */
    margin: 5vh 0;
    font-size: 1rem;
    text-align: center;
    opacity: .8;
}
/* .mainFooter a {
    color: #f25042;
} */

.footer_widget {
    text-align: center;
}




/* レスポンシブ調整用 */
@media(max-width:1500px) {
    .longList {
        display: block;
    }
    .longList-child {
        margin-bottom: 30px;
    }
    .longList-child a {
        /* display: inline-grid; */
        gap: 0 4vw;
        width: auto;
    }
    .shortList {
        columns: 1;
    }
}


@media only screen and (min-width: 768px){
.navTrigger a {
    display: none;
}
}

@media(max-width:800px) {
    /* body {
        font-size: 1.1rem;
    } */
    h4 {
        margin: 15px 0;
    }
    p {
        margin: 0 .5em;
    }
    .box {
        padding: 40px 20px;
    }
    .space {
        margin: 10px;
    }
    .mainWrap {
        width: 95%;
        max-width: 600px;
        min-width: 250px;
    }
    .longList {
        margin: 30px 0;
    }
    .longList-child {
        margin-bottom: 50px;
    }
    .longList-child a {
        /* grid-template-columns: 80px 1fr; */
        grid-template-rows: minmax(1.2em, auto) 1fr;
        min-height: 70px;
    }
    .thumb > figure {
        width: 150px;
        height: 150px;
    }
    /* .mainHeader {
        width: 70%;
        min-width: 250px;
    } */
    .mainHeader::before {
        width: 70px;
        height: 70px;
    }
    .mainNav::before {
        background: #fffb;
        backdrop-filter: blur(2px);
    }
    .mainNav ul {
        /* background: #fff0; */
        backdrop-filter: none;
    }
    .navTrigger a {
        transform: translateX(-10px);
    }
    .navTrigger a::after {
        content: '';
        display: block;
        position: absolute;
         top: 35%;
         left: 10%;
        width: 80%;
        height: 30%;
        background: #fff0;
        backdrop-filter: blur(2px);
        filter: blur(5px);
    }
}


blockquote {
    background: var(--background);
    padding: 15px;
}


/* ボタンのデフォルトスタイル */
.btn a {
    width: 100%;
    padding: 10px;
    margin-top: 2em;
    background: var(--button);
    color: var(--white);
    box-sizing: border-box; /* ボックスモデルがパディングを含むように調整 */
    display: inline-block;
    text-align: center;
    position: relative;
    text-decoration: none;
    font-weight: normal;
    border-radius: 3px;
    border: 1px solid;
    cursor: pointer;
}

/* メディアテキストのスタイル */
.img-text {
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 40% auto;
    margin-bottom: 5em;
}

@media only screen and (min-width: 768px){
.img-text {
    margin-left: 30px;
}
}

.img-text:last-of-type {
    margin-bottom: 0;
}

.img-text .img-text__text,
.img-text .img-text__img {
    align-self: start;
}

.img-text .img-text__img,
.img-text .img-text__text {
    grid-row: 1;
}

.img-text__text p {
    margin: 0;
}

.img-text .img-text__img {
    grid-column: 1;
    margin: 0;
}

.img-text .img-text__text {
    grid-column: 2;
    padding: 0 7%;
    word-break: break-word;
}

/* モバイルビューのスタイル */
@media (max-width: 600px) {
    .img-text {
        grid-template-columns: 100%!important;
    }

    .img-text .img-text__img,
    .img-text .img-text__text {
        grid-column: 1;
        grid-row: 1;
    }

    .img-text .img-text__text {
        grid-row: 2;
    }

    .img-text__text p {
        margin: 2em 0;
    }
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.comic-thum {
object-position: top!important;
}

.mainWrap-narrow {
    margin: 5vh auto;
}

@media (min-width: 913px){
.mainWrap-narrow {
    max-width: 600px;
}
}

@media (max-width: 912px){
.mainWrap-narrow {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

LINK

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/* .linklist__item a {
  text-decoration: none;
} */

ul.linklist{
gap:0;
margin-left: 2em;
}

li.linklist__item {
    display: inline;
}

li.linklist__item::after {
    content: '｜';
    margin: 0 -4px 0 1px;
}

li.linklist__item:last-of-type::after {
    content: none;
}