@charset "UTF-8";
/* top.css … 静的サイト css/style.css から移植（画像パスを WebP に変更） */

/*PCサイズレスポンシブ*/
@media(min-width:960px) {

    .container {
        width: 100%;
    }

    ul {
        list-style: none;
    }

    a {
        text-decoration: none;
        color: #333;
    }

    nav,.gallery-btn-sp {
        display: none;
    }

    .mainvisual {
        background-image: url(../images/top-main.webp);
        background-image: image-set(url(../images/top-main.webp) 1x, url(../images/top-main@2x.webp) 2x);
        background-size: cover;
        background-position: center;
        height: 80vh;
        color: #fff;
    }

    header {
        display: flex;
        justify-content: space-between;
        padding: 16px;
        position: relative;
    }

    .navi {
        width: 50%;
    }

    .navi-top {
        display: flex;
        align-items: center;
        justify-content: end;
        margin-right: 10px;
    }

    .logo img {
        width: 450px;
        height: 100px;
        object-fit: contain;
        padding: 16px;
    }


    .navi-top a {
        color: #fff;
    }

    .phone-link {
        display: flex;
        align-items: center;
        text-decoration: none;
        font-size: 20px;
        margin-right: 16px;
    }

    .phone-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        color: #fff;
    }

    .contact-button {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        background-color: #10528D;
        /* 青いボタン */
        color: #fff;
        /* 文字色を白に */
        font-size: 16px;
        font-weight: bold;
        padding: 10px 20px;
        border-radius: 5px;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s;
        /* ボタンのホバーアニメーション */
    }

    .contact-button:hover {
        background-color: #0056b3;
        /* ホバー時の色 */
    }

    .contact-button .icon {
        width: 20px;
        /* アイコンのサイズ */
        height: 20px;
        /* アイコンのサイズ */
        margin-right: 10px;
        /* アイコンと文字の間のスペース */
    }

    .navi-bottom ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 16px;
        font-size: 14px;
        text-align: center;
    }

    .navi-bottom a {
        color: #58E1EB;
    }

    .navi-bottom a:hover {
        color: #10528D;
    }

    .navi span {
        color: #fff;
    }

    .main-center {
        width: 80%;
        margin: 0 auto;
        margin-top: 20vh;
    }
    
    .main-center img {
        width: 100%;
    }
    
    
    .future p {
        font-size: 46px;
    }
    
    .text1 {
        position: absolute;
        top: 55vh;
        left: 10vw;
    }
    
    .text2 {
        position: absolute;
        top: 61vh;
        left: 10vw;
    }
    
    .text3 {
        position: absolute;
        top: 67vh;
        left: 10vw;
    }
    
    .topic,
    .gallery {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-image: url(../images/top-topic.webp);
        background-image: image-set(url(../images/top-topic.webp) 1x, url(../images/top-topic@2x.webp) 2x);
        background-size: cover;
        padding: 80px 0;
    }
    
    .topic-left {
        width: 15%;
    }
    
    .topic-left h2 {
        color: #333;
        font-size: 32px;
    }
    
    .topic-left span {
        color: #10528D;
        font-size: 24px;
    }
    
    .topic-right {
        width: 45%;
        margin-left: 80px;
        text-align: left;
    }
    
    .notification {
        display: flex;
        justify-content: space-around;
        margin: 8px 0;
    }
    
    .date {
        color: #10528D;
    }
    
    .recruit img {
        width: 100%;
        display: block;
    }
    
    .gallery {
        width: 100%;
        justify-content: end;
    }
    
    *,
    *:before,
    *:after {
        -webkit-box-sizing: inherit;
        box-sizing: inherit;
    }
    
    html {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    
    .btn,
    a.btn,
    button.btn {
        font-size: 0.6rem;
        font-weight: 700;
        line-height: 1.5;
        position: relative;
        display: inline-block;
        padding: 1rem 2rem;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        letter-spacing: 0.1em;
        color: #333;
        border-radius: 0.5rem;
        background-color: #fff;
    }
    
    /*主な共通部分は省略*/
    
    a.btn--red.btn--cubic {
        border-bottom: 3px solid #707070;
    }
    
    a.btn--red.btn--cubic:hover {
        margin-top: 3px;
        border-bottom: 1px solid #707070;
    }
    
    a.btn--radius {
        border-radius: 100vh;
    }
    
    .fa-position-right {
        position: absolute;
        top: calc(50% - .5em);
        right: 1rem;
    }
    
    .slider {
        width: 65%;
        margin-left: 80px;
        /* スライダーの幅 */
    }
    
    /*==================================================
    スライダーのためのcss
    ===================================*/
    .sliderimg img {
        width: 100%;
        /*スライダー内の画像を横幅100%に*/
        height: auto;
    }
    
    /*slickのJSで書かれるタグ内、スライド左右の余白調整*/
    
    .sliderimg .slick-slide {
        margin: 0 10px;
        /*スライド左右の余白調整*/
    }



    footer {
        width: 100%;
        background-image: url(../images/footer.webp);
        background-image: image-set(url(../images/footer.webp) 1x, url(../images/footer@2x.webp) 2x);
        padding: 40px;
    }

    .footer-ttl {
        width: 100%;
        text-align: center;
        padding: 24px 0;
    }

    .footer-ttl h2 {
        color: #333;
        font-size: 32px;
    }

    .footer-ttl span {
        color: #10528D;
        font-size: 24px;
    }


    .footer-bottom {
        width: 80%;
        margin: 0px auto;
        display: flex;
    }

    .footer-left {
        width: 50%;
        text-align: center;
    }

    .footer-bottom img {
        width: 15px;
        height: 15px;
        object-fit: cover;
    }

    .footer-logo img {
        width: 80%;
        height: 80px;
        object-fit: contain;
    }

    .footer-right {
        width: 50%;
    }

    .footer-navi {
        width: 60%;
        margin: 20px auto;
    }

    .footer-navi ul {
        display: flex;
        justify-content: center;
    }

    .footer-navi li {
        font-size: 12px;
        margin: 0 10px;
    }



    .footer-tel {
        display: flex;
        align-items: center;
        margin: 20px 8px 0 0;
        margin-right: 8px;
        color: 10528D;
    }

    .footer-phone {
        width: 50%;
        color: #0056b3;
    }

    .footer-contact {
        width: 50%;
    }

    .footer-contact {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        background-color: #10528D;
        /* 青いボタン */
        color: #fff;
        /* 文字色を白に */
        font-size: 12px;
        font-weight: bold;
        padding: 10px 20px;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s;
        /* ボタンのホバーアニメーション */
    }

    .footer-contact:hover {
        background-color: #0056b3;
        /* ホバー時の色 */
    }

    .footer-contact .icon {
        width: 20px;
        /* アイコンのサイズ */
        height: 20px;
        /* アイコンのサイズ */
        margin-right: 10px;
        /* アイコンと文字の間のスペース */
    }

    .link {
        position: relative;
        /* 相対位置を指定 */
        text-decoration: none;
        /* 下線なし */
        color: #333;
        /* テキストの色 */
        font-size: 14px;
        /* フォントサイズ */
        padding: 5px 0;
        /* 上下のパディング */
    }

    .link::after {
        content: "";
        /* 擬似要素を表示 */
        position: absolute;
        /* 絶対位置を指定 */
        left: 50%;
        /* 左端から50%の位置 */
        bottom: -2px;
        /* テキストの真下に配置 */
        width: 50%;
        /* 線の幅を50%に設定 */
        height: 2px;
        /* 線の高さ */
        background-color: #10528D;
        /* 線の色 */
        transform: translateX(-50%) scaleX(0);
        /* 初期状態では非表示(center align) */
        transition: transform 0.3s ease;
        /* アニメーションを設定 */
    }

    .link:hover::after {
        transform: translateX(-50%) scaleX(1);
        /* ホバー時に線を表示 */
    }

    .copy {
        width: 100%;
        text-align: center;
        padding: 16px 0;
        background-color: #333333;
        color: #fff;
    }
}




/*SPサイズレスポンシブ*/
@media(max-width:959px) {

    body {
        max-width: 959px;
    }

    .container {
        width: 100%;
    }

    ul {
        list-style: none;
    }

    a {
        text-decoration: none;
        color: #333;
    }

    .mainvisual {
        background-image: url(../images/top-main.webp);
        background-image: image-set(url(../images/top-main.webp) 1x, url(../images/top-main@2x.webp) 2x);
        background-size: cover;
        background-position: center;
        height: 80vh;
        color: #fff;
    }


    .logo img {
        width: 70%;
        height: 100px;
        object-fit: contain;
        padding: 16px;
    }



    .phone-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        color: #fff;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: 0;
        right: -120%;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #365568;
        /*動き*/
        transition: all 0.6s;
    }

    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive {
        right: 0;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        text-align: center;
    }

    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    .navi-bottom,
    .navi-top {
        display: none;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 25px;
        right: 20px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #fff;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .navi span {
        color: #fff;
    }

    .main-center {
        width: 80%;
        margin: 0 auto;
        margin-top: 20vh;
    }

    .main-center img {
        width: 100%;
    }


    .future p {
        font-size: 26px;
    }

    .text1 {
        position: absolute;
        top: 45vh;
        left: 10vw;
    }

    .text2 {
        position: absolute;
        top: 50vh;
        left: 10vw;
    }

    .text3 {
        position: absolute;
        top: 55vh;
        left: 10vw;
    }

    .topic,
    .gallery {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-image: url(../images/top-topic.webp);
        background-image: image-set(url(../images/top-topic.webp) 1x, url(../images/top-topic@2x.webp) 2x);
        background-size: cover;
        padding: 80px 0;
    }

    .topic-left {
        width: 80%;
    }

    .topic-left h2 {
        color: #333;
        font-size: 32px;
    }

    .topic-left span {
        color: #10528D;
        font-size: 24px;
    }

    .topic-right {
        width: 80%;
        text-align: left;
    }

    .notification {
        display: flex;
        justify-content: space-around;
        margin: 8px 0;
    }

    .date {
        color: #10528D;
        margin-right: 10px;
    }

    .recruit img {
        width: 100%;
        display: block;
    }

    .gallery {
        width: 100%;
        justify-content: end;
    }

    *,
    *:before,
    *:after {
        -webkit-box-sizing: inherit;
        box-sizing: inherit;
    }

    html {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .btn,
    a.btn,
    button.btn {
        font-size: 0.6rem;
        font-weight: 700;
        line-height: 1.5;
        position: relative;
        display: inline-block;
        padding: 1rem 2rem;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        letter-spacing: 0.1em;
        color: #333;
        border-radius: 0.5rem;
        background-color: #fff;
    }

    /*主な共通部分は省略*/

    a.btn--red.btn--cubic {
        border-bottom: 3px solid #707070;
    }

    a.btn--red.btn--cubic:hover {
        margin-top: 3px;
        border-bottom: 1px solid #707070;
    }

    a.btn--radius {
        border-radius: 100vh;
    }

    .fa-position-right {
        position: absolute;
        top: calc(50% - .5em);
        right: 1rem;
    }

    .gallery-btn{
        display: none;
    }
.gallery-btn-sp{
    margin: 20px 0;
}

    .slider {
        width: 90%;
        margin: 0 auto;
        /* スライダーの幅 */
    }

    /*==================================================
スライダーのためのcss
===================================*/
    .sliderimg img {
        width: 100%;
        /*スライダー内の画像を横幅100%に*/
        height: auto;
    }

    /*slickのJSで書かれるタグ内、スライド左右の余白調整*/

    .sliderimg .slick-slide {
        margin: 0 10px;
        /*スライド左右の余白調整*/
    }


    footer {
        width: 100%;
        background-image: url(../images/footer.webp);
        background-image: image-set(url(../images/footer.webp) 1x, url(../images/footer@2x.webp) 2x);
        background-size: cover;
        padding: 40px;
    }

    .footer-ttl {
        width: 100%;
        text-align: center;
        padding: 24px 0;
    }

    .footer-ttl h2 {
        color: #333;
        font-size: 32px;
    }

    .footer-ttl span {
        color: #10528D;
        font-size: 24px;
    }


    .footer-bottom {
        display: flex;
        flex-direction: column-reverse;
    }

    .footer-left {
        width: 100%;
        text-align: center;
    }

    .footer-bottom img {
        width: 15px;
        height: 15px;
        object-fit: cover;
    }

    .footer-logo img {
        width: 80%;
        height: 80px;
        object-fit: contain;
    }

    .footer-right {
        width: 100%;
    }

    iframe{
        width: 100%;
        height: 300px;
    }

    .footer-navi {
        width: 70%;
        margin: 20px auto;
    }

    .footer-navi ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-navi li {
        font-size: 12px;
        margin: 0 16px;
        width: 100px;
        text-align: center;
    }



    .footer-tel {
        display: flex;
        flex-direction: column;
        color: #10528D;
        margin: 20px 0;
    }

    .footer-phone {
        width: 50%;
        color: #0056b3;
        margin: 0 auto;
        margin-bottom: 10px;
    }

    .footer-contact {
        width: 50%;
        margin: 0 auto;
    }

    .footer-contact {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        background-color: #10528D;
        /* 青いボタン */
        color: #fff;
        /* 文字色を白に */
        font-size: 12px;
        font-weight: bold;
        padding: 10px 20px;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s;
        /* ボタンのホバーアニメーション */
    }

    .footer-contact:hover {
        background-color: #0056b3;
        /* ホバー時の色 */
    }

    .footer-contact .icon {
        width: 20px;
        /* アイコンのサイズ */
        height: 20px;
        /* アイコンのサイズ */
        margin-right: 10px;
        /* アイコンと文字の間のスペース */
    }

    .link {
        position: relative;
        /* 相対位置を指定 */
        text-decoration: none;
        /* 下線なし */
        color: #333;
        /* テキストの色 */
        font-size: 14px;
        /* フォントサイズ */
        padding: 5px 0;
        /* 上下のパディング */
    }

    .link::after {
        content: "";
        /* 擬似要素を表示 */
        position: absolute;
        /* 絶対位置を指定 */
        left: 50%;
        /* 左端から50%の位置 */
        bottom: -2px;
        /* テキストの真下に配置 */
        width: 50%;
        /* 線の幅を50%に設定 */
        height: 2px;
        /* 線の高さ */
        background-color: #10528D;
        /* 線の色 */
        transform: translateX(-50%) scaleX(0);
        /* 初期状態では非表示(center align) */
        transition: transform 0.3s ease;
        /* アニメーションを設定 */
    }

    .link:hover::after {
        transform: translateX(-50%) scaleX(1);
        /* ホバー時に線を表示 */
    }

    .copy {
        width: 100%;
        text-align: center;
        padding: 16px 0;
        background-color: #333333;
        color: #fff;
    }

}