@charset "UTF-8";

/*
theme Name: sps 2023
Author: sps 2023
Description: sps 2023
*/

html {
    font-size: 62.5%;
    /*pxだと10px;*/
}

.main {
    width: 1200px;
    /*最大幅*/
    margin: 0 auto;
}

body {
    width: 100%;
    height: auto;
    background: #fff;
    color: #000;
    font-size: 1.6rem;
    font-family: "ヒラギノ角ゴシック", "ヒラギノ角ゴ ProN W3", "Droid Sans", "游ゴシック", "メイリオ", "MS Pゴシック", sans-serif;
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

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

a {
    display: block;
    color: #000;
    text-decoration-line: none;
}

a:hover {
    opacity: 0.8;
    transition-duration: 0.8s;
}

a img:hover {
    opacity: 0.9;
    transition-duration: 0.8s;
}

p {
    margin: 0 0 1rem;
}

.pc-none {
    display: none;
}

.sp-none {
    display: block;
}
.scroll_wrap{
    width: 100%;
    overflow: scroll;
}
@media screen and (min-width: 1000px) and (max-width: 1300px) {
    html {
        font-size: 56.7%;
    }
}
@media screen and (max-width: 999px) {

    body {
        font-size: 1.4rem;
        letter-spacing: 0.1em;
        line-height: 1.5;
    }

    .pc-none {
        display: block;
    }

    .sp-none {
        display: none;
    }

    a.anchor {
        margin-top: -40px;
        padding-top: 40px;
    }
}


/*ヘッダー --------------------------------------------------------------------------*/
#header {
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 3;
}
#header.change{
    box-shadow: 0px 5px 5px -6px rgba(0, 0, 0, 0.3);
}

#header .header-inner {
    position: relative;
    transition-duration: 0.5s;
    box-sizing: border-box;
    height:122px;
}
#header.change .header-inner {
    height: 65px;
    transition-duration: 0.5s;
}
@media screen and (max-width: 999px) {
    #header .header-inner {
        height: auto;
        align-items: center;
    }
    #header.change .header-inner{
        height:auto;
    }
}

/*ロゴ*/
#header .logo-area {
    text-align: center;
    height: auto;
    transition-duration: 0.8s;
}
#header.change .logo-area{
    display: none;
    transition-duration: 0.8s;
}
@media screen and (max-width: 999px) {
    #header .logo-area {
            text-align: left;
    }
    #header.change .logo-area {
        display: block;
    }
}

#header h1 {
    display: block;
    width: 355px;
    transition-duration: 0.5s;
    margin: 0 auto;
    padding-top: 15px;
}

#header .menu-contact {
    color: #fff;
    background-color: #B5272D;
    width: 100px;
    text-align: center;
    font-size: 1.4rem;
    padding: 10px 0;
    position: absolute;
    top: 0;
    right: 6.2%;
    transition-duration: 0.8s;
}
#header.change .menu-contact{
    padding:15px 0;
    transition-duration: 0.5s;
    right: 1%;
}

@media screen and (max-width: 999px) {
    #header h1 {
        width: auto;
        padding:18px 7% 15px;
    }
        #header h1 img{
            width: auto;
            height:20px
        }
}


/*メインナビゲーション*/
#header nav {
    flex: 1;
    margin-top: 15px;
}
#header.change nav{
    margin-top: 1rem;
    transition-duration: 0.5s;
}

#header nav ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#header nav li .menu-item {
    display: block;
    padding: 1.1rem 3rem;
    box-sizing: border-box;
    letter-spacing: 0.1rem;
    line-height: 0.9;
    text-align: center;
    white-space: nowrap;
    transition-duration: 0.5s;
    font-size: 1.4rem;
    font-weight: 500;

}

#header nav li .menu-item span {
    font-size: 1.3rem;
    color: #707070;
}

#header nav li .menu-item:hover {
    color:#B5272D;
}

#header nav .inner .nav_menu {
    display: flex;
    list-style: none;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 4%;
    max-width: 1500px;
}
#header.change nav .inner .nav_menu{
    width: 87%;
    transition-duration: 0.5s;
}
@media screen and (max-width: 1100px) {
#header.change nav .inner .nav_menu {
    width: 90%;
    padding-bottom: 10vh;
}
}
@media screen and (max-width: 999px) {
    #header nav ul {
        display: block;
    }

    #header nav li .menu-item {
        display: none;
    }

    #header nav .inner .nav_menu {
        display: block;
        margin: 0;
        padding: 0 4%;
    }
    #header.change nav .inner .nav_menu{
        width: 100%;
    }
}

/*hoverしたら表示*/
#header nav .nav_subs {
    position: absolute;
    width: 100%;
    top: 122px;
    left: 0;
    padding: 3rem 6% 4rem;
    background-color: #F4F4F4;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s ease;
    transition: all .3s;
    justify-content: flex-start !important;
}
#header.change  nav .nav_subs{
    top: 65px;
}
#header nav .has-child:hover .nav_subs,
#header nav li .menu-item:hover+.nav_subs,
#header nav .nav_subs:hover {
    visibility: visible;
    opacity: 1;
}

#header .nav_subs .menu-title {
    width: 100%;
    font-weight: 500;
    color:#707070;
}
#header .nav_subs .menu-title a:hover{
    color:#B5272D;
}
#header .nav_subs .menu--item a,
.sitemap_item .menu--item a {
    border-bottom: 1px solid #000;
    width: 100%;
    text-align: left;
    display: block;
    height: 48px;
    line-height: 48px;
    box-sizing: border-box;
    letter-spacing: 0.1rem;
    white-space: nowrap;
    position: relative;
    margin-top: 1.5rem;
    font-size: 1.4rem;
}
#header .nav_subs .menu--item a:hover{
    color:rgb(181, 39, 45);
    border-bottom: 1px solid rgb(181, 39, 45);
}

#header .nav_subs .menu--item a::after,
.sitemap_item .menu--item a::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-image: url(img/common/menu_arrow_bk.svg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
    position: absolute;
    right: 0;
    top: 30%;
}
#header .nav_subs .menu--item a:hover::after,
.sitemap_item .menu--item a:hover::after {
    background-image: url(img/common/menu_arrow_red.svg);
}

#header .nav_subs .menu--item {
    margin-right: 7%;
    width: 28.6%;
}
.sitemap_item .menu--item a {
    font-size: 1.4rem;
}
#header .nav_subs .menu--item:nth-of-type(4n),#header .nav_subs .menu--item:nth-of-type(7n) {
    margin-right: 0rem;
}
@media screen and (max-width: 1220px) {
    #header .nav_subs .menu--item:nth-of-type(4n),#header .nav_subs .menu--item:nth-of-type(7n) {
            margin-right: 8%;
    }
    #header .nav_subs.long .menu--item li{
        width: 35.6%;
    }
}
@media screen and (max-width: 999px) {

    #header nav .nav_subs {
        position: static;
        padding: 1.5rem 0 3rem;
        background-color: #fff;
        visibility: visible;
        opacity: 1;
    }
    #header .nav_subs .menu-title a{
        color: #B5272D;
    }
    #header .nav_subs .menu--item a {
        border-bottom: 1px solid #000;
        width: 100%;
        height: auto;
        line-height: 1.5;
        margin-top: 0;
        padding:0.8rem 0;
        font-size: 1.4rem;
    }


    #header .nav_subs .menu---item a {
        margin-top: 3.5rem;
    }

    #header .nav_subs .menu--item {
        margin-right: 0;
        width: 100%;
    }
}



@media screen and (max-width: 999px) {
    #header nav {
        display: block;
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: all .5s;
        z-index: 200;
        opacity: 0;
        margin-top: 0;
    }

    #header .open nav {
        right: 0;
        opacity: 1;
    }

    #header nav .inner {
        height: 85vh;
        padding: 40px 0 0;
    }

    #header nav .header-nav {
        padding: 0 30px;
    }

}

@media screen and (max-width: 999px) {
    #header nav .inner ul {
        display: block;
    }
}

/*ハンバーガーボタン*/
@media screen and (min-width: 1000px) {

    /* PC時はMENUボタンを非表示 */
    .toggle_btn {
        display: none !important;
    }

    #navi {
        display: block !important;
    }
}

@media screen and (max-width: 999px) {
    #header .toggle_btn {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 40px;
        height: 40px;
        transition: all .5s;
        cursor: pointer;
        z-index: 300;
    }

    #header .toggle_btn span {
        display: block;
        position: absolute;
        right: 15px;
        width: 20px;
        height: 1.5px;
        background-color: #000;
        transition: all .5s;
    }

    #header .toggle_btn span:nth-child(1) {
        top: 18px;
    }

    #header .toggle_btn span:nth-child(2) {
        top: 26px;
    }

    #header .toggle_btn span:nth-child(3) {
        top: 34px;
    }

    #header .open .toggle_btn {
        z-index: 300;
    }


    #header .open .toggle_btn span:nth-child(1) {
        -webkit-transform: translateY(10px) rotate(-315deg);
        transform: translateY(10px) rotate(-315deg);
        top: 10px;
    }

    #header .open .toggle_btn span:nth-child(2) {
        opacity: 0;
    }
    #header .open .toggle_btn span:nth-child(3) {
        -webkit-transform: translateY(-10px) rotate(315deg);
        transform: translateY(-10px) rotate(315deg);
        top: 30px;
    }
    #header #mask {
        display: none;
        transition: all .5s;
    }
    #header .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 1);
        opacity: .8;
        z-index: 2;
        cursor: pointer;
    }

}


/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 80px;
    right: 5%;
    width: 60px;
    height: 60px;
    background-image: url(../img/common/page-top.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 0;
}

@media screen and (max-width: 999px) {
    #pagetop {
        width: 40px;
        height: 40px;
    }
}

/*フッター --------------------------------------------------------------------------*/
footer {
    width: 100%;
    background-color: #fff;
    font-size: 1.4rem;

    position: relative;
}

.footer-nav-wrap {
    background-color: #4B4B4B;
    color: #fff;
    padding: 40px 7% 50px;
}

#footer-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#footer-nav ul .menu-item a {
    border-bottom: #fff 1px solid;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    margin-top: 4rem;
    width: 230px;
    color:#fff;
}

#footer-nav ul .menu--item a {
    padding: 0.5rem 0;
    font-size: 1.3rem;
    color: #fff;
}

.footer-menu {
    padding: 20px 7% 0;
}

.footer-menu .logo-area a {
    width: 230px;
}
.footer-menu .footer-menu_area{
    padding-bottom: 5px;
}
.footer-menu .footer-menu_area ul {
    width: 26%;
}
.footer-menu .footer-menu_area,
.footer-menu .footer-menu_area ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media screen and (max-width: 1050px) {
    .footer-menu .footer-menu_area ul {
            width: 30%;
        }
}
.footer_copyright {
    border-top: #000 1px solid;
    padding-top: 10px;
    text-align: center;
}

@media screen and (max-width: 999px) {
    footer {
        width: 100%;
        background-color: #fff;
        font-size: 1.4rem;

    }

    .footer-nav-wrap {
        padding: 10px 7% 40px;
    }

    #footer-nav {
        display: block;
    }

    #footer-nav ul .menu-item a {
        width: 100%;
        margin-top: 2rem;

    }
    #footer-nav ul .menu--item a{
    padding: 0.3rem 0;
    }
    .footer-menu{
        padding:30px 7% 8px;
    }
    .footer-menu .logo-area a {
        width: 260px;
        margin:0 auto 2rem;
    }

    .footer-menu .footer-menu_area {
        display: block;
        font-size: 13px;
    }

    .footer-menu .footer-menu_area ul {
        display: flex;
        flex-wrap: wrap;
    }

    .footer-menu .footer-menu_area ul {
        margin-top: 1rem;
        width: 100%;
        font-size: 1.3r4em;
    }

    .footer_copyright {
        border-top: #000 1px solid;
        padding-top: 1rem;
        margin-top: 1rem;
        text-align: center;
        font-size: 1.1rem;
    }
}


/* main --------------------------------------------------------------------------*/

/* 横幅1100pxのコンテンツ */
.container {
    max-width: 1100px;
    margin: 0 auto;
}

.contents {
    padding-bottom: 100px;
}

section {
    position: relative;
}

@media screen and (max-width: 1200px) {
    .container {
        max-width: 87%;

    }

    .contents {
        padding-bottom: 50px;
    }
}

/* 横幅100%のコンテンツ */
.container-full {
    max-width: 100%;
    width: 100%;
    background-color: #F6F6F5;
}

.container--full {
    max-width: 100%;
    width: 100%;
    background-color: #F6F6F5;
    padding: 50px 5% 70px;
}

@media screen and (max-width: 1200px) {
    .container-full {
        margin: 0px auto;

    }

    .container--full {

        padding: 20px 5% 50px;
        margin: 0;
    }
}


/* ページタイトル  -------------------------------------*/

/* 下層ページ共通 ページタイトル */
.page-title-area{
    margin-top: 80px;
}
.page-title-area h2 {
    margin-bottom: 90px;
    text-align: center;
    font-size: 2.5rem;
    position: relative;
    font-weight: bold;
}

.page-title-area h2::after {
    content: "";
    width: 40px;
    height: 3px;
    background-color: #B5272D;
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;

}

@media screen and (max-width: 999px) {
    .page-title-area{
        margin-top: 40px;
    }
    .page-title-area h2 {
        margin-bottom: 10px;
        font-size: 1.7rem;
    }

    .page-title-area h2::after {
        width: 30px;
        bottom:-10px;
    }
}
p.page-text{
width: 100%;
margin: 0 auto;
font-weight: 500;
margin-bottom: 50px;
text-align: center;
line-height: 2;
}
@media screen and (max-width: 999px) {
    p.page-text {
        margin-bottom: 30px;
        text-align: left;
        line-height: 1.8;
    }
    p.page-text.mt{
        margin-top:35px ;
    }
}

/* 下層ページ共通 サブタイトル */
.sub-title-area {
    width: 100%;
    border-bottom: #B5272D 1px solid;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.bold {
    font-weight: bold;
    margin: 1.5rem 0 0;
}

/* ぱんくずリスト  -------------------------------------*/
.wrap {
    position: relative;
}

.breadcrumb-area {
    padding-top: 133px;
    background: #F8F8F8;
    padding-bottom: 1rem;
}

.breadcrumb-area ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1.4rem;
}

.breadcrumb-area li {
    display: flex;
    padding: 0 0.5em 0 0;
}

@media screen and (max-width: 999px) {
    .breadcrumb-area {
            padding-top: 62px;
            padding-bottom: 0.5rem;
        }
    .breadcrumb-area .container{
        margin-top: 0;
    }
    .breadcrumb-area ul {
        font-size: 1.3rem;
        flex-wrap: wrap;
        width: 100%;
    }
}


/* ボタン  -------------------------------------*/

.btn_contents a{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B5272D;

}
.btn_contents a img{
    padding-left: 1em;
}
.btn-right {
    margin: 0 0 0 auto;
}


.btn_area {
    border-bottom: #000 1px solid;
    width: 185px;
    padding-bottom: 1.5rem;
}

/* 画像付きメニューボタン */
.pagecontents_menu2{
    width: 48.5%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}   
.pagecontents_menu3 {
    width: 74.25%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}
.pagecontents_menu4 {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.pagecontents_menu2 .pagecontents_item {
    width: calc(97% / 2);
    text-align: center;
    margin-bottom: 3rem;
    margin-right: 3%;
    border: 1px solid #ccc;
}
.pagecontents_menu3 .pagecontents_item{
    width: calc(94% / 3);
    text-align: center;
    margin-bottom: 3rem;
    margin-right: 3%;
    border: 1px solid #ccc;
}
.pagecontents_menu4 .pagecontents_item {
    width: calc(91% / 4);
    text-align: center;
    margin-bottom: 3rem;
    margin-right: 3%;
    border: 1px solid #ccc;
}
.pagecontents_menu2 .pagecontents_item:nth-child(2n){
    margin-right: 0;
}
.pagecontents_menu3 .pagecontents_item:nth-child(3n),.pagecontents_menu3 .pagecontents_item:nth-child(6n) {
    margin-right: 0;
}

.pagecontents_menu4 .pagecontents_item:nth-child(4n){
    margin-right: 0;
}
.pagecontents_item .image{
    height:220px;
    width: 100%;
}
.pagecontents_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pagecontents_item .text {
    background-color: #F6F6F5;
    height: 76px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    padding:2rem 1rem;
}
.pagecontents_item .text P{
    margin:0;
}

@media screen and (max-width: 999px) {
.pagecontents_menu2,.pagecontents_menu3,.pagecontents_menu4 {
    width: 100%;
    justify-content: space-between;
}

.pagecontents_menu2 .pagecontents_item,.pagecontents_menu3 .pagecontents_item,.pagecontents_menu4 .pagecontents_item{
    width: 47%;
    margin-right: 0;
    margin-bottom: 2rem;
}
.pagecontents_item .image{
    height: 35vw;
}
.pagecontents_item .text{
    padding: 1rem 1rem 0.5rem;
    font-size: 1.4rem;
}
.pagecontents_item p {
    font-size: 1.4rem;
    text-align: left;
}
}

/* 表  -------------------------------------*/

.list_area table tr,
.list_area table tr th,
.list_area table tr td {
    border: 0.25px solid #1A1311;
    padding: 1.5rem 1rem;
}

.list_area table tr th {
    background-color: #F6F6F5;
    width: 172px;
    font-weight: 400;
}

/* プライバシーポリシー
--------------------------------------------------------------------------*/
#policy{
    padding-bottom: 130px;
}
#policy h3{
    font-weight: bold;
    border-bottom: 1px solid #B5272D;
    padding-bottom: 0.5rem;
    margin-bottom: 0.8rem;
    margin-top: 4rem;
}
#policy ul{
    line-height: 1.7;
}
#policy ul ul{
    margin-bottom: 1em;
    margin-left: 1em;
}
#policy .inquiry{
    margin:1rem;
}
#policy .inquiry a{
    display: inline;
}
@media screen and (max-width: 999px) {
#policy {
        padding-bottom: 60px;
    }
#policy h3{
    margin-top: 2rem;
}
#policy .inquiry {
    margin: 1rem 0;
}
#policy ul{
    line-height: 1.6;
}
#policy ul ul {
    margin-bottom: 1em;
    margin-left: 1em;
}
}

/* サイトマップ
--------------------------------------------------------------------------*/
#sitemap{
    padding-bottom: 130px;
}
#sitemap h3{
    font-weight: bold;
    border-bottom: 1px solid #B5272D;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 3rem;
}
#sitemap ul{
    display: flex;
    flex-wrap: wrap;
}
#sitemap li{
    width: 30%;
    margin-right: 5%;
}
#sitemap li:nth-child(3),#sitemap li:nth-child(6){
    margin-right: 0;
}
#sitemap li a{
    position: relative;
    display: block;
    color: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}
#sitemap li a:after{
    position: absolute;
    content: '';
    top: 5px;
    right: 0;
    width: 18px;
    height: 18px;
    background-image: url(img/common/menu_arrow_bk.svg);
    background-repeat: no-repeat;
    background-size: cover;
}
#sitemap li a:hover{
    color: #B5272D;
    border-bottom: 1px solid #B5272D;
}
#sitemap li a:hover::after{
    background-image: url(img/common/menu_arrow_red.svg);
}

@media screen and (max-width: 999px) {
#sitemap {
        padding-bottom: 60px;
    }
    #sitemap ul {
        display: block;
    }
    #sitemap li {
        width: 100%;
        margin-right: 0;
    }
    #sitemap li a {
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
    }
    #sitemap li a:after {
        width: 16px;
        height:16px;
    }
}


/* 下からフェードイン  
--------------------------------------------------------------------------*/
.slide-bottom {
    opacity: 0;
    transform: translate(0, 30px);
    transition: all 0.8s ease-out;
    transition-delay: 0.2s;
}