@charset "utf-8";
body {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #ffffff;
  color: #b17f1b;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
h1, h2, h3, p {
  margin: 0;
  padding: 0;
}
h1 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 1em;
}
p {
  color: #302833;
  font-size: 14pt;
}
section {
  padding: 80px 20%;
  margin: 0;
}
::selection {
  background-color: #b17f1b;
  color: #fbfaf5;
}
em {
  font-style: normal;
  font-weight: 700;
}
.left {
  text-align: left;
}
.wrapper-justify {
  display: flex;
  justify-content: space-between;
}
.scroll-animated-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.scroll-animated-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------ colors */
.gold {
  color: #b17f1b;
}
.red {
  color: #800000;
}
.white {
  color: #fbfaf5;
}

/* ------------------------------ main visual */
#main-visual {
  width: 100%;
}
#main-visual img {
  width: 100%;
  height: auto;
  display: block;
}
/* ----------------------------- nav */
#nav {
  background-color: #800000;
  padding: 10px 0;
  width: 100%;
  z-index: 1000;
  transition: all ease-in-out;
}
#nav.fixed {
  position: fixed;
  top: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
#nav ul {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  list-style: none;
  padding: 5px 10%;
  margin: 0 auto;
}
#nav ul li a {
  color: white;
  font-size: 1.4em;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
}
/* ------------------------------ intro */
#sec-intro, #sec-yakutsukuri {
  background-image: url(../images/bg1.webp);
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
#sec-intro-wrapper {
  gap: 0 40px;
  width: 100%;
  z-index: 2;
  position: relative;
}
.sec-intro-pic {
  width: 40%;
}
.sec-intro-pic img {
  width: 100%;
}
.sec-intro-text {
  width: 60%;
}
.sec-intro-text p {
  margin: 1em 0;
  line-height: 1.8;
  color: #302833;
}
.sec-intro-text em {
  color: #800000;
}

/* ------------------------------ thumbnail */
#sec-thumbnail {
  background-image: url('../images/bg2.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.fuda-preview {
  margin-bottom: 30px;
}
#fuda-select {
  width: 220px;
  height: auto;
}
.fuda-intro {
  font-size: 1.4rem;
  margin-top: 10px;
  color: #b17f1b;
}
.fuda-thumbnails {
  display: flex;
  flex-wrap:nowrap;
  justify-content: space-between;
  list-style: none;
  gap: 0 10px;
  padding: 0;
  margin-top: 1em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fuda-thumbnails.is-visible-container {
  opacity: 1;
  transform: translateY(0);
}
.fuda-thumbnails img {
  width: 100%;
  height: auto;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}
.fuda-thumbnails img.stagger-in {
  opacity: 1;
  transform: translateY(0);
}
.fuda-thumbnails img:hover {
  transform: translateY(-10px);
}

/* ------------------------------ yakutsukuri */
#sec-yakutsukuri {
  text-align: center;
}
.yakutsukuri {
  width: 100%;
}
.yaku-select {
  width: 100%;
  gap: 1em;
}
.yaku-select-item p {
  color: #b17f1b;
  text-align: center;
  font-size: 1em;
  font-weight: 500;
  min-height: 1.5em;
  display: flex; /* 使用 flexbox 居中内容 */
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
}
.yaku-select-item img {
  border: 4px solid transparent;
  cursor: pointer;
  width: 100%;
  opacity: 0; /* 初始状态：透明 */
  transform: translateY(20px); /* 初始状态：向下偏移 */
  transition: transform 0.5s ease-out, opacity 0.5s ease-out, border 0.4s ease; /* 动画效果 */
}
.yaku-select-item img.selected {
  border: 4px solid #b17f1b;
}
.yaku-select-item img.stagger-in {
  opacity: 1;
  transform: translateY(0);
}
.yaku-select-item img:hover {
  transform: translateY(-10px);
}
.yaku-clear {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.yaku-clear button {
  padding: 10px 20px;
  font-size: 1.2em;
  background-color: #b17f1b;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.5s ease, color 0.5s ease, background-color 0.5s ease;
}
.yaku-clear button:hover {
  background-color: brown;
}

footer {
  background-color: #800000;
  text-align: center;
  padding: 40px 0;
}
footer p {
  color: #fbfaf5;
  font-size: 0.8em;
}