@charset "utf-8";

/* ------------------------------ */
/* カスタムプロパティ */
/* ------------------------------ */

/* カラー */
:root {
    --color-bg-primary: #D42E1E;
    --color-bg-secondary: #F0F5F7;
    --color-bg-green: #02C755;
    --color-bg-black: #333333;
    --color-bg-white: #ffffff;
    --color-border-green: #02C755;
    --color-border-black: #333333;
    --color-border-white: #ffffff;
    --color-font-primary: #D42E1E;
    --color-font-black: #333333;
    --color-font-white: #ffffff;
}

/* コンテナ幅 */
:root {
    --width-content-s: 800px;
    --width-content: 1100px;
    --width-content-l: 1366px;
}

/* フォント */
:root {
    --font-family-base: "Noto Sans JP", sans-serif;
    --font-family-en: "Montserrat", sans-serif;
}

/* ------------------------------ */
/* リセットCSS */
/* ------------------------------ */
img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ------------------------------ */
/* 全体共通のスタイル */
/* ------------------------------ */

body {
    color: var(--color-font-base);
    font-family: var(--font-family-base);
    font-size: 14px;
    line-height: 1.5;
    position: relative;
}

@media screen and (min-width: 768px) {
    body {
        font-size: 16px;
    }
}

/* ------------------------------ */
/* コンポーネント(使い回すスタイル) */
/* ------------------------------ */
/*!
component > button
------------------------------
*/
.c-button {
    width: 100%;
    max-width: 250px;
    height: 50px;
    color: var(--color-font-white);
    background-color: var(--color-bg-green);
    font-size: 14px;
    text-align: center;
    line-height: 1;
    border-radius: 100vh;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.1em;
    padding: 0 36px 0 calc(16px + 0.1em);

    position: relative;
}

@media screen and (min-width: 768px) {
    .c-button {
        max-width: 400px;
        height: 55px;
        font-size: 16px;
    }
}

.c-button--arrow::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 27px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    box-sizing: border-box;
    transition: transform 0.3s ease, right 0.3s ease;
    /* アニメーションを追加 */
}

/*!
component > title
------------------------------
*/
/*! 見出し1 */

/*! 見出し2 */
.c-title-level2 {
    color: var(--color-font-black);
    font-size: 24px;
    letter-spacing: 0.08em;
    line-height: 1.0;
}

@media screen and (min-width: 768px) {
    .c-title-level2 {
        font-size: 32px;
    }
}

/*! センター */
.c-title-level2--center {
    text-align: center;
    padding-left: 0.08em;
}

.c-title-level2--white {
    color: var(--color-font-white);
}

.c-title-level2--bold {
    font-weight: 700;
}

/* ------------------------------ */
/* コンテナ */
/* ------------------------------ */

.l-container-s,
.l-container,
.l-container-l {
    width: 90%;
    margin: 0 auto;
}

.l-container-s {
    max-width: var(--width-content-s);
}

.l-container {
    max-width: var(--width-content);
}

.l-container-l {
    max-width: var(--width-content-l);
}

/* ------------------------------ */
/* セクション */
/* ------------------------------ */

.l-section {
    padding: 64px 0;
}

@media screen and (min-width: 768px) {
    .l-section {
        padding: 104px 0;
    }
}

.l-section-body {
    margin-top: 40px;
}

@media screen and (min-width: 768px) {
    .l-section-body {
        margin-top: 64px;
    }
}

/* ------------------------------ */
/* header */
/* ------------------------------ */
.header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: var(--color-bg-white);
    border-radius: 100vh;
    box-shadow: var(--color-bg-black) 3px 3px 8px;
    height: 70px;
    top: 20px;
    left: 50%;
    margin: auto;
    width: 90%;
    position: fixed;
    z-index: 100;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);

}

@media screen and (min-width: 768px) {
    .header {
        height: 80px;
        width: 60%;
    }
}

.header-logo {
    margin-left: 5%;
    width: 120px;
}

@media screen and (min-width: 768px) {
    .header-logo {
        margin-left: 24px;
        width: 200px;
    }
}

.header-logo img {
    display: block;
}

.header-button {
    margin-left: auto;
    margin-right: 2%;
    width: 190px;
}

@media screen and (min-width: 768px) {
    .header-button {
        width: 320px;
    }
}

.only-pc {
    display: none;
}

@media screen and (min-width: 768px) {
    .only-sp {
        display: none;
    }

    .only-pc {
        display: block;
        display: flex;
    }
}

/* ------------------------------ */
/* top > kv */
/* ------------------------------ */

.top-kv {
    padding: 114px 0 16px;
}

@media screen and (min-width: 768px) {
    .top-kv {
        padding: 130px 0 64px;
    }
}

.top-kv-slider {
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    gap: 24px;
    list-style: none;
}

@media screen and (min-width: 1116px) {
    .top-kv-slider {
        gap: 60px;
    }
}

.top-kv-slider-item {
    width: 100%;
    flex-shrink: 0;
}

@media screen and (min-width: 500px) {
    .top-kv-slider-item {
        width: 320px;
    }
}

.top-kv-copy {
    position: relative;
    /* 画像の絶対配置の基準 */
    text-align: center;
    /* テキストを中央揃え */
}

.top-kv-title {
    margin: auto;
}

.top-kv-text {
    font-size: 14px;
    text-align: center;
    margin: 40px 0 16px;
}

@media screen and (min-width: 768px) {
    .top-kv-text {
        font-size: 16px;
    }
}

.top-kv-text span {
    display: inline;
    border-bottom: var(--color-border-black) 1px solid;
}

.top-kv-text02 {
    font-size: 16px;
    text-align: center;
    margin: 16px 0;
}

@media screen and (min-width: 768px) {
    .top-kv-text02 {
        font-size: 24px;
    }
}

.top-kv-text03,
.top-kv-text04 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 16px 0;
}

@media screen and (min-width: 768px) {

    .top-kv-text03,
    .top-kv-text04 {
        font-size: 40px;
    }
}

.top-kv-telework-logo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    margin-left: auto;
    padding-top: 24px;
}

@media screen and (min-width: 768px) {
    .top-kv-telework-logo {
        margin-right: auto;
        width: 240px;
        position: absolute;
        /* 親要素内で絶対配置 */
        top: 95%;
        /* 親要素の中央高さに配置 */
        right: 0;
        /* 親要素の右端に配置 */
        transform: translateY(-50%);
        /* 縦方向の位置を中央に調整 */
        height: auto;
        /* 画像の縦横比を維持 */
    }
}

/* ------------------------------ */
/* top > line-area */
/* ------------------------------ */
.top-line-area {
    background-color: var(--color-bg-primary);
    padding: 32px 0;
}

@media screen and (min-width: 768px) {
    .top-line-area {
        padding: 64px 0;
    }
}

.top-line-area-text {
    color: var(--color-font-white);
    text-align: center;
    font-weight: 700;
}

.top-line-area-button {
    margin-top: 16px;
    text-align: center;
}

.top-line-button {
    border-radius: 100vh;
    font-size: 14px;
    border: var(--color-border-white) 2px solid;
}

@media screen and (min-width: 768px) {
    .top-line-button {
        font-size: 18px;
    }
}

.top-line-button:hover {
    background-color: var(--color-bg-white);
    color: var(--color-bg-green);
    border: var(--color-border-green) 2px solid;
}

.top-line-button:hover::after {
    transform: rotate(45deg) translateX(2px);
    /* 矢印を右に動かす */
    right: 20px;
    /* 矢印の位置を調整 */
    border-top: 2px solid var(--color-border-green);
    border-right: 2px solid var(--color-border-green);
}

/* ------------------------------ */
/* top > concept */
/* ------------------------------ */
.top-concept {
    background-color: var(--color-bg-secondary);
}

/* ------------------------------ */
/* top > concept > telework-logo-area */
/* ------------------------------ */
.top-telework-logo-area-level2 span {
    display: block;
    line-height: 1.8;
}

@media screen and (min-width: 768px) {
    .top-telework-logo-area-level2 span {
        display: inline;
    }
}

.top-telework-logo-area-text {
    padding: 20px 0 64px;
}

@media screen and (min-width: 768px) {
    .top-telework-logo-area-text {
        text-align: center;
    }
}

.top-telework-logo-area-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-content: center;
    align-items: start;
    gap: 64px;
    margin: auto 0;
    padding-bottom: 96px;
}

@media screen and (min-width: 768px) {
    .top-telework-logo-area-list {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 24px;
        padding-bottom: 104px;
    }
}

.top-telework-logo-area-title {
    padding-top: 20px;
}

/* ------------------------------ */
/* top > concept > private */
/* ------------------------------ */
.top-private-body {
    background-color: var(--color-bg-white);
    border-radius: 5vh;
    padding: 18px;
}

@media screen and (min-width: 768px) {
    .top-private-body {
        padding: 24px;
    }
}

.top-private-text {
    text-align: center;
    font-weight: 700;
    font-size: 20px;
}

@media screen and (min-width: 768px) {
    .top-private-text {
        font-size: 36px;
    }
}

@media screen and (min-width: 768px) {
    .top-private-text span {
        display: block;
    }
}

.top-private-text02 {
    text-align: center;
    padding: 32px 0 24px;
}

@media screen and (min-width: 768px) {
    .top-private-text02 span {
        display: block;
    }
}

@media screen and (min-width: 768px) {
    .top-private-main {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.top-private-main-img {
    width: 72px;
    margin: auto;
}

@media screen and (min-width: 768px) {
    .top-private-main-img {
        width: 96px;
    }
}

.top-private-main-img02 {
    width: 152px;
    margin: auto;
}

@media screen and (min-width: 768px) {
    .top-private-main-img02 {
        width: 181px;
    }
}

.top-private-item {
    display: flex;
    gap: 8px;
    padding-top: 8px;
}

@media screen and (min-width: 768px) {
    .top-private-item {
        align-items: flex-end;
    }
}

.top-private-item-img {
    width: 16px;
    height: auto;
    /* 縦横比を維持 */
    flex-shrink: 0;
    /* 縮小を防止 */
}

@media screen and (min-width: 768px) {
    .top-private-item-img {
        width: 20px;
    }
}

.top-private-item-text {
    flex: 1;
    /* テキスト部分を可変に設定 */
    word-wrap: break-word;
    /* 長い単語を折り返し可能にする */
    max-width: 100%;
    /* テキストの最大幅を設定（必要に応じて調整） */
    font-size: 14px;
}

/* ------------------------------ */
/* top > about */
/* ------------------------------ */
.top-about {
    display: flex;
    height: 300px;
    /*    margin: 100px 0; */
    position: relative;
    width: 100%;
}

.top-about::after {
    content: "";
    background: #d42e1e;
    display: inline-block;
    height: 300px;
    position: absolute;
    width: 90%;
}

.top-about-main {
    display: flex;
    flex-direction: row-reverse;
    max-width: 800px;
    margin: auto;
    width: 100%;
    position: relative;
    align-items: center;
}

.top-about-gallery {
    height: 300px;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 10;
}

@media screen and (min-width: 768px) {
    .top-about {
        display: flex;
        height: 600px;
        /*    margin: 100px 0; */
        position: relative;
        width: 100%;
    }

    .top-about::after {
        height: 600px;
        width: 46%;
    }
}

.top-about-gallery-img {
    left: 35%;
    position: absolute;
    top: -10%;
    width: 50%;
}

.top-about-gallery-img02 {
    bottom: 5%;
    left: 10%;
    position: absolute;
    width: 30%;
}

.top-about-copy {
    width: 90%;
    margin: 324px auto 0;
}

.top-about-title {
    color: var(--color-font-primary);
    font-weight: 700;
    padding-bottom: 8px;
}

.top-about-title-level2 {
    padding-bottom: 24px;
}

.top-about-text {
    line-height: 1.8;
    padding-bottom: 16px;
}

@media screen and (min-width: 768px) {
    .top-about-gallery {
        height: 570px;
        left: 0;
        position: absolute;
        width: 100%;
        z-index: 10;
    }

    .top-about-gallery-img {
        left: 0;
        position: absolute;
        top: -50px;
        width: 40%;
    }

    .top-about-gallery-img02 {
        bottom: 100px;
        left: -80px;
        position: absolute;
        width: 20%;
    }

    .top-about-copy {
        width: 52%;
        margin: 0;
    }

    .top-about-title {
        color: var(--color-font-primary);
        font-weight: 700;
        padding-bottom: 8px;
    }

    .top-about-title-level2 {
        padding-bottom: 24px;
    }

    .top-about-text {
        line-height: 1.8;
        padding-bottom: 16px;
    }
}