/* ===== KV (hero) ===== */
#kv,
#kv-media {
    line-height: 0;
}
#kv .kv-img img,
#kv-media .kv-img img {
    display: block;
    width: 100%;
    height: auto;
}
#kv .kv-img-pc,
#kv-media .kv-img-pc {
    display: block;
}
#kv .kv-img-sp,
#kv-media .kv-img-sp {
    display: none;
}
@media (max-width: 768px) {
    #kv .kv-img-pc,
    #kv-media .kv-img-pc {
        display: none;
    }
    #kv .kv-img-sp,
    #kv-media .kv-img-sp {
        display: block;
    }
}

/* ===== Navigation =====*/
#kv-nav {
    background: #b44b21;
    padding: 25px 20px 35px;
}
.kv-nav-inner {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.kv-nav-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 0;
}

.kv-nav-list::before,
.kv-nav-list::after {
    content: "";
    position: absolute;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: #fff5dc;
}
.kv-nav-list::before { left: 0; }
.kv-nav-list::after  { right: 0; }

.kv-nav-list li {
    text-align: center;
    padding: 15px 20px;
    position: relative;
}

.kv-nav-list li::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: #fff5dc;
}
.kv-nav-list li:last-child::after {
    display: none;
}

.kv-nav-list li::before {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: 0;
    height: 1px;
    background: #fff5dc;
}
.kv-nav-list li a {
    display: inline-block;
}
.kv-nav-list li a img {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #kv-nav {
        padding: 15px 0;
    }
    .kv-nav-inner {
        width: 100%;
        padding: 0 ;
    }
    .kv-nav-list::before,
    .kv-nav-list::after {
        display: none;
    }
    .kv-nav-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    .kv-nav-list li {
        padding: 15px 0 5px;
    }
    .kv-nav-list li:nth-child(3)::after {
        display: none;
    }
    .kv-nav-list li:nth-child(4) {
        grid-column: 1 / 2;
    }
    .kv-nav-list li:nth-child(4)::after {
        display: none;
    }
    .kv-nav-list li:nth-child(4)::before {
        display: none;
    }
    .kv-nav-list li a img {
        height: 42px;
    }
}

/* ===== NEWS ===== */
#news {
    padding-top: 40px;
}
.news-flag {
    position: absolute;
    top: 30px;
    left: 12px;
    width: 280px;
    height: auto;
    pointer-events: none;
    z-index: 2;
}
.news-flag.sp {
    display: none;
}
@media (max-width: 768px) {
    #news{
        padding-top: 20px;
    }
    .news-flag.pc {
        display: none;
    }
    .news-flag.sp {
        display: block;
        top: 55px;
        width: 25%;
    }
}

.news-head {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}
.news-head .st-news {
    display: block;
    margin: 0 auto;
    width: 220px;
    height: auto;
}
.news-head .illust-kingyo {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: auto;
}
@media (max-width: 768px) {
    .news-head .st-news { width: 160px; }
    .news-head .illust-kingyo {
        width: 60px;
        right: 15px;
    }
}

.news-body {
    display: flex;
    align-items: stretch;
    gap: 30px;
    padding: 25px 10px;
}
.news-list {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 25px;
    padding: 30px 5px;
    border-top: 2px solid #1e3a57;
    border-bottom: 2px solid #1e3a57;
    min-height: 0;
    overflow-y: auto;
}
.news-list::-webkit-scrollbar {
    width: 4px;
}
.news-list::-webkit-scrollbar-thumb {
    background: #cbbfa8;
    border-radius: 2px;
}
.news-list li {
    display: flex;
    gap: 25px;
    align-items: baseline;
    line-height: 1.6;
}
.news-list .date {
    font-weight: 700;
    color: #b44b21;
    flex: 0 0 auto;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.news-list .text {
    color: #1e3a57;
    font-weight: 500;
}

a.text {
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}
a.text:hover {
    color: #b44b21;
    opacity: 0.85;
}
.news-empty,
.media-empty {
    color: #8c6239 !important;
    font-style: italic;
}
.ba-media {
    flex: 0 0 auto;
    display: block;
    width: 200px;
}
.ba-media img {
    width: 100%;
    display: block;
}
.ba-media .sp { display: none; }
@media (max-width: 768px) {
    .news-body {
        flex-direction: column;
        gap: 20px;
        padding: 20px 5px;
    }
    .news-list{
        gap: 15px;
        padding: 20px 5px;
    }
    .news-list li {
        flex-direction: column;
        gap: 3px;
    }
    .ba-media {
        width: 90%;
        margin: 20px auto 0;
    }
    .ba-media .pc { display: none; }
    .ba-media .sp { display: block; }
}

/* ===== INSTAGRAM ===== */
#instagram .section-title {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}
#instagram .section-title .titleimg {
    width: 250px;
    margin: 0 auto;
}
#instagram .illust-smartphone {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: auto;
}

.insta-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 0 auto;
    max-width: 900px;
}
.insta-item {
    aspect-ratio: 1 / 1;
    background: #ccc;
}
.insta-item:nth-child(even) {
    background: #E6E6E6;
}

.insta-item-sp {
    display: none;
}

.btn-instagram {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: #b44b21;
    padding: 0px 10px;
    box-sizing: border-box;
    text-align: center;
}
.btn-instagram img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    #instagram .section-title .titleimg {
        width: 130px;
    }
    #instagram .illust-smartphone {
        width: 40px;
        right: 30px;
    }
    .insta-parent{
        padding: 10px 0px;
        box-sizing: border-box;
    }
    .insta-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    .insta-item-sp {
        display: block;
    }
}

/* ===== CONCEPT ===== */
.contents-cc1 {
	max-width: 820px;
	margin: 0 auto 0;
	line-height: 1.6;
	font-size: 1.6em;
	font-weight: 600;
	color: #1e3a57;
	text-align: center;
}
.contents-cc1 span {
    color: #b44b21;
}
.contents-cc2 {
	max-width: 820px;
	margin: 0 auto 30px;
	line-height: 1.5;
	font-size: 2.2em;
	font-weight: 600;
	color: #b44b21;
	text-align: center;
}
.contents-cc3 {
    max-width: 820px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-size: 1.4em;
    font-weight: 600;
    color: #1e3a57;
    text-align: center;
}
.contents-lead {
    max-width: 820px;
    margin: 0 auto 50px;
    line-height: 2.2;
    font-size: 1.15em;
    font-weight: 600;
    color: #1e3a57;
}
.contents-lead span {
    color: #b44b21;
}
.contents-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}
.contents-card {
    text-align: center;
    padding: 35px 25px;
    position: relative;
}
.contents-card::after {
    content: "";
    position: absolute;
    top: 6%;
    bottom: 6%;
    right: 0;
    width: 2px;
    background: #1e3a57;
}
.contents-card:nth-child(3n)::after {
    display: none;
}
.contents-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #1e3a57;
}
.contents-card:nth-last-child(-n+3)::before {
    display: none;
}

.contents-card-img {
    width: 90%;
    max-width: 200px;
    margin: 0 auto 8px;
}
.contents-card-img img {
    width: 80%;
    height: auto;
    display: inline-block;
}
.contents-card-ribon {
    width: 130px;
    max-width: 80%;
    margin: 0 auto 12px;
}
.contents-card-ribon img {
    width: 100%;
    display: block;
}
.contents-card-body {
}
.contents-card-title-sp {
    display: none;
}
.contents-card-title {
    font-size: 1.1em;
    color: #1e3a57;
    letter-spacing: 0em;
    margin-bottom: 10px;
}
.contents-card-title span {
    color: #b44b21;
}
.contents-card-text {
    color: #1e3a57;
    text-align: left;
    font-weight: 500;
}
.contents-head {
    position: relative;
    text-align: center;
}
.contents-head .illust-kingyo {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: auto;
}
@media (max-width: 768px) {
    #contents .contents-head .titleimg {
        width: 140px;
    }
    .contents-head .illust-kingyo {
        width: 60px;
        right: 15px;
    }
    .contents-cc1 {
        font-size: 1.0rem;
        line-height: 1.5;
        margin-bottom: 35px;
        margin-bottom: 5px;
    }
    .contents-cc2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 35px;
        margin-bottom: 25px;
    }
    .contents-cc3 {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 35px;
        margin-bottom: 25px;
    }
    .contents-lead {
        font-size: 0.85rem;
        line-height: 1.9;
        margin-bottom: 35px;
    }
    .contents-card-text{
        font-size: 0.9em;
    }
    .contents-cards {
        grid-template-columns: 1fr;
    }
    .contents-card {
        padding: 20px 0;
        text-align: left;
        display: grid;
        grid-template-columns: 90px 1fr;
        grid-template-areas:
            "ribon ribon"
            "img title"
            "body   body";
        column-gap: 5px;
        align-items: start;
    }
    .contents-card::after {
        display: none;
    }
    .contents-card::before {
        display: none;
    }
    .contents-card-ribon {
        grid-area: ribon;
        width: 100%;
        max-width: 100%;
        margin: 0 0 4px;
        padding: 0;
        border-bottom: 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .contents-card-ribon::before,
    .contents-card-ribon::after {
        content: "";
        flex: 1 1 auto;
        height: 2px;
        background: #1e3a57;
    }
    .contents-card-ribon img {
        flex: 0 0 auto;
        width: 200px;
        max-width: 50%;
    }
    .contents-card-img {
        grid-area: img;
        width: 80px;
        max-width: 100%;
        margin: 0;
        align-self: center;
    }
    .contents-card-body {
        grid-area: body;
    }
    .contents-card-body > .contents-card-title {
        display: none;
    }
    .contents-card-title-sp {
        display: block;
        grid-area: title;
        width: 100%;
        text-align: left;
        font-size: 1.0em;
        color: #1e3a57;
        letter-spacing: 0em;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    .contents-card-title-sp span {
        color: #b44b21;
    }
    .contents-card-1 { order: 1; }
    .contents-card-2 { order: 2; }
    .contents-card-3 { order: 3; }
    .contents-card-5 { order: 4; }
    .contents-card-6 { order: 5; }
    .contents-card-4 { order: 6; }
}

/* ===== ACCESS ===== */
.access-head {
    position: relative;
    text-align: center;
    margin-bottom: 25px;
}
.access-head .titleimg {
    width: 280px;
    margin: 0 auto 10px;
}
.access-head .illust-container {
    position: absolute;
    left: -100px;
    top: 60%;
    transform: translateY(-50%);
    width: 150px;
    height: auto;
}
.access-head .illust-ryokuchi {
    position: absolute;
    right: -130px;
    top: 150%;
    transform: translateY(-50%);
    width: 320px;
    height: auto;
}
.access-flag {
    position: absolute;
    top: 120px;
    left: 12px;
    width: 280px;
    height: auto;
    pointer-events: none;
    z-index: 2;
}
.access-flag.sp {
    display: none;
}
.access-ribon {
    position: relative;
    text-align: center;
    margin: 0 auto 10px;
    width: 260px;
    max-width: 100%;
}
.access-ribon img {
    width: 100%;
    display: block;
}
.access-place {
    font-size: 1.8rem;
    font-weight: 900;
    color: #b44b21;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}
.access-address {
    text-align: center;
    color: #1e3a57;
    margin-bottom: 35px;
    font-weight: 500;
}
.access-map {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}
.access-map iframe {
    width: 100%;
    display: block;
    height: 450px;
}
@media (max-width: 768px) {
    .access-flag.pc { display: none; }
    .access-flag.sp { display: block; top: 20px; }
    .access-head .titleimg {
        width: 150px;
    }
    .access-head .illust-container {
        left: -7%;
        top: 50%;
        max-width: 30%;
    }
    .access-head .illust-ryokuchi {
        right: -12%;
        top: 70%;
        width: 38%;
    }
    .access-head {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .access-ribon {
        max-width: 50%;
    }
    .access-place { font-size: 1.4rem; }
    .access-address { font-size: 0.82rem; }
    .access-map iframe { height: 300px; }
}

/* ===== SPONCER ===== */
.sponcer-block {
    background-color: #fff;
}
.sponcer-label {
    background: #b44b21;
    color: #fff5dc;
    font-weight: 700;
    text-align: center;
    padding: 6px 0;
    letter-spacing: 0.3em;
}
.sponcer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 15px;
    padding: 40px 0 50px;
}
.sponcer-logos li {
    flex: 0 0 auto;
    width: calc((100% - 75px) / 4);
    max-width: 250px;
}
.sponcer-logos li img {
    width: 100%;
    height: auto;
    display: block;
}
.sponcer-logos-small li {
    width: 200px;
}
.sponcer-text {
    text-align: center;
    font-size: 0.95rem;
    color: #3a2315;
}
.sponcer-head {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}
.sponcer-head .illust-kingyo {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: auto;
}
@media (max-width: 768px) {
    .sponcer-head .titleimg{
        width: 130px;
    }
    .sponcer-label {
        font-size: 0.8em;
    }
    .sponcer-logos {
        padding: 20px 0;
        justify-content: flex-start;
        gap: 5px;
    }
    .sponcer-logos-small{
        justify-content: center;
    }
    .sponcer-logos li {
        width: calc((100% - 10px) / 3);
    }
    .sponcer-text {
        font-size: 0.7em;
    }

    .sponcer-head .illust-kingyo {
        width: 60px;
        right: 15px;
    }
}

/* ===== OVERVIEW ===== */
.overview-anniv {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 10px 0 20px;
    max-width: 100%;
}
.overview-anniv-img {
    flex: 0 0 auto;
    width: 110px;
    max-width: 100%;
}
.overview-anniv-img img {
    width: 100%;
    height: auto;
    display: block;
}
.overview-anniv-text {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}
.overview-anniv-title {
    font-size: 1.5em;
    color: #b44b21;
    font-weight: 700;
    margin-bottom: 10px;
}
.overview-anniv-sub {
    color: #1e3a57;
    font-weight: 500;
    font-size: 1.1em;
}
.overview-list {
    display: block;
}
.overview-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    border-top: 2px solid #1e3a57;
    padding: 30px 0;
}
.overview-list dt {
    flex: 0 0 100px;
    color: #fff5dc;
    background: #b44b21;
    text-align: center;
    padding: 3px 5px;
    font-weight: 500;
    font-size: 0.85em;
    box-sizing: border-box;
}
.overview-list dd {
    flex: 1 1 auto;
    margin: 0;
    color: #1e3a57;
    font-weight: 500;
}
.overview-name{
    margin-bottom: 15px;
}
.overview-name span{
    font-weight: 700;
    font-size: 1.4em;
    line-height: 1.2em;
}
.overview-sub {
    color: #b44b21;
    margin-bottom: 5px;
}
.overview-ul {
    list-style: disc;
    padding-left: 1.3em;
    margin-top: 6px;
}
.overview-ul li {
    margin-bottom: 4px;
    line-height: 1.75;
}
.overview-head {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}
.overview-head .illust-kingyo {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: auto;
}
@media (max-width: 768px) {
    .overview-head .titleimg{
        width: 130px;
    } 
    .overview-head .illust-kingyo {
        width: 60px;
        right: 15px;
    }
    .overview-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px 0;
    }
    .overview-list dt {
        flex: 0 0 auto;
        align-self: flex-start;
        padding: 4px 15px;
        min-width: 120px;
        font-size: 0.8rem;
    }
    .overview-list dd {
        font-size: 0.82rem;
    }
    .overview-name span{
        display: block;
    }
    .overview-anniv-img{
        width: 30%;
    }
    .overview-anniv-title{
        font-size: 1.1em;
        line-height: 1.2em;
    }
    .overview-anniv-sub{
        font-size: 0.8em;
        line-height: 1.2em;
    }
}

/* ===== MEDIA LIBRARY page ===== */
.back-to-top {
    text-align: center;
    padding: 0px 10px 25px;
}
.back-to-top a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff5dc;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.back-to-top .back-arrow {
    font-size: 1.1em;
}
.back-to-top .back-div {
    color: #fff5dc;
}
.back-to-top .back-ja {
    font-size: 0.85rem;
}

.page-media {
    background-color: #b44b21;
}
.page-media #media-list {
    padding-top: 0;
}

.media-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-top: 1px solid #1e3a57;
    border-bottom: 1px solid #1e3a57;
    padding: 30px 0;
}
.media-list li {
    display: flex;
    gap: 25px;
    align-items: baseline;
    padding: 0 10px;
    line-height: 1.7;
}
.media-list .date {
    font-weight: 700;
    color: #b44b21;
    flex: 0 0 auto;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.media-list .text {
    color: #1e3a57;
    font-weight: 500;
}
@media (max-width: 768px) {
    .media-list li {
        flex-direction: column;
        gap: 3px;
        padding: 0 5px;
    }
}
