@charset "UTF-8";

.button {
  text-align: center;
}

.button a {
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0 auto;
}

.button.line a {
  border: 1px solid var(--sub-color);
  transition: background-color 0.3s var(--anime2-3), color 0.3s var(--anime2-3), transform 0.3s var(--anime2-3);
}

.button.line a:hover {
  background-color: var(--sub-color);
  color: var(--font-color);
}

.button.fill a {
  color: #fff;
  background-color: var(--sub-color);
  transition: background-color 0.3s var(--anime2-3), transform 0.3s var(--anime2-3), box-shadow 0.3s var(--anime2-3);
}

.button.fill a:hover {
  background-color: #9d8966;
  box-shadow: 0 4px 8px rgba(133, 117, 85, 0.3);
}

.link {
  margin: calc(var(--section-margin) * 2) auto 0;
}

.link .box {
  --width: 300px;
  width: var(--width);
}

.link .box h3 {
  text-align: center;
  margin: 0 auto 1em;
}

@media screen and (max-width: 768px) {
  .link .box:first-child {
    margin: 0 auto 4em;
  }
}

/*----------------------------------------top----------------------------------------*/
#top {
  --bottle: 25%;
  margin: 0 0 8em;
}

#top .flex {
  --num: 4;
  --gap: 4em;
  gap: var(--gap);
}

#top .flex .box {
  position: relative;
  width: calc(25% - var(--gap) * (var(--num) - 1) / var(--num));
  aspect-ratio: 9/21;
}

#top .flex .box .base {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#top .flex .box .absolute {
  width: 50%;
  left: 0;
  right: 0;
  bottom: calc(var(--bottle) * -1);
  margin: auto;
}

@media screen and (max-width: 768px) {
  #top {
    padding: 0;
  }

  #top .flex {
    --gap: 0em;
  }

  #top .flex .box .absolute {
    width: 75%;
  }
}

/* ---------------------------------------- campaign ----------------------------------------*/
#campaign {}

#campaign h2 {
  font-size: 1em;
  text-align: center;
  margin: 0 auto 8em;
}

#campaign h2 img {
  height: 150px;
  margin: 0 auto;
}

#campaign .text {
  text-align: center;
}

#campaign .text h3 {
  font-size: 1.5em;
  color: var(--sub-color);
  margin: 0 auto 1em;
}

#campaign .text p {}

#campaign .link {
  margin: 8em auto 0;
}

/* ---------------------------------------- sub_top ----------------------------------------*/
#sub_top {
  position: relative;
  padding: 0 0 var(--section-margin);
}

#sub_top .base {
  width: 100%;
}

#sub_top .absolute {
  width: 90%;
  height: 120px;
  right: 0;
  left: 0;
  bottom: calc(var(--section-margin) * 1.5);
  margin: auto;
}

#sub_top .absolute h1 {
  height: 100%;
}

#sub_top .absolute h1 img {
  height: 100%;
  margin: 0 auto;
}

#sub_top .absolute .scroll {}

#sub_top .scroll {
  --scroll-color: #fff;
  color: var(--scroll-color);
}

#sub_top .scroll-text {
  font-size: 14px;
  text-align: center;
}

#sub_top .scroll-border {
  position: relative;
  top: 10px;
  width: 100%;
  height: 60px;
  overflow: hidden;
}

#sub_top .scroll-border::before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 40px;
  top: 0;
  left: 0;
  right: 0;
  background: var(--scroll-color);
  animation: scrollbar 2.0s ease-in-out infinite;
  margin: auto;
}

@keyframes scrollbar {
  0% {
    height: 0;
    top: 0;
  }

  30% {
    height: 100%;
  }

  100% {
    top: 100%;
  }
}

@media screen and (max-width: 768px) {
  #sub_top .base {
    height: 50vh;
    object-fit: cover;
  }
}

/* ---------------------------------------- 二十四節気 リスト ----------------------------------------*/
#twenty_four_list {}

#twenty_four_list h2 {
  text-align: center;
  margin: 0 auto 4em;
}

#twenty_four_list h2 img {
  height: 80px;
  margin: 0 auto;
}

#twenty_four_list .list {
  --num: 3;
  --gap: 1em;
  max-width: var(--sub-inner);
  gap: var(--gap);
  margin: 0 auto;
}

#twenty_four_list .list a {
  display: block;
  width: calc(100% / var(--num) - var(--gap) * (var(--num) - 1) / var(--num));
  text-align: center;

}

#twenty_four_list .list a img {
  width: 50%;
  margin: 0 auto;
}

#twenty_four_list .list a p {
  font-size: 0.875em;
}

/* 遅延読み込み用スタイル */
#twenty_four_list .list a.lazy-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#twenty_four_list .list a.lazy-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 商品詳細セクションの遅延読み込み用スタイル */
#twenty_four_detail .product.lazy-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#twenty_four_detail .product.lazy-item.visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 768px) {
  #twenty_four_list .list {
    --num: 2;
  }
}

@media screen and (max-width: 480px) {
  #twenty_four_list {
    padding: var(--section-margin) 0;
  }

  #twenty_four_list .list {
    --num: 1;
  }
}

/* ---------------------------------------- 二十四節気 詳細 ----------------------------------------*/
#twenty_four_detail {}

#twenty_four_detail .main {}

/* img */
#twenty_four_detail .product .img {
  --ratio: 7vw;
  padding: 0 0 var(--ratio);
  margin: 0 auto var(--ratio);
}

#twenty_four_detail .product .img .absolute {
  width: 140px;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}

/* title */
#twenty_four_detail .inner {
  max-width: var(--sub-inner);
}

#twenty_four_detail .product .main {
  text-align: center;
  margin: 0 0 var(--section-margin);
}

#twenty_four_detail .product .main h3 {
  font-size: 1.5em;
  color: var(--sub-color);
  margin: 0 auto 2em;
}

#twenty_four_detail .product .main p {}

/* button */
#twenty_four_detail .product .button {
  color: var(--sub-color);
  text-align: center;
  margin: 0 0 var(--section-margin);
  cursor: pointer;
}

/* accordion_content */
#twenty_four_detail .product .accordion_content {
  --margin: 1em;
  display: none;
}

#twenty_four_detail .product .accordion_content>* {
  padding: 0 var(--margin) 8em;
}

#twenty_four_detail .product .accordion_content>*:not(:last-child) {
  padding: 0 var(--margin) var(--margin);
  margin: 0 0 var(--margin);
  border-bottom: 1px solid var(--sub-color);
}

#twenty_four_detail .product .accordion_content .box {
  --width: 150px;
  --gap: 1em;
  gap: var(--gap);
}

#twenty_four_detail .product .accordion_content .box .title {
  width: var(--width);
}

#twenty_four_detail .product .accordion_content .box .title h4 {
  line-height: 1.8;
}

#twenty_four_detail .product .accordion_content .box .content {
  width: calc(100% - var(--width) - var(--gap));
}

#twenty_four_detail .product .accordion_content .box .content .graph {
  margin: 0 auto 2em;
}

#twenty_four_detail .product .accordion_content .box .content .graph img {
  width: 95%;
  max-width: 400px;
}

#twenty_four_detail .product .accordion_content .box .content .aged {
  margin: 0 auto 2em;
}

#twenty_four_detail .product .accordion_content .box .content .phenol {}

#twenty_four_detail .product .accordion_content .box .content .phenol p {}

#twenty_four_detail .product .accordion_content .box .content .phenol img {
  width: 95%;
  max-width: 500px;
}

@media screen and (max-width: 768px) {
  #twenty_four_detail {
    padding: var(--section-margin) 0;
  }

  #twenty_four_detail .product .img img:not(.absolute) {
    height: 50vh;
    object-fit: cover;
  }

  #twenty_four_detail .product .img .absolute {
    width: 25%;
  }

  #twenty_four_detail .product .main {
    margin: 0 var(--side-padding) var(--section-margin);
  }

  #twenty_four_detail .product .accordion_content {
    margin: 0 var(--side-padding);
  }

  #twenty_four_detail .product .accordion_content .box {
    --width: 90px;
  }

  #twenty_four_detail .product .button img {
    height: 15vh;
    object-fit: cover;
  }
}

@media screen and (max-width: 480px) {
  #twenty_four_detail .product .accordion_content .box .title {
    width: 100%;
  }

  #twenty_four_detail .product .accordion_content .box .content {
    width: 100%;
  }
}

/* ---------------------------------------- mosaic_list ----------------------------------------*/
#mosaic_list {}

#mosaic_list .inner>*:not(:last-child) {
  margin: 0 0 4em;
}

#mosaic_list .list {}

#mosaic_list .list h2 {
  font-size: 1.5em;
  color: var(--sub-color);
  text-align: center;
  margin: 0 auto 1em;
}

#mosaic_list .list .box {
  cursor: pointer;
}

#mosaic_list .list .box p {
  font-size: 0.875em;
  text-align: center;
  margin: 0.5em auto 0;
}

#mosaic_list .main {
  position: relative;
  width: 100%;
  margin: 0 auto 4em;
}

#mosaic_list .main img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
  transition: opacity 1s ease;
}

#mosaic_list .main img:first-child {
  position: relative;
}

#mosaic_list .lists {
  --num: 4;
  --gap: 1em;
  gap: var(--gap);
}

#mosaic_list .lists .box {
  width: calc(100% / var(--num) - var(--gap) * (var(--num) - 1) / var(--num));
  transition: opacity 0.3s ease;
}

#mosaic_list .lists .box.active {
  opacity: 1;
}

#mosaic_list .lists .box:not(.active) {
  opacity: 0.6;
}

#mosaic_list .lists .box h2 {
  font-size: 1.5em;
  margin: 0.5em auto 0;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #mosaic_list {
    padding: var(--section-margin) 0;
  }

  #mosaic_list .lists {
    --num: 2;
  }

  #mosaic_list .lists .box h2 {
    font-size: 1em;
  }
}

/* ---------------------------------------- モーダル ----------------------------------------*/
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 32px;
  color: #333;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #000;
}

.modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

@media screen and (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    padding: 15px;
  }

  .modal-close {
    top: 5px;
    right: 5px;
    font-size: 28px;
    width: 35px;
    height: 35px;
  }

  .modal-body img {
    max-height: 70vh;
  }
}

/*----------------------------------------top----------------------------------------*/
#form_top {}

#form_top h1 {
  font-size: 2em;
}

#form_top .box {
  margin: 2em auto 0;
}

#form_top .box>*:not(:last-child) {
  margin: 0 0 2em;
}

#form_top .box h2 {
  font-size: 1.5em;
}

#form_top .box p {}

#form_top .box h2 {}

#form_top .box .attention {
  max-width: 650px;
  text-align: left;
  padding: 1em;
  margin: 0 auto;
  background-color: var(--box-color);
}

#form_top .box .attention ul {
  padding: 0 0 0 1em;
}

#form_top .box .attention ul li {
  margin: 0 0 0.5em;
  text-indent: -1em;
}



@media screen and (max-width: 768px) {
  #form_top h1 {
    font-size: min(6vw, 2.8rem);
  }

  #form_top .box {
    margin: 4em auto 0;
  }

  #form_top .box h2 {
    font-size: 1.2em;
  }

  #form_top .box>*:not(:last-child) {
    margin: 0 0 4em;
  }
}



/*----------------------------------------top----------------------------------------*/
#form {}

#form .inner {}

#form h2 {
  font-size: min(4.5vw, 2.4rem);
  margin: 0 auto 2em;
}

#form form {}

#form form .box {
  --sub-width: 100px;
  --gap: 2em;
  gap: var(--gap);
  padding: 2em;
  border-top: 1px solid var(--sub-color);
}

#form form .box .text {
  width: calc(50% - var(--sub-width));
}

#form form .box .text label {
  display: block;
  width: calc(100% - 3em);

}

#form form .box .text p {
  margin: 1em 0 0;
}

#form form .must {
  width: 3em;
  height: 1.8em;
}

#form form .must::before {
  content: "※必須";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FF0000;
}

#form form .box .text span.must {
  position: absolute;
  top: 0;
  right: 0;
}

#form form .box .line {
  width: calc(50% + var(--sub-width) - var(--gap));
}

#form form .box .line .sub_title {}

#form form .box .line .sub_title:has(+ .sub_title) {
  margin: 0 0 1em;
}

#form form .box .line .sub_title input[type="text"],
#form form .box .line .sub_title input[type="email"],
#form form .box .line .sub_title input[type="tel"],
#form form .box .line .sub_title textarea {
  width: calc(100% - var(--sub-width)) !important;
  background-color: var(--box-color);
}

#form form .box .line .sub_title input[type="number"] {
  -moz-appearance: textfield;
  background-color: var(--box-color);
  width: 7em;
}

#form form .box .line .sub_title input[type="number"]::-webkit-outer-spin-button,
#form form .box .line .sub_title input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* ファイル選択ボタンのスタイル */
#form form .box .line .sub_title input[type="file"]::-webkit-file-upload-button {
  color: #fff;
  background-color: var(--sub-color);
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
  transition: all 0.2s ease;
}

#form form .box .line .sub_title input[type="file"]::-webkit-file-upload-button:hover {
  background-color: var(--sub-color);
}

#form form .box .line .sub_title input[type="file"]::file-selector-button {
  color: #fff;
  background-color: var(--sub-color);
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
  transition: all 0.2s ease;
}

#form form .box .line .sub_title input[type="file"]::file-selector-button:hover {
  background-color: var(--sub-color);
}

/*  */
#form form .box .line .sub_title span {
  width: var(--sub-width);
}

#form form .box .line .sub_title p {
  width: calc(100% - var(--sub-width));
}

#form form .box .line .sub_title .checkbox {
  width: calc(100% - var(--sub-width));
  gap: 1em;
}

#form form .box .line .sub_title .checkbox label {
  cursor: pointer;
}

#form form .box .line .sub_title .checkbox label[type="checkbox"],
#form form .box .line .sub_title .checkbox label[type="radio"] {
  cursor: pointer;
}

#form form .privacy {}

#form form .privacy>*:not(:last-child) {
  margin: 0 0 1em;
}

#form form .privacy h3 {
  font-size: 1em;
}

#form form .privacy p {}

#form form .privacy .detail {
  padding: 2em;
  background-color: var(--box-color);
}

#form form .privacy .detail h4 {
  font-size: 1em;
  margin: 0 auto 2em;
}

#form form .privacy .detail p {}

#form form .privacy .detail a {
  color: var(--sub-color);
  text-decoration: underline;
}

#form form .privacy .checkbox .must {
  margin: 0 1em 0 0;
}

#form form .privacy .checkbox label {
  cursor: pointer;
}

#form form .btn {
  margin: 0 auto;
  text-align: center;
}

#form form .btn button {
  padding: 0.5em 1em;
  background-color: var(--sub-color);
  color: #fff;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  #form form .box {
    --sub-width: 80px;
    padding: 1em;
  }

  #form form .box .text {
    width: 100%;
  }

  #form form .box .line {
    width: 100%;
  }
}

/* ----------------------------------------top----------------------------------------*/
#thanks {}

#thanks h1 {
  text-align: center;
  font-size: 2em;
  margin: 0 0 2em;
}

#thanks .box {
  padding: 2em;
  background-color: var(--box-color);
}

#thanks .box p {}

/* ---------------------------------------- news ----------------------------------------*/
#news {}

#news .inner {
  max-width: var(--sub-inner);
}

#news h2 {
  text-align: center;
  margin: 0 auto 1em;
}

#news h2 img {
  height: 30px;
  margin: 0 auto;
}

#news .list {
  margin: 0 auto 2em;
}

#news .list a {
  --width: 100px;
  --gap: 0.5em;
  gap: var(--gap);
  padding: 0.5em 0.5em;
  transition: background-color 0.3s var(--anime2-3);
}

#news .list a.single {
  --margin: 1.5em;
  padding: var(--margin) 1em;
  border-bottom: 1px solid var(--sub-color);
}

#news .list a:hover {
  background-color: var(--box-color);
}


/* #news .list a>*:not(:last-child) {
  margin: 0 0 1em;
}

#news .list a.single>*:not(:last-child) {
  margin: 0;
} */

#news .list a .date {
  width: var(--width);
  color: var(--sub-color);
  transition: color 0.3s var(--anime2-3);
}

#news .list a.single:hover .date {
  color: #fff;
}

#news .list a .title {
  width: calc(100% - var(--width) - var(--gap));
  transition: color 0.3s var(--anime2-3);
}

#news .list a.single:hover .title {
  color: #fff;
}

#news .list .button.line {
  margin: 2em auto 0;
}

/* ---------------------------------------- fan_club ----------------------------------------*/
#fan_club {}

#fan_club .inner {
  max-width: var(--sub-inner);
}

#fan_club h2 {
  text-align: center;
  margin: 0 auto 1em;
}

#fan_club h2 img {
  height: 30px;
  margin: 0 auto;
}

#fan_club .button.line {
  margin: 2em auto 0;
}


/* news */
#single {}

#single.news {
  padding: var(--section-margin) var(--side-padding);
}

#single.news .inner {
  max-width: var(--sub-inner);
}

/* 投稿ヘッダー */
#single.news .post-header {
  margin: 0 0 3em;
  padding: 0 0 2em;
  border-bottom: 1px solid var(--sub-color);
}

#single.news .post-header .post-date {
  color: var(--sub-color);
  font-size: 0.9em;
  margin: 0 0 1em;
}

#single.news .post-header .post-title {
  font-size: 1.8em;
  line-height: 1.6;
  color: var(--font-color);
}

/* 投稿コンテンツ */
#single.news .post-content {
  margin: 0 0 4em;
  line-height: 2;
}

#single.news .post-content p {
  margin: 0 0 1.5em;
}

#single.news .post-content img {
  max-width: 100%;
  height: auto;
}

#single.news .post-content h2,
#single.news .post-content h3,
#single.news .post-content h4 {
  margin: 2em 0 1em;
  color: var(--sub-color);
}

#single.news .post-content ul,
#single.news .post-content ol {
  margin: 1.5em 0;
  padding: 0 0 0 2em;
}

#single.news .post-content li {
  margin: 0 0 0.5em;
}

/* 前後の記事ナビゲーション */
#single.news .post-navigation {
  margin: 0 0 3em;
  padding: 2em 0;
  border-top: 1px solid var(--sub-color);
  border-bottom: 1px solid var(--sub-color);
}

#single.news .post-navigation .nav-links {
  gap: 2em;
}

#single.news .post-navigation .nav-previous,
#single.news .post-navigation .nav-next {
  width: calc(50% - 1em);
}

#single.news .post-navigation .nav-links.start .nav-previous,
#single.news .post-navigation .nav-links.end .nav-next {
  width: auto;
}

#single.news .post-navigation .nav-next {
  text-align: right;
}

#single.news .post-navigation .nav-link {
  display: block;
  padding: 1em;
  text-decoration: none;
  color: var(--font-color);
  transition: background-color 0.3s ease;
}

#single.news .post-navigation .nav-link:hover {
  background-color: var(--box-color);
}

#single.news .post-navigation .nav-link.disabled {
  color: #999;
  cursor: not-allowed;
}

#single.news .post-navigation .nav-link .nav-label {
  display: block;
  font-size: 0.9em;
  color: var(--sub-color);
  margin: 0 0 0.5em;
}

#single.news .post-navigation .nav-link .nav-title {
  display: block;
  font-size: 1em;
  line-height: 1.5;
}

/* 一覧へ戻るボタン */
#single.news .back-to-list {
  text-align: center;
  margin: 2em 0 0;
}

@media screen and (max-width: 768px) {
  #single.news .post-header .post-title {
    font-size: 1.4em;
  }

  #single.news .post-navigation .nav-links {
    flex-direction: column;
    gap: 1em;
  }

  #single.news .post-navigation .nav-previous,
  #single.news .post-navigation .nav-next {
    width: 100%;
  }
}


/* ---------------------------------------- privacy ----------------------------------------*/
#privacy {}

#privacy .inner {
  max-width: var(--sub-inner);
}

#privacy h2 {
  text-align: center;
  font-size: 1.8em;
  margin: 0 auto 3em;
  color: var(--sub-color);
}

#privacy .content {
  line-height: 2;
}

#privacy .content .privacy-section {
  margin: 0 0 4em;
  padding: 0 0 4em;
  border-bottom: 1px solid var(--sub-color);
}

#privacy .content .privacy-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

#privacy .content .privacy-section h3 {
  font-size: 1.5em;
  color: var(--sub-color);
  margin: 0 0 2em;
  font-weight: normal;
}

#privacy .content .privacy-subsection {
  margin: 0 0 3em;
}

#privacy .content .privacy-subsection:last-child {
  margin-bottom: 0;
}

#privacy .content .privacy-subsection h4 {
  font-size: 1.2em;
  color: var(--sub-color);
  margin: 0 0 1em;
  font-weight: normal;
}

#privacy .content .privacy-section p {
  margin: 0 0 1.5em;
}

#privacy .content .privacy-section p:last-child {
  margin-bottom: 0;
}

#privacy .content .privacy-section ul {
  margin: 1.5em 0;
  padding: 0 0 0 2em;
  list-style: disc;
}

#privacy .content .privacy-section ul li {
  margin: 0 0 0.8em;
  line-height: 1.8;
}

#privacy .content .privacy-section ul li:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  #privacy h2 {
    font-size: 1.5em;
    margin: 0 auto 2em;
  }

  #privacy .content .privacy-section {
    margin: 0 0 3em;
    padding: 0 0 3em;
  }

  #privacy .content .privacy-section h3 {
    font-size: 1.3em;
    margin: 0 0 1.5em;
  }

  #privacy .content .privacy-subsection h4 {
    font-size: 1.1em;
  }

  #privacy .content {
    line-height: 1.8;
  }
}
