@charset "utf-8";
/* CSS Document */

/* =======================================================
   CSS変数（色・文字・余白・レイアウト幅の一括管理）
======================================================= */
:root {
  /* カラー */
  --color-primary: #01277d;        /* メインブルー */
  --color-secondary: #01277d;      /* 見出し・ネイビー */
  --color-text: #222222;           /* 本文テキスト */
  --color-white: #FAFAFA;          /* 白 */
  --color-accent-red: #c10d23;     /* 注意書き・強調赤 */
  --color-bg-cream: #fff8e6;       /* 概要セクション背景 */
  --color-bg-dot: #d6c5ae;         /* ドット柄 */
  --color-bg-card: #F5F3ED;        /* カード背景 */
  --color-bg-pink: #ffd9e8;        /* ピンク背景 */
  --color-pink: #e62f8b;
  --color-bg-green: #ddff97;       /* グリーン背景 */
  --color-green: #c4d700;
  --color-deep-green: #536118;
  --color-bg-hover: #9d9fa5;       /* ホバー背景 */
  --color-border: #8698b7;         /* 枠線 */
  --color-border-dashed: #c8cbcf;  /* 破線 */

  /* フォント */
  --font-base: "Noto Sans JP", sans-serif;
  --font-heading: "fot-udkakugoc80-pro", "Noto Sans JP", sans-serif;
  --font-en: "futura-pt-bold", sans-serif;

  /* 文字サイズ */
  --text-xs: 14px;
  --text-base: 16px;
  --text-md: clamp(1.125rem, 0.8942rem + 1.0256vw, 1.25rem);
  --text-lg: 24px;
  --text-xl: clamp(1.75rem, 1.25rem + 2.2222vw, 2rem);
  --text-2xl: 60px;

  /* 行間 */
  --leading-tight: 1.4;
  --leading-heading: 1.6;
  --leading-base: 1.8;
  --leading-loose: 2.2;

  /* 余白・間隔 */
  --space-xs: 12px;
  --space-sm: 20px;
  --space-md: 28px;
  --space-lg: 36px;
  --space-xl: 60px;
  --space-xxl: 100px;

  /* レイアウト・角丸 */
  --content-width: 86%;            /* メインコンテンツ内の文字情報幅 */
  --main-max-width: 540px;         /* 中央カラム最大幅 */
  --radius-sm: 4px;
  --radius-md: 8px;
}

/* =======================================================
   基本スタイル
======================================================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-optical-sizing: auto;
  font-style: normal;
  font-size: var(--text-base);
  line-height: var(--leading-base);
  color: var(--color-text);
  background-color: var(--color-white);
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, p, dl, ul {
  margin: 0;
  padding: 0;
  color: var(--color-text);
}

ul {
  list-style: none;
}
.small{
		display: block;
	}
/* =======================================================
   SP First レイアウト基盤
======================================================= */
.pc-only,
.pc-side-only {
  display: none !important;
}

.main-scroll-wrap {
  width: 100%;
  background: none;
  margin-top: 0;
}

.main-scroll-inner,
.main-content-wrap {
  width: 100%;
}

/* 中央に表示されるスマホサイズのコンテンツエリア */
.main-content {
  max-width: var(--main-max-width);
  width: 100%;
  margin: 0 auto;
  background-color: var(--color-white);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 100;
  overflow: hidden;
  box-sizing: border-box;
}

.main-content section {
  padding: 0;
  box-sizing: border-box;
}

.section-inner {
  width: var(--content-width);
  margin-inline: auto;
  box-sizing: border-box;
}

.main-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ちぎり紙などのフル幅装飾画像 */
.main-content img.torn-paper {
  width: 100%;
  display: block;
  margin: 0;
}

/* ステッカー装飾共通 */
.sticker {
  position: absolute;
  height: auto;
  margin: 0;
  pointer-events: none;
}

/* =======================================================
   タイポグラフィ・見出し共通
======================================================= */
.main-content .title-eng {
  display: block;
  font-size: var(--text-2xl);
  color: var(--color-primary);
  letter-spacing: 2px;
  text-align: center;
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1.2;
  padding-top: var(--space-md);
}

.main-content h2 {
  font-size: var(--text-xl);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-heading);
  letter-spacing: 2px;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  font-feature-settings: "palt";
}

.main-content h3 {
  font-size: var(--text-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-heading);
  letter-spacing: 2px;
  color: var(--color-secondary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.main-content h4 {
  font-size: var(--text-md);
  padding-left: var(--space-xs);
  line-height: var(--leading-tight);
}

.shop-link h4 {
  padding-bottom: 3px; /* テキストと下線の間隔 */
  background-image: linear-gradient(#e62f8b, #e62f8b);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 2px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.3s;
}

.shop-link h4:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 2px; /* 下線の横幅を100%にする */
}

.main-content p {
  text-align: left;
  line-height: var(--leading-base);
}

.main-content .big {
  font-size: var(--text-md);
  font-weight: 500;
  text-align: center;
  padding: var(--space-xs) 0 var(--space-sm);
}

.main-content .center-text {
  text-align: center;
  font-size: var(--text-xs);
  margin-bottom: var(--space-xs);
}

.main-content .note-list{
  font-size: var(--text-xs);
  line-height: var(--leading-base);
  margin-top: 6px;
  font-family: var(--font-base);
    color: var(--color-text);
    background: none;
    clip-path: none;
	padding: 0;
}

.redtext {
  display: inline-block;
  background-color: var(--color-accent-red);
  color: var(--color-white);
  padding: 2px 8px;
  font-weight: 700;
  font-size: var(--text-xs);
  margin: var(--space-xs) 0;
  border-radius: 2px;
}

/* マスキングテープ風見出し */
.main-content .tape-large {
  position: relative;
  background-image: url("../img/tape_pink.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin: var(--space-xl) auto var(--space-md);
  font-size: var(--text-lg);
  font-weight: 700;
  padding: 34px 40px;
  color: var(--color-white);
}

/* =======================================================
   カード・定義リスト（dl, dt, dd）共通
======================================================= */
.info-card {
  position: relative;
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) auto;
  box-shadow: 4px 4px 0 rgba(87, 101, 122, 0.4);
}

.main-content dl {
  display: flex;
  flex-wrap: wrap;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-xs);
  margin: var(--space-xs) 0;
  border: 1px solid var(--color-border);
}

.main-content dt {
  width: 30%;
  font-weight: 700;
  color: var(--color-secondary);
  padding: 6px 0;
  border-bottom: 1px dashed var(--color-border-dashed);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.main-content dd {
  width: 70%;
  margin: 0;
  padding: 6px 0 6px var(--space-xs);
  border-bottom: 1px dashed var(--color-border-dashed);
  box-sizing: border-box;
  text-align: left;
  display: flex;
  align-items: center;
}

.main-content dl dt:last-of-type,
.main-content dl dd:last-of-type {
  border-bottom: none;
}

/* =======================================================
   目次・開催期間パーツ（概要＆右サイドバー共通）
======================================================= */
.information {
  text-align: center;
  margin-top: var(--space-md);
}

.info-title {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  width: 220px;
  padding: 6px var(--space-md);
  margin: 0 auto var(--space-xs) 0 !important;
  clip-path: polygon(0px 0px, 85% 0px, 100% 50%, 85% 100%, 0px 100%);
  font-size: var(--text-lg);
  font-family: var(--font-heading);
  font-weight: 700;
}

.information p {
  padding: var(--space-sm);
  font-size: var(--text-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-secondary);
  text-align: center;
  background-color: var(--color-white);
  clip-path: polygon(8% 0px, 100% 0px, 100% 100%, 8% 100%, 0px 50%);
  margin-left: var(--space-lg);
}

.information p .green {
  background: linear-gradient(transparent 55%, var(--color-bg-green) 55%);
}

.information p .pink {
  background: linear-gradient(transparent 55%, var(--color-bg-pink) 55%);
}

.list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
  align-items: flex-end;
}

.list .list-item {
  background-color: var(--color-white);
  color: var(--color-secondary);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
  width: 72%;
  padding: 15px 12px 15px 15px;
  box-sizing: border-box;
  box-shadow:-2px 3px 4px 3px rgba(87, 101, 122, 0.3);
}

.list .list-item:hover {
  transform: translateX(-4px);
  box-shadow: 0px 2px 2px 1px rgba(87, 101, 122, 0.6);
}

.item-num {
  font-size: 1.75rem;
  font-family: var(--font-en);
  font-weight: 700;
  border-right: 4px solid var(--color-secondary);
  padding-right: var(--space-xs);
  margin-right: var(--space-xs);
  min-width: 36px;
  display: flex;
  justify-content: center;
  line-height: 1;
}

.item-text {
  flex: 1;
  text-align: left;
  font-size: 1.05rem;
  line-height: var(--leading-tight);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* =======================================================
   hero
======================================================= */
.hero {
  position: relative;
}

.hero h1 img {
  width: 100%;
  height: auto;
}

.hero-info {
  position: absolute;
  bottom: 10%;
  width: 100%;
  z-index: 2;
}

.company dl {
    width: 90%;
	font-size: var(--text-xs);
    padding: 6px var(--space-xs);
    background-color: rgba(255, 255, 255, 0.6);
    line-height: var(--leading-tight);
}

.company dt {
  width: 28%;
  padding: 2px 0;
  border-bottom: none;
}

.company dd {
  width: 72%;
  padding: 2px 0 2px 8px;
  border-bottom: none;
}

.triangle {
  position: absolute;
  bottom: -1px;
  height: 75px;
  width: 100%;
  clip-path: polygon(50% 0px, 100% 70%, 100% 100%, 0px 100%, 0px 70%);
  background-color: var(--color-bg-cream);
  background-image: radial-gradient(circle, var(--color-bg-dot) 2px, transparent 2px);
  background-position: 0 0;
  background-size: 24px 24px;
}

/* =======================================================
   overview-section
======================================================= */
.overview-section {
  position: relative;
  text-align: center;
  background-color: var(--color-bg-cream);
  background-image: radial-gradient(circle, var(--color-bg-dot) 2px, transparent 2px);
  background-position: 0 0;
  background-size: 24px 24px;
}

.overview-section .section-inner {
  width: 100%;
}

.section-title-wrap h2 {
  width: var(--content-width);
  margin-inline: auto;
}

.section-title-wrap img {
  width: 80%;
  height: auto;
}

.section-title-wrap p {
  line-height: var(--leading-loose);
  padding: var(--space-sm) 0;
  width: var(--content-width);
  margin: 0 auto;
}

.overview-section .information {
  margin-bottom: var(--space-lg);
}

/* 公式ハッシュタグコピー */
.tag {
  position: relative;
  cursor: pointer;
  width: 65%;
  max-width: 300px;
  margin: var(--space-sm) auto var(--space-lg);
  user-select: none;
}

.tag p {
  width: 100%;
  text-align: center;
}

.tag .blue {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4px var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 700;
}

.tag span#campaign-code {
  background-color: var(--color-white);
  color: var(--color-text);
  padding: 10px var(--space-sm);
  font-weight: 700;
  font-size: var(--text-md);
  text-align: center;
  border: solid 2px var(--color-primary);
  display: block;
}

.tag::after {
  content: attr(data-copy-text);
  position: absolute;
  bottom: -14px;
  right: -16px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.tag:hover::after {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
}

.tag.is-copied::after {
  background-color: var(--color-accent-red);
}

/* チラシダウンロードボタン */
.download {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: var(--space-md);
}

.download a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px 24px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  width: 82%;
  max-width: 320px;
  margin: var(--space-sm) auto;
  text-align: center;
  line-height: var(--leading-tight);
}

.download a:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}
.download:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.download {
  pointer-events: none;
  opacity: 0.5;
}
.material-symbols-outlined {
  padding-left: var(--space-xs);
}

/* =======================================================
   event01-section
======================================================= */
.event01-section {
  background-color: var(--color-bg-pink);
  position: relative;
  padding-bottom: 220px !important;
}

.event01-section .section-inner {
  z-index: 10;
  position: relative;
}

.event01-section::after {
  content: url("../img/castle_fadeup.webp");
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.sticker.num01 {
  top: 0;
  right: -20px;
  width: 180px;
  z-index: 2;
}

.sticker.num02 {
  bottom: -110px;
  left: -45px;
  width: 190px;
  z-index: 3;
}

.furari-logo {
  margin-top: var(--space-lg) !important;
  max-width: 360px !important;
}

.app-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  padding-top: var(--space-lg);
}

.app-box img {
  height: 48px;
  width: auto;
}

/* テープ角飾りも background-image 化して自動縮小に対応 */
.event01-section .info-card::after {
  content: "";
  position: absolute;
  top: clamp(-14px, -3.5vw, -20px);
  left: clamp(-16px, -4vw, -24px);
  width: clamp(360px, 92vw, 500px);
  height: clamp(90px, 24vw, 110px);
  background-image: url("../img/tape_corner.webp");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 2;
  pointer-events: none;
}
.event01-section h3:not(.tape-large) {
  margin-top: 0;
}

.event01-section h4 {
  border-left: solid 8px var(--color-pink);
  margin-bottom: var(--space-xs);
}
.event01-section .info-card h4 {
  border-left: none;
  border-bottom: solid 2px var(--color-pink);
  text-align: center;
  padding-bottom: var(--space-xs);
}
.prize-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}


.main-content .event01-section img{
  max-width: 80%;
}
/* =======================================================
   event02-section
======================================================= */
.event02-section {
  background-color: var(--color-bg-pink);
  position: relative;
  padding-bottom: 120px !important;
}

.event02-section::after {
  content: url("../img/tornpaper_green.webp");
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.tickets {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.tickets img {
  width: 30%;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* =======================================================
   event03-section
======================================================= */
.event03-section {
  background-color: var(--color-bg-green);
  position: relative;
}

.novelty-shop {
  background-color: var(--color-white);
  background-image:
    linear-gradient(90deg, transparent 0%, transparent 50%, #FAFAFA 50%, #FAFAFA 100%),
    linear-gradient(180deg, #badb35 1px, transparent 1px);
  background-size: 30px 100%, 100% 2.5em;
  padding: var(--space-md) 0 var(--space-lg);
}

.event03-section h3 {
  color: var(--color-deep-green);
}

.event03-section .tape-large {
  background-image: none;
  padding: 12px 20px;
  margin: 0 auto var(--space-xs);
  transform: rotate(-1deg);
  color: var(--color-deep-green);
}

.event03-section h4 {
  border-left: solid 8px var(--color-deep-green);
  margin-top: var(--space-md);
  margin-bottom: 6px;
}
.event03-section .shop-link h4 {
	background-image: linear-gradient(#536118, #536118);
}
.main-content .event03-section dl {
  background: rgba(255, 255, 255, 0.85);
  border: none;
}

.main-content .event03-section dt {
  width: 28%;
  background: linear-gradient(transparent 60%, var(--color-bg-pink) 60%);
  border-bottom: none;
  line-height: 1.6;
  height: auto; align-self: center;
}

.main-content .event03-section dd {
  width: 72%;
  border-bottom: none;
}

.ring-note {
  position: relative;
  margin: var(--space-sm) auto var(--space-lg);
}

.ring-note-img {
  border: solid 16px var(--color-white);
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ring-note-ring {
  position: absolute;
  pointer-events: none;
  left: clamp(-14px, -3vw, -10px);
  top: 8%;
  width: clamp(30px, 8.8vw, 49px);
}

/* =======================================================
   event04-section
======================================================= */
.event04-section {
  background-color: var(--color-bg-pink);
  position: relative;
}

.event04-section .section-inner {
  position: relative;
  padding-bottom: var(--space-xl);
}

.goods-img {
  margin: var(--space-md) auto !important;
}

.sticker.num03 {
  top: -12px;
  right: 22%;
  width: clamp(58px, 17%, 90px);
}

.sticker.num04 {
  top: clamp(28px, 8vw, 45px);
  left: -3%;
  width: clamp(72px, 21%, 115px);
}

.sticker.num05 {
  top: clamp(12px, 4vw, 20px);
  right: -2%;
  width: clamp(72px, 21%, 115px);
}

.sticker.num06 {
  bottom: clamp(20px, 6vw, 35px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(110px, 30%, 160px);
}

/* =======================================================
   event05-section
======================================================= */
.event05-section {
  padding-bottom: var(--space-xl) !important;
  position: relative;
  background-color: #fafcd3;
  background-image:
    linear-gradient(0deg, transparent calc(100% - 1px), #d2dd62 calc(100% - 1px)),
    linear-gradient(90deg, transparent calc(100% - 1px), #d2dd62 calc(100% - 1px));
  background-size: 20px 20px;
  background-repeat: repeat;
}

.event05-section .idol.swiper {
  padding-bottom: 36px;
  margin-bottom: var(--space-lg);
}

.event05-section .info-card {
  background-color: var(--color-white);
  padding-top: var(--space-lg);
}

.event05-section .info-card h3 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -22px;
  margin: 0;
  padding: 6px 20px;
  white-space: nowrap;
  color: var(--color-white);
  background-color: var(--color-deep-green);
  border-radius: var(--radius-sm);
}

.main-content .event05-section .tape-large {
  background-image: url("../img/tape_green.webp");
  font-size: var(--text-base);
  color: var(--color-text);
  margin: var(--space-xs) 0 4px;
  padding: 12px 20px;
  width: fit-content;
}
/* パネル設置場所の2ボックスレイアウト（狭い画面では縦積み、広い画面では2列） */
.event05-section .two-box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
  flex: 1 1 200px;
}

.main-content .event05-section dl {
  flex-direction: column;
  border: none;
  align-items: center;
  padding: var(--space-xs) 6px;
  margin: 0;
}

.main-content .event05-section dt {
  border-bottom: none;
}

.main-content .event05-section dd {
	    width: 100%;
}

/* =======================================================
   tourism-section
======================================================= */
.tourism-section {
  padding: var(--space-lg) 0 var(--space-xl) !important;
  background-color: var(--color-white);
  background-image:url("../img/icon_grape.webp");
  background-repeat: repeat;
}

.tourism-section .title-eng {
  font-size: var(--text-lg);
  letter-spacing: 1px;
  padding-top: 0;
}

.two-box {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xs);
}

.two-box a {
  width: 48.5%;
  display: flex;
  padding: 3px var(--space-xs);
  background-color: #ddff97;
  color: var(--color-text);
  font-size: var(--text-md);
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}
.two-box a {
  transition: all 0.4s ease-in-out;
  box-shadow: inset 0 0 0 4px transparent;
}
.two-box a:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 4px; /* 下線の横幅を100%にする */
}
.two-box a::before, .two-box a::after {
  content: ""; position: absolute; width: 0; height: 0; border: 4px solid transparent; box-sizing: border-box; transition: all 0.4s ease-in-out;
  pointer-events: none;
}
.two-box a::before { top: 0; left: 0; }
.two-box a::after { bottom: 0; right: 0; }
.two-box a:hover::before, .two-box a:hover::after {
  width: 100%; height: 100%;
}
.two-box a:hover::before { border-top-color: #e62f8b; border-right-color: #e62f8b; }
.two-box a:hover::after { border-bottom-color: #e62f8b; border-left-color: #e62f8b; }
.two-box a img{
  width: 60px;
  height: 60px;
	padding-right: var(--space-xs);
	margin: 0;
}
.tourism-section .info-card dd{
	flex-direction: column;
}
.tourism-section .info-card h4 {
    border-left: none;
    border-bottom: solid 2px var(--color-green);
    text-align: center;
    padding-bottom: var(--space-xs);
}
/* 400px以下の超小型スマホでは観光ボタンを縦積みにして文字潰れを防止 */
@media screen and (max-width: 400px) {
	.small{
		display: none;
	}
  .tourism-section .two-box {
    flex-direction: column;
	 align-items: center;
  }
  .tourism-section .two-box a {
    width: 100%;
  }
}
/* =======================================================
   profile-section
======================================================= */
.profile-section {
  padding: var(--space-lg) 0 var(--space-md) !important;
  background-image: linear-gradient(57deg, rgba(230, 47, 139, 0.35) 0%, rgba(255, 187, 111, 0.35) 45%, rgba(196, 215, 0, 0.35) 100%);
}

.profile-section .section-inner h2 {
  font-size: var(--text-lg);
  margin-bottom: 0;
}

.profile-section img {
  width: 68%;
  margin: var(--space-sm) auto;
}

.profile-section p + p {
  margin-top: var(--space-xs);
}

.profile-section .info-card {
  background-color: var(--color-white);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  margin: var(--space-xl) auto var(--space-md);
}

.profile-section .info-card h3 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -22px;
  margin: 0;
  padding: 6px 18px;
  white-space: nowrap;
  font-size: var(--text-md);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  background-image: linear-gradient(80deg, rgba(230, 47, 139, 1) 0%, rgba(255, 187, 111, 1) 45%, rgba(196, 215, 0, 1) 100%);
}

.copyright p {
  font-size: 12px;
  text-align: center;
}

/* =======================================================
   inquiry
======================================================= */
.inquiry {
  padding: var(--space-md) 0 var(--space-lg) !important;
  background-color: var(--color-white);
}

.inquiry h3 {
  margin-top: 0;
  font-size: var(--text-md);
}

.main-content .inquiry dl {
  flex-direction: column;
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
}

.main-content .inquiry dt,
.main-content .inquiry dd {
  width: 100%;
  border-bottom: none;
  justify-content: center;
  text-align: center;
}

.inquiry .detail {
  width: 100%;
  font-size: var(--text-xs);
  line-height: var(--leading-base);
}

.inquiry .detail a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* =======================================================
   ページトップボタン & 画像拡大モーダル
======================================================= */
#pagetop {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 150;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
}

#pagetop a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(35, 47, 88, 0.75);
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  transition: background 0.3s ease;
  padding: 0;
}

#pagetop a:hover {
  background-color: var(--color-primary);
}

#pagetop a::before {
  content: "▲";
  position: absolute;
  color: var(--color-white);
  font-size: 1.2rem;
  text-indent: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 画像拡大モーダル */
.js-modal-img {
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.js-modal-img:hover {
  opacity: 0.9;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 24px;
  box-sizing: border-box;
}

.modal-content {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  margin: auto;
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 24px;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  z-index: 10000;
}