/* ベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 全体リセット */
body, h1, h2, p, ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

body {
  max-width: 1920px;
  margin: 0 auto;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #333;
}

.pc-only {
  display: block;

  @media (max-width:768px) { 
    display: none;
  }
}

.sp-only {
  display: none;

  @media (max-width:768px) { 
    display: block;
  }
}

.inline-block {
  display: inline-block;
}

/* 共通コンポーネント　ここから↓ */

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* 他の要素より前面に表示 */
  background-color: #bc002d;
  color: white;
}

header .content {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1920px;
  margin: 0 auto;
}

header .logo {
  padding: 0 20px;
}

header .logo img {
  width: 70px;
}

header nav ul {
  list-style: none;
  display: flex;
}

header nav ul li {
  margin-right: 20px;

  @media (max-width:800px) { 
    margin-right: 14px;
  }
}

header nav ul li a {
  color: white;
  text-decoration: none;
}

header .translate {
  padding: 2%;

  @media (max-width:768px) {
    padding: 2% 10%;
  }
}

/* ハンバーガーメニュー（スマホ用） */
@media (max-width:768px) { 
  header .hamburger {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    padding: 20px;
    z-index: 1001;
    cursor: pointer;
    background-color: #fff;
    border-radius: 50%;
  }

  header .hamburger .box {
    position: absolute;
    top: 14%;
    left: 24%;
  }
  
  header .hamburger span {
    display: block;
    width: 25px;
    height: 25px;
    background: #bc002d;
    margin: 6px 0;
    transition: 0.3s;
    border-radius: 50%;
  }
  
  /* メニュー */
  header .sp-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: #bc002d;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    z-index: 1000;
    padding-top: 60px;
  }
  
  header .sp-nav ul {
    list-style: none;
    padding: 20px 0;
    flex-direction: column;
    margin: 0 auto;
    width: 90%;
    border-radius: 20px;
  }
  
  header .sp-nav ul li {
    border-bottom: 1px solid #ddd;
    background: white;
    width: 100%;
  }

  header .sp-nav ul li:first-child {
    border-radius: 20px 0 0 0;
  }

  header .sp-nav ul li:last-child {
    border-radius: 0 0 20px 0;
  }
  
  header .sp-nav ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
  }
  
  header .sp-nav ul li a:hover {
    background: #f4f4f4;
  }
  
  /* オーバーレイ */
  header .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
  }
  
  /* メニューが開いた時のスタイル */
  header .sp-nav.open {
    right: 0;
  }
  
  header .overlay.show {
    opacity: 1;
    visibility: visible;
  }
}

/* メイン */
main {
  background: url('../img/traditional_back.jpg');
  position: relative;
  z-index: 0;
}

/* フッター */
footer {
  background-color: #333;
  color: white;
  padding: 20px 0;
  text-align: center;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

footer ul li {
  margin: 0 10px;
}

footer ul li a {
  color: white;
  text-decoration: none;
}

/* 下層ページ メインビジュアル */
.lower_fv {
  text-align: center;
  color: white;
  padding: 100px 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 1;
  margin-top: 95px;

  @media (max-width:768px) {
    margin-top: 0;
  }
}

.lower_fv h1 {
  font-size: 36px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 1px #000;
}

.lower_fv p {
  font-size: 20px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 1px #000;
}

/* セクション共通スタイル */
section {
  text-align: center;
  padding: 50px 20px;
}

section .content {
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

section p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px;
}

section img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.flex {
  display: flex;

  @media (max-width:768px) {
    flex-direction: column;
  }
}

.left {
  width: 40%;

  @media (max-width:768px) {
    width: 100%;
  }
}

.right {
  width: 60%;
  padding: 20px;
  text-align-last: left;

  @media (max-width:768px) {
    width: 100%;
  }
}


/* トップページ　ここから↓ */

/* メインビジュアル */
.index .sliderArea {
  max-width: 100%;
  margin: 0 auto;
}
.index .sliderArea.w300 {
  max-width: 300px;
}

.slick-list {
  @media (max-width:1200px) {
    margin-top: 60px;
  }

  @media (max-width:768px) {
    margin-top: 0;
  }
}

.index .slick-slide {
  margin: 0 5px;
}
.index .slick-slide img {
  width: 100%;
  height: auto;
}
.index .slick-prev, .slick-next {
  z-index: 1;
}
.index .slick-prev:before, .slick-next:before {
  color: #000;
}
.index .slick-slide {
  transition: all ease-in-out .3s;
  opacity: .2;
}
.index .slick-active {
  opacity: 1;
}
.index .slick-current {
  opacity: 1;
}
.index .thumb {
  margin: 20px 0 0;
}
.index .thumb .slick-slide {
  cursor: pointer;
}
.index .thumb .slick-slide:hover {
  opacity: .7;
}

/* スライダー */
.index .slider {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.index .item {
  position: relative; /* 各スライドの相対位置を明示 */
  width: 100%;
}

.index .slider img {
  width: 100%;
  height: auto;
  display: block;
}

.index .content-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  gap: 40px;

  @media (max-width:768px) {
    flex-direction: column;
  }
}

.index .content-section:nth-child(even) {
  flex-direction: row-reverse;

  @media (max-width:768px) {
    flex-direction: column;
  }
}

.index .content-section .text {
  max-width: 500px;
}

.index .content-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.index .content-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.index .content-section .image {
  flex: 1;
}

.index .content-section .image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.index .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #ff7f50;
  color: white;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s ease;
}

.index .btn:hover {
  background: #ff6347;
}

.index .contact {
  background-color: #333;
}

.index .contact h2 {
  color: #fff;
}

.index .contact p {
  color: #fff;
  text-align: left;
}

.index .contact .btn {
  padding: 12px 65px;
}

/* 魅力ページ　ここから↓ */
.charm .lower_fv {
  background-image: url('../img/charm_fv.jpg');
}

/* 季節ページ　ここから↓ */
.season .lower_fv {
  background-image: url('../img/season_fv.jpg');
}

/* 伝統文化ページ　ここから↓ */
.traditional .lower_fv {
  background-image: url('../img/traditional_fv.jpg');
}

/* 観光ページ　ここから↓ */
.sightseeing .lower_fv {
  background-image: url('../img/sightseeing_fv.jpg');
}

/* お問合せページ　ここから↓ */
.contact .lower_fv {
  background-image: url('../img/contact_fv.jpg');
}

/* お問い合わせフォーム */
.contact #contact-form {
  padding: 120px 20px 200px;
}

.contact #contact-form .content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.contact form {
  display: flex;
  flex-direction: column;
}

.contact label {
  margin: 10px 0 10px;
  font-weight: bold;
  text-align: left;
}

.contact input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact textarea {
  height: 150px;
}

.contact .checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact .checkbox input {
  margin: 0;
  max-width: 50px;
}

.contact button {
  background-color: #ff7f50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact button:hover {
  background-color: #0056b3;
}