@charset "UTF-8";

.stamprally h3 span,
.serif,
html {
    font-weight: 500;
    font-family: Shippori Mincho, 游明朝, Yu Mincho, 游明朝体, YuMincho, Hiragino Mincho ProN, HiraMinProN-W3, serif;
    text-align: left;
}

h5.leadcopy {
    font-size: 18px;
}

@media screen and (min-width: 885px) {
  .learnbox .fesspec {
    font-size: 1.2em;
  }
}

.header .menu ul li.lang {
    position: relative;
}
.header .menu ul li .dropdown__lists {
    display: none;/*デフォルトでは非表示の状態にしておく*/
    width: 100%;
    position: absolute;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-top: 30px;
    top: 0;
    left: 20px;
    cursor: pointer;
}
.header .menu ul li:hover .dropdown__lists {
    display: flex;/*Gナビメニューにホバーしたら表示*/
}
.header .menu ul li .dropdown__list {
    background-color: #fff;
    transition: all .3s;
    position: relative;
    margin: 0 auto;
    border-top: 1px solid #ddd;
}
.header .menu ul li.lang a{
    display: flex;
    align-items: flex-end;
}
.header .menu ul li .material-symbols-outlined {
    font-size: 14px;
    color: #777;
    margin-right: .3em;
}
.header .menu ul li .dropdown__list:hover {
    background-color: #eee;
}
.header .menu ul li .dropdown__list a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    width: 120px;
    font-size: 12px;
    padding: 8px 0;
    text-align: center;
}
.learnbox .fesfacilities ul li {
    text-align: center;
    width: 75px;
}
.learnbox .fesfacilities ul li p{
    font-size: 12px;
}
.learnbox .fesfacilities ul li img {
    width: 63%;
    margin: 0 auto;
}
.header .menu ul li a {
    font-size: 1.75rem;
}
@media (max-width: 1080px) {
    .header .menu ul li a {
        font-size: 1.3rem;
    }
}
@media (max-width: 880px) {
    .header .menu ul li a {
        font-size: 1.45rem;
    }
}
@media (max-width: 880px) {
    .header .menu ul li .dropdown__lists {
        position: relative;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
        background-color: transparent;
        padding-top: 0;
        width: 180px;
        margin: 0 auto;
        height: auto;
        left: 0;
    }
    .header .menu ul li .dropdown__list {
        width: 50%;
        background-color: #fff;
        height: auto;
        border: 0;
        margin: 0;
    }
    .header .menu ul li .dropdown__list a {
        width: 100%;
        font-size: 13px;
        padding: 10px 0;
    }
    .header .menu ul {
        height: 400px;
    }
    .header .menu ul li.lang a{
        display: block;
        text-align: center;
    }
    .header .menu ul {
        padding: 1em 2em;
    }
}

/* feature */
.letterbody p.leadcopy.feature {
    margin: 1em auto 0;
}
.feature_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto 1em;
}
.feature_box:nth-child(even) {
    flex-direction: row-reverse;
}
.feature_box:nth-child(even) figcaption {
    text-align: left;

}

.feature_box h3 {
    width: 100%;
    text-align: center;
    padding-top: 1em;
}
.feature_box .text {
    width: 55%;
    margin: 0;
}

.feature_box figure {
    width: 42%;
    position: relative;
}
.feature_box figure figcaption {
    text-align: left;
    color: #333;
}
.feature_box figure img {
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 1080px) {
    .letterbody .feature_box figure{
        margin: 0;
    }
}
@media (max-width: 680px) {
    .feature_box h3 {
        text-align: left;
    }
    .letterbody .feature_box {
        flex-direction: column;
        margin-bottom: 3em;
    }
    .letterbody .feature_box figure,
    .letterbody .feature_box .text{
        width: 100%;
    }
    .letterbody figure figcaption.caption {
        margin: .5em 1em 0 0;
    }
}

/* top feature */
.top_feature_wrap {
    max-width:1000px;
    margin: 0 auto 4em;
}
.top_feature_box {
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}
.top_feature_box a{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 5/2;
    padding: 20px 30px;
    color: #fff;
    background-color: rgba(0,0,0,.3);
}
.top_feature_box a h2 {
    font-size: clamp(18px, 4vw, 30px);
}
.top_feature_box a p{
    position: absolute;
    margin: 0;
    right:0;
    top:0;
    display: inline-block;
    height: 27px;
    padding: 0 2em;
    background-color:#f07800;
    font-size: 15px;
}
@media screen and (min-width: 885px) {
  .blc__n {
    padding-bottom: 4em;
  }
}
@media (max-width: 600px) {
    .top_feature_box a{
        aspect-ratio: 5/4;
        padding: 15px 20px;
    }
}