
/********** Template CSS **********/

:root {
    --primary: #88B44E;
    --secondary: #FB9F38;
    --light: #F5F8F2;
    --dark: #252C30;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.fw-black {
    font-weight: 900;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: absolute;
    padding: 0;
    width: 170px;
    height: 135px;
    top: 0;
    left: 0;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        width: 126px;
        height: 100px;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 75px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(194, 241, 132, 0.7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
}


#header-carousel .carousel-item {
    position: relative;
    min-height: 450px; /* 背景画像の高さ */
    background-image: url("../img/carousel-1.jpg"); /* 背景画像 */
    background-size: cover; /* 画像を枠いっぱいに表示 */
    background-position: center; /* 中央揃え */
    background-repeat: no-repeat; /* 繰り返しを無効化 */
}

#header-carousel .carousel-item img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/*
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
        
}
*/
.page-header {
    background: linear-gradient(rgba(136, 180, 78, .7), rgba(136, 180, 78, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 28px;
    height: 28px;
    bottom: -13px;
    left: calc(25% - 13px);
    background: var(--dark);
    border: 10px solid #FFFFFF;
    border-radius: 28px;
}

.section-title.text-center::before {
    left: 25%;
}

.section-title.text-center::after {
    left: calc(50% - 13px);
}


/*** Products ***/
.product {
    background: linear-gradient(rgba(136, 180, 78, .1), rgba(136, 180, 78, .1)), url(../img/product-bg.png) left bottom no-repeat;
    background-size: auto;
}

.product-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: #FFFFFF;
    color: var(--primary);
}


/*** About ***/
.video {
    background: linear-gradient(rgba(136, 180, 78, .85), rgba(136, 180, 78, .85)), url(../img/video-bg.jpg) center center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 65px;
    height: 75px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 28px 30px 30px 38px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 13px;
    border-left: 40px solid var(--primary);
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Store ***/
.store-item .store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(138, 180, 78, .3);
    opacity: 0;
    transition: .5s;
}

.store-item:hover .store-overlay {
    opacity: 1;
}


/*** Contact ***/
.contact .btn-square {
    width: 100px;
    height: 100px;
    border: 20px solid var(--light);
    background: var(--primary);
    border-radius: 50px;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(136, 180, 78, .85), rgba(136, 180, 78, .85)), url(../img/testimonial-bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-item {
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    background: #FFFFFF;
    border: 30px solid var(--primary);
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--dark);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #252525;
}

.copyright a:hover {
    color: #FFFFFF !important;
}



/**/

.custom-h4 {
    position: relative;
    padding-left: 40px; /* アイコンの幅分スペースを確保 */
    font-size: 1.5rem; /* 適宜調整 */
    font-weight: bold; /* 強調 */
    color: #333; /* 文字色 */
    margin: 0 auto 20px auto; /* 上下中央揃え、下に余白 */
    max-width: 945px; /* 固定の最大幅を設定 */
}

.custom-h4::before {
    content: '';
    position: absolute;
    top: 50%; /* 垂直中央に配置 */
    left: 0;
    transform: translateY(-50%); /* アイコンの中心を揃える */
    width: 30px; /* アイコンの幅 */
    height: 30px; /* アイコンの高さ */
    background-image: url('../img/home.png'); /* アイコン画像 */
    background-size: cover; /* 画像を枠内に収める */
    background-repeat: no-repeat; /* 繰り返しを防止 */
}

.custom-h4::after {
    content: '';
    position: absolute;
    bottom: -5px; /* h4の下に配置 */
    left: 0;
    width: 100%; /* 緑のラインを全幅に広げる */
    height: 3px; /* ラインの太さ */
    background-color: #28a745; /* 緑色（Bootstrapの成功色） */
}

table {
    width: 100%; /* 親要素の幅に合わせる */
    max-width: 945px; /* 固定の最大幅を設定 */
    margin: 0 auto; /* 中央揃え */
}

/* カスタムテーブル全体 */
.custom-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
}

.custom-table th,
.custom-table td {
    border: 1px solid #ddd;
    padding: 15px;
    vertical-align: middle;
}

.custom-header th {
    background-color: #e8f5e9; /* 薄い緑色 */
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

.custom-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.custom-table tbody tr:hover {
    background-color: #f1f8e9; /* ホバー時の色 */
}

.small-text {
    font-size: 0.85rem;
    color: #666;
}

/* テーブルの左端に揃える */
.note-left {
    margin-top: 10px; /* 上の余白を調整 */
    text-align: left; /* 左寄せ */
    width: 100%; /* 全幅に広げる */
    max-width: 800px; /* テーブルと同じ幅に設定 */
    margin-left: auto; /* 中央揃えの一部として調整 */
    margin-right: auto; /* 中央揃えの一部として調整 */
    padding-left: 15px; /* テーブルセルと一致する左余白 */
    font-size: 0.85rem; /* 小さな文字サイズ */
    color: #666; /* 補足的な文字色 */
}

.note {
    font-size: 0.75rem;
    color: #888;
}

.bg-light-green {
    background-color: #e8f5e9;
    font-weight: bold;
}

.bg-orange {
    background-color: #FF9933 !important; /* オレンジ色 */
    color: black !important;
}

.bg-yellow {
    background-color: #FFD700 !important; /* 黄色 */
    color: black !important;
}

.bg-green {
    background-color: #DFF0D8 !important; /* 緑色 */
    color: black !important;
}

.bg-primary {
    background-color: #007bff !important; /* プライマリカラー */
}

.text-white {
    color: #fff !important; /* 白色のテキストを強制適用 */
}

/* 特定のクラス (triangle-class) の右側に三角形を表示 */
.triangle-class::after {
    content: '';
    position: absolute;
    top: 50%; /* セルの中央に配置 */
    right: -5px; /* セルの右側に配置 */
    transform: translateY(-50%); /* 縦中央揃え */
    border-top: 10px solid transparent; /* 三角形の上辺を透明に */
    border-left: 10px solid #28a745; /* 三角形の色 */
    border-bottom: 10px solid transparent; /* 三角形の下辺を透明に */
}

/* セルのスタイル調整 */
.triangle-class {
    position: relative;
    overflow: visible; /* セル内の疑似要素を表示 */
}


.step-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.step-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    background-color: #d4edda; /* 緑の背景色 */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-header {
    background-color: #28a745; /* ステップ番号の背景色 */
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.step-content h5 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 1rem;
    color: #666;
}




.bg-yellow {
    background-color: #ffd700;
}

.bg-green {
    background-color: #28a745;
}

.bg-blue {
    background-color: #007bff;
}

.card {
    min-height: 100%; /* 高さを揃える */
}

.card-header {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-body {
    display: flex;
    flex-direction: column; /* 縦方向に配置 */
    justify-content: space-between; /* 上下の余白を調整 */
    font-size: 1rem;
    line-height: 1.5;
}

.card-text {
    margin-bottom: 15px;
}


/* カード全体 */
/* カスタムカード */
.custom-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* 高さを揃える */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.custom-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* カスタムボタン */
.btn-outline-orange {
    border-color: #ff9933;
    color: #ff9933;
}

.btn-outline-orange:hover {
    background-color: #ff9933;
    color: #fff;
}

/* 各セクションの色 */
.btn-outline-yellow {
    border-color: #ffd700;
    color: #ffd700;
}

.btn-outline-yellow:hover {
    background-color: #ffd700;
    color: #fff;
}

.btn-outline-green {
    border-color: #28a745;
    color: #28a745;
}

.btn-outline-green:hover {
    background-color: #28a745;
    color: #fff;
}

.btn-outline-blue {
    border-color: #007bff;
    color: #007bff;
}

.btn-outline-blue:hover {
    background-color: #007bff;
    color: #fff;
}












.list-unstyled li {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.custom-step-card {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px; /* 各カードの間の余白 */
}

.custom-card-header {
    font-size: 1.25rem;
    font-weight: bold;
    padding: 15px;
}

.custom-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.custom-card-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

.custom-arrow {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #ccc; /* 矢印の色 */
    margin: -10px 0 20px; /* 矢印の間隔 */
}


/************************************************************************/

/* 比較セクションのカード */
.comparison-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%; /* 高さを揃える */
    display: flex;
    flex-direction: column; /* フレックスで内部要素を縦並びに */
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.comparison-card-header {
    font-size: 1.25rem;
    font-weight: bold;
    padding: 15px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.comparison-card-body {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1; /* 高さを自動調整 */
}

/* 色と背景 */
.bg-light-blue {
    background-color: #e8f5fe; /* 薄い青 */
}

.bg-dark-blue {
    background-color: #2c3e50; /* 濃い青 */
}

.text-warning {
    color: #f1c40f !important; /* 黄色 */
}

.text-primary {
    color: #007bff !important; /* プライマリブルー */
}

/* アイコンとリスト */
.comparison-card-body ul {
    padding-left: 20px;
}

.comparison-card-body ul li {
    margin-bottom: 8px;
}

/* セクションタイトル調整 */
.comparison-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
}

.comparison-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #88b44e; /* 緑 */
    margin: 10px auto 0;
}

.comparison-section-title {

    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 20px;
    position: relative;
    margin: 5px auto 10px auto; /* 上下中央揃え、下に余白 */
    border-bottom: 3px solid #88B44E; 
    
/*
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 3px solid #88B44E; 
    display: inline-block;
    padding-bottom: 5px;
*/

}


/************************************************************************/



/************************************************************************/



/************************************************************************/



/************************************************************************/