@charset "utf-8";
/*
v1.0.0: ベーススタイル (約2,000文字)
v1.18.0: Figmaピクセルパーフェクト再現 (約6,200文字)
v1.19.0: クリーニング・微調整 (約5,900文字)
v1.20.0: パンくず・フッター用追記 (約6,500文字)
v1.21.0: 共通化に伴い不要なフッタースタイルを完全削除し最適化 (約5,100文字)
*/

:root {
    --yh-navy: #112240;
    --yh-yellow: #F8E133;
    --yh-soft-yellow: #EABF4B;
    --yh-profile-bg: #F1E2B0;
    --yh-beige: #F1E2B0;
    --yh-black: #000000;
}

body#distributors_index {
    font-family: "Noto Sans JP", sans-serif;
    color: var(--yh-black);
    line-height: 1.8;
    margin: 0;
}

.l-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 4%;
}

/* HERO */
.p-distributors_hero {
    padding: 30px;
    position: relative;
    overflow: hidden;
    background-color: var(--yh-navy);
}

.p-distributors_hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-distributors_hero-box {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    background-color: var(--yh-yellow);
    padding: clamp(24px, 2.22vw, 32px) clamp(25px, 2.78vw, 40px);
    border-radius: 10px
}

.p-distributors_hero-title {
    font-size: clamp(30px, 3.19vw, 46px);
    font-weight: 700;
}

/* Main Sections */
.p-bg_yellow {
    background-color: var(--yh-soft-yellow);
    padding: 64px 0 112px;
}

.p-bg_beige {
    background-color: var(--yh-beige);
    position: relative;
    padding: 64px 0 160px;
}

.p-bg_navy {
    background-color: var(--yh-navy);
    position: relative;
}

.p-distributors_list {
    background-color: var(--yh-beige);
    padding-bottom: 100px;
}

.p-contact_section {
    background-color: var(--yh-navy);
    padding-bottom: 80px;
    color: #fff;
}

.p-section_title-main {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 64px;
}

.p-section_title-sub {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 16px;
    margin-bottom: 32px;
}

/* Content Rows */
.p-content_row {
    display: flex;
    gap: 32px;
    margin-bottom: 80px;
}

.p-content_row--reverse {
    flex-direction: row-reverse;
}

.p-content_text {
    flex: 1;
}

.p-content_text p {
    font-size: 16px;
    line-height: 1.6;
}

.p-content_image {
    flex: 1;
}

.p-content_image img {
    width: 100%;
    border-radius: 10px;
}

/* Buttons */
#distributors_index .p-error_hero__btn {
    margin: 64px auto 0;
    display: flex;
    justify-content: center;
}

#distributors_index .c-btn_primary {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    padding: 15px 20px;
    max-width: 100%;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: opacity 0.3s ease;
    background-color: transparent;
    border: 4px solid var(--yh-navy);
    color: var(--yh-navy);
    line-height: 1.375;
    transition: all 0.3s ease;
}

#distributors_index .c-btn_primary::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--yh-navy);
    border-right: 2px solid var(--yh-navy);
    transition: all 0.3s ease;
}

#distributors_index .c-btn_primary:hover {
    background-color: var(--yh-navy);
    color: var(--yh-yellow);
}

#distributors_index .c-btn_primary:hover::after {
    border-top: 2px solid var(--yh-yellow);
    border-right: 2px solid var(--yh-yellow);
}

/* Table */
.p-table_title-main {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
}

.p-table_block {
    margin-top: 106px;
}

.p-table_block:first-of-type {
    margin-top: 56px;
}

.p-common_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.p-common_table th,
.p-common_table td {
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    text-align: left;
}

.p-common_table th {
    width: 23%;
    line-height: 1.6;
    font-weight: 600;
}

.p-common_table td a {
    font-weight: 600;
    line-height: 1.6;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.p-table_region {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

#distributors_index footer {
    background-color: var(--yh-beige);
}

@media (max-width: 767px) {
    .p-bg_yellow {
        padding: 32px 0 56px;
    }

    .p-content_row {
        flex-direction: column-reverse;
    }

    .p-distributors_hero {
        padding: 20px;
    }

    .p-distributors_hero-box {
        top: 36px;
        left: 50%;
        transform: translate(-50%, 0);
        width: 78%;
        line-height: 1.3;
        text-align: center;
    }

    #distributors_index .p-error_hero__btn {
        margin-top: 64px;
    }

    .p-section_title-main {
        font-size: 30px;
        margin-bottom: 56px;
    }

    .p-content_row {
        gap: 24px;
        margin-bottom: 56px;
    }

    .p-section_title-sub {
        font-size: 24px;
        margin-top: 0;
        margin-bottom: 16px;
    }

    .p-bg_beige {
        padding: 32px 0 56px;
    }

    .p-table_title-main {
        font-size: 30px;
    }

    .p-table_block {
        margin-top: 56px;
    }

    .p-table_block:first-of-type {
        margin-top: 40px;
    }

    .p-table_region {
        font-size: 24px;
    }

    .p-common_table,
    .p-common_table tbody,
    .p-common_table tr,
    .p-common_table th,
    .p-common_table td {
        display: block;
        width: 100%;
    }

    .p-common_table tr {
        padding: 24px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .p-common_table th {
        text-align: left;
        border-bottom: none;
        padding: 0;
    }

    .p-common_table td {
        padding: 0;
        border-bottom: none;
    }
}


/*
===== Customization ===========================*/
#distributors_index {
    background-color: #112240;
}

#distributors_index .c-headline_01 .bg {
	background: url(/assets/distributors/img/index_bg_main.jpg) no-repeat 50% 100%;
	background-size: cover;
}

#distributors_index .c-headline_01 h1 {
    padding-left: 32px;
    padding-right: 32px;
}

#distributors_index .p-common_table th,
#distributors_index .p-common_table td,
#distributors_index .p-common_table td a {
  font-weight: 500;
}

#distributors_index .p-common_table td a.tel {
    text-decoration: none;
}

@media (max-width: 768px) {
    #distributors_index .c-headline_01 .bg {
        background: url(/assets/distributors/img/index_bg_main_sp.jpg) no-repeat 50% 100%;
        background-size: cover;
    }

    #distributors_index .c-headline_01 h1 {
        padding-left: 24px;
        padding-right: 24px;
    }

    #distributors_index .p-section_title-main {
        margin-bottom: 40px;
    }
}