@charset "UTF-8";

/* =========================================
   Base Setup (Hidamari Sekkotsu)
   ========================================= */
:root {
    --bg-color: #f6f5f0;   /* 生成り色（和紙のような白） */
    --card-bg: #ffffff;
    --text-main: #594a4e;  /* こげ茶（やわらかい黒） */
    --accent: #cc5533;     /* テラコッタ（朱色に近いオレンジ） */
    --accent-sub: #dcbfa6; /* ベージュ */
    --font-mincho: 'Shippori Mincho', serif; /* 見出し用 */
    --font-gothic: 'Zen Kaku Gothic New', sans-serif; /* 本文用 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-gothic);
    line-height: 1.9;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px; /* 方眼紙のような薄い模様 */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }
ul { list-style: none; }

/* 縦書きクラス（和モダン演出） */
.tategaki {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.2em;
    line-height: 2;
    font-family: var(--font-mincho);
}

/* アニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Header (Standard Sticky)
   ========================================= */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(246, 245, 240, 0.95);
    border-bottom: 1px solid #ddd;
    padding: 1rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
}

.logo {
    font-family: var(--font-mincho);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex; align-items: center; gap: 0.5rem;
}
.logo::before {
    content: ''; display: inline-block; width: 15px; height: 15px;
    background: var(--accent); border-radius: 50%; /* 太陽のイメージ */
}

.nav ul { display: flex; gap: 2rem; }
.nav a {
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}
.nav a:hover, .nav a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--text-main); margin: 6px 0; }

/* =========================================
   Hero Section (Split Book Style)
   ========================================= */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 5%;
    position: relative;
}
/* 枠線で囲ってポスター/表紙風にする */
.hero-frame {
    width: 100%; max-width: 1100px; height: 100%;
    border: 1px solid var(--text-main);
    padding: 1rem;
    position: relative;
    display: flex;
}
.hero-content {
    flex: 1;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    padding: 3rem;
}
.hero-title {
    font-size: 2.5rem;
    height: 300px; /* 縦書きの高さ */
    border-left: 1px solid var(--accent); /* 行頭の線 */
    padding-left: 1.5rem;
    margin-right: 2rem;
}
.hero-msg {
    font-size: 1.1rem;
    height: 200px;
    color: var(--text-main);
}
.hero-img {
    flex: 1.5;
    position: relative;
}
/* 角を少し落とす */
.hero-img img { border-radius: 4px; filter: saturate(0.9); }

/* =========================================
   Grid Layout Components
   ========================================= */
.section { padding: 6rem 5%; }
.container { max-width: 1000px; margin: 0 auto; }

.section-header {
    margin-bottom: 4rem; text-align: center;
    position: relative;
    padding-bottom: 1rem;
}
.section-header::after {
    content: ''; display: block; width: 40px; height: 2px;
    background: var(--accent); margin: 1rem auto 0;
}
.section-header h2 {
    font-family: var(--font-mincho); font-size: 2rem;
}
.section-header span {
    font-size: 0.9rem; color: var(--accent); letter-spacing: 0.1em;
}

/* Tile Grid */
.grid-tile {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.tile-card {
    background: var(--card-bg);
    padding: 2rem;
    border: 1px solid #eee;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.05); /* 影をハードにして紙っぽく */
    transition: 0.3s;
    position: relative;
}
.tile-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 rgba(204, 85, 51, 0.2); /* アクセント色の影 */
}
.tile-icon {
    font-size: 2rem; color: var(--accent); margin-bottom: 1rem;
}
.tile-title {
    font-family: var(--font-mincho); font-size: 1.3rem; margin-bottom: 1rem;
}

/* Button */
.btn-square {
    display: inline-block;
    background: var(--text-main); color: #fff;
    padding: 1rem 3rem;
    font-family: var(--font-mincho);
    transition: 0.3s;
    border: 1px solid var(--text-main);
}
.btn-square:hover {
    background: #fff; color: var(--text-main);
}

/* =========================================
   Sub Pages
   ========================================= */
.page-head {
    background: var(--accent-sub); /* ベージュ背景 */
    padding: 4rem 5%;
    text-align: center;
    margin-bottom: 5rem;
}
.page-title {
    font-family: var(--font-mincho); font-size: 2rem;
    border: 1px solid var(--text-main);
    display: inline-block; padding: 1rem 3rem;
    background: #fff;
}

/* Text & Image Layout */
.text-img-box {
    display: flex; gap: 3rem; margin-bottom: 4rem; align-items: flex-start;
}
.text-img-box:nth-child(even) { flex-direction: row-reverse; }
.box-img { flex: 1; border: 10px solid #fff; box-shadow: 0 0 10px rgba(0,0,0,0.05); }
.box-text { flex: 1; padding-top: 1rem; }
.box-text h3 {
    font-family: var(--font-mincho); font-size: 1.5rem; margin-bottom: 1rem;
    border-bottom: 1px dotted var(--text-main); padding-bottom: 0.5rem;
}

/* Menu Table */
.menu-table { width: 100%; border-collapse: collapse; background: #fff; margin-bottom: 3rem; }
.menu-table th, .menu-table td {
    padding: 1.2rem; border-bottom: 1px solid #eee; text-align: left;
}
.menu-table th { width: 30%; background: #fafafa; font-weight: normal; color: var(--text-main); }
.price { font-weight: bold; color: var(--accent); }

/* Form */
.form-paper {
    background: #fff; padding: 3rem; border: 1px solid #ddd;
    box-shadow: 5px 5px 0 #eee; max-width: 700px; margin: 0 auto;
}
input, textarea, select {
    width: 100%; padding: 0.8rem; border: 1px solid #ccc;
    background: #fbfbfb; margin-bottom: 1.5rem; font-family: inherit;
}
.btn-submit {
    width: 100%; padding: 1rem; background: var(--accent); color: #fff;
    border: none; font-family: var(--font-mincho); cursor: pointer; font-size: 1.1rem;
}
.btn-submit:hover { opacity: 0.8; }

/* Footer */
.footer {
    background: #e8e6e1; padding: 4rem 5%; text-align: center; margin-top: 6rem;
    border-top: 5px solid var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .nav { display: none; }
    .hamburger { display: block; }
    
    .hero { height: auto; padding: 6rem 5% 2rem; }
    .hero-frame { flex-direction: column-reverse; border: none; padding: 0; }
    .hero-content { padding: 3rem 1rem; text-align: center; }
    .hero-title { writing-mode: horizontal-tb; height: auto; border-left: none; border-bottom: 1px solid var(--accent); margin: 0 0 1rem 0; padding: 0 0 1rem 0; }
    .hero-msg { writing-mode: horizontal-tb; height: auto; }
    
    .text-img-box, .text-img-box:nth-child(even) { flex-direction: column; gap: 1.5rem; }
}