/* スパ 晴 専用スタイル */

/* 全体のフォント設定 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500&display=swap');

/* アニメーション効果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.menu-category,
.info-item,
.spa-concept,
.featured-menu {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.menu-category.animate,
.info-item.animate,
.spa-concept.animate,
.featured-menu.animate {
    animation: fadeInUp 0.8s forwards;
}

/* タイトルボックス - 右下に配置 */
.titleBox2 {
    position: absolute;
    bottom: 50px;
    right: 50px;
    text-align: center;
    z-index: 10;
}

.titleBox2 h2 {
    margin-bottom: 15px;
    text-align: center;
}

/* 縦線に修正 */
.titleline {
    display: inline-block;
    position: relative;
}

.titleline span {
    display: block;
    width: 1px;
    height: 40px;
    background: #fff;
    margin: 0 auto;
}

/* 予約セクション */
.reservation-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.reservation-section.top {
    background-color: #f8f7f5;
    padding: 30px 20px;
    margin: 0 auto 60px;
    max-width: 1000px;
}

.reservation-section.bottom {
    background-color: #f8f7f5;
    padding: 40px 20px;
    margin: 0 auto 80px;
    max-width: 1000px;
}

.reservation-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: normal;
    letter-spacing: 0.05em;
}

.reservation-phone {
    font-size: 28px;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.reservation-time {
    font-size: 16px;
    margin-bottom: 20px;
}

.reservation-section p {
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.reservation-button {
    display: inline-block;
    padding: 15px 40px;
    background: #d8a8ac;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.reservation-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: width 0.3s ease;
}

.reservation-button:hover {
    background: #a08d62;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.reservation-button:hover:before {
    width: 100%;
}

/* コンセプト */
.spa-concept {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.spa-concept h2 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: normal;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.spa-concept .concept-text {
    max-width: 800px;
    margin: 0 auto 40px;
}

.spa-concept p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.spa-concept .concept-tagline {
    font-size: 20px;
    font-style: italic;
    margin-top: 30px;
    color: #d8a8ac;
}

.concept-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.concept-image {
    width: 48%;
    max-width: 480px;
}

.concept-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* セクションタイトル */
.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
    font-weight: normal;
    letter-spacing: 0.1em;
    position: relative;
}

.section-title:after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background-color: #d8a8ac;
    margin: 15px auto 0;
}

/* メニューセクション */
.menu-section {
    margin-bottom: 80px;
    padding: 0 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.menu-category {
    margin-bottom: 80px;
}

.menu-category h3 {
    font-size: 24px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
    margin-bottom: 30px;
    font-weight: normal;
    letter-spacing: 0.05em;
    position: relative;
    display: flex;
    align-items: center;
}

.menu-category h3 .en-title {
    font-size: 16px;
    color: #d8a8ac;
    margin-right: 15px;
    font-family: 'Times New Roman', serif;
    letter-spacing: 0.1em;
}

.menu-category.signature h3 {
    color: #d8a8ac;
}

.menu-item h5 {
    font-size: 16px;
    margin: 15px 0 10px;
    font-weight: normal;
    color: #d8a8ac;
}

.category-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.menu-item {
    width: 48%;
    margin-bottom: 40px;
    background-color: #fafafa;
    padding: 25px;
    border-radius: 4px;
    box-sizing: border-box;
}

.menu-item.wide {
    width: 100%;
}

.menu-item h4 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: normal;
    letter-spacing: 0.05em;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.menu-item .brand-name {
    font-size: 18px;
    color: #d8a8ac;
    font-style: italic;
    margin-bottom: 15px;
}

.menu-item p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    letter-spacing: 0.03em;
}

.menu-item .price {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.menu-item .price-group {
    margin-top: 15px;
}

.menu-item .menu-details {
    margin: 15px 0;
}

.menu-item .menu-time {
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.menu-item .menu-description {
    font-size: 14px;
    line-height: 1.6;
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

/* おすすめメニュー */
.featured-menu {
    display: flex;
    margin-bottom: 60px;
    background: #f8f7f5;
    padding: 35px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.featured-menu-image {
    width: 40%;
}

.featured-menu-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.featured-menu-content {
    width: 60%;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-menu-content h4 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: normal;
    letter-spacing: 0.05em;
    color: #d8a8ac;
    position: relative;
    display: inline-block;
}

.featured-menu-content h4:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #d6cfc0;
}

/* フィーチャードメニューのコンテンツも左揃えに変更 */
.featured-menu-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left; /* 左揃えに変更 */
}

.featured-menu-content .price {
    font-size: 18px;
    color: #666;
    text-align: left; /* 左揃えに変更 */
}

/* 利用案内セクション */
.info-section {
    margin-bottom: 80px;
    padding: 0 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.info-item {
    width: 48%;
    margin-bottom: 40px;
}

.info-item h3 {
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: normal;
    letter-spacing: 0.05em;
}

.info-item p, .info-item ul {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-item ul {
    padding-left: 20px;
}

.info-item li {
    margin-bottom: 5px;
}

/* イメージギャラリー */
.gallery-section {
    margin-bottom: 80px;
    padding: 0 20px;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-image {
    width: calc(25% - 15px);
    height: 250px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.gallery-image:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px 15px; /* 左右の余白を増やし */
    font-size: 14px;
    line-height: 1.4; /* 行間を調整 */
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* パディングを幅に含める */
    overflow: hidden; /* はみ出た文字を隠す */
    text-overflow: ellipsis; /* 必要に応じて省略記号を表示 */
    /* 長い文を2行まで表示 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* モバイル端末ではキャプションを常に表示 */
@media (max-width: 768px) {
    .gallery-caption {
        opacity: 1;
        font-size: 12px; /* モバイルでは文字を小さく */
        padding: 8px 12px; /* モバイルでは余白を小さく */
    }
}

.gallery-image:hover .gallery-caption {
    opacity: 1;
}

/* 特別なスタイリング要素 */
.weather-transition {
    position: relative;
    display: inline-block;
    color: #d8a8ac;
}

.weather-transition:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d6cfc0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.weather-transition:hover:before {
    transform: scaleX(1);
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* モーダル関連のスタイル */
#gallery-modal {
    display: none;
}

/* PC/SP画像切り替え */
.pc {
    display: block !important;
}

.sp {
    display: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .gallery-image {
        width: calc(33.33% - 15px);
    }
}

@media (max-width: 768px) {
    /* PC/SP切り替え */
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    .titleBox2 {
        bottom: 30px;
        right: 30px;
    }

    .titleBox2 h2 img {
        width: 120px;
        height: auto;
    }

    .titleline span {
        height: 30px; /* スマホサイズでは縦線を短くする */
    }

    .spa-concept h2 {
        font-size: 24px;
        line-height: 1.5;
    }

    .concept-images {
        flex-direction: column;
        align-items: center;
    }

    .concept-image {
        width: 100%;
        max-width: 500px;
        margin-bottom: 15px;
    }

    .menu-item,
    .info-item {
        width: 100%;
    }

    .featured-menu {
        flex-direction: column;
        padding: 20px;
    }

    .featured-menu-image,
    .featured-menu-content {
        width: 100%;
    }

    .featured-menu-content {
        padding-left: 0;
        padding-top: 20px;
    }

    .reservation-section.top,
    .reservation-section.bottom {
        padding: 25px 15px;
    }

    .reservation-phone {
        font-size: 24px;
    }

    .gallery-image {
        width: calc(50% - 10px);
        height: 200px;
    }
}

@media (max-width: 480px) {
    .titleBox2 {
        bottom: 20px;
        right: 20px;
    }

    .titleBox2 h2 img {
        width: 100px;
    }

    .titleline span {
        height: 25px; /* さらに小さい画面では縦線をもう少し短く */
    }

    .section-title {
        font-size: 24px;
    }

    .menu-category h3 {
        font-size: 20px;
    }

    .featured-menu-content h4 {
        font-size: 22px;
    }

    .gallery-image {
        width: 100%;
        margin-bottom: 15px;
        height: 220px;
    }
}

/* シンプルな修正 - 説明文のみ左揃え、他は中央揃え */

/* メニュー項目全体は中央揃えをデフォルトに */
.menu-item,
.featured-menu {
    text-align: center !important;
}

/* 説明文のみ左揃えに */
.menu-item p:not(.brand-name):not(.menu-time),
.featured-menu-content p:not(.brand-name):not(.menu-time) {
    text-align: left !important;
}

/* 情報項目も同様に */
.info-item {
    text-align: center !important;
}

.info-item p,
.info-item ul,
.info-item li {
    text-align: left !important;
}
/* 予約ボタンのスタイル修正 - コンセプトカラー #d8a8ac ベース */

.reservation-button {
    display: block;
    width: 80%;
    max-width: 300px;
    margin: 15px auto;
    padding: 15px 40px;

    /* コンセプトカラー #d8a8ac をベースにした配色 */
    background: #d8a8ac; /* より濃いめのピンク - 読みやすさのため */
    color: #fff; /* 白文字 - コントラスト確保 */

    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500; /* やや太めのフォント */
    letter-spacing: 0.1em; /* 文字間隔を広げる */

    border-radius: 4px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */

    /* スムーズな遷移効果 */
    transition: all 0.3s ease;
}

.reservation-button:hover {
    background: #c69195; /* ホバー時はさらに濃い色に */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.reservation-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 明るめのボタンバリエーション */
.reservation-button.light {
    background: #d8a8ac; /* コンセプトカラーそのまま */
    color: #9e6e72; /* 濃いピンク色のテキスト */
    border: 1px solid #d8a8ac;
}

.reservation-button.light:hover {
    background: #f8edef; /* ホバー時は少し明るく */
    color: #c69195;
}
