/*  共通パーツ  */
/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

*,
::before,
::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

svg,
img,
embed,
object,
iframe {
    vertical-align: bottom;
}

button,
input,
optgroup,
select,
textarea {
    -webkit-appearance: none;
    /* 1 */
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-align: inherit;
    text-transform: inherit;
    /* 2 */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Old Mincho', serif;
    font-size: 16px;
    color: #333;
    margin: 0;
    padding: 0;
    letter-spacing: 0.08em;
    line-height: 1.8;
    background-color: #fff;
    min-width: 360px;
}
html,
body {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

img {
    width: 100%;
}

/*  共通クラス  */
.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.u-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

.section_title {
    font-family: 'Pinyon Script', serif;
    color: #A88657;
    font-size: 36px;
    margin: 0;
}

.section_title-sub {
    font-family: 'Noto Sans JP', sans-serif;
    color: #A88657;
    margin-top: 0;
    margin-bottom: 40px;
}

.br-sp {
    display: none;
}


/* ヘッダー */
.side-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100vh;
    background-color: #fff;
    z-index: 100;
}

.side-headerInner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 30px 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.side-headerTitle {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.side-headerTitle::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #bbbbbb;
    margin-top: 30px;
    opacity: 0.7;
}

.nav_list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 0;
}

/* Contactボタン */
.nav_link-contact {
    display: block;
    width: 100%;
    padding: 10px 40px;
    background-color: #A88657;
    color: #fff;
    text-align: center;
    transition: opacity 0.3s;
}

/* ホバー時 */
.nav_link-contact:hover {
    opacity: 0.7;
}

.sns_list {
    width: 100%;
    display: flex;
    gap: 20px;
    padding: 20px;
}

.sns_link:hover {
    opacity: 0.7;
    transition: 0.3s;
}

/* footer */
.footer {
    width: calc(100% - 200px);
    margin-left: 200px;
    height: 200px;
    padding: 40px 80px;
    box-sizing: border-box;
}

.footer_inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: start;
    border-bottom: 1px solid #bbbbbb;
    padding-bottom: 20px;
}


.footer_title {
    font-size: 24px;
    font-weight: bold;
}

.footer_nav {
    display: flex;
    padding: 20px;
}

.footer_navList {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer_item {
    font-weight: bold;
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 30px;
}

.copyright_name {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
}





/* =========================
   タブレット対応（1024px以下）
========================= */
@media screen and (max-width: 1024px) {

    

    .footer_inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
        box-sizing: border-box;
    }

    .footer_nav {
        width: 100%;
        padding: 0;
        justify-content: center;
        box-sizing: border-box;
    }

    .footer_navList {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .footer_item {
        white-space: nowrap;
    }

    .copyright {
        width: 100%;
        justify-content: center;
    }
}










/* =========================
   タブレット対応（768px以下）
========================= */
@media screen and (max-width: 768px) {

    .u-wrapper {
        padding: 50px 40px;
    }

    .section_title-sub {
        margin-bottom: 20px;
    }
    .footer_inner {
        gap: 10px;
    }
    .footer_title {
        margin-bottom: 0;
    }
    .copyright {
        margin-top: 20px;
    }
}


/* =========================
   スマホ対応（480px以下）
========================= */
@media screen and (max-width: 480px) {

    /* 共通 */
    body {
        font-size: 14px;
    }

    .wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 100vh;
    }

    .u-wrapper {
        padding: 40px 20px;
    }

    .section_title {
        font-size: 36px;
    }

    .section_title-sub {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .br-sp {
        display: block;
    }

    /* header-sp */
    .side-header {
        position: sticky;
        top: 0;
        left: auto;
        width: 100%;
        height: 80px;
        min-height: 80px;
        flex-shrink: 0;
        background-color: #fff;
        z-index: 1000;
        box-sizing: border-box;
        transition:
            opacity 0.35s ease,
            transform 0.35s ease;
    }

    .side-headerInner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0 25px;
        box-sizing: border-box;
    }

    .side-headerTitle {
        font-size: 22px;
        line-height: 1.1;
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .side-headerTitle::after {
        display: none;
    }


    /* メニューを開いた状態 */
    .side-header.is-open {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;

        justify-content: center;
        align-items: center;

        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .side-header.is-open .side-headerInner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }


    .side-header.is-open .side-headerTitle {
        text-align: center;
        font-size: 24px;
        margin-bottom: 20px;
        padding-top: 50px;
        line-height: 1.4;
    }

    .side-header.is-open .side-headerTitle::after {
        display: block;
        width: 200px;
        margin: 20px;
    }

    .side-header.is-open .nav_list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 0;
    }

    .side-header.is-open .sns_list {
        display: flex;
        justify-content: center;
        gap: 25px;
        padding: 30px 0;
    }


    /* ハンバーガーボタン */
    .menu_toggle {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        padding: 10px;
        background-color: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002;

        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .menu_toggle span {
        display: block;
        width: 24px;
        height: 1.5px;
        background-color: #333;
        transition: 0.3s ease;
    }

    .menu_toggle.is-open span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .menu_toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu_toggle.is-open span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }


    .nav_link-contact {
        width: 200px;
        padding: 6px 18px;
        box-sizing: border-box;
    }

    .nav_list,
    .sns_list {
        display: none;
    }

    /* Footer */
    .footer {
        width: 100%;
        margin-left: 0;
        height: auto;
        padding: 30px 20px;
    }

    .footer_inner {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
        padding-bottom: 0;
    }

    .footer_title {
        font-size: 20px;
    }

    .footer_nav {
        justify-content: center;
        padding: 10px 0;
    }

    .footer_navList {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        font-size: 12px;
    }

    .copyright {
        margin-top: 20px;
    }

    .copyright_name {
        font-size: 11px;
    }
}

html,
body {
    overflow-x: clip;
    width: 100%;
}