@charset "UTF-8";

/* =========================================
   共通・ベース
========================================= */
.main-server {
    background: url('../img/bg-pattern.png');
    padding-bottom: 80px;
    color: #333;
}

/* パンくず */
.breadcrumb {
    padding: 100px 20px 20px;
    font-size: 12px;
    max-width: 1000px;
    margin: 0 auto;
}
.breadcrumb a {
    color: #333;
}

/* =========================================
   ページヘッダー＆ナビゲーション
========================================= */
.page-header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 60px;
}
.page-title {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 40px;
}
.page-title span {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    letter-spacing: 1px;
}

.page-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.page-nav li {
    width: 23%;
    min-width: 180px;
}
.page-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    height: 100%;
    color: #333;
    background-color: #fff;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}
.page-nav a:hover {
    border-color: #005a9e;
    background-color: #f0f8ff;
}
.page-nav img {
    max-height: 33px;
    margin-bottom: 10px;
}
.page-nav .nav-text {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}
.icon-down {
    display: inline-block;
    width: 8px; height: 8px;
    border-right: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    transform: rotate(45deg);
    margin-top: 10px;
}

/* =========================================
   サーバー詳細ブロック
========================================= */
.server-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.server-detail-block {
    margin-bottom: 100px;
}

.brand-logo {
    text-align: center;
    margin-bottom: 40px;
}
.brand-logo img {
    height: 40px;
}

.server-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}
.server-slider {
    width: 50%;
    padding: 0 20px;
    box-sizing: border-box;
}
.slide-item {
    padding: 10px;
}
.slide-item img {
    width: 100%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
}
.sv-sp {
    display: block;
}
.slick-prev, .slick-next {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}
.slick-prev:hover, .slick-next:hover, 
.slick-prev:focus, .slick-next:focus {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.slick-prev { 
    left: -3px;
}
.slick-next { 
    right: -3px; 
}
.slick-prev::before, .slick-next::before {
    content: ""; 
    display: block;
    width: 8px;
    height: 8px;
    border-top: 1px solid #005a9e;
    border-right: 1px solid #005a9e;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 1;
}
.slick-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}
.slick-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}
.slick-dots {
    bottom: -30px;
}
.slick-dots li {
    margin: 0 2px;
}
.slick-dots li button::before {
    color: #b5c5d1;
    font-size: 12px;
    opacity: 1;
}
.slick-dots li.slick-active button::before {
    color: #005a9e; 
}
.server-desc {
    width: 50%;
}
.server-desc h3 {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 20px;
}
.server-desc p {
    font-size: 13px;
}

.btn-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 270px;
}
.btn-outline {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;    
    height: 100%;
    box-sizing: border-box;
    background-color: #fff;
    color: #013573;
    border: 1px solid #005a9e;
    padding: 3px 10px;
    font-size: 13px;
}

/* サーバーカラー */
.server-colors {
    text-align: center;
    margin-bottom: 40px;
}
.server-colors h4 {
    font-size: 18px;
    margin-bottom: 20px;
}
.server-colors ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
}
.server-colors li {
    text-align: center;
    font-size: 14px;
}
.server-colors img {
    height: 150px;
    margin-bottom: 10px;
}

/* 仕様テーブル */
.sp-spec-toggle {
    display: none;
}
.server-specs {
    background-color: #fff;
    border: 1px solid #005a9e;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 4px 6px 11px 3px #29364c40;
}
.server-specs h4 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}
.server-specs table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 20px;
}
.server-specs th, .server-specs td {
    padding: 15px;
    text-align: left;
    vertical-align: middle;
}
.server-specs th {
    font-size: 16px;
    color: #6086A0;
    width: 30%;
    font-weight: normal;
    position: relative;
}
.server-specs tbody tr:nth-child(odd) {
    background-color: #ECF8FF;
}
.server-specs th::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    background-color: #005a9e;
    height: 70%;
}
.spec-flex {
    display: flex;
    gap: 40px;
}
.spec-note {
    font-size: 12px;
    color: #000;
    line-height: 1.6;
}
.sp-label {
    display: none;
}

/* =========================================
   セルフクリーニングキット
========================================= */
.cleaning-kit-area {
    padding: 80px 20px;
}
.kit-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}
.kit-title span {
    font-size: 14px;
    color: #007bc7;
    font-weight: normal;
}
.kit-lead {
    text-align: center;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.kit-box {
    background: #fff;
    border: 1px solid #013573;
    border-radius: 25px;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 40px;
    text-align: center;
    box-shadow: 4px 6px 11px 3px #29364c40;
}
.kit-box h4 {
    color: #013573;
    font-size: 24px;
    margin-bottom: 30px;
}
.kit-img {
    margin-bottom: 30px;
}
.kit-desc {
    font-size: 16px;
    text-align: left;
    color: #013573;
    line-height: 1.8;
}
.kit-sp {
    display: none;
}

/* 料金・注意事項テーブル */
.kit-table {
    width: 100%;
    max-width: 700px;
    margin: 100px auto 20px;
    border-collapse: collapse;
    font-size: 13px;
}
.kit-table th, .kit-table td {
    /* border: 1px solid #ccc; */
    padding: 20px;
}
.kit-table th {
    background-color: #9FDBFF;
    color: #013573;
    width: 20%;
    text-align: center;
    font-size: 16px;
}
.kit-table td {
    background-color: #fff;
    text-align: center;
}
.kit-table td.price {
    font-size: 24px;
    font-weight: bold;
}
.kit-table td.delivery {
    font-size: 16px;
    position: relative;
}
.kit-table td.delivery::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: #013573;
}
.kit-table td.delivery::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: #013573;
}

.kit-table td.price span { font-size: 16px; }
.kit-table .attention {
    text-align: left;
    font-size: 14px;
    color: #e60012;
}
.kit-table .attention-list {
    text-align: left;
    font-size: 14px;
    color: #000;
}
.kit-bottom-note {
    text-align: center;
    font-size: 12px;
    margin: 0 auto 80px;
    max-width: 700px;
}

/* =========================================
   レスポンシブ (SP)
========================================= */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    .page-nav {
        flex-direction: column;
    }
    .page-nav li {
        width: 100%;
        min-width: auto;
    }
    
    .server-intro {
        flex-direction: column;
    }
    .server-slider, .server-desc {
        width: 100%;
        text-align: center;
    }
    .sv-sp {
        display: none;
    }
    .btn-wrap {
        justify-content: center;
        margin: auto;
    }
    
    /* アコーディオン（詳細について） */
    .sp-spec-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 30px;
        color: #027DC3;
        font-size: 16px;
        /* font-weight: bold; */
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }
    /* 丸いアイコンと矢印 */
    .toggle-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        background-color: #9FDBFF;
        border-radius: 50%;
        margin-left: 8px;
        transition: transform 0.3s ease;
    }
    .toggle-icon::before {
        content: "";
        width: 6px;
        height: 6px;
        border-bottom: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: translateY(-2px) rotate(45deg); /* 下向き矢印 */
    }
    .sp-spec-toggle:not(.is-closed) .toggle-icon {
        transform: rotate(180deg);
    }

    /* サーバー仕様テーブル */
    .server-specs {
        display: none;
        border: none;
        box-shadow: none;
        padding: 0;
        background-color: transparent;
    }
    /* --- 枠線の上半分を作る（h4） --- */
    .server-specs h4 {
        border: 1px solid #005a9e;
        border-bottom: none; /* 下の線を消してテーブルと繋げる */
        border-radius: 20px 20px 0 0;
        background-color: #fff;
        margin-bottom: 0; /* テーブルとの隙間をなくす */
        padding: 30px 20px 10px;
    }
    /* --- 枠線の下半分を作る（table） --- */
    .server-specs table {
        display: block;
        border: 1px solid #005a9e;
        border-top: none; /* 上の線を消してh4と繋げる */
        border-radius: 0 0 20px 20px;
        background-color: #fff;
        padding: 0 15px 30px; /* 左右と下の余白 */
        margin-bottom: 20px;
    }
    .server-specs tbody,
    .server-specs tr,
    .server-specs th,
    .server-specs td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .server-specs th {
        text-align: center;
        padding: 25px 10px 5px;
    }
    .server-specs th::after {
        display: none; 
    }
    .server-specs tbody tr:nth-child(odd) {
        background-color: transparent;
    }
    .server-specs td {
        background-color: #E4E9F0;
        border-top: 1px solid #005a9e;
        border-bottom: 1px solid #005a9e;
        text-align: center;
        padding: 15px 10px;
        line-height: 1.5;
        font-size: 13px;
    }
    .spec-flex {
        justify-content: center;
        gap: 10px;
    }
    .spec-flex div {
        text-align: left;
    }
    .spec-note {
        padding: 0 10px;
        font-size: 10px;
    }
    /* スリムサーバーのテーブル */
    .server-specs .type-col {
        display: none !important;
    }
    .sp-label {
        display: inline-block;
        margin-right: 4px;
    }
    .sp-price-row {
        display: flex;
        justify-content: center;
        text-align: left;
        margin: 10px 0;
    }
    .sp-price-row .sp-label {
        white-space: nowrap;
    }

    .kit-title {
        font-size: 20px;
    }
    .kit-lead {
        text-align: justify;
    }
    .kit-sp {
        display: block;
    }
    .cleaning-kit-area {
        padding: 20px 20px 80px;
    }
    .kit-table th, .kit-table td {
        display: block;
        width: 100%;
    }
    .kit-table td.delivery::before {
        display: none;
    }
    .kit-table td.delivery::after {
        display: none;
    }
}