/* ================================
FAQページ基本セット
================================ */
:root {
    --main-color: #00547d;
    --main-font : 'Noto Sans JP', sans-serif;
}

/* バナーデザイン */
.l-banner {
    background: url(../images/marine/prevention/banner_bg.png) no-repeat top center;
    min-height: 400px;
}

.l-banner h2 {
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
}

/* メディアテキスト */
.wp-block-media-text__content {
    text-align: left;
}

.wp-block-media-text__content h3 {
    font-size     : 1.75rem;
    border-bottom : 2px dashed #00547d;
    padding-bottom: 0.4em;

    @media screen and (max-width: 768px) {
        font-size: 1.2rem;
    }
}

/* FAQボックスデザイン */
.p-faq_box svg {
    width : 1.2em;
    height: 1.2em;

    @media screen and (max-width: 768px) {
        min-width: 28px;
        height   : 28px;
    }
}

.p-faq_box svg path {
    fill: #00547d;
}

.p-faq_box h3:has(svg) {
    display    : flex;
    align-items: center;
    gap        : 0.3em;
}

/* 見出しボタン一覧 */
.p-buttons {
    display        : flex;
    flex-wrap      : wrap;
    justify-content: center;
    gap            : 1rem;
    margin-top     : 3rem;

    @media screen and (max-width: 768px) {
        gap: 1rem;
    }
}

.p-buttons .btn {
    width : calc(50% - 1rem);
    height: auto !important;
    margin: 0 !important;

    @media screen and (max-width: 768px) {
        width: 100% !important;
    }
}

/* FAQボックス */
.p-answer__head {
    font-size    : 1.35em;
    font-weight  : 600;
    line-height  : 1.45;
    margin-bottom: 0.8em;

    @media (max-width: 767px) {
        font-size: 1.15em;
    }
}

.p-answer__text:not(:last-child) {
    margin-bottom: 0.8em;
}

.p-answer__box {
    background-color: rgb(255, 255, 255);
    padding         : 30px;
    margin-top      : 1.2em;
}

.p-answer__box ul {
    list-style : disc;
    margin-left: 1em;
}

.p-answer__box ul li:not(:last-child) {
    margin-bottom: 0.8em;
}

/* 初期設定 */
@media (min-width: 769px) {
    .is-sp {
        display: none;
    }
}

@media (max-width: 768px) {
    .is-pc {
        display: none;
    }
}

.p-page p:not(:last-child) {
    margin-bottom: 1.5em;
}

.p-text--sub {
    font-size: 0.9em;
}

.p-indent1 {
    display     : inline-block;
    padding-left: 1em;
    text-indent : -1em;
}

/* margin-top */
.mt_10 {
    margin-top: 10px !important;
}

.mt_20 {
    margin-top: 20px !important;
}

.mt_30 {
    margin-top: 30px !important;
}

.mt_40 {
    margin-top: 40px !important;
}

.mt_50 {
    margin-top: 50px !important;
}

.mt_60 {
    margin-top: 60px !important;

    @media screen and (max-width: 768px) {
        margin-top: 30px !important;
    }
}

.mt_90 {
    margin-top: 90px !important;

    @media screen and (max-width: 768px) {
        margin-top: 45px !important;
    }
}

.mt_30-sp {
    @media screen and (max-width: 768px) {
        margin-top: 30px !important;
    }
}

/* margin-bottom */
.mb_10 {
    margin-bottom: 10px !important;
}

.mb_20 {
    margin-bottom: 20px !important;
}

.mb_30 {
    margin-bottom: 30px !important;
}

.mb_40 {
    margin-bottom: 40px !important;
}

.mb_50 {
    margin-bottom: 50px !important;
}

.mb_60 {
    margin-bottom: 60px !important;

    @media screen and (max-width: 768px) {
        margin-bottom: 30px !important;
    }
}


/* CTAボックス */
.p-ctabox {
    text-align   : center;
    width        : fit-content;
    margin-inline: auto;
    border       : 1px solid var(--main-color);
    padding      : 1rem 2rem;
    margin-top   : 3rem;

    @media screen and (max-width: 768px) {
        width     : 100%;
        box-sizing: border-box;
    }
}

.p-ctabox__title {
    font-size    : 22px !important;
    font-weight  : bold;
    margin-bottom: 1rem;
    text-align   : center;

    @media screen and (max-width: 768px) {
        font-size: 5.5vw !important;
    }
}

/* 左右寄せ */
.p-right {
    width      : fit-content;
    margin-left: auto;

    @media screen and (max-width: 768px) {
        margin-inline: auto;
    }
}

.p-left {
    width       : fit-content;
    margin-right: auto;

    @media screen and (max-width: 768px) {
        margin-inline: auto;
    }
}