@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');
:root {
  --color-text: #222;
  --color-bg: #fdf3e7;
  --color-surface: #ffffff;
  --color-line: #d8d3cb;
  --color-accent: #325a84;
  --color-blue: #8cb4de;
  --color-green: #6ebea5;
  --color-darkgreen: #0c9268;
  --content-width: 420px;
  --side-width: 220px;
  --side-gap: 110px;
  --page-padding-y: 32px;
  --page-padding-x: 16px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
* {
  box-sizing: border-box;
}
@keyframes bgFlow {
  0% {
    background-position: center 0%;
  }
  100% {
    background-position: center 100%;
  }
}
html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--color-text);
  background-image: url("../img/pcbg.jpg");
  background-size: 100%;
  animation: bgFlow 300s linear infinite;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  font-family: "Noto Sans JP", sans-serif;
}
.h3-service {
  text-align: center;
}
.h3-service h3 {
  display: inline-block;
  background: var(--color-blue);
  padding: 0 10px;
  color: white;
}
.p-service {
  padding: 16px;
}
.page-shell {
  min-height: 100vh;
  position: relative;
}
.site-main {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content-width));
  min-height: calc(100vh - (var(--page-padding-y) * 2));
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.main-header {
  padding: 0;
  background: var(--color-blue);
}
.main-header > img:first-of-type {
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 1.6s cubic-bezier(.22, .61, .36, 1), transform 2.4s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.main-header.is-inview > img:first-of-type {
  opacity: 1;
  transform: scale(1);
}
.main-header__title {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.25;
  color: var(--color-accent);
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: normal;
  padding: 0 20px;
  text-align: center;
}
.main-header__lead {
  margin: 14px 0 0;
  line-height: 1.8;
  padding: 20px 20px 50px;
  color: white;
}
.main-section {
  padding: 24px 20px;
}
.main-section--green {
  background: var(--color-green);
}
.main-section--blue {
  background: var(--color-blue);
}
.main-section--gray {
  background: #ddd;
}
.copyright {
  text-align: center;
  padding: 70px 0 50px;
  font-size: 10px !important;
}
.main-section__title {
  font-family: "Noto Serif JP", serif;
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
}
.main-section__title-white {
  color: white;
  font-size: 2rem;
}
.main-section p {
  margin: 0;
  line-height: 1.8;
  font-size: 14px;
}
.side-visual {
  position: fixed;
  top: 140px;
  width: var(--side-width);
  z-index: 1;
}
.side-visual--left {
  left: max(24px, calc(50% - (var(--content-width) / 2) - var(--side-width) - var(--side-gap)));
}
.side-visual--right {
  right: max(24px, calc(50% - (var(--content-width) / 2) - var(--side-width) - var(--side-gap)));
  padding: 70px 0 0 0;
}
.side-visual__logo-link {
  display: block;
}
.side-visual__logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius);
}
.sns-title {
  text-align: center;
  font-family: "Noto Serif JP", serif;
}
.sns-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
  justify-content: center;
}
.sns-links a {
  display: inline-flex;
  min-height: 24px;
  padding: 0 12px;
}
.sns-links--small img {
  height: 24px;
  width: auto;
}
.sns-links--nav {
  gap: 6px;
  margin-top: 10px;
}
.sns-links--nav img {
  height: 20px;
  width: auto;
}
.side-copy {
  padding: 24px 20px;
  backdrop-filter: blur(10px);
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 5;
}
.back-to-top.is-hidden {
  display: none;
}
/*--------カテゴリーナビゲーション--------*/
.category-nav {
  display: flex;
  gap: 10px;
  padding: 20px 26px 26px 20px;
  margin: 30px 0 0 0;
  flex-wrap: wrap;
  justify-content: center;
}
/* 外側の固定レイヤー */
.category-item {
  position: relative;
  width: 82px;
  height: 40px;
}
/* 右下ラインのオブジェクト */
.category-item::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(6px, 6px);
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  border-bottom-right-radius: 8px;
  pointer-events: none;
}
/* 白いボタン本体だけ動かす */
.category-btn {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 40px;
  padding: 10px 16px 22px;
  background: #fff;
  color: var(--color-accent);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  transform: translate(0, 0);
  transition: transform 0.25s ease;
}
/* 下三角 */
.category-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 6px solid var(--color-blue);
  transition: transform 0.25s ease;
}
/* hoverで本体だけ線の位置まで移動 */
.category-item:hover .category-btn {
  transform: translate(4px, 4px);
}
.category-item:hover .category-btn::before {
  transform: translateX(-50%) translateY(1px);
}
.category-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: 4px;
}
/*--------その他ボタン--------*/
.btn-area {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 70px 0 30px;
}
.category-item--more {
  width: 114px;
  height: 40px;
}
.category-item--more::after {
  transform: translate(6px, 6px);
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-bottom-right-radius: 8px;
}
.category-btn--more {
  width: 114px;
  height: 40px;
  padding: 0 16px;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}
.category-btn--more::before {
  display: none;
}
.category-btn--more .category-btn__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.category-btn__label-g {
  font-family: "Noto Sans JP", sans-serif;
}
.category-btn--more .category-btn__label::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #fff;
}
.category-item--more:hover .category-btn--more {
  transform: translate(4px, 4px);
}
.category-btn--more:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 4px;
}
.category-item--cta {
  width: 240px;
  height: 72px;
}
/* 右下の影ライン */
.category-item--cta::after {
  transform: translate(6px, 6px);
  border-right: 1px solid #999;
  border-bottom: 1px solid #999;
  border-bottom-right-radius: 8px;
}
/* 本体 */
.category-btn--cta {
  width: 240px;
  height: 72px;
  padding: 12px 16px;
  background: #fff;
  color: #000;
  border: 1px solid #999;
  border-radius: 6px;
  /* テキスト */
  font-family: "Noto Serif JP", serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  /* 中央揃え */
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 既存の下三角は消す */
.category-btn--cta::before {
  display: none;
}
/* テキスト＋矢印 */
.category-btn--cta .category-btn__label {
  position: relative;
  display: inline-block;
  padding-right: 14px;
}
/* 右矢印 */
.category-btn--cta .category-btn__label::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #000;
}
/* hover（既存の押し込みを活かす） */
.category-item--cta:hover .category-btn--cta {
  transform: translate(4px, 4px);
}
/* アニメーションreveal 基本 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(.22, .61, .36, 1), transform 0.9s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}
/* 少しやわらかいバリエーション */
.reveal--soft {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 1.1s cubic-bezier(.22, .61, .36, 1), transform 1.1s cubic-bezier(.22, .61, .36, 1);
}
.reveal--soft.is-inview {
  opacity: 1;
  transform: translateY(0);
}
/* 商品カードの画像だけ微妙に寄る */
.item-card__media img {
  transform: scale(1.04);
  transition: transform 1.4s cubic-bezier(.22, .61, .36, 1);
}
.item-card.is-inview .item-card__media img {
  transform: scale(1);
}
/* hover時は少しだけ拡大 */
.item-card:hover .item-card__media img {
  transform: scale(1.06);
}
@media (max-width: 767px) {
  .carousel-b {
    padding: 0 12px 40px;
  }
  .carousel-b-card__media {
    padding: 18px 18px 0;
  }
  .carousel-b-card__body {
    padding: 0 18px;
  }
  .carousel-b-card__title {
    font-size: 1.05rem;
  }
  .carousel-b-card__desc {
    font-size: 0.95rem;
  }
}
/*--------アイテムカード----------*/
.item-grid {
  --gap-x: 12px;
  --gap-y: 14px;
  --frame-offset: 6px;
  --stagger-y: 50px;
  --hover-shift: 5px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap-x);
  row-gap: var(--gap-y);
  /* 右列の段差ぶんとフレームの逃げ */
  padding-top: var(--stagger-y);
  padding-right: var(--frame-offset);
  padding-bottom: var(--frame-offset);
}
.item-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  text-decoration: none;
  color: #fff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* 右列だけ少し下げる */
.item-card:nth-child(even) {
  transform: translateY(var(--stagger-y));
}
/* hoverの移動は本体ではなく中身にかける */
.item-card__frame, .item-card__media, .item-card__label {
  transition:
    transform 0.25s ease, background-color 0.45s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.item-card__frame {
  position: absolute;
  inset: 0;
  transform: translate(4px, 4px);
  background: var(--color-green);
  border-radius: 28px 0 28px 0;
  z-index: 0;
}
.item-grid--blue .item-card__frame {
  background: var(--color-blue);
}
.item-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 0.78 / 1;
  border-radius: 28px 0 28px 0;
  overflow: hidden;
  background: #f3f3f3;
  z-index: 1;
}
.item-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04) translateZ(0);
  transition: transform 1.4s cubic-bezier(.22, .61, .36, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.item-card__label {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  background: var(--color-green);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0 0 20px 0;
  z-index: 2;
}
.item-grid--blue .item-card__label {
  background: var(--color-blue);
}
.item-card__text {
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-card__arrow {
  flex: 0 0 auto;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 5px solid #fff;
  transition: transform 0.25s ease;
  will-change: transform;
}
/* hover時は中身だけ押し込む */
.item-card:hover .item-card__frame, .item-card:hover .item-card__media, .item-card:hover .item-card__label {
  transform: translate(var(--hover-shift), var(--hover-shift));
}
.item-card:hover .item-card__arrow {
  transform: translateX(3px);
}
.item-card:hover .item-card__label {
  background: var(--color-darkgreen);
}
.item-grid--blue .item-card:hover .item-card__label {
  background: var(--color-accent);
}
.item-card:hover .item-card__media img {
  transform: scale(1.06) translateZ(0);
}
.movie {
  width: 100%;
  margin-top: 80px;
}
/* 比率固定（16:9） */
.movie__inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000; /* 読み込み前の黒 */
  border-radius: 12px;
  overflow: hidden;
}
/* iframeをフィットさせる */
.movie__inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 920px) {
  .side-visual {
    display: none;
  }
}
@media (max-width: 767px) {
  :root {
    --content-width: 100%;
    --page-padding-y: 0;
    --page-padding-x: 0;
  }
  .site-main {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border-inline: 0;
    box-shadow: none;
  }
  .main-header {
    padding: 22px 0 0;
  }
  .main-section {
    padding: 22px 16px;
  }
  .main-header__title {
    font-size: 26px;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}