@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* --------------------------------------------------------
PCヘッダー / 2025.06 設定
-------------------------------------------------------- */

@media print, screen and (min-width : 960px) { /* PC */
  
    /* 整列
    -------------------------- */
    header .l-header__inner {
        display: flex;
        flex-wrap: wrap;
    }
    header .l-header__inner .l-header__logo {
        order: 1;
        width: 33%;
    }

    /* 電話・LINE等
    -------------------------- */
    header .l-header__inner .w-header.pc_ {
        order: 2;
    }
    header .l-header__inner .header-info {
        display: flex;
    }
    header .l-header__inner .header-info_phone {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-right: 3rem;
        font-size: 0.9rem;
    }
    header .l-header__inner .header-info_phone p:nth-of-type(1) {
        font-weight: 600;
    }
    header .l-header__inner .header-info_phone p:nth-of-type(2) {
        display: block;
        margin-top: 0.25rem;
        color: #333333;
        font-weight: 600;
        font-size: 1.5rem;
    }
    header .l-header__inner .header-info_phone p:nth-of-type(2) span {
        display: flex;
        align-items: center;
    }
    header .l-header__inner .header-info_phone p:nth-of-type(2) span:before {
        content: "";
        display: block;
        width: 1.75rem;
        height: 1.75rem;
        margin-right: 0.25rem;
        background: url(images/icon-freecall.svg) no-repeat center center / contain;
        border: 1px solid #333333;
    }
    header .l-header__inner .header-info_contact p {
        display: flex;
        align-items: center;
        border-radius: 5px;
        margin-bottom: 0.5rem;
        padding: 0 0.5rem 0.25rem 0.5rem;
        color: #FFFFFF;
        background-color: #023886;
        font-size: 0.9rem;
    }
    header .l-header__inner .header-info_contact p span {
        display: inline-block;
        padding-left: 0.25em;
        color: #D50915;
        font-weight: 600;
        font-size: 1.25rem;
    }
    header .l-header__inner .header-info_contact ul {
        display: flex;
        justify-content: space-between;
    }
    header .l-header__inner .header-info_contact ul li {
        width: calc((100% - 0.5rem) / 2);
        border-radius: 5px;
        background-color: #02B802;
        transition: .2s;
    }
    header .l-header__inner .header-info_contact ul li:hover {
        opacity: .7;
        transition: .2s;
    }
    header .l-header__inner .header-info_contact ul li:nth-child(2) {
        background-color: #f08400;
    }
    header .l-header__inner .header-info_contact ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 0.25rem 0;
        line-height: 1.25em;
        color: #FFFFFF;
        font-size: 0.9rem;
        text-align: center;
    }

    /* グロナビ
    -------------------------- */
    header .l-header__inner #gnav {
        position: relative;
        z-index: 1;
        order: 3;
        margin-top: 0.5rem;
        width: 100%;
        background-color: #023886;
    }
    header .l-header__inner #gnav:before,
    header .l-header__inner #gnav:after {
        content: "";
        position: absolute;
        z-index: -1;
        bottom: 0;
        display: block;
        width: 100%;
        height: 100%;
        background-color: #023886;
    }
    header .l-header__inner #gnav:before {
        right: 50%;
    }
    header .l-header__inner #gnav:after {
        left: 50%;
    }
    header .l-header__inner #gnav > ul.c-gnav {
        border-left: 1px solid #416aa4;
        border-right: 1px solid #002559;
    }
    header .l-header__inner #gnav > ul.c-gnav > li {
        width: calc(100% / 8);
        border-left: 1px solid #002559;
        border-right: 1px solid #416aa4;
    }
    header .l-header__inner #gnav > ul.c-gnav > li > a {
        padding: 20px 0;
        color: #FFFFFF;
    }
    header .l-header__inner #gnav > ul.c-gnav > li > a:hover {
        background-color: #1d4b8c;
    }
    header .l-header__inner #gnav > ul.c-gnav > .menu-item > a:after {
        content: none;
    }
    header .l-header__inner #gnav > ul.c-gnav .sub-menu {
        width: 12em;
    }
    .c-gnav .sub-menu a:before, .c-listMenu a:before {
        color: #023886;
    }

    /* スクロール後
    -------------------------- */
    #fix_header .w-header.pc_ {
        display: none;
    }
    .l-fixHeader:before {
        background-color: rgba(2, 56, 134, 0.95);
    }
    #fix_header ul.c-gnav > li > a {
        color: #FFFFFF;
    }

    /* PC追従サイドバナー
    -------------------------- */
    .side-link {
        position: fixed;
        z-index: 10;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 7rem;
    }
    .side-link figure {
        margin: 0.5rem 0;
    }
    .side-link figure img {
        width: 100%;
    }

    /* スマホフッター固定
    -------------------------- */
    .sp_footernav {
        display: none;
    }
    
}


/* --------------------------------------------------------
スマホ版メニュー / 2025.06 設定
-------------------------------------------------------- */

@media screen and (max-width : 959px) {
    .-right .p-spMenu__inner {
        transform: translate(0,-100vh);
        transition: .3s;
    }
    [data-spmenu=opened] .p-spMenu__inner {
        -webkit-transform: translate(0,0);
        transform: translate(0,0);
        transition: .5s;
    }
    .p-spMenu__body {
        padding: 0 0 10vw;
    }
    .p-spMenu__nav {
        position: relative;
        padding-top: 7rem;
    }
    .p-spMenu__inner {
        width: 100vw;
    }
    .p-spMenu__nav .c-listMenu a {
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 1.275rem 2rem 1.25rem 2rem;
        line-height: 1;
    }
    .p-spMenu__nav .c-listMenu .sub-menu a {
        position: relative;
        padding: 1.25rem 2rem 1rem 4.5rem;
    }
    .c-gnav .sub-menu a:before,
    .p-spMenu__nav .c-listMenu a:before {
        left: initial !important;
        right: 2rem;
        font-size: 1.25rem;
        color: #FFFFFF;
    }
    .c-gnav .sub-menu a:before {
        right: 1rem;
    }
    .p-spMenu__nav .c-listMenu .sub-menu a:after {
        content: "";
        position: absolute;
        top: 50%;
        left: 3rem;
        display: block;
        width: 1rem;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.7);
    }

    /* 問合せボタン */
    .p-spMenu__body {
        position: relative;
        padding: 0 1rem 10vw;
    }
    #sp_menu_bottom .contact {
        position: absolute;
        left: 2rem;
        margin: 2.5rem auto 0 auto;
        width: calc(100% - 4rem);
    }
    #sp_menu_bottom .contact p {
        position: relative;
    }
    #sp_menu_bottom .contact p:before {
        content: "";
        position: absolute;
        z-index: 1;
        left: 0.5em;
        bottom: 0;
        display: block;
        width: 5em;
        height: 6em;
        background: url(images/contact.svg) no-repeat center bottom / contain;
    }
    #sp_menu_bottom .contact p a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 1.25rem 0;
        color: #FFFFFF;
        background-color: #f08400;
        font-weight: 600;
        font-size: 1.125rem;
        letter-spacing: 0.1em;
        text-align: center;
        box-shadow: 0 0 10px rgba(00, 00, 00, 0.35); 
    }
    #sp_menu_bottom .contact p a:after {
        content: "";
        position: absolute;
        right: 1.8rem;
        display: block;
        transform: rotate(45deg);
        width: 0.6rem;
        height: 0.6rem;
        margin-left: 3em;
        border-top: 2px solid #FFFFFF;
        border-right: 2px solid #FFFFFF;
    }

    /* LINEリンク */
    .p-spMenu__body .line p {
        text-align: center;
    }
    .p-spMenu__body .line p a {
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        padding: 0.5rem 1rem;
        color: #FFFFFF;
        background-color: #02B802;
        box-shadow: 0 0 10px rgba(00, 00, 00, 0.35); 
    }
    .p-spMenu__body .line p a span {
        font-size: 1.25rem;
    }
    .p-spMenu__body .line p a img {
        width: 3rem;
        height: 3rem;
        margin-right: 0.5rem;
        aspect-ratio: 1 / 1;
    }

    /* スマホフッター固定
    -------------------------- */
    .sp_footernav {
        position: fixed;
        z-index: 100;
        left: 0;
        bottom: 0;
        width: 100%;
    }
    .sp_footernav ul {
        display: flex;
    }
    .sp_footernav ul li {
        width: 50%;
    }
    .sp_footernav ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 0;
        width: 100%;
        height: 100%;
        color: #FFFFFF;
        background-color: #EF8E26;
    }
    .sp_footernav ul li:nth-child(2) a {
        background-color: #BB6405;
    }
    .sp_footernav ul li:nth-child(1) a:before,
    .sp_footernav ul li:nth-child(2) a:before {
        content: "";
        display: block;
        width: 2.25rem;
        height: 2.25rem;
        margin-right: 0.5rem;
    }
    .sp_footernav ul li:nth-child(1) a:before {
        background: url(images/icon-phone.svg) no-repeat center center / contain;
    }
    .sp_footernav ul li:nth-child(2) a:before {
        background: url(images/icon-mail.svg) no-repeat center center / contain;
    }
    .sp_footernav ul li a div span {
        display: block;
        font-size: 1.25rem;
        line-height: 1.25em;
    }
    .sp_footernav ul li:nth-child(1) a div span:nth-of-type(1) {
        font-size: 0.9rem;
    }

}