@charset "utf-8";

/* ==================================================
contents
================================================== */
/* Common style */
.show_sp{
    display: none;
}
/* Mainvs section */
#tmp_koan_mainvs{
    position: relative;
}
#tmp_koan_mainvs .mainvs_img img{
    width: 100%;
    height: auto;
    vertical-align: top;
}
#tmp_koan_mainvs .mainvs_text{
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 95px;
}
#tmp_koan_mainvs .mainvs_text p{
    font-size: 200%;
    font-weight: bold;
    width: 100%;
    max-width: 1018px;
    min-height: 178px;
    color: inherit;
    background: transparent url(/shared/templates/koan_top/images/mainvs_text.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
}
#tmp_koan_mainvs .mainvs_text p > span{
    display: block;
    width: 0;
    height: 0;
    text-indent: -9999px;
}
/* Menu sections */
.menu_boxes{
    position: relative;
    margin: 0 auto;
    padding-top: 78px;
    overflow: hidden;
}
.menu_boxes .container {
    max-width: 1440px;
    padding: 0 10px;
}
.menu_boxes .menu_box{
    position: relative;
    margin-bottom: 155px;
}
.menu_boxes .menu_box:last-child {
    margin-bottom: 120px;
}
.menu_boxes .menu_box:nth-child(1):after{
    content: '';
    position: absolute;
    z-index: -2;
    top: -78px;
    right: calc(max(0px, (100% - 1440px)/2) + 524px);
    height: 3000px;
    width: min(800px, 50%);
    background-color: #ebebeb;
    transform:skew(-21.5deg);
}
.menu_boxes .menu_box:nth-child(2):after{
    content: '';
    position: absolute;
    z-index: -2;
    top: -1000px;
    left: calc(max(0px, (100% - 1440px)/2) - 41px);
    height: 3000px;
    width: min(800px, 50%);
    background-color: #ebebeb;
    transform:skew(-21.5deg);
}
.menu_boxes .menu_box:last-child:is(:nth-child(1)):after {
    width: min(1060px, 75%);
}
.menu_box .menu_heading{
    padding-left: max(103px, calc((100% - 1200px)/2 + 103px));
    margin-bottom: 3px;
}
.menu_heading p.eng{
    position: relative;
    color: #3e639e;
}
.menu_heading p.eng:before{
    content: '';
    position: absolute;
    left: -102px;
    top: 12px;
    width: 95px;
    border-bottom: 1px solid #3e639e;
}
.menu_heading h2.ja{
    color: #222222;
    font-size: 222.2%;
    line-height: 1.5;
}
.menu_box .menu_cnt{
    position: relative;
    padding: 49px max(141px, calc((100% - 1200px)/2 + 141px)) 59px max(42px, calc((100% - 1200px)/2 + 42px));
    clip-path: polygon(0 0, 200% 0, 200% calc(100% - 1px), -200% calc(100% - 1px), -200% 0);
}
.menu_box .menu_cnt:before{
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: -1px;
    left: -100%;
    right: 50%;
    background-color: #04255c;
}
.menu_boxes .menu_box:nth-child(even) .menu_cnt:before{
    left: 48%;
    right: -100%;
}
.menu_box .menu_cnt:after{
    content: '';
    position: absolute;
    z-index: -1;
    width: 800px;
    top: 0;
    height: 1000px;
    background-color: #04255c;
    right: 187px;
    transform: skew(-21.5deg);
}
.menu_box:nth-child(even) .menu_cnt {
    clip-path: polygon(0 0, 200% 0, 200% calc(100% - 1px), -200% calc(100% - 1px), -200% 0);
    padding: 49px max(141px, calc((100% - 1200px)/2 + 141px)) 59px max(115px, calc((100% - 1200px)/2 + 42px));
}
.menu_box:nth-child(even) .menu_cnt:after{
    left: -87px;
    right: auto;
}
.menu_box .menu_cnt .des{
    font-weight: bold;
    color: #ffffff;
    background-color: #04255c;
    line-height: 1.8;
    padding-right: 51px;
    margin-bottom: 60px;
}
.menu_box .koan_link{
    text-align: right;
}
.menu_box .koan_link > a{
    text-decoration: none;
    display: inline-block;
    position: relative;
    font-size: 88.9%;
    font-weight: bold;
    color: #04255c;
    background-color: #ffffff;
    padding: 9px 48px 7px 20px;
}
.menu_box .koan_link > a:after{
    content: '';
    position: absolute;
    top: 50%;
    right: -32px;
    width: 60px;
    border-bottom: 1px solid #8f9db4;
    transform: translateY(-50%);
}
#tmp_koan_system{
    color: #ffffff;
    background: #04255c url(/shared/templates/koan_top/images/system_bg.jpg) no-repeat center top;
    background-size: cover;
    margin-bottom: 0;
}
#tmp_koan_system .menu_heading p.eng{
    color: #8f9db4;
}
#tmp_koan_system .menu_heading h2.ja{
    color: #ffffff;
}
#tmp_koan_system .system_inner{
    display: flex;
}
#tmp_koan_system.menu_box .system_cnt{
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 532px;
    padding: 97px 0 70px;
}
#tmp_koan_system.menu_box .system_cnt:after{
    content: '';
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -140px;
    width: 326px;
    height: 532px;
    color: inherit;
    background: transparent url(/shared/templates/koan_top/images/map_pattern.png) no-repeat center center;
    background-size: 100% auto;
    transform: translateY(-50%);
    margin-top: -15px;
}
#tmp_koan_system.menu_box .menu_cnt{
    padding: 49px 141px 59px 42px;
}
#tmp_koan_system.menu_box .menu_cnt:before,
#tmp_koan_system.menu_box .menu_cnt:after{
    content: none;
}
#tmp_koan_system.menu_box .menu_heading p.eng:before{
    border-color: #8f9db4;
}
#tmp_koan_system.menu_box .menu_cnt .des{
    background-color: transparent;
    padding-right: 0;
    margin-bottom: 39px;
}
#tmp_koan_system.menu_box .koan_link{
    padding-right: 46px;
}
#tmp_koan_system.menu_box .koan_link > a{
    padding-right: 55px;
    padding-left: 29px;
}
#tmp_koan_system.menu_box .system_img{
    position: relative;
    z-index: 2;
    width: 37.1%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
}
#tmp_koan_system.menu_box .system_img p{
    width: 100%;
}
#tmp_koan_system.menu_box .system_img img{
    width: 100%;
    height: auto;
    vertical-align: top;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
}
.menu_box .koan_link > a:hover{
    text-decoration: underline;
}
/* ==================================================
accessibility
================================================== */
.color_blue #tmp_koan_system.menu_box .system_cnt:after,
.color_black #tmp_koan_system.menu_box .system_cnt:after,
.color_yellow #tmp_koan_system.menu_box .system_cnt:after,
.color_blue .menu_box .koan_link > a:after,
.color_black .menu_box .koan_link > a:after,
.color_yellow .menu_box .koan_link > a:after,
.color_blue .menu_heading p.eng:before,
.color_black .menu_heading p.eng:before,
.color_yellow .menu_heading p.eng:before,
.color_blue .menu_box .menu_cnt:before,
.color_black .menu_box .menu_cnt:before,
.color_yellow .menu_box .menu_cnt:before,
.color_blue .menu_box .menu_cnt:after,
.color_black .menu_box .menu_cnt:after,
.color_yellow .menu_box .menu_cnt:after{
    content: none;
}
.color_blue .menu_box .menu_cnt,
.color_black .menu_box .menu_cnt,
.color_yellow .menu_box .menu_cnt,
.color_blue .menu_box .koan_link > a,
.color_black .menu_box .koan_link > a,
.color_yellow .menu_box .koan_link > a{
    border: 1px solid;
}
.color_blue .menu_box .menu_cnt,
.color_black .menu_box .menu_cnt,
.color_yellow .menu_box .menu_cnt{
    clip-path: none;
}
.color_blue #tmp_koan_mainvs .mainvs_text,
.color_black #tmp_koan_mainvs .mainvs_text,
.color_yellow #tmp_koan_mainvs .mainvs_text,
.color_blue #tmp_koan_mainvs .mainvs_text .container,
.color_black #tmp_koan_mainvs .mainvs_text .container,
.color_yellow #tmp_koan_mainvs .mainvs_text .container{
    background-color: transparent !important;
}
.color_blue #tmp_koan_mainvs .mainvs_text p,
.color_black #tmp_koan_mainvs .mainvs_text p,
.color_yellow #tmp_koan_mainvs .mainvs_text p{
    display: inline-block;
    min-height: 0;
    width: auto;
}
.color_blue #tmp_koan_mainvs .mainvs_text p > span,
.color_black #tmp_koan_mainvs .mainvs_text p > span,
.color_yellow #tmp_koan_mainvs .mainvs_text p > span{
    width: auto;
    height: auto;
    text-indent: 0 !important;
}
/* Fsize */
.fsize_small .menu_boxes .menu_box:nth-child(1):after {
    right: calc(max(0px, (100% - 1440px)/2) + 536px);
}
.fsize_small .menu_boxes .menu_box:nth-child(2):after {
    left: calc(max(0px, (100% - 1440px)/2) - 52px)
}
.fsize_big2 .menu_boxes .menu_box:nth-child(1):after {
    right: calc(max(0px, (100% - 1440px)/2) + 505px);
}
.fsize_big2 .menu_boxes .menu_box:nth-child(2):after {
    left: calc(max(0px, (100% - 1440px)/2) - 21px)
}
