@charset "utf-8";

/* ========== 中京マイコン 静的ページ共通 ========== */

.chukyo-static-site {
    background: #efefef;
}

.chukyo-static-main {
    padding: 44px 0 56px;
    background: #efefef;
}

.chukyo-static-content {
    color: #393939;
}

/* Bookingページの大見出しに寄せる */
.chukyo-static-content .home-maincopy {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 32px;
    line-height: 1.8;
}

.chukyo-static-content .home-maincopy span {
    display: inline-block;
    font-family: "Dela Gothic One", sans-serif;
    color: #1C1987;
    font-size: 35px;
    font-weight: bold;
    line-height: 1.2;
    border-bottom: 4px solid #1C1987;
    padding-bottom: 6px;
}

@media (min-width: 768px) {
    .chukyo-static-content .home-maincopy span {
        font-size: 5rem;
    }
}

/* 本文 */
.chukyo-static-content p,
.chukyo-static-content li {
    line-height: 1.9;
}

.chukyo-static-content ul,
.chukyo-static-content ol {
    margin: 0.6em 0 1.2em 1.4em;
    padding: 0;
}

.chukyo-static-content a {
    color: #1C1987;
    font-weight: bold;
    text-decoration: underline;
}

.chukyo-static-content a:hover {
    color: #559cff;
}

/* 見出し */
.chukyo-static-content .home-h1 {
    margin: 38px 0 12px;
    padding-bottom: 6px;
    color: #1C1987;
    border-bottom: 1px dashed #1C1987;
    font-size: 1.55rem;
    font-weight: bold;
    line-height: 1.5;
}

.chukyo-static-content .home-h2 {
    margin: 28px 0 10px;
    color: #393939;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.6;
}

.chukyo-static-content .home-h3 {
    margin: 22px 0 8px;
    color: #393939;
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.6;
}

/* FAQ */
.q-and-a {
    position: relative;
    margin: 0;
    padding: 12px 16px 12px 56px;
    background: #fff;
    border-left: 5px solid #1C1987;
}

.q-and-a.question {
    margin-top: 18px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
}

.q-and-a.answer {
    margin-bottom: 16px;
    border-top: 1px solid #eee;
    border-left-color: #559cff;
    border-radius: 0 0 8px 8px;
}

.q-and-a.question::before {
    content: "Q";
    position: absolute;
    left: 16px;
    top: 10px;
    color: #1C1987;
    font-size: 1.4rem;
    font-weight: bold;
}

.q-and-a.answer::before {
    content: "A";
    position: absolute;
    left: 16px;
    top: 10px;
    color: #d00;
    font-size: 1.4rem;
    font-weight: bold;
}

#my-video {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: 24px auto 0;
    background: #000;
    border-radius: 8px;
}

/* 規約・買取 */
.entry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px 14px;
    margin: 0 0 28px !important;
    list-style: none;
}

.entry li {
    margin: 0;
}

.entry a {
    display: block;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-left: 5px solid #1C1987;
    border-radius: 8px;
    text-decoration: none;
}

.postponement {
    display: block;
    color: #393939 !important;
    font-weight: normal !important;
    text-decoration: none !important;
    line-height: 1.8;
}

.purchase-important {
    font-size: 1.1rem;
    font-weight: bold;
}

.purchase-important-last {
    margin-bottom: 15px;
}

/* 強調 */
.chukyo-static-content strong {
    color: #d00;
    font-weight: bold;
}

/* ネストリスト */
.sub-list,
.payment {
    margin-left: 1.5em !important;
}

.online-shopping-procedure {
    margin-bottom: 16px;
}

.online-shopping-bank,
.online-shopping-cash {
    font-weight: bold;
}

.online-shopping-cash {
    margin-top: 13px;
}

.small {
    font-size: 0.85rem;
}

/* 送料一覧表 */
.shipping-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
    margin: 2rem 0;
}

.region {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.region h3 {
    margin: 0;
    padding: 10px 14px;
    background: #1C1987;
    color: #fff;
    font-size: 1.05rem;
}

.region ul {
    margin: 0 !important;
    padding: 14px 18px 16px 34px !important;
}

/* 法規表示 */
.legal-info {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.legal-item {
    background: #fff;
    border: 1px solid #ddd;
    border-left: 5px solid #1C1987;
    border-radius: 8px;
    padding: 12px 16px;
}

.legal-item h3 {
    margin: 0 0 6px;
    color: #1C1987;
    font-size: 1rem;
}

.legal-item p {
    margin: 0;
}

/* アンカー位置調整 */
#caution,
#order-dispatch,
#used-pc,
#goods,
#sold-out,
#return,
#online-shopping,
#shipping-fee,
#legal {
    scroll-margin-top: 120px;
}

/* EC-CUBE標準部分を非表示 */
body.faq_page .ec-headerRole,
body.faq_page .ec-headerNaviRole,
body.faq_page .ec-headerSearch,
body.faq_page .ec-headerTitle,
body.faq_page .ec-headerNav,
body.faq_page .ec-headerCategoryArea,
body.faq_page .ec-categoryNaviRole,
body.faq_page .ec-topicpath,
body.faq_page .ec-footerRole,
body.terms_page .ec-headerRole,
body.terms_page .ec-headerNaviRole,
body.terms_page .ec-headerSearch,
body.terms_page .ec-headerTitle,
body.terms_page .ec-headerNav,
body.terms_page .ec-headerCategoryArea,
body.terms_page .ec-categoryNaviRole,
body.terms_page .ec-topicpath,
body.terms_page .ec-footerRole,
body.purchase_page .ec-headerRole,
body.purchase_page .ec-headerNaviRole,
body.purchase_page .ec-headerSearch,
body.purchase_page .ec-headerTitle,
body.purchase_page .ec-headerNav,
body.purchase_page .ec-headerCategoryArea,
body.purchase_page .ec-categoryNaviRole,
body.purchase_page .ec-topicpath,
body.purchase_page .ec-footerRole {
    display: none !important;
}

body.faq_page .ec-layoutRole,
body.faq_page .ec-layoutRole__contents,
body.faq_page .ec-layoutRole__main,
body.terms_page .ec-layoutRole,
body.terms_page .ec-layoutRole__contents,
body.terms_page .ec-layoutRole__main,
body.purchase_page .ec-layoutRole,
body.purchase_page .ec-layoutRole__contents,
body.purchase_page .ec-layoutRole__main {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

@media (max-width: 767px) {
    .chukyo-static-main {
        padding-top: 34px;
    }

    .chukyo-static-content .home-maincopy {
        font-size: 1rem;
    }

    .chukyo-static-content .home-maincopy span {
        font-size: 35px;
    }

    .chukyo-static-content .home-h1 {
        font-size: 1.35rem;
    }

    .q-and-a {
        padding-left: 48px;
    }
}
