/* =============================================
   Main Layout
   ============================================= */
#main {
    float: unset;
    width: 100%;
}

#container {
    width: 100%;
    margin-top: 0;
    padding: 0;
}

.top_inner {
    width: 1200px;
    margin: 0 auto;
}

.box_small {
    width: 1200px;
    margin: 0 auto;
}

#footer #container {
    width: 1200px;
    margin: 0 auto;
}

/* =============================================
   Slider (bxSlider)
   ============================================= */
.bx-wrapper .bx-viewport {
    box-shadow: unset !important;
    border: none !important;
}

.bx-wrapper img {
    width: 100%;
    height: 700px;
    background-size: cover;
    object-fit: cover;
}

.bx-wrapper .bx-pager {
    bottom: -35px !important;
}

/* =============================================
   Header & Content
   ============================================= */
#main .header_block {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 15px 20px;
}

#main .box h3 {
    font-size: 24px;
}

#main #box_free {
    display: none;
}

/* =============================================
   Item List
   ============================================= */
.item_list .item_box {
    margin-right: 0;
}

.item_list .item_box:not(:nth-child(3n+3)) {
    margin-right: 3.41%;
}

.item_box .item_image img.item {
    height: 270px;
}

/* =============================================
   Fraud Alert
   ============================================= */
.fraud-alert-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    border: 2px solid #ff0000;
    border-radius: 8px;
    background-color: #fffafb;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
}

.fraud-alert-title {
    color: #ff0000;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fraud-alert-content {
    text-align: center;
}

.alert-text {
    color: #ff0000;
    font-weight: bold;
    background: #ffebeb;
    padding: 10px;
    display: inline-block;
}

.account-warning {
    margin: 20px 0;
    font-weight: bold;
    color: #d00;
    border-bottom: 1px dashed #d00;
    display: inline-block;
}

.official-links {
    margin: 25px 0;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 5px;
}

.store-list {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    margin: 10px 0;
}

.contact-box {
    margin: 20px 0;
}

.tel-link {
    color: #ff0000;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
}

.fraud-divider {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #ddd;
}

.visit-info h3 {
    color: #ff0000;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.mail-link {
    color: #ff0000;
    font-weight: bold;
}

.company-name {
    margin-top: 30px;
    text-align: right;
    font-weight: bold;
}

/* =============================================
   Archive Section
   ============================================= */
.top_archive {
    margin: 0 0 104px;
}

.top_archive__title {
    text-align: center;
    margin: 0 0 72px;
}

.top_archive__title span {
    font-size: 24px;
    letter-spacing: 0.06em;
    display: block;
    text-align: center;
    color: #9B8356;
    margin: 0px 0px 44px;
}

.top_archive__title h2 {
    font-size: 60px;
    font-family: "austin-pen", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.top_archive ul {
    display: flex;
    justify-content: space-between;
    margin: 0 0 68px;
    list-style-type: none;
}

.top_archive ul li {
    width: 30.8333%;
}

.top_archive ul li img {
    width: 100%;
}

.top_archive ul li figcaption {
    font-size: 24px;
    letter-spacing: 0.06em;
    margin: 26px 0 0;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 500;
    font-style: normal;
    text-align: center;
}

.top_archive ul li figcaption span {
    font-size: 16px;
    letter-spacing: 0.16em;
    display: block;
    margin: 0 0 6px;
    line-height: 1.5;
}

.top_archive .c-button {
    width: 500px;
    height: 70px;
}

@media screen and (max-width: 1300px) {
    .top_archive {
        margin-bottom: 80px;
    }

    .top_archive__title h2 {
        font-size: 50px;
    }

    .top_archive .c-button {
        width: 90%;
        max-width: 500px;
    }
}

@media screen and (max-width: 820px) {
    .top_archive__title {
        margin-bottom: 40px;
    }

    .top_archive__title span {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .top_archive__title h2 {
        font-size: 40px;
    }

    .top_archive ul {
        justify-content: center;
        gap: 40px 4%;
    }

    .top_archive ul li figcaption {
        font-size: 20px;
        margin-top: 15px;
    }
}

@media screen and (max-width: 590px) {
    .top_archive {
        margin-bottom: 60px;
    }

    .top_archive__title h2 {
        font-size: 32px;
    }

    .top_archive ul {
        flex-wrap: wrap;
        margin: 0px 0px 40px;
    }

    .top_archive ul li {
        width: 80%;
        max-width: 400px;
    }

    .top_archive ul li figcaption {
        font-size: 18px;
    }

    .top_archive ul li figcaption span {
        font-size: 14px;
    }

    .top_archive .c-button {
        width: 100%;
        height: 60px;
    }
}

@media screen and (max-width: 1300px) {

    .top_inner,
    .box_small,
    #footer #container {
        width: 95%;
    }

    .bx-wrapper img {
        height: 500px;
    }
}

@media screen and (max-width: 820px) {
    #main .header_block {
        text-align: center;
        padding: 12px;
    }

    .bx-wrapper img {
        height: 400px;
    }

    .item_list .item_box {
        width: 48%;
        margin-right: 0 !important;
        margin-bottom: 20px;
    }

    .item_list .item_box:nth-child(odd) {
        margin-right: 4% !important;
    }

    .fraud-alert-container {
        width: 98%;
        padding: 20px;
        margin: 20px auto;
    }

    .fraud-alert-title {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 590px) {
    .bx-wrapper img {
        height: 300px;
    }

    .fraud-alert-title {
        font-size: 1.1rem;
        flex-direction: column;
    }

    .contact-methods {
        flex-direction: column;
        gap: 10px;
    }

    .tel-link {
        font-size: 1.2rem;
    }

    .official-links {
        padding: 15px;
    }

    .store-list {
        font-size: 1rem;
    }

    #main .box h3 {
        font-size: 18px;
    }

    .bx-wrapper .bx-pager {
        bottom: -20px !important;
        padding-top: 0;
    }

    .bx-wrapper .bx-pager.bx-default-pager a {
        width: 8px !important;
        height: 8px !important;
        margin: 0 4px !important;
    }

    .bx-controls.bx-has-pager {
        line-height: 0;
    }
  
    .item_box .item_image img.item {
        height: 150px;
    }
}

#box_category_list {
    margin-top: 40px;
    margin-bottom: 40px;
}

.simple_category_menu {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #ddd; /* 一番上のライン */
}

.simple_category_menu li {
    border-bottom: 1px solid #ddd; /* 各項目の下のライン */
}

.simple_category_menu li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    position: relative;
    transition: background-color 0.3s;
}

/* 右側に矢印アイコンをつける（必要なければ削除してください） */
.simple_category_menu li a::after {
    content: '>';
    position: absolute;
    right: 20px;
    color: #ccc;
}

.simple_category_menu li a:hover {
    background-color: #f9f9f9;
}

/* スマホ用の微調整 */
@media screen and (max-width: 590px) {
    .simple_category_menu li a {
        padding: 12px 15px;
        font-size: 14px;
    }
}