@charset "utf-8";

/* ==================================================
contents
================================================== */
.title_ku_primary {
    margin-bottom: 67px;
    display: flex;
    align-items: center;
}
.title_ku_primary::after {
    content: "";
    width: 80px;
    height: 2px;
    margin-left: 15px;
    background-color: #333333;
    flex: 0 1 auto;
}
.title_ku_primary>h2 {
    max-width: 100%;
    flex: 0 0 auto;
    padding: 3px 0 12px 55px;
    background: url(/shared/templates/ku_top_rn/images/icon/icon_title.png) 2px 14px no-repeat;
    font-size: 222.22%;
    line-height: 1.2;
    font-weight: 500;
}

.sec_sch_info.is_ku {
    margin-bottom: 108px;
}

.section_ku_topics {
    margin-bottom: 107px;
    position: relative;
}
.section_ku_topics .title_ku_primary {
    margin-bottom: 11px;
}
.section_ku_topics .list_common_topics {
    padding: 56px 0;
}
.section_ku_topics .list_common_topics::before {
    content: "";
    background-color: #E6F2E4;
    border-radius: 20px 0 0 20px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: max(100px, calc(50% - 500px));
}

.section_ku_event {
    margin-bottom: 106px;
    position: relative;
}
.section_ku_event .title_ku_primary {
    margin-bottom: 11px;
}
.section_ku_event .list_common_topics {
    padding: 56px 0;
}
.section_ku_event .list_common_topics::before {
    content: "";
    background-color: #E6F2E4;
    border-radius: 0 20px 20px 0;
    position: absolute;
    top: 0;
    right: max(100px, calc(50% - 500px));
    bottom: 0;
    left: 0;
}

.section_ku_about {
    margin-bottom: 106px;
}

.section_ku_links {
    margin-bottom: 166px;
}

/* ==================================================
main_visual
================================================== */
#tmp_main_visual{
    padding: 0 0 56px 0;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    margin-bottom: 41px;
    position: relative;
    max-height: 500px;
    overflow: hidden;
}
#tmp_main_visual .main_visual_image img{
    width: 100%;
    height: auto;
    vertical-align: top;
    min-width: 1300px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.chouo_ttl{
    background-image: url(/shared/templates/ku_top_rn/images/main/mv_name_en_01.png);
}
.kita_ttl{
    background-image: url(/shared/templates/ku_top_rn/images/main/mv_name_en_02.png);
}
.higashi_ttl{
    background-image: url(/shared/templates/ku_top_rn/images/main/mv_name_en_03.png);
}
.shiraishi_ttl{
    background-image: url(/shared/templates/ku_top_rn/images/main/mv_name_en_04.png);
}
.atsubetsu_ttl{
    background-image: url(/shared/templates/ku_top_rn/images/main/mv_name_en_05.png);
}
.toyohira_ttl{
    background-image: url(/shared/templates/ku_top_rn/images/main/mv_name_en_06.png);
}
.kiyota_ttl{
    background-image: url(/shared/templates/ku_top_rn/images/main/mv_name_en_07.png);
}
.minami_ttl{
    background-image: url(/shared/templates/ku_top_rn/images/main/mv_name_en_08.png);
}
.nishi_ttl{
    background-image: url(/shared/templates/ku_top_rn/images/main/mv_name_en_09.png);
}
.teine_ttl{
    background-image: url(/shared/templates/ku_top_rn/images/main/mv_name_en_10.png);
}
.main_visual_ttl{
    width: 298px;
    height: 321px;
    background: url(/shared/templates/ku_top_rn/images/main/bg_ttl.png) no-repeat;
    color: #604b45;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 47px 30px 17px 27px;
    background-size: cover;
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    margin-top: -127px;
    margin-left: -148px;
}
.main_visual_ttl h1{
    font-size: 255.5%;
    padding-bottom: 72px;
    font-weight: 500;
    background-repeat: no-repeat;
    background-position: center bottom;
    text-align: center;
}
.main_visual_ttl span{
    font-size: 88.9%;
    border-top: 2px solid #604b45;
    border-bottom: 2px solid #604b45;
    padding: 6px 6px 7px;
    min-width: 64px;
    text-align: center;
    font-weight: bold;
}
#tmp_sec_warning .warning_inner{
    border: 3px solid #ffc45a;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
}
#tmp_sec_warning .warning_inner .warning_ttl{
    width: 265px;
    color: #c81528;
    font-size: 133.3%;
    line-height: 1.3;
    padding: 20px 10px 23px 69px;
    border-right: 3px solid #ffc45a;
    background: #fffec7 url(/shared/templates/ku_top_rn/images/main/warning_ttl_ic.png) no-repeat 23px 40px;
    border-radius: 20px 0 0 20px;
    font-weight: 500;
}
#tmp_sec_warning .warning_inner .warning_ttl:last-child {
    width: 100%;
    border: none;
    border-radius: 0;
}
#tmp_sec_warning .warning_inner .warning_links{
    flex: 1;
    list-style: none;
    padding: 12px 26px 0;
    background-color: #ffffff;
}
#tmp_sec_warning .warning_inner .warning_links li{
    margin-bottom: 8px;
}
#tmp_sec_warning .warning_inner .warning_links .link_simple a{
    background-image: url(/shared/site_ku_rn/images/icon/link_arrow_sp24.png);
    background-position: left 12px;
    padding-left: 30px;
}
#tmp_sec_warning{
    margin-bottom: 80px;
}

#tmp_list_item {
    margin-bottom: 110px;
}
#tmp_list_item ul{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    border: 2px solid #c3aca1;
    border-radius: 20px;
    background-color: #e6f2e4;
    padding: 0 18px;
}
#tmp_list_item ul li{
    width: 33.33%;
    position: relative;
}
#tmp_list_item ul .item_img{
    margin-right: 20px;
}
#tmp_list_item ul .item_img img{
    width: 72px;
    height: auto;
}
#tmp_list_item ul li a{
    display: flex;
    align-items: center;
    color: #333333;
    text-decoration: none;
    justify-content: center;
    padding: 22px 10px 17px 6px;
    background: url(/shared/templates/ku_top_rn/images/main/line_vertical.png) right center no-repeat;
}
#tmp_list_item ul li:first-child::after{
    display: none;
}
#tmp_list_item ul li:nth-child(3n) a{
    background: transparent;
    padding-right: 33px;
    margin-right: -18px;
     background: transparent;
}
#tmp_list_item ul li:nth-child(3n+1) a{
    margin-left: -18px;
    padding-left: 18px;
}
#tmp_list_item ul li:nth-child(3n+1)::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	border-top: 1px solid #c3aca1;
    width: 300%;
}
#tmp_list_item ul .item_txt{
    padding-bottom: 9px;
}
.fsize_big2 .main_visual_ttl{
    width: 320px;
    height: 345px;
    margin-top: -137px;
    margin-left: -158px;
}
.fsize_big2 .main_visual_ttl h1{
    line-height: 1.1;
}
.color_black #tmp_main_visual,
.color_blue #tmp_main_visual,
.color_yellow #tmp_main_visual {
	border-top: 1px solid;
    border-bottom: 1px solid;
}
.color_black .main_visual_ttl,
.color_blue .main_visual_ttl,
.color_yellow .main_visual_ttl{
    border: 1px solid;
}
.color_yellow #tmp_list_item ul li a {
    background-image: url(/shared/templates/ku_top_rn/images/main/line_vertical_black.png) !important;
}
.color_black #tmp_list_item ul li a,
.color_blue #tmp_list_item ul li a {
    background-image: url(/shared/templates/ku_top_rn/images/main/line_vertical_yellow.png) !important;
}
.color_black #tmp_list_item ul li:nth-child(3n) a,
.color_blue #tmp_list_item ul li:nth-child(3n) a,
.color_yellow #tmp_list_item ul li:nth-child(3n) a{
    background: transparent !important;
}
.color_black #tmp_list_item ul li:nth-child(3n+1)::after,
.color_blue #tmp_list_item ul li:nth-child(3n+1)::after{
    border-color: #FFFF00;
}
.color_yellow #tmp_list_item ul li:nth-child(3n+1)::after{
    border-color: #000000;
}

/* hover
================================================== */
#tmp_list_item ul .item_txt{
    position: relative;
}
#tmp_list_item ul .item_txt:after{
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    border-bottom: 1px solid #c81528;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
    transform-origin: left center;
}
#tmp_list_item ul a:hover .item_txt:after,
#tmp_list_item ul a:focus .item_txt:after{
	transform: scaleX(1);
}

/* ==================================================
accessibility
================================================== */
.color_black #tmp_list_item ul .item_txt:after,
.color_blue #tmp_list_item ul .item_txt:after,
.color_yellow #tmp_list_item ul .item_txt:after,
.color_blue .list_common_topics::before,
.color_black .list_common_topics::before,
.color_yellow .list_common_topics::before,
.color_blue .title_ku_primary::after,
.color_black .title_ku_primary::after,
.color_yellow .title_ku_primary::after {
    display: none !important;
}
.color_black #tmp_list_item ul a:hover .item_txt,
.color_black #tmp_list_item ul a:focus .item_txt,
.color_blue #tmp_list_item ul a:hover .item_txt,
.color_blue #tmp_list_item ul a:focus .item_txt,
.color_yellow #tmp_list_item ul a:hover .item_txt,
.color_yellow #tmp_list_item ul a:focus .item_txt{
    text-decoration: underline;
}
.fsize_small .title_ku_primary>h2 {
    padding-top: 12px !important;
    padding-bottom: 16px !important;
}
