@charset "utf-8";

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

.col2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.inner {
    max-width: 830px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header / hero */
.bg1 {
    background-image: url(/img/bg1-c.png), url(/img/bg1-r.png);
    background-repeat: no-repeat, no-repeat;
    background-position: center top, right top;
    margin: 0 0 -130px;
}

#header {
    text-align: center;
    padding: 30px 0 40px;
}

#header h1 { margin: 15px 0 25px; }
#header h2 { margin: 0; }

.haisin { position: relative; }

.naname {
    position: absolute;
    top: 40%;
    width: 100%;
}

#header .gest {
    margin-top: 50px;
}

#news, #channel, #schedule, #request, #caution {
    margin-top: -80px;
    padding-top: 80px;
}

/* Navigation */
.site-nav {
    text-align: center;
    width: 100%;
    max-width: 790px;
    margin: 20px auto 60px;
}

.site-nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.site-nav li {
    list-style: none;
    flex: 1 1 auto;
    min-width: 90px;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}

.site-nav li + li { border-left: 0; }

.site-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: block;
    width: 100%;
    padding: 10px 4px;
    transition: background 0.3s, color 0.3s;
}

.site-nav a:hover {
    background: rgba(0, 176, 240, 0.15);
    color: #00B0F0;
}

/* About & news */
.about_news {
    background: url(/img/about_bg.png) #fff;
    padding: 140px 60px 60px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 0 35px;
    position: relative;
    z-index: 1;
}

#about {
    background: url(/img/line.png) bottom no-repeat;
    background-size: contain;
    margin: 0 0 50px;
    padding: 0 0 70px;
}

#about .about_txt { width: 64%; }
#about p { font-weight: bold; line-height: 1.7; }

.news_ttl { width: 15%; }
.news_box { width: 80%; }

.news_box ul {
    text-align: left;
    border-bottom: 1px dotted #717171;
    margin: 0;
    padding: 0;
}

.news_box ul li { border-top: 1px dotted #717171; }

.news_box_ttl {
    display: block;
    line-height: 1;
    padding: 30px 0 30px 40px;
    position: relative;
    background: url(/img/icon_gold.png) no-repeat 0 20px;
    opacity: 0.7;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.news_box_ttl.on {
    background-image: url(/img/icon_gold.png);
    opacity: 1;
}

.news_box_ttl::after {
    content: "▶";
    display: block;
    line-height: 80px;
    position: absolute;
    right: 10px;
    top: 0;
    color: #c8a500;
}

.news_box_ttl.on::after { content: "−"; }

.news_box_ttl span {
    background: rgba(200, 165, 0, 0.2);
    padding: 2px 8px;
    margin: 0 10px 0 0;
    font-size: 13px;
}

.news_box_ttl:hover { opacity: 0.5; }

.news_box_txt {
    display: none;
    margin: 0 0 30px 40px;
}

.news_box_txt h5 {
    margin-top: 20px;
    padding: 6px 12px;
    color: #fff;
    font-weight: bold;
    background: #00b0f0;
}

.news_box_txt p {
    font-weight: bold;
    margin: 12px;
    font-size: 14px;
    line-height: 1.8;
}

.news_box_txt p.font16px { font-size: 16px; }

/* Channel */
.bg2 {
    background: url(/img/bg2-r.png) right no-repeat,
                linear-gradient(235deg, #ee9a76, #faf39b);
    background-size: contain, cover;
    padding: 250px 0 50px;
}

#channel { text-align: center; }

.channel_box {
    background: url(/img/line_r.png) no-repeat top, #fff;
    background-size: 100% 5px;
    padding: 55px 0;
}

.channel_box .col2 { justify-content: center; }

#channel h2 { margin: 0 0 20px; }

.channel_box_ttl {
    background: url(/img/icon_goldb.png) no-repeat;
    text-align: left;
    margin: 20px 30px;
    padding: 7px 0 0 42px;
}

.channel_box_ttl h4 { font-size: 20px; font-weight: bold; }
.channel_box_ttl p { font-size: 13px; font-weight: bold; margin: 5px 0 0; line-height: 1.6; }
.channel_box_ttl h3 { font-size: 14px; font-weight: bold; }

.channel_box .col2 li > p {
    font-size: 15px;
    margin: 0 30px 20px;
    text-align: left;
    line-height: 1.5;
}

.channel_box .col2 li {
    width: 40%;
    margin: 40px 25px 0;
    padding: 10px 0;
    background: url(/img/channel_box.png);
    background-size: 100% 100%;
}

.channel_box_list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
    padding: 0;
}

.channel_box_list > li {
    width: 47%;
    margin: 20px 0;
    padding: 20px 30px;
    text-align: left;
    background: url(/img/line_r.png) no-repeat top, #fff;
    background-size: 100% 5px;
    list-style: none;
}

.channel_box_list h4 { font-size: 18px; font-weight: bold; margin: 5px 0; }

.channel_box_list > li > h3 {
    margin: 30px 0;
    font-weight: bold;
    line-height: 1.6;
}

.channel_box_list li p { font-size: 12px; font-weight: bold; margin-bottom: 20px; }
.channel_box_list li p span { font-size: 10px; }

.channel_box_list .gest {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0;
}

.channel_box_list .gest li {
    margin: 0;
    text-align: center;
    list-style: none;
}

.channel_box_list .gest li figure {
    border-radius: 100%;
    background: #e7e7e7;
    height: 84px;
    width: 84px;
    margin: 0 auto 10px;
    overflow: hidden;
}

/* Schedule */
#schedule { margin: 40px 0; }
.schedule_att { margin-bottom: 40px; }

.schedule_box { margin: 50px 0; padding: 0; }

.schedule_box > li {
    position: relative;
    width: 48%;
    list-style: none;
}

.schedule_box > li h3 {
    position: absolute;
    top: -3%;
    left: 50%;
    transform: translateX(-50%);
}

.schedule_list {
    background: #fff;
    padding-bottom: 10px;
    height: 100%;
    margin: 0;
    padding-left: 0;
}

.schedule_list > li {
    border-bottom: 1px dashed #9FA0A0;
    margin: 10px 20px;
    list-style: none;
}

.schedule_list > li:first-of-type { border: none; margin: 0 auto 30px; }
.schedule_list > li:last-of-type { border: none; }

.schedule_list_data {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 10px;
    margin: 0;
    padding-left: 0;
}

.schedule_list_data li {
    font-weight: bold;
    font-size: 14px;
    padding-right: 1em;
    list-style: none;
}

.schedule_list_data li:first-of-type { width: 4.5em; }
.schedule_list_data li:nth-of-type(2) { width: 5em; color: #fff; }

.schedule_list_data .relay {
    background-color: #D8002F;
    padding: 3px 0 1px;
    width: 55px;
    display: block;
    font-size: 11px;
    text-align: center;
}

.schedule_list_data .participation {
    background-color: #00426D;
    padding: 3px 0 1px;
    width: 55px;
    display: block;
    font-size: 11px;
    text-align: center;
}

/* Request */
#request {
    position: relative;
    text-align: center;
    background-image: url(/img/request_bg.png);
    background-size: 100% 40%;
    background-repeat: no-repeat;
    background-position: center center;
}

.request_box {
    width: 100%;
    background: url(/img/request_box.png);
    background-size: 100% 100%;
    position: relative;
    margin: 130px 0;
    padding: 20px 0 70px;
}

.request_box figure {
    position: absolute;
    left: 0;
    right: 0;
    top: -80px;
}

#request h2 { margin-top: 50px; }
#request h3 { margin-top: 40px; }
#request p { margin: 40px 0; font-weight: bold; line-height: 1.8; }

/* Caution */
#caution {
    background-color: #c0a012;
    padding: 0 0 70px;
}

#caution h2 {
    color: #fff;
    text-align: center;
    padding: 50px 0;
    font-size: 30px;
    font-weight: bold;
}

#caution ul { margin: 0; padding: 0; }

#caution li {
    color: #fff;
    list-style: none;
    position: relative;
    margin: 0 0 0 20px;
    line-height: 1.6;
}

#caution li::before { content: "※"; position: absolute; left: -20px; }
#caution li li::before { content: "・"; }

/* Banners */
#bnr {
    background: url(/img/banner_bg.png) no-repeat bottom;
    background-size: cover;
    padding: 70px 0 150px;
}

.bnr_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.bnr_list li {
    width: 45%;
    margin: 0 0 40px;
    list-style: none;
}

.gray {
    filter: grayscale(100%);
}

/* Footer */
#footer {
    background: #5a5858;
    padding: 45px 0;
    color: #fff;
}

#footer .inner { max-width: 970px; }

.footer_col, .footer_l { align-items: center; }
.footer_logo { padding-right: 100px; }
.footer_about { line-height: 1.8; }
.footer_about p { font-weight: bold; }

.footer_sns {
    display: flex;
    padding: 0;
    margin: 0;
}

.footer_sns li { margin-right: 20px; list-style: none; }

/* Inner pages */
.page-main { padding: 40px 0 60px; }

.page-header {
    margin-bottom: 30px;
    text-align: center;
}

.page-header h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Blog listing */
.blog-container { padding: 20px 0; }

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    background: #fff;
}

.blog-title { margin: 0 0 10px; font-size: 18px; }
.blog-title a { color: #00B0F0; text-decoration: none; font-weight: bold; }
.blog-title a:hover { text-decoration: underline; }
.blog-preview p { margin: 0; font-size: 14px; line-height: 1.6; color: #555; }

/* Article content */
.romlicontainer p { margin: 0 0 12px; }

.romlicontainer h1, .romlicontainer h2, .romlicontainer h3,
.romlicontainer h4, .romlicontainer h5, .romlicontainer h6 {
    margin: 16px 0 8px;
    line-height: 1.3;
}

.romlicontainer h1 { font-size: 24px; }
.romlicontainer h2 { font-size: 20px; }
.romlicontainer h3 { font-size: 18px; }
.romlicontainer h4 { font-size: 16px; }

.romlicontainer a { color: #0b6cff; text-decoration: none; }
.romlicontainer a:hover { text-decoration: underline; }

.romlicontainer ul, .romlicontainer ol { margin: 0 0 12px 20px; padding: 0; }
.romlicontainer li { margin-bottom: 4px; }

.romlicontainer img { max-width: 100%; height: auto; display: block; }

.romlicontainer table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 13px;
}

.romlicontainer th, .romlicontainer td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    text-align: left;
    vertical-align: top;
}

.romlicontainer th { background: #f5f5f5; font-weight: 600; }

.romlicontainer blockquote {
    margin: 12px 0;
    padding-left: 10px;
    border-left: 3px solid #ddd;
    color: #555;
}

.romlicontainer hr { border: none; border-top: 1px solid #ddd; margin: 16px 0; }

.romlicontainer code {
    background: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 13px;
}

.romlicontainer pre {
    background: #f5f5f5;
    padding: 10px;
    overflow: auto;
    margin: 12px 0;
}

.pc_only { display: block; }

@media screen and (max-width: 829px) {
    .pc_only { display: none; }

    .col2 { display: block; text-align: center; }

    .footer_logo { padding-right: 0; padding-bottom: 30px; }

    .footer_sns {
        justify-content: center;
        align-items: center;
        padding-top: 30px;
        width: 200px;
        margin: 0 auto;
    }

    .footer_sns li { margin-right: 0; }

    .about_img { margin-bottom: 30px; }
    #about .about_txt { width: 100%; }

    .bg1 {
        background-image: url(/img/bg1-c.png);
        background-size: contain;
    }

    #header { padding-bottom: 0; }
    #header h2 img { width: 70%; }

    .naname { top: 30%; }
    #header .gest { margin-top: 30px; padding-bottom: 50px; }

    .news_ttl { width: 100%; margin-bottom: 30px; }
    .news_box { width: 100%; }

    .site-nav { display: none; }

    .channel_box .col2 li { width: 90%; margin: 40px auto 0; }

    .channel_box_list { justify-content: center; }
    .channel_box_list > li { width: 90%; }

    .schedule_box > li { width: 90%; margin: 0 auto; }
    .schedule_list { margin-bottom: 60px; }

    #caution ul { width: 90%; margin: 0 auto; }

    .bnr_list { justify-content: center; }
    .bnr_list li { width: 90%; }

    .request_box { width: 90%; margin: 0 auto; }

    .about_news {
        padding: 50px 20px 60px;
        background-position: 0 0;
    }

    #about { margin-bottom: 30px; padding-bottom: 50px; }

    .news_box_ttl { padding: 20px 0 20px 30px; }
    .news_box_ttl span {
        display: block;
        width: 100px;
        margin-bottom: 8px;
        padding: 6px 8px 4px;
    }

    .about_news .about_txt p { text-align: left; }
    .about_news .about_txt p br { display: none; }

    .bg2 { padding-top: 200px; }

    #request .request_box p {
        width: 90%;
        margin: 20px auto;
        text-align: left;
    }

    #caution { padding-top: 80px; }
    #bnr { padding: 60px 0; }

    .news_box_ttl::after { line-height: 70px; width: 10px; }
}
