/* Google Fontsのインポート */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

/* メインスタイル */
body {
    font-family: 'Arial', sans-serif;
    background-color: #faf8f5;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1024px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 0 auto;
    padding: 20px;
}

h1,
h2 {
    word-break: keep-all;
    color: #333;
    text-align: center;
}

h3,
.keep {
    word-break: keep-all;
}

/* セクション */
.section {
    margin: 12rem 0;
    text-align: center;
}

.title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: bold;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1.5px;
    text-align: center;
    position: relative;
}

.title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ff9800;
    margin: 10px auto 0;
}

/* ヒーローセクションスタイル */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('../img/honey_bg_img.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-family: 'Playfair Display', serif;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.hero div {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    background-color: #fff;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeIn 1s ease-in-out;
}

.hero h2 {
    background-color: #fff;
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ホワイトハニーの魅力セクション */
.feature-section {
    padding: 0 4rem;
    padding-top: 4rem;
    padding-bottom: 6rem;
    margin: 4rem 3rem;
    box-shadow: 0px 3px 6px 0px #ccc;
    border-radius: .75rem;
}

.feature-section h2 {
    font-size: 2rem;
    color: #333;
    font-family: 'Georgia', serif;
    letter-spacing: 1.5px;
    margin: 2rem 0rem;
    position: relative;
}

.feature-section h2::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: #999;
}

.feature-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.feature-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 25px;
    text-align: justify;
}

.feature-content span {
    background-color: #fffacd;
    padding: 0 4px;
    border-radius: 3px;
    font-weight: bold;
}

/* 固定ボタン */
.btn {
    background-color: #d32f2f;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9;
}

.btn:hover {
    background-color: #b71c1c;
}

/* 割引セクションのスタイル */
.discount-section {
    background-color: #fff8e1;
    padding: 5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.discount-section h2 {
    font-size: 2.8rem;
    color: #d32f2f;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.discount-content p {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.discount-content .highlight {
    color: #d32f2f;
    font-weight: bold;
    font-size: 1.4rem;
}

.discount-content .highlight-discount {
    color: #ff6f00;
    font-weight: bold;
    font-size: 1.6rem;
}

.limit {
    font-weight: bold;
    font-size: 1.5rem;
}

.point {
    font-weight: bold;
}

.discount-content .highlight-urgent {
    color: #c2185b;
    font-weight: bold;
    background-color: #ffebee;
    padding: 2px 5px;
    border-radius: 5px;
}

.discount-content .cta {
    font-size: 1.4rem;
    color: #fff;
    background-color: #d32f2f;
    display: inline-block;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.discount-content .cta:hover {
    background-color: #b71c1c;
}

/* ホワイトハニーの楽しみ方セクション */
.recipe-content {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-top: 5rem;
}

.image-cheese,
.image-toast {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* recipe-sntクラスの修正 */
.recipe-snt {
    max-width: 50%;
    padding: 1rem;
    margin: 0 auto;
    text-align: left;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

.recipe-snt ul {
    list-style: inside circle;
    margin-bottom: 1rem;
}

.recipe-snt h4 {
    font-weight: bold;
    margin-bottom: 4px;
}

.ct strong {
    font-size: .875rem;
    color: #d32f2f;
}

.recipe h3 {
    text-align: center;
    display: inline-block;
    max-width: 70%;
    padding: .5rem 1rem;
    font-size: max(1.25rem, 1.75rem);
    color: #fff;
    background-color: #ff9800;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Cormorant Garamond', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 5px;
    left: 300px;
    z-index: 3;
}

.recipe img {
    width: 450px;
    height: auto;
    margin-right: 20px;
    z-index: 1;
    border-radius: 50%;
}

/* 商品概要セクション */
.intro-content {
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: flex-start;
    gap: 5%;
    padding: 10px;
}

.intro-image {
    max-width: 45%;
    height: auto;
    border-radius: 8px;
}

.product-table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    font-size: 1.2rem;
}

.product-table th,
.product-table td {
    padding: 1rem .5rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.product-table tr:last-child th,
.product-table tr:last-child td {
    border: none;
}

.product-table th {
    font-weight: bold;
    width: 30%;
}

.product-table td {
    color: #333;
}

.dis {
    text-decoration: line-through;
}

.rim {
    color: #d32f2f;
}

/* フォーム部分のスタイル */
.form {
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
}

.form label {
    display: inline-block;
    width: auto;
    padding: .5rem;
    position: relative;
}

.zip-address {
    display: flex;
}

.zip-address input {
    margin-right: 10px;
    flex: 1;
}

.zip-address button {
    padding: 8px 16px;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    height: 2.5rem;
    font-size: .875rem;
    vertical-align: middle;
}

.zip-address button:hover {
    background-color: #e68900;
}



.required-label::after {
    content: "必須";
    display: inline-block;
    color: #fff;
    font-size: .75rem;
    padding: .125rem .25rem;
    border-radius: 4px;
    background-color: #d32f2f;
    margin-left: .75rem;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select {
    height: 2.5rem;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    vertical-align: middle;
    font-size: 1rem;
}

form select {
    display: block;
    line-height: 2.5rem;
    background-color: #fff;
    color: #333;
}

form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
    font-size: 1rem;
}

form textarea[value] {
    font-style: 1rem;
}

form input[type="submit"] {
    display: block;
    background-color: #ff9800;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.25rem;
    cursor: pointer;
    margin: 1.5rem auto;
}

form input[type="submit"]:hover {
    background-color: #e68900;
}

input[type="submit"][disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}

.checkbox {
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox label {
    padding: 0;
}

.checkbox .required-label {
    margin: 0;
    padding: 0;
}

.checkbox a {
    text-decoration: underline;
    margin-left: 8px;
}

/* プライバシーポリシーリンクの調整 */
.to-subpage {
    margin-left: 5px;
    text-decoration: underline;
}

/* ラジオボタンのスタイル */
.radio-group {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.radio-group label {
    margin-right: 20px;
    font-size: 1.1rem;
}

#purchaseFields {
    display: block;
}

/* テーブルのスタイル */
.law_list table {
    width: 90%;
    margin: 0 auto;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: auto;
}

.law_list th,
.law_list td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.law_list th {
    background-color: #fff8e1;
    color: #333;
}

/* spinner */
.loader_box {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.spinner {
    max-width: 10rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 11;
}

.spinner div {
    vertical-align: middle;
    width: 3rem;
    height: 3rem;
    background-color: #ff9800;
    border-radius: 100%;
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}

/* 購入を促すセクションのスタイル */
.cta-section {
    background-color: #fff8e1;
    padding: 60px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #d32f2f;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.cta-section p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.cta-section .cta-highlight {
    color: #d32f2f;
    font-weight: bold;
    font-size: 1.4rem;
}

/* 購入ボタン */
.cta-section .cta_btn {
    background-color: #d32f2f;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2rem;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

i {
    margin-left: .25rem;
}

.cta-section .cta_btn:hover {
    background-color: #b71c1c;
}

/* .back-to-top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    text-align: center;
}

.back-to-top:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.back-to-top i {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 3rem;
    vertical-align: middle;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .hero h1 {
        margin: 0 4rem;
    }

    .hero h2 {
        margin: 0 4rem;
    }

    .feature-section h2 {
        font-size: 1.75rem;
    }

    .feature-content p {
        font-size: 1.1rem;
    }

    .recipe-content {
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }

    .recipe img {
        margin-right: 10%;
        margin-left: 10%;
        margin-bottom: 10px;
        max-width: 80%;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="tel"] {
        width: 100%;
    }

    .recipe h3 {
        width: auto;
        position: relative;
        top: auto;
        left: auto;
        margin-top: 10px;
        font-size: 1.5rem;
    }

    .recipe h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 0px;
    }

    .section {
        margin: 5rem 0;
    }

    .hero h1 {
        font-size: 2rem;
        margin: 0 2rem;
    }

    .hero h2 {
        font-size: 1.25rem;
        margin: 0 2rem;
    }

    .feature-section {
        padding: 1rem 0;
        margin: 4rem 1rem;
    }

    .discount-section,
    .cta-section {
        padding: 3rem 1.5rem;
        border-radius: 0;
    }

    .discount-section h2 {
        font-size: 2rem;
    }

    .discount-content p {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .title {
        font-size: 2rem;
    }

    .recipe-snt {
        max-width: 80%;
        font-size: 1rem;
        line-height: 1.7;
    }

    .feature-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-image {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }

    .product-table {
        font-size: 1.1rem;
    }

    .law_list table {
        font-size: .875rem;
    }

    .law_list th {
        width: 35%;
    }

    .form {
        width: 90%;
        margin: 0 auto;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .cta-section .cta_btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero div {
        width: 100%;
    }

    .hero h1 {
        font-size: 1.375rem;
    }

    .hero h2 {
        font-size: 1rem;
    }

    .section {
        margin: 5rem auto;
        padding: 2rem 1rem;
    }

    .feature-section h2 {
        font-size: 1.375rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    .title {
        font-size: 1.725rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .recipe-snt {
        font-size: 0.95rem;
    }

    .recipe h3 {
        font-size: 1.375rem;
        margin-right: 0;
        margin-left: 0;
        text-align: center;
    }

    .law_list table {
        width: 96%;
    }

    .law_list .title {
        font-size: 1.375rem;
    }
}