/*
Theme Name: maru-cafe
Theme URI: https://example.com/maru-cafe
Author: hiro
Author URI: https://example.com
Description: 丸山カフェ向けにデザインされた、レスポンシブ対応のWordPressテーマです。
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maru-cafe
*/

* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho",
    serif;
  overflow-x: hidden;
}

.petal-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.petal {
  position: absolute;
  top: -50px;
  width: 50px;
  height: 50px;
  background-image: url("./images/sakura.png"); /* 画像パスを正しく指定 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  animation: fallAndSway 10s ease-in forwards;
  transform-origin: center;
  z-index: 99999 !important;
  pointer-events: none;
}

@keyframes fallAndSway {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) translateX(50px) rotate(360deg);
    opacity: 0;
  }
}

.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 769px) {
  header {
    width: 100%;
  }

  .swiper {
    width: 100%;
    height: 100vh;
    position: relative;
  }

  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: transform 8s ease;
    opacity: 1;
  }

  .swiper-slide-active img {
    transform: scale(1);
    object-fit: cover;
  }

  .darken-image {
    filter: brightness(70%);
  }

  .header-nav {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  /* ナビ */

  .nav-links {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 20;
  }

  .nav-left,
  .nav-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-left {
    margin-left: 60px;
  }

  .nav-right {
    margin-right: 50px;
  }

  .nav-left ul,
  .nav-right ul {
    display: flex;
    gap: 90px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
  }

  .nav-left li,
  .nav-right li {
    position: relative;
  }

  .menu-item a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.4s ease;
  }

  .menu-item a:hover::after {
    width: 100%;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    margin-top: 30px;
  }

  .logo img {
    height: 200px;
    width: auto;
  }

  .logo-responsive {
    display: none;
  }

  .nav-links a {
    display: block; /* ← これがあれば "block" にするのがベター */
    color: white;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    padding-top: 10px;
    text-align: center; /* ← 中央揃え */
    transition: opacity 0.3s ease;
  }

  /* サブメニュー */

  .menu-item:hover .menu-child {
    display: block;
  }

  .menu-item span {
    margin-left: 150px;
  }

  /* ハンバーガー */
  .hamburger {
    display: none;
  }

  body.menu-open {
    overflow: auto;
  }

  .hamburger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s ease;
  }

  /* ハンバーガー開閉時 */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .header-info {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(240, 255, 255, 0.842);
    z-index: 1;
    padding: 10px 15px;
    border-radius: 8px;
    height: 70px;
    display: flex;
    align-items: center;
  }

  .news-item {
    padding: 40px 50px;
  }

  .header-info a {
    text-decoration: none;
    color: rgb(65, 64, 64);
  }

  .news-date {
    font-size: 0.9rem;
  }

  .news-title {
    text-align: center;
    font-size: 1rem;
  }

  .news-item a:hover {
    color: rgba(65, 64, 64, 0.623);
  }

  /* end */

  /* sec message */

.message-wrap {
  background-color:#f7f7f7 ;
}

  .message-wrap-in {
    padding-top: 250px ;
    padding-bottom: 125px ;
    position: relative;
    z-index: 0;
  }

  .message-container {
    margin: 0 auto;
    max-width: 1000px;
  }

  .message-title {
    display: flex;
    margin-bottom: 100px;
  }

  .message-title h2 {
    font-size: 1.6rem;
  }

  .message-title p {
    font-size: 1.1rem;
    padding-top: 5px;
    padding-left: 20px;
  }

  .message-content {
    display: flex;
    margin: 50px auto;
    width: 100%;
  }

  .message-content h3 {
    width: 20%;
    margin-left: 40px;
  }

  .message-p {
    width: 100%;
    font-size: 0.9rem;
  }

  .fir-p {
    padding-bottom: 15px;
  }

  .sec-p,
  .thi-p {
    padding: 15px 0;
  }

  .message-img {
    display: flex;
    justify-content: center;
    margin-top: 150px;
  }

  .message-img img {
    width: 1000px;
    height: auto;
  }


  /* section menu */

.menu-background-area {
  background-color: #ebf0f1 ;
}

  .menu-grid-inner {
    padding-top: 250px ;
    padding-bottom: 125px;
    margin: 0 auto;
    max-width: 1200px;
    z-index: 10;
  }

  .menu-title {
    font-size: 0.9rem;
    margin-bottom: 100px;
    width: 100%;
  }
  .menu-fir-p,
  .menu-sec-p {
    padding-bottom: 35px;
  }

  .menu-thi-p {
    padding-bottom: 35px;
  }

.menu-for-p {
  margin-left: 300px ;
}


  .menu-text {
    width: 540px;
    padding-top: 90px;
    padding-left: 10px;
  }

  .grid-wrap {
    width: 100%;
    padding-top: 250px ;
    padding-bottom: 125px ;
    background-color:#f7f7f7 ;
  }

  .grid-wrap-title {
    display: flex;
    justify-content: center;
    margin-bottom: 150px;
    max-width: 1000px;
  }

  .grid-wrap-title h3 {
    font-size: 1.6rem;
    margin: 0 20px;
  }

  .grid-wrap-title p {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-top: 5px;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .menu-grid-inner {
    position: relative;
  }

  .menu-container {
    max-width: 1200px;
    display: flex;
  }

  .menu-container h2 {
    margin-bottom: 100px;
    font-size: 1.6rem;
  }

  .menu-container h2 span {
    margin-left: 10px;
    font-size: 1.3rem;
  }

  .menu-container h2 span {
    font-size: 1.4rem;
  }

  .menu-wrap-in-title h2 {
    padding-top: 20px;
    padding-left: 60px;
    font-size: 1.5rem;
  }

  .menu-wrap-in-title {
    margin-bottom: 250px;
    max-width: 1200px;
  }

  .menu-img {
    width: 100%;
  }

  .img-right,
  .img-left {
    width: 100%;
  }

  .img-right img,
  .img-left img {
    width: 550px;
    height: auto;
  }

  .img-left {
    padding-top: 150px;
  }


  .box {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
    margin-bottom: 50px;
  }

  .box.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .box img {
    width: 645px;
    height: 345px;
    display: block;
  }

  .box-inner {
    position: relative;
    padding: 0 45px;
  }

  .box-inner p {
    padding-top: 15px;
  }

  .all-grid-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-left: 1338px;
    background-color: rgb(226, 148, 148);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  .all-grid-btn:hover {
    background-color: rgba(226, 148, 148, 0.641);
    transform: translateY(-5px);
  }

  /*sec access  */

  .access-wrap {
    background-color:#ebf0f1 ;
  }

  .access-container {
    max-width: 1000px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
  }

  .access-content {
    padding-top : 250px ;
    padding-bottom: 125px ;
  }

  .access-title {
    display: flex;
    margin-bottom: 100px;
  }

  .access-title h3 {
    font-size: 1.3rem;
  }

  .access-title p {
    font-size: 0.9rem;
    padding-left: 20px;
    padding-top: 5px;
  }

  .access-text {
    margin-bottom: 200px;
  }

  .access-text p {
    font-size: 0.9rem;
    padding-bottom: 20px;
  }

  .access-sightseeing {
    margin-bottom: 100px;
  }

  .access-sightseeing img {
    width: 1000px;
    height: auto;
  }

  .access-map {
    display: flex;
    justify-content: center;
  }

  .sightseeing-image {
    padding-bottom: 30px ;
    height: auto ;
  }

.access-map-content {
  padding-top: 20px ; 
  max-width: 800px ;
  margin: 0 auto ;
}

  .access-map-address {
    display: flex ;
    padding: 20px 0 20px 150px ;
    width: 100% ;
  }

  .access-map-title {
    width:  30% ;
  }

  .access-map-text {
    width: 70% ;
  }

  /* sec news */

  .news-infomation-wrap {
    background:#f7f7f7;
  }

  .news-infomation-inner {
    margin: 0 auto;
    width: 100%;
  }

  .news-container {
    padding: 250px 0;
    max-width: 1000px;
    margin: 0 auto;
  }

  .news-title {
    display: flex;
  }

  .news-titles {
    display: flex;
    margin-bottom: 100px;
  }

  .news-title h3 {
    font-size: 1.3rem;
  }

  .news-titles h3 {
    font-size: 1.3rem;
  }

  .news-title p {
    padding-top: 5px;
    padding-left: 20px;
  }

  .news-titles p {
    padding-top: 5px;
    padding-left: 20px;
  }

  .news-title a {
    font-size: 0.9rem;
    padding-top: 5px;
    padding-left: 20px;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
  }

  .news-content {
    background-color: #f7f7f7;
  }

  th {
    padding: 12px 10px;
    text-align: left;
  }

  td {
    padding: 12px 20px;
    text-align: left;
  }

  .table-line th a,
  .table-line td a {
    position: relative;
  }

  .table-line {
    border-bottom: 1px solid #ccc;
  }

  .table-line a {
    color: black;
    text-decoration: none;
  }

  .table-line th a:hover,
  .table-line td a:hover {
    transition: background-color 0.3s ease;
    color: rgba(146, 144, 144, 0.582);
  }

  .all-news-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-left: 784px;
    background-color: rgb(226, 148, 148);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  .all-news-btn:hover {
    background-color: rgba(226, 148, 148, 0.644);
    transform: translateY(-2px);
  }

  /* footer */

  .responsive-footer {
    display: none;
  }

  .footer-container {
    background-color: rgb(226, 148, 148);
  }

  .footer-title {
    text-align: center;
  }

  .footer-menu {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .footer-nav ul li a,
  .footer-subnav ul li a {
    position: relative;
    display: inline-block;
    padding: 0.5em 0;
    color: #000;
    text-decoration: none;
  }

  .footer-nav ul li a::after,
  .footer-subnav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 0%;
    background: #ffffff;
    transition: width 0.3s ease;
  }

  .footer-nav ul li a:hover::after,
  .footer-subnav ul li a:hover::after {
    width: 100%;
  }

  .footer-nav {
    width: 15%;
  }

  .footer-nav ul li,
  .subnav-title {
    list-style: none;
  }

  ::marker {
    color: white;
    font-size: 0.8rem;
  }

  .subnav-item {
    margin-left: 20px;
  }

  .footer-nav ul li,
  .footer-subnav ul li {
    padding: 10px 0;
  }

  .footer-nav ul li a,
  .footer-subnav ul li a {
    color: white;
    text-decoration: none;
  }

  .footer-subnav {
    width: 15%;
  }

  .footer-content {
    width: 30%;
  }

  .footer-address {
    display: flex;
    width: 100%;
    padding: 20px;
    color: white;
    position: relative;
  }

  .address-title {
    width: 30%;
  }

  .address-text {
    width: 70%;
  }

  .address-text span {
    font-size: 0.8rem;
  }

  .address-text h4 {
    margin-bottom: 10px;
  }

  .address-text p {
    margin-left: 20px;
    margin-bottom: 10px;
  }

  .sns-icon img {
    height: 40px;
    vertical-align: middle;
  }

  .copy {
    text-align: center;
    color: #ffffff;
    font-size: 0.8rem;
  }

  .footer-nav-subnav-wrap {
    display: contents;
  }

  /* category-menu.php */

  .top-nav {
    text-align: center;
    padding: 50px 0;
  }

  .top-return {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgb(226, 148, 148);
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .top-return a {
    color: white;
    text-decoration: none;
  }

  .top-return:hover {
    background-color: rgba(226, 148, 148, 0.641);
    transform: translateY(-5px);
  }

  .category-custom-grid {
    background-color: #f7f7f7;
  }

  .header-navs {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .category-menu-wrap {
    background-color: rgb(226, 148, 148);
    height: 130px;
  }

  .logos {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    margin-top: 15px;
  }

  .logos img {
    width: 60%;
    height: auto;
  }

  .custom-grid {
    margin: 0 auto;
    max-width: 1200px;
  }

  .category-page-lists {
    width: 100%;
    padding-top: 100px;
    padding-bottom: 50px;
    font-size: 2.2rem;
    letter-spacing: 0.2em;
    color: #3c2a1e; /* 渋い茶色 */
    border-bottom: 1px solid #e29494;
    background-color: #f7f7f7;
    display: inline-block;
    text-align: center;
    text-shadow: 1px 1px #ffffff;
  }

  .category-page-lists span {
    margin-left: 40px;
    font-size: 1.5rem;
  }

  .grid-containers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 0 50px 0;
  }

  .news-label {
    display: inline-block;
    background: linear-gradient(to bottom, #f9f5f0, rgb(226, 148, 148));
    border: 2px solid #8c5e3c;
    border-radius: 4px;
    padding: 0.2em 0.6em;
    font-size: 0.85em;
    font-family: "Kiwi Maru", "Shippori Mincho B1", serif;
    color: #3c2a1e;
    margin-right: 0.5em;
    vertical-align: middle;
    box-shadow: 1px 1px 3px rgba(60, 42, 30, 0.1);
  }

  .category-content h3 a {
    color: #333;
    text-decoration: none;
  }

  .logo-responsive-category {
    display: none;
  }

  .category-custom-inner {
    max-width: 1000px;
    margin: 0 auto;
  }

  .category-content {
    margin: 50px 0;
  }

  .news-labels {
    display: inline-block;
    background-color: #e29494;
    border: 2px solid #e29494;
    border-radius: 4px;
    padding: 0.2em 0.6em;
    font-size: 0.85em;
    font-family: "Kiwi Maru", "Shippori Mincho B1", serif;
    color: #f7f7f7;
    margin-right: 0.5em;
    vertical-align: middle;
    box-shadow: 1px 1px 3px rgba(60, 42, 30, 0.1);
  }

  .news-dates {
    padding-top: 20px;
  }

  .back-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 80px; 
    height: 80px;
    background-color: rgb(226, 148, 148);
    color: #f7f7f7;
    font-size: 2rem; 
    border-radius: 50%;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .back-to-top.show {
    opacity: 1;
    pointer-events: auto;
  }

  .back-to-top:hover {
    background-color: rgba(245, 235, 220, 0.26);
  }

  .category-content h3 {
    padding: 40px 0 10px 0;
  }

  .category-page-lists span {
    font-size: 1rem;
  }

  .faq-wrap {
    padding: 100px 0 ;
  }

  .faq-wrap-inner {
    max-width: 1200px ;
    margin: 0 auto ;

  }

  /* contact-page */

.contact-wrap {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px; 
  box-sizing: border-box;
}

.contact-container {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 1000px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #343a40;
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
  color: #495057;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.3);
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background: rgb(226, 148, 148);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: rgba(226, 148, 148, 0.527);
}

.required-label {
  color: #dc3545;
  font-size: 0.9em;
  margin-left: 4px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.3s ease;
  font-size: 16px;
  box-sizing: border-box;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: #dee2e6; /
}

.header-contact-btn {
  position: absolute; 
  top : 1px ;
  right: 1px;
  z-index: 10;
}

.btn-circle {
  display: flex;
  padding: 15px 10px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
    position: relative;
  overflow: hidden;
}

.btn-circle::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 90%; 
  height: 2px;
  background-color: #fff;
  transition: transform 0.4s ease;
}

.btn-circle:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.btn-circle .icon-top {
  font-size: 1.0rem ;
  margin-bottom: 5px;
}

.btn-circle .btn-text {
  font-size: 0.9rem ;
  line-height: 1.2;
}

/*  */
.contact-fixed-btn {
  position: fixed;
  right: 20px;
  bottom: 100px;
  background-color: #e29c9c;
  color: white;
  padding: 15px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.3s ease;
  transform: translateY(20px);
}

.contact-fixed-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-fixed-btn:hover {
  background-color: rgba(245, 235, 220, 0.6);
}


}

/* スマホ用 */

@media (max-width: 768px) {
  * {
    margin: 0;
    padding: 0;
  }

  html,
  body {
    height: 100%;
    margin: 0;
    padding: 0;
  }

  body {
    width: 100%;
    font-size: 90%;
  }

  .swiper {
    width: 100%;
    height: 100vh;
    z-index: 1;
    position: relative;
  }

  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: transform 8s ease;
  }

  .swiper-slide-active img {
    transform: scale(1);
  }

  .darken-image {
    filter: brightness(70%);
  }

  .header-nav {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 1000;
  }

  /* ナビ */

  .menu-container {
    width: 100%;
    max-width: 100%;
  }

  .menu-img img {
    width: 100%;
    padding: 0;
  }

  .message-container,
  .access-container,
  .grid-container {
    width: 100%;
    max-width: 100%;
  }

  .logo {
    display: none;
  }

  .logo-responsive {
    display: flex;
    height: 100px;
    width: auto;
    position: relative;
    z-index: 100;
  }

  .hamburger {
    position: absolute;
    top: 60px;
    right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
    cursor: pointer;
    z-index: 9999 !important; /* ロゴより前に表示 */
  }

  .hamburger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-image: url("./images/washi.jpg");
    background-size: cover;
    background-position: center;
    position: fixed;
    background-repeat: no-repeat;
    top: 0; /* ← 画面上に固定 */
    left: 0;
    width: 100%;
    height: 100vh; /* ← 全画面に表示 */
    z-index: 2000; /* スライドショーより上に */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links a {
    display: block; /* ← これがあれば "block" にするのがベター */
    color: white;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    padding: 10px 0;
    text-align: center; /* ← 中央揃え */
    transition: opacity 0.3s ease;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-child {
    display: flex;
    flex-direction: column;
  }

  .nav-left {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .nav-left a {
    padding: 50px 0;
  }

  .nav-right {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .menu-item {
    list-style: none;
  }

  .menu-item a {
    color: #333;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 50px 0;
  }

  .menu-item a {
    color: #333;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 50px 0;
  }

  .menu-item:hover .menu-child {
    display: none;
  }

  .menu-item.open .menu-child {
    display: block;
  }

  /* sec message */

  .message-title {
    display: block;
    text-align: center;
    padding-bottom: 100px;
  }

  .message-title p {
    font-size: 0.8rem;
  }

  .header-info {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(240, 255, 255, 0.938);
    z-index: 1;
    padding: 15px 10px;
    border-radius: 8px;
    width: 70%;
  }

  .header-info a {
    text-decoration: none;
    color: rgb(65, 64, 64);
  }

  .header-info a {
    text-decoration: none;
    color: rgb(65, 64, 64);
    border-bottom: 1px solid;
  }

  .header-info a p:hover,
  .header-info a h3:hover {
    color: rgba(65, 64, 64, 0.623);
  }

  .message-wrap {
    margin: 0 auto;
    background-color: #f7f7f7;
  }

  .message-container {
    display: block;
  }

  .message-container h2 {
    margin-bottom: 20px;
  }

  .message-wrap-in {
    padding: 100px 40px;
  }

  .message-content {
    flex-direction: column;
    align-items: center;
  }

  .message-content h3 {
    width: 100%;
    padding: 20px 0;
  }

  .message-content p {
    width: 100%;
    padding-bottom: 30px;
  }

  .thi-p {
    margin-bottom: 40px;
  }

  .menu-container h2 {
    margin-bottom: 70px;
    font-size: 1.3rem;
    text-align: center;
  }

  .menu-wrap {
    width: 100%;
    background-color: #ebf0f1;
  }

  .menu-grid-inner {
    padding: 100px 40px;
    position: relative;
  }

  .menu-img img {
    padding-bottom: 30px;
  }

  .grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .grid-button {
    width: 100% ;
    display: flex ;
    justify-content: center ;
  }

  .all-grid-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(226, 148, 148);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  .all-grid-btn:hover {
    background-color: #666;
  }

  .footer-nav,
  .footer-subnav {
    width: 45%;
    text-align: center;
  }

  .box-inner img {
    width: 100%;
  }

  .message-img {
    width: 100%;
  }

  .message-img img {
    width: 100%;
    height: auto;
  }

  .grid-wrap {
    padding: 50px 25px 100px 25px;
    background-color: #f7f7f7;
  }

  .access-wrap {
    padding: 100px 40px;
    position: relative;
    background-color: #ebf0f1;
  }

  .access-sightseeing img {
    width: 100%;
    height: 300px;
  }

  .access-sightseeing {
    margin-bottom: 50px;
  }

  .access-map {
    margin-bottom: 50px;
  }

  .access-map iframe {
    width: 100%;
    height: 400px;
  }

  .footer-container {
    background-color: rgb(226, 148, 148);
  }

  .footer-title {
    text-align: center;
  }

  .footer-nav ul li a,
  .footer-subnav ul li a {
    position: relative;
    display: inline-block;
    padding: 0.5em 0;
    color: #000;
  }

  .footer-nav ul li a::after,
  .footer-subnav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 0%;
    background: #ffffff;
    transition: width 0.3s ease;
  }

  .footer-nav ul li a:hover::after,
  .footer-subnav ul li a:hover::after {
    width: 100%;
  }

  .footer-nav {
    width: 15%;
  }

  .footer-nav ul li,
  .subnav-title {
    list-style: none;
  }

  .subnav-item {
    list-style: none;
  }

  .footer-nav ul li a,
  .footer-subnav ul li a {
    color: white;
    text-decoration: none;
  }

  .footer-subnav {
    width: 15%;
  }

  .footer-content {
    width: 30%;
  }

  .copy {
    text-align: center;
    color: #ffffff;
    font-size: 0.8rem;
  }

  /* footer */

  .box-inner img {
    width: 100%;
  }

  .access-title {
    margin-bottom: 50px;
    text-align: center;
  }

  .access-title h3 {
    padding-bottom: 10px;
  }

  .access-title p {
    font-size: 0.8rem;
  }

  .access-text {
    margin-bottom: 50px;
  }

  .access-text p {
    padding-bottom: 40px;
  }

  .category-content p {
    padding: 10px;
  }

  .news-titles p {
    font-size: 0.8rem;
    padding-top: 2px;
    padding-left: 20px;
  }

  .news-titles {
    margin-bottom: 30px;
    padding-left: 30px;
    display: flex;
  }

  .grid-wrap-title {
    margin-bottom: 50px;
    text-align: center;
  }

  .grid-wrap-title h3 {
    font-size: 1.5rem;
  }

  /* sec news */

  .news-infomation-wrap {
    background-color: #f7f7f7;
    width: 100%;
  }

  .news-infomation-inner {
    margin: 0 auto;
    width: 100%;
  }

  .news-container {
    padding: 150px 10px 100px 10px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .news-content {
    padding: 0 20px;
  }

  .news-title {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
  }

  .news-title p {
    font-size: 0.9rem;
    padding-top: 5px;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
  }

  .news-content {
    background-color: #f7f7f7;
  }

  th,
  td {
    padding: 12px 10px;
    text-align: left;
  }

  .table-line th a,
  .table-line td a {
    position: relative;
  }

  .table-line {
    border-bottom: 1px solid #ccc;
  }

  .table-line a {
    color: black;
    text-decoration: none;
  }

  .table-line th a:hover,
  .table-line td a:hover {
    transition: background-color 0.3s ease;
    color: rgba(146, 144, 144, 0.582);
  }

  .news-button {
    display: flex;
    justify-content: center;
  }

  .all-news-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(226, 148, 148);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  .all-news-btn:hover {
    background-color: #666;
  }

  .footer-br {
    display: none;
  }

  .footer-container {
    display: none;
  }

  .responsive-footer {
    background-color: rgb(226, 148, 148);
  }

  .responsive-footer-fl {
    display: flex;
    width: 100%;
    height: 200px;
  }

  .centered-underline {
    position: relative;
    width: 80%;
    height: 1px;
    margin: 0 auto;
    margin-bottom: 20px;
    background-color: white;
  }

  .footer-nav-subnav-wrap {
    justify-content: center;
    width: 80%;
    margin-right: 20px;
  }

  .footer-menu {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .footer-container {
    position: relative;
  }

  .footer-title {
    width: 50%;
  }

  .footer-title img {
    width: 100%;
    padding-left: 20px;
    padding-top: 30px;
  }

  .footer-nav {
    width: 45%;
    padding-top: 10px;
  }

  .footer-subnav {
    width: 30%;
    padding-top: 10px;
  }

  .footer-content {
    width: 80%;
    margin: 0 auto;
  }

  .footer-address {
    display: flex;
    width: 100%;
    padding-bottom: 10px;
    color: white;
    position: relative;
  }

  .address-text {
    font-size: 0.7rem;
  }

  .address-title {
    width: 100%;
    font-size: 0.8rem;
  }

  .address-text span {
    font-size: 0.6rem;
  }

  .address-text h4 {
    margin-bottom: 10px;
  }

  .address-text p {
    margin-bottom: 10px;
  }

  .sns-icon {
    list-style: none;
  }

  .sns-icon img {
    height: 30px;
    vertical-align: middle;
  }

  .footer-nav-subnav-wrap {
    display: flex;
    justify-content: center;
    gap: 10%;
    width: 100%;
  }

  .address-text {
    width: 100%;
  }

  .top-nav {
    text-align: center;
    margin: 0 auto;
  }

  .top-return {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgb(226, 148, 148);
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .top-return a {
    color: white;
    text-decoration: none;
  }

  .top-return:hover {
    background-color: rgba(226, 148, 148, 0.641);
    transform: translateY(-5px);
  }

  .category-content h3 a {
    color: #333;
    text-decoration: none;
  }

  .category-page-lists {
    padding-top: 50px;
    text-align: center;
  }

  .logo-responsive-category {
    display: flex;
    height: 100px;
    width: auto;
    background-color: rgb(226, 148, 148);
    justify-content: space-between;
  }

  .logo-responsive-category img {
    width: 30%;
    padding-bottom: 10px;
    padding-left: 10px;
  }

  .logos {
    display: none;
  }

  .category-menu-wrap {
    background-color: rgb(226, 148, 148);
    height: 80px;
  }

  .category-custom-inner {
    padding: 20px;
  }

  .category-content {
    padding: 30px 20px;
  }

  .category-custom-grid {
    background-color: #f7f7f7;
    padding: 100px 0;
  }

  .box {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
    margin-bottom: 50px;
  }

  .box-inner {
    position: relative;
    padding: 0px 30px;
  }

  .box.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .pagination {
    display: flex;
    justify-content: center; /* 中央寄せ */
    gap: 10px; /* ページ番号の間隔 */
    padding: 20px 0;
    flex-wrap: wrap; /* スマホなど狭い画面で改行可能に */
    font-family: Arial, sans-serif;
  }

  .news-labels {
    display: inline-block;
    background-color: #e29494;
    border: 2px solid #e29494;
    border-radius: 4px;
    padding: 0.2em 0.6em;
    font-size: 0.85em;
    font-family: "Kiwi Maru", "Shippori Mincho B1", serif;
    color: #f7f7f7;
    margin-right: 0.5em;
    vertical-align: middle;
    box-shadow: 1px 1px 3px rgba(60, 42, 30, 0.1);
    white-space: nowrap;
  }

  .category-content h3 {
    padding: 40px 0 10px 0;
  }
  .category-page-lists span {
    font-size: 0.9rem;
  }

  .logo-responsive {
    margin-top: 20px;
  }

  .img-right img,
  .img-left img {
    width: 100% ;
    height: auto;
  }

  .menu-text {
    width: 100% ;
    padding-top: 60px ;
  }

.menu-fir-p,
.menu-sec-p,
.menu-thi-p {
  padding-bottom: 50px ;
}

  .sightseeing-image {
    padding-bottom: 30px ;
  }

.contact-wrap {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px; /* スマホ用余白 */
  box-sizing: border-box;
}

/* 背景ぼかし＆角丸フォーム */
.contact-container {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 1000px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* フォームの幅制限と調整 */
.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #343a40;
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
  color: #495057;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.3);
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background: rgb(226, 148, 148);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.3s ease;
  font-size: 16px;
  box-sizing: border-box;
}

  .form-field input,
  .form-field textarea {
    opacity: 1 !important;
    height: auto !important;
  }

.header-contact-btn {
  margin-top: 10px ;
}

.btn-circle {
  display: flex;
  padding: 15px 10px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-circle .icon-top {
  font-size: 1.2rem ;
  margin-bottom: 5px;
  color: #333;
}

.btn-circle .btn-text {
  font-size: 1.2rem ;
  line-height: 1.2;
  color: #333;
}

  .access-map-address {
    padding: 20px 0 ;
    width: 100% ;
  }

.access-map-title {
  padding-bottom: 10px ;
}

}
