@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');

html {
    background: transparent;
    font-size: 62.5%;
}
body {
    min-height: 100vh;
    background: #f2fcfc;
    color: #5c5450;
    font-size: 1.3rem;
    font-family: 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    letter-spacing: 0.2em;
    line-height: 1.8;
}
a {
    text-decoration: none;
}

h2,h3,h4,.contentsNav {
    font-family: 'Comfortaa', cursive;
    font-weight: lighter;
}
h2 {
    display: flex;
     align-items: center;
    margin: 2em 0;
}
h2 > span {
    margin: 0 2em;
}
h2::before, h2::after {
    content: '';
    display: block;
    height: 2px;
    background: #93e0da;
}
h2::before {
    flex-basis: 3em;
}
h2::after {
    flex-grow: 1;
}
h3 {
    display: flex;
     align-items: center;
    margin: 1em 0;
/*    color: #65969e;*/
}
h3::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.5em;
    margin-right: 1.5em;
    background: #93e0da;
    border-radius: 3px;
}
h4 {
    display: inline-block;
    padding: 0 .5em;
    margin: 1em 0 .5em;
    background: #def4f4;
    font-weight: normal;
}

h4 > span::after {
    content: none;
    display: block;
    width: 100%;
    height: 3px;
    background: #93e0da;
}
ul,ol {
    list-style: none;
}
em {
    background: #f1f0ee;
}

p {
    padding: 0 1em;
    margin-bottom: 2em;
}

.pageWrap {
    width: 60%;
    max-width: 1000px;
    min-width: 700px;
    min-height: 100vh;
    padding: 1em 0;
    margin: 0 auto;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 0 15px #e2ecec;
}
.pageWrap a {
    color: #65969e;
}
.contentsWrap {
    padding: 50px;
}
.mainContents a:visited {
    color: #a4b6b8;
}
.contentsWrap > section {
    min-height: 50vh;
}

.about {
    display: flex;
     justify-content: space-around;
    width: 90%;
    margin: 2vh auto;
}

.contentsWrap section[id] {
    padding: 5vh 0 0;
    margin: 5vh 0;
}
.contentsWrap section[id]:last-of-type {
    min-height: 30vh;
}

.list {
    margin: 1em 1.5em 2em;
}
.list .info {
    width: 100%;
    margin-bottom: 5px;
    color: #5a6463;
    font-size: 90%;
}
.list li a:hover {
    text-decoration: underline;
}

.listYoko {
    display: flex;
     flex-wrap: wrap;
}

.listYoko li {
    margin-right: 1em;
}


.listTate {
    columns: 2;
}
.listTate li > span {
    margin-left: 1em;

}

/* プロフィール部分 */

.profile {
    padding: 3vh 0;
}
.profInfo {
    display: flex;
    align-items: center;
    padding-bottom: 3em;
}
.icon {
    width: auto;
    height: 150px;
}
.profName {
    padding-left: 2em;
}
.name {
    font-size: 2em;
}
.comment {
    color: #888;
    font-size: .9em;
}
.profList {
    display: flex;
     flex-wrap: wrap;
    margin: 1em 0;
    text-align: center;
}
.profList li {
    width: 22%;
    padding-bottom: 1em;
    margin-right: calc(12% / 3);
}
.profList li:nth-of-type(4n) {
    margin-right: 0;
}
.profList li > div {
    padding: .2em 1em;
    margin-bottom: .5em;
    background: #93e0da;
    border-radius: 4px;
}
.white li > div {
    color: #fff;
}

.profText p {
display: inline;
    padding: 0 4px 2px 4px;
    background: linear-gradient(transparent 90%, #93e0da 0%);
}

/* アコーディオン */
.accordion-005 {
    max-width: 100%;
}

.accordion-005:not([open]) {
    margin-bottom: 7px;
}

.accordion-005 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    border-left: 5px solid #93e0de;
    background-color: #f2fcfc;
    color: #5c5450;
    font-weight: 600;
    cursor: pointer;
}

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

.accordion-005 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #c2cccc;
    border-right: 3px solid #c2cccc;
    content: '';
    transition: transform .3s;
}

.accordion-005[open] summary::after {
    transform: rotate(225deg);
}

.accordion-005 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1em 2em 2em 2em;
    color: #5c5450;
    transition: transform .5s, opacity .5s;
}

.accordion-005[open] p {
    transform: none;
    opacity: 1;
}

/* 日記 */
.longList {
     display: flex;
     margin: 0 0 0 -3em;
     flex-wrap: wrap;
     align-items: stretch;
     align-content: stretch;
}
.longList li {
    display: flex;
    margin: 1em 0;
    width: 100%;
    background: #666;
    border-radius: 4px;
    overflow: hidden;
}
.longList li a {
    display: flex;
     flex-direction: column;
     justify-content: space-between;
    padding: 2em 0;
    width: 100%;
    height: auto;
    color: #666;
}
.longList li:nth-of-type(3n) {
    margin: 2em 0;
}
.longInfo {
    padding: 1rem;
    font-size: .8em;
}
.longTitle {
    padding: .5em 1em;
    background: rgba(255, 255, 255, 0.7);
    text-align: right;
}

#diary1 {
    background: url('/diary/thumbnail/20231211.jpeg') center / cover;
}
#diary1 .longInfo {
    color: #666;
}
#diary1 .longTitle {
    color: #666;
    font-family: serif;
}

#diary2 {
    background: url('/diary/thumbnail/20231226.jpeg') center / cover;
}
#diary2 .longInfo {
    color: #666;
}
#diary2 .longTitle {
    color: #666;
    font-family: serif;
}

#diary3 {
    background: url('/diary/thumbnail/20240212.jpeg') center / cover;
}
#diary3 .longInfo {
    color: #666;
}
#diary3 .longTitle {
    color: #666;
    font-family: serif;
}

#diary4 {
    background: url('/diary/thumbnail/20240624.jpeg') center / cover;
}
#diary4 .longInfo {
    color: #666;
}
#diary4 .longTitle {
    color: #666;
    font-family: serif;
}

#diary5 {
    background: url('/diary/thumbnail/20241006.jpeg') center / cover;
}
#diary5 .longInfo {
    color: #666;
}
#diary5 .longTitle {
    color: #666;
    font-family: serif;
}

/* 写真 */
.photo-container{
    display: flex;
    justify-content: space-between;
}
.photo{
    width: 30%;
    margin-bottom: 5%;
    background: #93E0DA;
    position: relative;
    overflow: hidden;
}
.photo::before{
    content: "";
    padding-top: 100%;
    display: block;
}
.photo img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.textWrap {
    width: 90%;
    max-width: 700px;
    margin: 10vh auto;
    font-size: 1.1em;
    line-height: 200%;
}
.textNav ul {
    display: flex;
     justify-content: center;
     align-items: center;
    margin: 10vh 0;
/* background: rgba(177, 228, 228, 0.5);*/
    font-family: 'Comfortaa', cursive;
    font-size: .9em;
}
.textNav li {
    margin: 0 1em;
}
.textNav li a {
    display: inline-block;
    padding: 3px .5em;
    color: #5c5650;
}

.atogaki::before {
    content: '';
    display: block;
    height: 2px;
    margin: 3em 0 2em;
    background: #93e0da; 
}
.atogaki p {
    text-align: center;
}

.contentsHeader {
    padding: 10vh 5vh 3vh;

}
h1{
    font-family: 'Comfortaa', cursive;
    font-size: 2em;
    font-weight: normal;
    text-align: right;
}
h1::after {
    content: '';
    display: block;
    width: 100%;
    height: 150px;
    margin-top: 10px;
    background: url('../img/top2.jpeg') center / 150% #a0d6cf;
}

h1{
    font-family: 'Comfortaa', cursive;
    font-size: 2em;
    font-weight: normal;
    text-align: right;
}
h1::after {
    content: '';
    display: block;
    width: 100%;
    height: 150px;
    margin-top: 10px;
    background: url('../img/top3.jpeg') center / 150% #a0d6cf;
}

.contentsNav{
    position: sticky;
     top: 0;
    font-family: 'Comfortaa', cursive;
    z-index: 2;
}
.contentsNav ul {
    display: flex;
     flex-wrap: wrap;
    padding: 1em 5vh;
    transition: .3s;
}
.stop ul {
/*    position: fixed;
     top: 0;
     left: 0;
    width: 100%;*/
    background: #f4f7f6b3;
    background: rgba(179, 235, 225, 0.4);
    background: rgba(177, 228, 228, 0.8);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
/*    box-shadow: 0 0 1rem #e7e2df;*/
}
.contentsNav li {
    margin-right: 2em;
}
.contentsNav li a {
    display: inline-block;
    padding: 3px 1em;
    color: #4b4136;
    transition: .3s;
}
.active {
    background-color:rgba(204, 238, 237, 0.8);
    background-color:rgba(240, 255, 253, 0.8);
}
.active[id] {
    background-color: transparent;
}

.back {
    align-self: flex-end;
    margin-left: auto;
    font-size: 1rem;
    opacity: 0;
    transition: .3s;
    visibility: hidden;
}
.stop .back {
    opacity: 1;
    visibility: visible;
}
#backTop::before {
    content: 'top';
}

.mainFooter {
    margin: 5vh 0;
    color: #d1cac8;
    font-size: 1rem;
    text-align: center;
}
.mainFooter a {
    color: #acdadb;
}

@media (max-width:750px) {
    body {
        font-size: 1.2rem;
    }

    .contentsWrap section[id] {
        padding: 1em 0;
    }
    .pageWrap {
        width: 90%;
        max-width: 600px;
        min-width: 200px;
        margin: 0 0 0 auto;
    }
    .contentsWrap {
        padding: 1em 20px;
    }
    .contentsWrap,.contentsHeader {
        max-width: 500px;
        margin: auto;
    }
    .about {
        flex-direction: column;
        width: 100%;
        margin: 1em auto 2em;
    }
    .list {
        margin: 1em .5em 2em;
    }
    .listTate {
        columns: auto;
    }
    .textWrap {
        width: 90%;
        max-width: 500px;
        margin: 3em auto;
        font-size: 1em;
    }
    .textNav ul {
        margin: 40px 0;
    }
    .contentsHeader {
        padding: 3em 1em 0 1em;
    }
    h1 {
        font-size: 1em;
        font-weight: lighter;
    }
    h1::after {
        height: 60px;
    }

    .contentsNav {
        position: fixed;
         top: 0;
         left: 0;
        width: 10%;
    }
    .contentsNav ul {
        flex-direction: column;
         justify-content: flex-end;

        height: 100vh;
        padding: 10vh 0 0 0;
        background: transparent;
        box-sizing: border-box;

    }
    .contentsNav li {
        padding: 0;
        margin: 0 0 1em 0;
        text-align: center;
    }
    .contentsNav li a {
        padding: .5em 0;
        font-size: 1rem;
        text-orientation: sideways;
        writing-mode: vertical-rl;
    }
    .active {
        background-color:rgba(204, 238, 237, 0.8);
    }
    .back {
        position: fixed;
         bottom: 0;
         right: 1em;
        opacity: 1;
    }
    #backTop{
        display: inline-block;
        width: 3em;
        height: 3em;
        padding: 0;
        background: #def4f4;;
        border-radius: 2px;
        box-sizing: border-box;
        line-height: 3em;
        text-align: center;
        writing-mode: horizontal-tb;
    }
    #backTop::before {
        content: none;
    }
}