/* ============================================
   Lii Theme Styles
   ============================================ */

/* --------------------------------------------
   variables
   -------------------------------------------- */
:root {
    --color-black: #000;
    --color-white: #fff;
    --color-main: #ff6753;
    --color-accent: #ffd3c2;

    --container-width: 780px;

    --side-padding: 30px;
    --side-padding-mobile: 20px;

    /* 余白 */
    --span-2-column: 180px;
    --span-3: 246px;
    --block-gap: 160px;
    --main-margin: 250px;
    --gutter: 20px;
    --gap: 40px;
    --gap-x2: 80px;
    --space-before-after: 150px;
    --small-gap: 10px;

    /* モバイル余白 */
    --recruit-press-gap-mobile: 120px;
    --main-margin-mobile: 30px;
    --space-before-after-mobile: 100px;
    --span-4-column-mobile: 220px;
    --span-2-column-mobile: 100px;
    --block-gap-mobile: 80px;
    --span-3-column-mobile: 160px;
}

.pc-only {
}
.sp-only {
    display: none;
}
@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }
    .sp-only {
        display: block;
    }
}

/* --------------------------------------------
   Reset & Base
   -------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family:
        "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN",
        sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-black);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.is-drawer-open {
    overflow: hidden;
}

a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:not(.btn):not(.report-btn):hover {
    text-decoration: underline;
    color: var(--color-main);
}

ul,
ol {
    list-style: none;
}

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 8.5px 43px;
    background: linear-gradient(90deg, #ffd3c2 0%, #ff6753 100%);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    overflow: hidden;
}
.btn__text {
    position: relative;
    z-index: 1;
    color: var(--color-white);
}
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff6753 0%, #ffd3c2 100%);
    transition: all 0.3s ease;
}
.btn:hover .btn__text {
    color: var(--color-white);
}
.btn:hover::before {
    opacity: 0;
}

.report-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 3px 11px;
    border: 1px solid #333;
    border-radius: 50px;
    background: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: all 0.3s ease;
}
.report-btn:hover {
    background-color: #333;
    color: var(--color-white);
    opacity: 1;
    text-decoration: none;
}
/* --------------------------------------------
   Components - Main
   -------------------------------------------- */
.c-main {
    position: relative;
    padding: var(--space-before-after) 0;
    background: var(--color-main);
    overflow: hidden;
}
.c-main__bg,
.c-main__bg .is-fadeout {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: url(../images/home__main-pc-cover.svg) no-repeat center top /
        cover;
    width: 100%;
    height: 100%;
}
.c-main__bg {
    top: -800px;
}
.c-main__bg .is-fadeout {
    background: url(../images/home__main-pc.svg) no-repeat center top / cover;
}
.c-main__inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: var(--block-gap);
}
@media screen and (max-width: 768px) {
    .c-main__inner {
        gap: var(--block-gap-mobile);
    }
}
.c-main__title {
    margin-bottom: var(--gutter);
    font-size: 38px;
    font-weight: 500;
    line-height: 1;
}
.c-main__subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}
.c-main__child {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}
.c-main__img-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
    aspect-ratio: 246 / 200;
    transition: background-color 0.3s ease;
}
.c-main__img-link:hover {
    background-color: var(--color-accent);
}
@media screen and (max-width: 768px) {
    .c-main__img-link {
        height: auto;
    }
}

.c-main__sns {
    display: flex;
    align-items: center;
    gap: var(--gutter);
}

.c-main__sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
}

.c-main__sns-link .instagram {
    width: 23px;
    height: 23px;
    transition: all 0.3s ease;
}
.c-main__sns-link .instagram path {
    transition: fill 0.3s ease;
}
.c-main__sns-link:has(.note) {
    width: 28px;
    height: 23px;
}
.c-main__sns-link .note {
    width: 12px;
    height: 12px;
}
.c-main__sns-link .note path {
    transition: fill 0.3s ease;
}
.c-main__sns-link:hover .instagram path {
    fill: var(--color-main);
}
.c-main__sns-link:hover .note path {
    fill: var(--color-main);
}

/* --------------------------------------------
   Layout - Header
   -------------------------------------------- */

.l-header {
    position: fixed;
    top: 50px;
    right: 50px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: var(--gutter);
}
.l-header__menu-btn {
    width: 16px;
    height: 16px;
}

.l-header__menu-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.l-header__menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 5px;
    background: var(--color-black);
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .l-header {
        top: 30px;
        right: 30px;
    }

    .l-header__report-btn {
        padding: 6px 12px;
        font-size: 10px;
    }
}

/* --------------------------------------------
   Layout - Main
   -------------------------------------------- */
.l-main {
}
.l-contents {
    position: relative;
}
.l-container {
    width: 100%;
    max-width: calc(var(--container-width) + (var(--side-padding) * 2));
    margin: 0 auto;
    padding: 0 var(--side-padding);
}

.l-maincontents {
    position: relative;
}
.l-maincontents__logo {
    position: sticky;
    top: 50px;
    left: 50px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    margin-left: 30px;
    background: var(--color-white);
    border-radius: 50%;
}
.l-maincontents__logo-img {
    display: block;
    width: 27px;
    height: auto;
}

@media screen and (max-width: 768px) {
    .l-contents {
    }
    .l-maincontents__logo {
        top: 30px;
        left: 30px;
    }
}

/* --------------------------------------------
   Layout - Footer
   -------------------------------------------- */
.l-footer {
    width: 100%;
    background: #3e3e3e;
    color: var(--color-white);
    padding: var(--gap-x2) 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}
.l-footer a {
    color: var(--color-white);
}

.l-footer a:hover {
    color: var(--color-main);
}
.l-footer__inner {
    display: flex;
    justify-content: space-between;
    max-width: calc(var(--container-width) + (var(--side-padding) * 2));
    margin: 0 auto;
}

.l-footer__left {
}

.l-footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
}

.l-footer__nav-list a {
    display: block;
}
.l-footer__nav-list a::first-letter {
    text-transform: uppercase;
}

.l-footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.l-footer__logo img {
    width: 27px;
    height: auto;
}

.l-footer__bottom {
    display: flex;
    align-items: flex-end;
    gap: 64px;
}

.l-footer__privacy {
    font-size: 10px;
}

@media screen and (max-width: 768px) {
    .l-footer {
        padding: 80px 30px;
    }

    .l-footer__inner {
    }

    .l-footer__right {
    }

    .l-footer__bottom {
        flex-direction: column-reverse;
        gap: 22px;
    }
}

/* --------------------------------------------
   Layout - Drawer Menu
   -------------------------------------------- */
.l-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 300;
}
.l-drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
.l-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background-color: var(--color-white);
    transform: translateX(100%);
    transition: transform 0.2s ease;
    z-index: 400;
    overflow-y: auto;
}

.l-drawer.is-active {
    transform: translateX(0);
}

.l-drawer__inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 148px 24px 90px 218px;
}

.l-drawer__close {
    position: absolute;
    top: 50px;
    right: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 32px;
}

.l-drawer__close span {
    position: absolute;
    display: block;
    width: 15px;
    height: 2px;
    border-radius: 5px;
    background-color: #000;
    transition: all 0.3s ease;
}
.l-drawer__close span:first-child {
    transform: rotate(45deg);
}
.l-drawer__close span:last-child {
    transform: rotate(-45deg);
}
.l-drawer__close:hover span {
    background-color: var(--color-main);
}

.l-drawer__nav {
}

.l-drawer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.l-drawer__nav-list li {
    line-height: 1;
}
.l-drawer__nav-list a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 0.9;
}
.l-drawer__nav-list a::first-letter {
    text-transform: uppercase;
}
.l-drawer__report-btn {
    margin-top: 70px;
    margin-bottom: 20px;
}
.l-drawer__sns {
    gap: 13px;
    margin-top: auto;
}

@media screen and (max-width: 768px) {
    .l-drawer {
        max-width: 100%;
    }
    .l-drawer__inner {
        padding: 87px 30px 90px calc((234 / 402) * 100%);
    }
    .l-drawer__close {
        top: 34px;
        right: 32px;
    }
    .l-drawer__nav-list img {
        width: 40px;
    }
    .l-drawer__nav-list li:has(img) {
        margin-bottom: 34px;
    }
    .l-drawer__report-btn {
        margin-top: 44px;
        margin-bottom: 74px;
    }
}

/* --------------------------------------------
   Components - Post
   -------------------------------------------- */
.c-post {
    margin-bottom: 40px;
}

.c-post__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.c-post__content {
    line-height: 2;
}

/* --------------------------------------------
   Components - Page
   -------------------------------------------- */
.c-page {
    padding: 40px 0;
}

.c-page__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #333;
}

.c-page__content {
    line-height: 2;
}

.c-page__content p {
    margin-bottom: 1.5em;
}

@media screen and (max-width: 768px) {
    .c-page__title {
        font-size: 24px;
    }
}

/* --------------------------------------------
   Components - Hero
   -------------------------------------------- */
.c-hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    text-align: center;
}
.c-hero__announcement {
    position: absolute;
    top: 45px;
    left: 50px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42;
    text-align-last: left;
}

.c-hero img {
    width: calc((494 / 1280) * 100vw);
    max-width: 494px;
}
@media screen and (max-width: 1024px) {
    .c-hero {
        min-height: 500px;
    }
    .c-hero__announcement {
        top: 26px;
        left: 30px;
    }
    .c-hero__announcement-main {
        font-size: 14px;
    }
    .c-hero__announcement-sub {
        font-size: 12px;
    }
    .c-hero img {
        max-width: 492px;
        width: calc((492 / 1280) * 100vw);
    }
}
@media screen and (max-width: 768px) {
    .c-hero img {
        width: calc((247 / 402) * 100vw);
    }
}

/* --------------------------------------------
   Components - Oath
   -------------------------------------------- */

.c-bounce {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(calc(-50%));
    max-width: 1280px;
    width: 100%;
    height: 200%;
    margin: 0 auto;
    z-index: -1;
    pointer-events: none;
}

.c-bounce canvas {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.c-oath {
    position: relative;
    text-align: center;
}

.c-oath__inner {
    max-width: calc(508px + (var(--side-padding) * 2));
    width: 100%;
    margin: 0 auto;
    padding: 100px var(--side-padding) var(--space-before-after);
}
.c-oath__slogan {
    margin-bottom: var(--gap);
}
.c-oath__slogan img {
    width: 100%;
    height: auto;
}

.c-oath__lead {
    margin-bottom: var(--gap);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.45;
}

.c-oath__body {
    margin: 0 auto var(--gap);
    padding-left: 20px;
    text-align: left;
}

.c-oath__body p {
    font-size: 20px;
    font-weight: 500;
    line-height: 2.2;
    margin-bottom: var(--gutter);
}

.c-oath__body p:last-child {
    margin-bottom: 0;
}
.c-oath__btn {
    margin-left: 20px;
}

@media screen and (max-width: 768px) {
    .c-bounce {
        max-width: none;
        width: 100%;
        overflow: hidden;
    }
    .c-bounce canvas {
        max-width: none;
    }
    .c-oath {
        margin-top: 20vh;
    }
    .c-oath__inner {
        margin-top: 55px;
        padding-left: 0;
        padding-right: 0;
    }

    .c-oath__slogan img {
        width: calc((318 / 402) * 100vw);
        max-width: 390px;
    }

    .c-oath__lead {
        font-size: 24px;
        margin-bottom: var(--gap);
    }

    .c-oath__body {
        width: calc((335 / 402) * 100vw);
        max-width: 390px;
        margin: 0 auto var(--gap);
        padding-left: 0;
    }

    .c-oath__body p {
        font-size: 14px;
        line-height: 2.28;
    }
    .c-oath__btn {
        margin-left: calc((100% - min(calc((335 / 402) * 100vw), 390px)) / 2);
    }
}

/* --------------------------------------------
   Components - Service
   -------------------------------------------- */
.c-service {
}

.c-service__category-title {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.c-service__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gatter);
}

.c-service__item-text {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.65;
    text-align: center;
}

.c-service__item img {
    width: 90%;
    height: auto;
    object-fit: contain;
}
.c-service__item [alt="Lii sports"] {
    width: 156px;
    aspect-ratio: 13/3;
}
.c-service__item [alt="ACT"] {
    width: 113px;
    aspect-ratio: 113 / 37;
}
.c-service__item [alt="Lii learning studio"] {
    width: 69px;
    aspect-ratio: 69 / 67;
}
.c-service__item [alt="HARU FIT TOKYO"] {
    width: 85px;
    aspect-ratio: 17/11;
}

@media screen and (max-width: 768px) {
    .c-service {
    }

    .c-service__title {
        font-size: 28px;
    }

    .c-service__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--gutter);
    }

    .c-service__item {
    }

    .c-service__item img {
        width: 80%;
    }
    .c-service__item [alt="Lii sports"] {
        width: 80%;
    }
    .c-service__item [alt="ACT"] {
        width: 76%;
    }
    .c-service__item [alt="Lii learning studio"] {
        width: 54%;
    }
    .c-service__item [alt="HARU FIT TOKYO"] {
        width: 82%;
    }
}

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

/* --------------------------------------------
   Components - News
   -------------------------------------------- */
.c-news {
}

.c-news__title {
}

.c-news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
}

.c-news__item {
}

.c-news__item:hover {
    opacity: 1;
    text-decoration: none;
    /* color: var(--color-black); */
}

.c-news__item:hover .c-news__thumb img {
    transform: scale(1.05);
}

.c-news__thumb {
    aspect-ratio: 246 / 180;
    overflow: hidden;
    margin-bottom: 20px;
}

.c-news__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.c-news__date {
    display: block;
    margin-bottom: 16px;
    font-size: 10px;
    font-weight: 450;
    line-height: 1; /* 400% */
}

.c-news__item-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5; /* 150% */
}

.c-news__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    .c-news__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 768px) {
    .c-news__thumb {
        margin-bottom: 4px;
    }
}
@media screen and (max-width: 480px) {
    .c-news {
        gap: 60px;
    }
    .c-news__grid {
        grid-template-columns: 1fr;
        gap: var(--gap);
    }
    .c-news__item {
        max-width: 260px;
        width: calc((220 / 402) * 100vw);
        margin: 0 auto;
    }
}

/* --------------------------------------------
   Components - Recruit
   -------------------------------------------- */

.c-recruit__lead {
    font-size: 20px;
    font-weight: 500;
}
.c-recruit__lead-sub {
    margin-top: -30px;
}

@media screen and (max-width: 768px) {
    .c-recruit {
        padding: 40px 0;
    }
}

/* --------------------------------------------
   Components - Press
   -------------------------------------------- */

.c-press__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gutter);
}

.c-press__item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.c-press__item img {
    max-width: 80px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .c-press__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------
   Loading Animation
   -------------------------------------------- */
.c-loading {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.5s ease-out;
}
.c-loading.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.c-loading__inner {
    position: relative;
    aspect-ratio: 224 / 178;
    max-width: 400px;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}
.c-loading__inner.is-visible {
    opacity: 1;
}
.c-loading__ball {
    position: absolute;
    width: calc(86 / 224 * 100%);
    aspect-ratio: 1 / 1;
    background: #ff6753;
    border-radius: 50%;
}
.c-loading__ball--right-top {
    top: 0;
    right: 0;
    opacity: 0;
    animation: ball-opacity 2s linear infinite alternate;
    animation-delay: 1s;
}
.c-loading__ball--left-bottom {
    bottom: 0;
    left: 0;
    opacity: 0;
    animation: ball-opacity 2s linear infinite alternate;
}

.c-loading__ball--move1,
.c-loading__ball--follow1,
.c-loading__ball--follow2,
.c-loading__ball--follow3,
.c-loading__ball--follow4,
.c-loading__ball--follow5,
.c-loading__ball--follow6 {
    position: absolute;
    bottom: 0;
    left: 0;
    will-change: transform;
    animation: ball-bounce1 1s cubic-bezier(0.83, 0.12, 0.12, 0.83) infinite
        alternate;
}
.c-loading__ball--follow1,
.c-loading__ball--follow2,
.c-loading__ball--follow3,
.c-loading__ball--follow4,
.c-loading__ball--follow5,
.c-loading__ball--follow6 {
    animation-timing-function: ease-in-out;
}

.c-loading__ball--follow1 {
    opacity: 0.3;
    animation-delay: 0.15s;
}
.c-loading__ball--follow2 {
    opacity: 0.25;
    animation-delay: 0.3s;
}
.c-loading__ball--follow3 {
    opacity: 0.2;
    animation-delay: 0.45s;
}
.c-loading__ball--follow4 {
    opacity: 0.15;
    animation-delay: 0.6s;
}
.c-loading__ball--follow5 {
    opacity: 0.1;
    animation-delay: 0.75s;
}
.c-loading__ball--follow6 {
    opacity: 0.05;
    animation-delay: 0.9s;
}

@keyframes ball-bounce1 {
    0%,
    10% {
        transform: translate(0, 0);
    }
    90%,
    100% {
        transform: translate(calc(138 / 86 * 100%), calc(-92 / 86 * 100%));
    }
}
@keyframes ball-opacity {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}
@media screen and (max-width: 768px) {
    .c-loading__inner {
        width: calc((228 / 402) * 100%);
    }
}
