/****************************************
メインビジュアル 
 ****************************************/

main {
    padding-top: 120px;
}

#main-visual {
    margin-bottom: var(--space-xxxl);
    position: relative;
}

.main-visual-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: var(--font-size-fixed-xl);
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000,
        -1px 1px 0 #000, 1px -1px 0 #000,
        1px 0 0 #000, -1px 0 0 #000,
        0 1px 0 #000, 0 -1px 0 #000;
    font-family: var(--font-family-accent-2);
}

@media screen and (min-width: 768px) {
    #main-visual .container {
        height: 70svh;
    }

    #main-visual .container img {
        height: 100%;
        object-fit: cover;
    }
}

/**************************************** 
味彩
****************************************/

#ajisai h2 {
    font-size: var(--font-size-fixed-l);
    color: var(--color-accent-orangered);
    margin-bottom: var(--space-xl);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-accent-2);
    text-align: center;
}


#ajisai p {
    line-height: var(--line-height-relaxed);
    text-align: justify;
    padding: var(--space-l) var(--space-ml);
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
}

#ajisai img {
    margin-bottom: var(--space-xxl);
}

#ajisai .wrapper {
    margin-bottom: var(--space-xxxl);
}


@media screen and (max-width: 767px) {
    #ajisai h2 {
        font-size: var(--font-size-fixed-l);
    }

    #main-visual {
        margin-bottom: var(--space-xxl);
    }

    #ajisai .wrapper {
        margin-bottom: var(--space-xxl);
    }

    main {
        padding-top: 60px;
    }
}

/**************************************** 
メニュー
****************************************/
#menu {
    width: 100%;
    margin: 0 auto;
}

#menu .item-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: var(--space-xl);
    margin-bottom: var(--space-xxxl);
}

#menu button {
    background-color: var(--color-white);
    cursor: pointer;
    padding: 12px;
    border: none;
    width: 100%;
    position: relative;
    height: 165px;
}

#menu button .text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

#menu .menu-title {
    font-size: clamp(1.375rem, 1.25rem + 0.63vw, 2.25rem);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-accent-2);
}

#menu .menu-icon {
    font-size: 20px;
    color: var(--color-accent-orangered);
}

#menu .content {
    display: none;
    border-top: none;
    background-color: var(--color-white);
    position: relative;
    padding-bottom: 120px;
}

#menu .content .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 30px;
    margin: 0 auto;
    position: relative;
    max-width: 1100px;
}

#menu .content .wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    margin: auto;
    border-bottom: 2px dashed var(--color-yellow-light);
    width: calc(100% - 60px);
}

#menu .content .wrapper .img-box {
    width: clamp(200px, 9.821rem + 5.58vw, 300px);
    height: clamp(100px, 3.571rem + 5.58vw, 200px);
}

#menu .content .wrapper .img-box img {
    height: 100%;
    object-fit: cover;
}

#menu .content .wrapper .text-box {
    width: calc(100% - (clamp(200px, 9.821rem + 5.58vw, 300px) + 50px));
}

#menu .content .wrapper .text-box p {
    font-size: var(--font-size-fixed-m);
}


#menu .content .wrapper .text-box p:first-of-type {
    font-weight: var(--font-weight-bold);
}

#menu .content .wrapper .text-box p:nth-of-type(2) {
    font-size: var(--font-size-fixed-s);
    color: var(--color-accent-orangered);
}

#menu .menu-img.bottom-left-2,
#menu .menu-img.bottom-right-2 {
    margin-top: 20px;
}

.menu-img {
    position: absolute;
    width: 30px;
    height: 30px;
}

.menu-img {
    position: absolute;
    width: 60px;
    height: 60px;
}

.menu-img.top-left {
    top: 10px;
    left: 10px;
    transform: rotate(0deg);
}

.menu-img.top-right {
    top: 10px;
    right: 10px;
    transform: rotate(90deg);
}

.menu-img.bottom-left {
    bottom: 10px;
    left: 10px;
    transform: rotate(270deg);
}

.menu-img.bottom-right {
    bottom: 10px;
    right: 10px;
    transform: rotate(180deg);
}

#menu .item>button.active .menu-img.bottom-left,
#menu .item>button.active .menu-img.bottom-right {
    display: none;
}

.menu-img.bottom-left-2 {
    bottom: 10px;
    left: 10px;
    transform: rotate(270deg);
}

.menu-img.bottom-right-2 {
    bottom: 10px;
    right: 10px;
    transform: rotate(180deg);
}

#reservation {
    margin-bottom: var(--space-xxxl);
}

#reservation .detail-wrapper-2 {
    display: flex;
    justify-content: space-between;
}

#reservation .detail-wrapper-2 .img-box {
    width: 48%;
}

#reservation .detail-wrapper-2 .img-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#reservation .detail-wrapper-2 .text-box {
    width: 48%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-l);
}

#reservation .detail-wrapper-2 .text-box h3 {
    font-size: var(--font-size-fixed-l);
    color: var(--color-accent-orangered);
    margin-bottom: var(--space-ml);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-accent-2);
}

#reservation .detail-wrapper-2 .text-box p {
    text-align: left;
}

#reservation .detail-wrapper-2 .text-box a {
    background-color: var(--color-accent-orangered);
    padding: 20px;
    border-radius: var(--border-radius-lg);
    display: inline-block;
    color: var(--color-white);
}

.ad-p {
    text-align: center;
    margin-bottom: 40px;
}

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

    #menu button {
        height: fit-content;
    }

    .menu-img {
        position: absolute;
        width: 28px;
        height: 28px;
    }

    #menu .content .wrapper .text-box {
        width: 100%;
        margin-bottom: var(--space-sm);
    }

    #menu .content {
        padding-bottom: 60px;
    }

    #menu .content .wrapper {
        flex-direction: column;
    }

    #menu .content .wrapper .img-box {
        width: 100%;
        height: 100%;
        
    }

    #menu .content .wrapper .text-box p {
        font-size: 18px;
    }

    #menu .content .wrapper .text-box p:nth-of-type(2) {
        font-size: 16px;
    }
}

/**************************************** 
ニュース
****************************************/
#news {
    position: relative;
    margin-bottom: var(--space-xxl);
}

#news .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 30px;
    margin-bottom: var(--space-xxl);
}

#news .wrapper .item {
    display: flex;
    background-color: var(--color-white);
    gap: var(--space-m);
    padding: 12px;
}

#news .wrapper .item .text-box .data {
    color: #aaa;
    margin-bottom: var(--space-s);
    font-size: 1.2rem;
}

#news .wrapper .item .text-box p:nth-of-type(2) {
    font-weight: bold;
    font-size: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#news .wp-block-image {
    margin-bottom: 80px;
}

#news .wrapper .item .img-box {
    aspect-ratio: 1 / 1;
    width: clamp(100px, 3.571rem + 5.58vw, 200px);
    height: clamp(100px, 3.571rem + 5.58vw, 200px);
}

#news .wrapper .item .img-box img {
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

@media screen and (max-width: 767px) {
    #news .wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #news .wrapper .item {
        flex-direction: column;
        width: 100%;
    }

    #news .wrapper .item .img-box {
        width: 100%;
        height: 100%;
    }

    #news .wrapper .item .text-box p:nth-of-type(2) {
        font-weight: bold;
        margin-bottom: var(--space-s);
    }
}

#news .wrapper a:hover .item .text-box p:nth-of-type(2),
#news .wrapper .item:hover .text-box p:nth-of-type(2) {
    color: var(--color-accent-orangered);
    transition: color 0.2s;
}

/* --ページネーション-- */
.pagination {
    display: flex;
    justify-content: space-between;
}

.pagination a {
    display: inline-block;
    width: 140px;
    height: 60px;
    line-height: 60px;
    background: var(--color-accent-orangered);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    border-radius: var(--border-radius-m);
    transition: background 0.2s;
}

.pagination a:hover {
    background: var(--color-yellow-light);
}

.pagination.first-page {
    justify-content: flex-end;
}

@media screen and (max-width: 767px) {
    .pagination a {
        width: 90px;
    }
}

/**************************************** 
お問い合わせ
****************************************/
#contact {
    margin-bottom: var(--space-xxxl);
}


#contact .container .wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-xxl);
    margin-bottom: var(--space-l);
}

#contact .container .wrapper .text {
    line-height: var(--line-height-relaxed);
    text-align: justify;
    width: fit-content;
    margin: auto;
}

#contact .container .wrapper .text-box p {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    text-align: center;
    padding: var(--space-l);
}

#contact .container .wrapper .text-box p span {
    font-size: var(--font-size-fixed-ml);
    font-family: var(--font-family-accent-2);
}

#contact .container .wrapper .text-box p span:nth-child(1) {
    color: var(--color-black);
    font-weight: var(--font-weight-bold);
}


#contact .container .wrapper .text-box p span:nth-child(2) {
    color: var(--color-accent-orangered);
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-fixed-xl);
}

#contact .container .wrapper .text-box-02 h2 {
    text-align: center;
    font-size: var(--font-size-fixed-ml);
    margin-bottom: var(--space-l);
    font-family: var(--font-family-accent-2);
    font-weight: var(--font-weight-bold);
}

#contact .container .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    margin-bottom: 52px;
}

#contact .container .form-group label {
    font-weight: var(--font-weight-bold);
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: var(--font-size-fixed-m);
}

#contact .container .form-group label span {
    color: var(--color-white);
    background-color: var(--color-accent-orangered);
    padding: 3px 6px;
    border-radius: 20px;
    border-radius: 8px;
    font-size: var(--font-size-fixed-xs);
}

#contact .container .form-group input {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    padding: var(--space-m);
}

#contact .container .form-group textarea {
    background-color: var(--color-white);
    padding: var(--space-m);
}

#contact .tel-btn .tel {
    transition: all 0.2s ease;
}

#contact .tel-btn:hover .tel {
    color: var(--color-yellow-light) !important;
}

@media screen and (max-width: 767px) {
    #contact .container .form-group label {
        font-size: var(--font-size-fixed-xs);
    }

    #contact .container .form-group label span {
        font-size: 12px;
    }

    #contact .container .wrapper .text-box p span:nth-child(1) {
        font-size: var(--font-size-fixed-s);
        margin-bottom: var(--space-sm);
    }

    #contact .container .wrapper .text-box p span:nth-child(2) {
        margin-bottom: var(--space-sm);
    }

    #contact .container .wrapper .text-box-02 h2 {
        font-size: var(--font-size-fixed-s);
    }

    #contact .container .wrapper {
        gap: var(--space-l);
    }

    #contact .container .wrapper .text-box-02 h2 {
        margin-bottom: var(--space-l);
    }
}

/* コンタクトフォーム */

#contact .container .form-group input {
    width: 100% !important;
}

#contact .container .form-group textarea {
    width: 100% !important;
}

.wpcf7-not-valid-tip {
    margin-top: var(--space-s) !important;
}

.form-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.form-submit input[type="submit"] {
    color: var(--color-white);
    background: var(--color-accent-orangered);
    border: none;
    border-radius: var(--border-radius-m);
    padding: 12px 32px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit input[type="submit"]:hover {
    background: var(--color-yellow-light);
}

/* 投稿詳細 */

body.single #news {
    margin-top: clamp(120px, 6.362rem + 5.69vw, 160px);
    margin-bottom: var(--space-xxl);
}

body.single #news .container {
    background: var(--color-white);
    padding: 60px;
    max-width: 1200px;
    margin: 60px auto;
}

body.single #news .wrapper {
    display: block;
    margin-bottom: 0;
}

body.single #news .img-box-single {
    width: 50%;
    margin: 0 auto;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

body.single #news .img-box-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.single #news .text-box {
    width: 100%;
}

body.single #news .text-box .date {
    color: #aaa;
    margin-bottom: 1em;
    font-size: 1rem;
}

body.single #news .text-box h1 {
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

body.single #news .single-content {
    text-align: left;
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 2em;
}

body.single #news .back-link {
    text-align: right;
}

body.single #news .back-link a {
    font-size: 1.2rem;
    padding: 10px 15px;
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
    background-color: var(--color-accent-orangered);
    border-radius: var(--border-radius-m);
}

body.single #news .back-link a:hover {
    background-color: var(--color-yellow-light);
}

body.single #news .wrapper .item {
    flex-direction: column-reverse;
    gap: 0;
}

@media screen and (max-width: 767px) {
    body.single #news .container {
        padding: 60px 20px;
    }

    body.single #news .text-box h1 {
        font-size: 1.5rem;
    }

    body.single #news .img-box-single {
        width: 100%;
    }
}