@charset "utf-8";
:root{
    --font-serif: "Zen Old Mincho", serif;
}

.main-title{
    opacity: 0;
    animation: fadeIn 0.1s ease 0.1s forwards;
}
.tab-btn span{
    opacity: 0;
    animation: fadeIn 0.2s ease 0.1s forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

main{
    position: relative;
    max-width: 1920px;
    min-width: 1280px;
    margin-inline: auto;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    small{
        display: block;
    }
}
@media (min-width: 769px){
    figure{
        width: fit-content;
    }
    .w1236{
        width: 1256px;
        margin-inline: auto;
        padding-inline: 10px;
    }
    .w1280{
        width: 1290px;
        margin-inline: auto;
        padding-inline: 10px;
    }
    .w1440{
        width: 100%;
        min-width: 1280px;
        max-width: 1440px;
        margin-inline: auto;
        padding-inline: 10px;
        box-sizing: content-box;
    }
    .w1540{
        width: 100%;
        min-width: 1236px;
        max-width: 1540px;
        margin-inline: auto;
        padding-inline: 10px;
        box-sizing: content-box;
    }
    .pc-colmc-2{
        column-count: 2;
    }
}
@media (max-width: 768px){
    main{
        min-width: auto;
        font-size: 16px;
    }
    figure{
        width: 100%;
        img {
            max-width: 100%;
        }
    }
}

.main-header{
    position: relative;
    height: 440px;
    padding-top: 45px;
    background-color: #cccccc;
    /* background: url(../images/mv-bg.webp) no-repeat center top / cover; */
    color: #f5f3ec;
}
.mv-bg-image-wrap{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.mv-bg-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main-header-inner{
    position: relative;
    z-index: 1;
}
.main-title-wrap{
    width: fit-content;
    text-align: left;
}
.main-title{
    font-family: var(--font-serif);
    font-size: 44px;
    font-weight: 600;
    line-height: 1.4;
    span{
        display: block;
        font-size: 0.545em;
    }
}
.main-header-text{
    margin-top: 20px;
    font-size: 18px;
    letter-spacing: -0.02em;
    text-align: justify;
}
@media (min-width: 769px){
    .main-header-text{
        width: 580px;
    }
}
@media (max-width: 768px){
    .main-header{
        padding-top: calc( 50 / 750 * 100vw );
        aspect-ratio: 750 / 1100;
        height: auto;
        /* background-image: url(../images/mv-bg-sp.webp); */
    }
    .main-title-wrap{
        padding-inline: calc( 40 / 750 * 100vw );
        text-shadow: 0 0 8px #08459f,
            0 0 8px #08459f,
            0 0 8px #08459f,
            0 0 8px #08459f,
            0 0 8px #08459f;
    }
    .main-title {
        font-size: calc( 50 / 750 * 100vw );
        span{
            margin-bottom: 1vw;
        }
    }
    .main-header-text{
        margin-top:  calc( 40 / 750 * 100vw );
        padding-inline: 0;
        font-size: calc( 28 / 750 * 100vw );
    }
}

.tab-list{
    max-width: 1280px;
    width: 100%;
    display: flex;
    gap: 20px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: .5s ease-in-out;
}
.tab-btn{
    flex: 1;
    height: 80px;
    background-color: #192168;
    color: #f5f3ec;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    line-height: 1.2;
    transition: .2s ease-in-out;
}
.tab-btn[aria-selected="true"]{
    background-color: #ffffff;
    color: #2061a2;
    cursor: default;
}
@media (min-width: 769px){
    .tab-btn:hover{
        background-color: #ffffff;
        color: #2061a2;
    }
}
@media (max-width: 768px){
    .tab-list{
        width: 99%;
        gap: 1vw;                                        
    }
    .tab-btn{
        height: 50px;
        font-size: 16px;
    }
}

.tab-list.-static.is-hidden{
    display: none;
}
.tab-list.-fixed.is-hidden{
    opacity: 0;
    visibility: hidden;
}
.tab-list.-fixed{
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 10px;
    bottom: auto;
    left: auto;
    transform: translateX(0);
    gap: 10px;
    width: fit-content;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); */
    .tab-btn{
        transform: translate(0, 0);
        height: auto;
        padding: 10px 5px 10px 3px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
        writing-mode: vertical-rl;
        font-size: 18px;
        text-align: left;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
    .tab-btn[aria-selected="true"]{
        color: #000000;
        background: #fffefb;
    }
    #tab-nipponmaru.tab-btn{
        transition: .3s ease-in-out;
    }
    #tab-mof.tab-btn{
        transition: .4s ease-in-out;
    }
    #tab-mos.tab-btn{
        transition: .5s ease-in-out;
    }
}
@media (min-width: 769px){
    .tab-list.-fixed.is-hidden{
        .tab-btn{
            transform: translateY(-100px);
        }
    }
    .tab-list.-fixed{
        .tab-btn:hover{
            color: #000000;
            background: #fffefb;
        }
    }
}
@media (max-width: 768px){
    .tab-list.-fixed.is-hidden{
        .tab-btn{
            transform: translateX(100px);
        }
    }
    .tab-list.-fixed{
        top: 20px;
        right: 0;
        flex-direction: column;
        .tab-btn{
            flex: auto;
            font-size: 16px;
            border-top-left-radius: 3px;
            border-bottom-right-radius: 0;
        }
    }
}

[role="tabpanel"]{
    position: relative;
    background-color: #ffffff;
}