<meta charset="UTF-8"><!-- 文字コードの指定 -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"><!-- レスポンシブ用 -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Overpass:wght@300..500&display=swap"><!-- GoogleFonts -->
<style type="text/css">
/* フォントのライセンス表記 */
/*
'Overpass' is licensed under the Open Font License.
https://fonts.google.com/specimen/Overpass
*/


/* リセットCSS */
/*
YUI 3.18.1 (build f7e7bcb)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/

html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:bolder}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;font-size:100%;}legend{color:#000}#yui3-css-stamp.cssreset{display:none}



/* 基本設定 */
:root {
    --lightColor: #e8edee;
    --darkColor: #314657;
}
html {
    background: transparent;
    font-size: 62.5%;
}
body {
    background: #f4f4f4;
    color: #000;
    min-height: 100vh;
    font-size: 1.3rem;
    font-family: 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    letter-spacing: .15em;
    line-height: 1.9;
}
a {
    text-decoration: none;
    color: #af7c3f;
}

/* フォント指定まとめて */
h2,
h3,
h4,
.navs,
.mainHeader,
.siteName,
.arch {
    font-family: 'Overpass','メイリオ', 'ヒラギノ角ゴ', sans-serif;
    font-weight: 300;
}



/* 見出し */

h2 {
    display: flex;
     align-items: flex-end;
     gap: 5px;
    position: relative;
     left: -30px;
    margin: 20px 0 10px;
    padding: 10px 0 20px;
    box-sizing: border-box;
    font-size: 1.4em;
    letter-spacing: .2em;
}
h2 > span {
    margin: auto 0 5px;
}
h2::after {
    order: -1;
    content: '';
    display: block;
    position: relative;
    width: 1px;
    height: 80px;
    margin-right: 5px;
    border-left: var(--darkColor) solid 1px;
    box-sizing: border-box;
    transform: translateY(8px) rotate(30deg);
}
.h2-count {
    counter-reset: count;
}
.h2-count h2::before {
    counter-increment: count;
    content: counter(count, decimal-leading-zero);
}
h2 > span,
.h2-count h2::before {
    order: -2;
    margin: 10px 0 auto;
    font-size: 1.2em;
}
.h2-count .h2-plain::before {
    content: none;
}
h3 {
    padding-left: 1rem;
    margin: 20px 0 15px;
    font-size: 1.2em;
}
h2 + h3 {
    margin-top: 0px;
}
h3 > span {
    display: inline-block;
    padding: 0px 10px;
    background: var(--lightColor);
    box-sizing: border-box;
}
h4 {
    margin: 20px 20px 15px;
    font-size: 1.1em;
}
h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 1em;
    background: #000;
}
/* 日本語用サイズ調整 */
.ja {
    font-size: 90%;
    line-height: 2.4;
}



/* リスト */

ul,
ol {
    list-style: none;
}

/* 横並び（ブックマーク） */
.list {
    display: flex;
    gap: 15px;
}

/* 項目ごと（SNS） */
.list2 {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    gap: 15px 10px;
}
.list2 dt {
    padding: 0 10px;
    border-right: var(--darkColor) solid 2px;
    text-align: center;
}



/* フォーム系 */

input[type],
textarea {
    -webkit-appearance: none;
    appearance: none;
    border: var(--darkColor) solid 1px;
    border-radius: 0;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
}
.enter {
    padding: 5px;
}
.button {
    padding: 5px 10px;
    background: var(--lightColor);
}

/* メールフォーム */
.mailForm {
    display: flex;
     flex-direction: column;
    width: 80%;
}
.mailForm .enter {
    margin-bottom: 10px;
}
.mailForm .button {
    margin-right: auto;
}



/* 強調 */

em {
    border-bottom: #fca54d solid 2px;
    font-style: normal;
}
strong {
    background: #eedecf;
}



/* 段落、余白 */

p {
    margin: 0 2em;
}
.box {
    position: relative;
    padding: 10px ;
    margin: 50px 0;
}
.space {
    margin: 30px 2em;
}
*[id^="link_"] {
    scroll-margin: 80px;
}
.column-2 {
    columns: 2;
}

.allWrap {
    position: relative;

    margin: 0 0 10vh 250px;
    box-sizing: border-box;
}
.contentsWrap {
    width: 55%;
     min-width: 600px;
    padding: 50px 0;
    margin: auto;
}



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

/* 名前変換フォーム */
.nameChange .enter {
    width: 10em;
}

/* 長編リスト */
.longList {
    display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 20px 50px;
    position: relative;
    height: 100%;

}
.longList li {
    display: flex;
     flex-direction: column;
     gap: 1rem;
    padding: 20px;
    border-left: var(--darkColor) solid 2px;
    box-sizing: border-box;
}
.longList li > img {
    width: 200px;
    height: 40px;
    background: #ead47e;
    object-fit: cover;
    object-position: center;
}
.longInfo {
    color: #777;
    font-size: 1.1rem;
}

/* 短編リスト */
.shortList {
    columns: 2;
}

h4 + .shortList {
    margin-top: 1em;
}
.shortList li {
    margin-bottom: 3px;
}
.shortList li > span {
    margin-left: 1em;
    color: #777;
}
.shortList a:visited {
    color: #b5a58f;
}


/* 本文ページ */
.textWrap {
    width: 90%;
    margin: 0 auto 10vh;
    font-size: 1.1em;
    line-height: 2;
}
.textWrap h2 {
    margin-left: 1em;
}
.textWrap p {
    text-indent: 1em;
}
.atogaki {
    padding: 40px;
    border-top: var(--darkColor) solid 1px;
    font-size: 1.2rem;
    text-align: center;
}



/* ナビゲーション */

.navs {
    position: fixed;
     top: 0;
    z-index: 3;
    backdrop-filter: blur(2px);
}
.navTrigger {
    display: none;
}

/* サイドナビ（ページ内リンク） */
.sideNav {
    position: fixed;
     top: calc(5vh + 60px);
     left: 100px;
    min-width: 150px;
    height: calc(90vh - 60px);
    transition: .5s;
}
.sideNav::before {
    content: '';
    display: block;
    position: absolute;
     top: 0;
     left: 1px;
    width: 2px;
    height: 100%;
    border-left: #ccc solid 3px;
}
.sideNav li > a {
    display: flex;
     align-items: center;
     gap: 10px;
    position: relative;
    max-width: 150px;
    color: #000;
    transition: .3s;
    word-break: break-all;
    z-index: 2;
}
.sideNav li > .js_active {
    position: absolute;
     left: -1px;
}
.sideNav li > a::before {
    flex-shrink: 0;
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #000;
}
.sideNav li .active {
    color: #baa387;
}

/* メインナビ（ページ外リンク） */
.mainNav {
    display: flex;
     align-items: center;
     gap: 0 20px;
    position: relative;
    width: 100vw;
    height: 60px;
    padding: 10px 0 10px 300px;
    background: #d3d5da7d;
    box-sizing: border-box;
    z-index: 2;
}
.mainNav li {
    font-size: 1.1em;
}
.mainNav li a {
    display: inline-block;
    position: relative;
    padding: 3px 5px;
    color: var(--darkColor);
    font-weight: 500;
}



/* ヘッダー */

.mainHeader {
    display: flex;
     justify-content: center;
     align-items: center;
     gap: 30px;
    min-height: 100vh;
    margin-right: 50px;
    box-sizing: border-box;
}
.mainHeader::after {
    flex-basis: 400px;
    content: '';
    display: block;
    width: 400px;
    height: 400px;
    margin-left: 50px;
    background: url('http://mememo.lsv.jp/mmm/illust/banner%20top/top2.png') center / contain no-repeat;
}

/* 波状文字 */
.wave {
    align-self: flex-start;
    width: 250px;
    text-align: center;
    font-size: 2.5em;
    text-transform: uppercase;
}

.headerInfo {
    display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: flex-end;
     gap: 50px 0;
    height: 100vh;
    padding: 10vh 0 100px;
    box-sizing: border-box;
    text-align: right;
}
.siteName h1 {
    font-size: 1.8em;
    font-weight: normal;
}
.url {
    font-size: 1.1rem;
}



/* フッター（削除OK※デフォルト非表示） */

.mainFooter {
    display: none;
    margin: 15vh 0 10vh;
    font-size: 1rem;
    text-align: center;
    opacity: .4;
}
.mainFooter a {
    color: #baa387;
}


/* レスポンシブ調整用 */
@media(max-width:850px) {
    body {
        background: #fff;
        font-size: 1.2rem;
    }
    h2 {
        left: 0;  
        font-size: 1.2em;
    }
    h2::after {
        height: 50px;
    }

    *[id^="link_"] {
        scroll-margin: 40px;
    }   
    .box {
        padding: 0;
    }
    .allWrap {
        width: 90%;
         min-width: 200px;
         max-width: 500px;
        margin: auto;
    }
    .contentsWrap {
        width: 100%;
        min-width: 200px;
        padding: 10px 0;
    }

    .nameChange .enter {
        width: 7em;
    }
    .longList {
        display: block;
    }
    .longList li {
        padding: 10px 20px;
        margin-bottom: 20px;
    }
    .shortList {
        columns: 1;
    }
    .textWrap {
        font-size: 1em;
    }


    .navWrap {
        display: flex;
         justify-content: space-evenly;
        width: 80vw;
         max-width: 400px;
        height: 100vh;
    }
    .navTrigger {
        display: block;
        position: absolute;
         top: 0;
         left: 100%;

    }
    .view .navTrigger {
        width: calc(100vw - 250px);
        height: 100vh;
    }
    .navTrigger::before {
        content: 'menu';
        display: inline-block;
        height: 40px;
        padding: 0 10px;
        backdrop-filter: blur(2px);
        background: #fffb;
        line-height: 40px;
        text-transform: uppercase;
    }
    .view .navTrigger::before {
        content: 'close';
        color: #777
    }
    .navs {
        background: #fffb;
        transform: translateX(-100%);
        transition: .5s;
    }
    .view.navs {
        transform: translateX(0);
    }
    .sideNav {
        display: flex;
         flex-direction: column;
         align-items: center;
        position: relative;
        top: 10vh;
        left: auto;
        right: 20px;
        width: 40%;
         min-width: 130px;
        font-size: 1rem;
        z-index: 3;
    }
    .sideNav::before {
        right: 0%;
        margin-left: auto;
    }
    .sideNav li a {
        display: flex;
         flex-direction: column;
         align-items: center;
        padding: 0 3px 0 10px;
        box-sizing: border-box;
    }
    .sideNav li a::before {
        content: none;
    }
    .sideNav li > .js_active {
        position: absolute;
        left: auto;
        right: 5px;
    }
    .mainNav {
        display: block;
        position: static;
        width: auto;
        height: 90%;
        padding: 10px;
        margin: 10% 0;
        background: #0000;
    }
    .mainNav li {
        margin-bottom: 1em;
    }

    .mainHeader {
        flex-direction: column;
        margin: 0;
    }
    .mainHeader::after {
        order: -1;
        flex-basis: auto;
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    .wave {
        width: 200px;
    }
    .headerInfo {
        gap: 0;
        height: auto;
        padding: 0;
    }

    .mainFooter {
        margin: 50px auto;
    }
}


.accordion {
  margin: 0 auto;
  padding: 0 5vw;
  max-width: 600px;
  box-sizing: border-box;
}

.accordion_title {
  position: relative;
  border-bottom: 1px solid #a9a9a9;  /* ← 下線をこっちに移動 */
  display: block;
  list-style: none;
  width: 100%;
  cursor: pointer;
  padding: 1.4em 2em 1.4em 1.4em;
  line-height: 1.6em;
}

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

.accordion_title:after {
  content: "+";
  position: absolute;
  top: calc(50% - 0.5em);
  right: 20px;
  line-height: 1;
  padding: 0;
  pointer-events: none;
}

.accordion::details-content {
  opacity: 0;
  block-size: 0;
  transition: .3s;
  transition-property: display, opacity, block-size, padding;
  transition-behavior: allow-discrete;
  line-height: 1.6em;
}

.accordion .accordion_content {
  padding: 0 2em 0 3em;
}

.accordion .accordion_content > *:first-of-type {
  margin-top: 0;
}

.accordion .accordion_content > *:last-of-type {
  margin-bottom: 0;
}

.accordion[open]::details-content {
  opacity: 1;
  block-size: auto;
  block-size: calc-size(auto, size);
}

.accordion[open] .accordion_content {
  padding: 0 2em 1.4em 3em;
}

.accordion[open] .accordion_title:after {
  content: "-";
}


.content {
  display: none;
  margin-top: 10px;
}

.content.active {
  display: block;
}


.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 90vw;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 正方形比率維持 */
  overflow: hidden;
}

.gallery-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #efefef; 
  transition: opacity 0.5s ease;
  z-index: 1;
}

.gallery-item:hover .gallery-bg {
  opacity: 0;
}

.gallery-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; 
  transition: opacity 0.5s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-hover {
  opacity: 1;
}

.gallery-foreground {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;  /* 親のサイズに対して相対指定 */
  height: 70%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  color: #2b2b2b;
  font-size: 0.8em;
  padding: 3px 7px;
  border-radius: 5px;
  z-index: 4;
  opacity: 0;               /* 最初は透明 */
  transition: opacity 0.5s ease; /* なめらかに変化 */
}

.gallery-item:hover .gallery-caption {
  opacity: 1;               /* ホバー時に表示 */
}

@media (max-width: 480px) {
  .gallery-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}



.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1.2;
  transform: translateY(0);
}


</style>