/* Theme Name: Tetote Cafe */

@charset "utf-8";

/* --- 1. 基本設定（不変） --- */
body {
  background-color: #f8f6e7;
  color: #3b2004;
  font-family: "メイリオ", "Hiragino Sans", sans-serif;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* スルスルと動くようになります */
}

/*---menu page---*/

p { line-height: 3.0; }

/* --- 2. ヘッダー（下線アニメのみ追加） --- */
header, .header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: 80px !important;
  padding: 0 60px !important;
  background-color: #f8f6e7 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

header ul, .header ul {
  display: flex; gap: 50px !important;
  list-style-type: none; padding: 0; margin: 0; font-size: 16px !important;
}

header nav a, .header ul li a {
  color: #3b2004; text-decoration: none; letter-spacing: 0.1em;
  position: relative; padding: 5px 0;
}

/* ヘッダー下線アニメ */
header nav a::after, .header ul li a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 0; height: 1px; background: #3b2004; transition: 0.3s;
}
header nav a:hover::after, .header ul li a:hover::after { width: 100%; }

.header-logo img { height: auto; width: 50px; margin: 0; padding-top: 8px;}

/* --- 3. メインビジュアル（全ページ一括で高さを固定） --- */
.image-box {
  position: relative;
  width: 100%;
  height: 300px !important; /* 400pxから300pxに変更。!importantで強制 */
  overflow: hidden;
  clear: both;
}

/* --- 【追加】トップページ(class="home")の時だけ高さを上書き --- */
.home .image-box {
  height: 600px !important; /* トップページだけ大きく（数値はお好みで） */
}

.image-box img {
  width: 100% !important;
  height: 100% !important; /* 親要素の300pxに強制的に合わせる */
  object-fit: cover;        /* 画像を切り抜いて枠にフィットさせる（伸び防止） */
  display: block;
  filter: brightness(60%);
}

.text1 {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: white !important; font-size: 40px !important;
  font-weight: lighter; letter-spacing: 5px;
  text-align: center; width: 100%; margin: 0; line-height: 1.2;
}
.text1 span { display: block; font-size: 16px; margin-top: 10px; letter-spacing: 2px; }

/* --- 4. コンテナ & SHOP INFO（レイアウト完全復元） --- */
.container {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 40px;
}

.text2 { width: 50%; padding: 20px; letter-spacing: 0.1em; margin-top: 70px; }
.image { width: 50%; margin-right: 35px; margin-top: 180px; margin-bottom: 110px; }
.image img { width: 100%; height: auto; }

.h2-1 { line-height: 2.0; font-weight: inherit; letter-spacing: 0.2em; } /* フォント設定復元 */

.info-text { flex: 1; }
.info-text h2 { font-size: 32px; letter-spacing: 5px; font-weight: 300; margin-left: 40px; }
.sub1 { margin-top: -20px; margin-left: 40px; font-size: 14px; letter-spacing: 0.2em; }
.info-list { margin-top: 80px; }
.info-list p { margin-bottom: 10px; font-size: 14px; letter-spacing: 0.2em; }
.info-list span { display: inline-block; width: 80px; font-weight: bold; margin-left: 40px; }
.desc { margin-top: 10px; margin-left: 125px; font-size: 13px; line-height: 1.8; letter-spacing: 0.2em; }
.btn { margin-top: -30px; margin-left: 120px; margin-bottom: 160px; padding: 10px 30px; border: 1px solid #000; background: transparent; cursor: pointer; color: #3b2004; }
.btn:hover { background: #3b2004; color: #fff; }
.icon { margin-left: 115px; }

.map { flex: 1; padding-right: 20px; margin-top: -30px; margin-right: 20px; }
.map img { width: 100%; height: auto; display: block; }

/* --- 5. NEWSセクション（復元） --- */
.news-img { width: 100%; height: 600px; margin-top: 100px; object-fit: cover; display: block; filter: brightness(70%); }
.news { position: relative; padding: 100px 20px; color: white; }
.overlay { position: absolute; inset: 0; }
.content { position: relative; max-width: 800px; margin: 0 auto; text-align: center; }
.h2-2 { font-size: 36px; letter-spacing: 5px; margin-bottom: -10px; margin-top: 100px; font-weight: lighter; }
.sub { margin-top: 10px; margin-bottom: 40px; font-size: 14px; }

.news-list { text-align: left; margin-top: 50px; }
.news-item { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.5); padding: 15px 0; letter-spacing: 2px; }
.date { width: 120px; font-size: 12px; }
.title { flex: 1; padding: 0 20px; }
.arrow { width: 30px; text-align: right; }
.btn1 { display: inline-block; margin-top: 60px; padding: 10px 30px; border: 1px solid white; text-decoration: none; color: white; font-size: 14px; }
.btn1:hover { background: #3b2004; color: #fff; }

/* --- 6. トップMENUセクション（復元） --- */
.menu { text-align: center; padding: 80px 20px; }
.menu-title { font-size: 36px; letter-spacing: 5px; margin-bottom: -10px; margin-top: 50px; font-weight: lighter; }
.menu-sub { font-size: 16px; margin-bottom: 50px; margin-top: 5px; }
.menu-list { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.menu-item { width: 300px; margin-left: 20px; margin-right: 20px; }
.menu-item img { width: 100%; height: auto; display: block; transition: 0.3s; }
.menu-item img:hover { transform: scale(1.05); }
.menu-item h3 { font-size: 24px; letter-spacing: 4px; font-weight: normal; margin-bottom: 5px; margin-top: 10px; }
.menu-item p { font-size: 16px; margin-top: -20px; }
.menu-btn { display: inline-block; margin-top: 40px; padding: 10px 30px; border: 1px solid; text-decoration: none; font-size: 14px; transition: 0.3s; color: #3b2004; }
.menu-btn:hover { background: #3b2004; color: #fff; }

/* --- 7. メニューページ専用レイアウト（復元） --- */
.menu-section { max-width: 973px; margin: 0 auto; text-align: center; padding: 80px 20px; box-sizing: border-box; }
.menu-section h2 { font-size: 36px; letter-spacing: 5px; font-weight: lighter; margin-top: 50px; margin-bottom: -10px; color: #3b2004; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
.menu-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 4px; }
.menu-grid div { text-align: left; }
.menu-grid div p { color: #3b2004; margin-top: 10px; line-height: 1.6 !important; text-align: left; }
.menu-grid p span:first-child { font-weight: lighter; font-size: 15px; margin-bottom: -20px; display: block; }
.menu-grid p span:last-child { font-weight: lighter; font-size: 16px; display: block; }

.drink-text { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 80px; text-align: left; border-top: none !important; padding-top: 30px; }
.drink-text p { display: flex; justify-content: space-between; align-items: baseline; border-bottom: none !important; margin: 0; padding: 10px 0; }
.drink-text p.menu-desc { display: block; border-bottom: none; font-size: 13px; color: #666; padding-top: 0; }

/* --- 8. CONTACT（アップ解消・文字白・余白復元） --- */
.contact { position: relative; }
.contact-img img { width: 100% !important; height: 500px !important; object-fit: cover !important; filter: brightness(70%); }
.contact-inner { height: 100%; display: flex; align-items: center; justify-content: center; }
.cont { text-align: center; color: #fff; display: flex; flex-direction: column; gap: 15px; }

.contact .cont h2 { font-size: 36px; font-weight: lighter; letter-spacing: 12px; color: #fff !important; margin-bottom: -30px; }
.sub2 { font-size: 16px; letter-spacing: 3px; color: #fff !important; margin-top: 10px; }
.tel { font-size: 30px; letter-spacing: 8px; color: #fff !important; margin-top: -30px; }
.contact .cont .time { font-size: 16px; letter-spacing: 0.15em; color: #fff !important; opacity: 1; margin-top: -80px; margin-bottom: 20px; line-height: 3.0 !important; }

.contact-btn { display: inline-block; padding: 12px 30px; background: #fff; color: #3b2004; text-decoration: none; margin-bottom: 40px;}
.mail { font-size: 20px; font-weight: bold; margin-right: 10px; }

/* --- 9. フッター（下線アニメ付き） --- */
.footer { background: #f8f6e7; text-align: center; padding-top: 60px; color: #3b2004; }
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-nav ul { display: flex; justify-content: center; align-items: center; gap: 60px; list-style: none; padding: 0 0 0 25px; margin: 50px 0 60px 0 !important; width: 100%; }

.footer-nav a { text-decoration: none; color: #333; font-size: 16px; letter-spacing: 2px; position: relative; padding: 5px 0; }
.footer-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: #333; transition: 0.3s; }
.footer-nav a:hover::after { width: 100%; }

.footer-logo h2 { font-size: 40px; font-weight: 400; margin: 0; letter-spacing: 5px; }
.footer-logo p { font-size: 12px; margin-top: 5px; letter-spacing: 2px; }
.footer-info { margin-top: 40px; margin-bottom: 100px; font-size: 16px; letter-spacing: 2px; line-height: 2; }
.footer-info p{line-height: 2;}
.footer-copy { background: #e9e6e1; margin-top: 60px; padding: 10px 0; font-size: 12px; width: 100%;}

/* --- 10. レスポンシブ --- */
@media (max-width: 768px) {
  .menu-grid, .drink-text, .footer-nav ul, .container, .menu-list { flex-direction: column; }
  
  /* スマホサイズでグリッドが左に寄るのを防ぎ、1列にする */
  .menu-grid {
    grid-template-columns: 1fr !important;
  }
  .drink-text {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* shopinfoページなどのコンテナ要素崩れを防ぐ */
  .text2, .image, .info-text, .map {
    width: 100% !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
}

html, body {
    overflow-x: hidden;
}

/* --- パンくずリスト共通設定 --- */
.breadcrumb-area {
    background-color: #f8f6e7;
    padding: 5px 0 20px;
    width: 100%;
}

.breadcrumb-area .container-small {
    max-width: 973px;
    margin: 5px auto 65px auto; /* 左右中央揃え */
    padding: 0 20px;
    font-size: 13px;
    color: #3b2004;
    text-align: left;
    letter-spacing: 0.1em;
    font-family: inherit;
}

.breadcrumb-area ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* リストの間に区切り文字（>）を挿入 */
.breadcrumb-area li+li:before {
    content: ">";
    margin: 0 8px;
    color: #3b2004;
}

.breadcrumb-area a {
    color: #3b2004;
    text-decoration: underline;
}

/* --- Contact送信ボタンのホバー設定 --- */

/* ホバー時の変化をなめらかにするアニメーション */
.contact-btn {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* カーソルを合わせた時の背景色と文字色 */
.contact-btn:hover {
    background-color: #3b2004 !important;
    color: #ffffff !important;
}

/* ボタン内の文字やアイコンの色もホバー時に白にする */
.contact-btn:hover .btn-text,
.contact-btn:hover .mail {
    color: #ffffff !important;
}

/* --- メニューセクション間の余白調整（H2および各セクション間の調整） --- */
.alcohol-section h2, 
.menu-section:nth-of-type(2) h2 {
    margin-top: 80px !important;
}

#drink {
    padding-bottom: 5px !important; /* 下部のパディングで確実に隙間を作る */
}

#alcohol {
    margin-top: -130px !important; /* Alcoholセクション自体の上のマージンを広げる */
}

#lunch {
    padding-bottom: 5px !important; /* 下部のパディングで確実に隙間を作る */
}

#dinner {
    margin-top: -35px !important; /* Alcoholセクション自体の上のマージンを広げる */
}

/* セクション間の余白をNewsページに合わせる */
.section-wrapper {
    padding-top: 60px;    /* Newsページのヘッダー下の余白感 */
    padding-bottom: 60px; /* 次の要素（フッターなど）への余白感 */
    max-width: 1100px;    /* コンテンツの最大幅を統一 */
    margin: 0 auto;       /* 中央寄せ */
}

h2 {
    margin-bottom: 40px; /* 見出しからコンテンツまでの距離 */
}

/* リンクの基本設定 */
.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease; /* すべての変化を滑らかにする */
}

.news-link:hover {
    transform: scale(1.02); /* 少しアップ */
    opacity: 0.9;           /* ほんのり透けさせる */
    cursor: pointer;
}

/* ニュースアイテムのスタイル（必要に応じて調整） */
.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #ccc; /* ニュース間の区切り線など */
}

/* --- Newsページ全体の調整 --- */
.news-list-section {
    background-color: #f8f6e7;
    padding: 0 0 160px 0 !important; 
}

.news-list-container {
    max-width: 973px !important;
    margin: 70px auto 0 !important;
    padding: 0 !important;
    /* ↓一番上の線を、下の線（border-bottom）と全く同じ色・太さにします */
    border-top: 1px solid #3b2004 !important; 
}

.news-list-item {
    display: flex !important;
    align-items: center !important;
    padding: 20px 5px !important;
    border-bottom: 1px solid #3b2004 !important;
    text-decoration: none !important;
    color: #3b2004 !important;
    /* 1. フォントの種類を他と統一（Futura PT + Noto Serif JP） */
    font-family: "futura-pt", "noto serif jp", serif !important;
    
    /* 2. 文字の太さを「500（中太）」に固定して、Shop Infoと質感を合わせる */
    font-weight: 500 !important;

    /* 変化を滑らかにするための設定（0.3秒かけて変化） */
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 1;

    /* 変化のスピードをページネーションと合わせる */
    transition: all 0.3s ease !important;
    background-color: transparent !important; /* 通常時は透明 */
}

.news-list-item:hover {
    
    /* 4. 他の行より手前に表示させる */
    z-index: 2;

    /* 1. 背景を濃い茶色（#3b2004）で塗りつぶす */
    background-color: #3b2004 !important;
    
    /* 2. 中の文字をすべて白にする */
    color: #ffffff !important;
}

/* ホバーした時に矢印（＞）も少し右に動かすとおしゃれです */
.news-list-item:hover .arrow {
    transform: rotate(45deg) translateX(3px) !important;
    opacity: 1 !important;
}

* 矢印（＞）の線も、少し細めにすると画像に近くなります */
.news-list-item .arrow {
    width: 7px !important;
    height: 7px !important;
    border-top: 1px solid #3b2004 !important;
    border-right: 1px solid #3b2004 !important;
    margin-right: 10px !important;
    opacity: 0.8; /* ほんの少しだけ薄くすると画像に馴染みます */
    transform: rotate(45deg) translateX(3px) !important;
}

/* 日付（英数字部分）のフォントをより明確に指定 */
.news-list-item .date {
    width: 100px !important;
    font-size: 13px !important;
    
    /* 英数字用のフォントを優先 */
    font-family: "futura-pt", sans-serif !important;
    letter-spacing: 0.05em !important;
}
/* タイトル（日本語部分） */
.news-list-item .title {
    flex: 1 !important;
    font-size: 14px !important;
    padding-left: 10px !important;
    letter-spacing: 0.1em;
    
    /* 日本語用のフォントを指定 */
    font-family: "noto serif jp", serif !important;
    
    /* 行間が広すぎると別物に見えるので調整 */
    line-height: 1.2 !important; 
}
.news-list-item .arrow {
    width: 10px; height: 10px;
    border-top: 1px solid #3b2004;
    border-right: 1px solid #3b2004;
    transform: rotate(45deg);
}

/* ホバー時に中の要素（日付、タイトル、矢印）も白くする */
.news-list-item:hover .date,
.news-list-item:hover .title,
.news-list-item:hover .arrow {
    color: #ffffff !important;
    border-color: #ffffff !important; /* 矢印の線の色も白に */
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    padding-bottom: 50px;
}

.page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid #3b2004;
    text-decoration: none;
    color: #3b2004;
}

/* --- ページネーションのホバーアクション --- */

.page-num {
    /* 変化を滑らかにする（0.3秒） */
    transition: all 0.3s ease !important;
}

.page-num:hover {
    /* マウスを合わせた時に背景を濃い茶色（または黒）にする */
    background-color: #3b2004 !important; 
    /* 文字の色を白にする */
    color: #ffffff !important;
    
    /* ほんの少しだけ上に浮かせるとボタンらしさが出ます */
    transform: translateY(-2px) !important;
}

/* 現在表示しているページの枠は、ホバーしても色が変わらないように固定（お好みで） */
.page-num.active:hover {
    cursor: default !important;
    transform: none !important;
}

/* --- 幅405pxを維持しつつ、アイコンの並びを完璧に直す --- */
.contact-btn {
    display: inline-flex !important;
    align-items: center !important;     /* 上下中央揃え */
    justify-content: center !important; /* 左右中央揃え */

    width: 405px !important;            /* ユーザー様特定サイズ */
    height: 54px !important; 

    background: #fff !important;
    color: #3b2004 !important;
    text-decoration: none !important;
    line-height: 1 !important;
    margin: 0 auto 40px !important;
    box-sizing: border-box !important;
}

/* news.css に追記 */

.btn-text {
    display: inline-block !important;
    line-height: 3 !important;
    
    /* ★ここが調整ポイントです！ */
    /* 数字を大きくするほど（2px, 3px...）文字が下に下がります */
    /* 逆に上に上げたい場合はマイナス（-1px, -2px...）にします */
    transform: translateY(2px) !important; 
}

.mail {
    display: inline-block !important;
    margin-right: 16px !important;      /* アイコンと文字の間の距離（ここでお好みに調整） */
    font-size: 20px !important;
    line-height: 1 !important;

    /* ↓↓↓ ここが「上下」の微調整ポイントです ↓↓↓ */
    /* アイコンが文字より上に浮いているなら 2px、下に沈んでいるなら -2px のように調整してください */
    transform: translateY(0.5px) !important; 
}

/* Newsページ専用のフッター行間調整 */
.footer-info p {
    /* 1.5 や 2.0 など、数字を大きくするほど行間が広がります */
    line-height: 3 !important; 
    
    /* もし行間が動かない場合は、以下も試してください */
    margin-bottom: 10px !important; /* 行ごとの下の余白で調整する場合 */

    margin-top: -8px !important;
}

/* Newsページ専用：コピーライトの灰色の高さを調整 */
.footer-copy {
    /* 1つ目の数字が「上下」の余白、2つ目の数字が「左右」の余白です */
    /* 上下の数字（今は20px）を大きくすると灰色部分が太くなり、小さくすると細くなります */
    padding: 31px 0 !important; 

    /* もし文字サイズも変えたい場合はここ */
    font-size: 12px !important;
}

.footer-inner {
    /* 1. 一旦、高さを「中身に合わせる」設定にリセット */
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 0 !important; /* 余白を一度リセット */
    
    /* 2. 【ここが解決策】相対位置で強制的にずらす */
    position: relative !important;
    
    /* この数字を大きくすると、今の位置から下にずれていきます */
    /* 1px単位で確実に動くはずです。例: 10px, 20px... */
    top: 8px !important; 

    /* 3. 下にずらした分、フッターの背景が足りなくなるのを防ぐ */
    margin-bottom: 40px !important; 
}

/* --- Shop Info と完全に合わせるパンくず設定 --- */

.breadcrumb-area {
    background-color: #f8f6e7 !important;
    /* Shop Info と同じ余白設定 */
    padding: 10px 0 100px !important; 
    width: 100% !important;
}

/* 共通コンテナの幅とフォントを適用 */
.breadcrumb-area .container-small {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    
    /* フォント設定：Shop Infoに倣ってあえてシンプルに */
    font-size: 13px !important;
    color: #3b2004 !important;
    text-align: left !important;
    letter-spacing: 0.1em !important;
    
    /* 余計な装飾をリセット */
    font-family: inherit !important; 
}

/* もし画像の下に隙間があるならリセット */
.image-box {
    margin-bottom: 0 !important;
    line-height: 0 !important;
}