.custom-input {
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.main-content {
    position: relative;
    min-width: 1440px;
    margin: auto;
}

.top-bar {
    padding: 12px 36px;
    margin: 28px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 90px;
}

.top-content {
    padding: 12px 128px !important;
    position: relative;
    width: 1440px;
    margin: auto;
}

.main-page {
    /* padding: 12px 128px !important; */
    position: relative;
    width: 1440px;
    margin: auto;
}

.top-sub-content {
    padding: 0px 28px 0px 80px;
}

.logo-image {
    height: 58px;
}

.feature-article {
    margin: 136px !important;
    padding-top: 68px !important;
}

.dotted-hr {
    border: none;
    border-top: 1px dotted #000;
    margin: 20px 128px !important;
}

.dotted-hr-2 {
    border: none;
    border-top: 1px dotted #000;
    margin: 20px 150px;
}

.base-m {
    margin: 42px 68px;
}

.text-title {
    font-size: 28px;
    color: #2E9273;
}

.text-sub-title {
    font-size: 16px;
}

.m-side-large {
    margin: 0px 128px !important;
}

.m-large {
    margin: 42px 128px !important;
}

.stretch-off-screen {
    display: flex;
    width: 100% !important;
    align-items: center;
    margin-bottom: 72px;
}

.stretch-off-screen-2 {
    display: flex;
    /* width:100% !important;  */
    align-items: center;
    margin: 0px 128px 72px !important;
}

.footer-copyright {
    padding: 20px;
    padding-bottom: 100px;
}


@media (max-width: 576px) {
    .footer-copyright {
        padding: 20px;
        padding-bottom: 100px;
    }

    .top-bar {
        margin: 20px;
        height: 50px;
        padding: 12px 20px;
    }

    .logo-image {
        height: 28px;
    }

    .top-content {
        padding: 0px 20px !important;
        height: 600px;
        /* margin: 20px !important; */
        width: 100%;
    }

    .main-content {
        padding: inherit !important;
        position: relative;
        width: inherit;
    }

    .main-page {
        padding: inherit !important;
        position: relative;
        width: inherit;
        margin: auto;
    }

    .top-sub-content {
        padding: 28px 0px;
    }

    .feature-article {
        opacity: 0;
        margin: 155px !important;
        padding-top: 75px !important;
    }

    .dotted-hr {
        margin: 0px 32px !important;
    }

    .dotted-hr-2 {
        margin: 20px 8px;
    }

    .text-title {
        font-size: 18px;
        color: #2E9273;
    }

    .text-sub-title {
        font-size: 14px;
    }

    .m-side-large {
        margin: 0px 25px !important;
    }

    .m-large {
        margin: 22px 25px !important;
    }

    .stretch-off-screen {
        width: 360vw !important;
        overflow-x: none;
        margin-bottom: 24px !important;
    }

    .stretch-off-screen-2 {
        /* width: 360vw !important; */
        overflow-x: none;
        margin: 0px 24px 24px !important;
    }

    .main-content {
        min-width: 0px;
    }

    .custom-input {
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
    }

    .search-input {
        width: 60px !important;
    }
}

.custom-input:focus {
    outline: none;
    box-shadow: none;
}

.bg-primary-color {
    background-color: #236F61;
}

.text-primary-color {
    color: #236F61;
}

.text-white {
    color: white;
}

.carousel {
    display: flex;
    align-items: center;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    width: 300px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
}

.lock-icon {
    margin-right: 5px;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 16px;
    margin: 0 0 10px;
    color: #333;
}

.card-description {
    font-size: 14px;
    color: #777;
}

.carousel-button {
    background-color: #2E7D6D;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
}

.left-button {
    margin-right: 10px;
}

.right-button {
    margin-left: 10px;
}

.arrow {
    position: relative;
}

.arrow-writer {
    position: relative;
}

.left-arrow {
    position: absolute;
    left: -68px;
    top: 180px;
    transform: translate(-50%, 0%);
    background-color: #2E9273;
    padding: 24px 16px;
    border-radius: 6px;
    width: 46px;
    height: 74px;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-arrow {
    position: absolute;
    right: -110px;
    top: 180px;
    transform: translate(-50%, 0%);
    background-color: #2E9273;
    padding: 24px 16px;
    border-radius: 6px;
    width: 46px;
    height: 74px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-arrow-writer {
    position: absolute;
    left: -68px;
    top: 180px;
    transform: translate(-50%, 0%);
    background-color: #2E9273;
    padding: 24px 16px;
    border-radius: 6px;
    width: 46px;
    height: 74px;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-arrow-writer {
    position: absolute;
    right: -110px;
    top: 180px;
    transform: translate(-50%, 0%);
    background-color: #2E9273;
    padding: 24px 16px;
    border-radius: 6px;
    width: 46px;
    height: 74px;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-image {
    position: relative;
    z-index: 0;
}

.bg-image:before {
    background-image: url('/img/top-image.png');
    background-color: rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
    max-width: 1440px;
    height: 800px;
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(10px);
    z-index: -1;
}

.bg-image::after {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: rgba(46, 146, 115, 0.75);
    /* 半透明の緑色のオーバーレイ */
    z-index: -1;
}

.clickable {
    text-decoration: none;
    /* リンクの下線を消す */
    color: inherit;
    /* テキストの色を継承する */
    display: block;
    /* aタグをブロック要素にする */
}

.clickable:hover {
    color: black;
}

.swiper-slid {
    position: relative;
    overflow: hidden;
}

.swiper-slider,
.swiper-button-prev,
.swiper-button-next {
    height: 100px !important;
    width: 100px !important;
    top: 40% !important; /* ボタンを上に移動 */
}

.swiper-button-prev::after,
.swiper-button-next::after {
    background-repeat: no-repeat;
    background-size: contain;
    content: "" !important;
    height: 100px !important;
    margin: auto !important;
    width: 50px !important;
}

/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
    background-image: url("/img/pagination-prev.png");

}

/* 次への矢印カスタマイズ */
.swiper-button-next::after {
    background-image: url("/img/pagination-next.png");
}

/* .swiper-pagination {
    top: 10px;
    position: absolute;
    bottom: auto;
    text-align: center;
} */
.swiper-container {
    width: 100%;
    overflow: hidden; /* 重要：はみ出た部分を隠す */
  }

.swiper-container .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 10px !important;
    top: 100px !important;
    overflow: hidden;
}

.swiper-pagination {
    width: initial !important;
    left: initial !important;
    right: 128px !important;
    top: -70px !important;
}

.swiper-pagination-bullet {
    background-color: #236F61;
}

.swiper-pagination-bullet-active {
    background-color: #236F61 !important;
}

@media (max-width: 576px) {

    .swiper-button-prev::after,
    .swiper-button-next::after {
        /* background-repeat: no-repeat;
        background-size: contain;
        content: "" !important;
        height: 100px !important;
        margin: auto !important;
        width: 50px !important; */
    }

    /* 前への矢印カスタマイズ */
    .swiper-button-prev::after {
        /* background-image: url("/img/pagination-prev.png"); */

    }

    /* 次への矢印カスタマイズ */
    .swiper-button-next::after {
        /* background-image: url("/img/pagination-next.png"); */
    }

    .swiper-pagination {
        width: 100% !important;
        position: absolute;
        text-align: center;
        transition: .3s opacity;
        transform: translate3d(0, 0, 0);
        z-index: 10;
        left: inherit !important;
        right: inherit !important;
        top: inherit !important;
    }
}