:root {
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Alexandria", sans-serif;
  --container-width: 1200px;
  --container-padding: 24px;
  --ucc-primary:#D03952;
  --ucc-secondary:#423232;
  --character-primary:#000000;
  --character-secondary:#efefef;
}

/* Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}
html:has(.modal.active) {
  scrollbar-gutter: stable;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  height: auto;
  width: 100%;
  vertical-align: bottom;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove list styles on ul, ol elements */
ul,
ol {
  list-style: none;
}

/* Remove default styles on links */
a {
  text-decoration: none;
  color: inherit;
}

/* Remove default table spacing */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Remove default fieldset styles */
fieldset,
legend {
  padding: 0;
  margin: 0;
  border: 0;
}

/* Remove default button styles */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Remove default focus outline */
:focus {
  outline: none;
}

/* Base Styles */
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  font-size: 16px;
  background-color: #f5f5f5;
}

/* ヘッダー ---------------------------------------------------------*/
/* ハンバーガーメニュー & メニュー --------------------- */

/* ハンバーガーメニューのチェックボックスを非表示 */
.menu-toggle {
  display: none;
}

/* レスポンシブ表示制御 */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* SP時のみハンバーガーメニューを表示 */
@media screen and (max-width: 768px) {
  .header .desktop-only {
    display: none;
  }

  .header .mobile-only {
    display: block;
  }
}

/* PC時はハンバーガーメニューを完全に非表示 */
@media screen and (min-width: 769px) {
  .header .mobile-only {
    display: none;
  }

  .navigation-sp {
    display: none;
  }

  .header .drawer-overlay {
    display: none;
  }
}

/* ハンバーガーメニューのチェックボックスを非表示 */
.header__menu-toggle {
  display: none;
}

/* ハンバーガーメニューボタン */
.header__hamburger-btn {
  position: relative;
  width: 20px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header__hamburger-btn span,
.header__hamburger-btn::before,
.header__hamburger-btn::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #585858;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header__hamburger-btn span {
  top: 50%;
  transform: translateY(-50%);
}

.header__hamburger-btn::before {
  top: calc(50% - 8px);
}

.header__hamburger-btn::after {
  top: calc(50% + 6px);
}

/* ハンバーガーメニューがアクティブ時（X マークに変化） */
.header__menu-toggle:checked ~ .header__hamburger-btn span {
  opacity: 0;
}

.header__menu-toggle:checked ~ .header__hamburger-btn::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.header__menu-toggle:checked ~ .header__hamburger-btn::after {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* メニューが開いている時のbodyのスクロールを禁止 */
body:has(.header__menu-toggle:checked) {
  overflow: hidden;
}

/* メニュー */
.navigation-sp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
  overflow-y: auto;
  margin-block-start: 64px;
}

.header__menu-toggle:checked ~ .navigation-sp {
  opacity: 1;
  visibility: visible;
}

/* ナビゲーションバー */
.navigation-sp__nav-bar {
  width: 100%;
  height: 54px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navigation-sp__header-container {
  width: 140.198px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navigation-sp__header-bg {
  width: 100%;
  height: 100%;
  background-color: #c4c4c4;
}

.navigation-sp__close-btn {
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navigation-sp__close-icon {
  width: 18px;
  height: 18px;
  fill: #585858;
}

/* メインコンテンツ */
.navigation-sp__main-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body:has(.header__menu-toggle:checked) .navigation-sp {
  opacity: 1;
  visibility: visible;
}
body:has(.header__menu-toggle:checked) .navigation-sp .navigation-sp__main-content {
  opacity: 1;
  visibility: visible;
}

/* メニューアイテム */
.navigation-sp__menu-items {
  width: 100%;
  background-color: white;
  padding: 8px;
}

.navigation-sp__menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  padding: 16px;
  border-bottom: 1px solid #d5dbe2;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #585858;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease;
  margin: 0 auto;
}

.navigation-sp__menu-item:hover {
  background-color: #f8f9fa;
}

.navigation-sp__menu-item:first-child {
  border-top: none;
}
.navigation-sp__menu-item--icon {
  width: 8px;
  display: flex;
  align-items: center;
}
/* 最新情報コンテナ */
.navigation-sp__latest-info-container {
  width: 274px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.navigation-sp__latest-info-header {
  width: 100%;
  height: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.navigation-sp__latest-info-line {
  width: 13.6px;
  height: 1px;
  background-color: #585858;
}

.navigation-sp__latest-info-line--left {
  transform: rotate(54deg);
}

.navigation-sp__latest-info-line--right {
  transform: rotate(126deg);
}

.navigation-sp__latest-info-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #585858;
  white-space: nowrap;
}

.navigation-sp__latest-info-content {
  width: 274px;
  height: 44px;
  background-color: #000;
  border-radius: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  gap: 16px;
}

.navigation-sp__social-icon {
  width: 12px;
  height: 12px;
  display: flex;
}

.navigation-sp__social-handle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: white;
}

/* 店舗情報コンテナ */
.navigation-sp__store-info-container {
  width: 336px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.navigation-sp__store-info-item,
.navigation-sp__melon-app-item {
  width: 100%;
  height: 72px;
  position: relative;
  background-color: #c4c4c4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navigation-sp__store-banner,
.navigation-sp__melon-app-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navigation-sp__store-info-text {
  position: absolute;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #000;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 4px;
}

.header {
  background-color: white;
  color: #333;
  padding-inline: 40px;
  padding-block: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  height: 64px;
  background: #ffffff;
  transition: all 0.5s;
  filter: drop-shadow(0px 3px 8px rgba(0, 0, 0, 0.1));
}
@media screen and (max-width: 768px) {
  .header {
    padding-inline: 16px;
  }
}

/* Header レイアウト */
.header__left {
  width: 80px;
  flex-shrink: 0;
  display: grid;
  place-content: center;
}

/* Header Navigation */
.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.header__nav-link {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ucc-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.header__nav-link:hover {
  opacity: 0.6;
}

.header__home-btn {
  width: 50px;
}

.header__home-btn:hover {
  opacity: 0.8;
}
@media (max-width: 768px) {
  .header__nav {
    display: none;
  }
  .header__home-btn {
    display: none;
  }
  .header__hamburger-btn {
    display: block;
  }
}

/* ヘッダー ここまで---------------------------------------------------------*/

/* main -------------------------------------------------------------------*/
.main {
  width: 100%;
  position: relative;
}
/* main ここまで---------------------------------------------------------*/

/* コンテナ-------------------------------------------------------- */
.container--base {
  max-width: calc(var(--container-width) + var(--container-padding) * 2);
  margin: 0 auto;
  width: 100%;
  position: relative;
}
/* コンテナ ここまで-------------------------------------------------------- */

/* bg  ----------------------------------------------------------------------*/
.bg {
  position: fixed;
  width: 100%;
  height: 100svh;
  background-image: url("../images/bg_pc.webp");
  background-size: 100% auto;
  background-repeat: no-repeat;
  z-index: -1;

  @media (-webkit-min-device-pixel-ratio: 2) {
    background-image: url("../images/bg_pc@2x.webp");
  }

  @media (max-width: 768px) {
    background-image: url("../images/bg_sp.webp");
  }

  @media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    background-image: url("../images/bg_sp@2x.webp");
  }
}

/* bg  ここまで---------------------------------------------------------------*/

/* section 共通要素-------------------------------------------- */
.section-header {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  width: 100%;
  margin: 0 auto;
}

.section-header__title {
  font-family: "Alexandria", sans-serif;
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: var(--character-primary);
  text-transform: uppercase;
  margin: 0;
  height: 56px;
  display: flex;
  align-items: center;
}

.section-header__subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  color: var(--character-primary);
  margin: 0;
  height: 15px;
  display: flex;
  align-items: center;
  margin-bottom: 6px; /* titleのベースラインに合わせるための調整 */
}
.section-wrapper {
  padding-block-start: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-inline: var(--container-padding);
}
/* レスポンシブデザイン */

@media screen and (max-width: 800px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    height: auto;
    padding: 0;
  }

  .section-header__title {
    font-size: 48px;
    height: auto;
  }

  .section-header__subtitle {
    font-size: 16px;
    margin-bottom: 0;
  }
  .section-wrapper {
    padding-block-start: 40px;
  }
}

/* section 共通要素 ここまで -------------------------------------------- */

/* character-wrapper -------------------------------------------------------- */
.character-wrapper {
  display: grid;
  grid-template-columns: 1.417fr 1fr;
  gap: 40px;
  margin-inline: auto;
}
.character__image {
  width: stretch;
}
.character__info {
  width: 480px;
  background-color: #333;
}
@media screen and (max-width: 1100px) {
  .character-wrapper {
    grid-template-columns: 1fr;
  }
}

/* スライダー -------------------------------------------------------- */
.slider-container {
  max-width: 680px;
  margin: 0 auto;
  border-radius: 12px;  
}

/* メインスライダー */
.main-swiper {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  scroll-margin-block-start: 64px;
}

.main-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.main-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.main-swiper .swiper-slide.placeholder {
  color: white;
  font-size: 18px;
  font-weight: bold;
  border: 1px solid #0000003d;
  border-radius: 8px;
}

/* サムネイルスライダー */
.thumbnail-container {
  max-width: 510px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-inline: auto;
}

.thumb-swiper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.thumb-swiper .swiper-wrapper {
  justify-content: flex-start;
}

.thumb-swiper .swiper-slide {
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s ease;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.thumb-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-swiper .swiper-slide.placeholder {
  background: #fff;
  color: white;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid #5e5e5e;
}

.thumb-swiper .swiper-slide.swiper-slide-thumb-active {
  opacity: 1;
  border: 4px solid var(--character-primary);
}

/* サムネイルクリック時のスタイル強化 */
.thumb-swiper .swiper-slide:hover {
  opacity: 0.8;
  transition: all 0.3s ease;
}
/* ナビゲーション */
.swiper-button-next,
.swiper-button-prev {
  color: #667eea;
  width: 40px;
  height: 40px;
  margin-top: 0;
  position: static;
}

.main-next,
.main-prev {
  width: 30px;
  height: 30px;
  color: #000000;
  background: transparent;
  flex-shrink: 0;
}

.main-next:after,
.main-prev:after {
  font-size: 12px;
  font-weight: bold;
  color: var(--character-primary);
}

/* メインスライダーのナビゲーション */
.main-swiper .swiper-button-next,
.main-swiper .swiper-button-prev {
  position: absolute;
  margin-top: -20px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px;
  font-weight: bold;
}

/* クリック可能な画像 */
.clickable-image,
.clickable-slide {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* .clickable-image:hover,
.clickable-slide:hover {
  opacity: 0.9;
} */

/* ズームアイコン */
.zoom-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* クリックイベントを通す */
  transition: all 0.3s ease;
  opacity: 0.8;
}

.clickable-slide:hover .zoom-icon,
.clickable-image:hover + .zoom-icon {
  opacity: 1;
  transform: scale(1.05);
}

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

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

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;

  overflow: hidden;

  animation: scaleIn 0.3s ease;  
}

.modal-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.modal-image-container img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

/* モーダル閉じるボタン */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 1px;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  padding: 80px;
  border-radius: 8px;
  text-align: center;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .slider-container {
    max-width: 312px;
  }

  .thumb-swiper .swiper-slide.placeholder {
    font-size: 10px;
  }

  .zoom-icon {
    width: 36px;
    height: 36px;
    bottom: 8px;
    right: 8px;
  }

  .zoom-icon img {
    width: 20px;
    height: 20px;
  }

  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .modal-placeholder {
    font-size: 20px;
    padding: 40px;
    min-width: 300px;
    min-height: 200px;
  }

  /* モバイル対応 - Xボタン */
  .modal-close {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
  }

  .modal-close::before,
  .modal-close::after {
    width: 16px;
  }
}
/* Main Character Info Container
   ========================================================================== */
.character-info {
  display: grid;
  gap: 40px;
  max-width: 480px;
  padding-block: 24px;
  /* background-color: #ffffff; */
  border-radius: 8px;
  align-self: start;
  justify-self: center;
}

/* Character Name
   ========================================================================== */
.character-info__name {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  color: #000000;
  text-align: left;
  word-break: break-all;
}

/* Character Details Container
   ========================================================================== */
.character-info__details {
  display: grid;
  gap: 12px;
}

.character-info__detail-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  @media (max-width: 768px) {
    grid-template-columns: 120px 1fr;
  }
}

.character-info__detail-label {
  background-color: var(--character-secondary);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character-info__detail-label span {
  font-size: 13px;
  font-weight: 800;
  color: var(--character-primary);
  line-height: 1;
}

.character-info__detail-value {
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  line-height: 1.4;
  word-break: break-all;
}

/* Description
   ========================================================================== */
.character-info__description {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  line-height: 1.8;
  text-align: left;
}

/* Button wrapper & Button
   ========================================================================== */
.character-info__button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.character-info__button {
  display: block;
  padding-block: 20px;
  padding-inline: 62px;
  background-color: var(--character-primary);
  color: #ffffff;
  border: none;
  border-radius: 1000px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.25);
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
}

.character-info__button:hover {
  opacity: 0.8;
}

.character-info__button:active {
  transform: translateY(0);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}
.character-info__button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: auto;
  flex-shrink: 0;
}
.character-info__button__icon--right {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
}
/* Illustrator Section
   ========================================================================== */
.character-info__illustrator {
  background-color: var(--character-secondary);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  gap: 20px;
}

.character-info__illustrator-header {
  padding-bottom: 20px;
  border-bottom: 1px solid #bcbcbc;
}

.character-info__illustrator-label {
  font-size: 20px;
  font-weight: 900;
  color: #515151;
  line-height: 1.3;
  letter-spacing: 0.1em;
}

.character-info__illustrator-name {
  font-size: 13px;
  font-weight: 800;
  color: #515151;
  line-height: 1.3;
  word-break: break-all;
}

.character-info__illustrator-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* SNS Icons
   ========================================================================== */
.character-info__sns-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.character-info__sns-icon:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0.8;
}
.character-info__sns-icon:active {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
  .character-info {
    width: 100%;
    max-width: 480px;
    padding: 0px;
    gap: 32px;
  }

  /* .character-info__name {
    font-size: 26px;
  } */

  /* .character-info__button {
    width: 100%;
    max-width: 260px;
  } */
}

@media (max-width: 480px) {
  .character-info {
    gap: 24px;
  }

  .character-info__name {
    font-size: 24px;
  }

  .character-info__detail-label {
    width: 120px;
    justify-self: start;
  }

  .character-info__description {
    font-size: 14px;
    line-height: 1.7;
  }

  .character-info__illustrator {
    padding: 20px;
    gap: 16px;
  }

  .character-info__illustrator-label {
    font-size: 18px;
  }
}
/* link-wrapper -------------------------------------------------------- */
.link-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 20px 128px;
}

.button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-block: 34px;
  padding-inline: 117px;
  border-radius: 1000px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--character-primary);
  position: relative;
}

.button-wrapper--white {
  background-color: #ffffff;
  color: var(--character-primary);
  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
}

.button-wrapper--white:hover {
  opacity: 0.8;
}
.button-wrapper--white:active {
  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2);
}

.button-wrapper--black {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.5);
}
.button-wrapper--black:hover {
  opacity: 0.8;
}
.button-wrapper--black:active {
  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
}

.button-wrapper__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  aspect-ratio: 9/14;
  flex-shrink: 0;
  background: var(--character-primary);
}
.button-wrapper__icon--left {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-mask-image: url(../images/icon/icon-arrow-left.svg);
  mask-image: url(../images/icon/icon-arrow-left.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat; 
  mask-position: center;
  -webkit-mask-position: center;
}

.button-wrapper__text {
  line-height: 1;
  white-space: nowrap;
}

/* レスポンシブデザイン */

@media screen and (max-width: 768px) {
  .link-wrapper {
    flex-direction: column;
    gap: 16px;
    padding: 40px 16px;
    box-shadow: none;
  }

  .button-wrapper {
    width: 100%;
    max-width: 400px;
    height: 70px;
    font-size: 16px;
    padding: 20px;
  }
}
/* link-wrapper ここまで-------------------------------------------------------- */

/* フッター-------------------------------------------------------- */
/* Footer Styles */
footer {
  background-color: white;
  color: #333;
  text-align: center;
  margin-top: auto;
  border-top: 1px solid #e0e0e0;
  text-align: left;
}

footer p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #666;
}
.footer__btn-group {
  flex-direction: column;
  background: #378a40;
  padding: 7rem;
}

.footer__btn-wrap {
  display: flex;
  max-width: 1120px;
  margin: auto;
  gap: 1%;
  justify-content: space-around;
  align-items: center;
}

.footer__btn {
  width: calc(80% / 3);
}

.footer__btn-icon {
  color: #378a40;
}

.footer__btn:hover .footer__btn-icon {
  color: #fff;
}

.footer__inner {
  display: grid;
  grid-template-columns: 5fr 2fr;
  grid-template-rows: repeat(1, 1fr);
  gap: 32px 60px;
  max-width: 1120px;
  margin: 5.5rem auto;
}

.footer__gnav-wrap {
  grid-row: 1/3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer__input {
  display: none;
}

.footer__gnav_ttl {
  display: block;
  margin-bottom: 24px;
}

.footer__ttl,
.footer__gnav_ttl {
  font-size: 14px;
  font-weight: 900;
}

.footer__gnav-list {
  padding-left: 0;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__gnav-item {
  list-style: none;
}

.footer__link {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__sns-wrap {
  display: flex;
  gap: 0.5rem;
}

.footer__sns-btn {
  background: #000000;
  color: #fff;
  padding: 0.5em 1.1em 0.5em;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  gap: 0.8em;
  align-items: center;
  &::before {
    content: "";
    display: block;
    width: 1em;
    height: 1em;
    background: no-repeat center / contain url(../images/icon/x_logo.svg);
    background-size: contain;
  }
}

.footer__sns,
.footer__appli {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__appli .footer__appli-wrap {
  margin: 0;
  display: flex;
  gap: 0.5rem;
  max-width: 350px;
}

.footer__nav {
  grid-column: 1/3;
  display: flex;
  gap: min(1.8vw, 48px);
  align-items: center;
  justify-content: center;
  font-size: min(1vw, 14px);
}

.footer__nav-text {
  display: flex;
  gap: 2rem;
  margin-top: 1.1rem;
  font-weight: 500;
}

.footer__logo {
  height: 4em;
  display: block;

  img {
    height: 100%;
    width: auto;
  }
}

.footer__copyright {
  margin: auto;
  text-align: center;
  padding: 2rem;
  background: #378a40;
  color: #fff;
  font-weight: 500;
}

@media screen and (max-width: 1150px) {
  .footer__inner {
    display: flex;
    flex-direction: column;
    width: 90%;
  }
}

@media screen and (max-width: 769px) {
  .footer__btn-group {
    padding: 4rem;
  }

  .footer__btn-wrap {
    display: flex;
    max-width: 1120px;
    margin: auto;
    gap: 1rem;
    justify-content: space-around;
    flex-direction: column;
  }

  .footer__btn {
    width: 85%;
    text-align: center;
  }

  .footer__gnav {
    border-bottom: 1px solid #000;
  }

  .footer__gnav:first-of-type {
    border-top: 1px solid #000;
  }

  .footer__gnav_ttl {
    margin-bottom: 0;
    padding-right: 1em;
    background: no-repeat center right/1.5rem url("../images/icon/add-line.svg");
  }

  [name="footer-menu"]:checked ~ .footer__gnav_ttl {
    background: no-repeat center right/1.5rem url("../images/icon/subtract-line.svg");
  }

  .footer__gnav_ttl,
  .footer__gnav-item {
    padding-block: 1.5em;
    margin-inline: 0.5em;
    list-style: none;
  }

  .footer__gnav_accordion {
    display: grid;
    grid-template-rows: 0fr;
    transition: 250ms grid-template-rows ease;
    transition: all 0.5s;
  }

  [name="footer-menu"]:checked ~ .footer__gnav_accordion {
    grid-template-rows: 1fr;
  }

  .footer__gnav-list {
    gap: 0;
    overflow: hidden;
    margin: 0;
  }

  .footer__gnav-item {
    border-top: 1px solid #0000004d;
    padding-right: 1em;
    list-style: none;
  }

  .footer__link {
    width: 90%;
    margin-inline: auto;
  }

  .footer__appli {
    width: 100%;
  }

  .footer__nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-size: 14px;
  }

  .footer__nav-text {
    display: flex;
    gap: 2rem;
    margin-top: 1.1rem;
    flex-direction: column;
    align-items: center;
  }

  .footer__gnav-wrap {
    display: block;
    width: 90%;
    margin: auto;
  }

  .footer__logo {
    margin-left: -1rem;
  }
}

/* フッター ここまで-------------------------------------------------------- */


/* 画像保存防止対策 -------------------------------------------------------- */

.clickable-image,#modalImage{
  -webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    user-select:none;
}


/* ユーティリティ -------------------------------------------------------- */

.sp {
  display: none;
}

.pc {
  display: block;
}

.br_pc {
  display: block;
}
@media (max-width: 769px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .br {
    display: block;
  }

  .br_pc {
    display: none;
  }
}
