*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: 太ゴB101, Futo Go B101, Hiragino Sans, ヒラギノ角ゴ ProN W3, Hiragino Kaku Gothic ProN, Roboto, Helvetica Neue, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

/* 全ての要素にフォント設定を適用 */

html {
  font-family: "太ゴB101", "Futo Go B101", "Hiragino Sans",
      "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo,
      sans-serif !important;
  /* !important needed to override browser defaults */
  /* OpenType機能で約物を適切に調整（マルチブラウザ対応） */
  font-feature-settings: "palt" 1, "kern" 1;
  /* CSS Text Module Level 4（将来対応） - 自然なスペーシング */
  text-spacing-trim: normal;
  /* Webkit用プロパティ（Safari） */
  -webkit-text-spacing-trim: normal;
  /* PC版のベース文字サイズを16pxに設定 */
  font-size: 16px;
}

/* 全ての文字要素に継承 */

*,
  *::before,
  *::after {
  font-family: inherit;
  font-feature-settings: inherit;
  text-spacing-trim: inherit;
  -webkit-text-spacing-trim: inherit;
}

body {
  font-family: inherit;
  font-feature-settings: inherit;
  text-spacing-trim: inherit;
  -webkit-text-spacing-trim: inherit;
  /* 基本テキストの文字間隔 */
  letter-spacing: 0.2em;
  background-color: white;
  /* PC版のベース文字サイズを16pxに設定 */
  font-size: 16px;
}

/* 段落要素の標準テキストスタイル（aboutページのvision-textを標準として採用） */

p {
  line-height: 1.8;
  text-align: justify;
}

/* 見出し要素 */

h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
  font-family: inherit;
  font-feature-settings: inherit;
  text-spacing-trim: inherit;
  -webkit-text-spacing-trim: inherit;
  /* 見出しの文字間隔 */
  letter-spacing: 0.15em;
  /* 見出しは左揃えを維持 */
  text-align: left;
}

/* テキスト要素 */

p,
  div,
  span,
  a,
  button,
  input,
  textarea,
  select,
  label {
  font-family: inherit;
  font-feature-settings: inherit;
  text-spacing-trim: inherit;
  -webkit-text-spacing-trim: inherit;
}

/* 段落要素に両端揃えを適用 - global justify removed, handled by UI hardening patch */

/* リスト要素 */

ul,
  ol,
  li {
  font-family: inherit;
  font-feature-settings: inherit;
  text-spacing-trim: inherit;
  -webkit-text-spacing-trim: inherit;
}

/* テーブル要素 */

table,
  th,
  td {
  font-family: inherit;
  font-feature-settings: inherit;
  text-spacing-trim: inherit;
  -webkit-text-spacing-trim: inherit;
}

/* 全てのテーブル要素のマージンを削除 */

table {
  margin: 0;
}

/* 約物のバランス調整 - .text-balanceはUI hardening patchに統合済み */

/* 縦書き専用リセット - 約物半角調整を無効化 */

.vision-vertical {
  font-feature-settings: normal !important;
  -webkit-font-feature-settings: normal !important;
  -moz-font-feature-settings: normal !important;
  text-spacing-trim: auto !important;
  -webkit-text-spacing-trim: auto !important;
  letter-spacing: 0.2em !important;
  margin-top: 0.1rem !important;
}

/* モバイル用テキスト改行 */

@media (max-width: 768px) {
  .mobile-text-break {
    display: block;
  }

  .mobile-text-wrap {
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
            hyphens: auto;
    max-width: 100%;
  }
}

/* 縦書き専用のベーススタイル */

/* WordPress標準のクラスにも適用 */

.wp-block-paragraph,
  .wp-block-heading,
  .entry-content,
  .entry-title,
  .widget-title,
  .menu-item,
  .nav-menu {
  font-family: inherit;
  font-feature-settings: inherit;
  text-spacing-trim: inherit;
  -webkit-text-spacing-trim: inherit;
}

/* 横スクロール防止 */

html {
  scroll-behavior: smooth;
}

/* PC版のベース文字サイズを16pxに設定 */

@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }

  body {
    font-size: 16px;
  }
}

h2 {
  margin-top: var(--spacing-heading-top);
  margin-bottom: var(--spacing-heading-bottom);
  color: var(--color-primary);
}

h3 {
  margin-top: var(--spacing-heading-top);
  margin-bottom: var(--spacing-heading-bottom);
  color: var(--color-primary);
}

h4 {
  margin-top: var(--spacing-heading-top);
  margin-bottom: var(--spacing-heading-bottom);
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 8px;
  font-size: var(--font-size-base);
}

/* H4の赤いボックス形式 */

/* heading-boxクラス内のh4要素 */

h5 {
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #e14661;
  font-size: var(--font-size-sm);
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.event-table-row.grid-cols-1 {
  position: relative;
  z-index: 100;
}

.event-table-row {
  display: grid;
  align-items: flex-start;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  padding-bottom: 0.5rem;
  grid-template-columns: 9rem 1fr;
  gap: 0.5rem;
  /* 8px - 見出しと本文の適切な間隔 */
}

.architecture-table-row.grid-cols-1 {
  position: relative;
  z-index: 100;
}

.architecture-table-row {
  display: grid;
  align-items: flex-start;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  padding-bottom: 0.5rem;
  grid-template-columns: 9rem 1fr;
  gap: 0.5rem;
  /* 8px - 見出しと本文の適切な間隔 */
}

.heading-subsection {
  background-color: var(--color-red-600);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (max-width: 1023px) {
  .bg-primary.heading-subsection {
    color: white;
  }

  .bg-primary.heading-subsection svg {
    color: white;
  }

  header .bg-primary.heading-subsection,
  #main-header .bg-primary.heading-subsection {
    /* ボーダーを削除 */
    color: white;
    border: none;
    /* ボーダーを削除 */
  }

  header .bg-primary.heading-subsection svg,
  #main-header .bg-primary.heading-subsection svg {
    color: white;
  }

  body div.container-width.heading-subsection,
  body .main-content-area div.heading-subsection {
    padding-left: 0;
    padding-right: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}


header .bg-primary.heading-subsection,
#main-header .bg-primary.heading-subsection {
  color: white;
}


header .bg-primary.heading-subsection:hover,
#main-header .bg-primary.heading-subsection:hover {
  color: white;
}

/* コンテンツテーブル（volunteer.phpなどで使用） */

.content-table {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 14px;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.table-row {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e5e5;
  align-items: start;
}

.table-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.table-header {
  font-weight: bold;
  color: #E14661;
  font-size: 14px;
  padding-left: 0;
}

.table-content {
  color: #333;
  font-size: 14px;
}

/* コンタクトフォームのプライバシーポリシーのラベルを非表示 */

span.mwform-checkbox-field-text {
  display: none !important;
}

/* コンテナ幅設定 */

.container-width {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* デスクトップ用の最小幅 */

@media (min-width: 1024px) {
  .container-width {
    min-width: 980px;
  }
}

/* ボタンスタイルは新しい統一リンクスタイルシステムで定義されています */

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8125rem;
}

/* 見出しコンポーネント統一システム */

.heading-main {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  letter-spacing: 0.25em;
}

@media (min-width: 768px) {
  .heading-main {
    margin-bottom: 1.5rem;
    font-size: 20px;
  }
}

@media (min-width: 1280px) {
  .heading-main {
    margin-bottom: 2rem;
    font-size: 24px;
  }
}

.heading-main {
  color: var(--color-text-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.heading-main .section-icon {
  height: 1rem;
  width: 1rem;
}

@media (min-width: 768px) {
  .heading-main .section-icon {
    height: 1.25rem;
    width: 1.25rem;
  }
}

@media (min-width: 1280px) {
  .heading-main .section-icon {
    height: 1.5rem;
    width: 1.5rem;
  }
}

.heading-main .section-icon {
  flex-shrink: 0;
}

.heading-theme {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.25em;
}

@media (min-width: 768px) {
  .heading-theme {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1280px) {
  .heading-theme {
    margin-bottom: 1.25rem;
    font-size: 20px;
  }
}

.heading-theme {
  color: var(--color-red-600);
}

.heading-building {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  letter-spacing: 0.25em;
}

@media (min-width: 768px) {
  .heading-building {
    margin-bottom: 1.5rem;
    font-size: 20px;
  }
}

@media (min-width: 1280px) {
  .heading-building {
    margin-bottom: 2rem;
    font-size: 24px;
  }
}

.heading-building {
  color: var(--color-text);
}

.heading-subsection {
  background-color: var(--color-red-600);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: 0.25em;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (max-width: 1023px) {
  .bg-primary.heading-subsection {
    color: white;
  }

  .bg-primary.heading-subsection svg {
    color: white;
  }

  header .bg-primary.heading-subsection,
  #main-header .bg-primary.heading-subsection {
    /* ボーダーを削除 */
    color: white;
    border: none;
    /* ボーダーを削除 */
  }

  header .bg-primary.heading-subsection svg,
  #main-header .bg-primary.heading-subsection svg {
    color: white;
  }
}


header .bg-primary.heading-subsection,
#main-header .bg-primary.heading-subsection {
  color: white;
}


header .bg-primary.heading-subsection:hover,
#main-header .bg-primary.heading-subsection:hover {
  color: white;
}

@media (min-width: 768px) {
  .heading-subsection {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .heading-subsection {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

.heading-subsection {
  display: inline-block;
  margin-bottom: var(--spacing-md);
}

/* サブ見出しコンポーネント（h3/h4統一） */

.subheading-red {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  letter-spacing: 0.25em;
}

@media (min-width: 768px) {
  .subheading-red {
    margin-bottom: 1rem;
    font-size: 20px;
  }
}

@media (min-width: 1280px) {
  .subheading-red {
    margin-bottom: 1.25rem;
    font-size: 24px;
  }
}

.subheading-red {
  color: var(--color-red-600);
  margin-top: var(--spacing-heading-top);
}

/* ボックス・ラッパーコンポーネント */

.content-card-gray {
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  padding: 1rem;
}

@media (min-width: 768px) {
  .content-card-gray {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .content-card-gray {
    padding: 2rem;
  }
}

.terms-content {
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  padding: 1rem;
}

@media (min-width: 768px) {
  .terms-content {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .terms-content {
    padding: 2rem;
  }
}

.terms-content {
  border: 1px solid var(--color-border-light);
}

/* プログラム一覧セクションのz-index設定（インラインスタイルを上書き） */

.parallax-container {
  position: relative !important;
}

/* プログラム一覧セクション内の要素も適切なz-indexを設定 */

#program-list {
  position: relative !important;
  z-index: 100 !important;
}

/* プログラム一覧セクション内のカードも適切なz-indexを設定 */

.parallax-container .event-card {
  position: relative !important;
  z-index: 100 !important;
}

/* プログラム一覧セクション全体のコンテナ */

.bg-white.py-16 {
  position: relative !important;
  z-index: 100 !important;
}

/* プログラム一覧セクション内のグリッド */

.grid.grid-cols-1 {
  position: relative !important;
  z-index: 100 !important;
}

/* インラインスタイルを上書きするための詳細度を上げたセレクタ */

div[style*="z-index: 5"] {
  position: relative !important;
  z-index: 100 !important;
}

/* parallax-containerのインラインスタイルを上書き */

.parallax-container[style*="z-index: 5"] {
  position: relative !important;
  z-index: 100 !important;
}

/* フェードインアニメーション（contents-*.htmlで使用） */

.fade-in-section {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--fade-duration) ease-out,
      transform var(--fade-duration) ease-out;
  margin-bottom: calc(var(--spacing-section) * 2);
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 要素によって遅延を追加（CSS変数を活用） */

.fade-in-section:nth-child(1) {
  transition-delay: calc(var(--fade-delay-step) * 1);
}

.fade-in-section:nth-child(2) {
  transition-delay: calc(var(--fade-delay-step) * 2);
}

.fade-in-section:nth-child(3) {
  transition-delay: calc(var(--fade-delay-step) * 3);
}

.fade-in-section:nth-child(4) {
  transition-delay: calc(var(--fade-delay-step) * 4);
}

.fade-in-section:nth-child(5) {
  transition-delay: calc(var(--fade-delay-step) * 5);
}

.fade-in-section:nth-child(6) {
  transition-delay: calc(var(--fade-delay-step) * 6);
}

.fade-in-section:nth-child(7) {
  transition-delay: calc(var(--fade-delay-step) * 7);
}

.fade-in-section:nth-child(8) {
  transition-delay: calc(var(--fade-delay-step) * 8);
}

.fade-in-section:nth-child(9) {
  transition-delay: calc(var(--fade-delay-step) * 9);
}

.fade-in-section:nth-child(10) {
  transition-delay: calc(var(--fade-delay-step) * 10);
}

/* メインコンテンツエリア（特定用途のみ） */

.main-content-area.py-16 {
  position: relative;
  z-index: 100;
}

.main-content-area {
  min-height: 100vh;
  width: 100%;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.header-background-control.main-content-area {
  background-color: transparent;
}

.header-background-control.main-content-area::before {
  background-color: transparent;
}

.main-content-area {
  position: relative;
}

/* QAアコーディオンスタイル（contents-8-qa.html, contents-11-attention.html等で使用） */

.qa-accordion {
  border: 1px solid #e5e7eb;
  margin-bottom: 8px;
  overflow: hidden;
}

.qa-question {
  background: #f9fafb;
  padding: 16px 20px;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  position: relative;
  transition: background-color 0.2s ease;
}

.qa-question:hover {
  background: #f3f4f6;
}

.qa-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: bold;
  color: var(--color-red-600);
  transition: transform 0.3s ease;
}

.qa-question.active::after {
  content: "−";
  transform: translateY(-50%) rotate(0deg);
}

.qa-item.active .qa-question::after {
  content: "−";
  transform: translateY(-50%) rotate(0deg);
}

.qa-answer {
  background: white;
  padding: 16px 20px;
  /* padding, max-height, display control removed - handled by UI hardening patch */
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* .qa-answer.active - display control removed - handled by UI hardening patch */

.qa-answer p {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
}

/* QA特有のスタイル - migrated to unified QA system in H3 task */

/* .qa-question - removed, handled by unified QA accordion system */

/* .qa-question:hover - removed, handled by unified QA accordion system */

/* ================================================================
     画像表示用共通クラス（キャプション付き）
     ================================================================ */

/* 画像コンテナの基本スタイル */

/* 画像ラッパーの基本スタイル */

/* 画像の基本スタイル */

/* キャプションの基本スタイル */

/* 統一メディアグリッドシステム */

/* 画像エリア拡張クラス */

/* 画像の最大幅を拡張 */

/* フルワイドイメージ */

/* レスポンシブアスペクト比 */

/* 画像オーバーレイエフェクト */

/* ================================================================
     テキスト・縦書き調整機能拡張
     ================================================================ */

/* 日本語テキスト調整 */

/* 横書きテキスト強制 */

/* 縦書きテキスト拡張バリエーション */

/* テキストスペーシング調整 */

/* テキスト省略表示 */

/* テキストサイズ調整レスポンシブ */

/* フォントウェイト調整 */

/* テキスト整列ユーティリティ */

/* 行間調整 - 標準line-heightに統一 */

/* テキストカラー段階的調整 */

/* モバイル対応 */

/* ================================================================
     見出し用共通クラス（single-event・page-program基準）
     ================================================================ */

/* 統一アイコンシステム */

.section-icon {
  height: 1rem;
  width: 1rem;
}

@media (min-width: 768px) {
  .section-icon {
    height: 1.25rem;
    width: 1.25rem;
  }
}

@media (min-width: 1280px) {
  .section-icon {
    height: 1.5rem;
    width: 1.5rem;
  }
}

.section-icon {
  flex-shrink: 0;
}

/* 統一カラーパレット（CSS変数ベース） */

.text-primary {
  color: var(--color-red-600);
}

.bg-primary {
  background-color: var(--color-red-600);
}

.border-primary {
  border-color: var(--color-red-600);
}

/* テーブル統一システム */

.table-header {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  text-align: left;
  vertical-align: top;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

@media (min-width: 768px) {
  .table-header {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .table-header {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

.table-header {
  color: #E14661;
  padding-left: 0;
  padding-right: 0.75rem;
}

/* 1200px ブレークポイント対応 */

@media (min-width: 1200px) {
  .icon-sm {
    height: 1.25rem;
    width: 1.25rem;
  }

  .icon-md {
    height: 1.75rem;
    width: 1.75rem;
  }

  .icon-lg {
    height: 2.25rem;
    width: 2.25rem;
  }

  .icon-xl {
    height: 3rem;
    width: 3rem;
  }

  .heading-building {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .heading-subsection {
    font-size: 20px;
  }
}

/* 追加のモバイル対応（旧スタイルとの互換性） */

@media (max-width: 480px) {
  .heading-main {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .heading-theme {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .heading-building {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .heading-subsection {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

/* ================================================================
     表組み・リスト用共通クラス（single-event・page-program基準）
     ================================================================ */

/* 基本の定義リスト（縦並び） */

.definition-list-vertical .list-item {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  padding-bottom: 0.5rem;
}

/* 横並び定義リスト（建築詳細用） */

.definition-list-horizontal .list-item {
  display: flex;
  align-items: flex-start;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  padding-bottom: 0.5rem;
}

/* 情報グリッド（2カラム） */

/* セクションコンテナ */

/* コンテンツボックス */

.content-box {
  margin-bottom: 1.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
}

/* searchFormContainer専用クラス - マージン・パディングなし */

.search-form-container {
  /* background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); */
}

/* ================================================================
     ボタン用共通クラス（single-event・page-program基準）
     ================================================================ */

/* クリア・リセットボタン */

.btn-clear {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

@media (max-width: 1023px) {
  body div.container-width.btn-clear,
  body .main-content-area div.btn-clear {
    padding-left: 0;
    padding-right: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.btn-clear:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}

/* ナビゲーションボタン */

/* アイコンのみボタン（カルーセル等） */

/* トグルボタン */

.btn-toggle.active {
  background-color: var(--color-red-600);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (max-width: 1023px) {
  .bg-primary.btn-toggle.active {
    color: white;
  }

  .bg-primary.btn-toggle.active svg {
    color: white;
  }

  header .bg-primary.btn-toggle.active,
  #main-header .bg-primary.btn-toggle.active {
    /* ボーダーを削除 */
    color: white;
    border: none;
    /* ボーダーを削除 */
  }

  header .bg-primary.btn-toggle.active svg,
  #main-header .bg-primary.btn-toggle.active svg {
    color: white;
  }
}


header .bg-primary.btn-toggle.active,
#main-header .bg-primary.btn-toggle.active {
  color: white;
}


header .bg-primary.btn-toggle.active:hover,
#main-header .bg-primary.btn-toggle.active:hover {
  color: white;
}

/* 詳細検索ボタン */

.qa-question.active,
  .qa-item.active .qa-question {
  background: var(--color-red-600);
  color: white;
}

.qa-question::after {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.qa-question.active::after {
  transform: rotate(45deg);
}

/* .qa-answer.active - display control removed - handled by UI hardening patch */

.qa-answer p {
  margin-bottom: 12px;
  color: #374151;
}

.qa-answer a {
  color: var(--color-red-600);
  text-decoration: underline;
}

.qa-category {
  margin-bottom: 32px;
}

/* レイアウト関連スタイル（複数ページで使用） */

.two-column-container {
  display: flex;
  position: relative;
  width: 100%;
}

/* タブレット・モバイル対応 */

@media (max-width: 780px) {
  .two-column-container {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
  }
}

.two-column-grid.grid-cols-1 {
  position: relative;
  z-index: 100;
}

.grid.two-column-grid {
  position: relative;
  z-index: 100;
}

.two-column-grid {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 1024px) {
  .two-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* タッチ操作を無効化（スワイプ用） */

/* URL表示用の折り返し設定 */

/* 長いテキストの折り返し設定 */

.text-break {
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
}

/* 汎用情報グリッドスタイル */

.info-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.grid-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem;
  background-color: #f9fafb;
}

.grid-label {
  font-weight: bold;
  color: #374151;
  font-size: 0.875rem;
}

.grid-content {
  color: #4b5563;
  font-size: 0.875rem;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
}

/* モバイル対応 */

@media (max-width: 768px) {
  .grid-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .grid-label {
    margin-bottom: 0.25rem;
  }
}

/* カルーセルスタイル（single-event.phpなどで使用） */

.carousel-infinite,
  .carousel-container {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 25px;
  /* 上マージン50px→25pxに詰める */
  margin-bottom: 25px;
  /* 下マージン50px→25pxに詰める */
  max-width: 100vw;
  box-sizing: border-box;
}

/* 自動スクロール可変横幅カルーセル用スタイル */

.carousel-track-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease-in-out;
}

.carousel-image-wrapper {
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  /* サイズはJavaScriptで動的に設定 */
}

.carousel-image {
  -o-object-fit: contain;
     object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  /* サイズはJavaScriptで動的に設定 */
  /* 角丸を削除 */
  /* 画像のキャッシュを改善 */
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* ナビゲーションボタン */

/* インジケータ */

.carousel-indicator.active {
  background-color: var(--color-red-600);
  /* 赤色 */
  opacity: 1;
}

.carousel-indicator:not(.active) {
  background-color: var(--color-red-600);
  /* 赤色 */
  opacity: 0.4;
}

.carousel-indicator:hover {
  opacity: 0.6;
}

/* インジケーターサイズを小さく */

.carousel-indicator {
  width: 8px;
  /* 12px → 8px */
  height: 8px;
  /* 12px → 8px */
  transition: opacity 0.3s ease;
}

/* 既存の無限スクロール用スタイル */

/* 無限スクロール専用のトラック */

.carousel-infinite .carousel-track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: continuousScroll 45s linear infinite;
  transform: translateX(0%);
}

.carousel-infinite-image,
  .carousel-image {
  height: 24rem;
  flex-shrink: 0;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

/* ホバー時に一時停止 */

.carousel-infinite:hover .carousel-infinite-track,
  .carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

/* カルーセルインジケーター（後方互換性） */

.carousel-indicator {
  transition: opacity 0.3s ease;
}

.carousel-indicator.active {
  opacity: 1;
}

/* カルーセルモーダル */

/* 閉じるボタン */

/* 画像コンテナ */

/* ナビゲーションボタン */

/* 画像情報 */

/* モバイル対応 */

@media (max-width: 768px) {
  .carousel-infinite,
    .carousel-container {
    margin-top: 25px;
    /* モバイルでも上マージン50px→25pxに詰める */
    margin-bottom: 25px;
    /* モバイルでも下マージン50px→25pxに詰める */
  }

  .carousel-track-wrapper {
    height: 24rem;
    /* 16rem × 1.5 = 24rem */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-infinite-image,
    .carousel-image {
    height: 24rem;
    /* 16rem × 1.5 = 24rem */
  }

  .carousel-image-wrapper {
    height: 80%;
    margin: 0 2px;
    /* モバイルでは少し狭く */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* モバイルでのスライド中央配置を強化 */

  .carousel-track {
    display: flex;
    align-items: center;
    transform: translateX(0);
    /* 初期位置をリセット */
    width: 100%;
    height: 100%;
    justify-content: flex-start;
  }

  /* モバイル専用のカルーセルコンテナ調整 */

  .carousel-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
  }

  /* モバイル専用のトラックラッパー */

  .carousel-track-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .carousel-nav svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .carousel-modal-close {
    top: 0.5rem;
    right: 0.5rem;
    height: 2rem;
    width: 2rem;
    font-size: 1.25rem;
    transform: translate(75%, -75%);
  }

  .carousel-modal-nav {
    height: 2.5rem;
    width: 2.5rem;
    font-size: 1.5rem;
  }

  .carousel-modal-nav-prev {
    left: 0.5rem;
    transform: translate(-125%, -50%);
  }

  .carousel-modal-nav-next {
    right: 0.5rem;
    transform: translate(125%, -50%);
  }

  .carousel-modal-image {
    max-height: 70vh;
  }

  .carousel-modal-info {
    margin-top: 0.5rem;
  }

  .carousel-modal-caption {
    font-size: 1rem;
  }
}

/* 1カラムレイアウトコンテナ */

.single-column-container {
  width: 100%;
  min-width: 320px;
  /* 最小幅でモバイル対応 */
  max-width: 100%;
  /* 最大幅は画面幅まで */
  margin: 0 auto;
  background-color: white;
}

/* 1カラムレイアウトコンテナ + container-widthの組み合わせ */

.single-column-container.container-width {
  max-width: 1200px;
  /* ヘッダーと同じ最大幅 */
}

/* デスクトップ用の最小幅 */

@media (min-width: 1024px) {
  .single-column-container.container-width {
    min-width: 980px;
    /* ヘッダーと同じ最小幅 */
  }
}

/* メインコンテンツエリア */

.single-column-main {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* フルワイドページヘッダー */

/* ヘッダーコンテンツ */

/* ページヘッダー背景オーバーレイ */

/* 大きなページタイトル */

/* フルワイドコンテンツエリア */

.content-area-full {
  width: 100%;
  background-color: white;
  position: relative;
}

/* レスポンシブメインコンテンツ */

/* レスポンシブ対応 */

/* フルワイド画像（特別クラス） */

.single-column-main .full-width-image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* 可変グリッドレイアウト */

/* コンテナクエリ対応（将来性） */

/* エラーメッセージと通知メッセージ */

.error-message {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid var(--color-red-600);
  padding: 1.5rem;
  margin: 2rem 0;
}

.error-message h2 {
  color: var(--color-red-600);
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.error-message p {
  color: #7f1d1d;
  margin-bottom: 0.5rem;
}

.error-message code {
  background-color: #fee2e2;
  color: var(--color-red-800);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

/* レイアウト基本設定 */

body {
  margin: 0;
  padding: 0;
}

/* 2カラムコンテナ */

.two-column-container {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
}

@media (min-width: 781px) {
  .two-column-container {
    flex-direction: row;
    width: 100%;
    position: relative;
  }
}

/* 左カラム：固定・背景画像 */

.left-column-fixed {
  position: fixed;
  top: 80px;
  left: calc(50% - 600px);
  width: 200px;
  height: calc(100vh - 80px);
  z-index: 5;
  flex: 1 0 200px;
  min-width: 200px;
}

/* WordPressログイン時の管理バー対応 */

.admin-bar .left-column-fixed {
  top: 112px;
  height: calc(100vh - 112px);
}

.admin-bar .main-content-area {
  padding-top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .left-column-fixed {
    top: 126px;
    height: calc(100vh - 126px);
  }

  .admin-bar .main-content-area {
    padding-top: 46px;
  }
}

/* 左カラム背景画像 */

.left-column-fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

/* デスクトップ用の最小幅対応（1024px以上で1200px未満） */

@media (min-width: 1024px) and (max-width: 1200px) {
  .left-column-fixed {
    left: calc(max(0px, (100vw - 1200px) / 2));
  }
}

/* 中間サイズ対応（780px以上1024px未満） */

@media (min-width: 781px) and (max-width: 1023px) {
  .left-column-fixed {
    left: calc(max(0px, (100vw - 1200px) / 2));
  }
}

/* 可変幅対応（ビューポートが1200pxを超えた場合） */

@media (min-width: 1201px) {
  .left-column-fixed {
    width: calc(200px + (100vw - 1200px) / 2);
    left: calc(50% - 600px - (100vw - 1200px) / 2);
  }
}

/* タブレット・モバイル対応 */

@media (max-width: 1023px) {
  .left-column-fixed {
    display: none;
  }
}

/* JavaScript制御用データ属性 */

.left-column-fixed[data-state="released"] {
  position: absolute !important;
  /* !important needed for JS state override */
  bottom: 0 !important;
  /* !important needed for JS state override */
  top: auto !important;
  /* !important needed for JS state override */
}

/* 左カラム内タイトルバナー - migrated to --sidebar variant */

/* .left-column-fixed .title-banner - removed, now handled by .title-banner--sidebar */

/* 縦書きタイトル */

/* 右カラム：固定幅1000px - 左カラム200pxと合わせて1200px */

.right-column {
  flex: 0 0 1000px;
  /* 左カラム200px + 右カラム1000px = 1200px */
  background-color: white;
  position: relative;
  z-index: 1;
}

/* デスクトップ時の右カラムマージン調整（1200px以上） */

@media (min-width: 1201px) {
  .right-column {
    width: 100%;
    max-width: 1000px;
    margin-left: 250px;
    margin-right: 0;
    min-height: calc(100vh - 80px);
    background-color: white;
  }
}

/* 中間サイズ対応（1024px以上1200px未満） */

@media (min-width: 1024px) and (max-width: 1200px) {
  .right-column {
    width: 100%;
    max-width: 1000px;
    margin-left: 250px;
    margin-right: 30px;
    min-height: calc(100vh - 80px);
    background-color: white;
  }
}

/* 中間サイズ対応（781px以上1023px未満） */

@media (min-width: 781px) and (max-width: 1023px) {
  .right-column {
    width: 100%;
    max-width: clamp(400px, 60vw, 1000px);
    /* softened fixed value */
    margin-left: 250px;
    margin-right: 30px;
    min-height: calc(100vh - 80px);
    background-color: white;
  }
}

/* タブレット・モバイル対応 */

@media (max-width: 780px) {
  .right-column {
    flex: 1;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}

/* 白帯タイトル（ヒーロー・センター用） - migrated to --hero variant */

/* .title-banner - removed, now handled by .title-banner--hero */

/* モバイル用ページタイトル */

.mobile-page-title {
  display: block;
  text-align: center;
  padding: 2rem 1rem;
  margin: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  position: relative;
  margin-bottom: 2rem;
}

.mobile-page-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.mobile-page-title h1 {
  position: relative;
  z-index: 2;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

@media (min-width: 781px) {
  .mobile-page-title {
    display: none;
  }
}

/* モバイルでのh2-style - migrated to .heading-* variants */

/* @media (max-width: 768px) .h2-style - removed, handled by new heading system */

/* 削除済み: .post-content関連スタイル */

/* 各要素のスタイルはTailwindクラスまたは個別のコンポーネントクラスで管理 */

/* コンテンツエリア用の基本ユーティリティクラス */

.prose {
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.prose h1 {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
  margin-top: var(--spacing-heading-top);
  margin-bottom: var(--spacing-heading-bottom);
}

.prose h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 24px;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
  margin-top: var(--spacing-heading-top);
  margin-bottom: var(--spacing-heading-bottom);
}

.prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 20px;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
  margin-top: var(--spacing-heading-top);
  margin-bottom: var(--spacing-heading-bottom);
}

.prose h4 {
  margin-top: var(--spacing-heading-top);
  margin-bottom: var(--spacing-heading-bottom);
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 8px;
  font-size: var(--font-size-base);
}

/* h4は統一して赤文字・下線スタイル */

/* footerのh4は下線を削除 */

footer h4 {
  text-decoration: none;
}

.prose h5 {
  font-size: 1rem;
  font-weight: bold;
  color: #E14661;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  margin-top: var(--spacing-heading-top);
  margin-bottom: var(--spacing-heading-bottom);
}

.prose h6 {
  font-size: 0.875rem;
  font-weight: bold;
  color: #E14661;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  margin-top: var(--spacing-heading-top);
  margin-bottom: var(--spacing-heading-bottom);
}

.prose p {
  margin-bottom: 1rem;
  /* text-justify removed - will be added back in Phase 2 */
}

.prose ul {
  margin-bottom: 1rem;
  list-style-type: disc;
  padding-left: 1.5rem;
}

.prose ol {
  margin-bottom: 1rem;
  list-style-type: decimal;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.25rem;
}

.prose a {
  text-decoration-line: underline;
  color: #E14661;
}

.prose a:hover {
  color: #b91c1c;
}

.prose img {
  margin-bottom: 1rem;
  height: auto;
  width: 100%;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.prose th {
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  text-align: left;
}

.prose td {
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.prose blockquote {
  margin-bottom: 1rem;
  border-left-width: 4px;
  border-color: var(--color-red-600);
  padding-left: 1rem;
  font-style: italic;
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.prose code {
  border-radius: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-family: inherit;
}

/* TailwindのベースリセットCSSを上書き */

code, kbd, samp, pre {
  font-family: inherit;
}

.prose pre {
  margin-bottom: 1rem;
  overflow-x: auto;
  border-radius: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (max-width: 1023px) {
  .bg-primary.prose pre {
    color: white;
  }

  .bg-primary.prose pre svg {
    color: white;
  }

  header .bg-primary.prose pre,
  #main-header .bg-primary.prose pre {
    /* ボーダーを削除 */
    color: white;
    border: none;
    /* ボーダーを削除 */
  }

  header .bg-primary.prose pre svg,
  #main-header .bg-primary.prose pre svg {
    color: white;
  }
}


header .bg-primary.prose pre,
#main-header .bg-primary.prose pre {
  color: white;
}


header .bg-primary.prose pre:hover,
#main-header .bg-primary.prose pre:hover {
  color: white;
}

.page-id-8887 .prose pre {
  margin-bottom: 1rem;
  background-color: transparent;
}

.page-id-9575 .prose pre {
  margin-bottom: 1rem;
  background-color: transparent;
}

.prose pre code {
  background-color: transparent;
  padding: 0px;
}

/* イベントタグのスタイル */

.tag {
  display: inline-block;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.tag-passport {
  background-color: #fef2f2;
  color: var(--color-primary);
}

.tag-audio {
  background-color: #eff6ff;
  color: #2563eb;
}

.tag-tour {
  background-color: #f0fdf4;
  color: #16a34a;
}

.tag-exhibition {
  background-color: #fef3c7;
  color: #d97706;
}

.tag-free {
  background-color: #ecfdf5;
  color: #059669;
}

.tag-booking {
  background-color: #fdf2f8;
  color: #be185d;
}

.tag-fee {
  background-color: #f0f9ff;
  color: #0284c7;
}

.tag-sales {
  background-color: #fffbeb;
  color: #d97706;
}

.tag-dining {
  background-color: #fef7ed;
  color: #ea580c;
}

.tag-accommodation {
  background-color: #f8fafc;
  color: #475569;
}

.tag-online {
  background-color: #f5f3ff;
  color: #7c3aed;
}

.tag-benefit {
  background-color: #fef2f2;
  color: #E14661;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.bottom-0 {
  bottom: 0px;
}

.bottom-2 {
  bottom: 0.5rem;
}

.bottom-4 {
  bottom: 1rem;
}

.left-0 {
  left: 0px;
}

.left-4 {
  left: 1rem;
}

.right-0 {
  right: 0px;
}

.right-4 {
  right: 1rem;
}

.right-6 {
  right: 1.5rem;
}

.top-0 {
  top: 0px;
}

.top-1\/2 {
  top: 50%;
}

.top-2 {
  top: 0.5rem;
}

.top-32 {
  top: 8rem;
}

.top-4 {
  top: 1rem;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.col-span-2 {
  grid-column: span 2 / span 2;
}

.col-span-full {
  grid-column: 1 / -1;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-0 {
  margin-top: 0px;
  margin-bottom: 0px;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.mb-0 {
  margin-bottom: 0px;
}

.mb-0\.5 {
  margin-bottom: 0.125rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mb-24 {
  margin-bottom: 6rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-32 {
  margin-bottom: 8rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-7 {
  margin-bottom: 1.75rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-4 {
  margin-left: 1rem;
}

.ml-auto {
  margin-left: auto;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mr-4 {
  margin-right: 1rem;
}

.mt-0 {
  margin-top: 0px;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-\[80px\] {
  margin-top: 80px;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.table-row {
  display: table-row;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.list-item {
  display: list-item;
}

.hidden {
  display: none;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.h-0 {
  height: 0px;
}

.h-0\.5 {
  height: 0.125rem;
}

.h-11 {
  height: 2.75rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-2 {
  height: 0.5rem;
}

.h-20 {
  height: 5rem;
}

.h-24 {
  height: 6rem;
}

.h-3 {
  height: 0.75rem;
}

.h-32 {
  height: 8rem;
}

.h-4 {
  height: 1rem;
}

.h-48 {
  height: 12rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-64 {
  height: 16rem;
}

.h-8 {
  height: 2rem;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.max-h-full {
  max-height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.w-0 {
  width: 0px;
}

.w-11 {
  width: 2.75rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-2 {
  width: 0.5rem;
}

.w-20 {
  width: 5rem;
}

.w-24 {
  width: 6rem;
}

.w-3 {
  width: 0.75rem;
}

.w-32 {
  width: 8rem;
}

.w-4 {
  width: 1rem;
}

.w-4\/5 {
  width: 80%;
}

.w-40 {
  width: 10rem;
}

.w-5 {
  width: 1.25rem;
}

.w-56 {
  width: 14rem;
}

.w-6 {
  width: 1.5rem;
}

.w-64 {
  width: 16rem;
}

.w-8 {
  width: 2rem;
}

.w-\[220px\] {
  width: 220px;
}

.w-\[82px\] {
  width: 82px;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.w-px {
  width: 1px;
}

.min-w-0 {
  min-width: 0px;
}

.min-w-\[40px\] {
  min-width: 40px;
}

.min-w-\[980px\] {
  min-width: 980px;
}

.min-w-fit {
  min-width: -moz-fit-content;
  min-width: fit-content;
}

.min-w-full {
  min-width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-\[1200px\] {
  max-width: 1200px;
}

.max-w-\[980px\] {
  max-width: 980px;
}

.max-w-full {
  max-width: 100%;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-none {
  max-width: none;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink {
  flex-shrink: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-grow {
  flex-grow: 1;
}

.border-collapse {
  border-collapse: collapse;
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.cursor-pointer {
  cursor: pointer;
}

.resize {
  resize: both;
}

.list-inside {
  list-style-position: inside;
}

.list-disc {
  list-style-type: disc;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-16 {
  gap: 4rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-x-4 {
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}

.gap-y-2 {
  row-gap: 0.5rem;
}

.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.text-ellipsis {
  text-overflow: ellipsis;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.break-all {
  word-break: break-all;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-sm {
  border-radius: 0.125rem;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-4 {
  border-width: 4px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l {
  border-left-width: 1px;
}

.border-r {
  border-right-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-t-2 {
  border-top-width: 2px;
}

.border-dashed {
  border-style: dashed;
}

.border-blue-200 {
  --tw-border-opacity: 1;
  border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}

.border-gray-400 {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}

.border-green-200 {
  --tw-border-opacity: 1;
  border-color: rgb(187 247 208 / var(--tw-border-opacity, 1));
}

.border-primary {
  border-color: var(--color-primary);
}

.border-red-200 {
  border-color: var(--color-red-200);
}

.border-red-500 {
  border-color: var(--color-red-500);
}

.border-red-600 {
  border-color: var(--color-red-600);
}

.border-transparent {
  border-color: transparent;
}

.border-white {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}

.border-yellow-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 240 138 / var(--tw-border-opacity, 1));
}

.bg-accent-red {
  --tw-bg-opacity: 1;
  background-color: rgb(225 70 97 / var(--tw-bg-opacity, 1));
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}

.bg-blue-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}

.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}

.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}

.bg-gray-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.bg-gray-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
}

.bg-gray-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

.bg-green-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
}

.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}

.bg-primary {
  background-color: var(--color-primary);
}

.bg-purple-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
}

.bg-purple-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
}

.bg-red-50 {
  background-color: var(--color-red-50);
}

.bg-red-600 {
  background-color: var(--color-red-600);
}

.bg-transparent {
  background-color: transparent;
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-yellow-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1));
}

.bg-opacity-0 {
  --tw-bg-opacity: 0;
}

.bg-opacity-100 {
  --tw-bg-opacity: 1;
}

.bg-opacity-40 {
  --tw-bg-opacity: 0.4;
}

.bg-opacity-60 {
  --tw-bg-opacity: 0.6;
}

.bg-opacity-90 {
  --tw-bg-opacity: 0.9;
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-0 {
  padding: 0px;
}

.p-12 {
  padding: 3rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-0 {
  padding-top: 0px;
  padding-bottom: 0px;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pl-4 {
  padding-left: 1rem;
}

.pt-0 {
  padding-top: 0px;
}

.pt-1 {
  padding-top: 0.25rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.text-left {
  text-align: left;
}

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

.text-2xl {
  font-size: 24px;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 20px;
}

.text-xs {
  font-size: 12px;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.italic {
  font-style: italic;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.text-accent-red {
  --tw-text-opacity: 1;
  color: rgb(225 70 97 / var(--tw-text-opacity, 1));
}

.text-black {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}

.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.text-blue-700 {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}

.text-blue-800 {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}

.text-green-900 {
  --tw-text-opacity: 1;
  color: rgb(20 83 45 / var(--tw-text-opacity, 1));
}

.text-inherit {
  color: inherit;
}

.text-primary {
  color: var(--color-primary);
}

.text-purple-800 {
  --tw-text-opacity: 1;
  color: rgb(107 33 168 / var(--tw-text-opacity, 1));
}

.text-purple-900 {
  --tw-text-opacity: 1;
  color: rgb(88 28 135 / var(--tw-text-opacity, 1));
}

.text-red-600 {
  color: var(--color-red-600);
}

.text-red-700 {
  color: var(--color-red-700);
}

.text-red-800 {
  color: var(--color-red-800);
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-yellow-800 {
  --tw-text-opacity: 1;
  color: rgb(133 77 14 / var(--tw-text-opacity, 1));
}

.text-yellow-900 {
  --tw-text-opacity: 1;
  color: rgb(113 63 18 / var(--tw-text-opacity, 1));
}

.underline {
  text-decoration-line: underline;
}

.no-underline {
  text-decoration-line: none;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.opacity-30 {
  opacity: 0.3;
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.outline {
  outline-style: solid;
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.brightness-0 {
  --tw-brightness: brightness(0);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.invert {
  --tw-invert: invert(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.sepia {
  --tw-sepia: sepia(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-filter {
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.duration-700 {
  transition-duration: 700ms;
}

.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* コンポーネント読み込み */

/* ================================================================
   汎用情報ボックススタイル
   ================================================================ */

/* 情報ボックス（背景色付きコンテナ） */

.info-box {
  margin-bottom: 1.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  padding: 1rem;
}

/* 情報ボックス内の見出し */

.info-box h4 {
  margin-bottom: var(--spacing-heading-bottom);
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 8px;
  font-size: var(--font-size-base);
}

/* 情報リスト（箇条書き） */

.info-box .info-list {
  list-style-type: none;
  font-size: 12px;
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  margin-left: 0;
  margin-bottom: 0;
  padding-left: 0;
}

.info-box .info-list > li {
  margin-bottom: 0.25rem;
  /* space-y-1 */
}

/* 情報リストアイテム（・付きインデント処理） */

.info-box .info-list li {
  position: relative;
  padding-left: 1em;
  text-indent: 0;
  list-style: none !important;
}

.info-box .info-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

/* ネストされた情報リスト */

.info-list.ml-4 {
  margin-left: 1rem;
}

/* ================================================================
   スマートフォン用検索フォーム スタイル
   ================================================================ */

/* 検索フォームヘッダーの背景（下部固定・最小高さ） */

.sp-search-form-fixed-header {
  background-color: white;
  border-bottom: none;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  padding: 4px 12px;
  border-radius: 8px 8px 0 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* 横スクロールエリアの改善 */

.sp-horizontal-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sp-horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.sp-checkbox-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: -moz-max-content;
  min-width: max-content;
  white-space: nowrap;
}

/* フィルターコンテンツの改善 */

.sp-filter-content-inline {
  width: 100%;
  overflow: hidden;
}

.sp-filter-row-compact {
  margin-bottom: 4px;
}

/* 下部固定検索フォーム用のページ下部マージン */

body {
  padding-bottom: 0;
  /* 検索フォームの実際の高さのみ（最小） */
}

/* SPの検索フォームがある場合のみ適用 */

.sp-search-form-container {
  margin-bottom: 0;
}

/* 検索フォームコンテナ */

.sp-search-form-container ~ * {
  margin-bottom: 0;
}

/* 3行目詳細検索ボタン（フルワイド） */

.sp-detail-search-row {
  margin-top: 4px;
  margin-bottom: 0;
}

.sp-detail-search-btn {
  width: 100%;
  padding: 6px 12px;
  background-color: #E14661;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-detail-search-btn:hover {
  background-color: #b91c1c;
}

.sp-detail-search-btn:active {
  background-color: #991b1b;
  transform: translateY(1px);
}

.sp-detail-search-text {
  font-size: 12px;
  font-weight: 400;
  color: inherit;
}

/* ================================================================
   ヘッダーロゴのスクロール制御
   ================================================================ */

/* ロゴのvisibility制御はJavaScriptで行う（トランジションなし） */

/* ================================================================
   表組み専用スタイル
   ================================================================ */

/* ================================================================
   ヘッダー制御用スタイル
   ================================================================ */

/* ヘッダーロゴとメニューボーダーのトランジション */

.header-logo {
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background-color: white;
}

.menu-border-top,
.menu-border-bottom {
  transition: opacity 0.3s ease;
}

/* ================================================================
   共通スタイル（サイト全体で使用）
   ================================================================ */

/* OpenType機能を使った約物半角設定（サイト全体） */

/* CSS変数定義（サイト全体で使用） */

/* CSS変数定義 */

:root {
  /* カラー - 赤系統一 (#E14661) */
  --color-primary: #e14661;
  --color-primary-dark: #e14661;
  --color-red-primary: #e14661;
  --color-red-hover: #d13d58;
  --color-red-light: #e66e88;
  --color-red-dark: #c1334f;
  --color-red-50: #fef2f2;
  --color-red-100: #fee2e2;
  --color-red-200: #fecaca;
  --color-red-300: #fca5a5;
  --color-red-400: #f87171;
  --color-red-500: #ef4444;
  --color-red-600: #e14661;
  --color-red-700: #d13d58;
  --color-red-800: #c1334f;
  --color-red-900: #7f1d1d;
  /* その他のカラー */
  --color-text-gray: #374151;
  --color-secondary: #64748b;
  --color-accent: #f59e0b;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-background: #ffffff;
  --color-background-light: #f9fafb;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  /* スペーシング */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-content-horizontal: 2rem;
  --spacing-content-vertical: 1.5rem;
  --spacing-section: 3rem;
  --spacing-heading-top: 1rem;
  --spacing-heading-bottom: 2rem;
  /* フォントサイズ */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  /* 16px */
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  /* 行間 */
  --line-height-tight: 1.4;
  --line-height-normal: 1.8;
  --line-height-relaxed: 2;
  /* トランジション */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  /* レタースペーシング */
  --letter-spacing-body: 0.2em;
  --letter-spacing-heading: 0.15em;
  /* アニメーション */
  --fade-duration: 0.3s;
  --fade-delay-step: 0.05s;
  /* レイアウト */
  --header-height: 80px;
}

/* 基本スタイル設定（サイト全体で使用） */

/* 共通コンポーネント（複数ページで使用） */

/* 無限スクロールアニメーション（旧名も対応） */

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333%);
  }
}

@keyframes continuousScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333%);
  }
}

/* ================================================================
   1カラムテンプレート専用スタイル（Single Column Template）
   ================================================================ */

/* ================================================================
   特定ページ専用スタイル
   ================================================================ */

/* 左カラム固定レイアウト（2カラムテンプレート用） */

/* @layer utilities - .text-balanceはUI hardening patchに統合済み */

/* 赤いヘッダーセクション用スタイル - content-areaのh2スタイルを上書き */

/* ================================================================
   レガシー・未使用スタイル（要確認）
   ================================================================ */

/* ※マーク付きの注意事項 - Tailwindに移行済みのため削除 */

/* ※マークの装飾 - Tailwindに移行済みのため削除 */

/* リストの装飾 - Tailwindに移行済みのため削除 */

/* 統一されたリストスタイル - Tailwindに移行済みのため削除 */

/* ヘッダー関連スタイル（メインページで使用） */

/* ヘッダー背景画像 */

.header-hero-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../img/dummy/background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ロゴのサイズ設定 */

.header-logo img {
  height: 44px;
  /* 60px - 16px (p-2の上下パディング) = 44px */
}

/* モバイル対応のロゴサイズ */

@media (max-width: 1023px) {
  .header-logo img {
    height: 30px;
  }
}

/* 固定ヘッダーのスタイル */

nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

/* メニュー帯の位置を常に固定 */

.desktop-nav-wrapper {
  position: absolute;
  top: 0;
  right: 0;
}

/* 白帯（メニュー部分）のスタイル */

.white-menu-section {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

/* 特殊枠のスタイル（左側のみ切り抜き） */

.menu-border-frame {
  position: relative;
}

/* 左のボーダー（上下8px内側から） */

.menu-border-frame::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  border-left: 1px solid var(--color-primary);
}

/* 上下のボーダー（左のみ16px内側） - 常に非表示 */

.menu-border-top {
  position: absolute;
  top: 0;
  left: 16px;
  right: 0;
  border-top: 1px solid var(--color-primary);
  opacity: 0 !important;
}

.menu-border-bottom {
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 0;
  border-bottom: 1px solid var(--color-primary);
  opacity: 0 !important;
}

/* 赤線非表示クラス */

.header-border-hidden .menu-border-frame::before {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 赤線表示クラス（デフォルト） - 上下罫線は常に非表示 */

.menu-border-frame::before {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* 上下罫線は常に非表示 */

.menu-border-top,
.menu-border-bottom {
  opacity: 0 !important;
  transition: opacity 0.3s ease;
}

/* ヘッダー表示制御用新スタイル */

/* 制御が必要なページでのみ適用される初期状態 */

/* 制御要素が存在する場合のみロゴ表示クラスを適用 */

/* white-menu-sectionは透明背景 */

.white-menu-section {
  background-color: transparent !important;
  position: relative;
}

.white-menu-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  right: -100vw;
  background-color: transparent;
  z-index: -1;
}

/* その他のヘッダー要素は制御可能 */

.header-background-control {
  position: relative;
  transition: background-color 0.3s ease;
}

.header-background-control::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  right: -100vw;
  background-color: transparent;
  z-index: -1;
  transition: background-color 0.3s ease;
}

/* 背景表示時の状態 */

.header-background-control.bg-white {
  background-color: transparent;
}

.header-background-control.bg-white::before {
  background-color: transparent;
}

/* 制御がある場合の状態（上書き） */

.header-logo-visible .header-background-control {
  background-color: transparent;
  position: relative;
}

.header-logo-visible .header-background-control::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  right: -100vw;
  background-color: transparent;
  z-index: -1;
}

/* ロゴ非表示時：左の罫線を白に変更、上下の罫線は常に非表示 */

.header-logo-hidden .menu-border-frame::before {
  border-left-color: white;
}

/* 上下罫線は常に非表示のため、この設定は不要 */

/* .header-logo-hidden .header-border-control.menu-border-top {
  opacity: 0 !important;
} */

/* デフォルト状態（ロゴ表示時）の設定 */

.header-background-control {
  transition: background-color 0.3s ease;
}

.header-border-control {
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

/* 赤帯（パスポート購入）のスタイル */

.red-menu-section {
  height: 60px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  /* 幅を自動調整せず、コンテンツに合わせて固定 */
  justify-content: center;
  transition: all 0.2s ease;
  color: white !important;
}

.red-menu-section:hover {
  background-color: #f56565 !important;
  color: white !important;
  border-color: #f56565 !important;
}

/* SPでのパスポート購入ボタンの白文字保証 */

@media (max-width: 1023px) {
  .bg-primary.text-white {
    color: white !important;
  }

  .bg-primary.text-white svg {
    color: white !important;
  }

  /* より具体的なセレクタでパスポート購入ボタンを白文字に */

  header .bg-primary.text-white,
  #main-header .bg-primary.text-white,
  header a[href*="teket.jp"],
  #main-header a[href*="teket.jp"] {
    color: white !important;
    border: none !important;
    /* ボーダーを削除 */
  }

  header .bg-primary.text-white svg,
  #main-header .bg-primary.text-white svg,
  header a[href*="teket.jp"] svg,
  #main-header a[href*="teket.jp"] svg {
    color: white !important;
  }
}

/* 区切り線のスタイル */

.menu-divider {
  width: 1px;
  height: 48px;
  background-color: var(--color-primary);
}

/* レイアウト調整 */

.navigation-container {
  position: relative;
}

/* ハンバーガーメニューアニメーション */

.hamburger-line {
  transition: all 0.3s ease;
}

.hamburger-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ハンバーガーメニューボタンの背景色 */

.hamburger {
  background-color: white;
}

/* モバイルメニューの背景色 */

.mobile-menu {
  background-color: white;
}

/* モバイルメニューの表示/非表示（右から左にスライドイン） */

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
  background-color: white;
  top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.mobile-menu.show {
  transform: translateX(0);
  background-color: white;
}

/* 削除済み: .content-sectionクラス */

/* 個別のページで必要な場合はTailwindクラスで対応 */

/* ヘッダー高さ分の調整用クラス */

.header-offset {
  padding-top: 130px;
  /* デスクトップ用 */
}

/* モバイル用のヘッダー高さ調整 */

@media (max-width: 1023px) {
  .header-offset {
    padding-top: 130px;
    /* モバイル用 */
  }

  /* モバイル時のヘッダーレイアウト調整 */

  .navigation-container {
    width: 100%;
    max-width: 100vw;
  }

  .header-logo {
    flex: 0 1 auto;
    max-width: calc(100vw - 140px);
    /* モバイルナビ分のスペースを確保 */
  }

  .only-sp {
    flex: 0 0 auto;
    min-width: 130px;
    /* パスポート購入ボタン + ハンバーガーボタン + 間隔 */
  }
}

/* main要素専用の調整（既存のpaddingと競合しないよう） */

.main-with-header {
  padding-top: 120px;
  /* デスクトップ用 */
}

@media (max-width: 1023px) {
  .main-with-header {
    padding-top: 80px;
    /* モバイル用 */
  }
}

/* ================================================================
   サイト内テキストリンクスタイル
   ================================================================ */

/* 古いリンクスタイル定義は削除されました - 新しい統一リンクスタイルシステムを使用 */

/* ================================================================
   グローバル上書きスタイル
   ================================================================ */

/* ==========================================
   UI hardening patch (HTML非介入・最小上書き)
   - 既存CSSの「末尾」に貼り付けること
   - 以後の修正は、このブロックを基準に行う
========================================== */

/* 1) 見出し競合の無効化（.h2-style の強制黒を中立化） */

.h2-style {
  color: inherit !important;
}

/* !important needed for conflict resolution */

/* 2) 段落の強制両端揃えを停止（本文限定は後フェーズで実施） */

* {
  text-align: justify;
  text-justify: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: start;
}

/* 3) 正準ユーティリティ化：text-balance */

.text-balance {
  text-wrap: balance;
}

/* 4) QAの開閉表示を一本化（.active / .is-open 両対応） */

.qa-accordion .qa-answer {
  display: none;
}

.qa-accordion .qa-item.is-open .qa-answer,
.qa-accordion .qa-item.active .qa-answer {
  display: block;
}

.qa-accordion .qa-question {
  cursor: pointer;
}

/* 5) 右カラムの固定幅を緩和（はみ出し抑制） */

.right-column {
  flex: 0 0 clamp(560px, 40vw, 780px);
  max-width: 100%;
}

@media (max-width: 1024px) {
  .right-column {
    flex-basis: 100%;
  }
}

/* 6) タイトルバナーの積層を安定化（位置は後フェーズで整理） */

/* .title-banner{ z-index: 1; } - integrated into variant system */

/* 7) 汎用オーバーフロー対策 */

html,
body {
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* === End of UI hardening patch === */

/* prose基本調整（HTML非介入・本文限定） */

.prose p {
  margin-block: 1em;
}

.prose img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 必要なら：本文を両端揃え */

/* .prose p{ text-align: justify; text-justify: inter-ideograph; } */

/* headingコンポーネント（色はサイト基準を継承） */

.heading-box {
  padding: 0.5rem 1rem;
  border: 1px solid currentColor;
}

.heading-sub {
  font-weight: 600;
  opacity: 0.9;
}

/* QAアコーディオン統一スタイル */

.qa-accordion .qa-answer {
  display: none;
}

.qa-accordion .qa-item.active .qa-answer {
  display: block;
}

.qa-accordion .qa-item.is-open .qa-answer {
  display: block;
}

.qa-question {
  cursor: pointer;
}

/* タイトルバナーバリアント */

.title-banner {
  position: absolute;
  z-index: 1;
}

.title-banner--hero {
  top: 10%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.title-banner--sidebar {
  top: 2rem;
  right: 20%;
  display: flex;
  justify-content: center;
}

/* =========================
   1) H2アイコンを小さく・行内表示に固定
   ========================= */

h2.heading-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h2.heading-main > img.section-icon {
  width: 1.5rem;
  height: 1.5rem;
  /* 24px */
  display: inline-block;
  /* .prose img の block化を打ち消し */
  max-width: none;
  /* .prose img の max-width:100% を打ち消し */
  margin: 0;
  flex: 0 0 auto;
}

@media (max-width: 780px) {
  h2.heading-main {
    gap: 0.5rem;
  }

  h2.heading-main > img.section-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  /* 20px */
}

/* もし .prose の影響が強い場合は下の1行だけ !important を付けると確実
   h2.heading-main > img.section-icon { max-width: none !important; } */

/* =========================
   2) ヘッダーメニューの PC/SP 切替を 1024px 基準に統一
   （header のレイアウト基準に合わせる）
   ========================= */

.only-pc {
  display: block;
}

.only-sp {
  display: none;
}

@media (max-width: 1023px) {
  .only-pc {
    display: none !important;
  }

  .only-sp {
    display: block !important;
  }
}

/* ※もし 780px 基準にしたい運用なら、1023 を 780 に置換してください。 */

/* =========================
   3) 2カラム時の右カラムが狭い問題（40vw → 50vw）
   ========================= */

.right-column {
  flex: 0 0 clamp(560px, 50vw, 780px);
}

/* =========================
   4) メニュー折り返し防止対策
   ========================= */

/* 2段に折り返さない */

.desktop-nav-wrapper {
  flex-wrap: nowrap;
}

/* 赤ボタンを縮められるように戻す（旧挙動に合わせる） */

.red-menu-section {
  flex: 0 1 auto;
}

/* 念のため：白帯は横幅を取りすぎない */

.white-menu-section {
  flex: 0 1 auto;
}

/* --- header nav hotfix --- */

@media (min-width: 1024px) {
  .desktop-nav-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
  }

  /* 白帯は縮める・はみ出しを許可 */

  .desktop-nav-wrapper .white-menu-section {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    /* ← flex子要素が縮められない既定を解除 */
    display: flex !important;
  }

  /* 赤帯は固定幅・縮まない（折り返さない） */

  .desktop-nav-wrapper .red-menu-section {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
}

/* 表示帯スタイル（四隅が欠けている） */

.display-band {
  position: relative;
  background: white;
  padding: 2rem;
  margin: 0;
}

/* 表示帯内のテーブルスタイル */

.display-band table {
  width: 100%;
  border-collapse: collapse;
}

.display-band th,
.display-band td {
  border: 1px solid #E14661;
  /* red-600 */
  padding: 0.75rem;
}

.display-band th {
  background-color: white;
  color: #E14661;
  /* red-600 */
  font-weight: bold;
  border: 1px solid #E14661;
  /* red-600 */
}

.display-band tr {
  background-color: white;
}

/* ================================================================
   SP用 左右マージン統一（1.5rem = 24px）- !important非使用版
   ================================================================ */

/* SP（1023px以下）での左右マージンを1.5remに統一 */

@media (max-width: 1023px) {
  /* 詳細度を上げてTailwindクラスを上書き */

  /* メインコンテンツエリアの左右マージン統一 */

  body div.container-width,
  body .main-content-area .container-width,
  body .single-column-container.container-width {
    padding-left: 0;
    padding-right: 0;
  }

  /* px-6クラスのSP用上書き（詳細度を上げる） */

  body div.container-width.px-6,
  body .main-content-area div.px-6,
  body .single-column-container.px-6 {
    padding-left: 0;
    padding-right: 0;
  }

  /* px-4クラスのSP用上書き */

  body div.container-width.px-4,
  body .main-content-area div.px-4 {
    padding-left: 0;
    padding-right: 0;
  }

  /* ナビゲーション内の統一 */

  body nav .container-width, body #header-nav .container-width {
    padding-left: 0;
    padding-right: 0;
  }

  /* ================================================================
     デバッグ用：SP用1.5remグリッドライン - コメントアウト
     ================================================================ */

  /* 全ページに1.5remグリッドを表示
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 1.5rem;
    width: 2px;
    height: 100vh;
    background: rgba(255, 0, 0, 0.5);
    z-index: 9999;
    pointer-events: none;
  }
  
  body::after {
    content: '';
    position: fixed;
    top: 0;
    right: 1.5rem;
    width: 2px;
    height: 100vh;
    background: rgba(255, 0, 0, 0.5);
    z-index: 9999;
    pointer-events: none;
  }
  
  左上にグリッド情報を表示
  html::before {
    content: 'SP Grid: 1.5rem (24px)';
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-family: monospace;
    border-radius: 3px;
    z-index: 9999;
    pointer-events: none;
  }
  */

  /* ================================================================
     SP用デフォルト文字サイズ設定（16px = 1rem）
     ================================================================ */

  /* bodyのデフォルト文字サイズを16pxに設定 */

  body {
    font-size: 16px;
  }

  /* 見出しのSP用文字サイズ調整 */

  h1 {
    font-size: 1.75rem;
  }

  /* 28px */

  h2 {
    font-size: 1.5rem;
  }

  /* 24px */

  h3 {
    font-size: 1.25rem;
  }

  /* 20px */

  h4 {
    font-size: 1.125rem;
  }

  /* 18px */

  h5 {
    font-size: 1rem;
  }

  /* 16px */

  h6 {
    font-size: 0.875rem;
  }

  /* 14px */
}

/* 表示帯スタイル（通常のテーブル） */

.display-band {
  position: relative;
  background: white;
  padding: 2rem 0;
  margin: 0;
}

/* 表示帯内のテーブルスタイル */

.display-band table {
  width: 100%;
  border-collapse: collapse;
}

.display-band th,
.display-band td {
  border: 1px solid #E14661;
  /* red-600 */
  padding: 0.75rem;
  text-align: left;
}

.display-band th {
  background-color: white;
  color: #E14661;
  /* red-600 */
  font-weight: bold;
}

.display-band tr {
  background-color: white;
}

/* ================================================================
   SP用 左右マージン統一（1.5rem = 24px）- !important非使用版
   ================================================================ */

/* SP（1023px以下）での左右マージンを1.5remに統一（ヘッダーは0） */

@media (max-width: 1023px) {
  /* 詳細度を上げてTailwindクラスを上書き */

  /* メインコンテンツエリアの左右マージン統一 */

  body div.container-width,
  body .main-content-area .container-width,
  body .single-column-container.container-width {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* px-6クラスのSP用上書き（詳細度を上げる） */

  body div.container-width.px-6,
  body .main-content-area div.px-6,
  body .single-column-container.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* px-4クラスのSP用上書き */

  body div.container-width.px-4,
  body .main-content-area div.px-4 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* ナビゲーション内の統一（ヘッダーは0.5rem） */

  body nav .container-width,
  body #header-nav .container-width {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
  }

  /* ================================================================
     デバッグ用：SP用1.5remグリッドライン - コメントアウト
     ================================================================ */

  /* 全ページに1.5remグリッドを表示
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 1.5rem;
    width: 2px;
    height: 100vh;
    background: rgba(255, 0, 0, 0.5);
    z-index: 9999;
    pointer-events: none;
  }
  
  body::after {
    content: '';
    position: fixed;
    top: 0;
    right: 1.5rem;
    width: 2px;
    height: 100vh;
    background: rgba(255, 0, 0, 0.5);
    z-index: 9999;
    pointer-events: none;
  }
  
  左上にグリッド情報を表示
  html::before {
    content: 'SP Grid: 1.5rem (24px)';
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-family: monospace;
    border-radius: 3px;
    z-index: 9999;
    pointer-events: none;
  }
  */

  /* ================================================================
     SP用デフォルト文字サイズ設定（16px = 1rem）
     ================================================================ */

  /* bodyのデフォルト文字サイズを16pxに設定 */

  body {
    font-size: 16px;
  }
}

/* ================================================================
   デバッグ用グリッドライン（PC・SP統一版） - 2024年追加
   ================================================================ */

/* デバッグ用グリッドを一時的にコメントアウト
bodyに自動でグリッドクラスを適用してデバッグ表示
body {
  position: relative;
}

160px位置の横グリッドライン（PC・SP共通）
body::before {
  content: "";
  position: fixed;
  top: 160px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0, 255, 0, 0.7);
  z-index: 9999;
  pointer-events: none;
}

PC（1024px以上）でのmax-widthグリッド
@media (min-width: 1024px) {
  body::after {
    content: "";
    position: fixed;
    top: 0;
    left: calc(50% - 600px);
    width: 2px;
    height: 100vh;
    background: rgba(255, 0, 0, 0.7);
    z-index: 9999;
    pointer-events: none;
  }
  
  html::after {
    content: "";
    position: fixed;
    top: 0;
    right: calc(50% - 600px);
    width: 2px;
    height: 100vh;
    background: rgba(255, 0, 0, 0.7);
    z-index: 9999;
    pointer-events: none;
  }
  
  html::before {
    content: "PC Grid: max-width 1200px, top 160px";
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-family: monospace;
    border-radius: 3px;
    z-index: 9999;
    pointer-events: none;
  }
}

SP（1023px以下）での1.5remグリッド
@media (max-width: 1023px) {
  body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 1.5rem;
    width: 2px;
    height: 100vh;
    background: rgba(0, 0, 255, 0.7);
    z-index: 9999;
    pointer-events: none;
  }
  
  html::after {
    content: "";
    position: fixed;
    top: 0;
    right: 1.5rem;
    width: 2px;
    height: 100vh;
    background: rgba(0, 0, 255, 0.7);
    z-index: 9999;
    pointer-events: none;
  }
  
  html::before {
    content: "SP Grid: 1.5rem (24px), top 160px";
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 255, 0.9);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-family: monospace;
    border-radius: 3px;
    z-index: 9999;
    pointer-events: none;
  }
}
*/

/* ================================================================
   メインビジュアル専用スタイル（スライドショー機能）
   ================================================================ */

/* スライドショーコンテナ */

.mainvisual-slideshow {
  position: relative;
  overflow: hidden;
}

/* スライド背景画像 */

.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  /* 初期は下揃え */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  /* トランジション時間を短縮 */
  z-index: 1;
  will-change: opacity, background-position;
  /* パフォーマンス最適化 */
}

/* アクティブなスライド */

.slide-background.active {
  opacity: 1;
  animation: slidePositionChange 7s ease-out forwards;
}

/* 背景位置アニメーション（下揃え→上方向に10%移動、見切れた画像下部が見える） */

@keyframes slidePositionChange {
  0% {
    background-position: bottom center;
  }

  100% {
    background-position: center 90%;
    /* 上方向に10%移動（半分に短縮） */
  }
}

/* スライドショー動作用JavaScriptによる背景画像設定 */

.slide-background[data-bg] {
  background-image: var(--slide-bg-image);
}

/* スマートフォン対応：PCと同じアニメーションを適用 */

@media (max-width: 768px) {
  .slide-background {
    background-size: cover;
    background-position: bottom center;
    /* スマートフォンでも下揃えから開始 */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    will-change: opacity, background-position;
  }

  .slide-background.active {
    opacity: 1;
    animation: slidePositionChange 7s ease-out forwards;
    /* PCと同じ7秒アニメーション */
  }

  /* スマートフォンでも同じキーフレームアニメーションを使用 */

  @keyframes slidePositionChange {
    0% {
      background-position: bottom center;
    }

    100% {
      background-position: center 90%;
      /* 上方向に10%移動（半分に短縮） */
    }
  }
}

/* タブレット対応：PCと同じアニメーションを適用 */

@media (min-width: 769px) and (max-width: 1024px) {
  .slide-background {
    background-size: cover;
    background-position: bottom center;
    /* タブレットでも下揃えから開始 */
  }

  .slide-background.active {
    animation: slidePositionChange 7s ease-out forwards;
    /* PCと同じ7秒アニメーション */
  }
}

/* ================================================================
   お問い合わせフォーム専用スタイル
   ================================================================ */

/* フォームコンテナのスタイル */

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* フォームグループのスタイル */

.form-group {
  margin-bottom: 1.5rem;
}

/* ラベルのスタイル */

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

/* 必須マークのスタイル */

.required-mark {
  color: #E14661;
  font-size: 0.875rem;
  margin-left: 0.25rem;
}

/* テキストフィールドのスタイル */

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #E14661;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* セレクトボックスのスタイル */

.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s ease;
}

.form-select:focus {
  outline: none;
  border-color: #E14661;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* テキストエリアのスタイル */

.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 8rem;
  transition: border-color 0.2s ease;
}

.form-textarea:focus {
  outline: none;
  border-color: #E14661;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* チェックボックスラッパーのスタイル */

.form-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.checkbox-text {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.5;
}

/* 注意事項のスタイル */

.form-notice {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 0.375rem;
  border-left: 4px solid #E14661;
}

/* 送信ボタンのスタイル */

.form-submit {
  margin-top: 2rem;
}

/* レスポンシブ対応 */

@media (max-width: 768px) {
  .contact-form-container {
    padding: 1rem 0;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
    /* iOSでズームを防ぐ */
  }
}

/* ================================================================
   お問い合わせフォーム専用スタイル
   ================================================================ */

/* お問い合わせフォームページでの両端揃え解除 */

.contact-form-container {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.contact-form-container * {
  text-align: left;
  text-justify: auto;
}

/* ================================================================
   モバイル検索フォーム専用スタイル
   ================================================================ */

/* SP用検索フォーム基本設定 */

.sp-search-form-container {
  width: 100%;
}

.sp-search-form-fixed-header.py-16 {
  position: relative;
  z-index: 100;
}

.sp-search-form-fixed-header {
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.header-background-control.sp-search-form-fixed-header {
  background-color: transparent;
}

.header-background-control.sp-search-form-fixed-header::before {
  background-color: transparent;
}

.sp-form > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

/* フィルター行（コンパクト） */

.sp-filter-row-compact {
  width: 100%;
}

.sp-filter-content-inline {
  width: 100%;
}

.sp-horizontal-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.sp-checkbox-row {
  display: flex;
  min-width: -moz-max-content;
  min-width: max-content;
  gap: 0.5rem;
}

/* チェックボックスアイテム - 大きくして見やすく */

.sp-checkbox-item {
  display: flex;
  min-width: -moz-max-content;
  min-width: max-content;
  cursor: pointer;
  align-items: center;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

@media (max-width: 1023px) {
  body div.container-width.sp-checkbox-item,
  body .main-content-area div.sp-checkbox-item {
    padding-left: 0;
    padding-right: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.sp-checkbox-item {
  white-space: nowrap;
}

.sp-checkbox-item:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}

.sp-checkbox-item.selected,
.sp-checkbox-item:has(.search-checkbox:checked) {
  --tw-border-opacity: 1;
  border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}

.sp-checkbox-item input[type="checkbox"] {
  display: none;
}

.sp-checkbox-label {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.sp-checkbox-item.selected .sp-checkbox-label,
.sp-checkbox-item:has(.search-checkbox:checked) .sp-checkbox-label {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}

/* 詳細検索ボタン */

.sp-detail-search-row {
  width: 100%;
}

.sp-detail-search-btn {
  width: 100%;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

@media (max-width: 1023px) {
  .bg-primary.sp-detail-search-btn {
    color: white;
  }

  .bg-primary.sp-detail-search-btn svg {
    color: white;
  }

  header .bg-primary.sp-detail-search-btn,
  #main-header .bg-primary.sp-detail-search-btn {
    /* ボーダーを削除 */
    color: white;
    border: none;
    /* ボーダーを削除 */
  }

  header .bg-primary.sp-detail-search-btn svg,
  #main-header .bg-primary.sp-detail-search-btn svg {
    color: white;
  }
}


header .bg-primary.sp-detail-search-btn,
#main-header .bg-primary.sp-detail-search-btn {
  color: white;
}


header .bg-primary.sp-detail-search-btn:hover,
#main-header .bg-primary.sp-detail-search-btn:hover {
  color: white;
}

.sp-detail-search-btn:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

.sp-detail-search-text {
  font-size: 1rem;
  line-height: 1.5rem;
}

/* モーダル関連 */

.sp-advanced-modal {
  position: fixed;
  inset: 0px;
  z-index: 50;
  display: none;
}

nav.sp-advanced-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.sp-advanced-modal.show {
  display: flex;
}

.sp-modal-overlay {
  position: absolute;
  inset: 0px;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
  --tw-bg-opacity: 0.5;
}

.sp-modal-content.py-16 {
  position: relative;
  z-index: 100;
}

.sp-modal-content {
  position: relative;
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.header-background-control.sp-modal-content {
  background-color: transparent;
}

.header-background-control.sp-modal-content::before {
  background-color: transparent;
}

.sp-modal-header.py-16 {
  position: relative;
  z-index: 100;
}

.sp-modal-header {
  flex-shrink: 0;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.header-background-control.sp-modal-header {
  background-color: transparent;
}

.header-background-control.sp-modal-header::before {
  background-color: transparent;
}

@media (max-width: 1023px) {
  body div.container-width.sp-modal-header,
  body .main-content-area div.sp-modal-header,
  body .single-column-container.sp-modal-header {
    padding-left: 0;
    padding-right: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.sp-modal-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-modal-title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.sp-modal-close {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 300;
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.sp-modal-close:hover {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.sp-modal-body {
  flex: 1 1 0%;
  overflow-y: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (max-width: 1023px) {
  body div.container-width.sp-modal-body,
  body .main-content-area div.sp-modal-body,
  body .single-column-container.sp-modal-body {
    padding-left: 0;
    padding-right: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.sp-modal-footer.py-16 {
  position: relative;
  z-index: 100;
}

.sp-modal-footer {
  display: flex;
  flex-shrink: 0;
  gap: 0.75rem;
  border-top-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.header-background-control.sp-modal-footer {
  background-color: transparent;
}

.header-background-control.sp-modal-footer::before {
  background-color: transparent;
}

@media (max-width: 1023px) {
  body div.container-width.sp-modal-footer,
  body .main-content-area div.sp-modal-footer,
  body .single-column-container.sp-modal-footer {
    padding-left: 0;
    padding-right: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* 詳細検索フォーム内のセクション */

.sp-filter-section {
  margin-bottom: 2rem;
}

.sp-section-title {
  margin-bottom: 1rem;
  border-bottom-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  padding-bottom: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

/* チェックボックスグリッド - ボタンを大きく、3列配置で改行 */

.sp-checkbox-grid.grid-cols-1 {
  position: relative;
  z-index: 100;
}

.sp-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 375px) {
  .sp-checkbox-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 基本フィルターセクション */

.basic-filter-section {
  margin-bottom: 1rem;
}

.basic-filter-section h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

/* チェックボックスグリッド */

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .checkbox-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
    overflow: visible !important;
    padding: 0 !important;
  }
}

/* チェックボックス項目（統合版・PC/SP共通ベース） */

.checkbox-item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
  color: #374151;
  font-size: 11px;
  min-height: 28px;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.checkbox-item:hover {
  border-color: #E14661;
  background: #E14661;
  color: #FFFFFF;
}

.checkbox-item:hover .checkbox-label {
  color: #FFFFFF;
}

/* ラベルテキスト（共通） */

.checkbox-label {
  font-size: 11px;
  font-weight: 500;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  line-height: 1.2;
}

/* モバイル用チェックボックス項目のスタイル */

@media (max-width: 768px) {
  .checkbox-grid .checkbox-item {
    padding: 8px 6px !important;
    font-size: 11px !important;
    min-height: 36px !important;
    white-space: nowrap !important;
  }
}

/* parallax専用のチェックボックスグリッド */

.parallax-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .parallax-checkbox-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
    overflow: visible !important;
    padding: 0 !important;
  }
}

/* parallax専用のチェックボックス項目 */

.parallax-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
  color: #374151;
  font-size: 11px;
  min-height: 28px;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.parallax-checkbox-item:hover {
  border-color: #E14661;
  background: #E14661;
  color: #FFFFFF;
}

.parallax-checkbox-item:hover .parallax-checkbox-label {
  color: #FFFFFF;
}

/* parallax専用のラベルテキスト */

.parallax-checkbox-label {
  font-size: 11px;
  font-weight: 500;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  line-height: 1.2;
}

/* parallax専用のモバイル用チェックボックス項目のスタイル */

@media (max-width: 768px) {
  .parallax-checkbox-grid .parallax-checkbox-item {
    padding: 8px 6px !important;
    font-size: 11px !important;
    min-height: 36px !important;
    white-space: nowrap !important;
  }
}

/* 詳細検索用のチェックボックスアイテム - さらに大きく */

.sp-filter-section .sp-checkbox-item {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
}

@media (max-width: 1023px) {
  body div.container-width.sp-filter-section .sp-checkbox-item,
  body .main-content-area div.sp-filter-section .sp-checkbox-item {
    padding-left: 0;
    padding-right: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.sp-filter-section .sp-checkbox-label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

/* フッターボタン */

.sp-btn-clear {
  flex: 1 1 0%;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

@media (max-width: 1023px) {
  body div.container-width.sp-btn-clear,
  body .main-content-area div.sp-btn-clear {
    padding-left: 0;
    padding-right: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.sp-btn-clear:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}

.sp-btn-search {
  flex: 1 1 0%;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

@media (max-width: 1023px) {
  .bg-primary.sp-btn-search {
    color: white;
  }

  .bg-primary.sp-btn-search svg {
    color: white;
  }

  header .bg-primary.sp-btn-search,
  #main-header .bg-primary.sp-btn-search {
    /* ボーダーを削除 */
    color: white;
    border: none;
    /* ボーダーを削除 */
  }

  header .bg-primary.sp-btn-search svg,
  #main-header .bg-primary.sp-btn-search svg {
    color: white;
  }

  body div.container-width.sp-btn-search,
  body .main-content-area div.sp-btn-search {
    padding-left: 0;
    padding-right: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}


header .bg-primary.sp-btn-search,
#main-header .bg-primary.sp-btn-search {
  color: white;
}


header .bg-primary.sp-btn-search:hover,
#main-header .bg-primary.sp-btn-search:hover {
  color: white;
}

.sp-btn-search:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}

/* モバイル向けのスクロールバー調整 */

.sp-horizontal-scroll::-webkit-scrollbar {
  height: 4px;
}

.sp-horizontal-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.sp-horizontal-scroll::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.sp-horizontal-scroll::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* プログラム一覧セクション用のカスタムCSS */

.max-w-6xl {
  max-width: 75rem;
}

/* ================================================================
   統一リンクスタイルシステム
   ================================================================ */

/* 基本リンクスタイル（リセット） */

a {
  color: inherit;
  text-decoration: inherit;
  transition: color 0.2s ease, -webkit-text-decoration 0.2s ease;
  transition: color 0.2s ease, text-decoration 0.2s ease;
  transition: color 0.2s ease, text-decoration 0.2s ease, -webkit-text-decoration 0.2s ease;
}

/* ヘッダー・フッターリンク */

header a,
footer a,
#main-header a,
#site-footer a {
  color: black !important;
  text-decoration: none;
}

header a:hover,
footer a:hover,
#main-header a:hover,
#site-footer a:hover {
  color: #E14661 !important;
  text-decoration: none;
}

/* ヘッダーの赤ボタン（パスポート購入など） */

header .red-menu-section,
#main-header .red-menu-section,
header a[href*="#passport"],
#main-header a[href*="#passport"],
header a[href*="teket.jp"],
#main-header a[href*="teket.jp"],
header .bg-primary.text-white,
#main-header .bg-primary.text-white {
  color: white !important;
}

header .red-menu-section:hover,
#main-header .red-menu-section:hover,
header a[href*="#passport"]:hover,
#main-header a[href*="#passport"]:hover,
header a[href*="teket.jp"]:hover,
#main-header a[href*="teket.jp"]:hover,
header .bg-primary.text-white:hover,
#main-header .bg-primary.text-white:hover {
  color: white !important;
}

/* マーキーバナーのリンク */

.marquee-banner,
.marquee-banner a {
  color: white !important;
}

.marquee-banner:hover,
.marquee-banner a:hover {
  color: white !important;
}

/* ボタン①：赤背景に白文字 → #e14661に統一、ホバーは明るい赤に */

.btn-primary {
  background-color: #e14661 !important;
  /* 統一された赤色 */
  color: white !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 0.75rem 2rem !important;
  /* px-8 py-3 */
  border-radius: 0.375rem !important;
  /* rounded-md */
  font-weight: 500 !important;
  /* font-medium */
  transition: background-color 0.3s ease !important;
  /* transition-colors duration-300 */
}

.btn-primary:hover {
  background-color: #e66e88 !important;
  /* 明るい赤（--color-red-light） */
  color: white !important;
  border: none !important;
  text-decoration: none !important;
}

/* ボタン②：白背景に黒文字 → 赤背景に白文字 */

.btn-secondary {
  background-color: #E14661 !important;
  color: white !important;
  border: 1px solid #E14661 !important;
  text-decoration: none !important;
}

.btn-secondary:hover {
  background-color: #d13d56 !important;
  color: white !important;
  border: 1px solid #d13d56 !important;
  text-decoration: none !important;
}

/* 本文の通常テキストリンク：下線表示 */

.content-area a:not([class*="btn"]):not([class*="header"]):not([class*="footer"]):not([class*="nav"]):not([class*="menu"]) {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-area a:not([class*="btn"]):not([class*="header"]):not([class*="footer"]):not([class*="nav"]):not([class*="menu"]):hover {
  color: #E14661;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* prose内のリンク */

.prose a:not([class*="btn"]):not([class*="header"]):not([class*="footer"]):not([class*="nav"]):not([class*="menu"]) {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:not([class*="btn"]):not([class*="header"]):not([class*="footer"]):not([class*="nav"]):not([class*="menu"]):hover {
  color: #E14661;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ニュースリンク */

.news a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news a:hover {
  color: #E14661;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* フッターリンク */

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

footer a:hover {
  color: #E14661;
  text-decoration: none;
}

/* ================================================================
   パスポート公開スケジュール専用スタイル
   ================================================================ */

/* パスポート公開スケジュール専用スタイル */

.passport-public-schedule-content {
  text-align: center;
  margin-bottom: 2rem;
}

/* パスポートブロック全体のマージン */

.passport-block {
  margin-bottom: 2rem;
}

.passport-public-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #E14661;
  text-align: center;
}

.passport-schedule-period {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.schedule-period-item {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.period-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.4;
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.period-title .period-label {
  background-color: #6b7280;
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.period-title .period-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.period-title .period-date {
  font-weight: bold;
}

.period-title .period-time {
  color: #666;
  font-size: 0.95rem;
}

.period-areas {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* レスポンシブ対応 */

@media (max-width: 768px) {
  .passport-schedule-period {
    flex-direction: column;
    gap: 1.5rem;
  }

  .schedule-period-item {
    min-width: auto;
    max-width: none;
  }

  .passport-public-title {
    font-size: 1.5rem;
  }

  .period-title {
    font-size: 1.1rem;
  }

  /* SPでの改行対応 */

  .passport-public-title {
    word-break: break-all;
  }

  .period-title {
    word-break: break-all;
  }

  /* SPでのパスポート公開タイトルの改行 */

  .passport-public-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* SPでの期間表示の調整 */

  .period-title {
    flex-direction: column;
    gap: 0.5rem;
  }

  .period-title .period-label {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .passport-public-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .period-title {
    font-size: 1rem;
  }

  /* 480px以下での改行対応 */

  .passport-public-title {
    word-break: break-all;
  }

  .period-title {
    word-break: break-all;
  }

  /* 480px以下でのパスポート公開タイトルの改行 */

  .passport-public-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* 480px以下での期間表示の調整 */

  .period-title {
    flex-direction: column;
    gap: 0.5rem;
  }

  .period-title .period-label {
    align-self: flex-start;
  }
}

.hover\:text-primary-dark:hover {
  color: var(--color-red-700);
}

.last\:border-b-0:last-child {
  border-bottom-width: 0px;
}

.hover\:bg-blue-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-300:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-400:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}

.hover\:bg-green-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}

.hover\:bg-red-50:hover {
  background-color: var(--color-red-50);
}

.hover\:bg-red-700:hover {
  background-color: var(--color-red-700);
}

.hover\:bg-opacity-60:hover {
  --tw-bg-opacity: 0.6;
}

.hover\:text-accent-red:hover {
  --tw-text-opacity: 1;
  color: rgb(225 70 97 / var(--tw-text-opacity, 1));
}

.hover\:text-black:hover {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}

.hover\:text-blue-800:hover {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
}

.hover\:text-gray-300:hover {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.hover\:text-gray-900:hover {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.hover\:text-red-600:hover {
  color: var(--color-red-600);
}

.hover\:text-red-800:hover {
  color: var(--color-red-800);
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.hover\:shadow-md:hover {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus\:border-red-500:focus {
  border-color: var(--color-red-500);
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-red-500:focus {
  --tw-ring-color: var(--color-red-500);
}

.group:hover .group-hover\:scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:bg-opacity-70 {
  --tw-bg-opacity: 0.7;
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

@media (min-width: 640px) {
  .sm\:mr-2 {
    margin-right: 0.5rem;
  }

  .sm\:h-5 {
    height: 1.25rem;
  }

  .sm\:h-72 {
    height: 18rem;
  }

  .sm\:w-5 {
    width: 1.25rem;
  }

  .sm\:w-auto {
    width: auto;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }

  .sm\:gap-2 {
    gap: 0.5rem;
  }

  .sm\:gap-4 {
    gap: 1rem;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .sm\:pb-6 {
    padding-bottom: 1.5rem;
  }

  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

@media (min-width: 768px) {
  .md\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .md\:mb-12 {
    margin-bottom: 3rem;
  }

  .md\:mb-16 {
    margin-bottom: 4rem;
  }

  .md\:mb-3 {
    margin-bottom: 0.75rem;
  }

  .md\:mb-32 {
    margin-bottom: 8rem;
  }

  .md\:mb-4 {
    margin-bottom: 1rem;
  }

  .md\:mb-6 {
    margin-bottom: 1.5rem;
  }

  .md\:mb-7 {
    margin-bottom: 1.75rem;
  }

  .md\:mb-8 {
    margin-bottom: 2rem;
  }

  .md\:mr-3 {
    margin-right: 0.75rem;
  }

  .md\:mt-0 {
    margin-top: 0px;
  }

  .md\:mt-4 {
    margin-top: 1rem;
  }

  .md\:mt-\[130px\] {
    margin-top: 130px;
  }

  .md\:mt-\[150px\] {
    margin-top: 150px;
  }

  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:h-5 {
    height: 1.25rem;
  }

  .md\:h-6 {
    height: 1.5rem;
  }

  .md\:h-80 {
    height: 20rem;
  }

  .md\:h-\[45px\] {
    height: 45px;
  }

  .md\:h-auto {
    height: auto;
  }

  .md\:w-3\/5 {
    width: 60%;
  }

  .md\:w-5 {
    width: 1.25rem;
  }

  .md\:w-6 {
    width: 1.5rem;
  }

  .md\:w-\[250px\] {
    width: 250px;
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:w-full {
    width: 100%;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:gap-3 {
    gap: 0.75rem;
  }

  .md\:gap-4 {
    gap: 1rem;
  }

  .md\:gap-6 {
    gap: 1.5rem;
  }

  .md\:gap-8 {
    gap: 2rem;
  }

  .md\:gap-x-6 {
    -moz-column-gap: 1.5rem;
         column-gap: 1.5rem;
  }

  .md\:space-y-8 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(2rem * var(--tw-space-y-reverse));
  }

  .md\:p-6 {
    padding: 1.5rem;
  }

  .md\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .md\:px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .md\:px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .md\:py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .md\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .md\:pb-8 {
    padding-bottom: 2rem;
  }

  .md\:pt-2 {
    padding-top: 0.5rem;
  }

  .md\:pt-8 {
    padding-top: 2rem;
  }

  .md\:text-2xl {
    font-size: 24px;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .md\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .md\:text-xl {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .lg\:sticky {
    position: sticky;
  }

  .lg\:top-0 {
    top: 0px;
  }

  .lg\:order-1 {
    order: 1;
  }

  .lg\:order-2 {
    order: 2;
  }

  .lg\:mb-0 {
    margin-bottom: 0px;
  }

  .lg\:mb-3 {
    margin-bottom: 0.75rem;
  }

  .lg\:mb-6 {
    margin-bottom: 1.5rem;
  }

  .lg\:mb-8 {
    margin-bottom: 2rem;
  }

  .lg\:mr-4 {
    margin-right: 1rem;
  }

  .lg\:mr-8 {
    margin-right: 2rem;
  }

  .lg\:mt-0 {
    margin-top: 0px;
  }

  .lg\:mt-6 {
    margin-top: 1.5rem;
  }

  .lg\:mt-8 {
    margin-top: 2rem;
  }

  .lg\:block {
    display: block;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:h-16 {
    height: 4rem;
  }

  .lg\:h-20 {
    height: 5rem;
  }

  .lg\:h-32 {
    height: 8rem;
  }

  .lg\:h-6 {
    height: 1.5rem;
  }

  .lg\:w-1\/2 {
    width: 50%;
  }

  .lg\:w-1\/4 {
    width: 25%;
  }

  .lg\:w-2\/3 {
    width: 66.666667%;
  }

  .lg\:w-20 {
    width: 5rem;
  }

  .lg\:w-3\/4 {
    width: 75%;
  }

  .lg\:w-32 {
    width: 8rem;
  }

  .lg\:w-40 {
    width: 10rem;
  }

  .lg\:w-6 {
    width: 1.5rem;
  }

  .lg\:w-80 {
    width: 20rem;
  }

  .lg\:flex-1 {
    flex: 1 1 0%;
  }

  .lg\:flex-shrink-0 {
    flex-shrink: 0;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:flex-wrap {
    flex-wrap: wrap;
  }

  .lg\:items-start {
    align-items: flex-start;
  }

  .lg\:items-center {
    align-items: center;
  }

  .lg\:justify-start {
    justify-content: flex-start;
  }

  .lg\:justify-between {
    justify-content: space-between;
  }

  .lg\:gap-12 {
    gap: 3rem;
  }

  .lg\:gap-2 {
    gap: 0.5rem;
  }

  .lg\:gap-6 {
    gap: 1.5rem;
  }

  .lg\:self-start {
    align-self: flex-start;
  }

  .lg\:px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .lg\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .lg\:pr-\[10\%\] {
    padding-right: 10%;
  }

  .lg\:text-left {
    text-align: left;
  }

  .lg\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .lg\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .xl\:p-8 {
    padding: 2rem;
  }

  .xl\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .xl\:text-2xl {
    font-size: 24px;
  }

  .xl\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}