:root {
    --green: #154734;
    --red: #dc1c13;
    --lime: #32cd32;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #faf9f4;
    color: var(--green);
    line-height: 1.6;
}

/* ===== HEADER ===== */
.top-bar {
    background: var(--green);
    color: white;
    text-align: center;
    padding: 2px 0;
}

.top-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* ===== LOGO ===== */
.logo-section {
    text-align: center;
}

.logo-section img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== HERO SLIDER ===== */
.hero {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 450px;
    margin: 0 auto;
    overflow: hidden;
    cursor: pointer;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== ダミースライド（中央 赤 太字） ===== */
.dummy-slide{
    position:absolute;
    width:100%;
    height:100%;
    background:#faf9f4;
    display:flex;
    justify-content:center;
    align-items:center;
}

.dummy-text{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align:center;
    color:#ff0000;
    font-weight:400;
    font-size:20px;
    letter-spacing:3px;
    line-height:1.8;
}

.dummy-text div{
    color:#ff0000;
    font-weight:900;
}

/* ===== HERO 商品情報 ===== */
.product-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.2);
    padding: 25px 50px;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.package {
    color: white;
    font-size: 18px;
    margin: 0;
    text-align: center;
}

.price {
    color: red;
    font-size: 32px;
    font-weight: 900;
    margin-top: 5px;
    letter-spacing: 1px;
}

.buy-now {
    margin-top: 8px;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 4px;
    background: none;
}

.blk li{
    height: 200px;
    background-color: #000;
    list-style: none;
    margin-bottom: 20px;
}

/* ===== COMING SOON ===== */
.slide.coming .coming-soon-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 5px;
    pointer-events: none;
    z-index: 10;
}

.slide.coming .product-info {
    display: none !important;
}

/* ===== DOTS ===== */
.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dots span {
    width: 10px;
    height: 10px;
    background: white;
    display: inline-block;
    border-radius: 50%;
    margin: 0 5px;
    opacity: 0.5;
    cursor: pointer;
    transition: .3s;
}

.dots span.active {
    opacity: 1;
    transform: scale(1.3);
}

.news ul{
    list-style: none;
}

/* ===== CARD SLIDER ===== */
/* .history{
    display: none;
} */

.card-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    /* margin: 0 20px; */
    scroll-snap-type: x mandatory;
}

.card-slider::-webkit-scrollbar {
    display: none;
}

.card {
    flex-shrink: 0;
    scroll-snap-align: start;
    background: white;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    min-width: 280px;
    max-width: 280px;
    transition: .3s;
}

.card a {
    text-decoration: none;
}

.card img.card-thumbnail {
    display: block;
    width: 100%;       /* カード幅に合わせる */
    max-width: 100%;   /* カード内に収まる */
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    image-rendering: auto;
    backface-visibility: hidden;
}

.card img.flag-icon {
    width: 24px;       /* 国旗専用サイズ */
    height: 18px;
    max-width: none;   /* サムネ制約の影響を受けない */
    vertical-align: middle;
    margin: 0 4px;
}

/* ===== ADDITIONAL IMAGES ===== */
#additional-images {
    display: block;
    max-width: 600px;
    margin: 20px;
}

#additional-images img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

/* ===== FREE / EMS ===== */
.free {
    margin: 20px 0;
    text-align: center;
}

.ems {
    margin: 20px auto;
    display: block;
    max-width: 48%;
}

/* ===== PAYMENT ICONS ===== */
.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-icons img,
.payment-icons svg {
    height: 28px;
    width: auto;
    object-fit: contain;
}

/* ===== SECTIONS ===== */
.section {
    padding: 40px 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.custom-service-section{
    display: none;
}


.custom-exp{
    margin-top: 20px;
}

.btn{
    text-align: center;
    font-size: 30px;
}



/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    opacity: 0.7;
    border-top: 1px solid #ddd;
}


/* ===== CUSTOM BUTTON ===== */
.custom-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    height: 240px;
    margin-top: 20px;
    text-decoration: none;
    color: white;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    background: var(--green);
}

.custom-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("img/index/menu.webp");
    background-size: cover;
    background-position: 15% 0;
    z-index: 0;
    transition: transform 0.3s ease;
}

.custom-button span {
    position: relative;
    z-index: 1;
}

.custom-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.custom-button:hover::before {
    transform: scale(1.05);
}

/* ===== CONTACT ICONS ===== */
.contact-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin-top: 30px;
    list-style: none;
}

.contact-icon {
    display: inline-block;
    width: 80px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.gmail {
    background-image: url(https://upload.wikimedia.org/wikipedia/commons/4/4e/Gmail_Icon.png);
}

.instagram {
    background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/e7/Instagram_logo_2016.svg);
}

.whatsapp {
    background-image: url(https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg);
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 768px) {
    .hero { height: 450px; }
    .product-info { padding: 15px 30px; }
    .price { font-size: 24px; }
    .package { font-size: 16px; }
    .custom-button { height: 220px; font-size: 18px; }
}