@charset "utf-8";

/* -------------------------------------------------------------------------
  sec-top
  ------------------------------------------------------------------------- */
.p-top {
    min-height: var(--content-screen-height);
    min-height: calc(100svh - var(--header-height));
    padding: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-top__header {
    padding: var(--section-padding) 0;
    width: 100%;
    flex: 1 1 auto;

    display: flex;
    align-items: center;

    position: relative;


}

.p-top__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-top__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-top__title {
    padding: 0 4rem;
    position: relative;

    /* 仮 */
    max-width: var(--layout-max-width);
    margin-inline: auto;
}

@media screen and (min-width:744px) {
    .p-top__title {
        padding: 0 5rem;
    }

    .p-top__title>h1 {
        width: 50%;
    }
}

@media screen and (min-width:1280px) {
    .p-top__title {
        padding: 0;
    }

}

.p-top__footer {
    width: 100%;
    height: 8.5rem;
    padding: 2rem;
    position: relative;
}

.p-top-scroll {
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    height: 5rem;
    width: 1px;
}

.p-top__text {
    width: fit-content;
    margin-left: auto;
}

.p-top-scroll::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 100%;
    width: 100%;
    margin: auto;

    background-color: var(--color-white);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    51% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

/* -------------------------------------------------------------------------
  sec-info
  ------------------------------------------------------------------------- */
.p-info {
    padding-top: 0;
    padding-bottom: 0;
}

.p-info__item {
    /* min-height: calc(var(--content-screen-height) * 0.5); */
}

.p-info>.l-container {
    display: flex;
    flex-direction: column;

}

/* -------------------------------------------------------------------------
  sec-brand
  ------------------------------------------------------------------------- */
.p-brand .l-stack {
    gap: 7.5rem;
}

.p-short {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.p-slogan-short {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.p-slogan-short__copy-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 2rem 0;
}

.p-slogan-short__copy-title img {
    display: block;
    width: 27.5rem;
    margin-inline: auto;
}

@media screen and (min-width:744px) {
    .p-slogan-short__copy-title img {
        width: 35.5rem;
    }

}

.p-slogan-short__copy-desc {}

.p-slogan-short__title {
    width: 20rem;
    margin-inline: auto;
    background-color: var(--color-black);
}


.p-short-list {}



@media screen and (min-width:744px) {
    .p-short-list {
        /* Splide側の display: block; を強制的に上書き */
        display: flex !important;
        gap: 1.5rem;
        justify-content: center;
    }
}

.p-short-list__item {
    flex-shrink: 0;
}

.p-short-list__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

@media screen and (min-width:744px) {
    .p-short-list__media {
        width: 19rem;
    }
}



.p-short-list__media>img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;

    display: block;
    width: 100%;
    height: 100%;
}

.p-short-list__media::after {
    content: "";
    display: block;
    width: 3.6rem;
    height: 3.6rem;

    background-size: 83%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--color-white);
    border-radius: 50%;

    position: absolute;
    bottom: 1rem;
    right: 1rem;

    pointer-events: none;
}

.p-short-list--instagram .p-short-list__media::after {
    background-image: url(../images/icon-instagram.png);
}

.p-short-list--tiktok .p-short-list__media::after {
    background-size: 100%;
    background-color: transparent;
    border-radius: 0;
    background-image: url(../images/tiktok_social_icon_circle_white.png);
}

.p-short-list--youtube .p-short-list__media::after {
    background-image: url(../images/icon-youtube.png);
}

.p-brand-movie {
    padding: 0 1.5rem;
    position: relative;
}

@media screen and (min-width:744px) {
    .p-brand-movie {
        padding: 0;
    }
}

.p-brand-movie__link {
    display: block;
    text-align: right;
    padding-top: 1em;
    margin-left: auto;
    margin-right: 0;
    font-size: 1.4rem;
    line-height: var(--line-height-reset);

    text-align: center;


    /* text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px; */
}

@media screen and (min-width:1024px) {
    .p-brand-movie__link {
        font-size: 1.6rem;

    }
}

@media (min-width: 744px) {

    /* 【前提】各行に9要素あるため、744px以上では各行で必要な3要素以外を非表示にし、
     擬似的に3行×3列の9マス表示を作り出します。
    */
    /* 1行目: 4番目以降を非表示 (1,2,3のみ表示) */
    .p-short-slider:nth-child(1) .p-short-list__item:nth-child(n+4) {
        display: none;
    }

    /* 2行目: 1〜3番目、7番目以降を非表示 (4,5,6のみ表示) */
    .p-short-slider:nth-child(2) .p-short-list__item:nth-child(-n+3),
    .p-short-slider:nth-child(2) .p-short-list__item:nth-child(n+7) {
        display: none;
    }

    /* 3行目: 6番目以前を非表示 (7,8,9のみ表示) */
    .p-short-slider:nth-child(3) .p-short-list__item:nth-child(-n+6) {
        display: none;
    }
}

.p-short-slider--row01 {
    margin-left: -9rem;
}

@media (min-width: 744px) {
    .p-short-slider--row01 {
        margin-left: 0;
    }
}


.p-brand-movie--absolute-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* -------------------------------------------------------------------------
  sec-about-us
  ------------------------------------------------------------------------- */
.p-about-us {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: var(--content-screen-height);
}

.p-about-us__title {
    line-height: 1;
    text-align: center;

    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.p-about-us__title-start {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1rem;
}

.p-about-us__title-img {
    display: block;
    width: 6.5em;
}

.p-about-us__title-img {
    text-shadow: var(--shadow-base-text);
}

.p-about-us-content {
    padding-top: 0;
}

@media screen and (min-width:744px) {
    .p-about-us-content {
        padding-top: var(--section-padding);
    }
}

.p-about-us-content__header {
    aspect-ratio: 1 / 1;
    padding: 0 2rem;
    background-image: url(../images/about-us-body__bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

.p-about-us-content__title {
    text-shadow: var(--shadow-base-text);
}

.p-about-us-content__list {
    text-align: center;
    text-shadow: var(--shadow-base-text);
}

.p-about-us-content__list>li {
    font-size: 2.4rem;
    padding: 2rem 0;
    border-top: solid 1px var(--color-white);
    background-color: #5DB00D;
}

.p-about-us-content__list>li:nth-of-type(2) {
    background-color: #57D2D4;
}

.p-about-us-content__list>li:nth-of-type(3) {
    background-color: #AA61ED;
}

.p-about-us-content__list>li:nth-of-type(4) {
    background-color: #ED6461;
}

.p-about-us-content__media {
    padding-inline: 1.5rem;
    max-width: 37.5rem;
    margin-inline: auto;
}


/* -------------------------------------------------------------------------
  sec-cross-talk
  ------------------------------------------------------------------------- */
.p-cross-talk {
    height: 100%;
    display: flex;
    align-items: center;

    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;

    background-image: url(../images/cross-talk-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.p-cross-talk::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.75);
}

.p-cross-talk>* {
    position: relative;
}

.p-cross-talk__title {
    margin-bottom: 0.5em;
    letter-spacing: 0;
}

.p-cross-talk__copy {
    font-size: 1.8rem;
}

/* -------------------------------------------------------------------------
  sec-internship
  ------------------------------------------------------------------------- */
.p-internship {
    background-image: url(../images/p-internship-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.p-internship .l-container {
    /* padding-inline: 5.5rem; */
    padding-inline: 3.8rem;
}

.p-dl-internship-date {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.p-dl-internship-date>div {
    /* display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.8rem; */

    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.8rem;

}

.p-dl-internship-date__dt {
    font-size: 1.6rem;
    color: var(--color-white);
    background-color: var(--color-black);
    line-height: var(--line-height-reset);
    padding: 0.3em 0.6em;
    padding-top: 0.15em;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    white-space: nowrap;
}

.p-dl-internship-date__dd {
    font-size: 2.4rem;
}

.p-internship__desc {
    font-size: 1.6rem;
}

.p-internship__header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.p-internship__h3 {
    margin-bottom: 2rem;
}

.p-internship__program-list {
    margin-bottom: 3rem;
}

@media screen and (min-width:744px) {
    .p-internship__program-info {
        width: fit-content;
        margin-inline: auto;
    }
}

/* -------------------------------------------------------------------------
  sec-contact
  ------------------------------------------------------------------------- */
/* layout */
/* 後でリファクタリング,5.5remのマジックナンバーを統一管理、l-container,l-stackのHTML構造の見直しも検討 */
.p-contact .l-container.l-pc-narrow {
    padding-inline: 5.5rem;
}

@media screen and (min-width:744px) {
    .p-contact>.l-stack {
        gap: 7.5rem;
    }
}

.p-recruit-info {
    --gap: 5rem;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

@media screen and (min-width:744px) {
    .p-recruit-info {
        flex-wrap: wrap;
        flex-direction: row;
    }
}

@media screen and (min-width:1024px) {
    .p-recruit-info {
        --gap: 3.5rem;
    }
}

@media screen and (min-width:744px) {
    .p-recruit-info__item {
        width: calc((100% - var(--gap)) * 0.5);
    }
}

@media screen and (min-width:1024px) {
    .p-recruit-info__item {
        width: calc((100% - var(--gap) * 2) * 0.3333);
    }
}