@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Yuji+Boku&display=swap");

/*============================
	base
============================*/
:root {
    --black: #000;
    --white: #fff;
    --brown: #621c02;
    --font-serif: "Shippori Mincho", serif;
    --font-access: "Zen Old Mincho", serif;
    --font-yuji: "Yuji Boku", serif;
}

html {
    font-size: calc(10 / 1440 * 100vw);
    color: var(--black);
    overflow-x: hidden;
}

@media (max-width: 767px), (width < 768px) {
    html {
        font-size: calc(10 / 767 * 100vw);
    }
}

body {
    background: var(--bg-1);
    font-family: var(--font-serif);
    font-size: max(12px, 1.6rem);
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.fade {
    opacity: 0;
}

.fadeUp {
    animation: fadeUp 0.6s ease both;
}

.header img,
section img,
.footer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    vertical-align: bottom;
}

a {
    transition: 0.3s ease-in-out;
}

@media (min-width: 768px) {
    a:hover {
        opacity: 0.6;
    }

    a[href^="tel:"] {
        pointer-events: none;
    }
}

@media (max-width: 767px), (width < 768px) {
    a[href^="tel:"] {
        text-decoration: underline;
    }
}

.sp {
    display: none;
}

@media (max-width: 767px), (width < 768px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block;
    }
}

.map {
    width: 100%;
    height: 40rem;
}

.map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/*============================
	header
============================*/
.header {
    width: 30rem;
    height: max(85rem, 100vh);
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

@media (max-width: 850px) {
    .header {
        height: max(90rem, 100vh);
    }
}

@media (max-width: 767px), (width < 768px) {
    .header {
        width: 100%;
        height: auto;
        align-items: flex-start;
        padding: 0;
    }
}

.header .header__logo {
    width: 9.98rem;
    margin:0 auto 4.8rem auto;
}

@media (max-width: 767px), (width < 768px) {
    .header .header__logo {
        width: max(80px, 15rem);
        margin: 0;
    }
}

.header__hamburger-sp {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
}

@media (max-width: 767px), (width < 768px) {
    .header__hamburger-sp {
        background-color: var(--brown);
        width: 8rem;
        height: 8rem;
        min-width: 60px;
        min-height: 60px;
        visibility: visible;
    }

    .header__hamburger-sp::before,
    .header__hamburger-sp::after,
    .header__line-sp {
        content: "";
        background-color: var(--white);
        width: 5rem;
        min-width: 35px;
        height: 2px;
        border-radius: 5px;
        position: absolute;
        transform: translate(-50%, -50%);
        left: 50%;
        transition: 0.3s;
    }

    .header__hamburger-sp::before {
        top: 30%;
        transform-origin: bottom left;
    }

    .header__hamburger-sp::after {
        top: 70%;
        transform-origin: top left;
    }

    .header__hamburger-sp.js-transform::before,
    .header__hamburger-sp.js-transform::after {
        transform: scale(1.414);
        top: 50%;
    }

    .header__hamburger-sp.js-transform::before {
        transform: rotate(45deg) translateX(-50%);
    }

    .header__hamburger-sp.js-transform::after {
        transform: rotate(-45deg) translateX(-50%);
    }

    .js-transform .header__line-sp {
        transform: scale(0);
    }
}

.header__contents {
    height: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
}

@media (max-width: 767px), (width < 768px) {
    .header__contents {
        background: #ffffff;
        width: 100%;
        height: 100%;
        min-height: max-content;
        flex-direction: column;
        justify-content: center;
        padding: 8rem 0;
        position: fixed;
        top: 0;
        left: 0;
        opacity: 0;
        visibility: hidden;
        overflow-y: scroll;
        z-index: 100;
        transition: 0.3s ease-out;
    }

    .header__contents.js-show {
        opacity: 1;
        visibility: visible;
    }
}

.header__nav-list {
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
}

@media (max-width: 767px), (width < 768px) {
    .header__nav-list {
        align-items: center;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .header__nav-item {
        position: relative;
        text-align: center;
    }

    .header__nav-item a:hover {
        color: var(--brown);
        opacity: 1;
    }
}

.header__nav-item a {
    letter-spacing: 0.1em;
}

.header__nav-list li.sns {
    margin-left: 0;
}

.header__tel a {
    background: var(--bg-1);
    width: 25.4rem;
    height: 8.8rem;
    color: var(--brown);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

@media (max-width: 767px), (width < 768px) {
    .header__tel a {
        width: max(200px, 25.4rem);
        height: max(71px, 8.8rem);
        text-decoration: none;
    }

    .header__nav-list li:last-child {
        margin: 0;
    }

    .header__nav-list li {
        font-size: max(14px, 1.6rem);
    }
}

.header__line {
    font-size: max(10px, 1.6rem);
    letter-spacing: 0.08em;
    position: relative;
}

@media (max-width: 767px), (width < 768px) {
    .header__line {
        font-size: max(12px, 1.6rem);
    }
}

.header__line::before,
.header__line::after {
    content: "";
    background-color: var(--brown);
    width: 3.8rem;
    height: 1px;
    position: absolute;
    top: 50%;
}

.header__line::before {
    transform: translate(-100%, -50%);
    left: -0.8rem;
}

.header__line::after {
    transform: translate(100%, -50%);
    right: -0.6rem;
}

.header__num {
    font-size: max(10px, 1.4rem);
    font-weight: 500;
    letter-spacing: 0.1em;
}

@media (max-width: 767px), (width < 768px) {
    .header__num {
        font-size: max(12px, 1.4rem);
    }
}

.header__num span {
    font-size: max(14px, 2.6rem);
    font-weight: 600;
    letter-spacing: 0.05em;
}

@media (max-width: 767px), (width < 768px) {
    .header__num span {
        font-size: max(16px, 2.6rem);
        text-decoration: underline;
    }
}

/*============================
	footer
============================*/
.footer {
    background: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 6rem;
    padding: 4.8rem 0 1.1rem;
    position: relative;
    color: #FFF;
}

.pagetop {
    background: #df2828;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    color: #FFF;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagetop.js-top {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .pagetop.js-top:hover {
        opacity: 0.6;
    }
}

.footer__logo-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem 2.5rem;
}

@media (max-width: 767px), (width < 768px) {
    .footer__logo-wrapper {
        flex-direction: column;
    }

    .pagetop {
        bottom: max(70px, 7rem);
    }
}

.footer__logo {
    display: block;
    width: max(50px, 8.4rem);
    height: auto;
}

.footer__address {
    letter-spacing: 0.05em;
}

@media (max-width: 767px), (width < 768px) {
    .footer__address {
        text-align: center;
    }
}

.footer__address a {
    display: block;
    font-size: max(14px, 1.8rem);
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 0.8rem;
}

@media (max-width: 767px), (width < 768px) {
    .footer__address a {
        text-decoration: none;
    }
}

.footer__address a span {
    font-size: max(18px, 2.6rem);
}

@media (max-width: 767px), (width < 768px) {
    .footer__address a span {
        text-decoration: underline;
    }
}

.footer__link {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 4rem;
}

@media (max-width: 767px), (width < 768px) {
    .footer__link {
        flex-direction: column;
    }
}

.footer__nav-list {
    display: flex;
    justify-content: center;
}

@media (max-width: 767px), (width < 768px) {
    .footer__nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

.footer__nav-item a {
    letter-spacing: 0.13em;
    font-weight: 600;
    font-size: max(14px, 1.6rem);
    padding-right: 2.4rem;
    margin-right: 2.4rem;
}


.footer__sns li {
    width: max(20px, 2.4rem);
    height: max(20px, 2.4rem);
    filter: invert(1);
}

.copy {
    letter-spacing: 0.05em;
}

@media (max-width: 767px), (width < 768px) {
    .footer__nav-item a {
        border: none;
        padding: 0;
        margin: 0;
    }

    .footer {
        padding: 4.8rem 0 8rem;
    }
}




/*  ----------------------------------------------------------

fixed btn

----------------------------------------------------------  */
.fixed-btn {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 45%;
    right: 0;
    z-index: 999;
    transform: translate(0, -50%);
    width: 8rem;
    max-width: 80px;
    gap: 2rem;
    -webkit-transform: translate(0, -50%);
}

.fixed-btn a {}

.fixed-btn a img {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .fixed-btn {
        top: auto;
        bottom: 0;
        transform: none;
        width: 100%;
        flex-direction: initial;
        -webkit-transform: none;
        max-width: initial;
        gap: 0;
    }

    .fixed-btn a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: max(50px, 6.4rem);
        background: var(--brwon);
        color: #ffffff;
        font-weight: bold;
        font-size: max(14px, 2rem);
        text-decoration: none !important;
        width: 50%;
    }

    .fixed-btn a.tel-btn {
        background: #a00000;
        border-right: 0.5px solid #FFF;
        border-top: 1px solid #FFF;
        border-left: 1px solid #FFF;
    }

    .fixed-btn a.reserve-btn {
        background: #4c2500;
        border-left: 0.5px solid #FFF;
        border-top: 1px solid #FFF;
        border-right: 1px solid #FFF;
    }
}


/* -------------------------------------------

blog Bridge Books

------------------------------------------- */
/* top */
.topNews_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0 auto 40px;
    max-width: 1020px;
    padding: 0 20px;
}

.topNews_item {
    display: inline-block;
    width: calc(33.33333333333% - 20px * 2/3);
}

.topNews_image {
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    padding: 35%;
    aspect-ratio: 1/1;
}

.topNews_image img,
.topNews_image video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    transition: .2s;
}

.topNews_date {
    font-size: 14px;
    width: fit-content;
    background: #000;
    color: #fff;
    padding: 0 15px;
    margin-bottom: 10px;
}

.topNews_btn {
    display: flex;
    justify-content: center;
    margin: auto;
}

.news_link {
    font-weight: 500;
}

@media screen and (max-width: 767px), screen and (width < 768px) {
    .topNews_list {
        flex-direction: column;
        margin-bottom: 32px;
        gap: 40px;
        padding: 0;
    }

    .topNews_item {
        width: 100%;
    }
}

/* 下層blog.html */
.news_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.news_item {
    display: flex;
    gap: 5px;
    cursor: pointer;
}

.news_item:hover {
    opacity: 0.5;
}

.news_image {
    position: relative;
    width: 50%;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.news_image img,
.news_image video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    transition: .2s;
    object-fit: cover;
}

.news_item:hover img {
    transform: translate(-50%, -50%) scale(1.2);
}

.news_content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px
}

.news_caption {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 5px;
}

.news_date {
    font-size: 16px;
    text-align: center;
    line-height: 1.2;
    padding-top: 0;
    padding-bottom: 0;
    align-self: flex-end;
}

.news_day {
    font-size: 20px;
    text-align: right;
}

.news_month {
    font-size: 18px;
    color: var(--sub-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 40px;
}

.pagination-number,
.pagination-arrow {
    font-size: 18px;
    padding: 8px 12px;
}

.pagination-number.active {
    background-color: orange;
    color: white;
    cursor: default;
}

.pagination-no-number {
    align-self: center;
}

@media screen and (max-width: 767px), screen and (width < 768px) {
    .news_container {
        grid-template-columns: 1fr;
    }

    .news_item {
        flex-direction: column;
    }

    .news_image {
        width: 100%;
    }

    .news_content {
        width: calc(100% - 24px);
    }
}

/* ---- 下層blog detail ---- */
.blogdetail_image img,
.blogdetail_image video {
    width: 100%;
    height: auto;
}

.blogdetail_content {
    margin-top: 30px;
    font-size: 18px;
}

.blogdetail_back-link {
    margin-top: 40px;
    text-align: center;
}

.blogdetail_back-link a {
    /* color: var(--prime); */
    position: relative;
    padding: 10px 40px;
}

.blogdetail_caption {
    white-space: pre-wrap;
}



/* -------------------------------------------

voice Bridge Books

------------------------------------------- */
/* top */
.top-voice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0 auto 40px;
    max-width: 1020px;
    padding: 0 20px;
}

.top-voice-list .voice-item {
    display: inline-block;
    width: calc((100% - 40px) / 3);
    padding: 20px;
}

.top-voice-list .voice-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.top-blog-list .voice-upper {
    display: flex;
    flex-direction: column;
}

.voice-top .voice-image img {
    width: 70px;
}

.top-voice-list .voice-image-name {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-voice-list .voice-rating-date {
    margin-top: 8px;
    margin-bottom: 8px;
}

.top-voice-list .voice-date {
    align-self: flex-end;
}

.top-voice-list .voice-item {
    position: relative;
    padding-bottom: 40px;
}

.top-voice-list .voice-content {
    padding-bottom: 12px;
}

.top-voice-list .voice-bottom {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-voice-list .read-more-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-align: right;
    z-index: 100;
}

.top-voice-list .voice-rating {
    color: #ff4136;
}

@media screen and (max-width: 768px) {
    .top-voice-list {
        flex-direction: column;
        margin-bottom: 32px;
        padding: 0 20px;

    }

    .top-voice-list .voice-item {
        width: 100%;
        padding: 0;
    }

    .top-voice {
        padding: 0 30px 80px 30px;
        display: block;
    }

    .top-voice > figure {
        width: 100%;
        margin-bottom: 20px;
    }

    .top-voice > div {
        width: 100%;
        padding: 0;
    }

    .top-voice-list .voice-bottom {
        position: static;
        bottom: 20px;
        left: 20px;
        right: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* 下層 voice.html */
.voice-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.voice-container .voice-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #000;
    background-color: #f1f1f1;
    padding: 12px;
}

.voice-container .voice-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.voice-container .voice-image img {
    width: 40px;
}

.voice-container .voice-rating-date {
    display: flex;
    align-items: center;
    gap: 12px;
}

.voice-container .voice-rating {
    color: #ff4136;
}

.voice-container .review-text {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.voice-container .read-more,
.voice-container .hide-details {
    color: #000;
    display: inline;
    cursor: pointer;
    text-decoration: underline;
}

.voice-container .hide-details {
    display: none;
}

.voice-container .voice-date {
    text-align: right;
}

@media screen and (max-width: 767px), screen and (width < 768px) {
    .voice-container {
        grid-template-columns: 1fr;
    }

    .voice-container .voice-item {
        flex-direction: column;
    }
}

/* -------------------------------------------

ARTICLE CMS

------------------------------------------- */

.CMS-ARTICLE-INDEX {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding-bottom: 0px;
    max-width: 1040px;
    margin: auto;
    padding: 0 20px;
}

.CMS-ARTICLE-INDEX img {
    width: 100%;
    height: auto;
}

.CMS-ARTICLE-INDEX a {
    text-decoration: none;
}

.top-blog .CMS-ARTICLE-INDEX {
    padding-bottom: 0;
}

.CMS-ARTICLE-INDEX > * {
    width: 31%;
    margin-right: 3.5%;
    margin-bottom: 40px;
}

.CMS-ARTICLE-INDEX > *:nth-of-type(3n) {
    margin-right: 0;
}

.CMS-ARTICLE-TITLE {
    border-bottom: solid 1px rgba(0, 0, 0, 0.2);
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 10px 0 12px 0;
    position: relative;
    font-weight: bold;
}

.CMS-ARTICLE-TITLE:after {
    border-bottom: solid 3px var(--main);
    bottom: -3px;
    content: " ";
    display: block;
    position: absolute;
    width: 25%;
}

.CMS-ARTICLE-CONTENT img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

.CMS-ARTICLE-ITEM a {
    transition: all 0.3s;
    display: block;
    padding: 0 0 2rem;
    text-decoration: underline;
}

.CMS-ARTICLE-ITEM a:hover {
    opacity: 0.6;
}

.CMS-ARTICLE-TIME {
    color: #999;
    display: block;
    margin-top: 15px;
}

.CMS-ARTICLE-LINK {
    display: block;
    line-height: 1.6;
    color: #000;
}

.CMS-ARTICLE-MORE-READ {
    background: var(--main);
    border: none;
    border-radius: 0.2rem;
    text-align: center;
    padding: 2rem 0;
    font-size: 1.4rem;
    color: #fff;
    text-align: center;
    margin: 4rem auto 0 auto;
    width: 24rem;
    display: block;
    transition: all 0.3s;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    display: none;
}

.CMS-ARTICLE-MORE-READ:hover {
    cursor: pointer;
    opacity: 0.6;
}

.top-blog .CMS-ARTICLE-MORE-READ {
    display: none;
}

.top-blog .btn {
    margin: 0 auto;
}

@media screen and (max-width: 767px), screen and (width < 768px) {
    .CMS-ARTICLE-INDEX {
        display: block;
        padding-bottom: 100px;
        /* padding: 0px 10% 0 10%; */
    }

    .CMS-ARTICLE-INDEX > * {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .CMS-ARTICLE-INDEX > *:last-of-type {
        margin-bottom: 0;
    }

    .CMS-ARTICLE-CONTENT img {
        width: 100%;
    }

    .CMS-ARTICLE-ITEM a {
        display: block;
        text-decoration: none;
    }

    .CMS-ARTICLE-LINK {
        display: block;
        width: auto;
    }
}

.CMS-ARTICLE-CONTENT p {
    padding: 0;
}

/* top調整 */
.custom-content {
    padding: 80px 0;
}

.custom-content .btn {
    margin: 0 auto;
}

@media screen and (max-width: 767px), screen and (width < 768px) {
    .custom-content {
        padding: 60px 20px;
    }
}

/* -----------------------
    FAQ section
------------------------- */
.faq {
    padding: 40px 20px 100px;
}

.faq h2 {
    font-size: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.faq > div {
    width: min(100%, 1000px);
    margin: 0 auto;
}

.faq details {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 10px;
    font-size: 18px;
    font-weight: 500;

}

.faq details + details {
    margin-top: 20px;
}

.faq summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1em;
}

.faq summary span {
    display: inline-block;
    text-align: center;
    font-size: 2em;
    background: #272630;
    color: #fff;
    width: 1.5em;
    line-height: 1.5em;
    padding-bottom: 0.5rem;
}

.faq summary p {
    flex: 1;
    padding-right: 1.5em;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    font-size: 2em;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: normal;
}

.faq details[open] summary::after {
    content: "−";
}

details div {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
    gap: 1em;
}

.faq details p {
    flex: 1;
}

.faq details div span {
    display: block;
    text-align: center;
    font-size: 2em;
    background: #f19434;
    color: #fff;
    width: 1.5em;
    line-height: 1.5em;
}

@media (max-width: 767px), (width < 768px) {
    .faq details {
        font-size: 16px;
    }
}

.common__btn_b a span {
    background-color: #df2828;
    width: 200px;
    height: 60px;
    border: solid 2px var(--black);
    border-top: none;
    border-left: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    color: #fff;
}
