@charset "UTF-8";
/* 変数定義 */
:root{
    /* カラー */
    --color-primary:#c5564b;
    --color-accent: #d4c98e;
    --color-text: #333;
    --color-link: #006ad6;
    --color-white: #fff;
    --color-footer: #4d5a84;

    /* レイアウト */
    --width-content: 1200px;
    --width-narrow: 770px;
    --space-unit: 15px;
    --space-section: 45px;

     /* その他 */
    --duration: 0.7s;
}

/* ベース */
body {
    font-family: "Klee One", cursive;
    font-weight: 400;
    font-style: normal;
    background-image: url(../img/1x/wp06.jpg-50.jpg);
    
    
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* レイアウト */
.wrapper {
    width: var(--width-content);
    margin: 0 auto;
    position: relative;
    padding: 0 var(--space-unit);
    box-sizing: border-box;
}

/* 共通コンポーネント */
.sec-ttl {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 80px;
    /* padding-top: var(--space-section); */
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-underline-offset: 10px;
    /* margin-top: var(--space-section); */
    
}

.lead {
    font-size: 19px;
    font-weight: bold;
    line-height: calc(26 / 14);
    text-align: center;
    padding-bottom: var(--space-section);
    
}

.lead span {
    background: linear-gradient(transparent 50%, #d4c98e 50%);
    padding: 0 0.1em;
    }

/* ボタン共通 */
.btn {
    display: block;
    text-align: center;
    font-weight: bold;
    transition: all var(--duration);
    margin: 0 auto;
    
}

/* プライマリーボタン */
.btn-primary {
    width: 290px;
    height: 55px;
    line-height: 55px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50px;
    text-align: center;
}

.bn {
    padding-bottom: 100px;
}

/* ページトップボタン */
.pagetop {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    opacity: 1;
}

.pagetop:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    border-top: 3px solid var(--color-white);
    border-right: 3px solid var(--color-white);
    translate: 0 20%;
    rotate: -45deg;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
}

.pagetop:hover {
    transition: all var(--duration);
}

/* ホバー制御 */
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .pagetop a:hover {
        opacity: 0.7;
    }
}

@media (hover: none) or (pointer: coarse) {
    /* タッチデバイスでの即時反応 */
    .btn-primary:active,
    .btn-secondary:active,
    .pagetop a:hover {
        opacity: 1;
    }
}

/* ヘッダー */
.site-logo {
    position: absolute;
    top: 50px;
    left: 50px;
    height: 100px;
    z-index: 2;
}

/* ハンバーガー */
.menu-btn {
    position: absolute;
    top: 60px;
    right: 60px;
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: var(--color-accent);
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#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-btn-check {
    display: none;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: var(--color-primary);
    transition: all 0.5s;/*アニメーション設定*/
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}

/* メイン */
/* .slider {
    margin-bottom: var(--space-section);
} */
.slider img {
    width: 100%;
}

/* ビデオ */
.video-section video {
    width: 100%;
    height: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
}



/* スライダー矢印カスタマイズ */
/* .slick-prev {
    left: 20px;
    z-index: 1;
    transform: rotateY(180deg);
}

.slick-next {
    right: 20px;
} */

/* .slick-prev:before,
.slick-next:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f6a7";
} */

/* セクション01 */
.container {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    gap: 40px;
    margin-bottom: var(--space-section);
}


.img-box img {
    max-width: 500px;
    height: auto;
    border-radius: 8px;
}

.text-box {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 16px;
    max-height: 500px;
    line-height: 50px;
    width: 500px;
}


/* セクション02 */
.sec-txt {
    line-height: 30px;
    text-align: center;
    padding-bottom: 60px;
}

.sec-txt span {
    background: linear-gradient(transparent 50%, #d4c98e 50%);
    padding: 0 0.1em;
    }



/* セクション03 */
.gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-bottom: 100px;
}

.photo {
    position: relative;
    overflow: hidden;
    width: 400px;
    height: 250px;
    border-radius: 10px;
    cursor: pointer;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 1;
    transition: background-color 0.3s;
}

.photo:hover img {
    transform: scale(1.1);
}

.photo:hover .overlay {
    background-color: rgba(0, 0, 0, 0.6);
}


/* セクション04 */
.product-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 100px;
}

.product-card {
    width: 350px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.product-card .title {
    font-weight: bold;
    margin: 10px 0 10px 15px;
}

.product-card .sub {
    font-size: 15px;
    font-weight: bold;
    color: #c5564b;
    margin: 10px 10px 15px;
    text-align: right;
}

/* セクション05 */
.sec5 {
    padding-bottom: 100px;
}


/* セクション06 */
.sec-06 {
    padding: var(--space-section) 0;
}
.sec-06 .wrapper {
    width: var(--width-narrow);
}
.news-list {
    padding-bottom: 30px;
}

.news-list dt {
    position: absolute;
    padding: var(--space-unit) 0;
    font-size: 14px;
}

.news-list dd {
    padding: var(--space-unit) 0 var(--space-unit) 10em;
    border-bottom: 1px dotted var(--color-text);
    font-size: 14px;
}

.news-list dd a {
    text-decoration: none;
    color: var(--color-link);
}

.news-list dd a:hover {
    text-decoration: underline;
    color: var(--color-text);
}
.new {
    display: inline-block;
    width: 37px;
    height: 19px;
    line-height: 19px;
    border-radius: 3px;
    background: var(--color-accent);
    text-align: center;
    font-size: 12px;
    color: var(--color-white);
    margin-left: 10px;
}

/* フッター */
.footer {
    background-image: url(../img/1x/foooter.jpg-50.jpg);
    background-repeat: repeat;
    padding-top: var(--space-section);
}

.footer-top {
    writing-mode: vertical-rl;
    margin-bottom: var(--space-section);
    margin: auto;
    padding-bottom: var(--space-section);
}

.footer-item {
    margin: 0 10px;
    color: #333;
    line-height: 50px;
    font-size: 16px;
    font-weight: bold;
}

.footer-middle {
    text-align: center;
    color: #333;
    border-top: 1px solid #4d5a84;
    padding: 20px 10px;
    line-height: 1.8;
    font-size: 13px;
}

.footer-bottom {
    background-color: var(--color-footer);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 12px;
}

/* セクション８*/
.spot1 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 calc(-1 * var(--space-unit));
    padding-bottom: var(--space-section);
}

.spot {
    width: 400px;
    box-sizing: border-box;
    padding: 0 var(--space-unit);
}

.spotimg {
    /* padding-bottom: 15px; */
    /* padding-top: var(--space-section); */
    border-radius: 8px;
    margin-top: var(--space-section);
}

.spot-ttl {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 15px;
    padding-top: 15px;
    color: #4d5a84;
    line-height: 1;
    -webkit-box-reflect: below -10px -webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0) 10%,rgba(0,0,0,.6));
    margin-bottom: calc(1em + 20px);
    }

.sec-txt1 {
    text-align: left;
    line-height: 2;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 3s ease-out forwards;
    }

    @keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    }

/* セクション09 */


/* セクション10 */
.card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 calc(-1 * var(--space-unit));
    padding-bottom: 150px;
}

.card {
    width: 400px;
    box-sizing: border-box;
    padding: 0 var(--space-unit);
}

.card img {
    padding-bottom: 15px;
    padding-top: var(--space-section);
}

.card-ttl {
    font-size: 18px;
    line-height: calc(30 / 18);
    font-weight: bold;
    /* text-align: center; */
    padding-bottom: 10px;
}

.card-txt {
    font-size: 16px;
    line-height: calc(26 / 14);
    font-weight: bolder ;
    padding-bottom: 10px;
}

.card-ttl span {
    background-color: #4d5a84;
    color: #fff;
    padding: 1px 5px 1px 5px;
    border-radius: 8px;
    }

.card-txt2 {
    font-size: 14px;
}

/* アニメーション関連のCSS */
.f-up {
    opacity: 0;
}

.f-up.fadeup {
    animation: fadeupanime 1s forwards;
}

@keyframes fadeupanime {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* セクション11 */

/* レスポンシブ タブレット */
@media screen and (min-width:768px) and (max-width:1199px) {
    .wrapper{
        width: 768px;
    }
    
/* TOP */
.product-gurid {
    display: flex;
    justify-content: space-between;
}

/* ハンガーバー */
.menu-btn {
    top: 30px;
    right: 30px;
    height: 50px;
    width: 50px;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
    width: 28px;
}
.menu-content {
    padding-top: 80px;
}
.menu-content ul {
    padding: 50px 30px 0;
}
.menu-content ul li a {
    font-size: 20px;
    padding: 14px 0;
}
.menu-content ul li a::before {
    right: 20px;
    top: 22px;
}

/* ABOUT */
    .spot {
        width: auto;
    }

    .spotimg {
        width: 1170px;
    }

/* MENU */
    .card-list {
        display: flex;
        justify-content: space-between;
    }

    .card {
        width: 250px;
    }

    
}

/* スマホ */
@media screen and (max-width: 767px) {
    .wrapper {
        width: 100%;
    }
    .sec-ttl {
        font-size: 20px;
        padding-bottom: 30px;
    }
    
    .lead {
        font-size: 12px;
    }
    .sec-txt {
        font-size: 14px;
        
    }

    .sec-txt1 {
        font-size: 14px;
    }

    .site-logo {
        position: absolute;
        top: 20px;
        left: 20px;
        height: 40px;
        z-index: 2;

    }

    /* news */
    .sec-06 {
        width: 100%;
        padding: 30px var(--space-unit);
        box-sizing: border-box;
    }

    .sec-06 .wrapper {
        width: 100%;
    }

    .news-list dd {
        padding-left: 6rem;
    }

    /* ハンバーガー */
    .menu-btn {
        top: 20px;
        right: 20px;
        height: 40px;
        width: 40px;
    }
    .menu-btn span,
    .menu-btn span::before,
    .menu-btn span::after {
        width: 20px;
    }
    .menu-content {
        padding-top: 60px; /*上部に少し余白を作る*/
    }
    .menu-content ul {
        padding: 40px 20px 0;
    }
    .menu-content ul li a {
        font-size: 18px;
        padding: 12px 0;
    }
    .menu-content ul li a::before {
        right: 15px;
        top: 20px;
    }

/* menu */
    .product-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        }
        
        .product-card {
            width: 150px;
            background: white;
            padding: 8px;
            box-sizing: border-box;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            }
            

        .product-card img {
            width: 100%;
            height: auto;
            display: block;
        }

        .product-card .title,
        .product-card .sub {
            font-size: 10px;
            margin-top: 3px;
        }

    /* フルなび */
    .sec5 {
        width: 160px;
        height: 155px;
    }

    /* フッター */
    .footer-item {
        font-size: 12px;
    }

    .footer-middle {
        font-size: 8px; 
    }

    .container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .text-box {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 14px;
        line-height: 1.8;
        width: 100%;
        max-width: 90%;
        height: auto;
    }
    
    .img-box img {
        max-width: 80%;
        height: auto;
    }

    .img-box {
        display: flex;
        justify-content: center;
    }

    .gallery {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding-bottom: 50px;
    }

    .photo {
    width: 90%;
    height: 180px; /* 縦を短めに */
    }

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

    .overlay {
    font-size: 14px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10px; /* 文字がはみ出さないよう余白 */
    }

    .item-wrap {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    }

    .item {
    width: 90%;
    max-width: 320px;
    }

    .item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    }

    /* セクション4-2：.category-wrap（カテゴリから選ぶ） */
    .category-wrap {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    }

    .category {
    width: 90%;
    max-width: 320px;
    }

    .category img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    .btn-primary {
        width: 145px;
        height: 27.5px;
        line-height: 23px;
        background: var(--color-primary);
        color: var(--color-white);
        border-radius: 50px;
        text-align: center;
    }

    /* ページトップ（SP） */
.pagetop {
    bottom: 15px;
    right: 30px;
}

}