@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: url('../img/design65_bg.png') left top / 100% #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: url('../img/design65_bg.png') left top / 100% #93e0da;
}
ul,ol {
    list-style: none;
}
em {
    background: #f1f0ee;
}



p {
    padding: 0 1em;
}

.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 {
    color: #d83473;
}
.mainContents a:visited {
    color: #a4b6b8;
}
.contentsWrap > section {
    min-height: 50vh;
}


input[type],textarea,button,select {
    border: #bbbbbb solid 1px;
    font-family: inherit;
    font-size: 90%;
    line-height: inherit;
    letter-spacing: inherit;
}


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

.nameChange {
    padding: 0 2em;
    margin: 2em auto;

}
.nameChange .enter {
    width: 8em;
}
.nameChange .button {
    background: #93e0da;
    font-family: 'Comfortaa', cursive;
    letter-spacing: 0;
}



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

.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;

}

.new::after {
    content: 'new';
    display: inline-block;
/*
    background: #816755;
        color: #f3f2ed;
*/

    color: #816755;
    font-size: 1rem;
    letter-spacing: 0;
    transform: translateY(-3px) rotate(-10deg);
}



.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: url('../img/design65_bg.png') left top / 100% #93e0da;
}



.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/header.jpg') 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;
    }
    h2 > span {
        margin: 0 1em;
    }
    p {
        padding: 0 1em;
    }
    .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;
    }
    .nameChange {
        padding: 0 1em;
        margin: 0;
        text-align: center;
    }
    .nameChange .enter {
        width: 8em;
    }
    .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;
    }
}

/* 表リスト */
.gridlist {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
}
@media screen and (max-width: 520px) {
  .gridlist {
    grid-template-columns: 1fr;
  }
}
.gridlist .gridlist__label,
.gridlist .gridlist__text {
  padding: 6px 12px 4px;
}
.gridlist .gridlist__label {
  display: flex;
  align-items: center;
  border-right: 3px double #6b7b6e;
}
.gridlist .gridlist__text{
color:#abb1b5;

}

/* ▼　名前変換フォーム設定　▼ */
form.changeName{  max-width:100%; box-sizing:border-box;margin:0 0 0 20px;
/* フォーム全体の装飾 */ }
p.dream-noCookie{ /* Cookie未対応ブラウザのメッセージの装飾 */ }
form.changeName fieldset{
  list-style: none;
     display: flex;
     flex-wrap: wrap;
     flex-direction: row; /* row:横並び column:縦並び */
     justify-content: flex-start; /* flex-start:左寄せ center:真ん中 flex-end:右寄せ */
     gap: 10px; /* 要素間のスペ―ス*/
/* フィールドセットの装飾 */ }
form.changeName legend{display:none; /* フィールドセットのキャプションの装飾*/ }
form.changeName ul:not([class]){  list-style: none;
   display: flex;
   flex-wrap: wrap;
   flex-direction: row; /* row:横並び column:縦並び */
   justify-content: flex-start; /* flex-start:左寄せ center:真ん中 flex-end:右寄せ */
   gap: 10px; /* 要素間のスペ―ス*/
 /* 入力選択フォームのリストの全体装飾 */ }

form.changeName ul:not([class])>li{ /* 入力選択フォームのリスト個々の装飾 */ }
ul.process{
  list-style: none;
     display: flex;
     flex-wrap: wrap;
     flex-direction: row; /* row:横並び column:縦並び */
     justify-content: flex-start; /* flex-start:左寄せ center:真ん中 flex-end:右寄せ */
     gap: 10px; /* 要素間のスペ―ス*/
   /* 登録削除のリスト全体の装飾 */ }
ul.process>li{ /* 登録削除のリスト個々の装飾 */ }
p.process{/* 登録削除の段落の装飾 */ }

form.changeName label{ /* 項目の装飾 */ }
form.changeName input[type="text"]{     padding: .3rem;
    border: #8f8f8f solid 1px;
    color: inherit;
/* 入力フォームの装飾 */ }
form.changeName select{ /* 選択フォームの装飾 */ }
.process input[type="submit"]{     padding: .3rem 1rem;
    margin-right: 1em;
    background: #586264;
    border: none;
    color: #fff;
  /* 登録削除実行ボタンの装飾 */ }
