@charset "utf-8";

/* Reset CSS */
@import url("https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css");

/* 英語：Charm  日本語：Shippori Mincho */
@import url('https://fonts.googleapis.com/css2?family=Charm:wght@400;700&family=Shippori+Mincho&display=swap');

/* 約半フォント */
@import url("https://cdn.jsdelivr.net/npm/yakuhanjp@4.1.1/dist/css/yakuhanjp.css");

/* Font Awesome */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css");

/* Base @ Start */
:root {
  --bg: #F4F8F3;
  --card: #FFFFFF;
  --accent-1: #007F46;
  --accent-2: #6F4E37;
  --leaf: #88A65E;
  --muted: #888888;
  --text: #7d5e3e;
  --text2: #FAF8F3;
  --text3: #ff532c;
  --frame: #E6EAE3;
  --cta: #9acd32;
  /* --cta: #C16A4A; */
}

* {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

ul ol,
ul li {
  list-style: none;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

body {
  font-family: YakuHanJP, 'Charm', 'Shippori Mincho', serif;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  /* background-image: url(../img/webp/bkg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  height: 100vh; */
}

h1,
h2,
h3 {
  font-weight: 700;
  color: var(--accent-2);
  text-align: center;
}

p {
  padding-bottom: 0.5rem;
}

:lang(en) {
  font-family: 'Charm', serif;
}

.br-response {
  display: none;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/webp/bkg.webp) no-repeat center center / cover;
  z-index: -1;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(2px);
  z-index: 2000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 768px) {
  .br-response {
    display: block;
  }
}
/* Base @ End */

/* Header @ Start */
header {
  background: var(--accent-1);
  padding: 1rem 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--bg);
  height: 50px;
  position: fixed;
  top: 0;
  width: 100%;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 5px 5px rgba(0,0,0,0.2);
  z-index: 9999;
}

header.is-hidden {
  transform: translateY(-100%);
}

#header-inner {
  position: relative;
  display: flex;
  width: 95%;
  margin: 0 auto;
  z-index: 9999;
  justify-content: space-between;
}

.logo-wrap {
  position: relative;
  display: flex;
}

.logo-wrap img {
  height: 50px;
}

.logo-wrap a:hover {
  filter: invert(37%) sepia(47%) saturate(562%) hue-rotate(38deg) brightness(104%) contrast(101%);
  transform: scale(1.1);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--bg) !important;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.6rem 1.2rem;
  line-height: 1;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.7rem;
  align-items: center;
  padding-top: 5px;
}

#nav-list.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-list a {
  color: var(--text2);
  padding: 0.1rem 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1rem;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

#gnavi ul li a span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

#gnavi ul li a:hover {
  color: var(--cta);
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  header {
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
  }

  .menu-toggle {
    position: absolute;
    top: calc((50px - 44px) / 2); /* 高さ50に対して縦中央 */
    right: 10px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    z-index: 4000;
  }
  
  #header-inner .logo-wrap {
    display: block;
    position: absolute;
  }

  #header-inner .logo-wrap img {
    height: 35px;
    width: auto;
    margin-top: -5px;
    margin-left: -5px;
  }

  #header-inner.nav-open .logo-wrap {
    display: none !important;
  }

  #gnavi {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }

  #gnavi ul {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg);
    border-radius: 15px;
    padding: 0;
    margin: 45px 15px 0 0; /*ここでメニューの出る位置を調整 */
    padding-bottom: 15px;
    border: 10px solid var(--accent-1);
  }

  #gnavi ul.open {
    display: flex !important;
  }

  #gnavi ul li {
    text-align: center;
    width: 100%;
    height: 50px;
    border-bottom: 1px dashed var(--accent-1);
  }

  #gnavi ul li:last-child {
    border-bottom: none;
    margin-bottom: -0.75rem;
  }

  #gnavi ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 0.75rem;
    box-sizing: border-box;
    text-align: center;
  }

#gnavi ul li a span {
    display: none;
    /* padding-left: 15px; */
    /* font-size: 0.875rem; */
    /* display: block; */
  }

  #gnavi ul li a:hover {
    color: #ffffff;
    background-image: linear-gradient(to bottom,
      #fff 0%,
      var(--cta) 20%,
      var(--cta) 80%,
      #fff 100%);
  }

  #nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.42s ease, opacity 0.42s ease;
    background: var(--bg);
    padding-left: 0;
  }

  #nav-list.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 530px;
  }

  #nav-list a {
    color: var(--accent-1);
    padding: 0.8rem 1rem;
    font-size: 1.05rem;
  }
}
/* Header @ End */

/* First View @ Start  */
.hero {
  position: relative;
  text-align: center;
  color: var(--text2);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 20px), rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 20px), rgba(0, 0, 0, 0) 100%);
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* hero-imgより上、テキストより下 */
  pointer-events: none;
  /* 粒子がクリックを邪魔しないように */
}

.hero-text {
  position: absolute;
  top: 30%;
  left: 70%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  color: var(--text2);
  text-shadow: 0 1px 15px rgba(0, 0, 0, 0.7), 0 1px 15px rgba(0, 0, 0, 0.7), 0 1px 15px rgba(0, 0, 0, 0.7), 0 1px 15px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.hero-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 2.8rem;
  margin-bottom: 0.4rem;
  color: var(--text2);
}

.hero-text p {
  font-size: 1.2rem;
  font-weight: 700;
}

@media screen and (max-width: 1024px) {
  .hero-text h2 {
    font-size: 2rem;
    line-height: 2.4rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-img {
    margin-top: 50px;
  }

  .hero-text h2 {
    margin-top: 70px;
    margin-right: 20px;
    font-size: 1.3rem;
    line-height: 2rem;
  }

  .hero-text p {
    font-size: 0.9rem;
    margin-right: 20px;
  }
}
/* First View @ End  */
/* Card = */
.content {
  background: var(--card);
  border-radius: 12px;
  padding: 50px 22px;
  margin: 36px auto;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 5px solid var(--frame);
}

.content::before,
.content::after {
  content: "\f1bb \f141 \f1bb \f141 \f1bb \f141 \f1bb \f141 \f1bb";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--leaf);
  font-size: 1rem;
  display: block;
  text-align: center;
  line-height: 1.8;
}

.content::before {
  margin-bottom: 18px;
}

.content::after {
  margin-top: 18px;
}

/* section title */
.section-title {
  font-size: 2rem;
  margin-bottom: 1.25em;
  color: var(--accent-2);
  text-align: center;
}

.section-title i {
  margin: 0 0.5em;
  color: var(--accent-1);
}

.section-title span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.section-title:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 0.6em auto 0;
}

.concept-title:after,
.menu-title:after,
.goods-title:after,
.gallery-title:after,
.info-title:after,
.news-title:after,
.contact-title:after {
  background: var(--accent-2);
}

@media screen and (max-width: 768px) {
  .content {
    width: 80%!important;
  }
}
/* Common @ End */

/* Concept @ Start */
.concept-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 3rem;
}

.concept-text h3 {
  margin-bottom: 10px;
  font-weight: bold;
}

.concept-text {
  flex: 1 50%;
  min-width: 260px;
}

.concept-text:last-child {
  margin-bottom: -1.5rem;
}

.concept-symbol,
.concept-owner {
  flex: 0 auto;
}

.symbol-img {
  max-width: 250px;
  border-radius: 35px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.owner-img {
  max-width: 250px;
  border-radius: 35px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  .concept-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .concept-text {
    flex: 1 1 100%;
    text-align: left;
  }

  .concept-text h3 {
    font-size: 1rem;
  }

  .concept-text p {
    font-size: 0.875rem;
  }

  .concept-symbol,
  .concept-owner {
    margin-top: 1rem;
  }

  .symbol-img,
  .owner-img {
    max-width: 100%;
    height: auto;
  }
}
/* Concept @ End */

/* Menu & Goods @ Start */
.menu-list h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.menu-list h3:nth-of-type(2) {
  margin-top: 3rem;
}

.menu-grid,
.goods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.menu-grid a,
.goods-grid a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.menu-item p strong,
.goods-item p strong {
  font-size: 1rem;
  font-weight: bold;
}

.menu-item p,
.goods-item p {
  font-size: 0.875rem;
}

.menu-item a img,
.goods-grid a img {
  display: block;
  width: 100%;
  margin-bottom: 0.5em;
  border-radius: 10px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.menu-grid a:hover img,
.goods-grid a:hover img {
  transform: scale(1.1);
  overflow: hidden;
}

.menu-item .price,
.goods-item .price {
  color: var(--text3);
  font-size: 1rem;
  letter-spacing: 0.1rem;
  text-align: right;
}

.menu-item .price span,
.goods-item .price span {
  font-size: 0.75rem;
}

.menu-list .price2,
#goods .price2 {
  font-size: 0.75rem;
  text-align: right;
}

@media screen and (max-width: 768px) {
  .menu-grid,
  .goods-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .menu-item p strong,
  .goods-item p strong {
    font-size: 0.875rem;
  }

  .menu-item p,
  .goods-item p {
    font-size: 0.75rem;
  }

  .menu-item .price,
  .goods-item .price {
    font-size: 0.875rem;
  }

  .menu-item .price span,
  .goods-item .price span {
    font-size: 0.625rem; /* 10px */
  }
  .menu-list .price2,
  #goods .price2 {
    font-size: 0.625rem; /* 10px */
  }
}
/* Menu #& Goods @ End */

/* Gallery @ Start */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid a {
  overflow: hidden;
  border-radius: 10px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s;
}

.gallery-grid a:hover img {
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
/* Gallery @ End */

/* Information @ Start */
.info-top {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  align-items: stretch;
}

.info-text {
  flex: 1 1 50%;
  min-width: 260px;
  height: 90%;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-text dl {
  display: flex;
  flex-wrap: wrap;
}

.info-text dl dt {
  width: 5rem;
}

.info-text dl dd {
  width: 80%;
  padding-left: 0.2rem;
}

.info-text p {
  font-size: 0.875rem;
}

.info-photo {
  flex: 1 1 50%;
  min-width: 260px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-photo img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.info-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.info-bottom > * {
  min-height: 320px;
}

.info-map,
.info-video {
  flex: 1 1 50%;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-map iframe,
.info-video .video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display:block;
}

.info-photo p,
.info-map p,
.info-video p {
  margin-top: 1rem;
  font-size: 1rem;
  text-align: center;
}

.youtube {
  margin-bottom: 5em;
}

.info-video {
  flex: 0 0 auto;
  text-align: center;
}

.info-video .video-thumb {
  width: 100%;
  height: auto;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-video .video-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 768px) {
  .info-top {
    flex-direction: column;
  }

  .info-bottom {
    grid-template-columns: 1fr;
    grid-template-rows: auto;   /* ← 自動で高さ調整 */
  }

  .info-text {
    margin: 0 auto;
  }

  .info-photo,
  .info-map,
  .info-video {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
  }

  .info-map iframe,
  .video-thumb {
    width: 100%;
    height: auto;
    min-height: 220px;
  }
}
/* Information @ End */

/* News @ Start */
.news-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.news-list li {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-list li strong {
  font-size: 1.2rem;
}

.news-list li:nth-of-type(2),
.news-list li:nth-of-type(4) {
  border-bottom: 1px dotted var(--accent-2);
  margin-bottom: 2rem;
}

.news-list li a {
  font-weight: bold;
  color: var(--accent-2);
  border-bottom: 1px dashed var(--accent-1);
}

.news-list li a:hover {
  color: var(--cta);
}

.news-list img {
  border-radius: 6px;
  max-width: 100px;
  height: 100%;
}

@media screen and (max-width: 768px) {
  .news-list li {
    font-size: 0.875rem;
  }

  .news-list li strong {
    font-size: 1rem;
  }
}
/* News @ End */

/* Contact @ Start */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid var(--leaf);
  border-radius: 5px;
}

.contact-form input:hover,
.contact-form textarea:hover {
  background-color: var(--text2);
}

.contact-form button {
  background: var(--accent-1);
  color: var(--text2);
  border: none;
  padding: 0.8rem;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--cta);
}

.sns-links {
  text-align: center;
}

.sns-links a {
  margin: 0 0.5em;
  font-size: 2rem;
  color: var(--accent-1);
}

.sns-links a:hover {
  color: var(--cta);
}
/* Contact @ End */

/* Footer @ Start */
footer {
  background: var(--accent-1);
  color: var(--text2);
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.1rem;
  line-height: 50px;
}

@media screen and (max-width: 768px) {
  footer {
  line-height: 25px;
  }
}
/* Footer @ End */

/* PageTop btn @ Start */
.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  width: 70px;
  height: 70px;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.pagetop:hover {
  background-color: var(--cta);
}

.pagetop.is-show {
  opacity: 1;
  visibility: visible;
}

.pagetop a {
  color: var(--accent-2);
  font-size: 1rem;
}

.pagetop a:hover {
  font-size: 1.5rem;
  line-height: 1.5rem;
}
/* PageTop btn @ End */