/* 変数 */
:root {
    --primary-color: #c1272d;
    --light-background: #fff9f0;
}

/* bootstrapスタイル上書き */
@media(min-width:1200px) {
    .container {
        max-width: 960px;
    }
}

@media(min-width:1400px) {
    .container {
        max-width: 1320px;
    }
}

[class ^='btn-']:hover {
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border: var(--primary-color);
    border-radius: 2em;
    padding: 0.75em 4em;
    transition: .3s filter;
}

.btn-primary:hover,
.btn-primary:active {
    background-color: var(--primary-color) !important;
    border: var(--primary-color);
    filter: brightness(1.2);
}

.btn-primary:focus {
    box-shadow: 0 0 0 .2rem rgba(228, 49, 49, 0.5);
}

.btn-secondary {
    color: #4d4d4d;
    background-color: #fff;
    border: 1px solid #4d4d4d;
    border-radius: 2em;
    padding: 0.2em 0.75em;
    transition: .3s filter;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #4d4d4d;
    border: 1px solid #4d4d4d;
    transition: .3s filter;
}

a:hover {
    color: inherit;
    text-decoration: underline;
}

.bg-light {
    background-color: #fff9f0 !important;
}

/* 基本 */
html {
    /* font-size: 16px; */
    /* max-width: 1920px;
    margin: auto;
    background-color: #000; */
}

@media(min-width:1400px) {
    /* html {
        font-size: 24px;
    } */
}

body {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-feature-settings: "palt";
    overflow-wrap: anywhere;
}



a {
    color: inherit;
}

p {
    margin-bottom: .5em;
}

a p {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

.h-100 iframe {
    width: 100%;
    height: 100%;
    min-height: 345px;
}

/* 汎用クラス */

.ratio-4x3 {
    aspect-ratio: 4/3;
    object-fit: cover;
}

.ratio-3x2 {
    aspect-ratio: 3/2;
    object-fit: cover;
}

.ratio-16x9 {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.ratio-1920x500 {
    aspect-ratio: 1920/500;
    object-fit: cover;
}

@media(min-width:768px) {
    .ratio-md-4x3 {
        aspect-ratio: 4/3;
        object-fit: cover;
    }

    .ratio-md-3x2 {
        aspect-ratio: 3/2;
        object-fit: cover;
    }

    .ratio-md-16x9 {
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    .ratio-md-1920x500 {
        aspect-ratio: 1920/500;
        object-fit: cover;
    }
}


.overflow-hidden {
    overflow: hidden;
}

.bg-wood {
    background-image: url("https://gyuchan-onomichi.jp/system_panel/uploads/images/bg-wood.jpg");
    background-size: cover;
}

.dl {
    display: grid;
    grid-template-columns: auto auto;
    align-items: start;
    justify-content: center;
    gap: 1em 0.5em;
}

.dl.dt-label .dt {
    background-color: #666666;
    color: #fff;
    padding: 0.2em 1.2em;
    text-align: center;
}

.site-logo {
    position: absolute;
    top: 29px;
    left: 15px;
    width: 20%;
}

@media(min-width:768px) {}

/* コンポーネント */
.site-logo {
    height: 45px;
    display: flex;
    align-items: center;
    mix-blend-mode: darken;
    justify-content: center;
}

p.site-logo {
    color: rgba(0, 0, 0, 0);
    background-image: url("https://gyuchan-onomichi.jp/system_panel/uploads/images/logo1-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

@media(min-width:1400px) {
    .site-logo {
        height: 80px;
    }
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
}

.nav-item p {
    margin: 0;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px;
    background-color: #4d4d4d;
    color: #fff;
    border-radius: 0 0 0 5px;
    width: 45px;
    height: 45px;
    position: relative;
    z-index: 100;
}

.menu-btn__icon {
    width: 22px;
    height: 13px;
    position: relative;
    gap: 5px;
}

.menu-btn__icon>.bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    transition: .3s;
}

.menu-btn__icon>.bar:nth-child(1) {
    top: 0;
}

.menu-btn__icon>.bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-btn__icon>.bar:nth-child(3) {
    bottom: 0;
}

#spHeaderMenu.is-open {
    z-index: 10000;
}

html:has(#spHeaderMenu.is-open) {
    overflow: hidden;
}

.is-open .menu-btn .bar:nth-child(1) {
    top: calc(50% - 2px);
    transform: rotate(45deg);
}

.is-open .menu-btn .bar:nth-child(2) {
    opacity: 0;
}

.is-open .menu-btn .bar:nth-child(3) {
    top: calc(50% - 2px);
    transform: rotate(-45deg);
}

.sp-header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    opacity: 0;
    pointer-events: none;
    transition: .3s opacity;
}

.sp-header-nav a {
    font-weight: bold;
    font-size: 1.2rem;
}

.sp-header-nav .icon-dark {
    filter: brightness(0);
    width: 32px;
    margin-top: 2rem;
}

.sp-header-nav__logo {
    position: absolute;
    top: 0;
    left: 15px;
    width: 160px;
}

#spHeaderMenu.is-open .sp-header-nav {
    opacity: 1;
    pointer-events: unset;
}

.header {
    position: fixed;
    width: 100%;
    z-index: 100;
}

@media(min-width:768px) {
    .header {
        position: static;
    }

    .site-logo {
        width: 100%;
        position: static;
    }

}

.footer-nav {
    display: flex;
    gap: 1em;
}

.text-copyright {
    font-size: 11px;
}

@media(min-width:768px) {
    .footer {
        font-size: 11px;
    }

    .text-copyright {
        font-size: 11px;
    }
}

@media(min-width:1400px) {
    .footer {
        font-size: 16px;
    }

    .text-copyright {
        font-size: 16px;
    }
}


@media(min-width:1400px) {
    .footer {
        font-size: 16px;
    }

    .text-copyright {
        font-size: 16px;
    }
}

.cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-inline: 7.5px;
    gap: 7.5px;
    opacity: 1;
    transition: .6s opacity;
}

.cta.is-scroll-end {
    opacity: 0;
    pointer-events: none;
}

.cta a {
    background-color: #4d4d4d;
    border-radius: 5px 5px 0 0;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.5em;
}

.cta a img {
    width: auto;
    height: 30px;
}


/* 調整 */
@media(min-width:768px) {
    .br-cancel-tab br {
        display: none;
    }
}

@media(min-width:992px) {
    .br-cancel-pc br {
        display: none;
    }
}