@import "../style.css";

/* =========================================================
single brewery
========================================================= */
.page-bre {
    font-size: 16px;
}

/* hero */
.bre-hero {
    background: url(/wp-content/uploads/2025/05/bg-img-6.jpg) no-repeat center/cover;
    color: #fff;
    position: relative;
}

.bre-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#1f3c53 0%, #060c11 100%);
    opacity: 0.6;
    z-index: 0;
}

.bre-hero-inner {
    min-height: 670px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.bre-hero-logo {
    width: 211px;
    position: absolute;
    right: 30px;
    bottom: 10px;
}

.bre-hero-logo-inner {
    background-color: #fff;
    width: 100%;
    aspect-ratio: 211 / 130;
    overflow: hidden;
    position: relative;
    object-fit: cover;
}

.bre-hero-logo img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

/* about */
.bre-about-wrap {
    gap: 40px 60px;
    margin-bottom: 60px;
}

.bre-about-item-img {
    width: calc(45% - 30px);
}

.bre-about-sns {
    margin-top: 20px;
    gap: 35px;
}

.bre-about-sns>li {
    width: calc(33.3% - 23.3px);
    max-width: 30px;
}

.bre-about-item-list-wrap {
    width: calc(55% - 30px);
}

.bre-about-list-item {
    padding: 10px 30px;
    gap: 80px;
}

.bre-about-list-item:nth-child(2n) {
    background-color: #f0f0f0;

}

.bre-about-item-ttl {
    width: calc(40% - 40px);
    font-weight: 500;
}

.bre-about-item-text {
    width: calc(60% - 40px);
}

/* product */
.bre-prod-ttl {
    line-height: 1.2;
    position: relative;
}

.bre-prod-ttl:after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #dbdbdb;
    position: absolute;
    left: 0;
    top: 40%;
    z-index: -1;
}

.bre-prod-ttl>span {
    display: inline-block;
    font-family: "Bodoni Moda", "Noto Serif JP", serif;
    font-size: clamp(40px, 8.5vw, 80px);
    position: relative;
    background-color: #fff;
    padding: 0 30px;
}

.bre-prod-section {
    padding: 120px 0;
    border-bottom: 1px solid #dbdbdb;
}

.bre-prod-section:last-child {
    border-bottom: none;
    padding-bottom: 60px;
}

.bre-prod-wrap {
    gap: 60px 80px;
}

.bre-prod-item-gallery {
    width: calc(45% - 40px);
}

.bre-prod-item-text {
    width: calc(55% - 40px);
    padding-top: 40px;
}

.bre-prod-main-img {
    width: 100%;
    aspect-ratio: 48 / 65;
    overflow: hidden;
    position: relative;
    object-fit: contain;
}

.bre-prod-main-img>img,
.bre-prod-thumbnail>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.bre-prod-thumbnails {
    margin-top: 15px;
    gap: 15px;
}

.bre-prod-thumbnail {
    width: calc(25% - 11.25px);
    aspect-ratio: 109 / 127;
    overflow: hidden;
    position: relative;
    object-fit: contain;
}

.bre-prod-item-name {
    font-family: "Bodoni Moda", "Noto Serif JP", serif;
    font-size: clamp(24px, 2.1vw, 34px);
}

.bre-prod-info {
    border-top: 1px solid #dbdbdb;
    padding: 25px 0;
    display: flex;
    align-items: center;
    gap: 5px 60px;
}

.bre-prod-info-ttl {
    font-size: 23px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 5px;
    min-width: 260px;
}

.bre-prod-info-ttl>img {
    width: 36px;
    vertical-align: middle;
    margin: 0 18px 3px 0;
}

.bre-prod-info-text {
    font-weight: 300;
    font-size: 18px;
}

.bre-prod-tbl-ttl {
    display: inline-block;
    margin-top: 60px;
    background-color: #836500;
    border-radius: 3px 3px 0 0;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
    padding: 9px 20px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.bre-prod-tbl {
    width: 50%;
    background-color: #F1EDE0;
    text-align: left;
    table-layout: fixed;
    line-height: 1.3;
}

.bre-prod-tbl:last-child {
    border-left: 2px solid #fff;
}

.bre-prod-tbl tr:nth-child(2n) {
    background-color: #DFD4AE;
}

.bre-prod-tbl th {
    width: 45%;
    font-weight: bold;
    color: #132e2a;
    padding: 12px 20px 12px 45px;
    vertical-align: middle;
    min-height: 46px;
    position: relative;
    z-index: 2;
}

/* .bre-prod-tbl th::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #DED8C0;
    opacity: 0.4;
    z-index: -1;
} */

.bre-prod-tbl td {
    width: 55%;
    /* padding: 8px 20px 8px 0; */
    padding: 12px 20px 12px 45px;
    vertical-align: middle;
}

.dummy-row th,
.dummy-row td {
    padding: 12px 20px 12px 0;
}

.bre-prod-btn-wrap {
    text-align: center;
    margin-top: 50px;
}

/* img */
.bre-img-bg {
    width: 100%;
    aspect-ratio: 1440 / 554;
    overflow: hidden;
    position: relative;
    object-fit: cover;
}

.bre-img-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* =========================================================
trade tool builder
========================================================= */
.ttb-item {
    position: relative;
    margin-bottom: 90px;
}

.ttb-item:before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #647c73;
    position: absolute;
    top: 20px;
    left: 0;
}

.ttb-item>.flex {
    gap: 25px 58px;
}

.ttb-item-img {
    width: calc(20% - 29px);
}

.ttb-item-img>img {
    border: 1px solid #dbdbdb;
}

.ttb-item-text {
    width: calc(80% - 29px);
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}

.ttb-item-text .btn {
    margin-top: 25px;
    padding: 5px 40px;
    font-size: 20px;
}


/* =========================================================
single trade tool builder
========================================================= */
.post-ttb-about-wrap {
    gap: 60px;
    align-items: flex-start;
}

.post-ttb-about-img {
    width: calc(35% - 30px);
}

.post-ttb-about-text {
    width: calc(65% - 30px);

}

.post-ttb-about-ttl {
    font-family: "Bodoni Moda", "Noto Serif JP", serif;
    display: inline-block;
    background-color: #fff;
    font-size: 20px;
    padding: 0 20px 0 23px;
    position: relative;
    line-height: 1.3;
    margin-bottom: 30px;
}

.post-ttb-about-ttl:before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    background-color: #132e2a;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.post-ttb-about-ttl span {
    font-size: 30px;
}

/* form */
.post-ttb-form {
    max-width: 805px;
    margin: 0 auto;
    font-size: 16px;
}

.post-ttb-form-group {
    gap: 10px 20px;
    margin-bottom: 35px;
}

.post-ttb-form label {
    display: block;
    color: #444;
    text-transform: uppercase;
    width: 30%;
}

.post-ttb-form input[type="text"],
.post-ttb-form textarea {
    width: calc(70% - 20px);
    padding: 10px 20px;
    border: none;
    background-color: #dbdbdb;
    border-radius: 5px;
    font-family: "Inter", "Noto Sans JP", sans-serif;
}

#price {
    max-width: 320px;
}

.post-ttb-form-select {
    width: calc(70% - 20px);
    position: relative;
}

.post-ttb-form-select:after {
    content: "";
    border-top: 9px solid #132e2a;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.post-ttb-form select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 5px;
    background-color: #dbdbdb;
    border: none;
    padding: 10px 30px 10px 20px;
}

.post-ttb-form-btn {
    margin-top: 90px;
}

.post-ttb-form-btn .btn {
    font-size: 18px;
    padding: 17px 60px;
}

.post-ttb-plus-btn {
    position: relative;
    padding-left: 70px;
    text-transform: uppercase;
    margin-left: calc(30% + 20px);
}

.post-ttb-plus-btn:before {
    content: "+";
    display: block;
    width: 50px;
    height: 50px;
    background: #132e2a;
    color: #fff;
    font-size: 30px;
    text-align: center;
    line-height: 46px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}


/* =========================================================
Resources
========================================================= */
.res-menu-list {
    gap: 80px 90px;
    margin-top: 90px;
}

.res-menu-item {
    width: calc(50% - 45px);
    gap: 18px;
}

.res-menu-img {
    width: calc(45% - 9px);
}

.res-menu-img-inner {
    width: 100%;
    aspect-ratio: 211/269;
    overflow: hidden;
    position: relative;
    object-fit: cover;
    border: 1px solid #dbdbdb;
}

.res-menu-img img {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    object-fit: contain;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.res-menu-info {
    width: calc(55% - 9px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #647c73;
    font-size: 16px;
}

.res-menu-info-ttl {
    font-family: "Bodoni Moda", "Noto Serif JP", serif;
    font-size: clamp(24px, 1.3vw, 30px);
    line-height: 1.1;
    color: #000;
    margin-bottom: 20px;
    min-height: 53px;
}

.res-menu-info-btm {
    margin-top: 20px;
}

.res-form-list {
    margin-top: 90px;
}

.res-form-item {
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 30px 0;
    border-bottom: 1px solid rgba(112, 112, 112, 0.35);
}

.res-form-info {
    width: calc(100% - 230px);
    font-size: 16px;
}

.res-form-info .list-disc,
.res-misc-info .list-disc {
    gap: 5px 40px;
}

.res-form-btn {
    width: 209px;
    text-align: right;
}

.res-form-btn .btn-square,
.res-misc-btn .btn-square {
    padding: 5px 50px;
    font-size: 18px;
}

.res-misc-item {
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px 0;
    border-bottom: 1px solid rgba(112, 112, 112, 0.35);
}

.res-misc-img {
    width: 56px;
}

.res-misc-info-wrap {
    width: calc(100% - 96px);
    gap: 20px;
    align-items: flex-end;
}

.res-misc-info {
    width: calc(100% - 229px);
}

.res-misc-btn {
    width: 209px;
    text-align: right;
}

@media screen and (max-width: 1000px) {

    /* =========================================================
    single breweries
    ========================================================= */
    .bre-prod-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .bre-prod-info-text {
        padding-left: 56px;
    }

    /* =========================================================
    single trade tool builder
    ========================================================= */
    .post-ttb-about-wrap {
        align-items: flex-start;
    }

    /* =========================================================
    Resources
    ========================================================= */
    .res-menu-list {
        gap: 60px 50px;
    }

    .res-menu-item {
        width: calc(50% - 25px);
    }
}


@media screen and (max-width: 768px) {
    .bre-hero-inner {
        min-height: 450px;
    }

    .bre-hero-logo {
        max-width: 115px;
        right: 20px;
    }

    /* about */
    .bre-about-item-img,
    .bre-about-item-list-wrap {
        width: 100%;
    }

    .bre-about-sns {
        gap: 25px;
    }

    .bre-about-sns>li {
        width: calc(33.3% - 16.6px);
        /* max-width: 60px; */
    }

    .bre-about-list-item {
        gap: 30px;
        padding: 10px;
        font-size: 15px;
    }

    .bre-about-item-ttl {
        width: calc(45% - 15px);
    }

    .bre-about-item-text {
        width: calc(55% - 15px);
    }

    .bre-prod-ttl:after {
        top: 35%;
    }

    /* product */
    .bre-prod-section {
        padding: 60px 0;
    }

    .bre-prod-item-gallery,
    .bre-prod-item-text {
        width: 100%;
        padding-top: 0;
    }

    .bre-prod-tbl-ttl {
        margin-top: 40px;
        padding: 5px 10px;
        font-size: 16px;
    }

    .bre-prod-tbl,
    .bre-prod-tbl:last-child {
        width: 100%;
        border-left: none;
    }

    .bre-prod-tbl:last-child tr:nth-child(n) {
        background-color: #DFD4AE;
    }

    .bre-prod-tbl:last-child tr:nth-child(2n) {
        background-color: transparent;
    }

    .bre-prod-tbl th {
        padding: 5px 20px;
    }

    .bre-img-bg {
        aspect-ratio: 393 / 190;
    }

    .dummy-row {
        display: none;
    }

    /* =========================================================
    trade tool builder
    ========================================================= */
    .ttb-item>.flex {
        align-items: center;
    }

    .ttb-item-img {
        width: 80%;
    }

    .ttb-item-text {
        width: 100%;
    }

    .ttb-item-text .btn {
        display: block;
        max-width: 280px;
        width: 80%;
        margin: 25px auto 0;
    }

    /* =========================================================
    single trade tool builder
    ========================================================= */
    .post-ttb-about-img,
    .post-ttb-about-text,
    .post-ttb-form label,
    .post-ttb-form input[type="text"],
    .post-ttb-form textarea,
    .post-ttb-form-select {
        width: 100%;
    }

    .post-ttb-plus-btn {
        display: block;
        max-width: 185px;
        margin: 0 auto;
    }

    /* =========================================================
    Resources
    ========================================================= */
    .res-menu-item,
    .res-form-info {
        width: 100%;
    }

    .res-form-btn {
        text-align: center;
        margin: 0 auto;
    }

    .res-misc-item {
        gap: 15px;
        align-items: flex-start;
    }

    .res-misc-img {
        width: 68px;
    }

    .res-misc-info-wrap {
        width: calc(100% - 83px);
        align-items: flex-start;
    }

    .res-misc-info {
        width: 100%;
    }
}