@charset "utf=8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
.video-item dl:hover,
.topics-video dl:hover,
.dropdown a:hover {
  color: #c66a0e;
}

body {
  max-width: 1366px;
  margin: 0 auto;
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  color: #000;
  background-color: #fcf7e6;
}

header {
  width: 100%;
  max-width: 1366px;
  height: 85px;
  padding: 0 3% 0 5%;
  background-color: #fcf7e6;
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  position: fixed;
  z-index: 10000;
  box-shadow: 0px 10px 15px -13px rgba(173, 173, 173, 0.3);
}

header h1 {
  display: block;
  line-height: 1.15em;
  letter-spacing: 0.03em;
  width: 48%;
}

.header-inner {
  width: 94%;
  display: flex;
}

.header-inner form {
  display: flex;
  align-items: center;
  padding-right: 1%;
  padding-left: 1%;
}

.toggle-menu {
  display: none;
}

.guide-search-cart {
  display: flex;
  align-items: center;
  padding-left: 3%;
  gap: 9%;
  width: 40%;
}

.dropdown {
  position: relative;
}

/* ▼ トリガーリンク */
.dropdown a {
  display: inline-block;
  padding: 16px 12px;
  color: #000;
  text-decoration: none;
}

/* ▼ メニュー本体（閉じている状態） */
.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin: 6px 0 0;
  padding: 6px 0;
  background: #fcf7e6;
  border-radius: 4px;
  box-shadow: 0 4px 4px rgba(173, 173, 173, 0.3);
  z-index: 1000;
  /* アニメーション初期状態 */
  opacity: 0;
  visibility: hidden;
  transform-origin: top;
  /* 上端を基点に伸縮 */
  transform: translateY(-8px) scaleY(.8);
  /* 上に少しずらし縦縮小 */
  transition:
    transform .28s cubic-bezier(.2, .7, .2, 1),
    opacity .20s ease,
    visibility 0s linear .28s;
  pointer-events: none;
  /* 非表示中はクリック不可 */
  overflow: hidden;
  will-change: transform, opacity;
}

/* ▼ 表示状態 */
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scaleY(1);
  transition:
    transform .28s cubic-bezier(.2, .7, .2, 1),
    opacity .20s ease,
    visibility 0s;
  pointer-events: auto;
}

.dropdown .dropdown-menu a {
  display: block;
  padding: 10px 16px;
}

.dropdown .dropdown-menu a:hover,
.dropdown .dropdown-menu a:focus {
  background: #d9e2d3;
}


main {
  max-width: 1366px;
  margin: 0 auto;
  padding-top: 85px;
  position: relative;
}

.top-image-container {
  max-width: 1366px;
  /* margin: 0 auto; */
  height: 520px;
  display: flex;
  position: relative;
  box-shadow: 0px 10px 15px -13px rgba(173, 173, 173, 0.3);
  z-index: 1
}

.slider {
  width: 70%;
  height: 520px;
  overflow: hidden;
}

.slider .slider-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.copy {
  width: 30%;
  min-width: 340px;
  background-color: #fff;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  text-align: center;
  /* padding: 56px 50px 50px 30px; */
  line-height: 1.6;
  padding-top: 20px;
  padding-right: 12px;
}

.copy h2,
.copy p {
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
}

.copy h2 {
  font-size: 28px;
}

.copy h2 #top-copy {
  display: inline-block;
  transform: scale(0.8, 2);
  padding: 8px 0;
}

.copy p {
  padding-top: 108px;
  padding-right: 12px;
  text-align: start;
}

.main-container {
  width: calc(100% - 280px);
  background-color: #fff;
  position: relative;
}

.copy h2,
.content-title h2 {
  padding-bottom: 25px;
}

.topics-articles-container {
  padding: 50px 50px 15px;
}

.topics-videos-container {
  padding: 40px 50px 15px;
}

.category-container {
  padding: 40px 0 15px;
  width: 100%;
  max-width: 1086px;
}

.info {
  padding: 40px 50px 50px;
}

.content-title {
  display: flex;
}

.topics-articles-container .topics-articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .topics-articles-container .topics-articles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .topics-articles-container .topics-articles {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.topics-articles-container .topics-articles img {
  display: block;
  width: 100%;
  height: auto;
}

.topics-videos-container .topics-videos {
  padding: 0 25px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.8rem;
}

@media (max-width: 900px) {
  .topics-videos-container .topics-videos {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.topics-videos-container .topics-videos .iframe-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.topics-videos-container .iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.topics-articles .topics-article dl,
.topics-videos .topics-video dl {
  padding: 12px 8px;
}

.topics-articles .topics-article dl dt,
.topics-videos .topics-video dl dt {
  font-weight: bolder;
}

.topics-articles .topics-article dl dd,
.topics-videos .topics-video dl dd {
  font-size: 14px;
  text-align: right;
  padding-top: 13px;
}

.content-title {
  display: flex;
  gap: 1em;
}

.content-title h2 {
  position: relative;
  display: inline-block;
}

.content-title h2::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #000;
}

.content-title .show-more {
  padding-top: 10px;
  font-size: 14px;
}

.show-more::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin: 0 0 1px 5px;
  border: 5px solid transparent;
  border-right: 0 solid transparent;
  border-left: 8px solid #000;
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.category-button img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.category-button {
  cursor: pointer;
  position: relative;
}

.category-button:hover {
  transform: scale(1.08);
  transition: transform 0.3s ease;
  z-index: 100;
}

.category-button p {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s ease;
  background-color: rgba(217, 226, 211, 0.85);
  width: 150px;
  height: 80px;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.2em;
}

.category-button:nth-child(1) p {
  bottom: 0;
  right: 0;
}

.category-button:nth-child(2) p {
  bottom: 0;
  left: 0;
}

.category-button:nth-child(3) p {
  top: 0;
  right: 0;
}

.category-button:nth-child(4) p {
  top: 0;
  left: 0;
}

.info-list {
  padding-top: 20px;
}

.info .info-list li {
  padding-bottom: 32px;
  position: relative;
  padding-left: 30px;
  line-height: 1.5em;
}

.info ul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin: auto 0;
  /* 垂直方向中央配置 */
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: #d9e2d3;
}

.side-panel {
  position: absolute;
  top: 0;
  left: 100%;
  width: 280px;
  /* height: calc(100% + 91px); */
  background-color: #d9e2d3;
  z-index: 1000;
  padding: 22px 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.side-panel h3 {
  margin: 1.5rem auto;
  font-size: 18px;
  text-align: center;
}

.side-panel h3 span {
  font-size: 13px;
}

.panel-list li {
  padding-bottom: 20px;
}

.panel-list .article-item img,
.panel-list .pick-up-item img {
  width: 210px;
  height: 140px;
  object-fit: cover;
  display: block;
}

/* 画像をホバー時に透けさせる */
.items-container .items a img,
.topics-articles-container .topics-article a img,
.topics-videos-container .topics-video .iframe-container,
.side-panel-container-articles .article-item a img,
.side-panel-container-videos .video-item .iframe-container,
.side-panel-container-pick-up-items .pick-up-item a img {
  transition: opacity .2s ease;
}

.items-container .items a:hover img,
.topics-articles-container .topics-article a:hover img,
.topics-articles-container .topics-article a:focus-visible img,
.topics-videos-container .topics-video .iframe-container:hover,
.topics-videos-container .topics-video .iframe-container:focus-visible {
  opacity: .8;
}

.side-panel-container-articles .article-item a:hover img,
.side-panel-container-articles .article-item a:focus-visible img,
.side-panel-container-videos .video-item .iframe-container:hover,
.side-panel-container-videos .video-item .iframe-container:focus-visible,
.side-panel-container-pick-up-items .pick-up-item a:hover img,
.side-panel-container-pick-up-items .pick-up-item a:focus-visible img {
  opacity: .7;
}

.panel-list .video-item .iframe-container {
  width: 220px;
  aspect-ratio: 16 / 9;
}

.panel-list .video-item iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.panel-list .article-item dl {
  width: 210px;
  padding: 8px 3%;
  background-color: #fff;
  line-height: 1.3em;
}

.panel-list .video-item dl {
  width: 220px;
  padding: 8px 3%;
  background-color: #fff;
  line-height: 1.3em;
}

.panel-list .pick-up-item dl {
  width: 210px;
  padding: 8px 3%;
  background-color: #fff;
  line-height: 1.3em;
}

.panel-list dl dt {
  text-align: center;
  font-weight: bolder;
  padding-bottom: 5px;
}

.panel-list dl dd {
  text-align: center;
  font-size: 12px;
  line-height: 1.1em;
}

.panel-list .price {
  text-align: center;
  padding-bottom: 5px;
}

footer {
  width: calc(100% - 280px);
  padding: 40px 5%;
  background-color: #fcf7e6;
}

footer .footer-disclaimer {
  color: red;
  font-weight: bold;
  font-size: 0.9rem;
  margin-top: 22px;
}

footer ul {
  display: flex;
  justify-content: space-between;
}

footer li {
  font-size: 14px;
}

footer p {
  font-size: 12px;
  margin-top: 18px;
}

@media (max-width: 1184px) {
  footer ul {
    flex-direction: column;
  }

  footer li {
    line-height: 2.5em;
  }
}

@media (max-width: 900px) {

  /* 右上のハンバーガー */
  .toggle-menu {
    display: inline-block;
    position: fixed;
    top: 22px;
    right: 28px;
    z-index: 1101;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  /* ハンバーガーの3本線 */
  .toggle-menu::before,
  .toggle-menu::after,
  .toggle-menu span {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: #111;
    transition: transform .25s ease, opacity .2s ease;
  }

  .toggle-menu span {
    top: 19px;
  }

  .toggle-menu::before {
    top: 12px;
  }

  .toggle-menu::after {
    top: 26px;
  }

  /* 開いたときは×印に変形 */
  .toggle-menu[aria-expanded="true"]::before {
    transform: translateY(7px) rotate(45deg);
  }

  .toggle-menu[aria-expanded="true"]::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .toggle-menu[aria-expanded="true"] span {
    opacity: 0;
  }

  /* メニュー本体：上からスライドダウン */
  .header-inner {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1100;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    transform: translateY(-110%);
    transition: transform .28s cubic-bezier(.2, .7, .2, 1);
    /* 上はボタン分の余白 */
    padding: 64px 16px 32px;
    display: block;
  }

  .header-inner.is-open {
    transform: translateY(0);
  }

  /* 内部レイアウト：縦並びに簡略化 */
  .header-inner nav,
  .header-inner form,
  .header-inner .guide-search-cart {
    width: 100%;
  }

  .header-inner form {
    display: flex;
    gap: 8px;
    padding: 8px 0;
  }

  .header-inner form input[type="search"] {
    flex: 1;
  }

  .guide-search-cart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 8px;
  }

  /* ▼ ドロップダウンの挙動を「タップで開閉」に変更 */
  .dropdown {
    position: static;
    margin: 6px 0;
  }

  .dropdown>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 10px;
    text-decoration: none;
    border-radius: 6px;
    background: #f7f7f7;
  }

  /* PC用のアニメ付きメニューは無効化して素朴に */
  .dropdown .dropdown-menu {
    position: static;
    margin: 6px 0 0;
    padding: 6px 0;
    background: #fcf7e6;
    border-radius: 6px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    pointer-events: auto;
    /* 初期設定は閉じる */
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  /* 開いたら見せる */

  .dropdown .dropdown-menu a {
    display: block;
    padding: 10px 14px;
  }
}