@charset "utf-8";

html {
    overflow-x: hidden;
}

body {
    font-family: "BIZ UDPMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    font-size: 16px;
    line-height: 1.3;
    color: #1d1d1d;
    background-color: #dbc4b9;
    letter-spacing: 0.15em;
    overflow-x: hidden;
}

a {
    color: #1d1d1d;
    text-decoration: none;
}

.currentPage {
    text-decoration: underline;
}

.contentsStyle {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0px clamp(12px, 0.1px + 4.8vw, 130px);
}

.headerNav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
}

header {
    background-color: #ebdad3;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
    box-shadow: 0 0.2px 2px 0.7px rgba(0, 0, 0, 0.301);
}

header.scrolledHeader {
    opacity: 1;
    pointer-events: all;
}

.headerNav nav ul {
    display: flex;
    color: white;
    font-size: 18px;
    justify-content: space-between;
    gap: clamp(20px, 0.1px + 4vw, 60px);
}

.headerNav nav a {
    color: black;
    font-size: clamp(12px, 0.1px + 1.5vw, 14px);
}

.headerNav_book {
    text-align: right;
    font-weight: bold;
}

.headerNav_book_num {
    font-size: clamp(20px, 0.1px + 2.3vw, 25px);
    letter-spacing: normal;
}

.headerNav_book_num img {
    width: 28px;
    height: 28px;
}

.top {
    position: relative;
    margin-bottom: 120px;
}

.headerImage {
    height: 960px;
    background-color: #181818;
}

.headerImage::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: o;
    width: 100%;
    height: 10%;
    background: linear-gradient(to bottom, transparent 0%, #dbc4b9 100%);
    z-index: 3;
}

.headerImage img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headerTopBG {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.363) 60%, transparent 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 190px;
}

.description {
    color: white;
    margin-top: 6px;
    margin-bottom: 3px;
    font-size: clamp(12px, 0.1px + 1.3vw, 16px);
}

.headerSide {
    color: white;
    display: flex;
    align-items: center;
    line-height: 1.3;
    width: 100%;
    justify-content: end;
    margin-bottom: 36px;
    padding: 0 25px;
}

.headerSide_book {
    padding-right: clamp(6px, 0.1px + 1.2vw, 20px);
}

.headerSide_book p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.headerSide_book span {
    display: flex;
    align-items: center;
    font-size: clamp(12px, 0.1px + 1.5vw, 16px);
    gap: 5px;
}

.headerSide_book img {
    width: clamp(18px, 0.1px + 3vw, 28px);
    height: clamp(18px, 0.1px + 3vw, 28px);
}

.headerSide_map {
    width: clamp(24px, 0.1px + 4vw, 38px);
    height: auto;
}

nav ul {
    display: flex;
    color: white;
    font-size: clamp(13px, 0.1px + 2.5vw, 18px);
    justify-content: space-between;
}

nav a {
    color: white;
}

nav a:hover {
    text-decoration: underline;
    transition: 0.3s;
}

.name {
    position: absolute;
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 560px;
    padding: 0 50px;
    color: white;
    pointer-events: none;
    text-shadow: 1.5px 1.5px 7px #000, -1.5px -1.5px 7px black;
    text-align: center;
}

.name p {
    font-size: 18px;
}

.name h1 {
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 0.4em;
    white-space: nowrap;
}

@media screen and (max-width:768px) {

    .top {
        margin-bottom: 80px;
    }

    header.scrolledHeader {
        display: none;
    }

    .description {
        padding-top: 24px;
        font-size: min(0.1px + 2.5vw, 12px);
    }

    .headerImage {
        height: 520px;
    }

    .headerTopBG .headerSide {
        display: none;
    }

    .headerTopBG nav {
        display: none;
    }

    .name {
        top: 150px;
    }
}

aside {
    display: none;
}

@media screen and (max-width:768px) {
    aside {
        display: block;
        position: fixed;
        z-index: 500;
    }

    #toggle {
        position: fixed;
        left: -100vw;
    }

    .toggle {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 55px;
        height: 55px;
        cursor: pointer;
        background-color: #812a2a;
        z-index: 999;
        transition: all 0.25s;
    }

    .toggle span {
        position: absolute;
        display: block;
        left: 12.5px;
        width: 30px;
        height: 2px;
        background-color: #fff;
        transition: all 0.15s;
    }

    .toggle span:nth-child(1) {
        top: 12.5px;
    }

    .toggle span:nth-child(2) {
        top: 25.5px;
    }

    .toggle span:nth-child(3) {
        bottom: 14.5px;
    }

    aside nav {
        position: fixed;
        display: block;
        top: 0;
        width: 100%;
        height: 100dvh;
        background-color: #ebdad3;
        z-index: 500;
        opacity: 0;
        pointer-events: none;
        transition: all 0.25s;
    }

    aside nav p {
        font-size: 32px;
        position: relative;
        left: 20px;
        top: 10px;
    }


    aside nav ul {
        display: block;
        position: relative;
        top: 20px;
        border-bottom: 2px solid #551313;
    }

    aside nav ul li a {
        display: block;
        color: #000;
        margin: 30px 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 20px;
    }

    aside nav ul li a:hover {
        text-decoration: none;
    }

    .hamberger_book {
        font-size: 18px;
        position: relative;
        left: 20px;
        top: 45px;
    }

    .hamberger_num {
        font-size: 30px;
        position: relative;
        font-weight: bold;
        left: 30px;
        top: 55px;
    }

    .hamberger_map {
        color: black;
        text-decoration: underline;
        font-size: 18px;
        position: relative;
        left: 20px;
        top: 80px;
    }

    body:has(#toggle:checked) {
        overflow: hidden;
    }

    #toggle:checked~nav.hamberger {
        opacity: 1;
        pointer-events: all;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
    }

    #toggle:checked~.toggle {
        background-color: #ebdad3;
    }

    #toggle:checked~.toggle span {
        background-color: #551313;
    }

    #toggle:checked~.toggle span:nth-child(1) {
        transform: translateY(13px) rotate(-315deg);
    }

    #toggle:checked~.toggle span:nth-child(2) {
        opacity: 0;
    }

    #toggle:checked~.toggle span:nth-child(3) {
        transform: translateY(-13px) rotate(315deg);
    }
}

#information {
    padding-bottom: 50px;
}

#information h2 {
    text-align: center;
    font-size: 42px;
    font-weight: normal;
    color: #4e0d0d;
    margin-bottom: 30px;
}

.contents {
    display: flex;
    justify-content: space-around;
}

.content {
    margin-left: 20px;
}

.element {
    border-bottom: 1px solid black;
    margin-bottom: 30px;
}

.element p {
    padding-bottom: 10px;
    letter-spacing: 0.2em;
}

p.telNum {
    font-size: clamp(24px, 0.1px + 3.5vw, 30px);
}

p.label {
    font-weight: bold;
}

.img {
    display: flex;
    gap: 60px;
    justify-content: center;
}

.img_content {
    width: fit-content;
}

.img img {
    display: inline-block;
}

.img img:nth-child(1) {
    width: clamp(330px, 0.1px + 50vw, 550px);
    height: 400px;
    object-fit: cover;
}

.img_content img {
    display: block;
    margin-bottom: 20px;
}

.img_content img:nth-child(1) {
    width: 300px;
    height: 250px;
    object-fit: cover;
}

.img_content img:nth-child(2) {
    width: 180px;
    height: 150px;
    object-fit: cover;
}

@media screen and (max-width:768px) {
    .contents {
        flex-direction: column;
    }

    .content {
        margin-left: 0;
    }

    p.telNum {
        font-size: 30px;
    }

    .img img:nth-child(1) {
        width: 80%;
        height: auto;
        object-fit: cover;
    }

    .img_content {
        display: none;
    }
}

#map {
    background-color: #ebe1ca;
    border-top: 1px solid #000;
    scroll-margin-top: 80px;
}

.googleMap {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

iframe {
    width: 100%;
    height: 550px;
    margin: 0 auto;
    box-shadow: 0 0 0 8px #700000;
}

.mapNav {
    text-align: center;
}

.mapNav a {
    display: inline-flex;
    background-color: #5e0e00;
    color: white;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 70px;
}

.mapNav a:hover {
    background-color: #7a1200;
}

footer {
    background-color: #ebdad3;
    padding-top: 100px;
    box-shadow: -1px 0 2.5px 0px rgba(0, 0, 0, 0.527);
}

.footerStyle {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px clamp(8px, 0.1px + 6vw, 130px);
}

.information {
    display: flex;
    gap: 40px;
    justify-content: space-around;
    border-bottom: 1px solid black;
    margin-bottom: 20px;
}

.information_title {
    writing-mode: vertical-rl;
    font-size: 21px;
    text-shadow: 0 0 2px #000000a1;
    color: #6b1000a1;
}

.information_title_main {
    font-size: 60px;
}

.information_detail {
    text-align: center;
}

.information_detail_name {
    font-size: clamp(13px, 0.1px + 3.4vw, 18px);
    margin-bottom: 15px;
}

.information_detail_book {
    border: 1px solid rgb(71, 71, 71);
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 30px;
}

.information_detail_book_text {
    font-size: 20px;
    color: #3d0900a1;
    font-weight: bold;
    padding-top: 15px;
}

.information_detail_book_num {
    font-size: clamp(29px, 0.1px + 7vw, 40px);
    color: #3d0900a1;
    font-weight: bold;
    padding-bottom: 15px;
    padding-left: clamp(16px, 0.1px + 4.8vw, 60px);
    padding-right: clamp(16px, 0.1px + 4.8vw, 60px);
}

.information_detail_otherList table {
    margin-left: 110px;
}

.information_detail_otherList {
    text-align: left;
    margin: 0 auto;
}

.information_detail_otherList td {
    padding-right: 10px;
    padding-bottom: 10px;
}

.information_detail_otherList p,
.information_detail_otherList a {
    padding-bottom: 10px;
}

.information_detail_otherList a {
    font-weight: bold;
}

.information_detail_button a {
    display: inline-flex;
    background-color: #5e0e00;
    color: white;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 50px;
}

.information_detail_button a:hover {
    background-color: #7a1200;
}

.footerNav {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 15px;
}

.footerNav nav ul {
    display: flex;
    gap: clamp(12px, 0.1px + 1.5vw, 20px);
}

.footerNav a {
    color: black;
    font-size: 14px;
}

.footerNav .link_line {
    display: inline-block;
    padding: 2px 5px;
    background-color: #39d113;
    border-radius: 20px;
    border: 0.1px solid #00000038;
    color: white;
    margin-right: 10px;
}

.footerNav .link_insta {
    display: inline-block;
    padding: 2px 5px;
    background-color: #d424c6;
    border-radius: 20px;
    border: 0.1px solid #00000038;
    color: white;
}

a.link_line:hover {
    background-color: #8ac77b;
}

a.link_insta:hover {
    background-color: #cf89c9;
}

.right {
    text-align: right;
    font-size: 12px;
    padding-bottom: 100px;
}

@media screen and (max-width:768px) {
    footer {
        padding-top: 50px;
    }

    .information {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 20px;
    }

    .information_detail_otherList table {
        margin-left: 0;
        font-size: 14px;
    }

    .information_detail_otherList td {
        padding-right: 10px;
        padding-bottom: 36px;
    }

    .information_detail_otherList p,
    .information_detail_otherList a {
        padding-bottom: 15px;
    }

    .information_detail_button a {
        padding: 15px 25px;
        font-weight: bold;
        font-size: 18px;
        line-height: 1;
        margin-bottom: 50px;
    }

    .footerNav nav {
        display: none;
    }

    .right {
        text-align: center;
        padding-bottom: 50px;
    }
}