@charset "UTF-8";
/* ----- top-menu ----- */
.top-menu {
    display: flexbox;
    line-height: 2.6;
    text-align: center;
    margin-top: 20px;
    font-style: normal;
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1.8rem;
}
.menu-btn {
    position: relative;
    overflow: visible;
    display: inline-block;
    width: 198px;
    height: 50px;
    text-align: center;
    vertical-align: bottom;
    margin: 0px 1.1px;
    border-radius: 8px 8px 0px 0px;
}
.menu-btn-nomargin {
    height: 50px;
    vertical-align: bottom;
    padding-top: 4px;
    border-radius: 8px 8px 0px 0px;
}
.menu-box {
    display: -ms-flexbox;
    display: flex;
    overflow: scroll;
    flex-grow: 1;
    flex-basis: 0;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border: 9px solid #5cb53c;
    max-height: 80vh;
    max-width: 1000px;
    text-align: right;
    margin: 0 auto;
}

/* ------tab----------------------- */
ul {
    margin: auto;
    padding: 0;
    list-style-type: none;
    max-width: 1040px;
    text-align: center;
}
p { margin: 0;}
.wrap-tab {overflow: hidden;}
.list-tab { display: flex; margin: auto;}
.list-tab > li {
    display: block;
    width: 100%;
    color: #fff;
    text-align: center;
    background: #dddddd;
    box-sizing: border-box;
    cursor: pointer;
}
/* 各タブの初期値 */
.note1{background-color: #aaaaaa;}
.note2{background-color: #aaaaaa;}
.note3{background-color: #aaaaaa;}
.note4{background-color: #aaaaaa;}
.note5{background-color: #aaaaaa;}

/* ホバー時 */
.note1:hover{background: #37BEF0; color: #fefefe;}
.note2:hover{background: #009944; color: #fefefe;}
.note3:hover{background: #EE87B4; color: #fefefe;}
.note4:hover{background: #F7AF00; color: #fefefe;}
.note5:hover{background: #A95831; color: #fefefe;}

/* タブの色切り替え(押下後 => 活性) */
.list-tab .active > .note1{background: #37BEF0; color: #fefefe;}
.list-tab .active > .note2{background: #009944; color: #fefefe;}
.list-tab .active > .note3{background: #EE87B4; color: #fefefe;}
.list-tab .active > .note4{background: #F7AF00; color: #fefefe;}
.list-tab .active > .note5{background: #A95831; color: #fefefe;}
.tab-content { display: none; padding: 1em;}
.tab-content.active { display: flex;}
/* ----------------------------- */

/* ----- svg ----- */
.svgText text {
    font-weight: bold;
    font-size: 1.6rem;
    /* font-family: Meiryo UI; */
    stroke: #ffffff;
    fill: #4f4f4f;
    letter-spacing: 0px;
    text-anchor: middle;
}

.svgText > svg > use:nth-of-type(odd) {
    stroke-width: 4px;
    paint-order: stroke;
    stroke-linejoin: round ;
}
.svgText > svg > use:nth-of-type(even) {
    stroke-width: 0;
}
.svgText > svg > use:nth-of-type(n+3) {
    display: none;
}
@media screen and (max-width: 600px) {    
    .svgText > svg > use:nth-of-type(n+3) {
        display: inline;
    }
    .svgText > svg > use:nth-of-type(-n+2) {
        display: none;
    }
}

/* リンクの色 */
.menu-box a {
    color: #000088;
}
.menu-box form button{
    color: #000088;
    font-family: 'Kosugi Maru', "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    font-weight: 400;
}
.menu-box form button:hover{
    text-decoration: underline;
}

.menu-box-inline {
    position: relative;
    display: inline-flexbox;
    width: 50%;
    height: auto;
    margin-left: auto;
}

.menu-box>.menu-box-inline>h1 {
    font-size: 2.2rem;
    text-align: left;
    padding: 1.6rem 0.8rem 0rem 1rem;
}

.menu-box>.menu-box-inline>img {
    width: 180px;
}
@media screen and (max-width: 1240px) {
    .menu-box>.menu-box-inline>img {
        width: 25%;
    }
}
@media screen and (max-width: 999px) {
    .menu-box-inline {
        width: 100%;
    }

    .menu-box>.menu-box-inline>img {
        width: 25%;
    }
}

@media screen and (max-width: 600px) {
    .top-menu{
        font-size: 0.8rem;
        line-height: 2.2rem;
    }

    .tab-content { display: none; padding: 1em;}
    .tab-content.active { display: block;}

    .menu-box>.menu-box-inline>img {
        width: 20%;
    }

    .menu-box-inline {
        width: 100%;
    }
}

.menu-list {
    width: 80%;
    /* margin: 0px 0rem; */
    font-size: 1.8rem;
    text-align: left;
    padding-left: 0.5rem;
    list-style: none;
}

.menu-list > ul {
    padding-left: 10px;
}

.menu-list > li {
    position: relative;
    padding: 0px 0px 0px 3rem;
}

.menu-list > li::before {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    width: 0px;
    height: 0px;
    border: 0.3em solid transparent;
    content: "";
}

.menu-box .menu-list > li::before {
    border-left: 0.4em solid #000088;
}

/* スクロール */
.scrolly {
    overflow: hidden;
    overflow-y: scroll;
    /* IEなどのスクロールバーの色設定 */
    scrollbar-face-color: #999;
    scrollbar-track-color: #eee;
    /* スマホ用の慣性スクロール */
    -webkit-overflow-scrolling: touch;
}