body{
    /*font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;*/
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

ul{list-style:none;padding:0;}
a{text-decoration:none;color:inherit;}

.sp-nav-menu li{
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}
.sp-nav-menu li:hover{
    border-color: #333;
}

main{
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-section{
    margin-bottom: 60px;
}

.page-title {
    text-align: center;
    border-bottom: 2px solid #333;
    margin-bottom: 50px;
}

.section-title{
    border-bottom: 2px solid #333;
    margin-bottom: 15px;
}

.section-title h2{
    font-size: 2.0rem;
    margin-bottom: 5px;
}

.section-title span{
    font-size: 1.1rem;
    font-weight: normal;
    margin-left: 15px;
}

.container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px; 
}

.image-box{
    border: 3px solid #111;
    background-color: #fff;
    outline: 3px solid #333;
    outline-offset: 4px;
    
    width: 80%;
    margin: 0 auto 30px;

    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.image-box img {
    filter: saturate(1.1) contrast(1.05);
    width: 100%;
    height: 100%;
    height: auto;
    display: block;
    max-width: none;
    object-fit: cover;
}

.view-link span{
    display: inline-block;
    transition: transform 0.3s ease;
}

.view-link:hover span{
        transform: translateX(10px);
}

.section-footer{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 1.2rem;
}

.sns-section{
    text-align: center;
    margin-top: 80px;
}

.sns-section .section-title {
    text-align: left;
}

.sns-group{
    margin-bottom: 40px;
}

.sns-group p{
    font-size: 1.2rem;
}

.sns-group h3{
    font-size: 1.5rem;
}

.sns-icons{
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 15px;
}

.main-icon{
    width: 40px;
    margin-bottom: 8px;
}

.sub-icon{
    position: absolute;
    bottom: 10px;
    right: 10px;

    width: 20px;
    height: 20px;
}


.line{
    border-bottom: 2px solid black;
    display: inline-block;
}


.sp-layout {
    display: none !important;
}

.footer-col a.line{
    min-width: 100px;
}

.footer-col a.line:hover{
    color: #e0e0e0;
}

.footer-col a.subject{
    min-width: 100px;
}

/* PC */
@media screen and (min-width: 769px) {
    .pc-layout {
        display: block !important;
    }
    .sp-layout {
        display: none !important;
    }

    body{
        padding-top: 80px;
    }

    header {
        padding: 20px 50px;
        background-image : url("../img/R8/pre_header_2.png");
        background-color: #fff;

        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 20px 50px;
        z-index: 1000;
    }


    .header-inner{
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 2000px;
        margin: 0 auto;
        font-weight: bold;
        font-size: 1.5rem;
        height: 100%;
    }

    header h1{
        font-size: 2.5rem;
        margin: 0;
        width: 100%;
    }

    header nav ul{
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .view-link{
        font-weight: bold;
        font-size: 1.5rem;
    }

    .section-footer p {
        flex: 1;
        text-align: center;
    }

    .sns-card{
        position: relative;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 120px;
        height: 120px;

        padding: 15px;
        border-radius: 16px;
        background: #ccc;

        margin-left: 25px;
        text-decoration: none;
        color: black;
        box-shadow: 10px 10px 15px rgba(0,0,0,0.7);
    }

    .sns-card:hover{
        background: #e0e0e0;
        transform: scale(0.9);
        box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    }


    footer{
        background-color: #999;
        padding: 40px 20px;
        margin-top: 60px;
        
        }

    .footer-grid{
        max-width: 800px;
        margin: 0 auto; 
        display: grid;
        grid-template-columns: repeat(5, auto);
        gap: 80px;
        font-size: 1.2rem;

        font-weight: bold;
    }

    .footer-col ul{
        margin-top: 20px;
    }

    .footer-col li{
        margin-bottom: 15px;
        align-items: center;
        border-bottom: 2px solid transparent;
        transition: border-color 0.3s;
    }

    .footer-col li.link{
        width: fit-content;
    }

    .footer-col li.link:hover{
        border-color: #333;
    }

    .footer-sns{
        display: flex;
        align-items: center;
        gap: 20px;
        list-style: none;
        margin-bottom: 8px;
    }

    .footer-icon{
        width: 20px;
        height: auto;
        vertical-align: middle;
    }

    .footer-col li span{
        width: 100px;
        display: inline-block;
    }
}

/* スマホ */
@media screen and (max-width: 768px) {
    .pc-layout {
        display: none !important;
    }
    .sp-layout {
        display: block !important;
    }

    body{
        padding-top: 80px;
    }

    header{
        box-sizing: border-box;
        padding: 0px 20px;
        background-image : url("../img/R8/pre_header_2.png");
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: center;
        height: 80px;

        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }


    .header-inner{
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 2000px;
        margin: 0 auto;
        font-weight: bold;
        font-size: 1.5rem;
        height: 100%;
    }

    header h1{
        font-size: 2.0rem;
        padding: 0;
        text-align: left;
        width: 100%;
    }

    .menu-icon {
        position: relative;
        width: 30px;
        height: 24px;
        cursor: pointer;
        display: block;
    }

    .menu-icon span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #333;
        border-radius: 4px;
        transition: all 0.4s; 
    }

    .menu-icon span:nth-child(1) { top: 0; }
    .menu-icon span:nth-child(2) { top: 11px; }
    .menu-icon span:nth-child(3) { bottom: 0; } 

    .menu-icon.open span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .menu-icon.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-icon.open span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .sp-nav-menu {
        display: none; 
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        height: auto;
        background-color: #d3d3d3;
        padding: 0;
        z-index: 999;
    }

    nav.open .sp-nav-menu {
        display: block;
    }

    .sp-nav-menu li {
        border-bottom: none !important;;
        text-align: center;
        display: flex;
        justify-content: center;
        padding: 10px 0;
    }

    .sp-nav-menu li a {
        display: block;
        width: 200px;
        padding: 10px 0 5px 0;
        color: #333;
        font-weight: bold;
        text-decoration: none;

        border-bottom: 2px solid transparent; 
        transition: border-color 0.3s;
    }

    .sp-nav-menu li a:hover {
        border-bottom-color: #333;
    }

    .view-link{
        font-weight: bold;
        font-size: 1.5rem;
        position: absolute;
        /*bottom: -5px;*/
        top: 80px;

        right: 20px;
    }


    .section-footer p {
        flex: 1;
        text-align: left;
    }

    .sns-card{
        position: relative;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 65px;
        height: 100px;

        padding: 15px;
        border-radius: 16px;
        background: #ccc;

        /*margin-left: 25px;*/
        text-decoration: none;
        color: black;
        box-shadow: 10px 10px 15px rgba(0,0,0,0.7);
    }

    .sns-card:hover{
        background: #e0e0e0;
        transform: scale(0.9);
        box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    }


    footer {
        padding: 10px 15px 70px 15px;
        background-color: #999;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .footer-col {
        display: flex;
        flex-direction: row;
        padding-bottom: 5px;
        align-items: baseline;
        width: 100%;
    }

    .footer-col ul {
        display: flex;
        flex-wrap: wrap;
        margin: 0 0 0 30px;
        padding-left: 0;
    }

    .footer-col ul li{
        min-width: 110px;
        border-bottom: 2px solid transparent;
        transition: border-color 0.3s;
        /*margin-right: 20px;*/
    }

    .footer-col li.link{
        width: fit-content;
    }

    .footer-col li.link:hover{
        border-color: #333;
    }

    .footer-col:last-child ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .footer-sns {
        display: flex;
        align-items: center;
        margin-top: 10px;
        gap: 20px;
    }

    .footer-sns span {
        min-width: 100px;
    }

    .footer-icon {
        width: 25px;
    }
    
}
