@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background-color: #e4e4e4;
    border-radius: 100px;
}

::-webkit-scrollbar-thumb {
    background-color: #8b7923;
    border-radius: 100px;
}

* {
    margin: 0px;
    padding: 0px;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

a:hover {
    color: #ddd;
}

img {
    width: 100%;
}

img.pc {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

body {
    background-color: #fff;
    font-family: 'Yu Mincho Light', 'YuMincho', 'Yu Mincho', '游明朝体', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', sans-serif;
}

main {
    width: 100%;
    overflow: hidden;
}

.link1 {
    width: 100%;
    height: 100%;
    position: relative;
}

.link2 {
    position: relative;
}

.link2 a,
.link2 p {
    vertical-align: top;
    position: absolute;
}

.link3,
.link4,
.link5,
.link6 {
    position: relative;
    width: 100%;
}

.link4 a {
    color: #292929;
    position: absolute;
    text-align: center;
    font-size: 18px;
    width: 6%;
    right: 14%;
    bottom: 17.3%;
    display: block;
}

.link4 a:hover,
.link5 a:hover,
.link6 a:hover,
.seminar_link a:hover,
.seminar_link2 a:hover,
.pp_link a:hover {
    color: #bbb;
}

/* T-Fitセクション用（link5） */
.link5 a {
    color: #292929;
    position: absolute;
    text-align: center;
    font-size: 30px;
    width: 60%;
    right: 20%;
    bottom: 9.5%;
    display: block;
}

/* メンバー募集セクション用（link6） */
.link6 a {
    color: #292929;
    position: absolute;
    text-align: center;
    font-size: 30px;
    width: 50%;
    right: 25.5%;
    bottom: 4.3%;
    height: 60px;
    display: block;
}

.frame1,
.frame2 {
    position: relative;
    display: flex;
    justify-content: center;
}

/* お問い合わせフレーム（frame1）のスクロールバー制御 */
.frame1 {
    position: relative;
    display: flex;
    justify-content: center;
    overflow-x: hidden; /* frame1 自体の横溢れを防止 */
}

.frame1 iframe {
    position: absolute;
    border: none;
    text-align: center;
    width: 70%;
    height: 50%;
    bottom: 15%;
    z-index: 1;
    overflow-x: hidden; /* iframe 内の横スクロールバーを非表示 */
}

.frame1 ul {
    position: absolute;
    border: none;
    left: 50%;
    transform: translateX(-50%);
    bottom: 4.5%;
    z-index: 1;
}

.frame2 iframe {
    position: absolute;
    border: none;
    text-align: center;
    width: 70%;
    height: 50%;
    bottom: 30%;
    z-index: 1;
}

iframe.pc {
    max-width: 100%;
}

ul {
    list-style: none;
}

footer {
    width: 100%;
    height: 60px;
    padding: 10px 0;
    background-color: #222;
    color: #fff;
}

/* ==========================================
   セミナーリンク位置調整（PC用）
========================================== */

/* 1. web1b.png 上のリンク (.seminar_link1) */
.seminar_link1 {
    color: #fff;
    text-align: center;
    font-size: 30px;
    width: 43%;
    height: 16%;
    position: absolute;
    bottom: 12.5%;
    left: 28.8%;
}

.seminar_link1 p {
    display: block;
    height: 100%;
    position: relative;
}

.seminar_link1 p b {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.seminar_link1:hover {
    color: #bbb;
}

/* 2. web7.png 上のリンク (.seminar_link2) */
.seminar_link2 {
    color: #fff;
    text-align: center;
    font-size: 30px;
    width: 43%;
    height: 9%;
    position: absolute;
    bottom: 5.3%;
    left: 28.8%;
}

.seminar_link2 p {
    display: block;
    height: 100%;
    position: relative;
}

.seminar_link2 p b {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.seminar_link2:hover {
    color: #bbb;
}

/* ボタン全体 */
.flowbtn6 {
    border-radius: 13px;
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    font-size: 33px;
    color: #fff !important;
    transition: .5s;
    text-decoration: none;
}

/* アイコンをど真ん中に*/
.flowbtn6 i {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

ul.snsbtniti {
    padding: 0 !important;
}

.snsbtniti {
    text-align: center;
}

.flowbtn6:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
}

.insta_btn6 .fa-instagram {
    font-size: 40px;
}

.insta_btn6 {
    background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
    background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
    overflow: hidden;
}

.insta_btn6:before {
    content: '';
    position: absolute;
    top: 27px;
    left: -12px;
    width: 59px;
    height: 40px;
    background: -webkit-radial-gradient(#ffdb2c 7%, rgba(255, 105, 34, 0.3) 60%, rgba(255, 88, 96, 0) 70%);
    background: radial-gradient(#ffdb2c 7%, rgba(255, 105, 34, 0.3) 60%, rgba(255, 88, 96, 0) 70%);
}

/* PC・SPの表示切り替え */
.pc {
    display: block !important;
}

.sp {
    display: none !important;
    max-width: 100%;
    height: auto;
}

/* ナビゲーション */
.gnav {
    width: 100%;
    background-color: #222;
    position: fixed;
    box-shadow: 0px 0px 5px 0px #000;
    z-index: 999;
}

.gnav_wrapper {
    max-width: 990px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gnav_wrapper li {
    font-size: 16px;
    text-align: center;
    width: auto;
    transition: all 0.3s ease;
}

.gnav_wrapper li:hover {
    background-color: #888;
}

.gnav_wrapper li a {
    display: block;
    padding: 1.1em 1.2em;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

/* ==========================================
   画像1枚（web5-7.png / web5-2.png）内のリンクエリア調整
========================================== */
.img_link {
    position: relative;
    width: 100%;
}

.img_link ul.link_list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 29%;
    left: 15%;
    width: 70%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    z-index: 2;
}

.img_link ul.link_list li {
    display: block !important;
    width: 25.5% !important;
    height: 45px;
    margin: 0;
    padding: 0;
}

.link_item1,
.link_item2,
.link_item3 {
    display: block;
    width: 100%;
    height: 100%;
}

a.link_item1,
a.link_item2,
a.link_item3 {
    cursor: pointer;
}

.dh_link {
    position: absolute;
    top: 39.5%;
    left: 40%;
    display: block;
    width: 44%;
    height: 54px;
    z-index: 3;
    cursor: pointer;
}

.footer {
    position: relative;
    width: 100%;
    color: #fff;
}

.footer_link-list {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer_link-item a {
    color: #fff;
    text-decoration: #fff;
}

.logo {
    display: flex;
    align-items: center;
}

.logo1 {
    width: 60px;
    height: 60px;
    border-left: 0;
    border-right: 0;
}

.logo2 {
    width: 140px;
    height: 60px;
    border-left: 0;
    border-right: 0;
}

.pp_link {
    position: relative;
}

.pp_link a {
    position: absolute;
    right: 0;
    transform: translateY(-11px);
}

.copy {
    width: 60%;
    text-align: center;
}

.logo_link,
.pp_link {
    width: 20%;
}

.btn-tel {
    position: relative;
    display: block;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    background: #292929;
    padding: 3px 0;
    margin: auto;
    max-width: 240px;
}

.btn-tel::after {
    content: "";
    background: url(img/telephone.svg) no-repeat center;
    background-size: contain;
    width: 24px;
    height: 24px;
    position: absolute;
    top: calc(50% - 12px);
    left: 15px;
}

section {
    max-width: 300px;
    margin: 0 auto;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.button-83 {
    appearance: button;
    background-color: transparent;
    background-image: linear-gradient(to bottom, #fff, #f8eedb);
    border: 0 solid #e5e7eb;
    border-radius: .5rem;
    box-sizing: border-box;
    color: #482307;
    column-gap: 1rem;
    cursor: pointer;
    display: flex;
    font-size: 100%;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
    outline: 2px solid transparent;
    padding: 1rem 1.5rem;
    text-align: center;
    text-transform: none;
    transition: all .1s cubic-bezier(.4, 0, .2, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    box-shadow: -6px 8px 10px rgba(81, 41, 10, 0.1), 0px 2px 2px rgba(81, 41, 10, 0.2);
}

.button-83:active {
    background-color: #f3f4f6;
    box-shadow: -1px 2px 5px rgba(81, 41, 10, 0.15), 0px 1px 1px rgba(81, 41, 10, 0.15);
    transform: translateY(0.125rem);
}

.button-83:focus {
    box-shadow: rgba(72, 35, 7, .46) 0 0 0 4px, -6px 8px 10px rgba(81, 41, 10, 0.1), 0px 2px 2px rgba(81, 41, 10, 0.2);
}

.css-button-shadow-border--rose {
    min-width: 130px;
    height: 40px;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    outline: none;
    border-radius: 5px;
    border: none;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
    background: #ff0a78;
}

.css-button-shadow-border--rose:hover {
    background-color: #ff6392;
}

.css-button-shadow-border--rose:active {
    top: 2px;
}

a.btn_04 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    background: #ddd;
    border: 1px solid #ddd;
    box-sizing: border-box;
    padding: 5px 20px 0 60px;
    color: #292929;
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    transition-duration: 0.3s;
}

a.btn_04:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 25px;
    margin-top: -6px;
}

a.btn_04:hover {
    background: #fff;
    color: #ddd;
}

a.btn_04:hover:before {
    border-top: 2px solid #ddd;
    border-right: 2px solid #ddd;
}

/* モーダル */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-overlay.is-active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 8px;
    position: relative;
    padding: 30px 20px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #000;
}

.modal-body {
    overflow-y: auto;
    padding-right: 10px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.modal-body h2 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #8b7923;
    padding-bottom: 10px;
}

.modal-body h3 {
    font-size: 16px;
    margin: 15px 0 5px;
}

.modal-body p {
    margin-bottom: 15px;
}

/* 固定ボタン */
section.fixed-btn-area {
    max-width: 300px;
    margin: 0 auto;
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 998;
}

.pagetop-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    background-color: #222;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagetop-btn:hover {
    background-color: #8b7923;
    color: #fff;
    transform: translateY(-3px);
}

.pagetop-btn.is-show {
    opacity: 1;
    visibility: visible;
}

.fixed-btn-wrap {
    position: relative;
    display: inline-block;
}

.btn-close-trigger {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background-color: #222;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

.btn-close-trigger:hover {
    background-color: #8b7923;
    color: #fff;
    transform: scale(1.1);
}

/* レスポンシブ設定 */
@media (max-width: 768px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    .gnav_wrapper {
        position: fixed;
        display: table;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: #222;
        visibility: hidden;
        opacity: 0;
        padding-top: 20%;
    }

    .gnav_wrapper li {
        font-size: 14px;
        margin: 0 auto;
        text-align: center;
        width: 70%;
        border-bottom: #888 1px solid;
        border-left: none;
    }

    .gnav_wrapper li:last-child {
        border-right: none;
    }

    .menu-btn {
        color: #fff;
        cursor: pointer;
        z-index: 100;
        background-color: #222;
        height: 58px;
        width: 55px;
        right: 0;
        position: fixed;
        box-shadow: 0px 0px 5px 0px #000;
    }

    .menu-btn i {
        display: block;
        font-size: 30px;
        text-align: center;
        padding-top: 5px;
    }

    .menu-btn span {
        display: block;
        padding: 0 0 10px 0;
        font-size: 12px;
        text-align: center;
    }

    .open {
        transition: all .5s;
        visibility: visible;
        opacity: 1;
        z-index: 99999;
    }

    .menu-btn span::after {
        content: attr(data-txt-menu);
    }

    .open span::after {
        content: attr(data-txt-close);
    }

    .gnav_wrapper li a {
        width: 100%;
        height: 100%;
    }

    .copy {
        width: 60%;
    }

    .logo_link {
        width: 40%;
        min-width: 100px;
    }

    .pp_link {
        width: 100%;
    }

    .logo1 {
        width: 40px;
        height: 40px;
    }

    .logo2 {
        width: 100px;
        height: 40px;
    }
}

@media (max-width: 440px) {
    .copy {
        width: 68%;
    }

    .logo_link {
        width: 32%;
        min-width: 90px;
    }

    .logo1 {
        width: 30px;
        height: 30px;
    }

    .logo2 {
        width: 90px;
        height: 30px;
    }

    .footer_link-list {
        width: 98%;
    }
}

/* 画面幅 1440px 超えのレイアウト */
@media (min-width: 1441px) {

    body {
        background-color: #222;
        position: relative;
        overflow-x: hidden;
    }

    body::before {
        content: "";
        position: fixed;
        top: -2%;
        left: -2%;
        width: 104%;
        height: 104%;
        z-index: -1;
        
        background-image: url('../img/bg.png');
        background-position: center top;
        background-size: cover;
        background-repeat: no-repeat;

        filter: blur(12px) brightness(0.85);
        transform: scale(1.02);
    }

    main {
        max-width: 1440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background-color: #fff;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    }

    .gnav {
        background-color: #222 !important;
    }
    .gnav_wrapper {
        max-width: 1440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background-color: transparent !important;
    }

    footer.footer {
        background-color: #222 !important;
        width: 100% !important;
    }
    .footer_link-list {
        max-width: 1440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background-color: transparent !important;
    }
}