/*
Theme Name: 1518 HPテンプレート
Author: tamaru-kazuki
Description: 1518 HP用テンプレート
Version: 1.0.0
Requires at least: 6.8.1
Tested up to: 6.8.1
*/

@charset "utf-8";
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");


:root {
    --primary-color: #847720;
    --global-space: 3vw;
    --primary-font-color: #606060;
    --primary-border: 1px solid #dddddd;
    --cast-font-color: #000;
}

/* 要素への直指定 */
body * {
    box-sizing: border-box;
}

html,
body {
    font-size: 13px;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    -webkit-text-size-adjust: none;
    color: #606060;
    line-height: 2;
}

dd,
figure {
    margin: 0;
}

nav,
ul,
li,
ol {
    margin: 0;
    padding: 0;
}

nav ul {
    list-style: none;
}

input {
    font-size: 1rem;
}

ul,
ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

table {
    border-collapse: collapse;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

iframe {
    width: 100%;
}

section+section {
    margin-top: 8vw;
}

a {
    color: #eee;
    transition: 0.2s;
}

a:hover {
    color: var(--primary-color);
    filter: brightness(1.2);
}

/* 各classへの設定 */
.font-small {
    font-size: 3rem;
}

.top_text {
    margin: 0;
    text-align: center;
    font-size: 5rem;
    font-family: serif;
    color: #5eb122;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.div_main_image_bottom {
    border-top: 1px #cdbfa4 solid;
    margin-top: 4.0rem;
}

.div_area0 {
    text-align: center;
}

.div_area0 h2 {
    font-size: 2.2rem;
}

.div_area0 .area0_text {
    font-size: 1.6rem;
    color: var(--primary-font-color);
}

.div_area1 img {
    width: 100%;
    border-radius: 10px;
}

.div_area1 figure,
.text {
    padding: 1rem !important;
}

.div_area2 {
    background-color: #fff;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.section_main {
    padding: 4vw 8vw var(--global-space);
}

.list-grid .list * {
    margin: 0;
    padding: 0;
}


/**** フッター ****/
header {
    font-weight: normal;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    /*文字間隔を少しだけ広く*/
    background-color: #fff;
    padding: 1rem 2rem;
    display: flex;
    /* Flexboxを使って要素を配置 */
    justify-content: space-between;
    /* 要素を両端に配置 */
    align-items: center;
    /* 垂直方向の中央揃え */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    /* スクロールしてもヘッダーを固定 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    /* 他の要素の上に表示 */
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-font-color);
    text-decoration: none;
}

.header-nav ul {
    display: flex;
    /* ナビゲーションリンクを横並びにする */
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav li {
    /* リンク間のスペース：タブレットで一部崩れるため、コメントアウト */
    /* margin-left: 2rem; */
}

.header-nav a {
    color: var(--primary-font-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.header-nav a:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    /* デフォルトでは非表示 */
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-font-color);
}

/* モバイル用ナビゲーション */
@media screen and (max-width: 700px) {
    header {
        justify-content: space-between;
    }

    .site-branding {
        display: block;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        /* 縦並びにする */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .header-nav.is-open {
        display: flex;
        /* オープン時に表示 */
    }

    .header-nav ul {
        /* 縦並びに変更 */
        display: block;
    }

    .header-nav li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .header-nav a {
        display: block;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }
}

main {
    position: relative;
}

main h2 {
    position: relative;
    text-align: center;
    margin: 0 0 2rem;
    font-family: serif;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #008847;
    border-bottom: solid 1px #c1c1c1;
}

main h3 {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    font-weight: normal;
}

/**** フッター ****/
.twoblock_area {
    padding: 2rem var(--global-space);
}

#footer-contents {
    padding: 4vw 8vw var(--global-space);
    background-color: #d1d1d1;
    color: var(--primary-font-color);
}

/*画面幅800px以上の追加指定*/
@media screen and (min-width:800px) {
    .list-grid {
        display: grid;
        gap: 1rem;
    }

    .list-grid .list {
        margin-bottom: 0;
    }

    .list-grid1 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .list-grid2 {
        grid-template-columns: 1fr 1fr;
    }
    .top_news_list {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .top_news_list a div.list{
        padding: 1rem 0;
    }

    .top_news_list figure{
        grid-template-columns: 1fr 1fr 1fr 1fr;
        text-align: center;
        margin: -1rem auto!important;
    }

    .top_news_list .news_detail_text {
        margin-top: 1.0rem;
        padding: 1.5rem;
    }
    .news_img {
        max-height: 500px;
    }
}
/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

    html,
    body {
        font-size: 16px;
    }

    .twoblock_area {
        display: flex;
        gap: var(--global-space);
    }

    .twoblock_area .left {
        margin-bottom: 0;
        width: 50%;
    }

    .twoblock_area .right {
        width: 50%;
    }

    #footer-contents {
        display: flex;
        gap: var(--global-space);
    }

    /*左側のブロック*/
    #footer-contents .left {
        margin-bottom: 0;
        width: 50%;
    }

    /*右側のブロック*/
    #footer-contents .right {
        width: 50%;
    }

}

small {
    font-size: 100%;
}

footer {
    font-size: 0.8rem;
    background: #1d1d1d;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
}

ul.icons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-self: center;
    gap: 1rem;
}

.icons li {
    font-size: 4.0rem
}

.fa-line {
    color: #00c300;
}

.cta-buttons .fa-line {
    color: #ffffff;
}

.fa-instagram {
    color: #8e25cb;
}

.iframe-box {
    width: 100%;
    height: 0;
    padding-top: 50%;
    position: relative;
    overflow: hidden;
}

.iframe-box iframe {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.list-grid .list {
    display: grid;
    margin-bottom: 1rem;
}

.list-grid .list p {
    font-size: 0.90rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
}

.list-grid .list {
    padding: 1rem;
    background: #ffffff;
    grid-template-rows: auto 1fr auto;
    border: var(--primary-border);
    border-radius: 10px;
}

.list-grid .list figure {
    margin: -1rem;
    margin-bottom: 0.5rem;
}

.list-grid1 .list {
    background: #f5f5f5;
    border: var(--primary-border);
}

.list.arrow_box {
    border: 1px solid #dddddd;
}

.line_btn,
.tel_btn {
    opacity: 0;
    /* 最初は非表示 */
    visibility: hidden;
    /* 最初は非表示 */
    transition: opacity 0.5s ease, visibility 0.5s ease;
    /* スムーズな表示/非表示 */
}

.line_btn.scroll-show,
.tel_btn.scroll-show {
    opacity: 1;
    /* スクロールで表示 */
    visibility: visible;
    /* スクロールで表示 */
}

.line_btn a {
    display: block;
    text-decoration: none;
    text-align: center;
    z-index: 99;
    position: fixed;
    right: 1rem;
    bottom: 20px;
    color: #fff;
    font-size: 1.5rem;
    background: rgb(3 199 85);
    width: 12rem;
    line-height: 60px;
    border-radius: 9999px;
    padding: 0 1rem;
}

.tel_btn a {
    display: block;
    text-decoration: none;
    text-align: center;
    z-index: 99;
    position: fixed;
    right: 15rem;
    bottom: 20px;
    color: #fff;
    font-size: 1.5rem;
    background: #2575fc;
    width: 12rem;
    line-height: 60px;
    border-radius: 9999px;
    padding: 0 1rem;
}


.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.c {
    text-align: center !important;
}

.r {
    text-align: right !important;
}

.mb0 {
    margin-bottom: 0px !important;
}

.large {
    font-size: 2em;
    letter-spacing: 0.1em;
}

.padding_l05 {
    padding-left: 0.5rem;
}

.pc_none {
    display: none;
}

.sp_none {
    display: block;
}

.block {
    display: block !important;
}

/* CTAボタンのスタイル */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    padding: 15px 30px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* 電話ボタンのスタイル */
.phone-button {
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
}

.phone-button:hover {
    background: linear-gradient(to right, #2575fc 0%, #6a11cb 100%);
}

/* LINEボタンのスタイル */
.line-button {
    background: linear-gradient(to right, #00c300 0%, #00e600 100%);
}

.line-button:hover {
    background: linear-gradient(to right, #00e600 0%, #00c300 100%);
}

/* 矢印のスタイル */
.cta-button::after {
    content: '▶';
    position: absolute;
    right: 15px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.cta-button:hover::after {
    transform: translateX(5px);
}

.arrow_box {
    position: relative;
    color: var(--primary-border);
}

.arrow_box:after,
.arrow_box:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box:after {
    border-top-color: #fff;
    border-width: 24px;
    margin-left: -24px;
}

.arrow_box:before {
    border-top-color: var(--primary-border);
    color: var(--primary-border);
    border-width: 25px;
    margin-left: -25px;
}

/* Slider specific styles */
.slider img {
    width: 100%;
    height: auto;
}

.top_text .bg-wrap {
    position: relative;
    display: inline-block;
    margin-top: 5px;
}

.top_text.is-animated .bg-wrap::before {
    animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    background: linear-gradient(to right, #362ae0 0%, #3b79cc 50%, #42d3ed 100%);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: left center;
}

.top_text .bg-wrap .inn {
    display: inline-block;
    font-weight: bold;
    padding: 5px 15px;
    position: relative;
    z-index: 1;
}

/* ニュース関連 */
/* ニュース詳細ページ */
.news_contents h2 {
    text-align: left;
    margin: 0;
}

.news_img {
    display: block;
    margin: 30px auto 0;
}

/* ニュース一覧 */
.top_news_list a {
    color: #606060;
    text-decoration: none;
}

.top_news_list a:hover {
    filter: brightness(1.1);
}

.top_news_list div.list:hover {
    border: 1px solid #dbca57;
}

.news_text {
    padding: 0 1rem;
}

.news_text>p {
    word-wrap: break-word;
}

.top_news_list img {
    max-height: 30rem;
    min-height: 30rem;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}

.top_news_list {
    display: grid;
    gap: 1rem;
}

/* フェードインアニメーションのスタイル */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in.is-show {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* キャスト一覧・TOPキャスト箇所 */
.cast_list a {
    color: var(--cast-font-color);
    text-decoration: none;
}

.cast_list a:hover {
    filter: brightness(1.1);
}

.cast_list div.list:hover {
    border: 1px solid #dbca57;
}

/* TOPのキャスト一覧画像 */
.top_cast_list img {
    max-height: 38rem;
    min-height: 38rem;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}

.top_cast_list {
    grid-template-columns: 1fr 1fr 1fr 1fr!important;
    display: grid;
    gap: 1rem;
}

.list-grid.top_cast_list a:nth-of-type(9) {
    display: none;
}

.top_cast_list .cast_detail_text {
    padding: 1rem;
}


.cast_list .more_btn{
    display: block;
    border-radius: 100px;
    background: #fff;
    color: #008847;
    border: 1px solid #008847;
    font-size: 18px;
    font-weight: bold;
    padding: 0.8em;
    text-align: center;
    width: 16rem;
    margin: 2rem auto 0;
}

.cast_list .more_btn:hover{
    filter: brightness(1.2);
}
/* Swiperの追加スタイル */
/* Swiperのリストは個別のスタイルを適用 */
.swiper-slide .list {
    background: #f5f5f5;
    border: var(--primary-border);
    height: 100%;
    /* 親のswiper-slideの高さに合わせる */
    display: flex;
    flex-direction: column;
    padding: 0;
    /* .list 自体のパディングをリセット */
    border-radius: 10px;
    /* .list コンテナに角丸を適用 */
}

.swiper-slide .list figure {
    /* 画像コンテナ */
    width: 100%;
    /* figure が親要素の幅全体を占めるようにする */
    /* height: 300px; */
    overflow: hidden;
    margin: 0;
    /* 継承される可能性のあるマージンをリセット */
    border-radius: 10px 10px 0 0;
    /* 上部のみ角丸を適用 */
}

.swiper-slide .list figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像のアスペクト比を維持して、指定されたサイズを覆う */
    display: block;
}

.swiper-slide .list .text {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
    color: #000;
}

.swiper {
    width: 100%;
    /* Swiperコンテナの幅 */
    height: auto;
    /* 高さはコンテンツに合わせる */
    padding-bottom: 60px;
    /* ページネーションのスペースを確保 */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* スライド内のコンテンツの高さを揃える */
}

/* スライド内のコンテンツ（.list）の高さ統一 */
.swiper-slide .list {
    height: 100%;
    /* 親のスライド要素の高さに合わせる */
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--primary-font-color);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.height_img_sp_none {
    display: block;
}

.height_img_sp_block {
    display: none;
}

/* single-cast.php 専用のスタイル ====START==== */

.cast-hero {
    background-color: #f8f8f8;
    padding: 4vw 8vw;
    text-align: center;
}

.cast-name {
    font-size: 3rem;
    font-weight: bold;
    color: var(--cast-font-color);
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
}

.cast-main-image-wrapper {
    text-align: center;
    margin: 2rem auto;
}

.cast-main-image {
    max-width: 80%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cast-store-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.cast-description-section {
    padding: 4vw 8vw var(--global-space);
    background-color: #fff;
}

.cast-description-section h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-font-color);
    border-bottom: solid 1px #c1c1c1;
    padding-bottom: 0.5rem;
}

.cast-description-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary-font-color);
}

.cast-gallery-section {
    padding: 4vw 8vw var(--global-space);
    background-color: #f8f8f8;
}

.cast-gallery-section h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-font-color);
    border-bottom: solid 1px #c1c1c1;
    padding-bottom: 0.5rem;
}

.cast-gallery-section img {
    max-height: 30rem;
}
/* Swiperギャラリーのスタイル */
.cast-gallery-swiper-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.cast-gallery-swiper-slide figure {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cast-gallery-swiper-slide figure img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cast-gallery-swiper-slide figure img:hover {
    transform: scale(1.05);
}

/* single-cast.php 専用のスタイル ====END==== */


/* 画面幅900px以下でのさらに細かい調整 */
@media screen and (max-width: 900px) {

    /* TOP画像上の店名 */
    .top_text .bg-wrap .inn{
        display: none;
    }

    .cta-buttons{
        margin-top: 100px;
    }

    .cta-button {
        width: 30rem;
    }

    .twoblock_area {
        position: relative;
        /* 子要素のabsoluteの基準にする */
        padding: 0;
        height: 0;
        min-height: 125.25vw;
        /* 絶対配置された子要素の高さが親要素に影響するようにmin-heightを設定 */
    }

    .twoblock_area .left {
        position: absolute;
        /* 親要素に対して絶対配置 */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        /* 画像より手前に表示 */
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(0, 0, 0, 0.2);
        /* テキストを見やすくするための半透明のオーバーレイ */
    }

    .twoblock_area .right {
        position: absolute;
        /* 親要素に対して絶対配置 */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .top_text {
        padding-top: 0;
        font-size: 3rem;
        color: #000;
    }

    .slider img {
        filter: brightness(1.1) opacity(90%);
    }

    .top_text p {
        margin-top: 0 !important;
    }

    .font-small {
        font-size: 2rem;
    }

    .arrow_box:after,
    .arrow_box:before {
        border: none;
    }

    /* SwiperのナビゲーションボタンをSPで非表示にする */
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
    .cast_list .more_btn{
        font-size: 14px;
        width: 14rem;
    }
    .top_news_list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* 画面幅767px以下でのさらに細かい調整 */
@media screen and (max-width: 767px) {
    .top_news_list .cast_detail_text {
        padding: 0.25rem;
    }

    .top_news_list {
        gap: 0.25rem;
    }
    .top_cast_list {
        grid-template-columns: 1fr 1fr 1fr!important;
    }

    .list-grid.top_cast_list a:nth-of-type(9) {
        display: block;
    }

    .top_cast_list .cast_detail_text {
        padding: 0.25rem;
    }

    .top_cast_list {
        gap: 0.25rem;
    }

    .top_cast_list img {
        max-height: 14rem;
        min-height: 14rem;
    }
    
    .top_news_list img {
        max-height: 14rem;
        min-height: 14rem;
    }

    /* 縦長用の画像に切り替え */
    .height_img_sp_none {
        display: none;
    }

    .height_img_sp_block {
        display: block;
    }

    .cast-name {
        font-size: 2rem;
    }

    .cast-main-image-wrapper {
        margin: 1.5rem auto;
    }

    .cast-main-image {
        max-width: 300px;
        height: 300px;
    }

    .cast-store-name {
        font-size: 1.2rem;
    }

    .cast-description-content {
        font-size: 1rem;
    }
}

/* 画面幅480px以下でのさらに細かい調整 */
@media screen and (max-width: 480px) {
    .tel_btn a {
        left: 1rem;
    }
    
    .cta-button {
        width: 15rem;
        font-size: 1rem;
        padding: 15px 20px;
    }

    .div_area0 .area0_text {
        font-size: 1.2rem;
    }

    .list-grid2 .list {
        padding: 0.5rem;
        margin-bottom: 3.0rem;
    }

    .top_text {
        font-size: 2rem;
    }

    .font-small {
        font-size: 1.5rem;
    }

    .pc_none {
        display: block;
    }

    .sp_none {
        display: none;
    }

    .cast_detail_text {
        font-size: 0.5rem;
    }

    .cast_list .more_btn{
        padding: 0.6em 0.3rem;
    }

    .list-grid .list .cast_list_store_block{
        font-size: 0.80rem;
        margin-top: 0.25rem;
    }

    .cast_list_store_label{
        display: none;
    }

    .cast-main-image {
        height: 250px;
    }

}

.top_cast_list .list {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: var(--primary-border);
    border-radius: 10px;
    background: #f5f5f5;
    padding: 0;
}

/* 画像コンテナ */
.top_cast_list .list figure {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

/* テキストコンテナ */
.top_cast_list .list .text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
}

/* テキスト内のpタグのマージンをリセット */
.top_cast_list .list .text p {
    margin: 0;
    padding: 0;
}