@charset "UTF-8";

/*============================
loading
============================*/

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 90000;
    background-color: #fff;
}

.loader,
.loader:after {
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    margin-top: -30px;
}

.loader {
    position: relative;
    text-indent: -9999em;
    border-top: 5px solid #009b83;
    border-right: 5px solid #009b83;
    border-bottom: 5px solid #009b83;
    border-left: 5px solid #67c612;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*============================
トップ共通
============================*/

.eng {
    display: block;
}


/*============================
container
============================*/

.container {
    position: relative;
}

.primary {
    width: 100%;
    float: none;
}

.primary .inner {
    width: 1040px;
    margin: auto;
}

@media only screen and (max-width: 768px) {

    .primary .inner {
        width: 90.625%;
    }
}


/*============================
h2
============================*/

h2 {
    margin-bottom: 40px;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.06em;
}

#brand h2,
#recruit h2 {
    margin-bottom: 20px;
}

h2 span.ja i {
    color: #67c612;
}

h2 span.eng {
    font-size: 80px;
    color: #2ca5df;
}

@media only screen and (max-width: 768px) {
    h2 {
        margin-bottom: 30px;
        font-size: 25px;
        line-height: 1.4;
    }

    h2 span.eng {
        font-size: 40px;
    }
}

/*============================
h3
============================*/

h3 {
    font-size: 18px;
    font-weight: bold;
}

@media only screen and (max-width: 768px) {
    h3 {
        font-size: 16px;
    }
}

/*============================
top_img
============================*/

#top_img {
    width: 100%;
    height: auto;
    /*装飾の基準*/
    position: relative;
    background: #fff;
    overflow: hidden;
    /*headerの高さぶん*/
	margin-top: 70px;
	aspect-ratio: 1300 / 650; 
}

.swiper {
	/* ▼ スライダー全体も親要素（#top_img）と同じ高さ（100%）にする */
    height: 100%;
    margin-left: auto;
    margin-right: 0;
    position: relative;
}

.swiper-wrapper {
    background: #f3f3f3;
	/* ▼ 中身の高さも100%に引き伸ばす */
    height: 100%;

}

.slide-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide.slide01 {
    position: relative;
}

/*文字*/

#top_img .inner {
    width: 1040px;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    /* 擬似要素がスライダー操作を邪魔しないように、コンテナ自体をスルーさせる */
    pointer-events: none;
    overflow: visible;
}

/* テキストなどの操作（選択など）はできるように戻す */
#top_img .inner * {
    pointer-events: auto;
}

/* 左側の装飾 */
#top_img .inner::before {
    content: "";
    position: absolute;
    bottom: 158px;
    left: -200px;
    width: 270px;
    height: 461px;
    background: url("../images/home/slider/fv_left.png") no-repeat center bottom;
    background-size: 100%;
    z-index: 9;
	/*一度非表示*/
	content: none;
}

/* 右側の装飾 */
#top_img .inner::after {
    content: "";
    position: absolute;
    bottom: 20px;
    right: -190px;
    width: 190px;
    height: 340px;
    background: url("../images/home/slider/fv_right.png") no-repeat center bottom;
    background-size: 100%;
    z-index: 9;
	/*一度非表示*/
	content: none;
}

#top_img .inner h1 {
    color: #fff;
    text-shadow: 2px 0px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    margin-bottom: 30px;
}

#top_img .inner h1 .ja {
    font-size: 52px;
    display: inline-block;
}

#top_img .inner h1 .eng {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    display: inline;
	font-size: 68px;
}

@media only screen and (max-width: 768px) {

    #top_img,
    .swiper {
		height: auto;
		margin-top: 0;
		aspect-ratio: 4 / 3; 
    }
	
	/* スライダーの中身（画像を入れる枠）も同じアスペクト比（高さ100%）に引き伸ばします */
    .swiper-wrapper {
        height: 100%;
    }

    #top_img .inner {
        width: 90.625%;
        margin: auto;
    }

    #top_img .inner h1 {
        position: relative;
        z-index: 10;
    }

    #top_img .inner h1 .ja {
        font-size: 24px;
    }

    #top_img .inner h1 .eng {
        font-size: 30px;
        display: none;
    }

    /* 左側の装飾 */
    #top_img .inner::before {
        content: "";
        position: absolute;
        bottom: -30px;
        left: -70px;
        width: 135px;
        height: 298px;
        background: url("../images/home/slider/fv_left.png") no-repeat center bottom;
        background-size: 100%;
        z-index: 9;
		/*一旦非表示*/
		content: none;
    }

    /* 右側の装飾 */
    #top_img .inner::after {
        content: "";
        position: absolute;
        bottom: 20px;
        right: -45px;
        width: 95px;
        height: 170px;
        background: url("../images/home/slider/fv_right.png") no-repeat center bottom;
        background-size: 100%;
        z-index: 9;
		/*一旦非表示*/
		content: none;
    }

}

/*============================
company
============================*/

#company {
    background: #fff;
}

#company .inner {
    position: relative;
    z-index: 1;
}

#company .inner::before {
    content: "";
    background: url(../images/common/company/illust_company_right.png) no-repeat center center;
    background-size: 100%;
    width: 310px;
    height: 163px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

#company table.info tbody {
    width: 490px;
}

#company table.info ul li{
	margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {

    #company .inner::before {
        content: "";
        background: url(../images/common/company/illust_company_right.png) no-repeat center center;
        background-size: 100%;
        width: 155px;
        height: 82px;
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        z-index: -1;
    }

    #company table.info tbody {
        width: 100%;
    }
}

/*============================
brand
============================*/
#brand {
    padding-top: 0;
}

#brand .inner {
    position: relative;
    z-index: 1;
    overflow: visible;
}

#brand .main {
    position: relative;
    margin-bottom: 100px;
}

#brand .main::before {
    content: "";
    background: url(../images/common/illust_top_right_circle2_triangle.png) no-repeat center center;
    background-size: 100%;
    width: 230px;
    height: 180px;
    display: block;
    position: absolute;
    top: -30px;
    right: 0;
    z-index: -1;
}

#brand .main::after {
    content: "";
    background: url(../images/common/illust_border_circle.png) no-repeat center center;
    background-size: 100%;
    width: 120px;
    height: 120px;
    display: block;
    position: absolute;
    bottom: 0;
    right: 100px;
    z-index: -1;
}

#brand .main.flex {
    align-items: center;
}

#brand .main .photo {
    width: 640px;
    position: relative;
}

#brand .main .photo::before {
    content: "";
    background: url(../images/common/illust_dot_circle.png) no-repeat center center;
    background-size: 100%;
    width: 200px;
    height: 200px;
    display: block;
    position: absolute;
    top: 0;
    right: -10px;
	content: none;
}

#brand .main .photo .photo_inner {
/*    border-radius: 5px 50% 50% 5px;*/
    overflow: hidden;
}

#brand .main .photo .photo_inner img {
    width: 100%;
}

#brand .main .text {
    width: 360px;
}

#brand .main .text p {
    font-size: 16px;
}

#brand .main .text .focus {
    color: #67c612;
}


/*ボタン*/
#brand ul.btn {
    gap: 40px;
    counter-reset: number 0;
}

#brand ul.btn li {
    width: 320px;
    border-radius: 5px;
    overflow: hidden;
}

#brand ul.btn li a {
    display: block;
    position: relative;
}

#brand ul.btn li a .photo {
    position: relative;
}

/*ロゴ*/
#brand ul.btn li a .photo::after {
    content: "";
    background: url(../images/common/header/nav/mos_logo.png) no-repeat center center;
    background-size: 100%;
    width: 90px;
    height: 90px;
    display: block;
    position: absolute;
    top: 110px;
    left: 20px;
    z-index: 12;
}

#brand ul.btn li.mos a .photo::after {
    background-image: url(../images/common/header/nav/mos_logo.png);
}

#brand ul.btn li.gyukaku a .photo::after {
    background-image: url(../images/common/header/nav/gyukaku_logo.png);
}

#brand ul.btn li.cheeseplus a .photo::after {
    background-image: url(../images/common/header/nav/cheeseplus_logo.png);
}

#brand ul.btn li.elevencut a .photo::after {
    background-image: url(../images/common/header/nav/11cut_logo.png);
}

#brand ul.btn li.anytimefitness a .photo::after {
    background-image: url(../images/common/header/nav/anytimefitness_logo.png);
}

#brand ul.btn li.soluna a .photo::after {
    background-image: url(../images/common/header/nav/soluna_logo.png);
}


#brand ul.btn li a .photo img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

/*下部グラデ*/
#brand ul.btn li a .photo figure::before {
    content: "";
    background-image: linear-gradient(0deg, rgba(0, 155, 131, 1) 40%, rgba(0, 155, 131, 0));
    display: block;
    width: 100%;
    height: 200px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0 0 5px 5px;
    z-index: 10;
}

#brand ul.btn li a .photo figure::after {
    content: "";
    /* 位置やサイズは before と完全に同じにする */
    background-image: linear-gradient(0deg, rgba(103, 198, 18, 1) 40%, rgba(103, 198, 18, 0));
    display: block;
    width: 100%;
    height: 200px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0 0 5px 5px;
    /* before（10）より上に重ねるため 11 に設定 */
    z-index: 10;
    /* 最初は透明にしておく */
    opacity: 0;
    transition: opacity 0.4s ease;
}

#brand ul.btn li a .text {
    color: #fff;
    position: absolute;
    bottom: 15px;
    left: 20px;
    right: 20px;
    z-index: 10;
    font-weight: 700;
}

#brand ul.btn li a .text::before {
    counter-increment: number 1;
    content: "Brand#"counter(number) " ";
    font-size: 18px;
    display: block;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

#brand ul.btn li a .text .brand {
    line-height: 1.5;
    font-size: 18px;
    /*ボタンとの隙間*/
    margin-bottom: 15px;
}

#brand ul.btn li a .text .more {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-right: 45px;
}

#brand ul.btn li a .text .more::before {
    content: "";
    background: #fff;
    width: 30px;
    height: 30px;
    display: block;
    border-radius: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 20;
}

#brand ul.btn li a .text .more::after {
    content: "";
    width: 6px;
    height: 6px;
    display: block;
    border-top: solid 2px #ec6941;
    border-right: solid 2px #ec6941;
    transform: rotate(45deg);
    position: absolute;
    right: 13px;
    bottom: 11px;
    margin: auto;
    z-index: 20;
}

@media only screen and (max-width: 768px) {

    #brand .main {
        margin-bottom: 50px;
    }

    #brand .main::before {
        width: 115px;
        height: 90px;
        top: -15px;
        right: 0;
        z-index: 1;
    }

    #brand .main::after {
        width: 80px;
        height: 80px;
        bottom: 0;
        right: calc(50% - 40px);
        bottom: -40px;
        z-index: -1;
    }

    #brand .main .photo {
        width: 100%;
        margin-bottom: 20px;
    }

    #brand .main .photo::before {
        width: 100px;
        height: 100px;
        top: auto;
        bottom: 0;
        right: 0;
    }

    #brand .main .text {
        width: 100%;
    }

    /*ボタン*/
    #brand ul.btn {
        gap: 20px;
    }

    #brand ul.btn li {
        width: 100%;
    }
    
    /*ロゴ*/
    #brand ul.btn li a .photo::after {
        width: 70px;
        height: 70px;
        top: 20px;
        left: 20px;
    }

    #brand ul.btn li a .photo figure {
        height: 0;
        padding-top: 70%;
        position: relative;
    }

    #brand ul.btn li a .photo img {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        object-position: top;
    }

    /*下部グラデ*/
    #brand ul.btn li a .photo figure::before,
    #brand ul.btn li a .photo figure::after {
        height: 180px;
    }

    #brand ul.btn li a .text {
        color: #fff;
        position: absolute;
        bottom: 15px;
        left: 20px;
        right: 20px;
        z-index: 10;
        font-weight: 700;
    }

    #brand ul.btn li a .text::before {
        counter-increment: number 1;
        content: "Brand#"counter(number) " ";
        font-size: 18px;
        display: block;
        font-family: "Poppins", sans-serif;
        font-weight: 500;
    }

    #brand ul.btn li a .text .brand {
        line-height: 1.5;
        font-size: 18px;
        /*ボタンとの隙間*/
        margin-bottom: 15px;
    }

    #brand ul.btn li a .text .more {
        font-size: 18px;
        font-weight: 700;
        margin: 0;
        position: relative;
        display: inline-block;
        padding-right: 45px;
    }

    #brand ul.btn li a .text .more::before {
        content: "";
        background: #fff;
        width: 30px;
        height: 30px;
        display: block;
        border-radius: 50%;
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 20;
    }


    #brand ul.btn li a .text .more::after {
        content: "";
        width: 6px;
        height: 6px;
        display: block;
        border-top: solid 2px #ec6941;
        border-right: solid 2px #ec6941;
        transform: rotate(45deg);
        position: absolute;
        right: 13px;
        bottom: 11px;
        margin: auto;
        z-index: 20;
    }
}

/*============================
recruit
============================*/

#recruit {
    background: #fff;
    padding-top: 0;
}

#recruit .photo_area {
    margin-bottom: 100px;
}

#recruit .photo_area img {
    width: 100%;
}

#recruit .inner {
    position: relative;
    z-index: 1;
}

#recruit .inner .photo {
    width: 520px;
    height: 520px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    /* border-radius: 5px 50% 50% 5px; */
    overflow: hidden;
    margin: auto;
}

#recruit .inner .photo img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

#recruit .text {
/*    width: 560px;*/
	width: 480px;
    font-size: 16px;
}

#recruit .text p.lead {
    letter-spacing: 0.01em;
}

#recruit .good-point {
    width: 100%;
    margin-top: 35px;
}

#recruit .good-point li {
    background: #ebf8e0;
    font-size: 18px;
    font-weight: 700;
    line-height: 50px;
    position: relative;
    border-radius: 25px;
    padding-left: 55px;
}

#recruit .good-point li:not(:last-child) {
    margin-bottom: 10px;
}

#recruit .good-point li::before {
    content: "\e139";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 20px;
    background: #fff;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    color: #009b83;
    position: absolute;
    top: 8px;
    left: 10px;
    text-align: center;
    display: inline-block;
    transform: rotate(45deg);
}

@media only screen and (max-width: 768px) {

    #recruit .photo_area {
        height: 0;
        padding-top: 40%;
        position: relative;
        margin-bottom: 40px;
    }

    #recruit .photo_area img {
        height: 100%;
        object-fit: cover;
        object-position: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #recruit .inner .photo {
        width: 100%;
        height: 100%;
        position: static;
        margin-bottom: 20px;
    }

    #recruit .text {
        width: 100%;
    }

    #recruit .text p.lead {
        letter-spacing: 0.04em;
    }

    #recruit .good-point {
        margin-top: 20px;
        margin-bottom: 0;
    }

    #recruit .good-point li {
        font-size: 16px;
        line-height: 1.5;
        border-radius: 5px;
        padding: 12px;
        padding-left: 45px;
    }

    #recruit .good-point li::before {
        font-size: 16px;
        width: 30px;
        height: 30px;
        line-height: 30px;
        top: 10px;
        left: 10px;
    }
}

/*============================
news（wp）
============================*/
#news {
    background: #f3fafe;
}

/*==タイトル==*/
#news .inner .title_box {
    align-items: center;
    margin-bottom: 40px;
}

#news .inner h2.smile {
    width: 220px;
    margin: 0;
    flex-shrink: 0;
}

/*==タブメニュー==*/
.tab-menu {
    width: 740px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-item {
    background: #fff;
    color: #009b85;
    border: 1px solid #009b85;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    padding: 6px 18px;
    width: auto;
    box-sizing: border-box;
    border-radius: 20px;
    cursor: pointer;
    transition: all .2s ease;
}

.tab-item:hover {
    background: #f0fdfa;
    opacity: .9;
}

.tab-item.is-active {
    background: #009b85;
    color: #fff;
}

/*==記事一覧==*/
.tab-content.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 25px;
    max-width: 1040px;
    margin: 0 auto;
}

/* 初期非表示 */
article#news .tab-content.flex {
    display: none;
}

/* 表示中 */
article#news .tab-content.flex.is-active {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    background: #d5edf9;
    padding: 40px;
    border-radius: 5px;
}

/*==記事カード==*/
#news .inner a.box {
    display: block;
    width: 303px;
    box-sizing: border-box;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
    transition: transform .3s ease, box-shadow .3s ease;
}

#news .inner a.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
}

/*==画像==*/
#news .inner .photo {
    width: 100%;
    height: 200px;
    margin: 0;
    overflow: hidden;
}

#news .inner .photo .img {
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform .3s ease;
}

#news .inner a.box:hover .img {
    transform: scale(1.05);
}

/*==テキスト==*/
#news .box .text {
    padding: 15px 20px;
}

.info-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.info-row .cat-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.info-row .eng {
    margin: 0;
    font-size: .8rem;
    color: #aaa;
}

.cat-name {
    display: inline-block;
    white-space: nowrap;
    background: #67c612;
    color: #fff;
    font-size: .75rem;
    font-weight: bold;
    padding: 3px 14px;
    border-radius: 20px;
}

#news .box .text .ja02 {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: bold;
    color: #333;
}

.no-post {
    width: 100%;
    text-align: center;
    line-height: 320px;
    font-size: 16px;
    color: #888;
}

/*==一覧リンク==*/
#news .inner ul.link {
    width: 100%;
}

@media only screen and (max-width:768px) {

    #news .inner {
        flex-direction: column;
        align-items: center;
    }

    #news .inner .title_box {
        margin-bottom: 30px;
    }

    #news .inner h2.smile {
        width: 100%;
        margin-bottom: 20px;
    }

    .tab-menu {
        width: 100%;
        gap: 6px;
    }

    .tab-content.flex {
        gap: 20px;
    }

    #news .inner a.box {
        width: 100%;
    }

    #news .inner .photo {
        width: 100%;
        height: 0;
        padding-top: 66.67%;
        position: relative;
    }

    #news .inner .photo .img {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }

    .tab-item {
        font-size: 11px;
        padding: 5px 12px;
    }

    article#news .tab-content.flex.is-active {
        padding: 20px;
    }

}
