@charset "utf-8";

section {
    padding-right: 0!important;
}

#mv {
    padding-top: 1px;
    padding-bottom: 0;
}

.hazard_section_inner {
    padding-left: 0!important;
    padding-right: 0!important;
}

.specials_mv_img {
    width: 100%;
}

.hazard_section_title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    text-align: left; /* ← 左寄せに変更 */
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--main-color);
}

.hazard_section_sentence {
    margin-bottom: 40px;
}

/* --- Product Grid --- */
.hazard_product_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* --- Product Card --- */
.hazard_product_card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hazard_card_header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    width: 90%;
}

.hazard_card_company_logo {
    height: 32px;
    width: auto;
    flex-shrink: 0;
    padding-top: 4px;
}

.comp_logo_small {
    width: 100px;
}

.hazard_card_company_name {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--sub-text-color);
    padding-top: 4px;
}

.hazard_card_body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hazard_card_solution_title {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.5;
    color: #fff;
    background-color: var(--main-color);
    padding: 12px 16px;
    margin: 0 0 20px 0;
    border-radius: 4px;
}

.hazard_card_figure {
    margin: 0 0 20px 0;
    text-align: center;
    height: 200px;
    line-height: 200px;
}

.hazard_card_image {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    vertical-align: middle;
}

.hazard_card_name {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 24px 0;
}

.hazard_card_section_title {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--main-color);
    margin: 0 0 8px 0;
    border-bottom: 2px solid var(--bright-comp-color);
    padding-bottom: 4px;
}

.hazard_card_scenes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px 0;
}

.hazard_card_scene_tag {
    font-size: 0.8rem;
    background-color: var(--bright-comp-color);
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--sub-text-color);
}

.hazard_card_features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.hazard_card_feature_item {
    font-size: 0.9rem;
    line-height: 1.7;
    padding-left: 1.5em;
    position: relative;
}

.hazard_card_feature_item:not(:last-child){
    margin-bottom: 0.5em;
}

.hazard_card_feature_item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-weight: bold;
}

.hazard_card_footer {
    margin-top: auto;
    text-align: center;
}

.hazard_card_button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 50px;
    transition: opacity 0.3s ease;
}

.hazard_card_button:hover {
    opacity: 0.8;
}

.hazard_card_button::after {
    content: '→';
    margin-left: 0.75em;
}

.hazard_card_button_jirei {
    background-color: #eeeeee;
    border: solid 1px #e3e3e3;
    color: var(--accent-color)!important;
}

.hazard_add_placeholder {
    background-color: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 300px; /* カードの高さに合わせて調整 */
    padding: 20px;
    box-sizing: border-box;
}

.hazard_add_placeholder_text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #888;
    line-height: 1.7;
    position: relative;
    padding-top: 50px;
}

.hazard_add_placeholder_text::before {
    content: '+';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 2rem;
    color: #aaa;
    border: 2px solid #ccc;
    border-radius: 50%;
}

.hazard_card_linkblock {
    text-decoration: none;
}

.hazard_card_linkblock:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hazard_card_linkblock:hover figure{
    opacity: .8;
}

.hazard_card_linkblock:visited {
    color: inherit;
}

.hazard_card_btn {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    #contact_hazard_01 {
        padding: 40px 0 50px;
    }
    .hazard_section_title {
        font-size: 1.6rem;
    }
    .hazard_product_grid {
        grid-template-columns: 1fr;
    }
    .hazard_card_btn {
        flex-direction: column;
        gap: 15px;
    }
    .hazard_card_btn .hazard_card_footer a {
        display: block;
    }
}

/* info グラフィック */
#infographics_section_01 {
    background-color: var(--bright-grey);
    margin-bottom: 60px;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
}

.infographics_inner {
    text-align: center;
}

.infographics_title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #333;
}

.infographics_description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    text-align: left;
}

.infographics_container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.infographics_item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
}

.item_title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--text-color);
    border-bottom: 2px solid var(--grey);
    padding-bottom: 12px;
}

.item_content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
}

.bar_chart_area {
    flex-basis: 50%;
}

.bar_chart_container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 180px;
}

.bar_chart_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.bar_value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.bar_value span {
    font-size: 14px;
    font-weight: normal;
    margin-left: 2px;
}

.bar_graph {
    width: 40px;
    border-radius: 4px;
}

.r5_bar_1 {
    height: 100px;
    background-color: var(--grey);
}

.r6_bar_1 {
    height: 130px;
    background-color: var(--yellow);
}

.r5_bar_2 {
    height: 100px;
    background-color: var(--grey);
}

.r6_bar_2 {
    height: 129px;
    background-color: var(--yellow);
}

.bar_label {
    font-size: 14px;
    color: #666;
}

.increase_rate_area {
    flex-basis: 40%;
    text-align: center;
}

.increase_rate_label {
    font-size: 16px;
    color: #555;
    margin-bottom: 4px;
}

.increase_rate_value {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: underline 3px var(--yellow);
}

.increase_rate_value span {
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
}

.infographics_source {
    text-align: right;
    font-size: 12px;
    color: #888;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .infographics_title {
        font-size: 24px;
    }
    .infographics_container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .item_content {
        flex-direction: column;
        gap: 30px;
    }
    .bar_chart_area, .increase_rate_area {
        flex-basis: auto;
        width: 100%;
    }
}