/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/


/* ==================================================
   Bay Biosciences Japan
   ================================================== */

:root {
    --bbj-navy: #15334a;
    --bbj-blue: #1d6384;
    --bbj-light-blue: #eef6f8;
    --bbj-red: #a83838;
    --bbj-text: #26343d;
    --bbj-gray: #3e4b54;
    --bbj-border: #dce5e9;
    --bbj-white: #ffffff;
}

.bbj-main {
    margin: 0;
    padding: 0;
    color: var(--bbj-text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Helvetica Neue",
        "Yu Gothic",
        "YuGothic",
        "Hiragino Kaku Gothic ProN",
        Meiryo,
        sans-serif;
}

.bbj-main *,
.bbj-main *::before,
.bbj-main *::after {
    box-sizing: border-box;
}

.bbj-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* Header
-------------------------------------------------- */

.bbj-header {
    background: #fff;
    border-bottom: 1px solid var(--bbj-border);
}

.bbj-header__inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.bbj-logo a {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    color: var(--bbj-navy);
}

.bbj-logo__main {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.5px;
}

.bbj-logo__sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--bbj-blue);
}

.bbj-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.bbj-nav a {
    color: var(--bbj-text);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.bbj-nav a:hover {
    color: var(--bbj-blue);
}

.bbj-nav .bbj-nav__contact {
    padding: 13px 22px;
    color: #fff;
    background: var(--bbj-red);
}


/* Hero
-------------------------------------------------- */

.bbj-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            120deg,
            #f7fafb 0%,
            #f7fafb 55%,
            #eaf4f6 55%,
            #eaf4f6 100%
        );
}

.bbj-hero__inner {
    min-height: 610px;
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
}

.bbj-hero__content {
    padding: 70px 70px 70px 0;
}

.bbj-hero__eyebrow {
    margin: 0 0 20px;
    color: var(--bbj-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.bbj-hero h1 {
    margin: 0;
    color: var(--bbj-navy);
    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .02em;
}

.bbj-hero h1 span {
    color: var(--bbj-blue);
}

.bbj-hero__lead {
    margin: 30px 0 0;
    color: var(--bbj-text);
    font-size: 21px;
    line-height: 1.9;
    font-weight: 600;
}

.bbj-hero__description {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--bbj-gray);
    font-size: 16px;
    line-height: 1.9;
}

.bbj-hero__buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.bbj-button {
    display: inline-flex;
    min-width: 170px;
    min-height: 52px;
    padding: 12px 24px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: .2s ease;
}

.bbj-button--primary {
    background: var(--bbj-red);
    color: #fff;
}

.bbj-button--primary:hover {
    opacity: .85;
    color: #fff;
}

.bbj-button--outline {
    color: var(--bbj-navy);
    background: transparent;
    border: 1px solid var(--bbj-navy);
}

.bbj-button--outline:hover {
    color: #fff;
    background: var(--bbj-navy);
}


/* Hero Image Placeholder
-------------------------------------------------- */

.bbj-hero__visual {
    height: 100%;
    min-height: 610px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bbj-hero__placeholder {
    width: 88%;
    aspect-ratio: 4 / 5;
    max-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            #255b73,
            #86b4c3
        );
}

.bbj-hero__placeholder span {
    font-size: 13px;
    letter-spacing: 2px;
}

.bbj-hero__placeholder strong {
    margin-top: 8px;
    font-size: 34px;
    letter-spacing: 4px;
}


/* Section heading
-------------------------------------------------- */

.bbj-samples {
    padding: 100px 0 110px;
    background: #fff;
}

.bbj-section-heading {
    max-width: 780px;
    margin-bottom: 55px;
}

.bbj-section-heading > p,
.bbj-section-label {
    margin: 0 0 14px;
    color: var(--bbj-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.bbj-section-heading h2 {
    margin: 0 0 18px;
    color: var(--bbj-navy);
    font-size: 34px;
    line-height: 1.5;
}

.bbj-section-heading span {
    color: var(--bbj-gray);
    font-size: 15px;
    line-height: 1.9;
}


/* Samples
-------------------------------------------------- */

.bbj-sample-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bbj-sample-card {
    position: relative;
    min-height: 330px;
    padding: 38px 34px;
    border: 1px solid var(--bbj-border);
    background: #fff;
}

.bbj-sample-card__number {
    margin-bottom: 24px;
    color: #a9bbc4;
    font-size: 12px;
    letter-spacing: 2px;
}

.bbj-sample-card h3 {
    margin: 0 0 5px;
    color: var(--bbj-navy);
    font-size: 25px;
}

.bbj-sample-card__jp {
    margin: 0 0 25px !important;
    color: var(--bbj-blue) !important;
    font-size: 13px !important;
    font-weight: 700;
}

.bbj-sample-card p {
    color: var(--bbj-gray);
    font-size: 16px;
    line-height: 1.9;
}

.bbj-sample-card a {
    position: absolute;
    bottom: 30px;
    color: var(--bbj-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}


/* Strength
-------------------------------------------------- */

.bbj-strength {
    padding: 100px 0;
    background: var(--bbj-light-blue);
}

.bbj-strength__inner {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 80px;
}

.bbj-strength h2 {
    margin: 0;
    color: var(--bbj-navy);
    font-size: 35px;
    line-height: 1.55;
}

.bbj-strength__text {
    padding-top: 20px;
}

.bbj-strength__text p {
    margin: 0 0 20px;
    color: var(--bbj-gray);
    font-size: 15px;
    line-height: 2;
}


/* Contact
-------------------------------------------------- */

.bbj-contact {
    padding: 90px 0;
    color: #fff;
    text-align: center;
    background: var(--bbj-navy);
}

.bbj-contact p {
    margin: 0 0 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    opacity: .7;
}

.bbj-contact h2 {
    margin: 0;
    color: #fff;
    font-size: 31px;
}

.bbj-contact__button {
    margin-top: 35px;
}

.bbj-button--white {
    color: var(--bbj-navy);
    background: #fff;
}

.bbj-button--white:hover {
    color: var(--bbj-navy);
    opacity: .85;
}


/* Mobile
-------------------------------------------------- */

@media (max-width: 900px) {

    .bbj-container {
        width: min(100% - 32px, 1180px);
    }

    .bbj-header__inner {
        min-height: 70px;
    }

    .bbj-nav {
        display: none;
    }

    .bbj-hero__inner {
        grid-template-columns: 1fr;
    }

    .bbj-hero__content {
        padding: 60px 0 40px;
    }

    .bbj-hero__visual {
        min-height: auto;
        padding-bottom: 50px;
    }

    .bbj-hero__placeholder {
        width: 100%;
        height: 350px;
        aspect-ratio: auto;
    }

    .bbj-sample-grid {
        grid-template-columns: 1fr;
    }

    .bbj-strength__inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .bbj-hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 520px) {

    .bbj-hero h1 {
        font-size: 34px;
    }

    .bbj-hero__lead {
        font-size: 18px;
    }

    .bbj-hero__buttons {
        flex-direction: column;
    }

    .bbj-button {
        width: 100%;
    }

    .bbj-samples,
    .bbj-strength {
        padding: 70px 0;
    }
}

.bbj-logo img {
    display: block;
    width: auto;
    max-width: 240px;
    max-height: 58px;
}

.bbj-hero__image {
    display: block;
    width: 88%;
    height: 520px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 900px) {
    .bbj-hero__image {
        width: 100%;
        height: 350px;
    }
}

/* ==================================================
   Bay Biosciences
   Lower Pages
   ================================================== */


/* Page Hero
-------------------------------------------------- */

.bbj-page-hero {
    padding: 75px 0 65px;
    background: var(--bbj-light-blue);
}

.bbj-page-hero__en {
    margin: 0 0 15px;
    color: var(--bbj-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.bbj-page-hero h1 {
    margin: 0;
    color: var(--bbj-navy);
    font-size: 44px;
    line-height: 1.4;
}

.bbj-page-hero__lead {
    margin: 20px 0 0;
    color: var(--bbj-gray);
    font-size: 15px;
    line-height: 1.9;
}


/* Breadcrumb
-------------------------------------------------- */

.bbj-breadcrumb {
    border-bottom: 1px solid var(--bbj-border);
    background: #fff;
}

.bbj-breadcrumb .bbj-container {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 16px;
    color: var(--bbj-gray);
    font-size: 12px;
}

.bbj-breadcrumb a {
    color: var(--bbj-blue);
    text-decoration: none;
}


/* Main Content
-------------------------------------------------- */

.bbj-page-content {
    padding: 90px 0 110px;
    background: #fff;
}

.bbj-entry {
    width: 100%;
}

.bbj-entry__content {
    color: var(--bbj-text);
    font-size: 15px;
    line-height: 2;
}
/*

    front-pageの
        日本の研究者が直面する、5つの障壁
        Bay Biosciences Japanを選ぶ7つの理由
        代理店経由 vs 直販

*/
/* ==================================================
   共通
================================================== */

.bbj-section-heading--center {
    max-width: 850px;
    margin: 0 auto 48px;
    text-align: center;
}

.bbj-section-heading--center > p {
    margin-bottom: 12px;
    color: var(--bbj-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
}

.bbj-section-heading--center > span {
    display: block;
    margin-bottom: 10px;
    color: var(--bbj-red);
    font-weight: 700;
}

.bbj-section-heading--center h2 {
    margin: 0 0 18px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.5;
    color: var(--bbj-navy);
}

.bbj-section-heading__lead {
    color: var(--bbj-gray);
    line-height: 1.9;
}


/* ==================================================
   5つの障壁
================================================== */

.bbj-problems {
    padding: 90px 0;
    background: #fff;
}

.bbj-problems__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bbj-problem-card {
    position: relative;
    min-height: 280px;
    padding: 30px;

    background: #fff;
    border: 1px solid var(--bbj-border);
    border-top: 3px solid rgba(180, 50, 45, .35);

    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}

.bbj-problem-card__number {
    margin-bottom: 22px;

    color: var(--bbj-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .15em;
}

.bbj-problem-card h3 {
    margin: 0 0 15px;

    color: var(--bbj-navy);
    font-size: 19px;
    line-height: 1.6;
}

.bbj-problem-card p {
    margin: 0;

    color: var(--bbj-gray);
    line-height: 1.9;
}


/* ==================================================
   7つの理由
================================================== */

.bbj-reasons {
    padding: 100px 0;
    background: #f7f9fa;
}

.bbj-reasons__list {
    max-width: 1000px;
    margin: 0 auto;
}

.bbj-reason {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 35px;

    padding: 45px 0;
    border-top: 1px solid var(--bbj-border);
}

.bbj-reason:last-child {
    border-bottom: 1px solid var(--bbj-border);
}

.bbj-reason__number {
    color: var(--bbj-red);

    font-size: 30px;
    font-weight: 300;
    letter-spacing: .08em;
}

.bbj-reason__body h3 {
    margin: 0 0 16px;

    color: var(--bbj-navy);
    font-size: 22px;
    line-height: 1.6;
}

.bbj-reason__body > p {
    margin: 0;

    color: var(--bbj-gray);
    line-height: 2;
}

.bbj-reason__note {
    margin-top: 20px !important;
    padding: 14px 18px;

    background: #fff;
    border-left: 3px solid var(--bbj-red);

    font-size: 14px;
}

/* 7つの理由画像 */
.bbj-specimen-heading--reason7 {
    width: 100%;
    max-width: none;

    background-image:
        url("/wp-content/themes/lightning-child/assets/images/reason7.png");
    background-size: cover;
    background-position: center right;
}


/* ==================================================
   途中CTA
================================================== */

.bbj-inline-cta {
    margin: 40px 0;
    padding: 35px;

    text-align: center;

    background: var(--bbj-navy);
}

.bbj-inline-cta p {
    margin: 0 0 20px;

    color: #fff;
    font-weight: 600;
}


/* ==================================================
   比較
================================================== */

.bbj-comparison {
    padding: 100px 0;
    background: #fff;
}

.bbj-comparison__case {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 25px 30px;

    background: #f7f9fa;
    border-left: 4px solid var(--bbj-red);
}

.bbj-comparison__case h3 {
    margin: 0 0 10px;

    color: var(--bbj-navy);
    font-size: 18px;
}

.bbj-comparison__case p {
    margin: 0;
    line-height: 1.9;
}


/* table */

.bbj-comparison__table-wrap {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
}

.bbj-comparison__table {
    width: 100%;
    border-collapse: collapse;
}

.bbj-comparison__table th,
.bbj-comparison__table td {
    padding: 20px 22px;

    border: 1px solid var(--bbj-border);

    text-align: left;
    vertical-align: middle;
    line-height: 1.7;
}

.bbj-comparison__table thead th {
    background: var(--bbj-navy);
    color: #fff;
}

.bbj-comparison__table tbody th {
    width: 22%;
    color: var(--bbj-navy);
    background: #f7f9fa;
}

.bbj-comparison__table tbody td:nth-child(2) {
    width: 35%;
}

.bbj-comparison__table tbody td:nth-child(3) {
    width: 43%;
    background: #f9fcfd;
}

.bbj-comparison__table tbody td:nth-child(3) strong {
    color: var(--bbj-red);
}

/* 比較表：直販列のヘッダーだけ赤 */
/* 直販列ヘッダー */
.bbj-comparison__table thead th:nth-child(3) {
    background: var(--bbj-red);
    color: #fff;
}

/* 直販列の本文 */
.bbj-comparison__table tbody td:nth-child(3) {
    background: rgba(190, 55, 50, 0.035);
}

/* notes */

.bbj-comparison__notes {
    max-width: 1000px;
    margin: 30px auto 0;

    color: var(--bbj-gray);
    font-size: 13px;
    line-height: 1.8;
}

.bbj-comparison__notes p {
    margin: 0 0 10px;
}


/* CTA */

.bbj-comparison__cta {
    margin-top: 40px;
    text-align: center;
}


/* ==================================================
   Responsive
================================================== */

.bbj-sp-only {
    display: none;
}

@media (max-width: 900px) {

    .bbj-problems__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bbj-reason {
        grid-template-columns: 65px 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {

    .bbj-problems,
    .bbj-reasons,
    .bbj-comparison {
        padding: 65px 0;
    }

    .bbj-problems__grid {
        grid-template-columns: 1fr;
    }

    .bbj-problem-card {
        min-height: 0;
        padding: 25px 22px;
    }

    .bbj-reason {
        display: block;
        padding: 35px 0;
    }

    .bbj-reason__number {
        margin-bottom: 12px;
        font-size: 20px;
    }

    .bbj-reason__body h3 {
        font-size: 19px;
    }

    .bbj-inline-cta {
        padding: 30px 20px;
    }

    .bbj-comparison__table {
        min-width: 760px;
    }

    .bbj-sp-only {
        display: block;
    }
}

/* Bio Sample List
-------------------------------------------------- */

.bbj-bio-list {
    margin-top: 60px;
    border-top: 1px solid var(--bbj-border);
}

.bbj-bio-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;

    padding: 50px 0;

    border-bottom: 1px solid var(--bbj-border);
}

.bbj-bio-item__number {
    color: #afc0c8;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
}

.bbj-bio-item__en {
    margin: 0 0 10px;
    color: var(--bbj-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.bbj-bio-item h2 {
    margin: 0 0 18px;
    color: var(--bbj-navy);
    font-size: 27px;
    line-height: 1.5;
}

.bbj-bio-item p {
    max-width: 760px;
    margin: 0 0 18px;
    color: var(--bbj-gray);
    font-size: 16px;
    line-height: 2;
}

.bbj-text-link {
    display: inline-block;
    margin-top: 5px;
    color: var(--bbj-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.bbj-text-link:hover {
    text-decoration: underline;
}
.bbj-specimen-list {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.bbj-specimen-list li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 18px;
    color: var(--bbj-gray);
    font-size: 16px;
    line-height: 1.8;
}

.bbj-specimen-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--bbj-blue);
    font-weight: 700;
}

.bbj-specimen-note {
    margin-top: 28px;
    padding: 18px 22px;
    background: var(--bbj-light-blue);
}

.bbj-specimen-note p {
    margin: 0 !important;
    color: var(--bbj-text) !important;
    font-size: 15px !important;
    font-weight: 600;
}

.bbj-specimen-note small {
    display: block;
    margin-top: 5px;
    color: var(--bbj-gray);
    font-size: 13px;
    line-height: 1.7;
}

.bbj-specimen-highlight {
    margin: 25px 0 0;
    padding: 16px 20px;
    color: var(--bbj-navy);
    background: #f7fafb;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
}

.bbj-specimen-highlight span {
    font-weight: 400;
    color: var(--bbj-gray);
}

.bbj-button--text {
    min-width: 0;
    min-height: auto;
    padding: 0;

    color: var(--bbj-red);
    background: transparent;
    border: 0;

    justify-content: flex-start;
}

.bbj-button--text:hover {
    color: var(--bbj-navy);
    background: transparent;
    text-decoration: underline;
}


.bbj-specimen-heading {
    min-height: 110px;
    margin: 0 0 20px;
    padding: 30px 24px;

    display: flex;
    align-items: center;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* 血清・血漿・その他体液 */
.bbj-specimen-heading--01 {
    background-image:
        url("/wp-content/themes/lightning-child/assets/images/sample01.png");
}

/* 組織・疾患別検体 */
.bbj-specimen-heading--02 {
    background-image:
        url("/wp-content/themes/lightning-child/assets/images/sample02.png");
}

/* カスタム検体 */
.bbj-specimen-heading--03 {
    background-image:
        url("/wp-content/themes/lightning-child/assets/images/sample03.png");
}

/* WordPress editor content
-------------------------------------------------- */

.bbj-entry__content h2 {
    margin: 55px 0 20px;
    color: var(--bbj-navy);
    font-size: 30px;
}

.bbj-entry__content h3 {
    margin: 40px 0 15px;
    color: var(--bbj-navy);
    font-size: 23px;
}

.bbj-entry__content p {
    margin: 0 0 25px;
}

.bbj-entry__content img {
    max-width: 100%;
    height: auto;
}


/* Mobile
-------------------------------------------------- */

@media (max-width: 900px) {

    .bbj-page-hero {
        padding: 55px 0 45px;
    }

    .bbj-page-hero h1 {
        font-size: 36px;
    }

    .bbj-page-content {
        padding: 65px 0 80px;
    }

    .bbj-bio-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 40px 0;
    }

}
/* ==================================================
   Bio Specimen
   ================================================== */

.bbj-specimen-section {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;

    padding: 55px 0;

    border-bottom: 1px solid var(--bbj-border);
}

.bbj-specimen-section:first-of-type {
    margin-top: 55px;
    border-top: 1px solid var(--bbj-border);
}

.bbj-specimen-section__number {
    padding-top: 4px;

    color: #afc0c8;
    font-size: 13px;
    letter-spacing: 2px;
}

.bbj-specimen-section__body h2 {
    margin: 0 0 20px;

    color: var(--bbj-navy);
    font-size: 27px;
    line-height: 1.5;
}

.bbj-specimen-section__body p:not(.bbj-bio-item__en) {
    max-width: 760px;

    margin: 0 0 15px;

    color: var(--bbj-gray);
    font-size: 16px;
    line-height: 2;
}


/* Back link
-------------------------------------------------- */

.bbj-page-back {
    margin-top: 55px;
}

.bbj-page-back a {
    color: var(--bbj-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.bbj-page-back a:hover {
    text-decoration: underline;
}


/* Mobile
-------------------------------------------------- */

@media (max-width: 900px) {

    .bbj-specimen-section {
        grid-template-columns: 1fr;
        gap: 12px;

        padding: 40px 0;
    }

}

/* ==================================================
   Customize Page
   ================================================== */


/* Information Box
-------------------------------------------------- */

.bbj-customize-box {
    margin-top: 80px;
    padding: 55px 60px;

    background: var(--bbj-light-blue);
}

.bbj-customize-box__en {
    margin: 0 0 12px;

    color: var(--bbj-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.bbj-customize-box h2 {
    margin: 0 0 35px;

    color: var(--bbj-navy);
    font-size: 26px;
    line-height: 1.6;
}


/* Requirements
-------------------------------------------------- */

.bbj-customize-box__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid var(--bbj-border);
}

.bbj-customize-box__grid > div {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 22px 15px;

    border-bottom: 1px solid var(--bbj-border);
}

.bbj-customize-box__grid > div:nth-child(odd) {
    border-right: 1px solid var(--bbj-border);
}

.bbj-customize-box__grid span {
    color: #9aafb8;

    font-size: 11px;
    letter-spacing: 2px;
}

.bbj-customize-box__grid strong {
    color: var(--bbj-navy);

    font-size: 15px;
    font-weight: 600;
}


/* Note
-------------------------------------------------- */

.bbj-customize-box__note {
    margin: 30px 0 0;

    color: var(--bbj-gray);

    font-size: 13px;
    line-height: 1.9;
}


/* Mobile
-------------------------------------------------- */

@media (max-width: 900px) {

    .bbj-customize-box {
        margin-top: 55px;
        padding: 35px 25px;
    }

    .bbj-customize-box__grid {
        grid-template-columns: 1fr;
    }

    .bbj-customize-box__grid > div:nth-child(odd) {
        border-right: 0;
    }

}

/* =========================================================
   POLICY
========================================================= */

.bb-policy-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 28px;
    padding: 46px 0;
    border-top: 1px solid #d9e2e7;
}

.bb-policy-item:last-child {
    border-bottom: 1px solid #d9e2e7;
}

.bb-policy-number {
    color: #a8bdc7;
    font-size: 16px;
    letter-spacing: 0.08em;
    padding-top: 4px;
}

.bb-policy-content {
    max-width: 760px;
}

.bb-policy-content .bb-eyebrow {
    margin-bottom: 18px;
}

.bb-policy-content h3 {
    margin: 0 0 22px;
    padding: 0 0 16px;
    border-bottom: 2px solid #1776b9;

    color: #073650;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.5;
}

.bb-policy-content p {
    color: #657a86;
    line-height: 2;
}

.bb-policy-content .bb-text-link {
    display: inline-block;
    margin-top: 12px;

    color: #07517a;
    font-weight: 600;
    text-decoration: none;
}

.bb-policy-content .bb-text-link:hover {
    opacity: 0.7;
}


/* SP */
@media (max-width: 767px) {

    .bb-policy-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 36px 0;
    }

    .bb-policy-content h3 {
        font-size: 22px;
    }

}

/* ==================================================
   Header Sub Menu
   ================================================== */

.bbj-nav__item {
    position: relative;
}

.bbj-nav__item > a {
    display: flex;
    align-items: center;
    min-height: 88px;

    color: var(--bbj-text);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.bbj-nav__item > a:hover {
    color: var(--bbj-blue);
}


/* 子メニューあり
-------------------------------------------------- */

.bbj-nav__item--has-child > a::after {
    content: "";
    display: inline-block;

    width: 6px;
    height: 6px;

    margin-left: 8px;
    margin-top: -4px;

    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;

    transform: rotate(45deg);
}


/* Sub Navigation
-------------------------------------------------- */

.bbj-subnav {
    position: absolute;

    top: 100%;
    left: 50%;

    min-width: 220px;

    padding: 8px 0;

    background: #fff;
    border: 1px solid var(--bbj-border);

    box-shadow:
        0 10px 30px rgba(20, 50, 70, 0.12);

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, 8px);

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;

    z-index: 1000;
}


/* Hover
-------------------------------------------------- */

.bbj-nav__item--has-child:hover .bbj-subnav,
.bbj-nav__item--has-child:focus-within .bbj-subnav {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, 0);
}


/* Submenu links
-------------------------------------------------- */

.bbj-subnav a {
    display: block;

    padding: 12px 20px;

    color: var(--bbj-text);
    background: #fff;

    font-size: 13px;
    line-height: 1.5;

    text-decoration: none;

    white-space: nowrap;
}

.bbj-subnav a:hover {
    color: var(--bbj-blue);
    background: var(--bbj-light-blue);
}


/* Mobile
-------------------------------------------------- */

@media (max-width: 900px) {

    .bbj-nav {
        display: none;
    }

}

/* =========================================================
   Contact Page
========================================================= */

.bbj-contact-page {
    padding-top: 80px;
    padding-bottom: 100px;
}


/* ----- Contact information ----- */

.bbj-contact-note {
    margin-top: 50px;
    padding: 30px 35px;
    background: #f2f8fa;
    border-left: 3px solid #1778b5;
}

.bbj-contact-note p {
    margin: 0 0 12px;
    line-height: 1.9;
}

.bbj-contact-note p:last-child {
    margin-bottom: 0;
}

.bbj-contact-note strong {
    color: #073653;
    font-size: 18px;
}


/* =========================================================
   Contact Form 7
========================================================= */

.bbj-contact-form {
    max-width: 850px;
    margin-top: 70px;
}


/* ----- 各項目 ----- */

.bbj-contact-form .bb-form-row {
    margin-bottom: 32px;
}


/* ----- ラベル ----- */

.bbj-contact-form label {
    display: block;
    margin-bottom: 10px;

    color: #073653;
    font-weight: 600;
    line-height: 1.6;
}


/* ----- 必須 ----- */

.bbj-contact-form .bb-required {
    display: inline-block;

    margin-left: 8px;
    padding: 2px 7px;

    background: #b73535;
    color: #fff;

    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}


/* ----- 任意 ----- */

.bbj-contact-form .bb-optional {
    display: inline-block;

    margin-left: 8px;
    padding: 2px 7px;

    background: #75838b;
    color: #fff;

    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}


/* ----- input / select / textarea ----- */

.bbj-contact-form input[type="text"],
.bbj-contact-form input[type="email"],
.bbj-contact-form input[type="tel"],
.bbj-contact-form input[type="number"],
.bbj-contact-form select,
.bbj-contact-form textarea {

    width: 100%;
    box-sizing: border-box;

    padding: 14px 16px;

    border: 1px solid #cbd7dc;
    border-radius: 0;

    background: #fff;

    color: #073653;
    font-size: 15px;
    line-height: 1.7;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* ----- フォーカス ----- */

.bbj-contact-form input:focus,
.bbj-contact-form select:focus,
.bbj-contact-form textarea:focus {

    outline: none;

    border-color: #1778b5;

    box-shadow:
        0 0 0 2px rgba(23, 120, 181, 0.08);
}


/* ----- textarea ----- */

.bbj-contact-form textarea {
    min-height: 180px;
    resize: vertical;
}


/* =========================================================
   Privacy
========================================================= */

.bbj-contact-form .bb-privacy {

    margin-top: 40px;
    padding: 25px 30px;

    background: #f7f9fa;
}

.bbj-contact-form .bb-privacy label {
    display: inline;
    font-weight: 400;
}

.bbj-contact-form .bb-privacy a {
    color: #126c9c;
    text-decoration: underline;
}


/* =========================================================
   Submit
========================================================= */

.bbj-contact-form .bb-submit {
    margin-top: 40px;
}


.bbj-contact-form input[type="submit"] {

    min-width: 240px;

    padding: 17px 40px;

    border: 0;

    background: #b73535;
    color: #fff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}


.bbj-contact-form input[type="submit"]:hover {
    background: #962d2d;
}


/* =========================================================
   Contact Form 7 message
========================================================= */

.bbj-contact-form .wpcf7-response-output {

    margin: 30px 0 0 !important;
    padding: 18px 20px !important;

    border-width: 1px !important;

    line-height: 1.8;
}


.bbj-contact-form .wpcf7-not-valid-tip {
    margin-top: 7px;

    color: #b73535;

    font-size: 13px;
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 768px) {

    .bbj-contact-page {
        padding-top: 55px;
        padding-bottom: 70px;
    }

    .bbj-contact-note {
        margin-top: 35px;
        padding: 22px 20px;
    }

    .bbj-contact-form {
        margin-top: 50px;
    }

    .bbj-contact-form .bb-privacy {
        padding: 20px;
    }

    .bbj-contact-form input[type="submit"] {
        width: 100%;
    }

}


/* =========================================================
   Privacy Policy
========================================================= */

.bbj-privacy {
    max-width: 900px;
    margin: 0 auto;
    color: var(--bbj-gray, #3e4b54);
    font-size: 16px;
    line-height: 1.9;
}


/* Introduction */

.bbj-privacy__intro {
    margin-bottom: 55px;
    padding: 24px 28px;
    border-left: 4px solid #c0392b;
    background: #fafafa;
}

.bbj-privacy__intro p {
    margin: 0 0 12px;
}

.bbj-privacy__intro p:last-child {
    margin-bottom: 0;
}

.bbj-privacy__updated {
    margin-bottom: 16px !important;
    font-size: 13px;
    color: #7d8a92;
}


/* Section */

.bbj-privacy__section {
    margin-bottom: 55px;
}

.bbj-privacy__section:last-child {
    margin-bottom: 0;
}

.bbj-privacy__section h2 {
    margin: 0 0 24px;
    padding: 0 0 12px;

    border-bottom: 1px solid #dfe5e8;

    color: #18384d;
    font-size: 21px;
    line-height: 1.5;
    font-weight: 700;
}

.bbj-privacy__section h3 {
    margin: 28px 0 12px;

    color: #18384d;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
}

.bbj-privacy__section p {
    margin: 0 0 16px;
}

.bbj-privacy__section ul {
    margin: 12px 0 24px;
    padding-left: 1.6em;
}

.bbj-privacy__section li {
    margin-bottom: 6px;
}

.bbj-privacy__section a {
    color: #277da8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bbj-privacy__section a:hover {
    text-decoration: none;
}


/* Information */

.bbj-privacy__info {
    margin: 0;
}

.bbj-privacy__info > div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;

    padding: 12px 0;
    border-bottom: 1px solid #edf0f2;
}

.bbj-privacy__info dt {
    margin: 0;
    color: #18384d;
    font-weight: 700;
}

.bbj-privacy__info dd {
    margin: 0;
}


/* Table */

.bbj-privacy__table-wrap {
    margin: 25px 0;
    overflow-x: auto;

    border: 1px solid #dfe5e8;
    border-radius: 6px;
}

.bbj-privacy__table {
    width: 100%;
    border-collapse: collapse;
}

.bbj-privacy__table th,
.bbj-privacy__table td {
    padding: 15px 18px;

    border-bottom: 1px solid #dfe5e8;

    text-align: left;
    vertical-align: top;
}

.bbj-privacy__table th {
    background: #f4f7f8;
    color: #18384d;
    font-weight: 700;
}

.bbj-privacy__table th:first-child {
    width: 32%;
}

.bbj-privacy__table tbody tr:last-child td {
    border-bottom: 0;
}


/* Note */

.bbj-privacy__note {
    margin-top: 30px !important;
    padding: 18px 20px;

    border-radius: 5px;
    background: #f5f8fa;

    font-size: 14px;
}


/* Smartphone */

@media (max-width: 767px) {

    .bbj-privacy {
        font-size: 15px;
    }

    .bbj-privacy__intro {
        margin-bottom: 40px;
        padding: 20px;
    }

    .bbj-privacy__section {
        margin-bottom: 42px;
    }

    .bbj-privacy__section h2 {
        font-size: 19px;
    }

    .bbj-privacy__info > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .bbj-privacy__table {
        min-width: 560px;
    }

}