@charset "UTF-8";

/* =========================================================
   panelcase-static.css
   パネルケース.jp 静的LP用CSS
   配置想定：/style/panelcase-static.css
   ========================================================= */

/* ===== base ===== */

* {
    box-sizing: border-box;
}

html,
body,
div,
p,
ol,
ul,
li,
dl,
dt,
dd,
table,
tr,
th,
td,
img,
form,
h1,
h2,
h3 {
    margin: 0;
    padding: 0;
    border: 0;
}

ul,
ol,
li {
    list-style: none;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS P Gothic", sans-serif;
    color: #3E3E3E;
    background: #fff;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a:link,
a:visited,
a:active {
    color: #016297;
    text-decoration: none;
}

a:hover {
    color: #016297;
    text-decoration: underline;
}

/* ===== layout ===== */

#wrapper {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    background: #fff;
}

#main {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    float: none;
    padding: 0;
}

#side {
    display: none;
}

/* ===== header ===== */

#header {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 0 14px;
    text-align: left;
    overflow: hidden;
    background: none;
    border: none;
}

#title {
    width: auto;
    margin: 0 0 10px;
    padding: 0;
    background: none;
    color: #333;
    font-size: 12px;
    line-height: 16px;
    font-weight: bold;
}

#logo {
    float: left;
    width: 370px;
    margin: 0;
    padding: 0;
}

#logo img {
    display: block;
    width: 370px;
    height: auto;
}

#heder_right {
    float: right;
    width: 610px;
    margin: 0;
    padding: 0;
    text-align: right;
}

#yamakoh {
    margin: 0 0 9px;
    padding: 0;
    text-align: right;
}

#s_navi {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: right;
    font-size: 13px;
    line-height: 20px;
}

#s_navi li {
    display: inline-block;
    margin-left: 15px;
    padding-left: 10px;
    line-height: 20px;
}

/* 小ナビ・フッターリンクの矢印アイコン */
#s_navi li,
#footer ul li {
    background-image: url(../img/bg_topics_list.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    padding-left: 10px;
}

/* HTML側の <div style="border-bottom:4px solid #ccc;"></div> をヘッダー下線として使用 */
#header + div {
    height: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
}

/* ===== main visual ===== */

#slider {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    border: none;
    background: none;
}

#slider a,
#slider img {
    display: block;
}

#slider img {
    width: 100%;
    max-width: 980px;
    height: auto;
}

/* ===== migration banner ===== */

.migration-banner {
    width: auto;
    margin: 0 auto;
    padding: 10px 20px;
    border: 1px solid #e8920b;
    background: #fff3cd;
    color: #664d03;
    text-align: center;
    font-size: 13px;
    line-height: 1.7;
}

.migration-banner a {
    color: #016297;
    font-weight: bold;
    text-decoration: underline;
}

/* ===== nav buttons ===== */

.nav-buttons {
    padding: 15px 0;
    border-bottom: 2px solid #ccc;
    background: #f8f8f6;
    text-align: center;
}

.nav-btn {
    display: inline-block;
    width: 180px;
    margin: 0 4px;
    padding: 10px 0;
    color: #fff !important;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.nav-btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

.nav-btn.blue {
    background: #016297;
}

.nav-btn.orange {
    background: #e8920b;
}

/* ===== headings ===== */

#main h2 {
    clear: both;
    height: auto;
    margin: 0 0 20px;
    padding: 24px 0 8px;
    border-bottom: 2px solid #ccc;
    background: none;
    color: #333;
    font-size: 22px;
    line-height: 1.4;
}

#main h3 {
    margin: 0 0 10px;
    padding: 0;
    background: none;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

#main p {
    margin: 0 0 10px;
    padding: 0;
    font-size: 14px;
    line-height: 1.8;
}

/* ===== product cards ===== */

.product-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.product-cards-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto 30px;
    overflow: hidden;
    text-align: center;
}

.product-card {
    width: calc((100% - 40px) / 3);
    margin: 0 0 20px;
    border: 1px solid #ddd;
    background: #fff;
    text-align: center;
}

.product-cards-bottom .product-card {
    width: 300px;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.product-card a {
    display: block;
    color: #3E3E3E;
    text-decoration: none;
}

.product-card a:hover {
    text-decoration: none;
}

.product-card img {
    display: block;
    width: 100%;
    height: auto;
}

.product-card .card-body {
    padding: 12px 15px;
}

.product-card .card-title {
    margin-bottom: 6px;
    color: #016297;
    font-size: 16px;
    font-weight: bold;
}

.product-card .card-desc {
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
}

.product-card .card-btn {
    display: inline-block;
    margin-bottom: 4px;
    padding: 6px 20px;
    background: #016297;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}

/* ===== merit / case banners ===== */

.order-banner-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    clear: both;
    margin: 20px auto 40px;
}

.order-banner-area a {
    display: block;
    text-align: center;
}

.order-banner-area img {
    display: block;
    width: 370px;
    height: 160px;
    object-fit: cover;
}

/* ===== about ===== */

#main #top_about {
    clear: both;
    width: auto;
    height: auto;
    margin: 0 0 20px;
    padding: 0 0 20px;
    border-bottom: 2px solid #ccc;
    background: none;
    overflow: auto;
}

#main #top_about h3 {
    width: auto;
    height: auto;
    margin: 0 0 10px;
    padding: 0;
    border: none;
    background: none;
    font-size: 16px;
    line-height: 1.6;
}

#main #top_about p {
    padding-left: 20px;
    padding-right: 0;
}

#main #top_about img {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

/* ===== contact section ===== */

.contact-section {
    clear: both;
    margin-bottom: 30px;
    padding: 30px 0;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    text-align: center;
    overflow: auto;
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-tel {
    text-align: center;
}

.contact-tel .label {
    margin-bottom: 4px;
    color: #3E3E3E;
    font-size: 14px;
    font-weight: bold;
}

.contact-tel .number {
    color: #016297;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
}

.contact-tel .hours {
    margin-top: 4px;
    color: #888;
    font-size: 12px;
}

.contact-divider {
    width: 1px;
    height: 80px;
    background: #ccc;
}

.contact-buttons {
    display: flex;
    gap: 12px;
}

.contact-btn {
    display: inline-block;
    width: 180px;
    padding: 10px 0;
    color: #fff !important;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.contact-btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

.contact-btn.btn-inquiry {
    background: #016297;
}

.contact-btn.btn-buy {
    background: #e8920b;
}

.contact-btn.btn-outline {
    border: 2px solid #016297;
    background: #fff;
    color: #016297 !important;
}

/* ===== related links ===== */

#main .top_link {
    margin: 0 auto 30px;
    padding: 0;
    text-align: center;
}

#main .top_link li {
    display: inline-block;
    margin: 0 8px 16px;
    padding: 18px;
    background: #f8f8f6;
    vertical-align: top;
}

/* ===== footer ===== */

#footer {
    clear: both;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 0 20px;
    background: none;
    text-align: left;
}

#footer .pankuzu {
    float: left;
    width: calc(100% - 60px);
    height: 40px;
    border-bottom: 1px solid #ccc;
}

#footer .pagetop {
    float: left;
    width: 60px;
    height: 40px;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
}

#footer ul {
    clear: both;
    width: 100%;
    min-height: 40px;
    margin: 13px 0 30px;
    padding: 0;
    overflow: hidden;
}

#footer ul li {
    float: left;
    height: 20px;
    margin: 0 10px 5px 0;
    padding-left: 10px;
    font-size: 12px;
    line-height: 20px;
}

#footer .tittle {
    float: left;
    width: 220px;
    height: 40px;
    margin: 0 20px 10px 0;
    padding: 0;
}

#footer p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.6;
}

/* ===== responsive ===== */

@media screen and (max-width: 768px) {

    body {
        min-width: 0;
        font-size: 14px;
    }

    #header,
    #wrapper,
    #main,
    #footer {
        width: 100%;
        max-width: none;
    }

    #header {
        padding: 16px 10px 14px;
        text-align: center;
    }

    #title {
        margin-bottom: 10px;
        text-align: left;
        font-size: 12px;
        line-height: 1.5;
    }

    #logo,
    #heder_right {
        float: none;
        width: 100%;
        text-align: center;
    }

    #logo img {
        width: 300px;
        max-width: 90%;
        height: auto;
        margin: 0 auto;
    }

    #heder_right {
        display: none;
    }

    .migration-banner {
        margin: 0 10px;
        padding: 10px;
        font-size: 13px;
        line-height: 1.6;
    }

    .nav-buttons {
        padding: 10px;
    }

    .nav-btn {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 8px;
    }

    #main h2 {
        margin-bottom: 16px;
        padding: 18px 10px 8px;
        font-size: 18px;
        line-height: 1.5;
    }

    .product-cards,
    .product-cards-bottom {
        display: block;
        width: 100%;
        padding: 0 10px;
    }

    .product-card,
    .product-cards-bottom .product-card {
        width: 100%;
        max-width: 360px;
        margin: 0 auto 20px;
    }

    .order-banner-area {
        display: block;
        margin: 16px auto 28px;
        padding: 0 10px;
    }

    .order-banner-area a {
        display: block;
        margin: 0 auto 18px;
        text-align: center;
    }

    .order-banner-area img {
        width: 100% !important;
        max-width: 370px;
        height: auto !important;
        margin: 0 auto;
        object-fit: contain;
    }

    #main #top_about {
        padding: 0 10px 20px;
    }

    #main #top_about img {
        float: none !important;
        display: block;
        margin: 0 auto 15px !important;
    }

    #main #top_about p {
        padding-left: 0;
        line-height: 1.8;
    }

    .contact-section {
        padding: 24px 10px;
    }

    .contact-inner {
        display: block;
        width: 100%;
        padding: 0;
    }

    .contact-divider {
        display: none;
    }

    .contact-tel {
        margin-bottom: 18px;
    }

    .contact-tel .number {
        font-size: 28px;
    }

    .contact-btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 10px;
    }

    #main .top_link {
        padding: 0 10px;
    }

    #main .top_link li {
        display: inline-block;
        width: auto;
        margin: 0 4px 12px;
        padding: 10px;
    }

    #footer {
        padding: 0 10px 20px;
        text-align: center;
    }

    #footer .pankuzu,
    #footer .pagetop {
        display: none;
    }

    #footer ul {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #footer ul li {
        float: none;
        display: block;
        height: auto;
        margin: 0 0 8px;
        padding-left: 0;
        line-height: 1.5;
    }

    #footer .tittle {
        float: none;
        width: auto;
        height: auto;
        margin: 0 auto 10px;
    }

    #footer p {
        clear: both;
        font-size: 12px;
        line-height: 1.7;
    }
}
