/*
Theme Name: genghiskhanlp-theme
Theme URI: https://genghiskhan.fishing-boat.net/genghiskhanlp-theme
Author: Your Name
Author URI: https://genghiskhan.fishing-boat.net
Description: A minimal custom WordPress theme built from scratch.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-original-theme
Tags: custom, minimal, responsive
*/

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --shop-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --shop-text: #333;
  --shop-text-sub: #666;
  --shop-border: #ddd;
  --shop-accent: #c0392b;
  --shop-link: #2980b9;
  --shop-link-hover: #1a5276;
  --shop-max-width: 800px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* ========================================
   Header
   ======================================== */
  .header-wrap {
    position: sticky;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  [id] {
    scroll-margin-top: var(--header-height, 70px);
  }

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--shop-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 8px 12px;
  }

  .logo-area {
    display: flex;
    flex-direction: column;
  }

  .logo-area a{
    display: block;
  }

  .logo-area img{
    width: 55%;
  }

  /* ============================
     ハンバーガーボタン
     ============================ */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    background: none;
    border: none;
    position: relative;
    z-index: 200;
  }

  .hamburger span {
    display: block;
    width: 32px;
    height: 3px;
    background-color: #1a1a1a;
    position: absolute;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

  .hamburger span:nth-child(2) {
    transform: translateY(0);
  }

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

  /* 三本線 → ×（クロス）アニメーション */
  .hamburger.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }

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

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

  /* ============================
     オーバーレイ背景
     ============================ */
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    z-index: 90;
    transition: background 0.4s ease;
  }

  .overlay.active {
    background: rgba(0, 0, 0, 0.45);
    pointer-events: auto;
  }

  /* ============================
     スライドメニュー（右から）
     ============================ */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 150;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 24px 40px 40px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0);
  }

  .nav-menu.active {
    transform: translateX(0);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  }

  /* メニュー項目 */
  .nav-close-btn {
    align-self: flex-end;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    margin-bottom: 20px;
    flex-shrink: 0;
  }

  .nav-close-btn::before,
  .nav-close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 3px;
    background-color: #1a1a1a;
    transition: background-color 0.25s ease;
  }

  .nav-close-btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .nav-close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .nav-close-btn:hover::before,
  .nav-close-btn:hover::after {
    background-color: #8b6914;
  }

  .nav-menu ul {
    list-style: none;
  }

  .nav-menu ul li {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .nav-menu.active ul li {
    opacity: 1;
    transform: translateX(0);
  }

  /* 各項目の表示ディレイ（順番にスライドイン） */
  .nav-menu.active ul li:nth-child(1) { transition-delay: 0.12s; }
  .nav-menu.active ul li:nth-child(2) { transition-delay: 0.18s; }
  .nav-menu.active ul li:nth-child(3) { transition-delay: 0.24s; }
  .nav-menu.active ul li:nth-child(4) { transition-delay: 0.30s; }
  .nav-menu.active ul li:nth-child(5) { transition-delay: 0.36s; }
  .nav-menu.active ul li:nth-child(6) { transition-delay: 0.42s; }

  .nav-menu ul li a {
    display: block;
    padding: 16px 0;
    text-decoration: none;
    color: #1a1a1a;
    border-bottom: 1px solid #e8e8e8;
    transition: color 0.25s ease, padding-left 0.25s ease;
  }

  .nav-menu ul li a:hover {
    color: #8b6914;
    padding-left: 8px;
  }

  .nav-menu ul li a .label-en {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 2px;
  }

  .nav-menu ul li a .label-ja {
    display: block;
    font-size: 11px;
    color: #888;
    letter-spacing: 2px;
    transition: color 0.25s ease;
  }

  .nav-menu ul li a:hover .label-ja {
    color: #a88a3a;
  }

/* ========================================
   Footer
   ======================================== */
.footer__wrapper{
    background: #3a180d;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding: 20px 0;
}
/* ========================================
   main
   ======================================== */
  main{
    max-width: var(--shop-max-width);
    width: 100%;
    margin: 0 auto;
    font-family: var(--shop-font);
  }
/* ========================================
   menu
   ======================================== */
.menu img{
  width: 100%;
}
.menu__cta{
  background: #FDF6F0;
  padding: 30px 0 10px;
}
.menu__cta__figure{
  padding: 0 20px 40px;
}
/* ========================================
   fv
   ======================================== */
.fv__cta{
  background: #FDF6F0;
  padding: 30px 0 10px;
}
.fv__cta__figure{
  padding: 0 20px 40px;
}
/* ========================================
   faq
   ======================================== */
.faq {
    background-color: #f5f0eb;
    padding: 60px 0;
}

.faq__wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* タイトル画像 */
.faq__title {
    text-align: center;
    margin-bottom: 40px;
}

.faq__title img {
    width: min(50%, 280px);
    height: auto;
    margin: 0 auto;
}

.faq__item{
    padding: 0 20px 20px;
    border-bottom: 1px solid #e0dbd6;
    margin-bottom: 25px;
}

.faq__item:last-of-type{
  border-bottom: none;
}

/* 質問 */
.faq__question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq__question .faq__icon img {
    width: 32px;
    height: auto;
    flex-shrink: 0;
}

.faq__question-text {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/* 回答 */
.faq__answer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
}

.faq__answer-text a{
  display: block;
  font-weight: 700;
}

.faq__answer .faq__icon img {
    width: 22px;
    height: auto;
    flex-shrink: 0;
}

.faq__answer-text {
    font-size: 15px;
    font-weight: 400;
    color: #555;
    line-height: 2;
    margin: 0;
    padding-top: 2px;
}

.faq__answer-text span {
    font-weight: 700;
    color: #D35838;
}

/* アイコンfigureリセット */
.faq__icon {
    margin: 0;
    flex-shrink: 0;
    line-height: 0;
}

.faq__title {
    margin: 0 0 40px;
    line-height: 0;
}
/* ========================================
   access
   ======================================== */
.access{
  border-top: 1px solid #e0dbd6;
  padding: 40px 0;
}

.access__wrapper {
  max-width: var(--shop-max-width);
  margin: 40px auto;
  padding: 0 16px;
  font-family: var(--shop-font);
  color: var(--shop-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* タイトル画像 */
.access__wrapper__title {
    text-align: center;
    margin-bottom: 40px;
}

.access__wrapper__title img {
  width: min(50%, 280px);
  height: auto;
  margin: 0 auto;
}

.access__wrapper__map{
  margin-bottom: 24px;
}

.access__wrapper__map iframe{
  height: 500px;
}

.access__wrapper__sub{
  margin-bottom: 28px;
}

.access__wrapper__sub img{
  width: min(70%, 280px);
  height: auto;
}

.access__wrapper__slider{
  margin-bottom: 40px;
}
 
/* ---------- テーブル本体 ---------- */
.access__wrapper__table {
  width: 100%;
  border-spacing: 0;
  border-bottom: 1px solid var(--shop-border);
  overflow: hidden;
}
 
.access__wrapper__table tr {
  border-bottom: 1px solid var(--shop-border);
}
 
.access__wrapper__table tr:last-child {
  border-bottom: none;
}
 
.access__wrapper__table tr:last-child th,
.access__wrapper__table tr:last-child td {
  border-bottom: none;
}
 
.access__wrapper__table th,
.access__wrapper__table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--shop-border);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
 
.access__wrapper__table th {
  width: 140px;
  min-width: 120px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
 
.access__wrapper__table td {
  background: #fff;
}
 
/* ---------- アクセス内のサブ項目 ---------- */
.access__wrapper__table .item {
  margin-bottom: 14px;
}
 
.access__wrapper__table .item:last-child {
  margin-bottom: 0;
}
 
.access__wrapper__table .item .icon {
  font-size: 18px;
  margin-right: 4px;
}
 
.access__wrapper__table .item .label {
  font-weight: 600;
}
 
/* ---------- リンク ---------- */
.access__wrapper__table  a {
  color: var(--shop-link);
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}
 
.access__wrapper__table  a:hover {
  color: var(--shop-link-hover);
  text-decoration: underline;
}
 
/* ---------- 注釈 ---------- */
.access__wrapper__table .note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--shop-text-sub);
}
.access__wrapper__table__list{
  list-style: none;
}

.access__wrapper__table__list li{
  margin: 8px 0;
}

.swiper {
    padding-bottom: 40px;
}

.swiper-pagination {
    bottom: 0 !important; /* padding領域に配置 */
}

.swiper-pagination-bullet{
  margin: 0 10px !important;
}

.swiper-pagination-bullet-active {
    background: #272727;
}

/* ========================================
   cta
   ======================================== */
.cta{
    padding: 0 12px;
    margin: 0 auto 48px;
}

.cta__ban{
  padding: 0px 12px;
  margin-bottom: 44px;
}

.cta__title{
    margin-bottom: 16px;
}

.cta__figure{
    margin-bottom: 24px;
}

.cta__figure img{
    width: 85%;
    margin: 0 auto;
}

.cta__btn{
    margin-bottom: 24px;
}

.cta__btn a{
    display: block;
}

.cta__text{
    font-size: 12px;
    text-align: center;
}

/* ========================================
   info
   ======================================== */
.info{
  padding: 0 12px 36px;
}

/* ========================================
   Responsive (PC)
   ======================================== */
@media (min-width: 769px) {
  .fv__cta{
    padding: 60px 0 20px;
  }
  .fv__cta__figure{
    padding: 0 40px 80px;
  }
  .menu__cta{
    padding: 60px 0 20px;
  }
  .menu__cta__figure{
    padding: 0 40px 80px;
  }
  .faq__item{
    padding: 0 40px 40px;
    margin-bottom: 50px;
  }

  .faq__question{
    gap: 20px;
  }

  .faq__question-text {
    font-size: 18px;
  }

  .faq__answer{
    gap: 20px;
  }

  .faq__answer-text {
    font-size: 17px;
  }

  .faq__answer .faq__icon img{
    width: 30px;
  }

  .access__wrapper__table th,
  .access__wrapper__table td {
    font-size: 17px;
  }

  .access__wrapper__table .note {
    font-size: 14px;
  }

  .cta__ban{
    padding: 0px 24px;
    margin-bottom: 88px;
  }

  .cta__text {
    font-size: 14px;
  }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .site-header .header-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .entry-title {
    font-size: 1.5rem;
  }
/* ========================================
   faq
   ======================================== */
  .faq {
    padding: 40px 0 10px;
  }

  .faq__question{
    align-items: center;
  }

  .faq__question-text {
    font-size: 15px;
  }

  .faq__answer-text {
    font-size: 14px;
  }
/* ========================================
   access
   ======================================== */
  .access__wrapper {
    margin: 20px auto;
    padding: 0 12px;
  }

  .access__wrapper__map iframe{
    height: 300px;
  }
 
  .access__wrapper__table th,
  .access__wrapper__table td {
    padding: 16px 12px;
    font-size: 13px;
  }
 
  .access__wrapper__table th {
    width: 90px;
    min-width: 80px;
    font-size: 12px;
    white-space: normal;
  }
 
  .access__wrapper__table .item .icon {
    font-size: 15px;
  }
 
  .access__wrapper__table .note {
    font-size: 11px;
  }
}
