/* ----------------------------------------------------------------------------
* メインビジュアルスライダー
* ------------------------------------------------------------------------- */
.slick-slider {
    margin: 0 calc(50% - 50vw);
    width: 100vw;

    .slick-slide {
        aspect-ratio: 10 / 3;
        @media (max-width: 1024px) {
            aspect-ratio: 73 / 100;
        }
    }
}
.slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}
@media (max-width: 1024px) {
    .slick-dotted.slick-slider {
        padding-top: 0px;
    }
}
.str-mainvisual {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;

    .btn {
        width: 300px;
    }
}
.str-mainvisual > .inner {
    /* -ms-flex-pack: justify;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; */
    margin: 0 auto;
    width: 100%;
    max-width: 1880px;
    height: 100%;
    height: 100%;
    padding: 0 3%;
    box-sizing: border-box;
}

.str-mainvisual > .inner > .hdg-copytext {
    -ms-flex-order: 0;
    -webkit-box-ordinal-group: 1;
    margin: 0 0 0 0;
    padding: 5% 0 0 0;
    order: 0;
    width: 40%;
    height: 50%;
    object-fit: cover; /* width, heightといっしょに使います */
    box-sizing: border-box;
    img {
        width: 100%;
        height: 100%;
    }
    @media screen and (max-width: 1024px) {
        height: 30%;
    }
}
.str-mainvisual > .inner > .mv01-hdg-copytext {
    -ms-flex-order: 0;
    -webkit-box-ordinal-group: 1;
    margin: 0 0 0 0;
    order: 0;
    height: 100%;
    object-fit: cover; /* width, heightといっしょに使います */
    box-sizing: border-box;
    width: 30%;
    padding: 50px 0 0 0;
    img {
        width: 100%;
        height: unset;
    }
}
.str-mainvisual > .inner:has(.mv01-hdg-copytext) {
    width: 100%;
    max-width: 100%;
}

@media screen and (max-width: 1024px) {
    .str-mainvisual > .inner > .hdg-copytext {
        -ms-flex-order: 1;
        -webkit-box-ordinal-group: 2;
        margin: 0;
        padding: 10% 0 0 5%;
        order: 1;
        width: 80%;
    }
    .str-mainvisual > .inner > .mv01-hdg-copytext {
        padding: 5% 0 0 5%;
        width: 90%;
    }
}
.str-mainvisual > .inner > .mod-btn-wrap-01 {
    -ms-flex-order: 2;
    -webkit-box-ordinal-group: 3;
    margin: 5% 0 0 0;
    order: 2;
}
@media screen and (max-width: 1024px) {
    .str-mainvisual > .inner > .mod-btn-wrap-01 {
        -ms-flex-order: 2;
        -webkit-box-ordinal-group: 3;
        display: block;
        margin: 0;
        padding: 5% 0 0 5%;
        order: 2;
        width: 60%;
    }
}
/* メインビジュアル1枚目の画像 */
._mv-01 {
    background-image: url("/assets/images/top/mv01.png");
    background-position: top center;
    background-size: 100%;
}
/* メインビジュアル2枚目の画像 */
._mv-02 {
    background-image: url("/assets/images/en/top/mv02.png");
    background-position: top center;
    background-size: 100%;
}
/* メインビジュアル3枚目の画像 */
._mv-03 {
    background-image: url("/assets/images/top/mv03.png");
    background-position: top center;
    background-size: 100%;
}
/* メインビジュアル4枚目の画像 */
._mv-04 {
    background-image: url("/assets/images/top/mv04.png");
    background-position: top center;
    background-size: 100%;
}
@media (max-width: 1024px) {
    ._mv-01 {
        background-image: url("/assets/images/top/mv01_sp.png");
    }
    ._mv-02 {
        background-image: url("/assets/images/en/top/mv02_sp.png");
    }
    ._mv-03 {
        background-image: url("/assets/images/top/mv03_sp.png");
    }
    ._mv-04 {
        background-image: url("/assets/images/top/mv04_sp.png");
    }
}
/* ============================================================================
* dot/arrow
* ========================================================================= */
.slick-dots li button:before {
    font-size: 1rem !important;
}
.slick-dots {
    background-color: #fff;
    bottom: 0 !important;
    width: 17% !important;
    right: 0 !important;
    padding: 20px 0 !important;
}
@media (max-width: 1024px) {
    .slick-dots {
        bottom: 0px !important;
        width: 40% !important;
        right: 0 !important;
        padding: 10px 0 !important;
    }
}
.slick-next {
    right: 10px !important;
    top: unset !important;
    bottom: 20px !important;
    z-index: 50;
    transform: translate(0, 0) !important;
}
.slick-prev {
    left: 84% !important;
    top: unset !important;
    z-index: 50;
    bottom: 20px !important;
    transform: translate(0, 0) !important;
}
.slick-prev:before,
.slick-next:before {
    color: #333 !important;
}
.slick-prev:before {
    transform: rotate(180deg);
}
.slick-next:before,
.slick-prev:before {
    content: "" !important; /*何も入れない*/
    display: inline-block;
    width: 20px; /*画像の幅*/
    height: 20px; /*画像の高さ*/
    background-image: url("/assets/images/top/icon-arrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
}
@media (max-width: 1024px) {
    .slick-next {
        right: 10px !important;
        bottom: 10px !important;
    }
    .slick-prev {
        left: 62% !important;
        bottom: 10px !important;
    }
}
/* ============================================================================
* ボタン
* ========================================================================= */
.btn {
    width: 100%;
}
@media screen and (max-width: 30em) {
    .btn {
        font-size: 1rem;
        width: 100%;
    }
}
/* ----------------------------------------------------------------------------
* topics
* ------------------------------------------------------------------------- */
.top-topics-wrap {
    width: 100%;
    padding: 0;
    margin: 0;
}
.top-topics-wrap h3 {
    text-align: center;
    margin: 0 auto;
    background-image: url("/assets/images/img-pattern.svg");
    background-repeat: no-repeat;
    background-position: left top;
    padding: 50px 0;
    width: 1400px;
    max-width: 100%;
    display: flex;
    justify-content: center;
}
@media (max-width: 1024px) {
    .top-topics-wrap h3 {
        background-image: none;
    }
}
.top-topics-wrap .icon-title {
    font-size: 20px;
    justify-content: center;
}
ul.top-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0;
    margin: 0px auto 50px;
}
ul.top-topics li {
    width: 350px;
    height: auto;
    padding: 0;
    margin: 0 auto;
}
ul.top-topics img {
    display: block;
    height: 250px;
    margin: 0px auto 20px;
    max-width: 100%;
    object-fit: cover;
}
ul.top-topics li .mod-text {
    margin: 10px auto;
}
ul.top-topics .date-text {
    font-size: 12px;
    color: #c4c4c4;
}
ul.top-topics li .new::before {
    content: "NEW";
    color: #fff;
    background-color: var(--main-color-light);
    padding: 0.25rem 0.5rem;
    border-radius: 1.25rem;
    font-size: 0.75rem;
    margin-right: 10px;
}
.mod-topics-wrap ul.top-topics img {
    width: 100%;
}
@media (max-width: 1024px) {
    ul.top-topics li {
        width: 90%;

        img {
            height: auto;
            object-fit: unset;
        }
    }
}
/* ----------------------------------------------------------------------------
* news
* ------------------------------------------------------------------------- */
.top-news-wrap {
    background-color: #f4f4f4;
    h3.icon-title {
        font-size: 1.5rem;
        font-weight: bold;
        padding-top: 1.5em;
        padding-bottom: 1.5em;

        @media (max-width: 1024px) {
            justify-content: center;
            &:before {
                position: unset;
                transform: none;
                margin-right: 0.5em;
            }
        }
    }
    .news-list {
        padding-top: 0;
    }
}
/* ----------------------------------------------------------------------------
* products
* ------------------------------------------------------------------------- */
.top-products-wrap {
    margin: 10% auto 10%;
    display: grid;
    grid-template-areas:
        "img img . ."
        "img img ttl ttl"
        ". . ttl ttl";
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 0.5fr 1fr 0.25fr;

    box-sizing: border-box;
    position: relative;

    .container {
        grid-area: bnr;
    }
}
.bg {
    grid-column: 2 / 5;
    grid-row: 2 / 7;
    background-color: #f4f4f4;
    z-index: -1;
    @media (max-width: 1024px) {
        display: none;
    }
}
.top-products-wrap .box-products {
    background: linear-gradient(
        360deg,
        transparent 0%,
        transparent 30%,
        #fff 30%,
        #fff 100%
    );
    position: relative;
}
.img-products {
    grid-area: img;
}
/* green box ----------------------------*/
.box-ttl-products {
    grid-area: ttl;
    width: calc(100% + 5vw);
    position: absolute;
    top: 0;
    left: -5vw;
    height: 100%;
    @media (max-width: 1024px) {
        top: -7vw;
        left: 0;
        height: calc(100% + 7vw);
    }
}
@media (max-width: 1024px) {
    .top-products-wrap {
        grid-template-areas:
            "idx idx idx idx"
            "img img img . "
            "img img img ."
            ". ttl ttl ttl"
            ". ttl ttl ttl";

        grid-template-columns: 10% 40% 40% 10%;
        grid-template-rows: 4em 1.75fr 3rem 1.25fr;
    }
    .top-products-wrap .img-products {
        width: 100%;
        height: 100%;
        margin-top: 30px;
        img {
            height: 100%;
            object-fit: cover;
        }
    }
    .box-ttl-products {
        width: 100%;
        top: -5vw;
        left: 0;
        height: calc(100% + 5vw);
    }
}
.top-products-wrap .ttl-products {
    background-color: #4bd6b4;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}
@media (max-width: 1024px) {
    .top-products-wrap .ttl-products p {
        padding-left: 10%;
        font-size: 20px;
    }
}
.top-products-wrap .ttl-products .btn-products {
    padding-left: 18%;
}
@media (max-width: 1024px) {
    .top-products-wrap .ttl-products .btn-products {
        padding-left: 10%;
        width: 90%;
    }
}
.top-products-wrap ul.bnr {
    display: flex;
    justify-content: space-between;
}
.top-products-wrap ul.bnr li {
    width: 500px;
    position: relative;
}
.top-products-wrap ul.bnr li > p {
    position: absolute;
    padding: 0;
    margin: 0;
    bottom: -30px;
    right: 0;
}
/* ----------------------------------------------------------------------------
* company
* ------------------------------------------------------------------------- */
.top-company-wrap {
    padding: 0% 0 0;
    margin: 0 auto 10%;
    display: grid;
    grid-template-areas:
        ". . img img"
        "ttl ttl img img"
        "ttl ttl . .";
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 0.25fr 1fr 0.25fr;
    position: relative;

    .container {
        grid-area: bnr;
    }
    .bg {
        grid-column: 1 / 4;
        grid-row: 2 / 7;
        background-color: #f4f4f4;
        z-index: -1;
    }
}
.top-company-wrap .box-company {
    background: linear-gradient(
        360deg,
        transparent 0%,
        transparent 30%,
        #fff 30%,
        #fff 100%
    );
    position: relative;
}
.top-company-wrap .img-company {
    grid-area: img;
}
/* green box ----------------------------*/
.box-ttl-company {
    grid-area: ttl;
    width: calc(100% + 5vw);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}
@media (max-width: 1024px) {
    .top-company-wrap {
        grid-template-areas:
            "idx idx idx idx"
            ". img img img "
            ". img img img"
            "ttl ttl ttl ."
            "ttl ttl ttl .";

        grid-template-columns: 10% 40% 40% 10%;
        grid-template-rows: auto 1.75fr 3rem 1.25fr;
    }
    .top-company-wrap .img-company {
        margin-top: 30px;

        img {
            height: 100%;
            object-fit: cover;
        }
    }
    .box-ttl-company {
        top: -7vw;
        left: 0;
        height: calc(100% + 7vw);
    }
}
.top-company-wrap .ttl-company {
    background-color: #4bd6b4;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    @media (min-width: 1400px) {
        padding-left: 20%;
    }
}
@media (max-width: 1024px) {
    .top-company-wrap .ttl-company p {
        padding-left: 10%;
        font-size: 20px;
    }
}
.top-company-wrap .ttl-company .btn-company {
    padding-left: 18%;
}
.top-company-wrap ul.bnr {
    display: flex;
    justify-content: space-between;
}
.top-company-wrap ul.bnr li {
    width: 500px;
    position: relative;
}
.top-company-wrap ul.bnr li > p {
    position: absolute;
    padding: 0;
    margin: 0;
    bottom: -30px;
    right: 0;
}
/* ----------------------------------------------------------------------------
* investor
* ------------------------------------------------------------------------- */
.top-investor-wrap {
    padding: 0% 0 0;
    margin: 0 auto 10%;
    display: grid;
    grid-template-areas:
        "img img . ."
        "img img ttl ttl"
        ". . ttl ttl";
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 0.5fr 1fr 0.25fr;
    position: relative;
}
.top-investor-wrap .box-investor {
    position: relative;
}
.top-investor-wrap .img-investor {
    grid-area: img;
}
/* green box ----------------------------*/
.box-ttl-investor {
    grid-area: ttl;
    width: calc(100% + 5vw);
    position: absolute;
    top: 0;
    left: -5vw;
    height: 100%;
}
@media (max-width: 1024px) {
    main .icon-title {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-left: 0;
        &:before {
            position: unset;
        }
    }
    .top-investor-wrap {
        grid-template-areas:
            "idx idx idx idx"
            "img img img . "
            "img img img ."
            ". ttl ttl ttl"
            ". ttl ttl ttl";

        grid-template-columns: 10% 40% 40% 10%;
        grid-template-rows: auto 1.75fr 3rem 1.25fr;
    }
    .top-investor-wrap .img-investor {
        margin-top: 30px;
        width: 100%;
        height: 100%;
        img {
            height: 100%;
            object-fit: cover;
        }
    }
    .box-ttl-investor {
        width: 100%;
        height: calc(100% + 7vw);
        top: -7vw;
        left: 0;
    }
}
.top-investor-wrap .ttl-investor {
    background-color: #4bd6b4;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    height: 100%;
}
@media (max-width: 1024px) {
    .top-investor-wrap .ttl-investor p {
        padding-left: 10%;
        font-size: 20px;
    }
}
.top-investor-wrap .ttl-investor .btn-investor {
    padding-left: 18%;
}
.top-investor-wrap ul.bnr {
    padding: 100px 0 0 0;
    display: flex;
    justify-content: space-between;
}
.top-investor-wrap ul.bnr li {
    width: 500px;
}

.top-news-wrap,
.top-products-wrap,
.top-company-wrap,
.top-investor-wrap {
    .btn {
        width: 300px;
    }
}

/* ----------------------------------------------------------------------------
* products / company / investor
* ------------------------------------------------------------------------- */
.box-ttl-products .ttl,
.box-ttl-company .ttl,
.box-ttl-investor .ttl {
    position: absolute;
    bottom: calc(100% - 1.75em);
    font-size: clamp(40px, 4vw, 72px);
    left: 18%;
}
.box-ttl-products .ttl {
    bottom: calc(100% - 0.75em);
}
.box-ttl-company .ttl {
    @media (min-width: 1400px) {
        left: 34%;
    }
}

.box-ttl-products .ttl h3,
.box-ttl-company .ttl h3,
.box-ttl-investor .ttl h3 {
    line-height: 2;
    font-size: clamp(20px, 2vw, 32px);
}
.box-ttl-products .ttl h4,
.box-ttl-company .ttl h4,
.box-ttl-investor .ttl h4 {
    font-size: clamp(40px, 4vw, 72px);
    line-height: 1.25;
}
.top-products-wrap .ttl-products p,
.top-company-wrap .ttl-company p,
.top-investor-wrap .ttl-investor p {
    padding-left: 18%;
    font-size: clamp(18px, 1.5vw, 32px);
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .top-products-wrap,
    .top-company-wrap,
    .top-investor-wrap {
        height: 50vw;
        min-height: 550px;
        max-height: 900px;
        margin: 0 0 10%;
    }
    .top-products-wrap {
        margin-top: 10%;
    }
    .top-products-wrap,
    .top-company-wrap,
    .top-investor-wrap {
        background: transparent;
    }

    .top-products-wrap .ttl-products,
    .top-company-wrap .ttl-products,
    .top-investor-wrap .ttl-products {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
    }

    .top-products-wrap ul.bnr,
    .top-company-wrap ul.bnr {
        display: none;
    }
    .ttl {
        display: none;
    }
    .top-products-wrap h3,
    .top-company-wrap h3,
    .top-investor-wrap h3 {
        grid-area: idx;
        font-size: 2rem;
        display: flex;
        justify-content: center;
    }
    .top-products-wrap .ttl-products .btn-products,
    .top-company-wrap .ttl-company .btn-company,
    .top-investor-wrap .ttl-investor .btn-investor {
        padding-left: 10%;
        width: 60%;
    }
    .top-products-wrap .ttl-products p,
    .top-company-wrap .ttl-company p,
    .top-investor-wrap .ttl-investor p {
        font-size: 1.6rem;
        padding-left: 10%;
    }
}
/* ----------------------------------------------------------------------------
* other
* ------------------------------------------------------------------------- */
.top-other-wrap {
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 30%,
        #f4f4f4 30%,
        #f4f4f4 100%
    );
    background-position: right top;
    padding: 250px 0 0 0;
    margin: 0px 0 10% 0;
    position: relative;
}
@media (max-width: 1024px) {
    .top-other-wrap {
        background: #f4f4f4;
        padding: 0;
        margin: 0 0 0 0;
    }
}
.top-other-wrap .ttl-other {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 100px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.top-other-wrap .ttl-other > h3 {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    font-size: 20px;
}
.top-other-wrap .ttl-other > h3::before {
    content: "";
    position: absolute;
    top: -40px;
    display: inline-block;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-image: url("/assets/images/icon-ttl.svg");
    width: 16px;
    height: 16px;
}
@media (max-width: 1024px) {
    .top-other-wrap .ttl-other {
        display: none;
    }
}
.top-other-wrap .box-other {
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 30%,
        #fff 30%,
        #fff 100%
    );
    position: relative;
    padding: 0px 0;
}
@media (max-width: 1024px) {
    .top-other-wrap .box-other {
        background: #f4f4f4;
        margin: 0;
        padding: 80px 0;
    }
}
ul.box-other-wrap {
    display: flex;
    width: 780px;
    justify-content: space-between;
    margin: 0 auto;
    align-items: flex-start;
}
ul.box-other-wrap li {
    width: 300px;
    align-content: center;
}
ul.box-other-wrap span {
    font-size: 12px;
    color: #c4c4c4;
    text-align: center;
    padding: 10px 0;
    display: flex;
    justify-content: center;
}
@media (max-width: 1024px) {
}

ul.box-other-wrap h4 {
    padding: 10px 0;
    font-size: 24px;
    text-align: center;
}
ul.box-other-wrap p {
    padding: 10px 0;
    text-align: center;
}
@media (max-width: 1024px) {
    ul.box-other-wrap {
        width: 90%;
    }
    ul.box-other-wrap li {
        width: 46%;
    }
    ul.box-other-wrap h4 {
        font-size: 1.6rem;
    }
}

main h4.icon-title {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-left: 0;
    &:before {
        position: unset;
        width: 1rem;
        height: 1rem;
    }
}
