@font-face {
    font-family: 'JejuHallasan';
    src: url('../font/JejuHallasan.ttf.woff') format('woff');
}


body {
    /* 背景 */
    background-image: url(../images/back.jpg);
    background-repeat: repeat;


}

p,
button {
    font-family: 'Kaisei Opti', serif;

}

h2 {
    font-family: 'JejuHallasan', cursive;
}

h3 {
    font-family: 'JejuHallasan', cursive;

}

header {
    padding: 50px;
    color: #FDFDFD;
    height: 30px;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Jeju Hallasan', cursive;
}

header ul li,
footer ul li {
    margin-right: 20px;
}

header a {
    color: #D90327;
    font-size: 1.3rem;
}

header ul li a:hover {
    color: #fff;
    background-color: #D90327;
    font-size: 1.3rem;
}

.header-menu {
    z-index: 300;
    font-family: 'JejuHallasan', cursive;
}


.anim-box {
    opacity: 0;
}

/*アニメーション*/

.anim-box.fadeup.is-animated {

    animation: fadeup 2s cubic-bezier(0.33, 1, 0.68, 1) forwards;

}


@keyframes fadeup {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes slideIn {
    0% {
        transform: translateX(180px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
    }

    40%,
    100% {
        opacity: 1;
    }
}

.anim-box.slidein.is-animated {
    opacity: 0;
    animation: slideIn 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/*トップに戻る*/

html {
    scroll-behavior: smooth;
}

.pagetop {
    height: 80px;
    width: 80px;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background: #1E2F4F;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop img {
    padding: 10px;
    max-width: 50px;
}

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

    .firstview-container p {
        font-size: 1.6em;
    }
}

@media screen and (max-width: 700px) {
    footer img {
        width: 60%;
        height: auto;
    }

    .footer-menu {
        margin: 0 auto;
        display: flex;
        flex-flow: wrap column;
        text-align: center;
        height: 100px;
    }

    .footer-menu ul li {
        height: 25%;
        font-size: 1.4em;
    }
}

@media screen and (min-width: 576px) {


    .pagetop {
        height: 80px;
        width: 80px;
        position: fixed;
        right: 30px;
        bottom: 30px;
        left: unset;
        transform: none;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        background: #1E2F4F;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
    }
}

/*////////////////////////*/

/* =================
ハンバーガーボタンの実装
================= */

.menu-btn {
    position: fixed;
    top: 0px;
    right: 0px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 200;
    background-color: #1E2F4F;
}

.menu-btn:hover {
    cursor: pointer;
}

/* 三本線の実装 */
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: white;
    position: absolute;
}

.menu-btn span:before {
    bottom: 8px;
}

.menu-btn span:after {
    top: 8px;
}

/* チェックボックスを非表示にする */
#menu-btn-check {
    display: none;
}

#menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
}

/* メニューを開いている時はハンバーガーボタンが×になる */
#menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* =================
メニュー部分の実装
================= */

.menu-content {
    width: 80%;
    height: 100%;
    position: fixed;
    top: 0;
    /* メニューを外に出しておく */
    left: 100%;
    z-index: 190;
    background-color: #D90327;
    transition: all 0.5s;
    border-left: 1px solid #1E2F4F;
    /*アニメーションを滑らかにする*/
}

.menu-content ul {
    padding: 70px 10px 0;
}

.menu-content ul li {
    border-bottom: solid 1px #1E2F4F;
    list-style: none;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
}

.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 20px;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    padding: 25px 15px 25px 0;
    position: relative;
    font-family: 'Kaisei Opti', serif;
}

#menu-btn-check:checked~.menu-content {
    left: 60%;
    /*メニューを画面内へ動かす*/
}

/* =================
モバイルドロップダウンメニューの実装
================= */
/* サブメニューをデフォルトで非表示にする */
.menu-content ul .submenu {
    display: none;
}

/* 'open'クラスが追加された時にサブメニューを表示する */
.menu-content ul .submenu.open {
    display: block;
    padding: 0;
}

/* サブメニューリンクのスタイルを追加 */
.menu-content ul .submenu a {
    padding-left: 20px;
}



/* PC用ドロップダウンメニューのスタイル */

ul.dropdown-menu li {
    margin-right: 0;
}

.nav-link {
    color: #D90327;
    font-size: 1.3rem;
}

.nav-item .dropdown-menu {
    display: none;
    position: absolute;
    background: #D90327;
    /* color: #000; */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    z-index: 1000;
    border-radius: 0px;
    border: none;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.nav-item .dropdown-menu a {
    color: #000;
    padding: 12px 10px;
    text-decoration: none;
    display: block;
    color: #fff;
    font-family: 'Kaisei Opti', serif;
    font-size: 1em;
    font-weight: 200;
}

.nav-item .dropdown-menu a:hover {
    background-color: #fff;
}

.nav-item .dropdown-menu a:hover {
    color: #D90327;
}

.firstview-container {
    width: 85%;
    margin: 0 auto;
    margin-top: 65px;
}

.firstview-logobox {
    padding-top: 80px;
    text-align: center;
    display: flex;
    justify-content: center;
    /* 水平方向の中央揃え */
    align-items: center;
    /* 垂直方向の中央揃え */
    width: 100%;
    height: 40vh;
    max-width: 800px;
}


/* 
.firstview-logobox img {
    flex: 1;
    width: calc(20% - 20px);
    height: auto;
    object-fit: cover;
} */

.firstview-container p {
    text-align: center;
    color: #1E2F4F;
    font-size: 1.8em;
    font-weight: 300;
    background-color: #fff;
    letter-spacing: 0.2em;
}

.firstview-text {
    display: flex;
    justify-content: center;
    /* 水平方向の中央揃え */
}

.check-iconarea {
    width: 150px;
    height: 150px;
    background-image: url(../images/check-button.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
}

.check-iconarea span {
    color: #fff;
    background-color: unset;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 0;
    text-align: center;
    font-size: 1rem;
    font-family: 'Kaisei Opti', serif;
    display: block;
    font-size: 0.9em;
    line-height: 0.9;
}

.highlighted-text {
    display: inline;
    background-color: #fff;


}

.mb-highlighted-text-box {
    position: relative;
    top: -80px;
}

.mb-highlighted-text-box .highlighted-text {
    position: inherit;
    font-size: 1.6em;
}



.highlighted-text p span {
    display: block;
    background-color: #fff;
}

.main-img img {
    width: 120%;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;


}

/* main-img d-flex mb-none2 {
    width: 100%;
    height: auto;
} */

.mb-title {
    position: absolute;
    width: 55%;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 80;
    max-height: 500px;
    width: auto;
}

.main-img-mb {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.main-area {
    width: 100%;
    /* 親要素の幅 */
    height: 100vh;
    overflow: hidden;
    /* はみ出た部分を隠す */
    position: relative;
    background-image: url(../images/hero-back.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: repeat;
}

.news-area {
    width: 100%;
    background-color: #fff;
}

.news-container {
    background-color: #D90327;
    /* 背景色を赤に設定 */
    padding: 32px;
    /* 30pxのパディングを追加 */
    box-sizing: border-box;
    /* パディングを含めたサイズ計算 */
    border: 32px solid white;
    /* 30pxの白い枠を追加 */


}

.news-container {
    display: flex;
    padding-left: 10%;
    align-items: center;
    /* 子要素を垂直方向に中央揃え */

}

.news-text {
    width: 22%;
    justify-content: center;
    padding: auto 0;
    text-align: center;
}

.news-container>div:not(:first-child) {
    border-left: 1px solid white;


}

.news-text h2,
.news-text p {
    margin: 0;
    /* 要素間のマージンをなくす */
    padding: 0;
    /* 要素間のパディングをなくす */

}

.news-item {
    display: flex;
    justify-content: center;
    /* 水平方向の中央揃え */
    align-items: center;
    /* 子要素を垂直方向に中央揃え */
}

.news-item img {
    padding: 0 30px;
    width: 100%;
    height: 100px;
    object-fit: cover;
}

/* history */

.container {
    width: 85%;
    margin: 0 auto;
    display: block;
    padding-top: 40px;
    padding-bottom: 50px;
    overflow: hidden;
}

.history,
.menu,
.history-bottom,
.history-bottom02 {
    display: flex;
    width: 100%;
    padding-top: 50px;
}




.section-text {
    width: 60%;

}

.section-item {
    width: 60%;
    position: relative;
}

.section-text02 {
    padding-bottom: 30px;
    padding-top: 20px;
}

.history img,
.menu img {
    width: 100%;
    height: auto;
}

.section-text02 p {
    font-size: 1.8em;
    color: #1E2F4F;
    font-weight: 100;

}

.history h2,
.menu h2,
.shop h2 .history-bottom h2,
.history-bottom02 h2 {
    color: #D90327;
}

.line-break {
    display: block;
    height: 1em;
    content: "";
}

.section-text01 {

    justify-content: center;
    padding: 40px 0 20px;
}



.section-text01 h2,
.section-text01 p {
    margin: 0;
    /* 要素間のマージンをなくす */
    padding: 0;
    /* 要素間のパディングをなくす */
    color: #D90327;

}

.section-text01 a p {
    border: 1px solid #D90327;
    max-width: 300px;
    margin: 20px auto;
    padding: 10px;
    transition: 0.5s;
    display: block;
}

.section-text01 a p:hover {
    border: 1px solid #D90327;
    color: #fff;
    background-color: #D90327;
}

.section-text01 p {
    font-size: 1.2em;
}

.hover-button {
    background-color: #D90327;
    padding-top: 30px;
    width: 350px;
    height: 70px;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.5em;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    /* 必要な相対配置 */
}

.hover-button::after {
    content: '＞';
    /* 矢印 */
    position: absolute;
    right: 20px;
    /* ボタンの右端からの距離 */
    top: 50%;
    /* 垂直方向の中央揃え */
    transform: translateY(-50%);
    font-size: 0.5em;
    /* 矢印のサイズ */
    transition: transform 0.3s ease;
    /* アニメーション */
}

/*

.hover-button:hover::after {
    transform: translateY(-50%) translateX(10px); 
}
*/

.hover-button:hover {
    transform: translateX(10px);
}

.beige-back {
    background-image: url(../images/back2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* 背景画像を要素いっぱいに表示 */
}

.menu-back {
    background-image: url(../images/menu-back.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    /* 背景画像を要素いっぱいに表示 */
}

.menu .section-text {
    padding-left: 50px;
}

.shop {

    display: flex;
    width: 100%;
    /* aspect-ratio: 16 / 8; */
    margin-top: 50px;


}

.shop-02 {
    position: right bottom;
}





.shop .section-item {
    position: relative;
    width: 50%;
    height: 90%;
    overflow: hidden;
    aspect-ratio: 13 / 12;
}

.shop .section-item img {
    position: absolute;
    max-width: 80%;
    height: auto;
    /* 画像の高さを自動調整 */
}





.shop-01 {
    top: 0;
    /* 左上に配置 */
    left: 0;
    /* 左上に配置 */
}

.shop-02 {
    bottom: 0;
    /* 右下に配置 */
    right: 0;
    /* 右下に配置 */
}

#contact {
    background-image: url(../images/contact-back.jpg);
    background-size: cover;
    background-position: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact label {
    margin-top: 10px;
    font-weight: bold;
    color: #1E2F4F;
    font-family: 'Kaisei Opti', serif;
    text-align: center;
}

.contact input,
.contact textarea {
    width: 100% !important;
    max-width: 450px;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    border: 1px solid #1E2F4F;
    text-align: center;
}

.contact .wpcf7-form-control.wpcf7-submit.has-spinner {
    background-color: #D90327;
    padding-top: 100px;
    width: 350px;
    height: 80px;
    color: white;
    border: none;
    padding: 10px 20px;
    /* ボタンの内側の余白 */
    font-size: 1.8em;
    /* ボタンのフォントサイズ */
    display: inline-block;
    text-align: center;
    /* テキストを中央揃え */
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.contact .section-text {
    text-align: center;
    width: 100%;
}


.contact {
    background-color: #fff;
    padding-top: 100px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact .wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    transform: translateX(10px) translateY(10px);
}

.wpcf7-response-output {
    color: #1E2F4F;
}

footer {
    background-color: #D90327;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    display: block;

}



.footer-logo {
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    display: block;
    padding-top: 50px;
    padding-bottom: 50px;
}

footer ul {
    text-align: center;
}

footer {
    padding-bottom: 50px;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-menu {
    margin: 0 auto;
    font-family: 'JejuHallasan', cursive;

}

/* ページのトップに戻るボタンのスタイル */
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;

}

.back-to-top {
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    border: 1px solid #D90327;
    border-radius: 50%;
    /* 
    display: flex;
    justify-content: center;
    align-items: center;
     */
    text-align: center;
    color: #D90327;
    font-family: 'Kaisei Opti', serif;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    /* リンクの下線を削除 */
}

.back-to-top span {
    display: block;
}

.back-to-top-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    justify-content: center;
}

.back-to-top-box::before {
    position: absolute;
    content: '▲';
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



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

    .hover-button,
    .contact button {
        padding-top: 30px;
        width: 200px;
        height: 50px;
        padding: 10px 20px;
        /* ボタンの内側の余白 */
        font-size: 1.4em;

    }



    .section-text02 p {
        font-size: 1.2em;
        color: #1E2F4F;
        font-weight: 100;
    }


    .mb-highlighted-text-box {
        position: relative;
        top: 50px;
        z-index: 150;
    }

    .mb-highlighted-text-box .highlighted-text {
        position: inherit;
        font-size: 2.4em;
    }

}

@media screen and (max-width:850px) {
    .news-container {
        padding-left: 05%;
    }

    .news-text h2 {
        font-size: 2.4em;
    }


}


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

    .history,
    .menu,
    .shop,
    .history-bottom,
    .history-bottom02 {
        display: block
    }

    .history {
        display: flex;
        flex-direction: column;
    }

    .section-text {
        order: 2;
    }

    .section-item {
        order: 1;
    }


    .section-text,
    .section-item {
        width: 100%;
    }

    .section-text02 p {
        font-size: 1.2em;
        font-weight: 100;
    }

    .menu .section-text {
        padding-left: 0;
    }

    .news-item {
        width: 100%;
        gap: 5%;
    }

    .news-container {
        display: block;
        padding: 20px;
        align-items: center;
        border: 12px solid white;
    }

    .news-text {
        width: 100%;
        border-bottom: white solid 1px;
        padding-bottom: 10px;
    }

    .news-item-img {
        width: 100%;
        padding-top: 20px;
    }

    .news-item img {
        padding: 0;
    }



    .news-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .news-container>div:not(:first-child) {
        border-left: none;
    }

    .news-item p {
        width: 100%;
        margin-bottom: 0;
    }

    .container {
        padding-top: 0;
    }

    .section-text01 {
        text-align: center;
    }

    .hover-button {
        background-color: #D90327;
        padding-top: 40px;
        width: 100%;
        height: 60px;
        color: white;
        border: none;
        padding: 10px 20px;
        /* ボタンの内側の余白 */
        font-size: 1.4em;
        /* ボタンのフォントサイズ */
        margin: 0;
        margin-bottom: 30px;
    }

    .shop .section-item {
        position: relative;
        width: 100%;
    }

    .contact input,
    .contact textarea {
        width: 100%;
        max-width: 350px;
        padding: 10px;
        margin-top: 15px;
        margin-bottom: 15px;
        border: 1px solid #1E2F4F;

    }

    .mb-highlighted-text-box {
        position: relative;
        top: -80px;
        z-index: 150;
    }

    .mb-highlighted-text-box .highlighted-text {
        position: inherit;
        font-size: 1.6em;
    }
}

@media screen and (max-width:400px) {
    .mb-title {
        position: absolute;
        width: 55%;
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 80;
        max-height: 400px;
        width: auto;
    }
}


.firstview-logobox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    height: 100%;
    margin: 0 auto;
}

.firstview-logobox img {
    object-fit: cover;
    height: 100%;
}

.first-img {
    width: 20%;
}

.second-img {
    width: 60%;
}

.third-img {
    width: 30%;
}

.main-area {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    /* はみ出た部分を隠す */
}

.main-img-mb {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.first-img {
    width: 20%;
}

.second-img {
    width: 60%;
}

.third-img {
    width: 30%;
}

/* デスクトップ用のメインイメージを非表示にするためのメディアクエリ */
@media screen and (max-width: 768px) {
    .main-img {
        display: none;
    }
}

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

    .back-to-top {
        width: 80px;
        height: 80px;
        background-color: #ffffff;
        border: 1px solid #D90327;
        border-radius: 50%;
        text-align: center;
        color: #D90327;
        font-family: 'Kaisei Opti', serif;
        font-size: 10px;
        line-height: 1.2;
        text-decoration: none;
    }

}

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

    .firstview-container p {
        font-size: 2em;
        letter-spacing: normal;
        position: absolute;
        z-index: 100;
        text-align: center;
        top: 100px;
    }

    .check-iconarea p {
        color: #fff;
        background-color: unset;
        margin-top: 10px;
        margin-left: 10px;
        margin-bottom: 0;
        text-align: center;
        font-size: 1rem;
        font-family: 'Kaisei Opti', serif;
        display: block;
        font-size: 0.9em;
        line-height: 0.9;
        position: unset;
    }
}

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

    .contact input,
    .contact textarea {
        width: 90%;
    }

    .contact .section-text {
        font-size: 0.6em;
    }

    .contact {

        padding-top: 50px;
    }
}

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

    .contact input,
    .contact textarea {
        width: 90%;
    }

    .contact .section-text {
        font-size: 0.6em;
    }

    /* 
    .section-text01 h2 {
        font-size: 2.0em;
    } */
}