@charset "UTF-8";

/* ========================================
   城崎温泉 かに庵 - メインスタイルシート
   ======================================== */

/* ==================== リセット・基本設定 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
    font-size: 16px;
    line-height: 1.8;
    color: #2b1a1a; /* 黒に近い焦茶色 */
    background-color: #faf8f5; /* 薄いピンク味のある肌色 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ==================== カラー変数 ==================== */
:root {
    --base-color: #faf8f5; /* ベースカラー：薄いピンク味のある肌色 */
    --main-color: #ffffff; /* メインカラー：白 */
    --accent-color: #a22e2e; /* アクセントカラー：深い赤色（赤胴色） */
    --text-color: #2b1a1a; /* テキストカラー：黒に近い焦茶色 */
    --border-color: #d4cbc3;
}

/* ==================== ヘッダー ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.header-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    margin-right: 30px;
}

.nav-menu li a {
    font-size: 15px;
    letter-spacing: 0.05em;
    padding: 5px 0;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* ボタン共通 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
    border: 2px solid var(--accent-color);
    background-color: var(--accent-color);
    color: var(--main-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--main-color);
    color: var(--accent-color);
}

.btn-secondary {
    background-color: var(--main-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--main-color);
}

.header-btns {
    display: flex;
    gap: 10px;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--main-color);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    padding: 80px 30px 30px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-list li a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-btns {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* スマホ用固定予約ボタン（PC版では非表示） */
.mobile-fixed-btns {
    display: none;
}

/* ==================== ヒーローセクション ==================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    max-width: 90%;
}

.hero-logo img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));
}

.hero-logo h1 {
    font-size: 60px;
    font-weight: bold;
    color: var(--main-color);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.15em;
}

/* ==================== セクション共通 ==================== */
.section {
    padding: 100px 0;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 60px;
}

.section-title-en {
    display: block;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.2em;
    margin-top: 10px;
    opacity: 0.7;
}

/* ==================== キャッチコピーセクション ==================== */
.catchcopy {
    position: relative;
    padding: 120px 0;
    text-align: center;
    background-color: var(--main-color);
    overflow: hidden;
}

.catchcopy-main {
    font-size: 56px;
    font-weight: bold;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    line-height: 1.4;
}

.catchcopy-sub {
    font-size: 18px;
    line-height: 2;
    letter-spacing: 0.1em;
    max-width: 800px;
    margin: 0 auto;
}

/* ==================== 2カラムレイアウト ==================== */
.two-column {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.two-column.reverse {
    flex-direction: row-reverse;
}

.column-img,
.column-text {
    flex: 1;
}

.column-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.column-title {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.column-desc {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

/* ==================== スライダー（料理セクション） ==================== */
.image-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-item.active {
    opacity: 1;
}

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

/* ==================== おすすめ宿泊プラン ==================== */
.plan-section {
    background-color: var(--main-color);
}

.plan-slider {
    display: none;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.plan-item {
    text-align: center;
}

.plan-item-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
}

.plan-item-title {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.plan-btn-wrap {
    text-align: center;
}

/* ==================== 日帰りプランセクション ==================== */
.daytrip-section {
    background-color: var(--accent-color);
    color: var(--base-color);
}

.daytrip-section .section-title {
    color: var(--base-color);
}

.daytrip-section .btn {
    border-color: var(--base-color);
    background-color: var(--base-color);
    color: var(--accent-color);
}

.daytrip-section .btn:hover {
    background-color: transparent;
    color: var(--base-color);
}

/* ==================== アクセスセクション ==================== */
.access-section {
    padding: 100px 0 0 0;
}

.access-map {
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.access-info {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 30px;
    line-height: 2;
    letter-spacing: 0.05em;
}

.access-info p {
    margin-bottom: 15px;
}

/* ==================== フッター ==================== */
.footer {
    background-color: var(--text-color);
    color: var(--base-color);
    padding: 60px 0 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    display: flex;
    gap: 80px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(250, 248, 245, 0.2);
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.footer-info h3 {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.05em;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    letter-spacing: 0.05em;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social a {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.1em;
}

/* ==================== 下層ページ共通 ==================== */
.page-header {
    margin-top: 70px;
    padding: 80px 0;
    background-color: var(--main-color);
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 30px;
}

.page-content h2 {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin: 60px 0 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.page-content h3 {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin: 40px 0 20px;
}

.page-content p {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
    margin: 20px 0 20px 2em;
    line-height: 2;
}

.page-content ul {
    list-style: disc;
}

.page-content ol {
    list-style: decimal;
}

/* ==================== レスポンシブ対応 ==================== */
@media screen and (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .two-column {
        gap: 40px;
    }
    
    .column-img img {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    /* ヘッダー */
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
        padding-bottom: 100px; /* 下部固定ボタンのスペース確保 */
    }
    
    .header-btns {
        display: none; /* ヘッダーのボタンを非表示 */
    }
    
    .mobile-menu-btns {
        display: none; /* モバイルメニュー内のボタンを非表示 */
    }
    
    .header-logo img {
        height: 32px;
    }
    
    /* スマホ用固定予約ボタン */
    .mobile-fixed-btns {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--main-color);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 10px;
        gap: 10px;
    }
    
    .mobile-fixed-btns .btn {
        flex: 1;
        padding: 15px 10px;
        font-size: 14px;
        border-radius: 0;
    }
    
    /* ページ下部のコンテンツが固定ボタンに隠れないようにする */
    body {
        padding-bottom: 70px;
    }
    
    /* ヒーロー */
    .hero {
        height: 70vh;
    }
    
    .hero-logo img {
        max-width: 280px;
    }
    
    .hero-logo h1 {
        font-size: 36px;
    }
    
    /* セクション */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    /* キャッチコピー */
    .catchcopy {
        padding: 80px 0;
    }
    
    .catchcopy-main {
        font-size: 32px;
    }
    
    .catchcopy-sub {
        font-size: 15px;
        text-align: left;
        padding: 0 20px;
    }
    
    /* 2カラム → 縦積み */
    .two-column,
    .two-column.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .column-img {
        width: 100%;
    }
    
    .column-img img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }
    
    .column-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .column-desc {
        font-size: 15px;
    }
    
    .image-slider {
        height: 300px;
    }
    
    /* プラン → スライダー */
    .plan-grid {
        display: none !important;
    }
    
    .plan-slider {
        display: block !important;
        position: relative;
        overflow: hidden;
        margin-bottom: 40px;
    }
    
    .plan-slider-container {
        display: flex;
        transition: transform 0.3s ease;
    }
    
    .plan-slider-item {
        min-width: 100%;
        padding: 0 20px;
    }
    
    .plan-slider-nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .plan-slider-nav button {
        width: 50px;
        height: 50px;
        background-color: var(--accent-color);
        color: var(--main-color);
        border: none;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .plan-slider-nav button:hover {
        background-color: var(--text-color);
    }
    
    /* アクセス */
    .access-map {
        height: 350px;
    }
    
    /* フッター */
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    /* 下層ページ */
    .page-header {
        padding: 60px 0;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-content {
        padding: 60px 20px;
    }
    
    .page-content h2 {
        font-size: 24px;
    }
    
    .page-content h3 {
        font-size: 20px;
    }
}
