@charset "UTF-8";
/* 低い詳細度での初期化（:where は specificity 0） */
:where(*, *::before, *::after) {
  box-sizing: border-box;
}

/* 画像・メディアはコンテナに収まる */
:where(img, video, canvas, svg, picture) {
  display: block;
  max-width: 100%;
  height: auto;
}

/* body の基本（柔らかい背景と読みやすい行間） */
:where(html) {
  hanging-punctuation: first last;
  text-rendering: optimizeLegibility;
}

:where(body) {
  margin: 0;
  color: #1f2a37;
  background: #FFFEFB;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 見出し */
:where(h1, h2, h3, h4, h5, h6) {
  margin: 0 0 0.6em;
  line-height: 1.25;
}

/* 段落・リスト */
:where(p, ul, ol, dl, blockquote, pre, figure) {
  margin: 0 0 1em;
}

:where(ul, ol) {
  padding-inline-start: 1.25em;
}

/* リンク */
:where(a) {
  color: inherit;
  text-decoration: none;
}

:where(a:hover) {
  text-decoration: none;
}

/* ボタン・フォーム */
:where(button, input, select, textarea) {
  font: inherit;
  color: inherit;
  background: #ffffff;
  border: 1px solid #64748b;
  border-radius: 10px;
  padding: 0.55em 0.7em;
}

:where(textarea) {
  resize: vertical;
}

/* フォーカスリング */
:where(:focus-visible) {
  outline: none;
  box-shadow: 0 0 0 3px rgba(120, 197, 182, 0.3);
}

/* テーブル */
:where(table) {
  border-collapse: collapse;
  width: 100%;
}

:where(th, td) {
  padding: 0.6em 0.8em;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

/* 引用 */
:where(blockquote) {
  padding: 0.8em 1em;
  border-left: 4px solid #78C5B6;
  background: #F6FAF9;
  color: #1f2a37;
  border-radius: 10px;
}

/* details/summary */
:where(details) {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.6em 0.8em;
}

:where(summary) {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

:where(summary::-webkit-details-marker) {
  display: none;
}

/* アニメーションは好みを尊重 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn--sm {
  height: 30px;
  font-size: 0.8rem;
  padding: 0 10px;
}
.btn--primary {
  background: #78C5B6;
  color: #fff;
}
.btn--primary:hover {
  background: rgb(102.1632124352, 189.3367875648, 172.3549222798);
}
.btn--ghost {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #273449;
}
.btn--ghost:hover {
  background: #F6FAF9;
}
.btn--danger-outline {
  background: transparent;
  border: 1px solid #E46A6A;
  color: #E46A6A;
}
.btn--danger-outline:hover {
  background: rgba(228, 106, 106, 0.1);
}
.btn--success {
  background: #4CAF93;
  color: #fff;
}
.btn--edit {
  background: #78C5B6;
  color: #fff;
  border: none;
}
.btn--edit:hover {
  background: rgb(102.1632124352, 189.3367875648, 172.3549222798);
}
.btn--delete {
  border: 1px solid #E46A6A;
  color: #E46A6A;
  background: transparent;
}
.btn--delete:hover {
  background: rgba(228, 106, 106, 0.1);
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  transition: box-shadow 0.2s ease;
}
.card:hover {
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.card .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2a37;
}
.card .card-meta {
  font-size: 0.85rem;
  color: #3b4759;
}

.status-label {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 9999px;
  line-height: 1.3;
}
.status-label--success {
  background: rgba(76, 175, 147, 0.1);
  color: #4CAF93;
}
.status-label--danger {
  background: rgba(228, 106, 106, 0.1);
  color: #E46A6A;
}
.status-label--warning {
  background: rgba(255, 198, 107, 0.1);
  color: #FFC66B;
}
.status-label--info {
  background: rgba(120, 197, 182, 0.1);
  color: #78C5B6;
}

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1f2a37;
  background: #FFFEFB;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1f2a37;
  margin: 0 0 24px;
}

h1 {
  font-size: clamp(20px, 2.6vw, 36px);
}

h2 {
  font-size: clamp(18px, 2vw, 26px);
}

h3 {
  font-size: clamp(16px, 1.6vw, 24px);
}

.lead {
  font-size: 18px;
  color: #334155;
}

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
  max-width: 960px;
  word-break: break-all;
}

.section {
  padding-block: 48px;
}
.section--soft {
  background: #F6FAF9;
}
.section--tight {
  padding-block: 32px;
}

.divider {
  height: 1px;
  background: #e2e8f0;
  margin: 24px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--primary,
.btn-primary {
  background: #78C5B6;
  color: #fff;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
.btn--primary:hover,
.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.btn--primary:focus,
.btn-primary:focus {
  outline: 3px solid rgba(120, 197, 182, 0.25);
}

.btn-small {
  width: 300px;
}

.btn--accent,
.btn-accent {
  background: #F7B7A3;
  color: #fff;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
.btn--accent:hover,
.btn-accent:hover {
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}

.btn-consumer,
.btn-business {
  color: #fff;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
.btn-consumer:hover,
.btn-business:hover {
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}

.btn-consumer {
  background: #3B7A57;
}

.btn-business {
  background: #1E3A8A;
}

.btn--ghost,
.btn-ghost {
  background: #fff;
  color: #1f2a37;
  border-color: #cbd5e1;
}
.btn--ghost:hover,
.btn-ghost:hover {
  background: #F6FAF9;
}

.btn--line,
.btn-line {
  background: #06C755;
  color: #fff;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
.btn--line:hover,
.btn-line:hover {
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}

.btn--sm,
.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn--lg,
.btn-lg {
  padding: 16px 24px;
  font-size: 18px;
  border-radius: 24px;
}

.short_line {
  width: 50%;
  margin: 0px auto;
  border: none;
  border-top: 1px solid #e9ecef;
}

.hidden {
  display: none !important;
}

.sns-icon {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 6px;
}

.hr-deco {
  margin: 30px 20px;
}

.read-more {
  position: relative;
}
.read-more .read-more-content {
  position: relative;
  max-height: 200px;
  margin-bottom: 0;
  overflow: hidden;
  transition: max-height 1s;
}
.read-more.is-overflow .read-more-content::after {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 60%, #ffffff 100%);
  content: "";
}
.read-more:has(input:checked) .read-more-content {
  max-height: none;
}
.read-more:has(input:checked) .read-more-content::after {
  content: none;
}
.read-more:has(input:checked) label {
  display: none !important;
}
.read-more label {
  display: none;
  align-items: center;
  gap: 0 4px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #1d4ed8;
  font-size: 0.8em;
  font-weight: 500;
}
.read-more label:hover {
  color: #2563eb;
  text-decoration: underline;
  cursor: pointer;
}
.read-more label::after {
  display: inline-block;
  width: 10px;
  height: 5px;
  background-color: #94a3b8;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
}
.read-more input {
  display: none;
}
.read-more.is-overflow label {
  display: flex;
}

.pref-block {
  margin-bottom: 24px;
  box-sizing: border-box;
}
.pref-block .pref-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 14px;
}
.pref-block .city-list {
  color: #555;
  padding-left: 12px;
  font-size: 12px;
  box-sizing: border-box;
}

@media (max-width: 639px) {
  .more_btn .btn {
    width: 100%;
  }
}

ul {
  list-style: none;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
  border-left: 4px solid #333;
  padding-left: 8px;
}
.section-title .btn--copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.section-title .btn--copy:active {
  transform: translateY(1px);
}
.section-title .btn--copy:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.section-title .btn--copy {
  background-color: rgba(123, 182, 240, 0.15);
  color: #1d4ed8;
  border: 1px solid rgba(123, 182, 240, 0.35);
}
.section-title .btn--copy:hover {
  background-color: rgba(123, 182, 240, 0.25);
  border-color: rgba(123, 182, 240, 0.55);
}

.center {
  text-align: center;
  margin: auto;
  display: block;
}

/* ActionText 画像のファイル名・サイズを非表示 */
.attachment__caption,
.attachment__name {
  display: none;
}

/* このファイル内で使うフォーム用トークン */
/* -------- ページ背景（新規登録/ログインなど） -------- */
.auth-page {
  background: #F6FAF9;
  padding: 24px 0;
}
.auth-page .auth-card {
  max-width: 560px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  padding: 24px;
}
.auth-page .auth-title {
  margin: 0 0 12px;
  color: #1f2a37;
  font-weight: 700;
}
.auth-page .auth-desc {
  margin: 0 0 16px;
  color: #64748b;
}

/* -------- フォーム一式 -------- */
.form {
  color: #1f2a37;
}
.form__group {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.form__label {
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}
.form {
  /* 単一行コントロール */
}
.form__control,
.form input[type=text],
.form input[type=email],
.form input[type=password],
.form input[type=number],
.form input[type=tel],
.form select,
.form textarea {
  display: block;
  width: 100%;
  background: #fff;
  color: #1f2a37;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 14px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.form__control:focus,
.form input[type=text]:focus,
.form input[type=email]:focus,
.form input[type=password]:focus,
.form input[type=number]:focus,
.form input[type=tel]:focus,
.form select:focus,
.form textarea:focus {
  outline: 0;
  border-color: #78C5B6;
  box-shadow: 0 0 0 3px rgba(120, 197, 182, 0.2);
}
.form__control::placeholder,
.form input[type=text]::placeholder,
.form input[type=email]::placeholder,
.form input[type=password]::placeholder,
.form input[type=number]::placeholder,
.form input[type=tel]::placeholder,
.form select::placeholder,
.form textarea::placeholder {
  color: #64748b;
}
.form textarea.form__control,
.form textarea {
  min-height: 120px;
  resize: vertical;
}
.form {
  /* チェックボックス行 */
}
.form__check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.form__check-input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #78C5B6;
}
.form__check-label {
  color: #1f2a37;
}
.form__check-label a {
  color: #78C5B6;
  text-decoration: underline;
}
.form {
  /* 補助テキスト */
}
.form__hint {
  font-size: 12px;
  color: #64748b;
}
.form {
  /* エラー境界 */
}
.form__error input, .form__error select, .form__error textarea,
.form .field_with_errors input,
.form .field_with_errors select,
.form .field_with_errors textarea {
  border-color: #E46A6A;
}
.form {
  /* エラーメッセージボックス */
}
.form .error-messages,
.form .alert-error,
.form .devise-error-messages {
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(228, 106, 106, 0.4);
  background: rgba(228, 106, 106, 0.12);
  color: #CC5050; /* 固定の暗め赤 */
  border-radius: 10px;
}
.form .error-messages ul,
.form .alert-error ul,
.form .devise-error-messages ul {
  margin: 6px 0 0 1.2em;
}
.form {
  /* 送信ボタンブロック */
}
.form__actions {
  margin-top: 12px;
}
.form__actions .btn {
  min-width: 180px;
}

/* 入力幅ユーティリティ */
.form-w-sm {
  max-width: 360px;
}

.form-w-md {
  max-width: 480px;
}

.form-w-lg {
  max-width: 640px;
}

/* -------- シンプルな共通フォーム -------- */
.form-container {
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
.form-container.creator-form-container {
  max-width: 640px;
}
@media (max-width: 639px) {
  .form-container.creator-form-container {
    width: calc(100% + 32px);
    max-width: none;
    margin-inline: -16px;
    padding: 18px 16px calc(96px + env(safe-area-inset-bottom));
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 639px) {
  .creator-form-container .form-card {
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
}
@media (max-width: 639px) {
  .creator-form-container .form-title {
    margin-bottom: 18px;
    font-size: 22px;
    line-height: 1.35;
    text-align: left;
  }
  .creator-form-container .form-group {
    margin-bottom: 18px;
  }
  .creator-form-container .form-label {
    margin-bottom: 8px;
    color: #273449;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
  }
  .creator-form-container .form-input,
  .creator-form-container .form-textarea,
  .creator-form-container select {
    min-height: 48px;
    padding: 13px 14px;
    border-color: #e2e8f0;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    line-height: 1.45;
  }
  .creator-form-container input[type=date].form-input {
    min-height: 48px;
    font-size: 16px;
  }
  .creator-form-container .form-help,
  .creator-form-container .form-note,
  .creator-form-container .form-txt {
    color: #475569;
    font-size: 12px;
    line-height: 1.55;
  }
  .creator-form-container .tag-group {
    gap: 8px;
  }
  .creator-form-container .tag-label {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-color: #e2e8f0;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
  }
  .creator-form-container .prefecture-block {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e9ecef;
  }
  .creator-form-container .prefecture-name {
    font-size: 15px;
  }
  .creator-form-container .select-all-tag {
    min-height: 30px;
    border: none;
    border-radius: 9999px;
    background: #78C5B6;
    font-weight: 800;
  }
  .creator-form-container .duration-inputs {
    gap: 8px;
  }
  .creator-form-container .duration-field {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
  .creator-form-container .form-footer {
    margin-top: 18px;
    padding-bottom: 8px;
    font-size: 13px;
    line-height: 1.9;
  }
  .creator-form-container .form-footer a {
    font-weight: 800;
  }
  .creator-form-container .form__actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }
  .creator-form-container .form__actions .btn,
  .creator-form-container .form__actions input[type=submit],
  .creator-form-container .form__actions button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 800;
  }
  .creator-form-container .form__actions .btn--ghost,
  .creator-form-container .form__actions .btn--secondary {
    border-color: #d3dfdc;
    background: #eef5f3;
    color: #1f2a37;
    box-shadow: none;
  }
  .creator-form-container .form__actions .btn--ghost:hover,
  .creator-form-container .form__actions .btn--secondary:hover {
    border-color: #c4d4d0;
    background: #e5efec;
  }
  .creator-form-container .image-previews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .creator-form-container .image-previews .preview-item,
  .creator-form-container .image-previews .image-preview-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 12px;
    box-shadow: none;
  }
  .creator-form-container .image-previews .image-thumb,
  .creator-form-container .preview-item .image-thumb,
  .creator-form-container .single-preview .image-thumb {
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px;
  }
  .creator-form-container > .form-group > .image-thumb,
  .creator-form-container > form .form-group > .image-thumb {
    width: 112px !important;
    height: 112px !important;
    border-radius: 14px;
    box-shadow: none;
  }
  .creator-form-container .remove-btn {
    top: 5px;
    right: 5px;
    width: 26px;
    height: 26px;
    line-height: 26px;
  }
}

.form-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: #1f2a37;
}

.form-group {
  margin-bottom: 30px;
  font-size: 14px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.form-input,
.form-textarea {
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding: 10px 16px;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
  background: #ffffff;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #78C5B6;
  box-shadow: 0 0 0 2px rgba(120, 197, 182, 0.15);
}

.form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-label {
  font-weight: 600;
  color: #273449;
}

.form-help {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 8px;
}

.form-input,
select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  color: #1f2a37;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; /* ✅ iOSでの高さずれ防止 */
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
}
.form-input:focus,
select:focus {
  border-color: #78C5B6;
  box-shadow: 0 0 0 3px rgba(120, 197, 182, 0.2);
  outline: none;
}

input[type=date].form-input {
  /* ✅ Safariで文字が小さくなる問題を防止 */
  line-height: 1.4;
  padding: 12px 14px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 20px;
}
.form-checkbox input {
  margin-right: 8px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #78C5B6;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.form-submit:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.form-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #475569;
}
.form-footer a {
  color: #78C5B6;
  text-decoration: none;
}
.form-footer a:hover {
  text-decoration: underline;
}

.btn-link.header-link {
  background: none;
  border: none;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s;
}
.btn-link.header-link:hover {
  background: #F6FAF9;
}

.form__check-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form__check-inline .form__check-input {
  margin: 0;
}

.required-mark {
  color: #E46A6A;
  font-size: 12px;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Tag Style Checkboxes ---------- */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-check {
  display: none;
}

.tag-label {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tag-label:hover {
  background: #F6FAF9;
}

.tag-check:checked + .tag-label {
  background: #78C5B6;
  border-color: #78C5B6;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}

/* ---------- Prefecture Block ---------- */
.prefecture-block {
  margin-bottom: 24px;
}
.prefecture-block .prefecture-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.prefecture-block .prefecture-header .prefecture-name {
  font-weight: 600;
  font-size: 16px;
}
.prefecture-block .prefecture-header .select-all-tag {
  font-size: 12px;
  color: #fff;
  background: #007bff;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
}
.prefecture-block .prefecture-header .select-all-tag:hover {
  opacity: 0.9;
}
.prefecture-block .tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Suggestions (autocomplete) ---------- */
.suggestions-box {
  display: none;
  position: absolute;
  width: 100%;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0 0 10px 10px;
  z-index: 1000;
  left: 0;
}

.suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
}
.suggestion-item:hover {
  background: #F6FAF9;
}

.duration-inputs {
  display: flex;
  align-items: center;
  gap: 12px;
}
.duration-inputs .duration-field {
  width: 80px;
}
.duration-inputs .label {
  font-size: 14px;
  color: #475569;
}

/* jQuery UI autocomplete の候補リスト */
.ui-autocomplete {
  display: block !important;
  position: absolute !important;
  min-width: 200px; /* 小さすぎ防止 */
  max-width: 400px; /* 横に広がりすぎ防止 */
  width: auto !important; /* 入力欄にフィットさせる */
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  z-index: 2000;
  box-sizing: border-box;
}

.ui-menu-item {
  padding: 10px 14px;
  cursor: pointer;
  color: #1f2a37;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.ui-menu-item:hover {
  background-color: #F6FAF9;
  color: #78C5B6;
}

/* 選択時の青色をブランドカラーに */
.ui-state-active {
  background: #78C5B6 !important;
  color: #fff !important;
  border: none !important;
}

/* =============================
  共通プレビュー領域スタイル
   ============================= */
.image-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.image-previews .preview-item,
.image-previews .image-preview-item {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  background: #fff;
}
.image-previews .preview-item img.image-thumb,
.image-previews .image-preview-item img.image-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.image-previews .preview-item img.image-thumb:hover,
.image-previews .image-preview-item img.image-thumb:hover {
  transform: scale(1.05);
}
.image-previews .preview-item img.image-thumb.empty,
.image-previews .image-preview-item img.image-thumb.empty {
  opacity: 0.5;
  object-fit: contain;
}
.image-previews .preview-item,
.image-previews .image-preview-item {
  /* 削除ボタン（現時点では非アクティブでも保留） */
}
.image-previews .preview-item .image-delete-btn,
.image-previews .image-preview-item .image-delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #E46A6A;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.image-previews .preview-item .image-delete-btn:hover,
.image-previews .image-preview-item .image-delete-btn:hover {
  opacity: 1;
  transform: scale(1.05);
}
.image-previews .preview-item .image-delete-btn:active,
.image-previews .image-preview-item .image-delete-btn:active {
  transform: scale(0.95);
}

/* =============================
  単一プレビュー用の統一サイズ
   ============================= */
.single-preview {
  display: inline-block;
  width: 100px;
  height: 100px;
  margin-top: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
.single-preview img.image-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-thumb {
  width: 100px !important;
  height: 100px !important;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  display: block;
  background-color: #fff;
}

.form-note {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #3b4759;
}

.form-checkbox a {
  color: #1d4ed8;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.form-checkbox a:hover {
  color: #2563eb;
}

/* ギャラリー画像のコンテナ */
.image-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 各画像の枠 */
.preview-item {
  position: relative;
  width: 120px;
  height: 120px;
}

/* サムネイル画像 */
.image-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ★削除ボタンを画像の内側に配置（見切れ防止） */
.remove-btn {
  position: absolute;
  top: 6px; /* ← 内側に移動 */
  right: 6px; /* ← 内側に移動 */
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  border: none;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
}

.remove-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.new_text {
  font-size: 14px;
}
@media (max-width: 639px) {
  .new_text {
    font-size: 14px;
  }
}

.form-txt {
  color: #475569;
  padding-bottom: 4px;
}

/* =========================================
   ヘッダー
========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  z-index: 1000;
}
.site-header .header-container {
  max-width: 960px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
@media (max-width: 639px) {
  .site-header .header-container {
    position: relative;
    padding: 0 16px;
  }
}
.site-header .header-left .site-logo {
  height: 40px;
  display: block;
}
@media (max-width: 639px) {
  .site-header .header-left .site-logo {
    width: 142px;
    height: auto;
  }
}
.site-header .header-right {
  display: flex;
  align-items: center;
}
.site-header .header-right .menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 2001;
}
.site-header .header-right .menu-toggle span {
  height: 3px;
  background: #1f2a37;
  border-radius: 2px;
  transition: all 0.3s;
}

/* 固定ヘッダー分の余白 */
body {
  padding-top: 64px;
}

/* =========================================
   サイドメニュー全体
========================================= */
/* 背景の黒半透明 */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 900;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* 右側白パネル */
.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 330px;
  height: 100vh;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  visibility: hidden;
  pointer-events: none;
  z-index: 2000;
  padding: 32px;
  overflow-y: auto;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.12);
}
@media (max-width: 639px) {
  .menu-panel {
    width: 260px;
  }
}

.menu-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* =========================================
   メニュー内部
========================================= */
.menu-inner {
  padding-bottom: 40px;
}

.menu-section {
  margin-bottom: 32px;
}
.menu-section .menu-title {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 16px;
}
.menu-section .header-text {
  font-size: 12px;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.6;
}
.menu-section .header-link {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: #273449;
  text-decoration: none;
  border-radius: 10px;
}
.menu-section .header-link:hover {
  background: #F6FAF9;
}

/* セクションの境界線 */
.menu-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 24px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* header-center を廃止し、header-actions に変更 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px; /* 余白を統一 */
  margin-left: auto; /* ロゴから右側へ寄せる */
}
@media (max-width: 639px) {
  .header-actions {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 148px;
    justify-content: flex-end;
    gap: 10px;
  }
}

/* header-cta はそのままでOK */
.header-cta {
  display: inline-block;
  padding: 6px 16px;
  background: #fff;
  color: #273449;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: solid 1px #273449;
}
@media (max-width: 639px) {
  .header-cta {
    padding: 4px 10px;
    font-size: 11px;
    flex: 0 1 auto;
    white-space: nowrap;
  }
}

/* 三本線のスタイル調整 */
.menu-toggle {
  cursor: pointer;
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu-toggle span {
  height: 3px;
  background: #1f2a37;
  border-radius: 2px;
}
@media (max-width: 639px) {
  .menu-toggle {
    width: 28px;
    flex: 0 0 28px;
  }
}

/* ホバー背景を完全に無効化 */
.header-link:hover {
  background: none !important;
}

/* セクションタイトルのアイコン */
.icon-title {
  vertical-align: middle;
  margin-right: 6px;
  color: #334155;
}

/* セクションタイトル */
.menu-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 16px;
}

/* セクション区切り線 */
.menu-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 24px 0;
}

/* リンク（ホバーの背景なし） */
.header-link {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: #273449;
  text-decoration: none;
  border-radius: 10px;
}

.is-unfixed {
  display: none !important;
}

.breadcrumb-wrapper {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  padding: 10px 20px;
  /* 横スクロール対応 */
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.breadcrumb {
  color: #1f2a37;
  font-size: 14px;
  /* 中央寄せしつつ、内容幅は保持 */
  max-width: 960px;
  margin: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-width: max-content;
}
.breadcrumb a,
.breadcrumb span {
  color: #1f2a37;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* スクロールバーを目立たせない（任意・そのまま使ってOK） */
.breadcrumb-wrapper::-webkit-scrollbar {
  height: 4px;
}

.breadcrumb-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.breadcrumb-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 9999px;
}

.site-footer {
  background-color: #313030;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.8;
  width: 100%;
}
.site-footer a {
  color: #ffffff;
  text-decoration: none;
}
.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.site-footer .footer-top {
  padding: 48px 0;
}
.site-footer .footer-top .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(220px, 0.7fr);
  justify-content: stretch;
  align-items: flex-start;
  gap: 64px;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 639px) {
  .site-footer .footer-top .footer-grid {
    display: block;
    width: 100%;
    padding: 0;
  }
}
.site-footer .footer-top .footer-grid .footer-column {
  min-width: 0;
}
@media (max-width: 639px) {
  .site-footer .footer-top .footer-grid .footer-column {
    max-width: 100%;
    padding: 0 30px;
  }
}
.site-footer .footer-top .footer-grid .footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
  text-align: left;
}
.site-footer .footer-top .footer-grid .footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-top .footer-grid .footer-column ul li {
  margin-bottom: 6px;
  color: #cccccc;
}

.footer-bottom {
  background-color: #313030;
  padding: 48px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-bottom .footer-line {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 24px;
}
.footer-bottom .footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom .footer-bottom-inner .footer-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}
.footer-bottom .footer-bottom-inner .footer-logo-box .footer-logo-img {
  width: 200px;
  height: auto;
  margin-bottom: 16px;
}
.footer-bottom .footer-bottom-inner .footer-logo-box p {
  font-size: 13px;
  color: #cccccc;
  margin: 0;
  font-weight: 500;
}
.footer-bottom .footer-bottom-inner .footer-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-bottom .footer-bottom-inner .footer-links ul li {
  font-size: 13px;
  color: #cccccc;
}
.footer-bottom .footer-bottom-inner .footer-copy {
  font-size: 12px;
  color: #cccccc;
  margin-top: 16px;
}
@media (max-width: 639px) {
  .footer-bottom .footer-logo-box .footer-logo-img {
    width: 140px;
  }
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-top: 8px;
  margin-bottom: 4px;
}

.footer-column ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  width: auto;
  white-space: nowrap;
}

.footer-column--about ul {
  display: grid;
  gap: 6px;
}

.footer-column--about ul li {
  width: 100%;
}

.footer-column--about form {
  display: block;
  margin: 0;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.footer-column ul li a:hover {
  text-decoration: underline;
}

:where(button) {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* ==============================
   基本アイコン設定
============================== */
.icon {
  vertical-align: middle;
  margin-right: 6px;
  stroke-width: 2;
}

/* ------------------------------
   アイコンテーマ
------------------------------ */
.icon-consumer {
  color: #3B7A57;
}

.icon-business {
  color: #1E3A8A;
}

/* ------------------------------
   タブボタン（旧デザイン共存用）
------------------------------ */
.tab-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.tab-btn:active {
  transform: translateY(1px);
}
.tab-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.tab-btn {
  border-radius: 24px;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.tab-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  transition: stroke 0.2s ease;
}
.tab-btn {
  /* --- 個人向け --- */
}
.tab-btn.consumer {
  border: 2px solid #3B7A57;
  color: #3B7A57;
  background: #fff;
}
.tab-btn.consumer svg {
  color: #3B7A57;
}
.tab-btn.consumer.active {
  background: #3B7A57;
  color: #fff;
}
.tab-btn.consumer.active svg {
  color: #fff;
}
.tab-btn.consumer:hover {
  background: rgba(59, 122, 87, 0.08);
}
.tab-btn {
  /* --- 法人向け --- */
}
.tab-btn.business {
  border: 2px solid #1E3A8A;
  color: #1E3A8A;
  background: #fff;
}
.tab-btn.business svg {
  color: #1E3A8A;
}
.tab-btn.business.active {
  background: #1E3A8A;
  color: #fff;
}
.tab-btn.business.active svg {
  color: #fff;
}
.tab-btn.business:hover {
  background: rgba(30, 58, 138, 0.08);
}

/* ------------------------------
   新規作成ボタン
------------------------------ */
.form__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.form__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.form__actions .btn:active {
  transform: translateY(1px);
}
.form__actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.form__actions .btn {
  font-weight: 600;
  font-size: 15px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.form__actions .btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.form__actions {
  /* --- 個人向けボタン --- */
}
.form__actions .btn-consumer {
  background-color: #3B7A57;
  color: #fff;
  border: 2px solid #3B7A57;
}
.form__actions .btn-consumer svg {
  color: #fff;
}
.form__actions .btn-consumer:hover {
  background-color: #336b4c;
}
.form__actions {
  /* --- 法人向けボタン --- */
}
.form__actions .btn-business {
  background-color: #1E3A8A;
  color: #fff;
  border: 2px solid #1E3A8A;
}
.form__actions .btn-business svg {
  color: #fff;
}
.form__actions .btn-business:hover {
  background-color: #182f6d;
}

/* ==============================
   アイコン整列＆共通設定
============================== */
.icon {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 2;
  flex-shrink: 0;
  position: relative;
}

/* ==============================
   メニューボタン整列
============================== */
.menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 24px;
  border: 1.5px solid #e2e8f0;
  color: #273449;
  background: #fff;
  transition: all 0.2s ease;
  text-decoration: none;
}
.menu-link svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.menu-link:hover {
  background: #F6FAF9;
}

/* ==============================
   タブボタン調整（個人・法人切替）
============================== */
.mypage-tab-switch {
  display: flex;
  gap: 12px;
  position: absolute;
  top: 16px;
  right: 16px;
}
.mypage-tab-switch .mypage-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 9999px;
  padding: 6px 14px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.mypage-tab-switch .mypage-tab-btn svg {
  width: 18px;
  height: 18px;
}
.mypage-tab-switch .mypage-tab-btn.consumer {
  color: #3B7A57;
  background: #fff;
  border-color: #3B7A57;
}
.mypage-tab-switch .mypage-tab-btn.consumer svg {
  color: #3B7A57;
}
.mypage-tab-switch .mypage-tab-btn.consumer.active {
  background: #3B7A57;
  color: #fff;
}
.mypage-tab-switch .mypage-tab-btn.consumer.active svg {
  color: #fff;
}
.mypage-tab-switch .mypage-tab-btn.consumer:hover {
  background: rgba(59, 122, 87, 0.08);
}
.mypage-tab-switch .mypage-tab-btn.business {
  color: #1E3A8A;
  background: #fff;
  border-color: #1E3A8A;
}
.mypage-tab-switch .mypage-tab-btn.business svg {
  color: #1E3A8A;
}
.mypage-tab-switch .mypage-tab-btn.business.active {
  background: #1E3A8A;
  color: #fff;
}
.mypage-tab-switch .mypage-tab-btn.business.active svg {
  color: #fff;
}
.mypage-tab-switch .mypage-tab-btn.business:hover {
  background: rgba(30, 58, 138, 0.08);
}

/* ==============================
   プロフィールアクションボタン整列
============================== */
.mypage-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.mypage-actions .mypage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9999px;
  border: none;
  text-decoration: none;
  transition: background 0.2s ease;
}
.mypage-actions .mypage-btn.edit {
  background-color: #3B7A57;
  color: #fff;
}
.mypage-actions .mypage-btn.edit:hover {
  background-color: #336b4c;
}
.mypage-actions .mypage-btn.view {
  background-color: #1E3A8A;
  color: #fff;
}
.mypage-actions .mypage-btn.view:hover {
  background-color: #182f6d;
}
.mypage-actions .mypage-btn svg {
  width: 16px;
  height: 16px;
}

/* ==============================
   ポイントリンクスタイル
============================== */
.point-breakdown {
  width: 100%;
  border-collapse: collapse;
}
.point-breakdown th, .point-breakdown td {
  padding: 6px 8px;
  font-size: 0.85rem;
  border-bottom: 1px solid #e2e8f0;
}
.point-breakdown td.right {
  text-align: right;
}
.point-breakdown .link-cell a.point-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  color: #1d4ed8;
  font-weight: 500;
}
.point-breakdown .link-cell a.point-link svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.point-breakdown .link-cell a.point-link:hover {
  color: #2563eb;
}

.static-page {
  background: #ffffff;
  padding: 64px 16px 48px;
  color: #334155;
  line-height: 1.75;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.static-page .container {
  max-width: 800px;
  margin: 0 auto;
}
.static-page .page-title {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  color: #1f2a37;
}
.static-page .lead {
  font-size: 18px;
  margin-bottom: 40px;
  color: #273449;
}
.static-page h2 {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 8px;
  border-left: 4px solid #78C5B6;
  padding-left: 16px;
  color: #1f2a37;
}
.static-page ul,
.static-page ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
  font-size: 15px;
  color: #334155;
}
.static-page ul li,
.static-page ol li {
  margin-bottom: 4px;
}
.static-page ol {
  list-style-type: decimal;
}
.static-page .footer {
  margin-top: 48px;
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
  text-align: right;
  font-size: 14px;
  color: #475569;
}
@media (max-width: 639px) {
  .static-page {
    padding: 48px 16px;
  }
  .static-page .page-title {
    font-size: 20px;
  }
  .static-page h2 {
    font-size: 18px;
    margin-top: 40px;
  }
  .static-page .lead {
    font-size: 15px;
  }
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.pagination-list {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-item .page-link {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #ffffff;
  color: #3b4759;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.page-item .page-link:hover {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.page-item.active .page-link {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
  cursor: default;
  font-weight: 600;
}
.page-item.gap .page-link {
  border: none;
  background: none;
  color: #64748b;
  cursor: default;
}

@media (max-width: 639px) {
  .pagination-list {
    flex-wrap: wrap;
    gap: 4px;
  }
  .page-item .page-link {
    padding: 6px 10px;
    font-size: 13px;
  }
}
/* ---------- Modal (汎用) ---------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* 背景を暗く */
  display: none; /* 初期は非表示 */
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal.active {
  display: flex; /* 表示時に中央配置 */
}
.modal .modal-content {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
  padding: 24px;
  max-width: 420px;
  width: 90%;
  height: auto;
  text-align: center;
  animation: fadeInScale 0.2s ease;
}
.modal .modal-content p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #1f2a37;
  font-weight: 600;
}
.modal .modal-content .modal-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.modal .modal-content .modal-buttons .btn {
  min-width: 100px;
}
.modal .modal-content .modal-buttons {
  /* 危険操作用（削除など） */
}
.modal .modal-content .modal-buttons .btn--danger {
  background-color: #E46A6A !important;
  color: #fff !important;
  border: none;
}
.modal .modal-content .modal-buttons {
  /* いいえボタンをゴーストに */
}
.modal .modal-content .modal-buttons .btn--ghost {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1f2a37;
}
.modal .modal-content .modal-buttons .btn--ghost:hover {
  background: #F6FAF9;
}

/* 表示時にふわっと出す */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.home-hero {
  position: relative;
  width: 100%;
  min-height: 660px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: #f9fbf8;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
}
@media (max-width: 639px) {
  .home-hero {
    min-height: 660px;
  }
}

.home-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 639px) {
  .home-hero__image {
    object-position: 56% center;
  }
}

.home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 254, 251, 0.98) 0%, rgba(255, 254, 251, 0.94) 30%, rgba(255, 254, 251, 0.64) 54%, rgba(255, 254, 251, 0.14) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.12) 42%, rgba(255, 254, 251, 0.72) 100%);
}
@media (max-width: 639px) {
  .home-hero__veil {
    background: linear-gradient(180deg, rgba(255, 254, 251, 0.92) 0%, rgba(255, 254, 251, 0.78) 34%, rgba(255, 254, 251, 0.32) 62%, rgba(255, 254, 251, 0.18) 82%, rgba(255, 254, 251, 0.58) 100%), linear-gradient(90deg, rgba(255, 254, 251, 0.9) 0%, rgba(255, 254, 251, 0.52) 50%, rgba(255, 254, 251, 0.16) 100%);
  }
}

.home-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1120px;
  min-height: 660px;
  margin-inline: auto;
  padding: 94px 24px 108px;
  display: flex;
  align-items: center;
}
@media (max-width: 639px) {
  .home-hero__inner {
    min-height: 660px;
    padding: 58px 16px 118px;
    align-items: flex-start;
  }
}

.home-hero__content {
  max-width: 660px;
  color: #1f2a37;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 18px;
  border: 1px solid rgba(120, 197, 182, 0.46);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgb(55.4155440415, 128.9844559585, 114.6528497409);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(28, 36, 43, 0.06);
}
@media (max-width: 639px) {
  .home-hero__eyebrow {
    min-height: 31px;
    margin-bottom: 18px;
    padding-inline: 14px;
    font-size: 12px;
  }
}

.home-hero__title {
  margin: 0;
  max-width: 660px;
  color: #1f2a37;
  font-size: clamp(42px, 5.3vw, 74px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow: 0 10px 32px rgba(255, 255, 255, 0.64);
}
@media (max-width: 639px) {
  .home-hero__title {
    font-size: 32px;
    line-height: 1.22;
  }
}
.home-hero__title span {
  display: block;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .home-hero__title span {
    white-space: normal;
  }
}

.home-hero__lead {
  margin: 28px 0 0;
  color: #3b4759;
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.75;
  text-shadow: 0 8px 24px rgba(255, 255, 255, 0.84);
}
@media (max-width: 639px) {
  .home-hero__lead {
    margin-top: 22px;
    max-width: 320px;
    font-size: 14px;
    line-height: 1.7;
  }
}

.home-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 42px;
}
.home-hero__badges span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.74);
  color: #334155;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 12px 26px rgba(28, 36, 43, 0.07);
}
.home-hero__badges span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #78C5B6;
  content: "";
  box-shadow: 0 0 0 4px rgba(120, 197, 182, 0.16);
}
@media (max-width: 639px) {
  .home-hero__badges {
    gap: 8px;
    margin-top: 28px;
  }
  .home-hero__badges span {
    min-height: 32px;
    padding-inline: 12px;
    font-size: 12px;
  }
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}
@media (max-width: 639px) {
  .home-hero__actions {
    gap: 12px;
    margin-top: 32px;
    justify-content: center;
  }
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 9999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.home-hero__btn:hover {
  transform: translateY(-2px);
}
@media (max-width: 639px) {
  .home-hero__btn {
    min-height: 46px;
    width: min(100%, 320px);
    flex: 0 1 min(100%, 320px);
    padding-inline: 16px;
    font-size: 15px;
    white-space: nowrap;
  }
}

.home-hero__btn--primary {
  background: rgb(72.274611399, 168.225388601, 149.5336787565);
  color: #fff;
  box-shadow: 0 18px 38px rgba(56, 132, 117, 0.22);
}
.home-hero__btn--primary:hover {
  background: rgb(64.6113989637, 150.3886010363, 133.6787564767);
}

.home-hero__btn--ghost {
  border: 1px solid rgba(203, 213, 225, 0.82);
  background: rgba(255, 255, 255, 0.88);
  color: #1f2a37;
  box-shadow: 0 14px 30px rgba(28, 36, 43, 0.08);
}
.home-hero__btn--ghost:hover {
  background: #fff;
  border-color: rgba(120, 197, 182, 0.46);
}

.home-search-section {
  position: relative;
  z-index: 4;
  margin-top: -54px;
  padding: 40px 0 56px;
}
@media (max-width: 639px) {
  .home-search-section {
    margin-top: -42px;
    padding-bottom: 40px;
  }
}
.home-search-section .hero__inner {
  max-width: 100%;
}
.home-search-section .hero__search {
  margin-top: 0;
}
.home-search-section .search-shell {
  border-radius: 30px;
  box-shadow: 0 26px 62px rgba(28, 36, 43, 0.12);
}
@media (max-width: 639px) {
  .home-search-section .search-shell {
    border-radius: 26px;
  }
}

.section.top-text {
  padding: 64px 0 56px;
  margin-top: 0;
}
@media (max-width: 639px) {
  .section.top-text {
    padding: 40px 0 48px;
  }
}

.top-text__content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 639px) {
  .top-text__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.top-text__copy h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 2.8vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .top-text__copy h2 {
    font-size: 25px;
    white-space: normal;
  }
}
.top-text__copy h2 span {
  display: block;
}
.top-text__copy p {
  max-width: 680px;
  margin: 0 0 16px;
  color: #3b4759;
  font-size: 16px;
  line-height: 1.95;
}
@media (max-width: 639px) {
  .top-text__copy p {
    font-size: 13px;
    line-height: 1.85;
  }
}
.top-text__copy .lead {
  color: #334155;
  font-weight: 700;
}

.top-text__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 639px) {
  .top-text__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.top-text-card {
  min-height: 176px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
.top-text-card h3 {
  margin: 8px 0 8px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}
.top-text-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 639px) {
  .top-text-card {
    min-height: 96px;
    padding: 16px 24px;
  }
  .top-text-card h3 {
    font-size: 17px;
  }
  .top-text-card p {
    font-size: 12px;
  }
}

.top-text-card--wide {
  grid-column: 1/-1;
  min-height: 118px;
}

.top-text-card__num {
  display: block;
  color: #1E3A8A;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.home-section {
  padding-block: 56px;
}
@media (max-width: 639px) {
  .home-section {
    padding-block: 40px;
  }
}

.home-section__heading {
  margin-bottom: 24px;
}
.home-section__heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}
.home-section__heading p {
  margin: 16px 0 0;
  color: #475569;
  font-weight: 600;
  line-height: 1.7;
}
@media (max-width: 639px) {
  .home-section__heading h2 {
    font-size: 25px;
  }
  .home-section__heading p {
    font-size: 13px;
  }
}

.home-section__heading--list {
  margin-top: 40px;
}

.home-audience-title {
  display: inline-flex;
  align-items: center;
  margin: 0 16px 16px 0;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.home-audience-title--personal {
  border: 1px solid rgba(59, 122, 87, 0.24);
  background: rgba(120, 197, 182, 0.14);
  color: #3B7A57;
}

.home-audience-title--corporate {
  border: 1px solid rgba(30, 58, 138, 0.22);
  background: rgba(123, 182, 240, 0.14);
  color: #1E3A8A;
}

.home-scenes .divider {
  margin: 40px 0;
}
.home-scenes .categories-grid {
  gap: 32px;
}
@media (max-width: 639px) {
  .home-scenes .categories-grid {
    gap: 16px;
  }
}
.home-scenes .category-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 36, 43, 0.06);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-scenes .category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.home-scenes .category-card .category-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}
.home-scenes .category-card .category-image {
  width: 100%;
  max-width: none;
  height: 132px;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
}
@media (max-width: 639px) {
  .home-scenes .category-card .category-image {
    height: 96px;
  }
}
.home-scenes .category-card .category-name {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #1f2a37;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}
@media (max-width: 639px) {
  .home-scenes .category-card .category-name {
    min-height: 50px;
    padding: 12px;
    font-size: 14px;
  }
}

.areas-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  padding: 32px;
  border-radius: 24px;
  background: #F6FAF9;
}
@media (max-width: 639px) {
  .areas-section {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-inline: -16px;
    padding: 16px;
    border-radius: 0;
  }
}
.areas-section .area-block {
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
}
@media (max-width: 639px) {
  .areas-section .area-block {
    padding: 16px;
  }
}
.areas-section .area-name {
  margin: 0 0 16px;
  padding: 0;
  border-left: 0;
  color: #1f2a37;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
}
.areas-section .prefecture-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.areas-section .pref-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #F6FAF9;
  color: #3b4759;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.areas-section .pref-link:hover {
  background: rgba(120, 197, 182, 0.18);
  color: rgb(64.6113989637, 150.3886010363, 133.6787564767);
  text-decoration: none;
}

.more_btn {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.more_btn .btn {
  min-width: min(100%, 320px);
  min-height: 58px;
  border-radius: 9999px;
  background: rgb(72.274611399, 168.225388601, 149.5336787565);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(28, 36, 43, 0.12);
}
.more_btn .btn:hover {
  background: rgb(64.6113989637, 150.3886010363, 133.6787564767);
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}

.search-shell {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(28, 36, 43, 0.07);
  padding: 32px;
}
@media (max-width: 639px) {
  .search-shell {
    padding: 16px;
    border-radius: 22px;
  }
}

.search-searches {
  display: grid;
  gap: 24px;
}

.search-panel {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
@media (max-width: 639px) {
  .search-panel {
    gap: 14px;
  }
}

.search-panel--keyword {
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.search-panel__header {
  display: grid;
  gap: 4px;
}

.search-panel__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
}

.search-panel__title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  color: #1f2a37;
}
@media (max-width: 639px) {
  .search-panel__title {
    font-size: 19px;
  }
}

.search-panel__text {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 639px) {
  .search-panel__text {
    font-size: 12px;
  }
}

.search-bar {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .search-panel--filters .search-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 0.9fr);
    align-items: end;
  }
}

@media (min-width: 900px) {
  .search-panel--keyword .search-bar {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.35fr);
    align-items: end;
  }
}

.search-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.search-field__label {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.02em;
}

.search-field__hint {
  margin: 0;
  font-size: 12px;
  color: #475569;
}

.search-field__control--keyword {
  display: grid;
  gap: 6px;
}

.search-bar select,
.search-bar .search-input,
.search-bar button {
  min-width: 0;
  height: 56px;
  border-radius: 14px;
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
@media (max-width: 639px) {
  .search-bar select,
  .search-bar .search-input,
  .search-bar button {
    height: 54px;
    font-size: 15px;
  }
}

.search-bar select,
.search-bar .search-input {
  width: 100%;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: #fff;
  color: #1f2a37;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.search-bar select:focus,
.search-bar .search-input:focus {
  outline: none;
  border-color: #78C5B6;
  box-shadow: 0 0 0 3px rgba(120, 197, 182, 0.12);
}
.search-bar select:disabled,
.search-bar .search-input:disabled {
  color: #64748b;
  background: #f8fafc;
  border-color: rgba(203, 213, 225, 0.9);
  cursor: not-allowed;
  box-shadow: none;
}

.search-bar .search-input {
  padding: 0 16px;
  box-shadow: none;
}

.search-bar select {
  padding: 0 42px 0 16px;
  line-height: 54px;
  background: #fff, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23475569' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  background-size: auto, 12px 8px;
}

.search-actions {
  display: flex;
  align-items: stretch;
  margin-top: 0;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.search-btn:active {
  transform: translateY(1px);
}
.search-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.search-btn {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: none;
  border-radius: 9999px;
  background: #1f2a37;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(28, 36, 43, 0.1);
}
.search-btn:hover {
  background: #334155;
}

.search-btn--secondary {
  background: rgb(72.274611399, 168.225388601, 149.5336787565);
}
.search-btn--secondary:hover {
  background: rgb(64.6113989637, 150.3886010363, 133.6787564767);
}

.search-field--city select[style*="display:none"] {
  display: none !important;
}

.first-view {
  width: 100%;
  height: 440px;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
  background: #f8f8f8;
}
.first-view .first-view__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 639px) {
  .first-view {
    height: 180px;
  }
}

.search-profiles-page .search-profiles-page__title {
  margin-bottom: 16px;
  line-height: 1.42;
  letter-spacing: 0;
  text-wrap: pretty;
}
@media (max-width: 639px) {
  .search-profiles-page .search-profiles-page__title {
    width: calc(100vw - 32px);
    max-width: 17em;
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.5;
  }
}

.search-profiles-page__description {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 0 32px;
  padding: 14px 16px 14px 16px;
  border-left: 3px solid rgba(120, 197, 182, 0.82);
  background: linear-gradient(90deg, rgba(246, 250, 249, 0.8), rgba(255, 255, 255, 0));
  border-radius: 8px;
  color: #3b4759;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.82;
  word-break: normal;
  overflow-wrap: anywhere;
}
.search-profiles-page__description p {
  max-width: none;
  margin: 0;
}
.search-profiles-page__description p + p {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}
@media (max-width: 639px) {
  .search-profiles-page__description {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-bottom: 24px;
    padding: 12px 12px 12px 12px;
    font-size: 13px;
    line-height: 1.76;
  }
  .search-profiles-page__description p {
    max-width: none;
  }
  .search-profiles-page__description p + p {
    margin-top: 8px;
    padding-top: 8px;
  }
}

.search-profiles-page__area-seo {
  margin: 40px 0 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.area-seo {
  display: grid;
  gap: 24px;
  max-width: 100%;
  color: #334155;
  line-height: 1.85;
}

.area-seo__title {
  margin: 0;
  color: #1f2a37;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
}

.area-seo__block,
.area-seo__faq {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.area-seo__block--wide {
  max-width: 100%;
}

.area-seo__heading {
  margin: 0 0 10px;
  color: #1f2a37;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
}

.area-seo__price {
  color: #1f2a37;
  font-weight: 900;
}

.area-seo__block p {
  margin: 0;
  font-size: 14px;
}
.area-seo__block p + p {
  margin-top: 8px;
}

.area-seo__location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.area-seo__location-list li {
  font-size: 13px;
  font-weight: 800;
}

.area-seo__location-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 999px;
  background: #fff;
  color: #1d4ed8;
  text-decoration: none;
}
.area-seo__location-link::after {
  content: ">";
  font-size: 11px;
  line-height: 1;
}
.area-seo__location-link:hover {
  border-color: rgba(29, 78, 216, 0.45);
  background: rgba(29, 78, 216, 0.04);
  text-decoration: none;
}

.area-seo__location-text {
  display: inline-flex;
  padding: 0;
  color: #3b4759;
}

.area-seo__faq {
  display: grid;
  gap: 10px;
  max-width: 100%;
}

.area-seo__faq-item {
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  padding-bottom: 10px;
}
.area-seo__faq-item summary {
  cursor: pointer;
  color: #1f2a37;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.6;
}
.area-seo__faq-item p {
  margin: 8px 0 0;
  color: #3b4759;
  font-size: 14px;
}

@media (max-width: 639px) {
  .area-seo {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    gap: 16px;
    line-height: 1.78;
  }
  .area-seo__intro {
    padding: 12px;
    font-size: 13px;
  }
  .search-profiles-page__area-seo {
    margin-top: 32px;
    padding-top: 24px;
  }
  .area-seo__title {
    font-size: 18px;
  }
  .area-seo__heading {
    font-size: 16px;
  }
  .area-seo__block p,
  .area-seo__faq-item p,
  .area-seo__faq-item summary {
    font-size: 13px;
  }
}
.latest-updated-at-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.updated-at-content {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #475569;
}
.updated-at-content .icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  top: 0;
}

/* ==============================
   Section Navigation（Accordion）
   ============================== */
.section-nav {
  max-width: 960px;
  margin: 32px auto;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

/* ---------- タイトル ---------- */
.section-nav__title {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2a37;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* ---------- ＋ / − トグル ---------- */
.section-nav__toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.section-nav__toggle-icon::before,
.section-nav__toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #334155;
  transform: translateY(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* 縦線（＋） */
.section-nav__toggle-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

/* ---------- body（アコーディオン） ---------- */
.section-nav__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* ---------- open 状態 ---------- */
.section-nav.is-open .section-nav__body {
  max-height: 2000px;
}
.section-nav.is-open {
  /* ＋ → − */
}
.section-nav.is-open .section-nav__toggle-icon::after {
  opacity: 0;
}

/* ---------- リスト ---------- */
.section-nav__list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 4px 8px;
  padding: 0;
}
.section-nav__list_pref {
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
}
.section-nav__list_category {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.section-nav__link {
  font-size: 13px;
  line-height: 1.4;
  color: #1d4ed8;
  text-decoration: none;
}
.section-nav__link:hover {
  text-decoration: underline;
}

/* ---------- SP ---------- */
@media (max-width: 639px) {
  .section-nav {
    padding: 16px;
    border-radius: 12px;
  }
  .section-nav__title {
    font-size: 16px;
  }
  .section-nav__link {
    font-size: 14px;
  }
}
/* =========================
 * カテゴリ区切り（個人向け / 法人向け）
 * ========================= */
.section-nav__group {
  margin-top: 24px;
}
.section-nav__group:first-child {
  margin-top: 0;
}

.section-nav__group-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 2px;
}

/* 左にアクセントライン */
.section-nav__group-title::before {
  content: "";
  display: block;
  width: 3px;
  height: 14px;
  background: #3B7A57;
  border-radius: 2px;
}

/* 法人向けだけ色を変えたい場合（任意） */
.section-nav__group--corporate .section-nav__group-title::before {
  background: #1E3A8A;
}

/* リストとの余白調整 */
.section-nav__group .section-nav__list {
  margin-top: 0;
}

/* SP 微調整 */
@media (max-width: 639px) {
  .section-nav__group-title {
    font-size: 14px;
  }
}
.scene-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 1px solid #e2e8f0;
}
.scene-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.scene-card .scene-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
@media (max-width: 639px) {
  .scene-card .scene-img {
    height: 140px;
  }
}
.scene-card .scene-body {
  padding: 16px;
}
.scene-card .scene-body .scene-title {
  font-weight: 600;
  font-size: 15px;
  margin-top: 8px;
  color: #1f2a37;
}

.categories-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
@media (max-width: 639px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
.categories-grid .category-card {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.categories-grid .category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.categories-grid .category-card .category-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.categories-grid .category-card .category-link .category-image {
  width: 100%;
  height: 110px;
  object-fit: cover;
}
@media (max-width: 639px) {
  .categories-grid .category-card .category-link .category-image {
    height: 100px;
  }
}
.categories-grid .category-card .category-link .category-name {
  text-align: center;
  padding: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2a37;
  background: #ffffff;
}

.profiles-grid {
  display: grid;
  gap: 32px;
  margin: 24px auto;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 639px) {
  .profiles-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.profile-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.profile-card .profile-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.profile-card .profile-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}
.profile-card .profile-image-wrapper .profile-cover,
.profile-card .profile-image-wrapper .slider .slides img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.profile-card .profile-image-wrapper .slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.profile-card .profile-image-wrapper .slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.profile-card .profile-image-wrapper .slider .slides img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.profile-card .profile-image-wrapper .slider .slides img.active {
  opacity: 1;
  z-index: 2;
}
.profile-card .profile-image-wrapper .slider .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease;
}
.profile-card .profile-image-wrapper .slider .nav-btn.prev {
  left: 12px;
}
.profile-card .profile-image-wrapper .slider .nav-btn.next {
  right: 12px;
}
.profile-card .profile-image-wrapper .slider .nav-btn:hover {
  background: rgba(0, 0, 0, 0.65);
}
.profile-card .profile-image-wrapper .image-label {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 4px;
  line-height: 1;
}
.profile-card .profile-body {
  padding: 16px;
  overflow: visible !important;
}
.profile-card .profile-body-plan {
  padding: 0 16px 16px;
}
.profile-card .profile-body .profile-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.profile-card .profile-body .profile-summary .profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.profile-card .profile-body .profile-summary .summary-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-card .profile-body .profile-summary .summary-info .summary-name {
  font-size: 18px;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 4px;
}
.profile-card .profile-body .profile-summary .summary-info .summary-review {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #334155;
}
.profile-card .profile-body .profile-summary .summary-info .summary-review .stars {
  color: #FFC66B;
}
.profile-card .profile-body .profile-summary .summary-info .summary-review .score {
  font-weight: 600;
}
.profile-card .profile-body .profile-summary .summary-info .summary-review .count {
  font-size: 13px;
  color: #475569;
}
.profile-card .profile-body .profile-catch {
  font-size: 15px;
  color: #273449;
  margin-top: 4px;
}
.profile-card .profile-body .profile-info-row {
  display: flex;
  align-items: baseline;
  margin-top: 10px;
  gap: 8px;
  width: 100%;
}
.profile-card .profile-body .profile-info-row .label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  min-width: 70px;
  margin: 0;
  line-height: 1;
}

.scroll-wrapper {
  flex: 1;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
  z-index: 0;
}
.scroll-wrapper::-webkit-scrollbar {
  height: 1px;
}
.scroll-wrapper {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-wrapper:active {
  cursor: grabbing;
  user-select: none;
}
.scroll-wrapper .scroll-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding-right: 60px;
  scroll-snap-align: start;
}
.scroll-wrapper .tag {
  display: inline-block;
  background: #f6faf9;
  color: #334155;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  scroll-snap-align: start;
}
.scroll-wrapper .tag:hover {
  background: #F6FAF9;
}

.profile-info-row {
  position: relative;
}
.profile-info-row::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, rgb(255, 255, 255) 65%, rgba(255, 255, 255, 0));
  z-index: 1;
}

.profile-plan-box {
  padding: 10px 12px;
  background: #F6FAF9;
  border-radius: 8px;
}

.plan-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-price {
  font-size: 15px;
  font-weight: 700;
}

.plan-detail-link {
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  color: #333;
  transition: opacity 0.2s;
}
.plan-detail-link:hover {
  opacity: 0.7;
}

.plan-summary-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
  font-size: 13px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #333;
}
.summary-item svg {
  stroke-width: 1.8;
}

.profile-card--search {
  --card-accent: #1aa894;
  --card-accent-soft: #e8f8f5;
  border-radius: 8px;
  border-color: rgba(203, 213, 225, 0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.profile-card--search:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.11);
}
.profile-card--search .profile-card__main-link,
.profile-card--search .profile-card__cta,
.profile-card--search .profile-card__plan-link,
.profile-card--search .profile-card__tag {
  color: inherit;
  text-decoration: none;
}
.profile-card--search .profile-card__media {
  position: relative;
  background: #f8fafc;
}
.profile-card--search .profile-card__slider {
  position: relative;
}
.profile-card--search .profile-card__stage {
  position: relative;
  aspect-ratio: 16/10.25;
  overflow: hidden;
  background: #eef2f7;
}
.profile-card--search .profile-card__slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.profile-card--search .profile-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-card--search .profile-card__slides .profile-card__cover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.profile-card--search .profile-card__slides .profile-card__cover.active {
  opacity: 1;
  z-index: 2;
}
.profile-card--search .profile-card__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0) 36%), linear-gradient(to top, rgba(17, 24, 39, 0.26), rgba(17, 24, 39, 0) 48%);
}
.profile-card--search .profile-card__image-count,
.profile-card--search .profile-card__image-label {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(10px);
}
.profile-card--search .profile-card__image-count {
  top: 12px;
  left: 12px;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  font-size: 12px;
}
.profile-card--search .profile-card__image-count svg {
  stroke-width: 2;
}
.profile-card--search .profile-card__image-label {
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  font-size: 11px;
}
.profile-card--search .profile-card__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.58);
  color: #fff;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}
.profile-card--search .profile-card__nav:hover {
  background: rgba(17, 24, 39, 0.76);
}
.profile-card--search .profile-card__nav svg {
  display: block;
  stroke-width: 2.8;
}
.profile-card--search .profile-card__nav--prev {
  left: 14px;
}
.profile-card--search .profile-card__nav--next {
  right: 14px;
}
.profile-card--search .profile-card__thumbs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #fff;
}
.profile-card--search .profile-card__thumb {
  position: relative;
  flex: 1 1 0;
  aspect-ratio: 4/3;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #eef2f7;
  cursor: pointer;
}
.profile-card--search .profile-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-card--search .profile-card__thumb.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 3px solid var(--card-accent);
  pointer-events: none;
}
.profile-card--search .profile-card__body {
  padding: 20px;
}
.profile-card--search .profile-card__body--main {
  padding-bottom: 0;
}
.profile-card--search .profile-card__body--plan {
  padding-top: 16px;
  padding-bottom: 0;
}
.profile-card--search .profile-card__body--tags {
  padding-top: 18px;
}
.profile-card--search .profile-card__summary {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.profile-card--search .profile-card__avatar {
  width: 72px;
  height: 72px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #f8fafc;
  object-fit: cover;
  box-shadow: none;
}
.profile-card--search .profile-card__summary-info {
  min-width: 0;
}
.profile-card--search .profile-card__meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 7px;
  min-width: 0;
}
.profile-card--search .profile-card__kind {
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: var(--card-accent-soft);
  color: #087f72;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.profile-card--search .profile-card__kind.corporate {
  background: #eef2ff;
  color: #1e3a8a;
}
.profile-card--search .profile-card__meta {
  min-width: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.profile-card--search .profile-card__name-row {
  min-width: 0;
}
.profile-card--search .profile-card__name {
  min-width: 0;
  margin: 0;
  color: #1f2a37;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.28;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.profile-card--search .profile-card__review {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}
.profile-card--search .profile-card__stars {
  color: #FFC66B;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}
.profile-card--search .profile-card__score {
  color: #273449;
}
.profile-card--search .profile-card__count {
  color: #475569;
  font-weight: 600;
}
.profile-card--search .profile-card__catch {
  margin-top: 20px;
  padding: 18px 0 20px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  color: #1f2a37;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 700;
}
.profile-card--search .profile-card__plan {
  padding: 14px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.profile-card--search .profile-card__plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.profile-card--search .profile-card__plan-title {
  margin: 0;
  color: #1f2a37;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}
.profile-card--search .profile-card__plan-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.profile-card--search .profile-card__plan-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.profile-card--search .profile-card__plan-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}
.profile-card--search .profile-card__plan-item svg {
  color: var(--card-accent);
  stroke-width: 2;
}
.profile-card--search .profile-card__info-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.profile-card--search .profile-card__info-row + .profile-card__info-row {
  margin-top: 13px;
}
.profile-card--search .profile-card__label {
  margin: 0;
  padding-top: 8px;
  color: #1f2a37;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
}
.profile-card--search .profile-card__tag-scroll {
  position: relative;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent 100%);
}
.profile-card--search .profile-card__tag-scroll::-webkit-scrollbar {
  display: none;
}
.profile-card--search .profile-card__tag-list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 100%;
  padding-right: 40px;
  white-space: nowrap;
}
.profile-card--search .profile-card__tag {
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #fff;
  color: #334155;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.profile-card--search .profile-card__tag:hover {
  border-color: rgba(120, 197, 182, 0.55);
  background: #F6FAF9;
  color: #1f2a37;
}
.profile-card--search .profile-card__footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 20px 22px;
  min-width: 0;
}
.profile-card--search .profile-card__cta {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9999px;
  background: #111827;
  color: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.16);
  font-size: 14px;
  font-weight: 900;
  max-width: 100%;
  white-space: nowrap;
}
.profile-card--search .profile-card__cta svg {
  stroke-width: 2.5;
}
@media (max-width: 639px) {
  .profile-card--search .profile-card__body {
    padding: 18px 18px;
  }
  .profile-card--search .profile-card__body--main {
    padding-bottom: 0;
  }
  .profile-card--search .profile-card__body--plan {
    padding-top: 16px;
    padding-bottom: 0;
  }
  .profile-card--search .profile-card__body--tags {
    padding-top: 16px;
  }
  .profile-card--search .profile-card__summary {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }
  .profile-card--search .profile-card__avatar {
    width: 64px;
    height: 64px;
  }
  .profile-card--search .profile-card__name {
    font-size: clamp(18px, 5vw, 22px);
  }
  .profile-card--search .profile-card__catch {
    margin-top: 16px;
    padding: 14px 0 16px;
    font-size: 15px;
  }
  .profile-card--search .profile-card__footer {
    padding: 0 18px 20px;
  }
  .profile-card--search .profile-card__cta {
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
    width: 100%;
  }
  .profile-card--search .profile-card__kind {
    min-height: 22px;
    padding: 0 8px;
    font-size: 10px;
  }
  .profile-card--search .profile-card__meta {
    font-size: 11px;
  }
  .profile-card--search .profile-card__review {
    font-size: 12px;
  }
  .profile-card--search .profile-card__stars {
    font-size: 13px;
  }
  .profile-card--search .profile-card__label,
  .profile-card--search .profile-card__tag {
    font-size: 12px;
  }
}
@media (max-width: 420px) {
  .profile-card--search .profile-card__body {
    padding-right: 18px;
    padding-left: 18px;
  }
  .profile-card--search .profile-card__summary {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
  }
  .profile-card--search .profile-card__avatar {
    width: 60px;
    height: 60px;
  }
  .profile-card--search .profile-card__name-row {
    display: block;
  }
  .profile-card--search .profile-card__catch {
    font-size: 14px;
  }
  .profile-card--search .profile-card__info-row {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }
  .profile-card--search .profile-card__footer {
    display: block;
    padding-right: 18px;
    padding-left: 18px;
  }
}

.plan-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.plan-summary-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #333;
}
.summary-item svg {
  stroke-width: 1.8;
}

.plan-link {
  white-space: nowrap;
}

.plan-detail-link {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #333;
}
.plan-detail-link:hover {
  opacity: 0.7;
}

.profile-plan-box {
  margin-top: 8px;
  padding: 10px 12px;
  background: #f7f9fb;
  border-radius: 8px;
}

.profile-plan-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.profile-plan-title h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  padding: 0;
}
.profile {
  /* 詳しく見る */
}
.profile-plan-link {
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.profile-plan-detail-link {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #333;
}
.profile-plan-detail-link:hover {
  opacity: 0.7;
}
.profile {
  /* サマリー行 */
}
.profile-plan-summary-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  font-size: 13px;
  flex-wrap: wrap;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #333;
}
.summary-item svg {
  stroke-width: 1.8;
}

/* ==============================
   背景の画像（共通設定）
============================== */
.mypage-header-wrapper {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}
@media (max-width: 639px) {
  .mypage-header-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
}
.mypage-header-wrapper .mypage-cover-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
@media (max-width: 639px) {
  .mypage-header-wrapper .mypage-cover-img {
    height: 100px;
  }
}
.mypage-header-wrapper {
  /* タブ切替ボタン（右上固定） */
}
.mypage-header-wrapper .mypage-tab-switch {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.mypage-header-wrapper .mypage-tab-switch .mypage-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  border: 1.5px solid #ccc;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.85rem;
  color: #333;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mypage-header-wrapper .mypage-tab-switch .mypage-tab-btn svg {
  width: 18px;
  height: 18px;
}
.mypage-header-wrapper .mypage-tab-switch .mypage-tab-btn.consumer {
  color: #3B7A57;
  border-color: #3B7A57;
}
.mypage-header-wrapper .mypage-tab-switch .mypage-tab-btn.consumer.active {
  background: #3B7A57;
  color: #fff;
  text-decoration: none;
}
.mypage-header-wrapper .mypage-tab-switch .mypage-tab-btn.business {
  color: #1E3A8A;
  border-color: #1E3A8A;
}
.mypage-header-wrapper .mypage-tab-switch .mypage-tab-btn.business.active {
  background: #1E3A8A;
  color: #fff;
  text-decoration: none;
}
.mypage-header-wrapper .mypage-tab-switch .mypage-tab-btn:hover:not(.active) {
  background: #f3f4f6;
}
@media (max-width: 639px) {
  .mypage-header-wrapper .mypage-tab-switch {
    top: 8px;
    right: 8px;
  }
  .mypage-header-wrapper .mypage-tab-switch .mypage-tab-btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }
}

/* ==============================
   上段（アイコン＋名前＋ボタン）
============================== */
.mypage-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 32px 40px;
  border-top: 1px solid #e2e8f0;
}
@media (max-width: 639px) {
  .mypage-header-content {
    flex-direction: column;
    align-items: center;
    padding: 24px 0 8px;
    background: transparent;
    border: none;
    gap: 14px;
  }
}

/* ==============================
   プロフィール情報（アイコン＋名前）
============================== */
.mypage-profile-info {
  display: flex;
  align-items: center;
  gap: 24px;
}
@media (max-width: 639px) {
  .mypage-profile-info {
    width: 100%;
    margin-top: -40px;
    padding: 0 16px;
    align-items: flex-end;
    gap: 12px;
  }
}

.mypage-avatar-box {
  position: relative;
  z-index: 2;
}
.mypage-avatar-box .mypage-avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
@media (max-width: 639px) {
  .mypage-avatar-box .mypage-avatar {
    width: 64px;
    height: 64px;
    border: 2px solid #fff;
  }
}
@media (max-width: 639px) {
  .mypage-avatar-box {
    margin-left: 16px;
  }
}

.mypage-texts {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mypage-texts .mypage-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2a37;
}
@media (max-width: 639px) {
  .mypage-texts .mypage-name {
    font-size: 1rem;
    font-weight: 600;
    padding: 4px 8px;
    display: inline-block;
    line-height: 1.2;
  }
}

/* ==============================
   プロフィールボタン
============================== */
.mypage-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}
.mypage-actions .mypage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 120px;
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 9999px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.mypage-actions .mypage-btn.edit {
  background: #78C5B6;
}
.mypage-actions .mypage-btn.view {
  background: #7BB6F0;
}
.mypage-actions .mypage-btn:hover {
  opacity: 0.85;
}
@media (max-width: 639px) {
  .mypage-actions {
    width: 100%;
    justify-content: center;
  }
  .mypage-actions .mypage-btn {
    font-size: 10px;
    white-space: nowrap;
    text-align: center;
  }
}

/* ==============================
   URLコピーエリア
============================== */
.mypage-url-box {
  margin: 1.5rem 0;
  background: #f8fbfa;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}
.mypage-url-box .profile-url-box-one-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.mypage-url-box .profile-url-box-one-line .profile-url {
  flex: 1;
  font-size: 0.9rem;
  color: #333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mypage-url-box .profile-url-box-one-line .copy-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.mypage-url-box .profile-url-box-one-line .copy-btn:hover {
  background: #e2e8f0;
}
.mypage-url-box .profile-url-box-one-line .copy-btn.copied {
  color: #4CAF93;
  border-color: #4CAF93;
}
@media (max-width: 639px) {
  .mypage-url-box {
    padding: 0.8rem 1rem;
  }
  .mypage-url-box .profile-url-box-one-line .profile-url {
    font-size: 0.85rem;
    max-width: 70%;
  }
  .mypage-url-box .profile-url-box-one-line .copy-btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }
}

/* ==============================
   ポイント情報
============================== */
.profile-points {
  margin: 24px 16px;
  background: #f9fbfb;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  font-size: 0.85rem;
}
.profile-points h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 16px;
}
.profile-points .total-point {
  font-size: 0.9rem;
  font-weight: 600;
  color: #273449;
  margin-bottom: 8px;
}
.profile-points .total-point strong {
  color: #78C5B6;
  font-size: 1.1rem;
  margin-inline: 4px;
}
.profile-points .point-txt {
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.4;
  margin-bottom: 8px;
  font-weight: 700;
}
.profile-points .accordion-toggle {
  font-size: 0.8rem;
  font-weight: 600;
  color: #78C5B6;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-block;
  margin-top: 0.4rem;
}
.profile-points .accordion-toggle:hover {
  text-decoration: underline;
}
.profile-points .accordion-content {
  margin-top: 8px;
}
.profile-points .accordion-content .point-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  color: #7BB6F0;
}
.profile-points .accordion-content .point-link:hover {
  color: rgba(123, 182, 240, 0.8);
}
.profile-points .accordion-content .point-link svg {
  width: 14px;
  height: 14px;
}

/* ==============================
   管理メニュー
============================== */
.profile-menu-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.8rem 0;
}
.profile-menu-list .menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.profile-menu-list .menu-link:hover {
  background: #e2e8f0;
  color: #1f2a37;
  transform: translateY(-1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.profile-menu-list .menu-link svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 639px) {
  .profile-menu-list {
    flex-direction: column;
    align-items: stretch;
  }
  .profile-menu-list .menu-link {
    width: 100%;
    text-align: center;
  }
}

/* ==============================
   クリエイター情報（最下部）
============================== */
.mypage-info {
  margin-top: 2.5rem;
  padding: 1.5rem 1.8rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}
.mypage-info h3.mypage-info-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
}
.mypage-info dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 0.6rem;
  column-gap: 1rem;
}
.mypage-info dl dt {
  font-weight: 600;
  color: #273449;
  text-align: right;
}
.mypage-info dl dd {
  color: #1f2a37;
  word-break: break-all;
}
@media (max-width: 639px) {
  .mypage-info dl {
    grid-template-columns: 1fr;
  }
  .mypage-info dl dt {
    text-align: left;
  }
}

/* ==============================
   マイページ未登録状態ページ
============================== */
.container.mypage-new {
  max-width: 720px;
  margin: 60px auto 100px;
  text-align: center;
  padding: 0 1rem;
}
.container.mypage-new h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 1.5rem;
}
.container.mypage-new p {
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.container.mypage-new {
  /* ==============================
     ボタンエリア
  =============================== */
}
.container.mypage-new .mypage-select-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.container.mypage-new .mypage-select-buttons .mypage-select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.container.mypage-new .mypage-select-buttons .mypage-select-btn svg {
  flex-shrink: 0;
}
.container.mypage-new .mypage-select-buttons .mypage-select-btn.consumer {
  background: #3B7A57;
  color: #fff;
  border-color: #3B7A57;
}
.container.mypage-new .mypage-select-buttons .mypage-select-btn.consumer:hover {
  background: rgba(59, 122, 87, 0.9);
  transform: translateY(-2px);
  text-decoration: none;
}
.container.mypage-new .mypage-select-buttons .mypage-select-btn.business {
  background: #1E3A8A;
  color: #fff;
  border-color: #1E3A8A;
}
.container.mypage-new .mypage-select-buttons .mypage-select-btn.business:hover {
  background: rgba(30, 58, 138, 0.9);
  transform: translateY(-2px);
  text-decoration: none;
}
.container.mypage-new {
  /* ==============================
     レスポンシブ対応
  =============================== */
}
@media (max-width: 639px) {
  .container.mypage-new h2 {
    font-size: 1.4rem;
  }
  .container.mypage-new p {
    font-size: 0.9rem;
  }
  .container.mypage-new .mypage-select-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .container.mypage-new .mypage-select-buttons .mypage-select-btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ==============================
   編集フォームセクション（重複防止版）
============================== */
.mypage-form-section {
  max-width: 720px;
  margin: 40px auto 100px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 40px 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
@media (max-width: 639px) {
  .mypage-form-section {
    padding: 24px 20px;
    margin: 30px auto 80px;
  }
}
.mypage-form-section .mypage-form-header {
  text-align: center;
  margin-bottom: 30px;
}
.mypage-form-section .mypage-form-header .mypage-form-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 6px;
}
.mypage-form-section .mypage-form-header .mypage-form-subtitle {
  font-size: 1rem;
  color: #3b4759;
}
.mypage-form-section {
  /* ===== 各フォームグループ ===== */
}
.mypage-form-section .mypage-form-wrapper .form-group {
  margin-bottom: 24px;
}
.mypage-form-section .mypage-form-wrapper .form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #273449;
}
.mypage-form-section .mypage-form-wrapper .form-input,
.mypage-form-section .mypage-form-wrapper .form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fafafa;
}
.mypage-form-section .mypage-form-wrapper .form-input:focus,
.mypage-form-section .mypage-form-wrapper .form-select:focus {
  border-color: #78C5B6;
  outline: none;
  background-color: #fff;
}
.mypage-form-section {
  /* ===== ボタンエリア ===== */
}
.mypage-form-section .form-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.mypage-form-section .form-actions .mypage-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.2s all ease-in-out;
}
.mypage-form-section .form-actions .mypage-btn.primary {
  background: #78C5B6;
  color: #fff;
  border: none;
}
.mypage-form-section .form-actions .mypage-btn.secondary {
  background: #e9ecef;
  color: #333;
}

/* ==============================
   クリエイター情報（表示ページ）
============================== */
.container.mypage-show {
  max-width: 720px;
  margin: 50px auto 100px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 40px 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
@media (max-width: 639px) {
  .container.mypage-show {
    padding: 24px 20px;
    margin: 30px auto 80px;
  }
}
.container.mypage-show .mypage-header {
  text-align: center;
  margin-bottom: 30px;
}
.container.mypage-show .mypage-header .mypage-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 6px;
}
.container.mypage-show .mypage-header .mypage-subtitle {
  font-size: 1rem;
  color: #3b4759;
}
.container.mypage-show .mypage-info-box {
  background: #fafafa;
  padding: 24px 30px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-bottom: 40px;
}
.container.mypage-show .mypage-info-box dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 0.8rem;
  column-gap: 1rem;
}
.container.mypage-show .mypage-info-box dl dt {
  font-weight: 600;
  color: #273449;
  text-align: right;
}
.container.mypage-show .mypage-info-box dl dd {
  color: #1f2a37;
  word-break: break-all;
}
@media (max-width: 639px) {
  .container.mypage-show .mypage-info-box dl {
    grid-template-columns: 1fr;
  }
  .container.mypage-show .mypage-info-box dl dt {
    text-align: left;
  }
}
.container.mypage-show .mypage-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.container.mypage-show .mypage-actions .mypage-btn.edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #78C5B6;
  color: #fff;
  border-radius: 9999px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.container.mypage-show .mypage-actions .mypage-btn.edit svg {
  width: 20px;
  height: 20px;
}

/* ==============================
   区切り線（パスワード変更セクションなど）
============================== */
.form-divider {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #e5e7eb;
  margin: 2.5rem 0 1.5rem;
  border: none;
}

/* ==============================
   アカウント情報ボタン
============================== */
.mypage-account-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}
.mypage-account-actions .btn-account-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background-color: #78C5B6; /* ブランドカラー */
  color: #fff;
  padding: 0.75em 1.5em;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.mypage-account-actions .btn-account-edit:hover {
  background-color: #66b3a6;
}
.mypage-account-actions .btn-account-edit .icon {
  stroke-width: 2;
}

.withdraw-link {
  text-align: right;
  margin-top: 32px;
}
.withdraw-link .btn-withdraw {
  color: #E46A6A;
  font-weight: 600;
  border: 1px solid #E46A6A;
  border-radius: 9999px;
  padding: 16px 24px;
  transition: 0.2s;
}
.withdraw-link .btn-withdraw:hover {
  background: rgba(228, 106, 106, 0.05);
}
.withdraw-link .btn-withdraw svg {
  vertical-align: middle;
  margin-right: 8px;
}

.account-withdraw-section {
  text-align: right;
  margin-top: 32px;
  padding-bottom: 40px;
}
.account-withdraw-section .withdraw-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: transparent;
  transition: all 0.2s ease;
}
.account-withdraw-section .withdraw-link-btn:hover {
  color: #3b4759;
  border-color: #cbd5e1;
  background: rgba(100, 116, 139, 0.05);
}
.account-withdraw-section .withdraw-link-btn .withdraw-link-icon {
  color: #64748b;
  stroke-width: 2;
  margin-right: 4px;
}

.withdraw-confirm {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
.withdraw-confirm .section-subtext {
  color: #3b4759;
  line-height: 1.8;
  margin-bottom: 24px;
}
.withdraw-confirm .section-subtext .withdraw-warning-text {
  display: inline-block;
  color: #E46A6A;
  font-weight: 600;
  margin-top: 8px;
}
.withdraw-confirm .form-group {
  margin-bottom: 32px;
}
.withdraw-confirm .form-group .form-label {
  display: block;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}
.withdraw-confirm .form-group .form-textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  resize: vertical;
  font-size: 15px;
  color: #273449;
  line-height: 1.6;
  transition: border-color 0.2s;
}
.withdraw-confirm .form-group .form-textarea:focus {
  outline: none;
  border-color: #78C5B6;
  box-shadow: 0 0 0 2px rgba(120, 197, 182, 0.15);
}
.withdraw-confirm .form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.withdraw-confirm .form-actions .btn-withdraw-back,
.withdraw-confirm .form-actions .btn-withdraw-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.withdraw-confirm .form-actions .btn-withdraw-back:active,
.withdraw-confirm .form-actions .btn-withdraw-submit:active {
  transform: translateY(1px);
}
.withdraw-confirm .form-actions .btn-withdraw-back:disabled,
.withdraw-confirm .form-actions .btn-withdraw-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.withdraw-confirm .form-actions .btn-withdraw-back,
.withdraw-confirm .form-actions .btn-withdraw-submit {
  padding: 16px 32px;
  font-size: 15px;
  border-radius: 9999px;
}
.withdraw-confirm .form-actions .btn-withdraw-back {
  color: #3b4759;
  border: 1px solid #e2e8f0;
  background: #F6FAF9;
}
.withdraw-confirm .form-actions .btn-withdraw-back:hover {
  background: #e9ecef;
}
.withdraw-confirm .form-actions .btn-withdraw-submit {
  color: #fff;
  background: #E46A6A;
  border: 1px solid #E46A6A;
}

.withdraw-complete {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background: #fdfdfc;
  padding: 40px 20px;
}
.withdraw-complete .withdraw-card {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 60px 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
.withdraw-complete .withdraw-card .withdraw-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
}
.withdraw-complete .withdraw-card .withdraw-message {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 40px;
}
.withdraw-complete .withdraw-card .btn-withdraw {
  display: inline-block;
  background-color: #78C5B6; /* ブランドカラー soft teal */
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 9999px;
  padding: 14px 48px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* ==============================
   プロフィール編集・確認ボタン（シンプル化）
============================== */
.mypage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mypage-actions .mypage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mypage-actions .mypage-btn.outline {
  background: #fff;
  border: 1.5px solid #d1d5db;
  color: #333;
}
.mypage-actions .mypage-btn.outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}
.mypage-actions .mypage-btn svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 639px) {
  .mypage-actions {
    justify-content: center;
  }
  .mypage-actions .mypage-btn {
    font-size: 10px;
    padding: 0.4rem 1rem;
  }
}

/* ==============================
   メインメニュー（撮影プラン・実績・レビュー・FAQ）
============================== */
.profile-menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 2rem 0;
}
.profile-menu-list .menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.profile-menu-list .menu-link.highlight {
  background: #e6f4f1;
  color: #1f2937;
  border-color: #78C5B6; /* ブランドカラー */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.profile-menu-list .menu-link.highlight:hover {
  background: #d1ece7;
  transform: translateY(-2px);
}
.profile-menu-list .menu-link.highlight svg {
  color: #3B7A57;
}
@media (max-width: 639px) {
  .profile-menu-list {
    grid-template-columns: 1fr;
  }
  .profile-menu-list .menu-link {
    width: 100%;
    font-size: 0.95rem;
    padding: 1rem;
  }
}

/* ==============================
   プロフィール編集・確認ボタン（ブランド変数対応）
============================== */
.mypage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.mypage-actions .mypage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.mypage-actions .mypage-btn:active {
  transform: translateY(1px);
}
.mypage-actions .mypage-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.mypage-actions .mypage-btn {
  padding: 10px 24px;
  border: 1px solid #cbd5e1;
  color: #273449;
  background: #ffffff;
  font-size: 10px;
  border-radius: 9999px;
}
.mypage-actions .mypage-btn:hover {
  background: #e9ecef;
  color: #1f2a37;
  border-color: #e2e8f0;
}
.mypage-actions .mypage-btn svg {
  color: #3b4759;
}
.mypage-actions .mypage-btn.outline {
  background: #ffffff;
}
@media (max-width: 639px) {
  .mypage-actions {
    justify-content: center;
  }
  .mypage-actions .mypage-btn {
    font-size: 10px;
    padding: 0.4rem 1rem;
    gap: 0;
  }
}

/* ==============================
   メインメニュー（撮影プラン・実績・レビュー・FAQ）
============================== */
.profile-menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.profile-menu-list .menu-link {
  font-size: 1rem;
  font-weight: 600;
  padding: 24px;
  border-radius: 6px;
  border: 2px solid transparent;
  background: #78C5B6;
  color: #fff;
  box-shadow: 0 4px 12px rgba(120, 197, 182, 0.15);
}
.profile-menu-list .menu-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(120, 197, 182, 0.2);
  text-decoration: none;
}
.profile-menu-list .menu-link svg {
  color: #fff;
}
.profile-menu-list .menu-link.highlight {
  /* 強調表現（必要に応じて） */
}
@media (max-width: 639px) {
  .profile-menu-list {
    grid-template-columns: 1fr;
  }
  .profile-menu-list .menu-link {
    width: 100%;
    font-size: 0.95rem;
    padding: 1rem;
  }
}

/* ==============================
   退会関連デザイン（完了・確認）
============================== */
.withdraw-confirm {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
.withdraw-confirm .section-subtext {
  color: #3b4759;
  line-height: 1.8;
  margin-bottom: 24px;
}
.withdraw-confirm .section-subtext .withdraw-warning-text {
  display: inline-block;
  color: #E46A6A;
  font-weight: 600;
  margin-top: 8px;
}
.withdraw-confirm .form-group {
  margin-bottom: 32px;
}
.withdraw-confirm .form-group .form-label {
  display: block;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}
.withdraw-confirm .form-group .form-textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  resize: vertical;
  font-size: 15px;
  color: #273449;
  line-height: 1.6;
  transition: border-color 0.2s;
}
.withdraw-confirm .form-group .form-textarea:focus {
  outline: none;
  border-color: #78C5B6;
  box-shadow: 0 0 0 2px rgba(120, 197, 182, 0.15);
}
.withdraw-confirm .form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.withdraw-confirm .form-actions .btn-withdraw-back,
.withdraw-confirm .form-actions .btn-withdraw-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.withdraw-confirm .form-actions .btn-withdraw-back:active,
.withdraw-confirm .form-actions .btn-withdraw-submit:active {
  transform: translateY(1px);
}
.withdraw-confirm .form-actions .btn-withdraw-back:disabled,
.withdraw-confirm .form-actions .btn-withdraw-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.withdraw-confirm .form-actions .btn-withdraw-back,
.withdraw-confirm .form-actions .btn-withdraw-submit {
  padding: 16px 32px;
  font-size: 15px;
  border-radius: 9999px;
}
.withdraw-confirm .form-actions .btn-withdraw-back {
  color: #3b4759;
  border: 1px solid #e2e8f0;
  background: #F6FAF9;
}
.withdraw-confirm .form-actions .btn-withdraw-back:hover {
  background: #e9ecef;
}
.withdraw-confirm .form-actions .btn-withdraw-submit {
  color: #fff;
  background: #E46A6A;
  border: 1px solid #E46A6A;
}

/* ==============================
   退会完了ページ（ブランド統一）
============================== */
.withdraw-complete {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background: #FFFEFB;
  padding: 40px 24px;
}
.withdraw-complete .withdraw-card {
  text-align: center;
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
.withdraw-complete .withdraw-card .withdraw-title {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 16px;
}
.withdraw-complete .withdraw-card .withdraw-message {
  font-size: 1rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 32px;
}
.withdraw-complete .withdraw-card .btn-withdraw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.withdraw-complete .withdraw-card .btn-withdraw:active {
  transform: translateY(1px);
}
.withdraw-complete .withdraw-card .btn-withdraw:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.withdraw-complete .withdraw-card .btn-withdraw {
  background-color: #78C5B6;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 9999px;
  padding: 16px 40px;
  text-decoration: none;
}

/* =========================================
   Creator Bottom Navigation
========================================= */
.creator-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  z-index: 999;
  padding: 8px 0;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}

.creator-bottom-nav__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.creator-bottom-nav_content {
  width: 960px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

/* =========================================
   共通ナビアイテム
========================================= */
.creator-bottom-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.creator-bottom-item:active {
  transform: translateY(1px);
}
.creator-bottom-item:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.creator-bottom-item {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  font-size: 11px;
  color: #334155;
  background: transparent;
  border: none;
  min-width: 60px;
}
.creator-bottom-item .icon {
  stroke-width: 1.8;
  padding: 0;
  margin: 0;
}
.creator-bottom-item .label {
  font-weight: 600;
  line-height: 1.1;
}
.creator-bottom-item:hover {
  color: #78C5B6;
}
.creator-bottom-item.active {
  color: #78C5B6;
}

.creator-bottom-nav__profile-slot {
  position: relative;
  min-width: 60px;
}

.creator-profile-switch {
  position: relative;
}
.creator-profile-switch > summary {
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.creator-profile-switch > summary::-webkit-details-marker {
  display: none;
}
.creator-profile-switch[open] > summary {
  color: #78C5B6;
}
.creator-profile-switch[open] > summary .avatar-wrap {
  border-color: rgba(120, 197, 182, 0.46);
  box-shadow: 0 0 0 4px rgba(120, 197, 182, 0.12);
}

.creator-profile-switch__menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  z-index: 1001;
  width: min(286px, 100vw - 24px);
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  text-align: left;
}
.creator-profile-switch__menu::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.creator-profile-switch__heading {
  padding: 4px 8px 8px;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
}

.creator-profile-switch__option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px;
  border-radius: 12px;
  color: #1f2a37;
  text-decoration: none;
}
.creator-profile-switch__option:hover, .creator-profile-switch__option.is-active {
  background: #F6FAF9;
}
.creator-profile-switch__option.is-empty {
  color: #3b4759;
}

.creator-profile-switch__avatar {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
}
.creator-profile-switch__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-profile-switch__avatar .icon {
  color: #475569;
  stroke-width: 2;
}
.creator-profile-switch__avatar.is-empty {
  border-style: dashed;
  background: #F6FAF9;
}

.creator-profile-switch__text {
  min-width: 0;
  flex: 1 1 auto;
}
.creator-profile-switch__text span,
.creator-profile-switch__text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.creator-profile-switch__text span {
  font-size: 13px;
  font-weight: 900;
}
.creator-profile-switch__text small {
  margin-top: 3px;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
}
.creator-profile-switch__text .consumer {
  color: #3B7A57;
}
.creator-profile-switch__text .business {
  color: #1E3A8A;
}

.creator-profile-switch__current {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 9999px;
  background: rgba(120, 197, 182, 0.12);
  color: #78C5B6;
  font-size: 10px;
  font-weight: 900;
}

/* =========================================
   プロフィール専用（左端）
========================================= */
.profile-item {
  gap: 3px;
}
.profile-item .avatar-wrap {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  background: #F6FAF9;
}
.profile-item .avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-item .label {
  font-size: 9px;
  font-weight: 700;
  margin-top: 2px;
}
.profile-item .consumer {
  color: #3B7A57;
}
.profile-item .business {
  color: #1E3A8A;
}

.create_txt {
  margin-bottom: 10px;
}

/* ========================================
  Creator Menu Header
======================================== */
.menu-header {
  margin-bottom: 32px;
}

.menu-header__kind {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.menu-header__kind.personal {
  background: rgba(59, 122, 87, 0.1);
  color: #3B7A57;
}
.menu-header__kind.corporate {
  background: rgba(30, 58, 138, 0.1);
  color: #1E3A8A;
}

.menu-header__title {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: #1f2a37;
  margin: 0;
  letter-spacing: 0.5px;
}

.backlink-intro {
  margin-bottom: 24px;
}
.backlink-intro .point-note {
  color: #4CAF93;
  font-weight: 600;
}

.banner-preview {
  text-align: center;
  margin-bottom: 16px;
}
.banner-preview .banner-img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}

.url-box {
  display: flex;
  gap: 8px;
}
.url-box .copy-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.url-box .copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.url-box .copy-btn:active {
  transform: translateY(1px);
}
.url-box .copy-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.url-box .copy-btn {
  background: #78C5B6;
  color: white;
}

.code-area {
  width: 100%;
  min-height: 100px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: monospace;
  background: #F6FAF9;
}

.backlink-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  margin-bottom: 48px;
}

.backlink-lead {
  font-size: 15px;
  color: #3b4759;
  margin-bottom: 32px;
}

.backlink-section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #273449;
}

.banner-preview {
  text-align: center;
  margin-bottom: 24px;
}
.banner-preview .banner-img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}

.btn-wide {
  width: 100%;
  justify-content: center;
}

.url-box {
  display: flex;
  gap: 8px;
}
.url-box.vertical {
  flex-direction: column;
}
.url-box .copy-input {
  flex: 1;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
}
.url-box textarea.copy-input {
  min-height: 120px;
  font-family: monospace;
  background: #F6FAF9;
}
.url-box .copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.url-box .copy-btn:active {
  transform: translateY(1px);
}
.url-box .copy-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.url-box .copy-btn {
  background: #78C5B6;
  color: white;
  padding: 16px;
  border-radius: 10px;
}

.flow-list {
  padding-left: 18px;
}
.flow-list li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #3b4759;
}

.approved-message {
  background: rgba(76, 175, 147, 0.1);
  color: #4CAF93;
  padding: 16px;
  border-radius: 10px;
  font-weight: 600;
}

.pending-message {
  background: rgba(255, 198, 107, 0.1);
  color: #FFC66B;
  padding: 16px;
  border-radius: 10px;
  font-weight: 600;
}

/* =====================================
   Compact Dashboard Stats
===================================== */
.dashboard-stats--compact {
  display: grid;
  gap: 24px;
  margin: 24px 0;
  grid-template-columns: 1fr 1fr;
}

.stat-card.compact {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  text-align: center;
}

/* タイトル */
.stat-card__title {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

/* 数値 */
.stat-card__value {
  font-size: 26px;
  font-weight: 700;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.2;
}

/* アイコン（数値下） */
.stat-card__icon-under {
  margin: 8px 0;
  display: flex;
  justify-content: center;
}
.stat-card__icon-under svg {
  stroke-width: 2;
}

/* サブテキスト */
.stat-card__sub {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}

/* リンク */
.stat-card__more {
  font-size: 12px;
}
.stat-card__more a {
  color: #1d4ed8;
  text-decoration: none;
}
.stat-card__more a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* 内訳 */
.stat-card__detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
}

.stat-card__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  color: #3b4759;
}

/* カラーアクセント */
.stat-card--ranking {
  border-top: 3px solid #FFC66B;
}
.stat-card--ranking .stat-card__value,
.stat-card--ranking .stat-card__icon-under svg {
  color: #FFC66B;
}

.stat-card--point {
  border-top: 3px solid #78C5B6;
}
.stat-card--point .stat-card__value,
.stat-card--point .stat-card__icon-under svg {
  color: #78C5B6;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.is-active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 640px;
  height: 90vh;
  border-radius: 24px;
  padding: 32px;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.modal-body {
  margin-top: 32px;
}

.modal-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
}

.ranking-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 22px 14px;
  backdrop-filter: blur(2px);
}
.ranking-modal-overlay.is-active {
  display: flex;
}

.ranking-modal-container {
  position: relative;
  background: #fff;
  width: min(92vw, 640px);
  max-width: 640px;
  max-height: min(86vh, 760px);
  overflow-y: auto;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
  overscroll-behavior: contain;
}

.ranking-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1f2a37;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
  z-index: 2;
}

.ranking-modal-close:hover {
  background: #000;
}

.ranking-modal-body {
  min-width: 0;
}

.modal-report {
  color: #1f2a37;
}

.modal-report__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-right: 46px;
  margin-bottom: 24px;
}

.modal-report__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.modal-report__icon--ranking {
  color: #b7791f;
  background: #fff7e6;
}
.modal-report__icon--point {
  color: #3B7A57;
  background: #e6f4f1;
}

.modal-report__heading {
  min-width: 0;
}
.modal-report__heading h2 {
  margin: 0 0 4px;
  color: #1f2a37;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
}
.modal-report__heading p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.modal-point-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #d6e7e3;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7fbfa 0%, #fff 100%);
}
.modal-point-summary span {
  color: #3b4759;
  font-size: 13px;
  font-weight: 800;
}
.modal-point-summary strong {
  color: #78C5B6;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}
.modal-point-summary small {
  margin-left: 3px;
  color: #475569;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.modal-data-list {
  display: grid;
  gap: 8px;
}

.modal-data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #1f2a37;
  text-decoration: none;
}
.modal-data-row--link {
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.modal-data-row--link:hover {
  border-color: #b9d6cf;
  background: #fbfefd;
  transform: translateY(-1px);
  text-decoration: none;
}

.modal-data-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.modal-data-icon {
  flex: 0 0 auto;
  color: #1d4ed8;
}

.modal-data-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.modal-data-label {
  color: #1f2a37;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.modal-data-sub {
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.modal-rank-badge,
.modal-point-badge {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 58px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.modal-rank-badge {
  color: #8a5a12;
  background: #fff7e6;
}

.modal-point-badge {
  color: #3B7A57;
  background: #e6f4f1;
}
.modal-point-badge small {
  margin-left: 2px;
  font-size: 10px;
  font-weight: 800;
}

.modal-empty-state {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
}
.modal-empty-state p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 639px) {
  .ranking-modal-overlay {
    align-items: flex-start;
    padding: 18px 18px calc(86px + env(safe-area-inset-bottom));
  }
  .ranking-modal-container {
    width: 100%;
    max-height: calc(100dvh - 154px);
    padding: 20px 16px 18px;
    border-radius: 16px;
  }
  .ranking-modal-close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
  }
  .modal-report__header {
    gap: 10px;
    padding-right: 42px;
    margin-bottom: 18px;
  }
  .modal-report__icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .modal-report__heading h2 {
    font-size: 18px;
  }
  .modal-report__heading p {
    font-size: 12px;
    line-height: 1.55;
  }
  .modal-point-summary {
    padding: 13px;
  }
  .modal-point-summary strong {
    font-size: 25px;
  }
  .modal-data-list {
    gap: 7px;
  }
  .modal-data-row {
    gap: 10px;
    padding: 11px;
    border-radius: 9px;
  }
  .modal-data-main {
    gap: 8px;
  }
  .modal-data-label {
    font-size: 13px;
  }
  .modal-rank-badge,
  .modal-point-badge {
    min-width: 52px;
    padding: 7px 8px;
    font-size: 13px;
  }
}
/* =====================================
   Creator MyPage Dashboard
===================================== */
.container.mypage.creator-dashboard {
  max-width: 760px;
  padding-bottom: 112px;
  word-break: normal;
}

.creator-dashboard .mypage-header-wrapper {
  border-radius: 0 0 8px 8px;
  background: #0f172a;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}
.creator-dashboard .mypage-cover-img {
  height: 210px;
  opacity: 0.88;
}
.creator-dashboard .mypage-header-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.14) 0%, rgba(15, 23, 42, 0.74) 100%), linear-gradient(90deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0) 62%);
  pointer-events: none;
}
.creator-dashboard .mypage-cover-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
}
.creator-dashboard .mypage-cover-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.creator-dashboard .mypage-cover-kicker,
.creator-dashboard .mypage-cover-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.creator-dashboard .mypage-cover-kicker {
  color: #fff;
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 8px 10px;
  backdrop-filter: blur(10px);
}
.creator-dashboard .mypage-cover-status {
  position: relative;
  padding: 8px 10px 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}
.creator-dashboard .mypage-cover-status::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.creator-dashboard .mypage-cover-status.is-public {
  background: rgba(236, 253, 245, 0.96);
  color: #3B7A57;
}
.creator-dashboard .mypage-cover-status.is-public::before {
  background: #3B7A57;
}
.creator-dashboard .mypage-cover-status.is-private {
  background: rgba(254, 242, 242, 0.96);
  color: #E46A6A;
}
.creator-dashboard .mypage-cover-status.is-private::before {
  background: #E46A6A;
}
.creator-dashboard .mypage-tab-switch {
  top: 14px;
  right: 14px;
  z-index: 3;
}
.creator-dashboard .mypage-tab-switch .mypage-tab-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  letter-spacing: 0;
}
.creator-dashboard .mypage-profile-panel,
.creator-dashboard .mypage-readiness-panel,
.creator-dashboard .stat-card.compact,
.creator-dashboard .profile-menu-list .menu-link {
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}
.creator-dashboard .mypage-profile-panel {
  position: relative;
  z-index: 4;
  margin: -28px 0 24px;
  overflow: hidden;
}
.creator-dashboard .mypage-header-content {
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: transparent;
  border: 0;
}
.creator-dashboard .mypage-profile-info {
  min-width: 0;
  gap: 16px;
}
.creator-dashboard .mypage-avatar-box {
  flex: 0 0 auto;
  margin-left: 0;
}
.creator-dashboard .mypage-avatar-box .mypage-avatar {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}
.creator-dashboard .mypage-texts {
  min-width: 0;
}
.creator-dashboard .mypage-texts .mypage-kind-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}
.creator-dashboard .mypage-texts .mypage-kind-label.is-personal {
  background: #e6f4f1;
  color: #3B7A57;
}
.creator-dashboard .mypage-texts .mypage-kind-label.is-corporate {
  background: #eff6ff;
  color: #1E3A8A;
}
.creator-dashboard .mypage-texts .mypage-name {
  margin: 0;
  padding: 0;
  color: #1f2a37;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.creator-dashboard .mypage-actions {
  flex: 0 0 auto;
  gap: 8px;
}
.creator-dashboard .mypage-actions .mypage-btn {
  min-width: 112px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #273449;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  gap: 6px;
  line-height: 1;
  white-space: nowrap;
}
.creator-dashboard .mypage-actions .mypage-btn svg {
  color: #475569;
}
.creator-dashboard .mypage-url-box {
  margin: 0 24px 24px;
  padding: 16px;
  border-color: #dbe5e2;
  border-radius: 8px;
  background: #f7fbfa;
}
.creator-dashboard .mypage-url-box .profile-url-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #3b4759;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.creator-dashboard .mypage-url-box .profile-url-box-one-line {
  gap: 8px;
}
.creator-dashboard .mypage-url-box .profile-url {
  min-width: 0;
  color: #273449;
  font-size: 13px;
}
.creator-dashboard .mypage-url-box .copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid #b9d6cf;
  background: #fff;
  color: #273449;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.creator-dashboard .dashboard-stats--compact {
  gap: 16px;
  margin: 16px 0;
}
.creator-dashboard .stat-card.compact {
  position: relative;
  overflow: hidden;
  padding: 16px;
  text-align: left;
}
.creator-dashboard .stat-card__title {
  margin-bottom: 10px;
  color: #3b4759;
  font-size: 12px;
  letter-spacing: 0;
}
.creator-dashboard .stat-card__icon-under {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  opacity: 0.28;
}
.creator-dashboard .stat-card__value {
  margin-bottom: 5px;
  font-size: 25px;
  letter-spacing: 0;
}
.creator-dashboard .stat-card__sub {
  min-height: 34px;
  margin-bottom: 8px;
  color: #475569;
  font-size: 11px;
  line-height: 1.45;
}
.creator-dashboard .stat-card__more {
  font-size: 11px;
  font-weight: 700;
}
.creator-dashboard .stat-card--ranking {
  border-top: 0;
  border-left: 4px solid #FFC66B;
}
.creator-dashboard .stat-card--point {
  border-top: 0;
  border-left: 4px solid #78C5B6;
}
.creator-dashboard .mypage-readiness-panel {
  margin: 16px 0;
  padding: 16px;
}
.creator-dashboard .readiness-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.creator-dashboard .readiness-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #273449;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}
.creator-dashboard .readiness-title svg {
  color: #3B7A57;
}
.creator-dashboard .readiness-score {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}
.creator-dashboard .readiness-meter {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 6px;
  background: #e6ecea;
}
.creator-dashboard .readiness-meter__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #78C5B6 0%, #3B7A57 100%);
}
.creator-dashboard .readiness-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.creator-dashboard .readiness-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}
.creator-dashboard .readiness-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.creator-dashboard .readiness-item.is-complete {
  color: #273449;
}
.creator-dashboard .readiness-item.is-complete svg {
  color: #4CAF93;
}
.creator-dashboard .readiness-item.is-pending svg {
  color: #94a3b8;
}
.creator-dashboard .profile-menu-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 24px;
}
.creator-dashboard .profile-menu-list .menu-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 112px;
  padding: 16px;
  border-color: #d6e7e3;
  background: #fff;
  color: #1f2a37;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.creator-dashboard .profile-menu-list .menu-link:hover {
  border-color: #78C5B6;
  background: #fbfefd;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
  transform: translateY(-1px);
  text-decoration: none;
}
.creator-dashboard .profile-menu-list .menu-link svg {
  color: currentColor;
}
.creator-dashboard .menu-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e6f4f1;
  color: #3B7A57;
}
.creator-dashboard .menu-link__body {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
  margin-top: auto;
}
.creator-dashboard .menu-link__title {
  color: #1f2a37;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.28;
}
.creator-dashboard .menu-link__meta {
  margin-top: 4px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.creator-dashboard .menu-link__arrow {
  position: absolute;
  top: 20px;
  right: 16px;
  color: #64748b;
}
.creator-dashboard .divider {
  display: none;
}
.creator-dashboard .mypage-account-actions {
  justify-content: stretch;
  margin: 16px 0 8px;
}
.creator-dashboard .mypage-account-actions .btn-account-edit {
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  background: #273449;
  font-size: 14px;
  letter-spacing: 0;
}
.creator-dashboard .mypage-account-actions .btn-account-edit:hover {
  background: #1f2a37;
}
.creator-dashboard .account-withdraw-section {
  margin-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

@media (max-width: 639px) {
  .container.mypage.creator-dashboard {
    max-width: none;
    padding-inline: 14px;
    padding-bottom: 104px;
  }
  .creator-dashboard .mypage-header-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-radius: 0 0 8px 8px;
  }
  .creator-dashboard .mypage-cover-img {
    height: 182px;
  }
  .creator-dashboard .mypage-cover-overlay {
    left: 14px;
    right: 14px;
    bottom: 16px;
  }
  .creator-dashboard .mypage-cover-badges {
    gap: 7px;
  }
  .creator-dashboard .mypage-cover-kicker {
    font-size: 11px;
    padding: 8px;
  }
  .creator-dashboard .mypage-cover-status {
    font-size: 11px;
    padding: 8px 9px 8px 21px;
  }
  .creator-dashboard .mypage-cover-status::before {
    left: 9px;
  }
  .creator-dashboard .mypage-tab-switch {
    top: 10px;
    right: 10px;
    gap: 6px;
  }
  .creator-dashboard .mypage-tab-switch .mypage-tab-btn {
    min-height: 31px;
    padding: 0 9px;
    font-size: 11px;
    gap: 4px;
  }
  .creator-dashboard .mypage-tab-switch .mypage-tab-btn svg {
    width: 14px;
    height: 14px;
  }
  .creator-dashboard .mypage-profile-panel {
    margin-top: -24px;
    margin-bottom: 14px;
  }
  .creator-dashboard .mypage-header-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    gap: 10px;
  }
  .creator-dashboard .mypage-profile-info {
    width: auto;
    min-width: 0;
    margin-top: 0;
    padding: 0;
    align-items: center;
    gap: 10px;
  }
  .creator-dashboard .mypage-avatar-box {
    margin-left: 0;
  }
  .creator-dashboard .mypage-avatar-box .mypage-avatar {
    width: 58px;
    height: 58px;
  }
  .creator-dashboard .mypage-texts .mypage-kind-label {
    max-width: 142px;
    font-size: 10px;
  }
  .creator-dashboard .mypage-texts .mypage-name {
    max-width: 142px;
    font-size: 16px;
  }
  .creator-dashboard .mypage-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: auto;
    justify-content: end;
    gap: 6px;
  }
  .creator-dashboard .mypage-actions .mypage-btn {
    width: 112px;
    min-height: 32px;
    padding: 0 8px;
    font-size: 11px;
    gap: 4px;
  }
  .creator-dashboard .mypage-actions .mypage-btn svg {
    width: 14px;
    height: 14px;
  }
  .creator-dashboard .mypage-url-box {
    margin: 0 14px 14px;
    padding: 12px;
  }
  .creator-dashboard .mypage-url-box .profile-url-box-one-line {
    align-items: stretch;
  }
  .creator-dashboard .mypage-url-box .profile-url {
    max-width: none;
    font-size: 12px;
    line-height: 34px;
  }
  .creator-dashboard .mypage-url-box .copy-btn {
    min-height: 34px;
    padding: 0 9px;
    font-size: 11px;
  }
  .creator-dashboard .dashboard-stats--compact {
    gap: 10px;
    margin: 14px 0;
  }
  .creator-dashboard .stat-card.compact {
    padding: 13px;
  }
  .creator-dashboard .stat-card__value {
    font-size: 24px;
  }
  .creator-dashboard .mypage-readiness-panel {
    padding: 13px;
    margin: 14px 0;
  }
  .creator-dashboard .readiness-list {
    gap: 8px 10px;
  }
  .creator-dashboard .readiness-item {
    font-size: 11px;
  }
  .creator-dashboard .profile-menu-list {
    gap: 10px;
    margin: 14px 0 18px;
  }
  .creator-dashboard .profile-menu-list .menu-link {
    min-height: 104px;
    padding: 13px;
  }
  .creator-dashboard .menu-link__icon {
    width: 32px;
    height: 32px;
  }
  .creator-dashboard .menu-link__title {
    font-size: 13px;
  }
  .creator-dashboard .menu-link__meta {
    font-size: 11px;
  }
  .creator-dashboard .menu-link__arrow {
    top: 18px;
    right: 13px;
    width: 16px;
    height: 16px;
  }
  .creator-dashboard .mypage-account-actions .btn-account-edit {
    min-height: 44px;
  }
  .creator-dashboard .account-withdraw-section .withdraw-link-btn {
    font-size: 12px;
  }
  .creator-dashboard .account-withdraw-section {
    margin-top: 42px;
    padding-bottom: 34px;
  }
  .creator-bottom-nav {
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  }
  .creator-bottom-nav_content {
    width: 100%;
  }
}
/* app/assets/stylesheets/profiles.scss */
@media (max-width: 639px) {
  .profile-show {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
}
.profile-show .profile-cover {
  width: 100%;
  overflow: hidden;
  margin-bottom: 24px;
}
@media (max-width: 639px) {
  .profile-show .profile-cover {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-width: none;
  }
}
.profile-show .profile-cover .cover-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0 0 6px 6px;
}
@media (max-width: 639px) {
  .profile-show .profile-cover .cover-image {
    width: 100vw;
    height: 140px;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
  }
}
.profile-show .profile-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}
.profile-show .profile-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.profile-show .profile-info .profile-avatar-box {
  flex-shrink: 0;
}
.profile-show .profile-info .profile-avatar-box .profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.profile-show .profile-info .profile-basic .profile-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
}
.profile-show .profile-info .profile-basic .profile-catch {
  font-size: 16px;
  color: #666;
  margin-bottom: 8px;
  box-sizing: border-box;
}
.profile-show .profile-info .profile-basic .profile-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}
.profile-show .profile-info .profile-basic .profile-review {
  font-size: 14px;
  color: #444;
}
.profile-show .profile-info .profile-basic .profile-review .stars {
  color: #f5b50a;
  margin-right: 6px;
}
.profile-show .profile-info .profile-basic .profile-review .score {
  font-weight: bold;
  margin-right: 4px;
}
.profile-show .profile-info .profile-basic .profile-review .count {
  color: #666;
}
.profile-show .profile-price-box {
  background: #fdfaf6;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  color: #222;
}
.profile-show .profile-price-box strong {
  color: #d9534f;
  margin: 0 8px;
}
.profile-show .profile-price-box .tax {
  font-size: 12px;
  color: #888;
  margin-left: 4px;
}
.profile-show .profile-section {
  margin-bottom: 64px;
  box-sizing: border-box;
}
.profile-show .profile-section .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-show .profile-section .tags .tag {
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 14px;
}
.profile-show .profile-section .review-item {
  background: #fafafa;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.profile-show .profile-section .review-item .review-name {
  font-weight: bold;
  margin-bottom: 4px;
}
.profile-show .profile-section .review-item .review-rating {
  color: #f5b50a;
  font-weight: bold;
  margin-bottom: 4px;
}
.profile-show .profile-section .review-item .review-comment {
  font-size: 14px;
  color: #444;
}
.profile-show .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
@media (max-width: 639px) {
  .profile-show .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.profile-show .plans-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 639px) {
  .profile-show .plans-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.profile-show .plan-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profile-show .plan-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.profile-show .plan-item .plan-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.profile-show .plan-item .plan-info {
  padding: 20px 0;
  color: #334155;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}
@media (max-width: 639px) {
  .profile-show .plan-item .plan-info {
    padding: 16px 0;
  }
}
.profile-show .plan-item .plan-info .plan-title {
  font-size: 14px;
  font-weight: 700;
  color: #1f2a37;
  text-align: center;
  margin: 0;
  padding: 0;
}
@media (max-width: 639px) {
  .profile-show .plan-item .plan-info .plan-title {
    font-size: 12px;
  }
}
.profile-show .plan-item .plan-info .plan-description {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.6;
}
.profile-show .plan-item .plan-info .plan-price {
  font-weight: 600;
  color: #78C5B6;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.profile-show .plan-item .plan-info .plan-area {
  font-size: 0.9rem;
  color: #64748b;
}
.profile-show .cases-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 639px) {
  .profile-show .cases-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
.profile-show .case-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profile-show .case-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.profile-show .case-item .case-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
@media (max-width: 639px) {
  .profile-show .case-item .case-thumb {
    height: auto;
    aspect-ratio: 4/3;
  }
}
.profile-show .case-item .case-info {
  padding: 16px;
  color: #334155;
}
@media (max-width: 639px) {
  .profile-show .case-item .case-info {
    padding: 10px;
  }
}
.profile-show .case-item .case-info .case-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 8px;
}
@media (max-width: 639px) {
  .profile-show .case-item .case-info .case-title {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}
.profile-show .case-item .case-info .case-category,
.profile-show .case-item .case-info .case-prefecture,
.profile-show .case-item .case-info .case-body {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 6px;
  line-height: 1.6;
}
@media (max-width: 639px) {
  .profile-show .case-item .case-info .case-category,
  .profile-show .case-item .case-info .case-prefecture,
  .profile-show .case-item .case-info .case-body {
    font-size: 0.74rem;
    line-height: 1.45;
    margin-bottom: 4px;
  }
}
@media (max-width: 639px) {
  .profile-show .case-item .case-info .case-category,
  .profile-show .case-item .case-info .case-prefecture {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 639px) {
  .profile-show .case-item .case-info .case-body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}
.profile-show .profile-body .profile-info-row {
  display: flex;
  align-items: baseline;
  margin-top: 10px;
  gap: 8px;
  width: 100%;
}
.profile-show .profile-body .profile-info-row .label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  min-width: 70px;
  margin: 0;
  line-height: 1;
}
.profile-show .profile-body {
  margin-bottom: 20px;
}

.photographer-section {
  margin: 40px auto;
}
.photographer-section .photographer-title {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 24px;
}
.photographer-section .photographer-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
}
.photographer-section .photographer-card:hover {
  background: rgba(120, 197, 182, 0.03);
}
.photographer-section .photographer-card .photographer-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
}
.photographer-section .photographer-card .photographer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.photographer-section .photographer-card .photographer-info .photographer-name {
  font-size: 18px;
  font-weight: 600;
  color: #1f2a37;
}
.photographer-section .photographer-card .photographer-info .photographer-meta {
  font-size: 14px;
  color: #475569;
}
.photographer-section .photographer-card .photographer-info .photographer-catch {
  font-size: 14px;
  color: #334155;
  margin-top: 4px;
}
@media (max-width: 639px) {
  .photographer-section .photographer-card {
    flex-direction: column;
    text-align: center;
  }
  .photographer-section .photographer-card .photographer-avatar {
    margin-bottom: 16px;
  }
  .photographer-section .photographer-card .photographer-info {
    align-items: center;
  }
}

.photographer-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.photographer-card-link:hover {
  transform: translateY(-2px);
}
.photographer-card-link:hover .photographer-card {
  background: rgba(120, 197, 182, 0.05);
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}

.photographer-card {
  cursor: pointer;
}

.profile-image-wrapper {
  position: relative;
}
.profile-image-wrapper .image-label {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 4px;
  line-height: 1;
}

.cover-image-wrapper {
  position: relative;
  overflow: hidden;
}
.cover-image-wrapper .cover-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.cover-image-wrapper .image-label {
  position: absolute;
  bottom: 40px;
  right: 20px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.2;
  backdrop-filter: blur(2px);
}
@media (max-width: 639px) {
  .cover-image-wrapper .image-label {
    bottom: 14px;
    right: 12px;
    font-size: 12px;
  }
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.profile-summary .profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.profile-summary .summary-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-summary .summary-info .kind-label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
}
.profile-summary .summary-info .kind-label.personal {
  color: #3B7A57;
}
.profile-summary .summary-info .kind-label.corporate {
  color: #1E3A8A;
}
.profile-summary .summary-info .summary-name {
  font-size: 18px;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 4px;
}
.profile-summary .summary-info .summary-review {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #334155;
}
.profile-summary .summary-info .summary-review .stars {
  color: #f7c948;
}
.profile-summary .summary-info .summary-review .score {
  font-weight: 600;
}
.profile-summary .summary-info .summary-review .count {
  font-size: 13px;
  color: #475569;
}

.profile-catch {
  margin-top: 8px;
  font-size: 15px;
  color: #273449;
}

.profile-areas,
.profile-categories {
  margin-top: 12px;
}
.profile-areas h4,
.profile-categories h4 {
  font-size: 14px;
  font-weight: 600;
  color: #273449;
  margin-bottom: 6px;
}
.profile-areas .area-tags,
.profile-areas .category-tags,
.profile-categories .area-tags,
.profile-categories .category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.profile-areas .area-tag,
.profile-areas .category-tag,
.profile-categories .area-tag,
.profile-categories .category-tag {
  display: inline-block;
  background: #f2f4f7;
  color: #273449;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  line-height: 1.4;
}
.profile-areas .area-tag.main,
.profile-categories .area-tag.main {
  background: #e8f5e9;
  color: #2f855a;
  font-weight: 700;
}

.profile-links {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.meta-info {
  color: #273449;
  margin-left: 10px;
}

.profile-tabs {
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  margin-top: 10px;
  margin-bottom: 20px;
}
.profile-tabs .tab-list {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  padding: 10px 20px;
  list-style: none;
  margin: 0;
}
.profile-tabs .tab-item .tab-link {
  display: inline-block;
  font-size: 16px;
  padding: 6px 0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
@media (max-width: 639px) {
  .profile-tabs .tab-item .tab-link {
    font-size: 10px;
  }
}
.profile-tabs .tab-item.active .tab-link {
  color: #3b7a57; /* $color-consumer でもOK */
  border-bottom: 2px solid #3b7a57;
}
.profile-tabs .tab-item.disabled .tab-link {
  color: #cbd5e1;
  cursor: not-allowed;
  border-bottom: 2px solid transparent;
  opacity: 0.78;
  pointer-events: none;
}
.profile-tabs .tab-item:not(.disabled):hover .tab-link {
  color: #2563eb; /* $color-blue-hover */
}

/* ===============================
   タブメニュー（通常時）
=============================== */
.profile-tabs {
  position: relative;
  background: #fff;
  z-index: 50;
  border-bottom: 1px solid #eee;
  margin-top: 0; /* ✅ ← 余白を消す */
}
.profile-tabs .profile-tabs__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 960px;
  min-height: 64px;
  margin-inline: auto;
  box-sizing: border-box;
  padding: 0 20px;
}
@media (max-width: 639px) {
  .profile-tabs .profile-tabs__inner {
    gap: 10px;
    min-height: 64px;
    padding: 0 12px;
  }
}
.profile-tabs .profile-tabs__identity {
  display: none;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.profile-tabs .profile-tabs__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 1px solid #e5e7eb;
}
@media (max-width: 639px) {
  .profile-tabs .profile-tabs__avatar {
    width: 30px;
    height: 30px;
  }
}
.profile-tabs .profile-tabs__meta {
  min-width: 0;
}
.profile-tabs .profile-tabs__name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1f2a37;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
@media (max-width: 639px) {
  .profile-tabs .profile-tabs__name {
    font-size: 12px;
    max-width: 72px;
  }
}
.profile-tabs .tab-list {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 0;
  list-style: none;
  margin: 0;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.profile-tabs .tab-list::-webkit-scrollbar {
  display: none;
}
@media (max-width: 639px) {
  .profile-tabs .tab-list {
    justify-content: left;
  }
}

/* ===============================
   タブメニュー（固定表示時）
=============================== */
.profile-tabs.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  background: #fff;
  z-index: 900;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.profile-tabs.is-sticky .profile-tabs__identity {
  display: flex;
}
.profile-tabs.is-sticky .tab-list {
  justify-content: center;
}
@media (max-width: 639px) {
  .profile-tabs.is-sticky .tab-list {
    justify-content: left;
  }
}

/* ===============================
   サブページ固定バー
=============================== */
.profile-subpage-bar {
  position: relative;
  height: 0;
  z-index: 50;
  margin: 0;
}
@media (max-width: 639px) {
  .profile-subpage-bar {
    margin: 0;
  }
}
.profile-subpage-bar .profile-subpage-bar__inner {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 960px;
  min-height: 64px;
  margin-inline: auto;
  box-sizing: border-box;
  padding: 0 20px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
}
@media (max-width: 639px) {
  .profile-subpage-bar .profile-subpage-bar__inner {
    min-height: 64px;
    padding: 0 12px;
    gap: 10px;
  }
}
.profile-subpage-bar .profile-subpage-bar__identity {
  display: none;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}
.profile-subpage-bar .profile-subpage-bar__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 1px solid #e5e7eb;
}
@media (max-width: 639px) {
  .profile-subpage-bar .profile-subpage-bar__avatar {
    width: 30px;
    height: 30px;
  }
}
.profile-subpage-bar .profile-subpage-bar__meta {
  min-width: 0;
}
.profile-subpage-bar .profile-subpage-bar__name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1f2a37;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
@media (max-width: 639px) {
  .profile-subpage-bar .profile-subpage-bar__name {
    font-size: 12px;
    max-width: 76px;
  }
}
.profile-subpage-bar .profile-subpage-bar__actions {
  display: flex;
  justify-content: center;
  flex: 1;
}
@media (max-width: 639px) {
  .profile-subpage-bar .profile-subpage-bar__actions {
    justify-content: flex-end;
  }
}
.profile-subpage-bar .profile-subpage-bar__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 16px;
  background: #fff;
  color: #273449;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: solid 1px #273449;
  white-space: nowrap;
}
.profile-subpage-bar .profile-subpage-bar__contact:hover {
  text-decoration: none;
  background: #f8fafc;
}
@media (max-width: 639px) {
  .profile-subpage-bar .profile-subpage-bar__contact {
    padding: 5px 12px;
    font-size: 12px;
  }
}

.profile-subpage-bar.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #fff;
  z-index: 900;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
@media (max-width: 639px) {
  .profile-subpage-bar.is-sticky {
    height: 64px;
  }
}
.profile-subpage-bar.is-sticky .profile-subpage-bar__inner {
  position: relative;
  background: #fff;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.profile-subpage-bar.is-sticky .profile-subpage-bar__identity {
  display: flex;
}
.profile-subpage-bar.is-sticky .profile-subpage-bar__actions {
  justify-content: flex-end;
}

/* ===============================
   ページ内リンク位置調整
=============================== */
.profile-section,
.profile-main {
  scroll-margin-top: 128px; /* ✅ ヘッダー＋タブ高さぶん */
}

/* ===============================
   よくある質問（FAQ）
=============================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item .faq-question {
  display: flex;
  justify-content: space-between; /* 左右に分ける */
  align-items: center;
  padding: 14px 18px;
  font-weight: 600;
  cursor: pointer;
  color: #333;
  background: #f8fafc;
  transition: background 0.3s;
}
.faq-item .faq-question:hover {
  background: #f1f5f9;
}
.faq-item .faq-question {
  /* 左側の質問テキストエリア */
}
.faq-item .faq-question .question-left {
  display: flex;
  align-items: center;
  gap: 8px; /* Q. と質問の間隔 */
}
.faq-item .faq-question .q-label {
  color: #78C5B6;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-item .faq-question .q-text {
  text-align: left;
  flex-grow: 1;
  line-height: 1.6;
}
.faq-item .faq-question .icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #666;
  margin-left: 10px;
}
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.3s ease;
  padding: 0 18px;
}
.faq-item .faq-answer .a-label {
  color: #3b7a57;
  font-weight: 700;
  margin-right: 8px;
}
.faq-item .faq-answer .answer-text {
  padding: 12px 0 16px;
  color: #444;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.faq-item .faq-answer .answer-text p {
  margin: 0 0 0.75em;
}
.faq-item .faq-answer .answer-text p:last-child {
  margin-bottom: 0;
}
.faq-item.open {
  border-color: #78C5B6;
}
.faq-item.open .faq-question {
  background: rgba(120, 197, 182, 0.05);
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-item.open .icon {
  transform: rotate(180deg);
}

.profile-more {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

/* リンク本体 */
.profile-more .btn-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  /* 下線は通常は出さない */
}
.profile-more .btn-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.2s ease;
}
.profile-more .btn-more {
  /* 矢印アイコン */
}
.profile-more .btn-more .icon {
  transition: transform 0.2s ease;
}
.profile-more .btn-more:hover {
  color: #2563eb;
  /* 下線をスッと出す */
}
.profile-more .btn-more:hover::after {
  width: 100%;
}
.profile-more .btn-more:hover {
  /* 矢印だけ動かす */
}
.profile-more .btn-more:hover .icon {
  transform: translateX(4px);
}

/* スマホでは中央寄せで分かりやすく */
@media (max-width: 639px) {
  .profile-more {
    justify-content: center;
  }
}
/* ============================
   通報導線（少し目立つアウトラインボタン）
   ============================ */
.profile-report-link {
  margin-top: 32px;
  margin-bottom: 8px;
  text-align: center;
}

.profile-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #c0392b;
  background-color: #fff;
  border: 1px solid #e0bcb7;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.profile-report-btn .icon {
  flex-shrink: 0;
}
.profile-report-btn:hover {
  color: #fff;
  background-color: #c0392b;
  border-color: #c0392b;
}

/* 通報フォームの簡易エラー表示／戻るリンク */
.form-errors {
  background: #fff4f4;
  border: 1px solid #f0caca;
  color: #b00020;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.form-errors ul {
  margin: 0;
  padding-left: 1.2em;
}

.form-back {
  margin-top: 16px;
  text-align: center;
}
.form-back a {
  font-size: 14px;
  color: #555;
  text-decoration: underline;
}

/* ============================
   Public profile detail card redesign
   ============================ */
.profile-show {
  --profile-accent: #159f92;
  --profile-accent-soft: #e7f6f4;
  --profile-ink: #111827;
  --profile-muted: #64748b;
  --profile-line: #dbe3ea;
  max-width: 960px;
}
@media (max-width: 639px) {
  .profile-show {
    padding-inline: 0;
  }
}
.profile-show .profile-cover {
  display: block;
  width: 100%;
  height: 320px;
  margin: 0 0 -58px;
  border-bottom: 1px solid var(--profile-line);
  overflow: hidden;
  background: #f8fafc;
}
.profile-show .profile-cover .cover-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 0;
  display: block;
  cursor: pointer;
}
@media (max-width: 639px) {
  .profile-show .profile-cover {
    width: 100vw;
    height: 220px;
    margin-left: calc(50% - 50vw);
    margin-bottom: -42px;
  }
}
.profile-show .profile-main {
  position: relative;
  display: block;
  margin: 0 26px 26px;
  z-index: 1;
}
@media (max-width: 639px) {
  .profile-show .profile-main {
    margin: 0 14px 18px;
  }
}
.profile-show .profile-info {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
}
@media (max-width: 639px) {
  .profile-show .profile-info {
    grid-template-columns: 78px 1fr;
    gap: 12px;
    padding: 14px;
  }
}
.profile-show .profile-info .profile-avatar-box .profile-avatar {
  width: 128px;
  height: 128px;
  border: 1px solid var(--profile-line);
  box-shadow: none;
  background: #f8fafc;
}
@media (max-width: 639px) {
  .profile-show .profile-info .profile-avatar-box .profile-avatar {
    width: 78px;
    height: 78px;
  }
}
.profile-show .profile-basic {
  min-width: 0;
}
.profile-show .profile-basic .profile-meta-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--profile-muted);
  font-size: 15px;
  font-weight: 700;
}
@media (max-width: 639px) {
  .profile-show .profile-basic .profile-meta-line {
    gap: 5px;
    margin-bottom: 8px;
    font-size: 11px;
    white-space: nowrap;
  }
}
.profile-show .profile-basic .kind-label {
  color: var(--profile-accent);
  border: 1px solid rgba(21, 159, 146, 0.35);
  background: var(--profile-accent-soft);
  border-radius: 9999px;
  padding: 3px 16px;
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .profile-show .profile-basic .kind-label {
    padding: 2px 8px;
  }
}
.profile-show .profile-basic .kind-label.corporate {
  color: #1E3A8A;
  border-color: rgba(30, 58, 138, 0.28);
  background: rgba(30, 58, 138, 0.06);
}
.profile-show .profile-basic .meta-info {
  margin-left: 0;
  color: var(--profile-muted);
  white-space: nowrap;
}
.profile-show .profile-basic .profile-name {
  margin: 0;
  color: var(--profile-ink);
  font-size: 27px;
  line-height: 1.3;
  font-weight: 900;
}
@media (max-width: 639px) {
  .profile-show .profile-basic .profile-name {
    font-size: 21px;
  }
}
.profile-show .profile-basic .profile-review {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--profile-ink);
  font-size: 18px;
  font-weight: 800;
}
@media (max-width: 639px) {
  .profile-show .profile-basic .profile-review {
    font-size: 15px;
  }
}
.profile-show .profile-basic .profile-review .stars {
  color: #f6b300;
  letter-spacing: 1px;
}
.profile-show .profile-basic .profile-review .score,
.profile-show .profile-basic .profile-review .count {
  color: var(--profile-ink);
}
.profile-show .profile-info > .profile-catch {
  grid-column: 1/-1;
  margin: 18px 0 0;
  color: #1f2937;
  font-size: 20px;
  line-height: 1.75;
  font-weight: 800;
}
@media (max-width: 639px) {
  .profile-show .profile-info > .profile-catch {
    font-size: 17px;
  }
}
.profile-show .photographer-section {
  margin: 0 0 22px;
}
@media (max-width: 639px) {
  .profile-show .photographer-section {
    margin-inline: 14px;
  }
}
.profile-show .photographer-section > .section-title {
  margin-bottom: 14px;
}
.profile-show .photographer-section .profile-card {
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
.profile-show .photographer-section .profile-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.profile-show .photographer-section .profile-body {
  padding: 24px;
}
@media (max-width: 639px) {
  .profile-show .photographer-section .profile-body {
    padding: 16px;
  }
}
.profile-show .photographer-section .profile-summary {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
@media (max-width: 639px) {
  .profile-show .photographer-section .profile-summary {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }
}
.profile-show .photographer-section .profile-avatar {
  width: 104px;
  height: 104px;
  border: 1px solid var(--profile-line);
  border-radius: 50%;
  box-shadow: none;
  background: #f8fafc;
  object-fit: cover;
}
@media (max-width: 639px) {
  .profile-show .photographer-section .profile-avatar {
    width: 68px;
    height: 68px;
  }
}
.profile-show .photographer-section .summary-info {
  min-width: 0;
}
.profile-show .photographer-section .profile-meta-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--profile-muted);
  font-size: 13px;
  font-weight: 800;
}
@media (max-width: 639px) {
  .profile-show .photographer-section .profile-meta-line {
    gap: 5px;
    font-size: 11px;
    white-space: nowrap;
  }
}
.profile-show .photographer-section .kind-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 14px;
  border: 1px solid rgba(21, 159, 146, 0.35);
  border-radius: 9999px;
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
  font-weight: 900;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .profile-show .photographer-section .kind-label {
    min-height: 22px;
    padding: 2px 8px;
  }
}
.profile-show .photographer-section .kind-label.corporate {
  color: #1E3A8A;
  border-color: rgba(30, 58, 138, 0.28);
  background: rgba(30, 58, 138, 0.06);
}
.profile-show .photographer-section .meta-info {
  margin-left: 0;
  color: var(--profile-muted);
  white-space: nowrap;
}
.profile-show .photographer-section .summary-name {
  margin: 0;
  color: var(--profile-ink);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 900;
}
@media (max-width: 639px) {
  .profile-show .photographer-section .summary-name {
    font-size: 19px;
  }
}
.profile-show .photographer-section .summary-review {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--profile-ink);
  font-size: 16px;
  font-weight: 900;
}
.profile-show .photographer-section .stars {
  color: #f6b300;
  letter-spacing: 1px;
}
.profile-show .photographer-section .profile-catch {
  margin: 18px 0 0;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 800;
}
@media (max-width: 639px) {
  .profile-show .photographer-section .profile-catch {
    font-size: 16px;
  }
}
.profile-show .profile-body {
  margin: 0 40px 24px;
}
@media (max-width: 639px) {
  .profile-show .profile-body {
    margin: 0 18px 20px;
  }
}
.profile-show .profile-body .profile-info-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin: 16px 0;
}
@media (max-width: 639px) {
  .profile-show .profile-body .profile-info-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    margin: 12px 0;
  }
}
.profile-show .profile-body .profile-info-row .label {
  min-width: 0;
  padding-top: 8px;
  color: var(--profile-ink);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 900;
}
@media (max-width: 639px) {
  .profile-show .profile-body .profile-info-row .label {
    padding-top: 6px;
    font-size: 12px;
  }
}
.profile-show .profile-body .scroll-wrapper {
  min-width: 0;
  overflow: hidden;
}
.profile-show .profile-body .profile-chip-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.profile-show .profile-body .profile-chip-slider::-webkit-scrollbar {
  display: none;
}
.profile-show .profile-body .profile-chip-slider a,
.profile-show .profile-body .profile-chip-slider .tag {
  flex: 0 0 auto;
}
.profile-show .profile-body .profile-chip-slider a {
  text-decoration: none;
}
.profile-show .profile-body .profile-chip-slider .tag, .profile-show .profile-body .profile-chip-slider.scroll-list > .tag,
.profile-show .profile-body .profile-chip-slider .tag--action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 17px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .profile-show .profile-body .profile-chip-slider .tag, .profile-show .profile-body .profile-chip-slider.scroll-list > .tag,
  .profile-show .profile-body .profile-chip-slider .tag--action {
    height: 30px;
    padding: 0 11px;
    font-size: 12px;
  }
}
.profile-show .profile-body .profile-chip-slider .tag--action {
  border-color: var(--profile-accent);
  color: var(--profile-accent);
}
.profile-show .profile-tabs {
  border-top: 1px solid var(--profile-line);
  border-bottom: 1px solid var(--profile-line);
  margin-bottom: 24px;
}
.profile-show .profile-tabs .profile-tabs__inner {
  min-height: 64px;
  padding-inline: 24px;
}
@media (max-width: 639px) {
  .profile-show .profile-tabs .profile-tabs__inner {
    min-height: 46px;
    gap: 8px;
    padding-inline: 10px;
  }
}
@media (max-width: 639px) {
  .profile-show .profile-tabs.is-sticky .profile-tabs__identity {
    display: none;
  }
}
.profile-show .profile-tabs .tab-list {
  gap: 0;
}
.profile-show .profile-tabs .tab-item {
  flex: 0 0 auto;
}
.profile-show .profile-tabs .tab-item .tab-link {
  min-width: 96px;
  padding: 20px 0 16px;
  color: #243244;
  border-bottom: 4px solid transparent;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}
@media (max-width: 639px) {
  .profile-show .profile-tabs .tab-item .tab-link {
    min-width: 62px;
    padding: 11px 0 8px;
    border-bottom-width: 3px;
    font-size: 11px;
  }
}
.profile-show .profile-tabs .tab-item.active .tab-link {
  color: var(--profile-accent);
  border-bottom-color: var(--profile-accent);
}
.profile-show .profile-tabs .tab-item.disabled .tab-link {
  color: #cbd5e1;
  border-bottom-color: transparent;
  cursor: not-allowed;
  opacity: 0.78;
  pointer-events: none;
}
.profile-show .profile-section {
  margin: 0 0 22px;
  padding: 24px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
@media (max-width: 639px) {
  .profile-show .profile-section {
    margin-inline: 14px;
    padding: 16px;
  }
}
.profile-show .profile-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.profile-show .section-title {
  margin: 0 0 16px;
  color: var(--profile-ink);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 900;
}
@media (max-width: 639px) {
  .profile-show .section-title {
    margin-bottom: 14px;
    font-size: 18px;
  }
}
.profile-show .profile-section__head .section-title {
  margin-bottom: 0;
}
.profile-show .section-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #263445;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
}
.profile-show .read-more .read-more-content {
  color: #253142;
  font-size: 16px;
  line-height: 1.9;
}
.profile-show .read-more.is-overflow label {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  transform: none;
  margin-top: 16px;
  border: 1px solid var(--profile-accent);
  border-radius: 6px;
  color: var(--profile-accent);
  background: #fff;
  font-size: 16px;
  font-weight: 900;
}
.profile-show .read-more.is-overflow label::after {
  content: none;
}
.profile-show .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}
@media (max-width: 639px) {
  .profile-show .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
}
.profile-show .gallery-grid .gallery-item {
  border-radius: 6px;
  overflow: hidden;
}
.profile-show .gallery-grid .gallery-thumb {
  aspect-ratio: 1/1;
  border-radius: 6px;
}
.profile-show .plans-list {
  display: flex;
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 0;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.profile-show .plans-list::-webkit-scrollbar {
  display: none;
}
.profile-show .plan-item {
  flex: 0 0 166px;
  padding: 10px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  box-shadow: none;
  background: #fff;
  text-decoration: none;
}
.profile-show .plan-item:hover {
  transform: none;
  box-shadow: none;
}
@media (max-width: 639px) {
  .profile-show .plan-item {
    flex-basis: 146px;
  }
}
.profile-show .plan-item .plan-thumb-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.profile-show .plan-item .plan-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1.3;
  border-radius: 6px;
  object-fit: cover;
}
.profile-show .plan-item .image-label {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 10px;
  line-height: 1;
}
.profile-show .plan-item .plan-info {
  display: block;
  padding: 10px 0 0;
}
.profile-show .plan-item .plan-title {
  margin: 0;
  color: var(--profile-ink);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}
.profile-show .plans-list--all {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  padding-bottom: 0;
}
@media (max-width: 639px) {
  .profile-show .plans-list--all {
    grid-template-columns: 1fr;
  }
}
.profile-show .plans-list--all .plan-item {
  flex: none;
  min-width: 0;
}
.profile-show .cases-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}
@media (max-width: 639px) {
  .profile-show .cases-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.profile-show .case-item {
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  box-shadow: none;
  background: #fff;
}
.profile-show .case-item:hover {
  transform: none;
  box-shadow: none;
}
.profile-show .case-item .case-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1.18;
  object-fit: cover;
}
.profile-show .case-item .case-info {
  padding: 10px;
}
.profile-show .case-item .case-title {
  margin: 0;
  color: var(--profile-ink);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 900;
  text-align: center;
}
.profile-show .review-list-v2 {
  gap: 12px;
}
.profile-show .review-card-v2 {
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  box-shadow: none;
}
.profile-show .review-card-v2 .review-top-area {
  gap: 14px;
  align-items: flex-start;
}
.profile-show .review-card-v2 .review-avatar {
  width: 54px;
  height: 54px;
  border: 1px solid var(--profile-line);
  box-shadow: none;
}
.profile-show .review-card-v2 .review-right {
  min-width: 0;
  min-height: 0;
  justify-content: flex-start;
}
.profile-show .review-card-v2 .review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 4px;
}
.profile-show .review-card-v2 .review-name {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--profile-ink);
  font-size: 17px;
  font-weight: 900;
}
.profile-show .review-card-v2 .review-meta {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  gap: 6px;
}
.profile-show .review-card-v2 .review-meta .meta-item {
  max-width: 100%;
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: #f2f6f8;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}
.profile-show .review-card-v2 .review-rating {
  gap: 2px;
  font-size: 16px;
  line-height: 1.2;
}
.profile-show .review-card-v2 .review-rating .filled {
  color: #f6b300;
}
.profile-show .review-card-v2 .review-comment {
  color: #243244;
  font-size: 15px;
  line-height: 1.8;
}
.profile-show .profile-more {
  justify-content: stretch;
}
.profile-show .profile-more .btn-more {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  padding: 0 16px;
  border-radius: 6px;
  background: #182234;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}
.profile-show .profile-more .btn-more::after {
  content: none;
}
.profile-show .profile-more .btn-more:hover {
  color: #fff;
  background: #111827;
}
.profile-show .faq-list {
  gap: 0;
  margin-top: 0;
  border-top: 1px solid var(--profile-line);
}
.profile-show .faq-item {
  border: none;
  border-bottom: 1px solid var(--profile-line);
  border-radius: 0;
}
.profile-show .faq-item .faq-question {
  padding: 16px 0;
  background: #fff;
  color: var(--profile-ink);
}
.profile-show .faq-item .faq-question:hover {
  background: #fff;
}
.profile-show .faq-item .faq-answer {
  padding: 0;
}
.profile-show .faq-item .faq-answer .answer-text {
  padding: 0 0 16px;
  color: #425466;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.profile-show .faq-item .faq-answer .answer-text p {
  margin: 0 0 0.75em;
}
.profile-show .faq-item .faq-answer .answer-text p:last-child {
  margin-bottom: 0;
}
.profile-show .faq-item.open {
  border-color: var(--profile-line);
}
.profile-show .faq-item.open .faq-question {
  background: #fff;
}
.profile-show .profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  word-break: normal;
  overflow-wrap: normal;
}
.profile-show .profile-links li {
  flex: 0 0 auto;
}
.profile-show .profile-links .sns-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--profile-line);
  border-radius: 50%;
  background: #f8fafc;
  color: var(--profile-muted);
  word-break: normal;
  overflow-wrap: normal;
}
.profile-show .profile-links .sns-link:hover {
  border-color: rgba(21, 159, 146, 0.35);
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
}
.profile-show .profile-links .sns-icon,
.profile-show .profile-links .icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-right: 0;
  color: currentColor;
  font-size: 18px;
  text-align: center;
}
.profile-show .profile-links .sns-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.profile-show .profile-links .fa-brands.sns-icon {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}
.profile-show .profile-links .fa-solid.sns-icon {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.profile-show .profile-section--external-links {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}
.profile-show .profile-section--external-links .section-title {
  margin-bottom: 10px;
  color: var(--profile-muted);
  font-size: 15px;
}
.profile-show .contact-section .form-desc {
  margin: -4px 0 18px;
  color: var(--profile-muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}
.profile-show .contact-section .contact-form-container {
  margin-bottom: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.profile-show .contact-section .contact-form__grid {
  grid-template-columns: 1fr;
  gap: 14px;
}
.profile-show .contact-section .contact-row {
  gap: 8px;
}
.profile-show .contact-section .contact-label {
  color: #223044;
  font-size: 14px;
  font-weight: 900;
}
.profile-show .contact-section .contact-label .contact-required {
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
  font-weight: 900;
}
.profile-show .contact-section .input-field,
.profile-show .contact-section .input-select,
.profile-show .contact-section .input-textarea {
  border-color: var(--profile-line);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 650;
}
.profile-show .contact-section .input-field,
.profile-show .contact-section .input-select {
  height: 46px;
  padding: 0 14px;
}
.profile-show .contact-section .input-textarea {
  min-height: 132px;
  padding: 13px 14px;
}
.profile-show .contact-section .contact-submit-btn {
  min-height: 50px;
  border-radius: 6px;
  background: var(--profile-accent);
  border-color: var(--profile-accent);
  font-size: 16px;
  font-weight: 900;
}
.profile-show .contact-section .contact-submit-btn:hover {
  background: #128d82;
  border-color: #128d82;
}
.profile-show #area-list {
  scroll-margin-top: 128px;
}
.profile-show .profile-report-link {
  display: flex;
  justify-content: center;
  margin: 22px 14px 44px;
}
.profile-show .profile-report-btn {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 430px;
  min-height: 44px;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  color: var(--profile-muted);
  font-weight: 800;
}
.profile-show .profile-report-btn:hover {
  color: var(--profile-muted);
  background: #f8fafc;
  border-color: var(--profile-line);
}

/* ============================
   プラン一覧ページ（既存）
============================ */
.plans-index {
  background: #FFFEFB;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding: 48px 24px;
  max-width: 960px;
  margin-inline: auto;
}
.plans-index .form__actions {
  text-align: center;
  margin-bottom: 40px;
}
.plans-index .form__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.plans-index .form__actions .btn:active {
  transform: translateY(1px);
}
.plans-index .form__actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.plans-index .form__actions .btn {
  background: #78C5B6;
  color: #fff;
  border-radius: 16px;
  font-weight: 600;
}
.plans-index .form__actions .btn:hover {
  opacity: 0.85;
}

/* ============================
   ファーストビュー
============================ */
.plan-cover {
  margin-bottom: 32px;
  position: relative;
}
.plan-cover .cover-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
  margin-top: 16px;
}
@media (max-width: 639px) {
  .plan-cover .cover-image {
    height: 240px;
  }
}
.plan-cover .image-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12px;
}

/* ============================
   タイトル & 説明
============================ */
.plan-main {
  margin-bottom: 40px;
}
.plan-main .plan-title {
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
}
.plan-main .plan-description {
  color: #3b4759;
  font-size: 16px;
}

/* ============================
   プラン情報カード
============================ */
.plan-info-card {
  background: #F6FAF9;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  margin-bottom: 40px;
}
@media (max-width: 639px) {
  .plan-info-card {
    padding: 16px;
    border-radius: 16px;
  }
}

.plan-info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0;
}
@media (max-width: 639px) {
  .plan-info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
.plan-info-list .info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}
.plan-info-list .info-item.full {
  grid-column: 1/-1;
  align-items: flex-start;
}
@media (max-width: 639px) {
  .plan-info-list .info-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 4px 6px;
    min-height: 86px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
  }
}
.plan-info-list .info-item .icon {
  flex-shrink: 0;
  color: #78C5B6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
@media (max-width: 639px) {
  .plan-info-list .info-item .icon {
    width: 20px;
    height: 20px;
  }
}
.plan-info-list .info-item .label {
  font-weight: 600;
  color: #334155;
  min-width: 90px;
  display: flex;
  align-items: center;
}
@media (max-width: 639px) {
  .plan-info-list .info-item .label {
    min-width: 0;
    font-size: 11px;
    line-height: 1.35;
  }
}
.plan-info-list .info-item .value {
  flex: 1;
  color: #1f2a37;
  flex-wrap: wrap;
  line-height: 1.5;
}
@media (max-width: 639px) {
  .plan-info-list .info-item .value {
    grid-column: 1/-1;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
}

/* ============================
   行の整形（アイコン位置修正）
============================ */
.prefecture-row,
.city-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.prefecture-row .icon,
.city-row .icon {
  margin-top: 3px;
  flex-shrink: 0;
}
.prefecture-row .label,
.city-row .label {
  font-weight: 600;
  min-width: 120px;
  margin-top: 3px;
}
.prefecture-row .value,
.city-row .value {
  flex: 1;
}

.travel-area-card {
  margin: 32px 0;
}
.travel-area-card .inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.travel-area-card .inline-list .item {
  white-space: nowrap;
  font-size: 15px;
  color: #1f2a37;
}

/* ============================
   アクションボタン
============================ */
.plan-actions {
  margin-top: 40px;
  display: flex;
  gap: 24px;
}
@media (max-width: 639px) {
  .plan-actions {
    flex-direction: column;
  }
}

.plan-thumb-wrapper {
  position: relative;
  overflow: hidden;
}
.plan-thumb-wrapper .image-label {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 4px;
  line-height: 1;
}
@media (max-width: 639px) {
  .plan-thumb-wrapper .image-label {
    bottom: 6px;
    right: 6px;
    font-size: 10px;
  }
}

.plans-index {
  max-width: 960px;
  margin-inline: auto;
  padding: 40px 24px;
}
.plans-index h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 24px;
}
.plans-index .new-plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.plans-index .new-plan-btn:active {
  transform: translateY(1px);
}
.plans-index .new-plan-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.plans-index .new-plan-btn {
  background: #78C5B6;
  color: #fff;
  font-weight: 600;
  margin-bottom: 24px;
  padding: 6px 18px;
  border-radius: 16px;
  font-size: 0.9rem;
}
.plans-index .new-plan-btn:hover {
  background: rgb(102.1632124352, 189.3367875648, 172.3549222798);
}
.plans-index .plan-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plans-index .plan-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
.plans-index .plan-card:hover {
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.plans-index .plan-card .plan-thumb {
  width: 110px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
}
.plans-index .plan-card .plan-info {
  flex: 1;
}
.plans-index .plan-card .plan-info .plan-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 4px;
}
.plans-index .plan-card .plan-info .plan-meta {
  font-size: 0.85rem;
  color: #3b4759;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.plans-index .plan-card .plan-info .plan-meta strong {
  color: #273449;
}
.plans-index .plan-card .plan-info .plan-status {
  display: inline-block;
  background: rgba(76, 175, 147, 0.08);
  color: #4CAF93;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
}
.plans-index .plan-card .plan-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.plans-index .plan-card .plan-actions .action-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.plans-index .plan-card .plan-actions .duplicate-row {
  width: 100%;
}
.plans-index .plan-card .plan-actions .duplicate-row .duplicate-form {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}
.plans-index .plan-card .plan-actions .duplicate-row .duplicate-select {
  height: 32px;
  font-size: 0.85rem;
  padding: 0 8px;
  flex: 1;
  min-width: 160px;
}
.plans-index .plan-card .plan-actions .duplicate-row .duplicate-btn {
  height: 32px;
  padding: 0 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 10px;
  flex-shrink: 0;
}
.plans-index .plan-card .plan-actions .btn {
  font-size: 0.8rem;
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1;
}
.plans-index .plan-card .plan-actions .btn--arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border-radius: 50%;
  background: #F6FAF9;
  border: 1px solid #cbd5e1;
  color: #334155;
  transition: background-color 0.2s, color 0.2s;
}
.plans-index .plan-card .plan-actions .btn--arrow:hover {
  background: #78C5B6;
  color: #fff;
}
.plans-index .plan-card .plan-actions .btn--edit {
  background: #78C5B6;
  color: #fff;
  border: none;
}
.plans-index .plan-card .plan-actions .btn--edit:hover {
  background: rgb(102.1632124352, 189.3367875648, 172.3549222798);
}
.plans-index .plan-card .plan-actions .btn--delete {
  border: 1px solid #E46A6A;
  color: #E46A6A;
  background: transparent;
}
.plans-index .plan-card .plan-actions .btn--delete:hover {
  background: rgba(228, 106, 106, 0.1);
}
.plans-index .plan-card .plan-actions .btn--copy {
  background: #F6FAF9;
  border: 1px solid #cbd5e1;
  color: #273449;
}
.plans-index .plan-card .plan-actions .btn--copy:hover {
  background: rgb(229.6071428571, 240.8928571429, 238.0714285714);
}
@media (max-width: 639px) {
  .plans-index .plan-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 16px 24px;
  }
  .plans-index .plan-card .plan-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
  }
  .plans-index .plan-card .plan-info {
    margin-top: 16px;
  }
  .plans-index .plan-card .plan-actions {
    align-items: stretch;
  }
  .plans-index .plan-card .plan-actions .action-row {
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .plans-index .plan-card .plan-actions .duplicate-row {
    margin-top: 8px;
  }
  .plans-index .plan-card .plan-actions .duplicate-row .duplicate-form {
    justify-content: space-between;
    gap: 8px;
  }
  .plans-index .plan-card .plan-actions .duplicate-row .duplicate-select {
    flex: 1;
    width: 100%;
  }
}

.plan-thumb-wrapper {
  position: relative;
  overflow: hidden;
}
.plan-thumb-wrapper .image-label {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 4px;
  line-height: 1;
}
@media (max-width: 639px) {
  .plan-thumb-wrapper .image-label {
    bottom: 6px;
    right: 6px;
    font-size: 10px;
  }
}

/* ============================
   SubPlan（階層表示）
============================ */
.subplan-wrapper {
  margin: 12px 0 32px 40px;
  padding-left: 20px;
  border-left: 2px solid #cbd5e1;
}
.subplan-wrapper .subplan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.subplan-wrapper .subplan-header span.count {
  color: #475569;
  font-size: 0.85rem;
}
.subplan-wrapper .subplan-header .btn--subplan-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.subplan-wrapper .subplan-header .btn--subplan-add:active {
  transform: translateY(1px);
}
.subplan-wrapper .subplan-header .btn--subplan-add:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.subplan-wrapper .subplan-header .btn--subplan-add {
  background: #78C5B6;
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 10px;
}
.subplan-wrapper .subplan-header .btn--subplan-add:hover {
  opacity: 0.85;
}
.subplan-wrapper .subplan-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
@media (max-width: 639px) {
  .subplan-wrapper .subplan-list {
    gap: 32px;
  }
}
.subplan-wrapper .subplan-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  background: #F6FAF9;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}
.subplan-wrapper .subplan-card .subplan-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2a37;
  margin-bottom: 2px;
}
.subplan-wrapper .subplan-card .subplan-meta {
  font-size: 0.8rem;
  color: #3b4759;
}
.subplan-wrapper .subplan-card .subplan-meta strong {
  color: #273449;
}
.subplan-wrapper .subplan-card .subplan-actions {
  display: flex;
  gap: 4px;
}
.subplan-wrapper .subplan-card .subplan-actions .btn--xs {
  font-size: 0.75rem;
  padding: 2px 8px;
  height: 26px;
}
.subplan-wrapper .subplan-footer {
  margin-top: 8px;
}
.subplan-wrapper .subplan-footer .btn--subplan-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.subplan-wrapper .subplan-footer .btn--subplan-add:active {
  transform: translateY(1px);
}
.subplan-wrapper .subplan-footer .btn--subplan-add:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.subplan-wrapper .subplan-footer .btn--subplan-add {
  background: #78C5B6;
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 10px;
}

/* スマホ対応 */
@media (max-width: 639px) {
  .subplan-wrapper {
    margin-left: 20px;
    padding-left: 12px;
  }
  .subplan-card {
    flex-direction: column !important;
  }
  .subplan-card .subplan-actions {
    justify-content: flex-start;
  }
}
/* ======================================
   SubPlan の矢印ボタンが見えない問題を修正
====================================== */
/* --- 基本デザインの統一＆上書き防止 --- */
.subplan-card .subplan-actions .btn--arrow,
.plan-card .btn--arrow {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px; /* ← アイコンを大きく */
  line-height: 0; /* ← ずれ防止 */
  padding: 0;
  /* ★ ここで色を強制的に設定 */
  background: #ffffff !important; /* ← 白背景（カードと被らない） */
  border: 1px solid #94a3b8 !important;
  color: #334155 !important; /* ← 文字（矢印）を濃いめ */
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* --- ホバー時 --- */
.subplan-card .subplan-actions .btn--arrow:hover,
.plan-card .btn--arrow:hover {
  background: #78C5B6 !important; /* ← プライマリ色でハイライト */
  border-color: #78C5B6 !important;
  color: #fff !important;
}

/* ============================
   SubPlan 画像つきレイアウト
============================ */
.subplan-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.subplan-card .subplan-thumb-wrapper {
  flex-shrink: 0;
}
.subplan-card .subplan-thumb {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
}
.subplan-card .subplan-info {
  flex: 1;
}
.subplan-card .subplan-info .subplan-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: #1f2a37;
}
.subplan-card .subplan-info .subplan-summary {
  font-size: 0.8rem;
  color: #3b4759;
  margin-bottom: 4px;
}
.subplan-card .subplan-info .subplan-meta {
  font-size: 0.8rem;
  color: #3b4759;
}
.subplan-card .subplan-info .subplan-meta strong {
  color: #273449;
}
.subplan-card .subplan-actions {
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex-shrink: 0;
}

/* スマホ対応 */
@media (max-width: 639px) {
  .subplan-card {
    flex-direction: column;
  }
  .subplan-card .subplan-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
  .subplan-card .subplan-actions {
    margin-top: 8px;
  }
}
.l_border_none {
  margin: 12px 0 32px;
  padding-left: 0;
  border: none;
}

.subplan-summary-text {
  font-size: 1.15rem; /* 説明文より少し大きく */
  font-weight: 600; /* 少しだけ強調 */
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ==============================
   事例一覧ページ（変更なし）
============================== */
.cases-index {
  max-width: 960px;
  margin-inline: auto;
  padding: 48px 24px;
  background: #FFFEFB;
}
.cases-index .new-item-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.cases-index .new-item-btn:active {
  transform: translateY(1px);
}
.cases-index .new-item-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.cases-index .new-item-btn {
  background: #78C5B6;
  color: #fff;
  font-weight: 600;
  margin-bottom: 40px;
  padding: 16px 32px;
  border-radius: 16px;
  transition: background-color 0.2s ease;
  display: inline-block;
}
.cases-index .new-item-btn:hover {
  background: rgb(102.1632124352, 189.3367875648, 172.3549222798);
}
.cases-index .case-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cases-index .case-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: box-shadow 0.2s ease;
}
.cases-index .case-card:hover {
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.cases-index .case-card .case-thumb {
  width: 140px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  background: #F6FAF9;
  border: 1px solid #e2e8f0;
}
.cases-index .case-card .case-info {
  flex: 1;
}
.cases-index .case-card .case-info .case-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 4px;
}
.cases-index .case-card .case-info .case-meta {
  font-size: 0.9rem;
  color: #3b4759;
}
.cases-index .case-card .case-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
@media (max-width: 639px) {
  .cases-index .case-card {
    flex-direction: column;
    padding: 24px;
  }
  .cases-index .case-card .case-thumb {
    width: 100%;
    aspect-ratio: 16/9;
  }
}

/* ==============================
   事例詳細ページ（case#show）
============================== */
.case-show {
  background-color: #FFFEFB;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding: 48px 24px;
  /* ---- スマホでは背景を完全に透明に ---- */
}
@media (max-width: 639px) {
  .case-show {
    background: none;
    padding: 16px 16px 32px;
  }
}
.case-show {
  /* ---- 背景の画像 ---- */
}
.case-show .case-hero {
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin-bottom: 40px;
}
.case-show .case-hero .case-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-show .case-hero {
  /* ---- スマホで縦長になりすぎを防ぐ ---- */
}
@media (max-width: 639px) {
  .case-show .case-hero {
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
  }
}
.case-show {
  /* ---- コンテンツカード（PCのみ白） ---- */
}
.case-show .case-content {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 40px;
  margin: 0 auto;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
@media (max-width: 639px) {
  .case-show .case-content {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }
}
.case-show .case-content {
  /* ---- タイトル ---- */
}
.case-show .case-content .case-header {
  margin-bottom: 32px;
}
.case-show .case-content .case-header .case-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1f2a37;
}
@media (max-width: 639px) {
  .case-show .case-content .case-header .case-title {
    font-size: 1.3rem;
    line-height: 1.4;
  }
}
.case-show .case-content {
  /* ===========================
     メタ情報（カテゴリー/場所/施設名）
     → 小さく控えめに
  =========================== */
}
.case-show .case-content .case-meta-box {
  margin-bottom: 32px;
}
.case-show .case-content .case-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-show .case-content .case-meta-list .meta-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.case-show .case-content .case-meta-list .meta-item .icon {
  color: #334155;
}
.case-show .case-content .case-meta-list .meta-item .label {
  font-size: 0.85rem;
  color: #334155;
  font-weight: 600;
}
.case-show .case-content .case-meta-list .meta-item .value {
  font-size: 0.85rem;
  color: #273449;
}
@media (max-width: 639px) {
  .case-show .case-content .case-meta-list .meta-item .label,
  .case-show .case-content .case-meta-list .meta-item .value {
    font-size: 0.8rem;
  }
}
.case-show .case-content {
  /* ---- 本文 ---- */
}
.case-show .case-content .case-body {
  color: #1f2a37;
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 40px;
}
.case-show .case-content .case-body p {
  margin-bottom: 16px;
}

.value ul, .value li {
  margin: 0;
  padding: 0;
}

.review-index {
  background-color: #FFFEFB;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding: 48px 24px;
  max-width: 1000px;
  margin-inline: auto;
}
.review-index .form__actions {
  text-align: center;
  margin-bottom: 32px;
}
.review-index .form__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.review-index .form__actions .btn:active {
  transform: translateY(1px);
}
.review-index .form__actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.review-index .form__actions .btn {
  background: #78C5B6;
  color: #fff;
  font-weight: 600;
  border-radius: 16px;
}
.review-index .form__actions .btn:hover {
  background: rgb(102.1632124352, 189.3367875648, 172.3549222798);
}
.review-index .review-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.review-index .review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  transition: box-shadow 0.2s ease;
}
.review-index .review-card:hover {
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.review-index .review-card .review-thumb-wrap {
  flex-shrink: 0;
  width: 240px;
  height: 160px;
}
.review-index .review-card .review-thumb-wrap .review-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #F6FAF9;
  border: 1px solid #e2e8f0;
}
.review-index .review-card .review-info {
  flex: 1;
}
.review-index .review-card .review-info .review-header {
  margin-bottom: 16px;
}
.review-index .review-card .review-info .review-header .review-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 2px;
}
.review-index .review-card .review-info .review-header .review-category {
  font-size: 0.9rem;
  color: #3b4759;
}
.review-index .review-card .review-info .review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #334155;
}
.review-index .review-card .review-info .review-meta .meta-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}
.review-index .review-card .review-info .review-meta .meta-rating .star {
  font-size: 14px;
}
.review-index .review-card .review-info .review-meta .meta-rating .star.filled {
  color: #F7B7A3;
}
.review-index .review-card .review-info .review-meta .meta-rating .star.empty {
  color: #cbd5e1;
}
.review-index .review-card .review-info .review-comment {
  color: #273449;
  font-size: 0.9rem;
  line-height: 1.6;
}
.review-index .review-card .review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.review-index .review-card .review-actions .btn {
  font-size: 0.85rem;
  padding: 0.4em 0.9em;
  border-radius: 10px;
}
@media (max-width: 639px) {
  .review-index .review-card {
    flex-direction: column;
    align-items: stretch;
  }
  .review-index .review-card .review-thumb-wrap {
    width: 100%;
    height: auto;
  }
  .review-index .review-card .review-thumb-wrap .review-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
  }
  .review-index .review-card .review-actions {
    justify-content: center;
  }
}
.review-index .no-data {
  padding: 32px;
  color: #3b4759;
  text-align: center;
  background-color: #F6FAF9;
  border-radius: 16px;
}
@media (max-width: 639px) {
  .review-index .no-data {
    padding: 24px;
    font-size: 14px;
  }
}

.review-show {
  background-color: #FFFEFB;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding: 48px 24px;
}
.review-show .review-hero {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 520px;
  overflow: hidden;
  margin-bottom: 48px;
  background-color: #F6FAF9;
}
.review-show .review-hero .review-hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background-color: #F6FAF9;
}
@media (max-width: 639px) {
  .review-show .review-hero {
    aspect-ratio: 4/3;
    max-height: 420px;
  }
}
.review-show .review-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
@media (max-width: 639px) {
  .review-show .review-content {
    padding: 24px;
    margin: 0 16px;
  }
}
.review-show .review-content .review-header {
  text-align: center;
  margin-bottom: 40px;
}
.review-show .review-content .review-header .review-title {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 32px;
}
@media (max-width: 639px) {
  .review-show .review-content .review-header .review-title {
    font-size: clamp(16px, 1.6vw, 24px);
    margin-bottom: 24px;
  }
}
.review-show .review-content .meta-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 8px;
  column-gap: 24px;
  justify-content: center;
  margin: 0 auto 40px;
  max-width: 400px;
}
@media (max-width: 639px) {
  .review-show .review-content .meta-list {
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 16px;
  }
}
.review-show .review-content .meta-list dt {
  font-weight: 600;
  color: #334155;
}
.review-show .review-content .meta-list dd {
  color: #1f2a37;
  line-height: 1.6;
}
.review-show .review-content .meta-list .rating {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.review-show .review-content .meta-list .rating .star {
  font-size: 18px;
  line-height: 1;
}
.review-show .review-content .meta-list .rating .star.filled {
  color: #F7B7A3;
}
.review-show .review-content .meta-list .rating .star.empty {
  color: #cbd5e1;
}
.review-show .review-content .meta-list .rating .rating-score {
  font-size: 14px;
  color: #64748b;
}
.review-show .review-content .review-body .comment-title {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 600;
  color: #334155;
  margin-bottom: 16px;
}
@media (max-width: 639px) {
  .review-show .review-content .review-body .comment-title {
    text-align: center;
  }
}
.review-show .review-content .review-body .comment-text {
  font-size: 16px;
  line-height: 1.9;
  color: #1f2a37;
  white-space: pre-wrap;
}
@media (max-width: 639px) {
  .review-show .review-content .review-body .comment-text {
    font-size: 15px;
    line-height: 1.8;
  }
}
.review-show .review-content .review-body .comment-text p {
  margin-bottom: 16px;
}
.review-show .review-content .review-actions {
  text-align: center;
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 639px) {
  .review-show .review-content .review-actions {
    margin-top: 32px;
    gap: 16px;
  }
}

.public-profile-preview {
  background: #f8f9fb;
  border: 1px solid #e3e6ec;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 32px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.public-profile-preview .preview-image-wrapper {
  position: relative;
}
.public-profile-preview .preview-image {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
}
.public-profile-preview .image-label {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}
.public-profile-preview .preview-info .preview-name {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
}
.public-profile-preview .preview-info .preview-catch {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.review-index .page-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}
.review-index .wide-btn {
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  border-radius: 8px;
}
.review-index {
  /* ---- review share card ---- */
}
.review-index .review-share-card {
  background: #ffffff;
  border: 1px solid #e8edf0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.review-index .review-share-label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}
.review-index .review-share-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-index .review-share-input {
  flex: 1;
  padding: 12px;
  background: #f7fbfc;
  border: 1px solid #d7e3e8;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
}
.review-index .copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #e0f4f1; /* 薄いグリーン */
  border: 1px solid #9fd3cb; /* 枠も濃くする */
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #22756b; /* ←文字色を濃いグリーンにする */
  transition: 0.2s ease;
}
.review-index .copy-btn .icon {
  stroke: #22756b; /* アイコンの色も濃く */
}
.review-index .copy-btn:hover {
  background: #d2ebe7;
  border-color: #88c8c0;
}

.public-profile-preview {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f7f9fa;
  padding: 20px 24px;
  border-radius: 16px;
  margin-bottom: 32px;
  border: 1px solid #e5ecef;
}
.public-profile-preview .preview-left {
  flex-shrink: 0;
}
.public-profile-preview .preview-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
.public-profile-preview .preview-right {
  display: flex;
  flex-direction: column;
}
.public-profile-preview .preview-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #1a1a1a;
}
.public-profile-preview .preview-catch {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.review-form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -14px 0 24px;
  padding: 14px 16px;
  border: 1px solid #d6e7e3;
  border-radius: 12px;
  background: #f2faf8;
  color: #22756b;
}
.review-form-note svg {
  flex: 0 0 auto;
  margin-top: 2px;
}
.review-form-note p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.review-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-card-v2 {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e8ee;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* 上部：アイコン + 情報 */
}
.review-card-v2 .review-top-area {
  display: flex;
  gap: 20px;
  /* ←ここを center にすることで
       アイコンと右側3行ブロックの中心がピッタリ合う */
  align-items: center;
}
.review-card-v2 .review-left {
  flex-shrink: 0;
}
.review-card-v2 {
  /* アイコンサイズを拡張（足りないときは大きく） */
}
.review-card-v2 .review-avatar {
  width: 80px; /* ←元は64px → 80pxに拡大 */
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.review-card-v2 {
  /* 右側の3行をまとめて高さを持たせる */
}
.review-card-v2 .review-right {
  display: flex;
  flex-direction: column;
  justify-content: center; /* ←上下中央 */
  /* アイコンと同じ高さに合わせるため */
  min-height: 80px; /* ←アイコンの高さと揃える */
}
.review-card-v2 .review-name {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}
.review-card-v2 .review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.review-card-v2 .review-meta .meta-item {
  background: #f1f5f8;
  padding: 4px 8px;
  font-size: 12px;
  color: #555;
  border-radius: 6px;
}
.review-card-v2 .review-rating {
  display: flex;
  gap: 2px;
  font-size: 18px;
}
.review-card-v2 .review-rating .filled {
  color: #f3b400;
}
.review-card-v2 .review-rating .empty {
  color: #d8d8d8;
}
.review-card-v2 {
  /* コメント（左端から） */
}
.review-card-v2 .review-comment-block {
  margin-left: 0;
  padding-left: 0;
}
.review-card-v2 .review-comment {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.review-card-v2 .review-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.review-card-v2 .review-gallery__item {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  box-shadow: none;
  transform: none;
  transition: none;
}
.review-card-v2 .review-gallery__image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
@media (max-width: 639px) {
  .review-card-v2 .review-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .review-card-v2 .review-right {
    min-height: auto;
    justify-content: flex-start;
  }
  .review-card-v2 .review-avatar {
    width: 70px;
    height: 70px;
  }
}

.faq-index {
  background: #FFFEFB;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding: 48px 24px;
  max-width: 960px;
  margin-inline: auto;
}
.faq-index .form__actions {
  text-align: center;
  margin-bottom: 40px;
}
.faq-index .form__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.faq-index .form__actions .btn:active {
  transform: translateY(1px);
}
.faq-index .form__actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.faq-index .form__actions .btn {
  background: #78C5B6;
  color: #fff;
  border-radius: 16px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.faq-index .form__actions .btn:hover {
  opacity: 0.85;
}
.faq-index .faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-index .faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  transition: box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
.faq-index .faq-card:hover {
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
}
.faq-index .faq-card .faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1f2a37;
  margin-bottom: 16px;
}
.faq-index .faq-card .faq-answer {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.faq-index .faq-card .faq-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.faq-index .faq-card .faq-controls .order-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-index .faq-card .faq-controls .order-buttons .btn {
  font-size: 13px;
  padding: 0.3em 0.7em;
  border-radius: 10px;
}
.faq-index .faq-card .faq-controls .faq-ops {
  display: flex;
  align-items: center;
  gap: 16px;
}
.faq-index .faq-card .faq-controls .faq-ops .btn {
  font-size: 13px;
  padding: 0.35em 0.8em;
  border-radius: 10px;
  white-space: nowrap;
}
.faq-index .faq-card .faq-controls .faq-ops .btn--info {
  background: #F6FAF9;
  color: #334155;
}
.faq-index .faq-card .faq-controls .faq-ops .btn--info:hover {
  background: rgba(0, 0, 0, 0.05);
}
.faq-index .faq-card .faq-controls .faq-ops .btn--primary {
  background: #78C5B6;
  color: #fff;
}
.faq-index .faq-card .faq-controls .faq-ops .btn--primary:hover {
  opacity: 0.85;
}
.faq-index .faq-card .faq-controls .faq-ops .btn--danger-outline {
  border: 1px solid #E46A6A;
  color: #E46A6A;
  background: transparent;
}
.faq-index .faq-card .faq-controls .faq-ops .btn--danger-outline:hover {
  background: rgba(228, 106, 106, 0.08);
}
.faq-index .no-data {
  text-align: center;
  color: #3b4759;
  background: #F6FAF9;
  border-radius: 16px;
  padding: 32px;
}
@media (max-width: 639px) {
  .faq-index {
    padding: 32px 16px;
  }
  .faq-index .faq-card {
    padding: 24px;
  }
  .faq-index .faq-card .faq-question {
    font-size: 1rem;
  }
  .faq-index .faq-card .faq-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .faq-index .faq-card .faq-controls .order-buttons {
    width: 100%;
    justify-content: flex-start;
  }
  .faq-index .faq-card .faq-controls .faq-ops {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* =====================================
   Creator Management Pages
===================================== */
.creator-management {
  max-width: 980px;
  margin-inline: auto;
  padding: 20px 16px 128px;
  background: #FFFEFB;
  color: #1f2a37;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  word-break: normal;
}
.creator-management .menu-header {
  margin: 0;
}
.creator-management .menu-header__kind {
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.creator-management .menu-header__title {
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0;
  line-height: 1.25;
}

.creator-management__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.creator-management__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.creator-management__back:hover {
  color: #1f2a37;
}

.creator-management__hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #172033 0%, #243047 58%, #24544c 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.13);
}

.creator-management__hero-main {
  min-width: 0;
}

.creator-management__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #bde7df;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.creator-management__lead {
  max-width: 560px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

.creator-management__hero-actions {
  flex: 0 0 auto;
}

.creator-management__primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: #fff;
  color: #1f2a37;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}
.creator-management__primary-action:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.creator-management__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.creator-management__stat {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d9e6e3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.creator-management__stat svg {
  color: #3B7A57;
}
.creator-management__stat span {
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}
.creator-management__stat strong {
  color: #1f2a37;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.management-tool-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #d9e6e3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.management-tool-panel__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.management-tool-panel__main h2 {
  margin: 0 0 2px;
  color: #1f2a37;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
}
.management-tool-panel__main p {
  margin: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.review-request-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  max-width: 620px;
  color: #3B7A57;
}
.review-request-note svg {
  flex: 0 0 auto;
  margin-top: 2px;
}
.review-request-note span {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
}

.management-tool-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #e6f4f1;
  color: #3B7A57;
}

.review-share-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(420px, 48%);
}

.review-share-input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d6e7e3;
  border-radius: 8px;
  background: #f7fbfa;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-management .copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #b9d6cf;
  border-radius: 8px;
  background: #e6f4f1;
  color: #3B7A57;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.creator-management .copy-btn.copied {
  background: #1f2a37;
  border-color: #1f2a37;
  color: #fff;
}

.management-list {
  display: grid;
  gap: 14px;
}

.management-card {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d9e6e3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.management-card--faq {
  grid-template-columns: minmax(0, 1fr);
}

.management-card__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #F6FAF9;
  border: 1px solid #e2e8f0;
  aspect-ratio: 4/3;
}

.management-card__media--avatar {
  width: 118px;
  height: 118px;
  align-self: center;
  justify-self: center;
  border-radius: 50%;
  aspect-ratio: 1/1;
}

.management-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.management-status {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}
.management-status.is-active {
  background: #3B7A57;
}
.management-status.is-muted {
  background: #475569;
}

.management-card__body {
  min-width: 0;
}

.management-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.management-card__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 3px;
  color: #3B7A57;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.management-card__title {
  margin: 0;
  color: #1f2a37;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.management-card__description {
  margin: 0 0 12px;
  color: #3b4759;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.management-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.management-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #3b4759;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.management-meta__item svg {
  color: #64748b;
}

.management-rating {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex: 0 0 auto;
  padding-top: 2px;
}
.management-rating .star {
  font-size: 16px;
  line-height: 1;
}
.management-rating .is-filled {
  color: #e2a72e;
}
.management-rating .is-empty {
  color: #cbd5e1;
}

.management-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.management-action-form {
  display: inline-flex;
  margin: 0;
}

.management-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #273449;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
}
.management-action:hover {
  text-decoration: none;
}

.management-action--primary {
  border-color: #b9d6cf;
  background: #e6f4f1;
  color: #3B7A57;
}

.management-action--ghost {
  background: #fff;
  color: #334155;
}

.management-action--danger {
  border-color: rgba(228, 106, 106, 0.36);
  background: #fff;
  color: #E46A6A;
}

.management-action--compact {
  min-height: 38px;
  padding-inline: 11px;
}

.management-order-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.management-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.management-duplicate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed #b9d6cf;
  border-radius: 8px;
  background: #f7fbfa;
}

.management-duplicate__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b4759;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.management-duplicate__form {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.management-duplicate__select {
  width: 200px;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13px;
}

.management-subsection {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #e2e8f0;
}

.management-subsection__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.management-subsection__head div {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.management-subsection__head strong {
  color: #1f2a37;
  font-size: 13px;
  font-weight: 900;
}

.management-subsection__label {
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.management-subsection__add {
  color: #3B7A57;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.management-subitems {
  display: grid;
  gap: 8px;
}

.management-subitem {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 0;
  border-top: 1px solid #edf2f7;
}
.management-subitem:first-child {
  border-top: 0;
}

.management-subitem__thumb {
  width: 64px;
  height: 48px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #F6FAF9;
}

.management-subitem__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.management-subitem__main {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.management-subitem__main strong {
  color: #1f2a37;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.management-subitem__main span {
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.management-subitem__actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.management-mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.management-mini-action.is-primary {
  border-color: #b9d6cf;
  background: #e6f4f1;
  color: #3B7A57;
}
.management-mini-action.is-danger {
  border-color: rgba(228, 106, 106, 0.34);
  color: #E46A6A;
}

.management-subsection__empty {
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.management-empty-state {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 40px 18px;
  border: 1px solid #d9e6e3;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
.management-empty-state svg {
  color: #3B7A57;
}
.management-empty-state h2 {
  margin: 0;
  color: #1f2a37;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}
.management-empty-state p {
  max-width: 460px;
  margin: 0 0 4px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}
.management-empty-state .creator-management__primary-action {
  border-color: #b9d6cf;
  background: #e6f4f1;
  color: #3B7A57;
}

@media (max-width: 639px) {
  .creator-management {
    padding: 14px 12px 120px;
  }
  .creator-management .menu-header__title {
    font-size: 24px;
  }
  .creator-management__hero {
    display: grid;
    gap: 18px;
    padding: 20px 16px;
  }
  .creator-management__hero-actions,
  .creator-management__primary-action {
    width: 100%;
  }
  .creator-management__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .creator-management__stat {
    padding: 12px;
  }
  .creator-management__stat strong {
    font-size: 18px;
  }
  .management-tool-panel {
    display: grid;
    gap: 13px;
    padding: 14px;
  }
  .review-share-input-wrapper {
    min-width: 0;
    width: 100%;
  }
  .review-share-input {
    font-size: 12px;
  }
  .management-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .management-card__media {
    aspect-ratio: 16/9;
  }
  .management-card__media--avatar {
    width: 96px;
    height: 96px;
    aspect-ratio: 1/1;
  }
  .management-card__head {
    align-items: flex-start;
    gap: 8px;
  }
  .management-card__title {
    font-size: 16px;
  }
  .management-meta {
    gap: 6px;
  }
  .management-meta__item {
    font-size: 11px;
  }
  .management-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .management-card__actions .management-action,
  .management-card__actions .management-action-form {
    width: 100%;
  }
  .management-card__actions .management-action {
    min-height: 40px;
  }
  .management-duplicate {
    display: grid;
    gap: 9px;
  }
  .management-duplicate__form {
    width: 100%;
  }
  .management-duplicate__select {
    flex: 1;
    width: 100%;
    min-width: 0;
  }
  .management-subitem {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
  }
  .management-subitem__thumb {
    width: 54px;
    height: 44px;
  }
  .management-subitem__actions {
    grid-column: 1/-1;
    justify-content: flex-start;
  }
}
.recruit-job-fv {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #F6FAF9;
}
@media (max-width: 639px) {
  .recruit-job-fv {
    height: 220px;
  }
}
.recruit-job-fv__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-job-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
  background: #ffffff;
}

.recruit-job-title {
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 16px;
}

.recruit-job-lead {
  font-size: 18px;
  color: #3b4759;
  margin-bottom: 40px;
  line-height: 1.8;
}

.recruit-job-heading {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: #273449;
  margin-bottom: 16px;
  border-left: 4px solid #78C5B6;
  padding-left: 16px;
}

.recruit-job-list {
  margin-left: 24px;
  margin-bottom: 24px;
}
.recruit-job-list li {
  margin-bottom: 8px;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
  list-style: disc;
}

.recruit-job-cta {
  margin-top: 48px;
  background: #F6FAF9;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
}
.recruit-job-cta__text {
  color: #3b4759;
  margin-bottom: 24px;
  font-size: 16px;
}

.recruit-job-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.recruit-job-btn:active {
  transform: translateY(1px);
}
.recruit-job-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.recruit-job-btn {
  background-color: #78C5B6;
  color: #fff;
  font-size: 16px;
  padding: 16px 32px;
  border: none;
}
.recruit-job-btn:hover {
  opacity: 0.9;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}

.recruit-job-faq {
  margin-top: 48px;
}
.recruit-job-faq .recruit-job-faq-item {
  background: #F6FAF9;
  border-radius: 16px;
  padding: 24px 24px 16px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}
.recruit-job-faq .recruit-job-faq-q,
.recruit-job-faq .recruit-job-faq-a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.recruit-job-faq .recruit-job-faq-q p,
.recruit-job-faq .recruit-job-faq-a p {
  color: #273449;
  line-height: 1.8;
  margin: 0;
}
.recruit-job-faq .recruit-job-faq-q {
  font-weight: 700;
}
.recruit-job-faq .recruit-job-faq-q p {
  color: #1f2a37;
}
.recruit-job-faq .recruit-job-faq-a p {
  color: #334155;
}
.recruit-job-faq .recruit-job-faq-label {
  border-radius: 50%;
}
.recruit-job-faq .recruit-job-faq-label::before {
  content: "";
}
.recruit-job-faq .recruit-job-faq-label .q, .recruit-job-faq .recruit-job-faq-label .a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  font-size: 14px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
}
.recruit-job-faq .recruit-job-faq-label .q {
  background-color: #78C5B6;
}
.recruit-job-faq .recruit-job-faq-label .a {
  background-color: #F7B7A3;
}
.recruit-job-faq .recruit-job-faq-q .recruit-job-faq-label {
  background-color: #78C5B6;
}
.recruit-job-faq .recruit-job-faq-a .recruit-job-faq-label {
  background-color: #F7B7A3;
}

.recruit-top-title {
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 700;
  color: #1f2a37;
  margin-bottom: 24px;
  text-align: center;
}
@media (max-width: 639px) {
  .recruit-top-title {
    font-size: 22px;
  }
}

.recruit-top-lead {
  max-width: 960px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: #334155;
  text-align: center;
  line-height: 1.8;
}
@media (max-width: 639px) {
  .recruit-top-lead {
    padding: 0 24px;
    font-size: 15px;
  }
}

.recruit-section {
  max-width: 960px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
@media (max-width: 639px) {
  .recruit-section {
    margin-bottom: 40px;
  }
}

.recruit-section-title {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: #273449;
  border-left: 4px solid #78C5B6;
  padding-left: 16px;
  margin-bottom: 24px;
}

.recruit-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.recruit-category-item {
  flex: 0 1 calc(25% - 16px);
}
@media (max-width: 639px) {
  .recruit-category-item {
    flex: 0 1 calc(50% - 16px);
  }
}

.recruit-category-link {
  display: block;
  background: #F6FAF9;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  font-size: 15px;
  color: #273449;
  border: 1px solid #e2e8f0;
}
.recruit-category-link:hover {
  background: #78C5B6;
  color: #fff;
  transition: 0.2s ease-in-out;
}

.recruit-prefecture-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.recruit-pref-item {
  flex: 0 1 calc(12.5% - 16px);
}
@media (max-width: 639px) {
  .recruit-pref-item {
    flex: 0 1 calc(33.3% - 16px);
  }
}

.recruit-pref-link {
  display: block;
  padding: 16px 8px;
  text-align: center;
  background: #F6FAF9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #273449;
  font-size: 14px;
}
.recruit-pref-link:hover {
  background: #78C5B6;
  color: #fff;
  transition: 0.2s;
}

.recruit-subtitle {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 700;
  color: #273449;
  margin: 40px 0 16px;
}
@media (max-width: 639px) {
  .recruit-subtitle {
    font-size: 18px;
  }
}

.recruit-pref-cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.recruit-pref-cat-item {
  flex: 0 1 calc(12.5% - 16px);
}
@media (max-width: 639px) {
  .recruit-pref-cat-item {
    flex: 0 1 calc(33.3% - 16px);
  }
}

.recruit-pref-cat-link {
  display: block;
  padding: 16px 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  color: #334155;
}
.recruit-pref-cat-link:hover {
  background: #78C5B6;
  color: #fff;
  transition: 0.2s;
}

.recruit-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.recruit-category-item {
  flex: 0 1 calc(33.3% - 24px);
}
@media (max-width: 639px) {
  .recruit-category-item {
    flex: 0 1 100%;
  }
}

.recruit-category-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #F6FAF9;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: 0.2s ease-in-out;
}
.recruit-category-card:hover {
  background: #78C5B6;
  border-color: #78C5B6;
  color: #fff;
}
.recruit-category-card:hover .recruit-category-label {
  color: #fff;
}

.recruit-category-thumb {
  flex-shrink: 0;
}
.recruit-category-thumb .recruit-category-img {
  width: 70px;
  height: 70px;
  border-radius: 10px 0 0 10px;
  object-fit: cover;
}
@media (max-width: 639px) {
  .recruit-category-thumb .recruit-category-img {
    width: 60px;
    height: 60px;
  }
}

.recruit-category-label {
  font-size: 16px;
  color: #273449;
  font-weight: 600;
}
@media (max-width: 639px) {
  .recruit-category-label {
    font-size: 15px;
  }
}

.recruit-category-heading {
  font-size: 20px;
  font-weight: 700;
  color: #1f2a37;
  margin: 32px 0 16px;
}
@media (max-width: 639px) {
  .recruit-category-heading {
    font-size: 18px;
  }
}

.recruit-subtitle {
  scroll-margin-top: 80px;
}

.admin-blog-form {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
}

.form-textarea {
  resize: vertical;
  min-height: 96px;
}

/* ファイル選択 */
.form-file {
  font-size: 14px;
}

/* 画像プレビュー */
.image-preview {
  margin-bottom: 16px;
}
.image-preview img {
  max-width: 320px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

/* 本文（ActionText） */
.richtext-wrapper .trix-content {
  min-height: 420px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
}

/* ===== Trix カスタムツールバー ===== */
#custom-trix-toolbar {
  background: #F6FAF9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px 8px;
  margin-bottom: 6px;
}
#custom-trix-toolbar .trix-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#custom-trix-toolbar .trix-button-group {
  display: inline-flex;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px;
  margin: 0 2px 0 0;
  box-shadow: none;
}
#custom-trix-toolbar .trix-button {
  border: 0;
  background: transparent;
  color: #334155;
  border-radius: 4px;
  padding: 4px 8px;
  min-width: 30px;
  height: 30px;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.12s ease, color 0.12s ease;
}
#custom-trix-toolbar .trix-button:not(:disabled):hover {
  background: rgba(120, 197, 182, 0.14);
  color: #78C5B6;
}
#custom-trix-toolbar .trix-button.trix-active {
  background: #78C5B6;
  color: #fff;
}
#custom-trix-toolbar .trix-button::before {
  opacity: 0.8;
}
#custom-trix-toolbar .trix-button.trix-active::before {
  filter: brightness(0) invert(1);
  opacity: 1;
}
#custom-trix-toolbar {
  /* H2/H3/H4 ボタン: テキストラベルなので太字＋色付け */
}
#custom-trix-toolbar .trix-button[data-trix-attribute=heading2],
#custom-trix-toolbar .trix-button[data-trix-attribute=heading3],
#custom-trix-toolbar .trix-button[data-trix-attribute=heading4] {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #78C5B6;
}
#custom-trix-toolbar .trix-button[data-trix-attribute=heading2].trix-active,
#custom-trix-toolbar .trix-button[data-trix-attribute=heading3].trix-active,
#custom-trix-toolbar .trix-button[data-trix-attribute=heading4].trix-active {
  color: #fff;
}

/* 公開チェック */
.form-inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

/* アクションボタン */
.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn-primary:active {
  transform: translateY(1px);
}
.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-primary {
  background: #78C5B6;
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.92;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn-secondary:active {
  transform: translateY(1px);
}
.btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}
.btn-secondary:hover {
  background: #F6FAF9;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}

/* =========================================================
   公開ブログ 一覧（カードグリッド）
========================================================= */
.blog-index {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 48px;
}
@media (max-width: 639px) {
  .blog-index {
    padding: 32px 16px 40px;
  }
}

.blog-index-header {
  margin-bottom: 32px;
}

.blog-index-title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  color: #1f2a37;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.blog-index-lead {
  font-size: 14.5px;
  color: #475569;
  margin: 0;
  line-height: 1.75;
}
@media (max-width: 639px) {
  .blog-index-lead {
    font-size: 13.5px;
  }
}

/* ---------- カテゴリチップ ---------- */
.blog-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}
@media (max-width: 639px) {
  .blog-category-nav {
    gap: 6px;
    margin-bottom: 24px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .blog-category-nav::-webkit-scrollbar {
    display: none;
  }
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.blog-chip:hover {
  background: #F6FAF9;
  border-color: #78C5B6;
  color: #78C5B6;
  text-decoration: none;
}
.blog-chip.is-active {
  background: #78C5B6;
  border-color: #78C5B6;
  color: #fff;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
@media (max-width: 639px) {
  .blog-chip {
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
  }
}

/* ---------- グリッド ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 639px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ---------- カード ---------- */
.blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(28, 36, 43, 0.09);
  border-color: rgba(120, 197, 182, 0.5);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.blog-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.blog-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #F6FAF9;
  overflow: hidden;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}

.blog-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 32px;
  background: linear-gradient(135deg, #F6FAF9, #fff);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  flex: 1;
}
@media (max-width: 639px) {
  .blog-card-body {
    padding: 12px;
    gap: 4px;
  }
}

.blog-card-category {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  color: #78C5B6;
  background: rgba(120, 197, 182, 0.12);
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.blog-card-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.55;
  color: #1f2a37;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 639px) {
  .blog-card-title {
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
  }
}

.blog-card-description {
  font-size: 13px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 639px) {
  .blog-card-description {
    display: none;
  }
}

.blog-card-date {
  margin-top: auto;
  font-size: 12px;
  color: #64748b;
  padding-top: 8px;
}
@media (max-width: 639px) {
  .blog-card-date {
    font-size: 11px;
    padding-top: 6px;
  }
}

.blog-empty {
  padding: 48px 0;
  text-align: center;
  color: #64748b;
}

/* 詳細ページのアイキャッチ周辺（既存） */
.blog-eyecatch img {
  width: 100%;
  margin: 32px 0;
  border-radius: 16px;
}

/* ================================
   ブログ詳細ページ
================================ */
.blog-show {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
@media (max-width: 639px) {
  .blog-show {
    padding: 0 16px 40px;
  }
}

/* ---------- ファーストビュー ---------- */
.blog-hero {
  position: relative;
  margin: 0 -24px 40px;
}
.blog-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
@media (max-width: 639px) {
  .blog-hero img {
    height: 220px;
  }
}
@media (max-width: 639px) {
  .blog-hero {
    margin: 0 -16px 32px;
  }
}

.blog-hero-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 4px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  backdrop-filter: blur(2px);
}
@media (max-width: 639px) {
  .blog-hero-credit {
    right: 6px;
    bottom: 6px;
    padding: 3px 8px;
    font-size: 10px;
  }
}

/* ---------- タイトル＆メタ ---------- */
.blog-header {
  margin-bottom: 40px;
}
@media (max-width: 639px) {
  .blog-header {
    margin-bottom: 32px;
  }
}

.blog-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.45;
  color: #1f2a37;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.blog-meta {
  font-size: 13px;
  color: #64748b;
}

/* ---------- 本文 ---------- */
.blog-content {
  font-size: 16px;
  line-height: 1.75;
  color: #273449;
}
.blog-content p {
  margin-bottom: 24px;
}

/* ---------- 記事末尾の内部リンクCTA ---------- */
.blog-cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px 0 0;
  padding: 32px;
  background: linear-gradient(135deg, rgba(120, 197, 182, 0.1), rgba(247, 183, 163, 0.1));
  border: 1px solid rgba(120, 197, 182, 0.35);
  border-radius: 16px;
}
@media (max-width: 639px) {
  .blog-cta {
    padding: 24px;
    gap: 16px;
    margin-top: 40px;
  }
}

.blog-cta-title {
  font-size: 20px;
  font-weight: 800;
  color: #1f2a37;
  margin: 0 0 8px;
  line-height: 1.5;
}
@media (max-width: 639px) {
  .blog-cta-title {
    font-size: 17px;
  }
}

.blog-cta-text {
  font-size: 15px;
  line-height: 1.85;
  color: #334155;
  margin: 0;
}
@media (max-width: 639px) {
  .blog-cta-text {
    font-size: 14.5px;
  }
}

.blog-cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.blog-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.blog-cta-button:active {
  transform: translateY(1px);
}
.blog-cta-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.blog-cta-button {
  background: #78C5B6;
  color: #fff;
  padding: 12px 26px;
  border-radius: 9999px;
  font-size: 15px;
}
.blog-cta-button:hover {
  opacity: 0.92;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  color: #fff;
  text-decoration: none;
}

.blog-cta-button--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.blog-cta-button--ghost:active {
  transform: translateY(1px);
}
.blog-cta-button--ghost:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.blog-cta-button--ghost {
  background: #fff;
  border: 1px solid #78C5B6;
  color: #78C5B6;
  padding: 12px 26px;
  border-radius: 9999px;
  font-size: 15px;
}
.blog-cta-button--ghost:hover {
  background: #F6FAF9;
  text-decoration: none;
  color: #78C5B6;
}

/* ================================
   ActionText 画像制御
================================ */
.blog-content .trix-content img {
  display: block;
  margin: 32px auto;
  max-width: 680px;
  max-height: 420px;
  width: auto;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
}
@media (max-width: 639px) {
  .blog-content .trix-content img {
    max-width: 100%;
    max-height: 300px;
  }
}
.blog-content .trix-content figure {
  margin: 0;
  text-align: center;
}
.blog-content .trix-content {
  /* ファイル名・サイズ非表示（再確認） */
}
.blog-content .trix-content .attachment__caption {
  display: none;
}

.toc {
  border: 1px solid #e2e8f0;
  padding: 1.2em 1.4em;
  margin-bottom: 2.2em;
  background: #F6FAF9;
  border-radius: 10px;
}
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc a {
  color: #334155;
  text-decoration: none;
}
.toc a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}
@media (max-width: 639px) {
  .toc {
    padding: 1em 1.1em;
    font-size: 14px;
  }
}

.toc-title {
  font-weight: 700;
  margin-bottom: 0.8em;
  color: #1f2a37;
}

.toc li {
  margin-bottom: 0.45em;
  line-height: 1.6;
}

.toc li.h3 {
  margin-left: 1.2em;
  font-size: 0.93em;
  color: #3b4759;
}

/* ---------- アコーディオン制御 ---------- */
.toc--collapsible {
  position: relative;
  /* 折り畳まれている残り項目は非表示 */
}
.toc--collapsible .toc-item--extra {
  display: none;
}
.toc--collapsible {
  /* 折り畳み時は最後の項目の下にフェードを重ねる */
}
.toc--collapsible ul {
  position: relative;
}
.toc--collapsible:not(.is-expanded) ul::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  background: linear-gradient(to bottom, rgba(246, 250, 249, 0) 0%, #F6FAF9 90%);
  pointer-events: none;
}
.toc--collapsible {
  /* 展開時 */
}
.toc--collapsible.is-expanded .toc-item--extra {
  display: list-item;
}

.toc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #78C5B6;
  color: #78C5B6;
  font-size: 13px;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.toc-toggle:hover {
  background: #78C5B6;
  color: #fff;
}
.toc-toggle i {
  font-size: 11px;
}

/* デフォルトは "もっと見る" を表示、"閉じる" は隠す */
.toc-toggle__open {
  display: none;
}

.toc-toggle__closed,
.toc-toggle__open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 展開時に表示を入れ替え */
.toc--collapsible.is-expanded .toc-toggle__closed {
  display: none;
}
.toc--collapsible.is-expanded .toc-toggle__open {
  display: inline-flex;
}

.toc--collapsible:not(.is-expanded) .toc-toggle__open {
  display: none;
}

.admin_menu .btn-link {
  background: none;
  border: none;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  border-radius: 10px;
}

/* ============================================================
   管理ダッシュボード（共通レイアウト）
   ============================================================ */
.admin-dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}
.admin-dashboard__header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}
.admin-dashboard__title {
  margin: 4px 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #334155;
}
.admin-dashboard__subtitle {
  margin: 0;
  font-size: 13px;
  color: #334155;
  opacity: 0.7;
}
.admin-dashboard__section {
  margin-top: 28px;
}
.admin-dashboard__section-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.04em;
  text-transform: none;
  padding-left: 8px;
  border-left: 3px solid #1d4ed8;
}
.admin-dashboard__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.admin-dashboard__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.admin-dashboard__logout {
  margin-top: 8px;
}

.admin-page-breadcrumb {
  margin-bottom: 4px;
  font-size: 13px;
}
.admin-page-breadcrumb a {
  color: #334155;
  opacity: 0.7;
  text-decoration: none;
}
.admin-page-breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ============================================================
   ダッシュボード カード
   ============================================================ */
.admin-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s ease;
}
.admin-card:hover {
  border-color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.admin-card--accent {
  border-left: 4px solid #c0392b;
}
.admin-card__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #1d4ed8;
  font-size: 18px;
}
.admin-card__body {
  flex: 1;
  min-width: 0;
}
.admin-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-card__desc {
  margin: 0;
  font-size: 12.5px;
  color: #334155;
  opacity: 0.75;
  line-height: 1.5;
}
.admin-card__badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
}
.admin-card__badge--danger {
  color: #fff;
  background: #c0392b;
}
.admin-card__badge--info {
  color: #fff;
  background: #2c7be5;
}
.admin-card__badge--muted {
  color: #334155;
  background: #e2e8f0;
}

/* ============================================================
   カードパネル（詳細・フォーム用）
   ============================================================ */
.admin-card-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  margin-top: 16px;
}
.admin-card-panel--compact {
  padding: 16px;
}
.admin-card-panel--flush {
  padding: 0;
  overflow: hidden;
}
.admin-card-panel__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
}
.admin-card-panel__title-sm {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.02em;
}

.muted-text {
  margin: 4px 0 12px;
  font-size: 12.5px;
  color: #334155;
  opacity: 0.75;
}
.muted-text code {
  font-size: 12px;
  padding: 1px 6px;
  background: #f1f5f9;
  border-radius: 4px;
}

/* ============================================================
   詳細ページ（通報詳細の2カラムレイアウト）
   ============================================================ */
.report-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 900px) {
  .report-detail-layout {
    grid-template-columns: 1fr;
  }
}

.report-detail-main,
.report-detail-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.report-detail-side .admin-card-panel {
  margin-top: 0;
}

.report-detail-main .admin-card-panel {
  margin-top: 0;
}

.report-message {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.notice-template-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.link-arrow {
  font-size: 13px;
  color: #1d4ed8;
  text-decoration: none;
}
.link-arrow:hover {
  text-decoration: underline;
}

/* ============================================================
   フィルタリンク
   ============================================================ */
.report-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 16px 0;
}
.report-filter .filter-link {
  padding: 4px 12px;
  font-size: 13px;
  color: #334155;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 16px;
}
.report-filter .filter-link:hover {
  background: #f1f5f9;
}
.report-filter .filter-link.is-active {
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
}

/* ============================================================
   admin-table 改良版（reports用）
   ============================================================ */
.admin-table--reports {
  width: 100%;
  table-layout: auto;
}
.admin-table--reports th, .admin-table--reports td {
  padding: 12px 10px;
  vertical-align: middle;
}
.admin-table--reports .col-id {
  width: 50px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.admin-table--reports .col-date {
  width: 130px;
  white-space: nowrap;
}
.admin-table--reports .col-status {
  width: 90px;
  white-space: nowrap;
}
.admin-table--reports .col-public {
  width: 80px;
  white-space: nowrap;
}
.admin-table--reports .col-action {
  width: 180px;
  white-space: nowrap;
}
.admin-table--reports .col-target small {
  display: inline-block;
  word-break: break-all;
}

.admin-table--reports .action-buttons {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 6px;
}
.admin-table--reports .action-buttons form {
  margin: 0;
}
.admin-table--reports .action-buttons .btn--small {
  padding: 4px 10px;
  font-size: 12px;
  white-space: nowrap;
}

/* btn 共通 補助 */
.btn--block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 6px;
}

/* 画像管理：カード化 */
.image-mgmt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) {
  .image-mgmt-grid {
    grid-template-columns: 1fr;
  }
}

.image-mgmt-card {
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fafbfc;
}
.image-mgmt-card h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.image-mgmt-subtitle {
  margin: 24px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

/* ============================================================
   テーブル横スクロール（管理画面で列が多い時用）
   ============================================================ */
.admin-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   admin-table--notices（カメラマン通知履歴）
   ============================================================ */
.admin-table--notices {
  width: 100%;
  min-width: 980px; /* 列が潰れないよう最小幅。これ以下は横スクロール */
  table-layout: fixed;
}
.admin-table--notices th, .admin-table--notices td {
  padding: 12px 10px;
  vertical-align: middle;
  word-break: break-word;
}
.admin-table--notices .col-id {
  width: 50px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.admin-table--notices .col-date {
  width: 130px;
  white-space: nowrap;
}
.admin-table--notices .col-kind {
  width: 120px;
  white-space: nowrap;
}
.admin-table--notices .col-target {
  width: 200px;
}
.admin-table--notices .col-subject {
  width: auto; /* 残り幅を吸収 */
}
.admin-table--notices .col-relation {
  width: 100px;
  white-space: nowrap;
}
.admin-table--notices .col-admin {
  width: 180px;
  word-break: break-all;
}
.admin-table--notices .col-action {
  width: 80px;
  white-space: nowrap;
  text-align: center;
}
.admin-table--notices small.muted-text {
  margin: 0;
  display: inline-block;
  word-break: break-all;
  font-size: 11px;
}

/* ============================================================
   用途バッジ（kind別カラー）
   ============================================================ */
.notice-kind-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.notice-kind-badge--image_deletion {
  color: #2c7be5;
}
.notice-kind-badge--warning {
  color: #c0392b;
}
.notice-kind-badge--improvement_request {
  color: #f39c12;
}
.notice-kind-badge--suspension {
  color: #6c2c4f;
}

/* ============================================================
   テンプレ切替ピル（new フォーム用）
   ============================================================ */
.notice-kind-pill {
  display: inline-block;
  padding: 8px 16px;
  margin-right: 6px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.notice-kind-pill:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
}
.notice-kind-pill.is-active {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

.creator-notice-template-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

/* ============================================================
   通知本文表示（show ページ）
   ============================================================ */
.notice-body-display {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.location_edit {
  display: flex;
  align-items: center;
  text-align: center;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.admin-table th, .admin-table td {
  border-bottom: 1px solid #ddd;
  padding: 8px;
}
.admin-table th {
  text-align: left;
  background: #f5f5f5;
}

.status-label.published {
  color: green;
}

.status-label.draft {
  color: gray;
}

.admin-blogs .actions {
  margin-bottom: 32px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th, .admin-table td {
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}
.admin-table th {
  background: #F6FAF9;
  text-align: left;
  font-weight: 600;
}

/* 操作ボタン群 */
.action-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* 確認ボタン（アウトライン） */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn-outline:active {
  transform: translateY(1px);
}
.btn-outline:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-outline {
  padding: 8px 16px;
  font-size: 13px;
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #334155;
}
.btn-outline:hover {
  background: #F6FAF9;
}

/* status 表示 */
.status-label {
  font-weight: 600;
}
.status-label.published {
  color: #4CAF93;
}
.status-label.draft {
  color: #64748b;
}

/* 操作ボタン共通 */
.admin-blogs .action-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}
.admin-blogs .action-buttons .btn,
.admin-blogs .action-buttons form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.admin-blogs .action-buttons .btn:active,
.admin-blogs .action-buttons form button:active {
  transform: translateY(1px);
}
.admin-blogs .action-buttons .btn:disabled,
.admin-blogs .action-buttons form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.admin-blogs .action-buttons .btn,
.admin-blogs .action-buttons form button {
  /* サイズ完全統一 */
  padding: 8px 24px;
  min-height: 36px;
  font-size: 14px;
  white-space: nowrap;
  /* 見た目統一 */
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  /* 文字色統一 */
  color: #334155;
  /* button_to の余計なスタイル対策 */
  box-shadow: none;
}
.admin-blogs {
  /* hover */
}
.admin-blogs .action-buttons .btn:hover,
.admin-blogs .action-buttons form button:hover {
  background: #F6FAF9;
}
.admin-blogs {
  /* form の余白除去 + inline表示（button_to対策） */
}
.admin-blogs .action-buttons form {
  margin: 0;
  display: inline-flex;
}

/* ============================
   ブログ一覧テーブル専用
   ============================ */
.admin-table--blogs {
  table-layout: auto;
}
.admin-table--blogs th, .admin-table--blogs td {
  vertical-align: middle;
}
.admin-table--blogs {
  /* 補助列は内容ぴったり幅 + 折り返さない */
}
.admin-table--blogs .col-no,
.admin-table--blogs .col-eyecatch,
.admin-table--blogs .col-category,
.admin-table--blogs .col-status,
.admin-table--blogs .col-date,
.admin-table--blogs .col-actions,
.admin-table--blogs .blog-no-cell,
.admin-table--blogs .blog-eyecatch-cell,
.admin-table--blogs .blog-category-cell,
.admin-table--blogs .blog-status-cell,
.admin-table--blogs .blog-date-cell,
.admin-table--blogs td.actions {
  width: 1%;
  white-space: nowrap;
}
.admin-table--blogs .col-no,
.admin-table--blogs .blog-no-cell {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #334155;
  padding-right: 8px;
}
.admin-table--blogs .blog-eyecatch-cell {
  text-align: center;
  padding: 4px 8px;
}
.admin-table--blogs .blog-eyecatch-thumb {
  display: block;
  width: 80px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}
.admin-table--blogs .blog-eyecatch-missing {
  display: inline-block;
  width: 80px;
  height: 50px;
  line-height: 48px;
  border: 1px dashed #cbd5e1;
  border-radius: 4px;
  color: #475569;
  font-size: 11px;
  text-align: center;
}
.admin-table--blogs {
  /* タイトル列だけ広く確保、長文は折り返す */
}
.admin-table--blogs .col-title,
.admin-table--blogs .blog-title-cell {
  width: auto;
  word-break: break-word;
}
.admin-table--blogs .blog-title-link {
  color: #78C5B6;
  text-decoration: none;
  font-weight: 500;
}
.admin-table--blogs .blog-title-link:hover {
  text-decoration: underline;
}
.admin-table--blogs .blog-title-link--draft {
  color: #334155;
}

/* ============================
   通報管理 (admin_panel/reports)
   ============================ */
.report-filter {
  margin: 16px 0;
  font-size: 14px;
}
.report-filter a {
  color: #334155;
  text-decoration: none;
  padding: 2px 4px;
}
.report-filter a.active {
  font-weight: 700;
  color: #1d4ed8;
}
.report-filter a:hover {
  text-decoration: underline;
}

.report-status {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid currentColor;
}
.report-status--open {
  color: #c0392b;
}
.report-status--in_progress {
  color: #2c7be5;
}
.report-status--resolved {
  color: #2e7d32;
}
.report-status--dismissed {
  color: #888;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}
.badge--ok {
  color: #2e7d32;
  background: #e8f5ea;
}
.badge--ng {
  color: #c0392b;
  background: #fbeae8;
}

.admin-detail {
  margin: 16px 0 24px;
}
.admin-detail dt {
  margin-top: 12px;
  font-weight: 600;
  color: #334155;
}
.admin-detail dd {
  margin: 4px 0 0;
  padding-left: 0;
}

.report-action-block {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fafafa;
}
.report-action-block .section-title {
  margin: 0 0 12px;
  font-size: 16px;
}
.report-action-block .form-row {
  margin-top: 12px;
}
.report-action-block .form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.btn--danger {
  background: #c0392b;
  color: #fff;
  border: 1px solid #c0392b;
}
.btn--danger:hover {
  background: #a93226;
}

.btn--small {
  padding: 4px 10px;
  font-size: 12px;
}

/* ============================
   画像管理（admin_panel/reports/show）
   ============================ */
.image-mgmt-note {
  margin: 0 0 16px;
  font-size: 13px;
  color: #334155;
}

.image-mgmt-row {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
}
.image-mgmt-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.image-mgmt-label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}
.image-mgmt-label small {
  font-weight: 400;
  color: #334155;
}

.image-mgmt-empty {
  margin: 4px 0;
  color: #999;
  font-size: 13px;
}

.image-mgmt-preview {
  margin-bottom: 8px;
}

.image-mgmt-thumb {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #fff;
}
.image-mgmt-thumb--wide {
  width: 320px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.image-mgmt-thumb--square {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.image-mgmt-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.image-mgmt-gallery__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.image-mgmt-gallery__item .image-mgmt-thumb {
  width: 100%;
  height: 120px;
}

.image-mgmt-gallery-actions {
  margin-top: 8px;
}

/* ============================
   カメラマン通知メール
   ============================ */
.creator-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.creator-notice-template-switch {
  margin: 16px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.creator-notice-template-switch .btn--ghost.is-active {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

.creator-notice-form .input-textarea {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
}

.creator-notice-history {
  margin-top: 8px;
  font-size: 13px;
}

.notice-history-title {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

/* ============================
   コンテナ
============================ */
.contact-form-container {
  background: #ffffff;
  padding: 32px;
  margin-bottom: 48px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
}
@media (max-width: 639px) {
  .contact-form-container {
    padding: 16px;
  }
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-bottom: 24px;
}
@media (max-width: 639px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }
}

/* ============================
   行全体のレイアウト
============================ */
.contact-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin-bottom: 0;
  padding: 0;
}
.contact-row.contact-row--full {
  margin-bottom: 16px;
}
@media (max-width: 639px) {
  .contact-row {
    gap: 5px;
    width: 100%;
  }
}

/* ============================
   左側：項目名＋必須ラベル
============================ */
.contact-label {
  font-weight: 600;
  color: #273449;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: normal;
  font-size: 13px;
}
@media (max-width: 639px) {
  .contact-label {
    justify-content: flex-start;
    font-size: 12px;
  }
}
.contact-label .contact-required {
  background: #E46A6A;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1;
  white-space: nowrap;
}

/* ============================
   右側：入力欄
============================ */
.contact-input {
  flex: 1;
}
@media (max-width: 639px) {
  .contact-input {
    width: 100%; /* ★ スマホは横幅100% */
  }
}

/* ============================
   全ての入力フィールド共通
============================ */
.input-field,
.input-select,
.input-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: white;
  font-size: 14px;
  color: #273449;
  line-height: 1.5;
}
.input-field:focus,
.input-select:focus,
.input-textarea:focus {
  outline: none;
  border-color: #78C5B6;
  box-shadow: 0 0 0 3px rgba(120, 197, 182, 0.25);
}
@media (max-width: 639px) {
  .input-field,
  .input-select,
  .input-textarea {
    width: 100%;
    font-size: 13px;
    padding: 11px 12px;
  }
}

/* テキストエリア */
.input-textarea {
  resize: vertical;
  min-height: 140px;
}
@media (max-width: 639px) {
  .input-textarea {
    min-height: 120px;
  }
}

/* ============================
   送信ボタン
============================ */
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.04s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.contact-submit-btn:active {
  transform: translateY(1px);
}
.contact-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.contact-submit-btn {
  width: 100%;
  background: #78C5B6;
  color: white;
  border-color: #78C5B6;
  font-size: 15px;
  margin-top: 16px;
  min-height: 48px;
}
.contact-submit-btn:hover {
  background: #6EB5A7;
  border-color: #6EB5A7;
}

.image-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9000;
}
.image-popup-overlay.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-popup-overlay .image-popup-inner {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-popup-overlay .image-popup-inner img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(28, 36, 43, 0.12);
}
.image-popup-overlay .image-popup-inner .image-popup-close {
  position: absolute;
  top: -36px;
  right: -4px;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}
.image-popup-overlay .image-popup-inner .image-popup-close:hover {
  opacity: 0.7;
}

.external-link-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
}
.external-link-modal.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.external-link-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.external-link-modal__box {
  position: relative;
  width: 92%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}
.external-link-modal__icon {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: bold;
}
.external-link-modal__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}
.external-link-modal__desc {
  font-size: 14px;
  color: #444;
  margin-bottom: 6px;
}
.external-link-modal__url {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  word-break: break-all;
  margin-bottom: 14px;
}
.external-link-modal__warn {
  font-size: 12px;
  color: #666;
  margin-bottom: 24px;
}
.external-link-modal__button {
  width: 100%;
  padding: 12px 0;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.external-link-modal__note {
  margin: 16px auto;
  padding: 12px;
  background: #f8f8f8;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

.portfolio-free-lp {
  --lp-navy: #061642;
  --lp-navy-2: #10245d;
  --lp-teal: #78c5b6;
  --lp-teal-deep: #34b6ad;
  --lp-soft: #f6faf9;
  --lp-orange: #ff5a1f;
  --lp-yellow: #ffd72e;
  --lp-ink: #1f2a37;
  --lp-muted: #64748b;
  --lp-line: #dbe7e5;
  --lp-shadow: 0 18px 46px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
  background: #fff;
  color: var(--lp-ink);
}
.portfolio-free-lp * {
  box-sizing: border-box;
}
.portfolio-free-lp h1,
.portfolio-free-lp h2,
.portfolio-free-lp h3,
.portfolio-free-lp p,
.portfolio-free-lp ul {
  margin-top: 0;
}
.portfolio-free-lp h1,
.portfolio-free-lp h2,
.portfolio-free-lp h3 {
  letter-spacing: 0;
}
.portfolio-free-lp img {
  display: block;
  max-width: 100%;
  height: auto;
}

.portfolio-free-lp__main {
  background: linear-gradient(120deg, rgba(120, 197, 182, 0.08), rgba(255, 255, 255, 0) 34%), #fff;
}

.portfolio-free-lp__container,
.portfolio-free-lp__hero-inner {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding-inline: 20px;
}

.portfolio-free-lp__hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 40px;
  background: radial-gradient(circle at 18px 18px, rgba(120, 197, 182, 0.24) 0 2px, transparent 2px) 0 0/22px 22px, linear-gradient(135deg, #ffffff 0%, #f6faf9 52%, #e7f5f2 100%);
}
.portfolio-free-lp__hero::before, .portfolio-free-lp__hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}
.portfolio-free-lp__hero::before {
  right: -120px;
  bottom: -88px;
  width: 360px;
  height: 180px;
  background: var(--lp-navy);
  border-top: 8px solid var(--lp-yellow);
  transform: rotate(-13deg);
}
.portfolio-free-lp__hero::after {
  inset: 0;
  background: linear-gradient(116deg, rgba(255, 255, 255, 0) 0 40%, rgba(255, 255, 255, 0.72) 40% 58%, rgba(255, 255, 255, 0) 58%);
}

.portfolio-free-lp__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.portfolio-free-lp__eyebrow,
.portfolio-free-lp__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--lp-teal-deep);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.08em;
}
.portfolio-free-lp__eyebrow::before,
.portfolio-free-lp__kicker::before {
  display: inline-block;
  width: 4px;
  height: 28px;
  border-radius: 999px;
  background: var(--lp-teal);
  content: "";
}

.portfolio-free-lp__title {
  margin-bottom: 18px;
  color: var(--lp-navy);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.18;
}
.portfolio-free-lp__title span {
  display: block;
  padding-bottom: 6px;
  background: linear-gradient(var(--lp-yellow), var(--lp-yellow)) left bottom/82% 5px no-repeat;
}

.portfolio-free-lp__lead {
  margin-bottom: 22px;
  color: #273449;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.portfolio-free-lp__actions {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.portfolio-free-lp__primary-cta,
.portfolio-free-lp__fixed-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lp-orange), #ff7a33);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 90, 31, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.portfolio-free-lp__primary-cta:hover,
.portfolio-free-lp__fixed-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 90, 31, 0.34);
}
.portfolio-free-lp__primary-cta:focus-visible,
.portfolio-free-lp__fixed-cta:focus-visible {
  outline: 3px solid rgba(255, 215, 46, 0.72);
  outline-offset: 3px;
}

.portfolio-free-lp__primary-cta--large {
  width: 100%;
  max-width: 420px;
  min-height: 60px;
  font-size: 17px;
}

.portfolio-free-lp__free-note {
  margin-bottom: 0;
  color: var(--lp-navy);
  font-size: 13px;
  font-weight: 800;
}

.portfolio-free-lp__hero-badges {
  display: grid;
  gap: 10px;
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}
.portfolio-free-lp__hero-badges li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(120, 197, 182, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--lp-navy);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.portfolio-free-lp__badge-icon,
.portfolio-free-lp__cta-icon {
  flex: 0 0 auto;
}

.portfolio-free-lp__badge-icon {
  color: var(--lp-orange);
}

.portfolio-free-lp__hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  padding-bottom: 58px;
}

.portfolio-free-lp__photo-frame {
  width: min(100%, 360px);
  overflow: hidden;
  border: 1px solid rgba(219, 231, 229, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--lp-shadow);
}
.portfolio-free-lp__photo-frame img {
  width: 100%;
  aspect-ratio: 24/25;
  object-fit: cover;
}

.portfolio-free-lp__hero-card {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(88%, 330px);
  margin-inline: auto;
  min-height: 70px;
  padding: 14px 16px;
  border: 1px dashed rgba(120, 197, 182, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--lp-navy);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}
.portfolio-free-lp__hero-card span:last-child {
  min-width: 0;
}

.portfolio-free-lp__metric-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lp-teal);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.portfolio-free-lp__section {
  padding: 54px 0;
  background: #fff;
}

.portfolio-free-lp__section--soft {
  background: linear-gradient(135deg, rgba(120, 197, 182, 0.08), rgba(255, 255, 255, 0) 44%), var(--lp-soft);
}

.portfolio-free-lp__section--trust {
  background: #fff;
}

.portfolio-free-lp__section--steps,
.portfolio-free-lp__section--service {
  background: linear-gradient(120deg, rgba(6, 22, 66, 0.04), rgba(120, 197, 182, 0.1)), #fff;
}

.portfolio-free-lp__section--seo {
  background: linear-gradient(135deg, rgba(120, 197, 182, 0.1), rgba(255, 255, 255, 0) 46%), #fff;
}

.portfolio-free-lp__section-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: left;
}
.portfolio-free-lp__section-head h2 {
  margin-bottom: 12px;
  color: var(--lp-navy);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
  background: linear-gradient(var(--lp-yellow), var(--lp-yellow)) left bottom/132px 4px no-repeat;
  padding-bottom: 10px;
}
.portfolio-free-lp__section-head p:last-child {
  margin-bottom: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.9;
}

.portfolio-free-lp__section-head--left {
  margin-inline: 0;
}

.portfolio-free-lp__trust-grid,
.portfolio-free-lp__feature-grid {
  display: grid;
  gap: 14px;
}

.portfolio-free-lp__trust-item,
.portfolio-free-lp__benefit-item,
.portfolio-free-lp__feature-card,
.portfolio-free-lp__step,
.portfolio-free-lp__faq-item,
.portfolio-free-lp__mini-profile,
.portfolio-free-lp__seo-card,
.portfolio-free-lp__comparison {
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.portfolio-free-lp__trust-item {
  padding: 20px;
}
.portfolio-free-lp__trust-item h3 {
  margin-bottom: 6px;
  color: var(--lp-navy);
  font-size: 17px;
  font-weight: 900;
}
.portfolio-free-lp__trust-item p {
  margin-bottom: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
}

.portfolio-free-lp__trust-icon,
.portfolio-free-lp__feature-icon {
  margin-bottom: 12px;
  color: var(--lp-teal-deep);
}

.portfolio-free-lp__mock-row {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-top: 26px;
}

.portfolio-free-lp__phone-visual {
  justify-self: center;
  width: min(100%, 320px);
}
.portfolio-free-lp__phone-visual img {
  filter: drop-shadow(0 22px 38px rgba(15, 23, 42, 0.2));
}

.portfolio-free-lp__support-slot {
  min-height: 230px;
  padding: 26px 20px;
  border: 1px solid rgba(120, 197, 182, 0.45);
  border-radius: 8px;
  background: radial-gradient(circle at 14px 14px, rgba(120, 197, 182, 0.18) 0 2px, transparent 2px) 0 0/20px 20px, linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 250, 249, 0.98));
  box-shadow: var(--lp-shadow);
}
.portfolio-free-lp__support-slot h3 {
  margin: 14px 0 8px;
  color: var(--lp-navy);
  font-size: 20px;
  font-weight: 900;
}
.portfolio-free-lp__support-slot p {
  margin: 0;
  max-width: 420px;
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.portfolio-free-lp__support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--lp-teal);
  color: #fff;
  box-shadow: 0 12px 28px rgba(52, 182, 173, 0.18);
}

.portfolio-free-lp__support-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.portfolio-free-lp__support-list li {
  position: relative;
  padding-left: 22px;
  color: var(--lp-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}
.portfolio-free-lp__support-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lp-orange);
  content: "";
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.12);
}

.portfolio-free-lp__benefit-layout,
.portfolio-free-lp__recommend-layout,
.portfolio-free-lp__service-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.portfolio-free-lp__benefit-list {
  display: grid;
  gap: 12px;
}

.portfolio-free-lp__benefit-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
}

.portfolio-free-lp__benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lp-teal);
  color: #fff;
}

.portfolio-free-lp__benefit-text h3 {
  margin-bottom: 5px;
  color: var(--lp-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}
.portfolio-free-lp__benefit-text p {
  margin-bottom: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
}

.portfolio-free-lp__profile-mock {
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--lp-shadow);
}

.portfolio-free-lp__mock-cover {
  height: 148px;
  overflow: hidden;
}
.portfolio-free-lp__mock-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-free-lp__mock-body {
  padding: 0 18px 18px;
}

.portfolio-free-lp__mock-person {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-top: -34px;
}
.portfolio-free-lp__mock-person img {
  width: 78px;
  height: 78px;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.portfolio-free-lp__mock-name {
  padding-bottom: 4px;
}
.portfolio-free-lp__mock-name h3 {
  margin-bottom: 1px;
  color: var(--lp-navy);
  font-size: 18px;
  font-weight: 900;
}
.portfolio-free-lp__mock-name p,
.portfolio-free-lp__mock-name span {
  display: block;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.55;
}
.portfolio-free-lp__mock-name p {
  color: #475569;
}
.portfolio-free-lp__mock-name span {
  color: var(--lp-orange);
  font-weight: 900;
}

.portfolio-free-lp__chips,
.portfolio-free-lp__link-chips,
.portfolio-free-lp__search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-free-lp__chips {
  margin-top: 16px;
}
.portfolio-free-lp__chips span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #e9f5f3;
  color: var(--lp-navy);
  font-size: 12px;
  font-weight: 800;
}

.portfolio-free-lp__mock-copy {
  margin: 14px 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
}

.portfolio-free-lp__plan-card {
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: var(--lp-soft);
}
.portfolio-free-lp__plan-card strong {
  color: var(--lp-navy);
  font-size: 15px;
}
.portfolio-free-lp__plan-card span {
  color: var(--lp-navy);
  font-size: 20px;
  font-weight: 900;
}
.portfolio-free-lp__plan-card small {
  color: #64748b;
  font-size: 12px;
}

.portfolio-free-lp__feature-grid {
  grid-template-columns: 1fr;
}

.portfolio-free-lp__feature-card {
  padding: 18px;
}
.portfolio-free-lp__feature-card h3 {
  margin-bottom: 10px;
  color: var(--lp-navy);
  font-size: 17px;
  font-weight: 900;
}
.portfolio-free-lp__feature-card p {
  margin-bottom: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.portfolio-free-lp__thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.portfolio-free-lp__thumb-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 6px;
  object-fit: cover;
}

.portfolio-free-lp__review-box {
  padding: 12px;
  border-left: 4px solid var(--lp-orange);
  background: #fff8f3;
}
.portfolio-free-lp__review-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--lp-orange);
}

.portfolio-free-lp__form-mock {
  display: grid;
  gap: 8px;
}
.portfolio-free-lp__form-mock span,
.portfolio-free-lp__form-mock b {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 13px;
}
.portfolio-free-lp__form-mock span {
  border: 1px solid var(--lp-line);
  color: #94a3b8;
  background: #fff;
}
.portfolio-free-lp__form-mock b {
  justify-content: center;
  background: var(--lp-teal-deep);
  color: #fff;
}

.portfolio-free-lp__link-chips span,
.portfolio-free-lp__search-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--lp-navy);
  font-size: 13px;
  font-weight: 800;
}

.portfolio-free-lp__check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}
.portfolio-free-lp__check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--lp-line);
  color: var(--lp-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
}

.portfolio-free-lp__check-icon {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--lp-teal-deep);
}

.portfolio-free-lp__social-visual {
  width: min(100%, 380px);
  justify-self: center;
}
.portfolio-free-lp__social-visual img {
  border-radius: 8px;
  box-shadow: var(--lp-shadow);
}

.portfolio-free-lp__steps {
  display: grid;
  gap: 14px;
}

.portfolio-free-lp__step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.portfolio-free-lp__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lp-teal);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.portfolio-free-lp__step-body h3 {
  margin-bottom: 6px;
  color: var(--lp-navy);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}
.portfolio-free-lp__step-body p {
  margin-bottom: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.portfolio-free-lp__step-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(120, 197, 182, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}
.portfolio-free-lp__step-note p {
  margin-bottom: 0;
  color: var(--lp-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.8;
}

.portfolio-free-lp__note-icon {
  color: var(--lp-teal-deep);
}

.portfolio-free-lp__service-copy p {
  color: #475569;
  font-size: 15px;
  line-height: 1.9;
}
.portfolio-free-lp__service-copy h2 {
  margin-bottom: 10px;
  color: var(--lp-navy);
  font-size: 34px;
  font-weight: 900;
}

.portfolio-free-lp__service-lead {
  color: var(--lp-navy) !important;
  font-size: 18px !important;
  font-weight: 900;
}

.portfolio-free-lp__search-mock {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--lp-shadow);
}

.portfolio-free-lp__search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 800;
}

.portfolio-free-lp__mini-profiles {
  display: grid;
  gap: 12px;
}

.portfolio-free-lp__mini-profile {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
}
.portfolio-free-lp__mini-profile img {
  width: 92px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
  grid-row: span 2;
}
.portfolio-free-lp__mini-profile strong,
.portfolio-free-lp__mini-profile span {
  display: block;
}
.portfolio-free-lp__mini-profile strong {
  color: var(--lp-navy);
  font-size: 15px;
}
.portfolio-free-lp__mini-profile span {
  color: var(--lp-orange);
  font-size: 13px;
  font-weight: 900;
}

.portfolio-free-lp__seo-grid {
  display: grid;
  gap: 14px;
}

.portfolio-free-lp__seo-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}
.portfolio-free-lp__seo-card h3 {
  margin-bottom: 6px;
  color: var(--lp-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}
.portfolio-free-lp__seo-card p {
  grid-column: 2;
  margin-bottom: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.85;
}

.portfolio-free-lp__seo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lp-teal);
  color: #fff;
}

.portfolio-free-lp__comparison {
  margin-top: 18px;
  padding: 20px;
}
.portfolio-free-lp__comparison h3 {
  margin-bottom: 8px;
  color: var(--lp-navy);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.portfolio-free-lp__comparison-lead {
  margin-bottom: 16px;
  color: #475569;
  font-size: 14px;
  line-height: 1.85;
}

.portfolio-free-lp__comparison-list {
  display: grid;
  gap: 10px;
}

.portfolio-free-lp__comparison-item {
  padding: 14px;
  border: 1px solid rgba(219, 231, 229, 0.9);
  border-radius: 8px;
  background: var(--lp-soft);
}
.portfolio-free-lp__comparison-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--lp-navy);
  font-size: 15px;
  font-weight: 900;
}
.portfolio-free-lp__comparison-item p {
  margin-bottom: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.75;
}

.portfolio-free-lp__related-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.portfolio-free-lp__related-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(120, 197, 182, 0.52);
  border-radius: 999px;
  background: #fff;
  color: var(--lp-teal-deep);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.portfolio-free-lp__related-links a:hover {
  border-color: var(--lp-orange);
  color: var(--lp-orange);
  transform: translateY(-1px);
}

.portfolio-free-lp__faq-list {
  display: grid;
  gap: 12px;
}

.portfolio-free-lp__faq-item {
  padding: 0;
  overflow: hidden;
}
.portfolio-free-lp__faq-item summary {
  position: relative;
  padding: 16px 44px 16px 16px;
  color: var(--lp-navy);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.portfolio-free-lp__faq-item summary::-webkit-details-marker {
  display: none;
}
.portfolio-free-lp__faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--lp-teal-deep);
  border-bottom: 2px solid var(--lp-teal-deep);
  transform: translateY(-64%) rotate(45deg);
  content: "";
}
.portfolio-free-lp__faq-item[open] summary::after {
  transform: translateY(-28%) rotate(225deg);
}
.portfolio-free-lp__faq-item p {
  margin: 0;
  padding: 0 16px 16px;
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.portfolio-free-lp__final {
  position: relative;
  padding: 56px 0 96px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(6, 22, 66, 0.95), rgba(16, 36, 93, 0.96)), var(--lp-navy);
}
.portfolio-free-lp__final::before {
  position: absolute;
  right: -80px;
  bottom: -58px;
  width: 300px;
  height: 160px;
  border-top: 7px solid var(--lp-yellow);
  background: rgba(120, 197, 182, 0.78);
  transform: rotate(-14deg);
  content: "";
}

.portfolio-free-lp__final-box {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.portfolio-free-lp__final-box .portfolio-free-lp__kicker {
  color: #a7eee5;
}
.portfolio-free-lp__final-box h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.35;
}
.portfolio-free-lp__final-box p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.9;
}

.portfolio-free-lp__fixed-cta {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  width: min(100% - 28px, 410px);
  min-height: 52px;
  transform: translateX(-50%);
}
.portfolio-free-lp__fixed-cta:hover {
  transform: translateX(-50%) translateY(-2px);
}

@media (min-width: 700px) {
  .portfolio-free-lp__fixed-cta {
    display: none;
  }
  .portfolio-free-lp__hero {
    padding: 72px 0 64px;
  }
  .portfolio-free-lp__hero-inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
    align-items: center;
  }
  .portfolio-free-lp__title {
    font-size: 52px;
  }
  .portfolio-free-lp__lead {
    font-size: 18px;
  }
  .portfolio-free-lp__actions {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .portfolio-free-lp__hero-badges {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-free-lp__section {
    padding: 72px 0;
  }
  .portfolio-free-lp__section-head {
    text-align: center;
  }
  .portfolio-free-lp__section-head .portfolio-free-lp__kicker {
    justify-content: center;
  }
  .portfolio-free-lp__section-head h2 {
    background-position: center bottom;
  }
  .portfolio-free-lp__section-head--left {
    text-align: left;
  }
  .portfolio-free-lp__section-head--left .portfolio-free-lp__kicker {
    justify-content: flex-start;
  }
  .portfolio-free-lp__section-head--left h2 {
    background-position: left bottom;
  }
  .portfolio-free-lp__trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-free-lp__mock-row,
  .portfolio-free-lp__benefit-layout,
  .portfolio-free-lp__recommend-layout,
  .portfolio-free-lp__service-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  }
  .portfolio-free-lp__phone-visual {
    width: min(100%, 390px);
  }
  .portfolio-free-lp__feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-free-lp__feature-card--wide {
    grid-column: span 2;
  }
  .portfolio-free-lp__steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-free-lp__step {
    grid-template-columns: 1fr;
  }
  .portfolio-free-lp__mini-profiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-free-lp__seo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-free-lp__comparison-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-free-lp__related-links {
    grid-template-columns: repeat(2, minmax(0, 240px));
    justify-content: center;
  }
  .portfolio-free-lp__final-box {
    margin-inline: auto;
    text-align: center;
  }
}
@media (min-width: 1024px) {
  .portfolio-free-lp__container,
  .portfolio-free-lp__hero-inner {
    padding-inline: 28px;
  }
  .portfolio-free-lp__title {
    font-size: 58px;
  }
  .portfolio-free-lp__section-head h2 {
    font-size: 32px;
  }
  .portfolio-free-lp__benefit-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  }
}
@media (max-width: 430px) {
  .portfolio-free-lp__container,
  .portfolio-free-lp__hero-inner {
    padding-inline: 16px;
  }
  .portfolio-free-lp__primary-cta {
    width: 100%;
  }
  .portfolio-free-lp__title {
    font-size: 32px;
  }
  .portfolio-free-lp__section-head h2 {
    font-size: 24px;
  }
  .portfolio-free-lp__hero-card {
    right: 0;
    left: 0;
    width: auto;
  }
  .portfolio-free-lp__fixed-cta {
    font-size: 15px;
  }
}
.portfolio-free-lp-no-scroll {
  overflow: hidden;
}

/* ================================
   共通ギャラリー（プロフィール準拠）
================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.gallery-grid .gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  transition: transform 0.2s ease;
}
.gallery-grid .gallery-item:hover {
  transform: scale(1.02);
}
.gallery-grid .gallery-item:hover .zoom-icon {
  opacity: 1;
  transform: translate(-6px, -6px);
}
.gallery-grid .gallery-item .zoom-icon {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  padding: 6px;
  opacity: 0.85;
  transition: all 0.25s ease;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-grid .gallery-item .zoom-icon i {
  font-size: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
@media (max-width: 639px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}
.gallery-item .gallery-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item .zoom-icon {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 11px;
  padding: 3px 5px;
  border-radius: 4px;
  z-index: 2;
}

.profile-public-page {
  --profile-accent: #159f92;
  --profile-accent-soft: #e7f6f4;
  --profile-ink: #111827;
  --profile-muted: #64748b;
  --profile-line: #dbe3ea;
  max-width: 960px;
}
@media (max-width: 639px) {
  .profile-public-page {
    padding-inline: 0;
  }
}
.profile-public-page .profile-section,
.profile-public-page .photographer-section {
  margin: 0 0 22px;
}
@media (max-width: 639px) {
  .profile-public-page .profile-section,
  .profile-public-page .photographer-section {
    margin-inline: 14px;
  }
}
.profile-public-page .profile-section {
  padding: 24px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
@media (max-width: 639px) {
  .profile-public-page .profile-section {
    padding: 16px;
  }
}
.profile-public-page .profile-public-hero .profile-cover {
  display: block;
  width: 100%;
  height: 320px;
  margin: 0 0 -58px;
  border-bottom: 1px solid var(--profile-line);
  overflow: hidden;
  background: #f8fafc;
}
.profile-public-page .profile-public-hero .profile-cover .cover-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 0;
  display: block;
  cursor: pointer;
}
@media (max-width: 639px) {
  .profile-public-page .profile-public-hero .profile-cover {
    width: 100vw;
    height: 220px;
    margin-left: calc(50% - 50vw);
    margin-bottom: -42px;
  }
}
.profile-public-page .profile-public-hero .profile-main {
  position: relative;
  display: block;
  margin: 0 26px 26px;
  z-index: 1;
}
@media (max-width: 639px) {
  .profile-public-page .profile-public-hero .profile-main {
    margin: 0 14px 18px;
  }
}
.profile-public-page .profile-public-hero .profile-info {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
}
@media (max-width: 639px) {
  .profile-public-page .profile-public-hero .profile-info {
    grid-template-columns: 78px 1fr;
    gap: 12px;
    padding: 14px;
  }
}
.profile-public-page .profile-public-hero .profile-info .profile-avatar-box .profile-avatar {
  width: 128px;
  height: 128px;
  border: 1px solid var(--profile-line);
  border-radius: 50%;
  box-shadow: none;
  background: #f8fafc;
  object-fit: cover;
}
@media (max-width: 639px) {
  .profile-public-page .profile-public-hero .profile-info .profile-avatar-box .profile-avatar {
    width: 78px;
    height: 78px;
  }
}
.profile-public-page .profile-public-hero .profile-basic {
  min-width: 0;
}
.profile-public-page .profile-public-hero .profile-basic .profile-meta-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--profile-muted);
  font-size: 15px;
  font-weight: 700;
}
@media (max-width: 639px) {
  .profile-public-page .profile-public-hero .profile-basic .profile-meta-line {
    gap: 5px;
    margin-bottom: 8px;
    font-size: 11px;
    white-space: nowrap;
  }
}
.profile-public-page .profile-public-hero .profile-basic .kind-label {
  color: var(--profile-accent);
  border: 1px solid rgba(21, 159, 146, 0.35);
  background: var(--profile-accent-soft);
  border-radius: 9999px;
  padding: 3px 16px;
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .profile-public-page .profile-public-hero .profile-basic .kind-label {
    padding: 2px 8px;
  }
}
.profile-public-page .profile-public-hero .profile-basic .kind-label.corporate {
  color: #1E3A8A;
  border-color: rgba(30, 58, 138, 0.28);
  background: rgba(30, 58, 138, 0.06);
}
.profile-public-page .profile-public-hero .profile-basic .meta-info {
  margin-left: 0;
  color: var(--profile-muted);
  white-space: nowrap;
}
.profile-public-page .profile-public-hero .profile-basic .profile-name {
  margin: 0;
  color: var(--profile-ink);
  font-size: 27px;
  line-height: 1.3;
  font-weight: 900;
}
@media (max-width: 639px) {
  .profile-public-page .profile-public-hero .profile-basic .profile-name {
    font-size: 21px;
  }
}
.profile-public-page .profile-public-hero .profile-basic .profile-review {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--profile-ink);
  font-size: 18px;
  font-weight: 800;
}
@media (max-width: 639px) {
  .profile-public-page .profile-public-hero .profile-basic .profile-review {
    font-size: 15px;
  }
}
.profile-public-page .profile-public-hero .profile-basic .profile-review .stars {
  color: #f6b300;
  letter-spacing: 0;
}
.profile-public-page .profile-public-hero .profile-basic .profile-review .score,
.profile-public-page .profile-public-hero .profile-basic .profile-review .count {
  color: var(--profile-ink);
}
.profile-public-page .profile-public-hero .profile-info > .profile-catch {
  grid-column: 1/-1;
  margin: 18px 0 0;
  color: #1f2937;
  font-size: 20px;
  line-height: 1.75;
  font-weight: 800;
}
@media (max-width: 639px) {
  .profile-public-page .profile-public-hero .profile-info > .profile-catch {
    font-size: 17px;
  }
}
.profile-public-page .profile-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.profile-public-page .section-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 16px;
  padding-left: 0;
  border-left: 0;
  color: var(--profile-ink);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 900;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}
@media (max-width: 639px) {
  .profile-public-page .section-title {
    margin-bottom: 14px;
    font-size: 18px;
  }
}
.profile-public-page .profile-section__head .section-title {
  margin-bottom: 0;
}
.profile-public-page .section-title__icon {
  flex: 0 0 auto;
  color: var(--profile-accent);
}
.profile-public-page .section-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #263445;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
}
.profile-public-page .profile-empty-text {
  margin: 0;
  color: var(--profile-muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}
.profile-public-page .photographer-section > .section-title {
  margin-bottom: 14px;
}
.profile-public-page .photographer-section .profile-card {
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
.profile-public-page .photographer-section .profile-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.profile-public-page .photographer-section .profile-body {
  padding: 24px;
}
@media (max-width: 639px) {
  .profile-public-page .photographer-section .profile-body {
    padding: 16px;
  }
}
.profile-public-page .photographer-section .profile-summary {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
@media (max-width: 639px) {
  .profile-public-page .photographer-section .profile-summary {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }
}
.profile-public-page .photographer-section .profile-avatar {
  width: 104px;
  height: 104px;
  border: 1px solid var(--profile-line);
  border-radius: 50%;
  box-shadow: none;
  background: #f8fafc;
  object-fit: cover;
}
@media (max-width: 639px) {
  .profile-public-page .photographer-section .profile-avatar {
    width: 68px;
    height: 68px;
  }
}
.profile-public-page .photographer-section .summary-info {
  min-width: 0;
}
.profile-public-page .photographer-section .profile-meta-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--profile-muted);
  font-size: 13px;
  font-weight: 800;
}
@media (max-width: 639px) {
  .profile-public-page .photographer-section .profile-meta-line {
    gap: 5px;
    font-size: 11px;
    white-space: nowrap;
  }
}
.profile-public-page .photographer-section .kind-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 14px;
  border: 1px solid rgba(21, 159, 146, 0.35);
  border-radius: 9999px;
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
  font-weight: 900;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .profile-public-page .photographer-section .kind-label {
    min-height: 22px;
    padding: 2px 8px;
  }
}
.profile-public-page .photographer-section .kind-label.corporate {
  color: #1E3A8A;
  border-color: rgba(30, 58, 138, 0.28);
  background: rgba(30, 58, 138, 0.06);
}
.profile-public-page .photographer-section .meta-info {
  margin-left: 0;
  color: var(--profile-muted);
  white-space: nowrap;
}
.profile-public-page .photographer-section .summary-name {
  margin: 0;
  color: var(--profile-ink);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 900;
}
@media (max-width: 639px) {
  .profile-public-page .photographer-section .summary-name {
    font-size: 19px;
  }
}
.profile-public-page .photographer-section .summary-review {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--profile-ink);
  font-size: 16px;
  font-weight: 900;
}
.profile-public-page .photographer-section .stars {
  color: #f6b300;
  letter-spacing: 0;
}
.profile-public-page .photographer-section .profile-catch {
  margin: 18px 0 0;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 800;
}
@media (max-width: 639px) {
  .profile-public-page .photographer-section .profile-catch {
    font-size: 16px;
  }
}

.profile-subpage-index,
.profile-detail-page {
  padding-top: 20px;
}
@media (max-width: 639px) {
  .profile-subpage-index,
  .profile-detail-page {
    padding-top: 12px;
  }
}

.profile-subpage-hero {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(120, 197, 182, 0.12), rgba(255, 255, 255, 0) 48%), #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
@media (max-width: 639px) {
  .profile-subpage-hero {
    margin-inline: 14px;
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.profile-subpage-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
}
@media (max-width: 639px) {
  .profile-subpage-hero__icon {
    width: 44px;
    height: 44px;
  }
}

.profile-subpage-hero__body {
  min-width: 0;
}
@media (max-width: 639px) {
  .profile-subpage-hero__body {
    max-width: calc(100vw - 64px);
  }
}

.profile-subpage-hero__eyebrow {
  margin: 0 0 2px;
  color: var(--profile-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.profile-subpage-hero__title {
  display: block;
  max-width: 100%;
  margin: 0;
  color: var(--profile-ink);
  font-size: 27px;
  line-height: 1.35;
  font-weight: 900;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}
@media (max-width: 639px) {
  .profile-subpage-hero__title {
    font-size: 20px;
  }
}

.profile-subpage-hero__lead {
  max-width: 100%;
  margin: 8px 0 0;
  color: var(--profile-muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 700;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}
@media (max-width: 639px) {
  .profile-subpage-hero__lead {
    max-width: 23em;
  }
}

.profile-subpage-hero__actions {
  grid-column: 2;
}
@media (max-width: 639px) {
  .profile-subpage-hero__actions {
    grid-column: 1/-1;
  }
}

.profile-subpage-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.profile-public-page .plans-list,
.profile-public-page .cases-list,
.profile-public-page .subplan-list {
  gap: 18px;
}
@media (max-width: 639px) {
  .profile-public-page .plans-list,
  .profile-public-page .cases-list,
  .profile-public-page .subplan-list {
    gap: 14px;
  }
}
.profile-public-page.profile-subpage-index .plans-list--all,
.profile-public-page.profile-subpage-index .cases-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  overflow: visible;
  padding-bottom: 0;
}
@media (max-width: 639px) {
  .profile-public-page.profile-subpage-index .plans-list--all,
  .profile-public-page.profile-subpage-index .cases-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.profile-public-page .profile-list-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.profile-public-page .profile-list-card:hover {
  border-color: rgba(21, 159, 146, 0.38);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.profile-public-page .profile-list-card__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: #f8fafc;
  line-height: 0;
}
.profile-public-page .profile-list-card__thumb img,
.profile-public-page .profile-list-card__thumb .plan-thumb,
.profile-public-page .profile-list-card__thumb .case-thumb,
.profile-public-page .profile-list-card__thumb .subplan-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  border-radius: 0;
  object-fit: cover;
}
.profile-public-page .profile-list-card__thumb .image-label {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 10px;
  line-height: 1;
}
.profile-public-page .profile-list-card__body {
  display: grid;
  gap: 8px;
  padding: 12px;
}
.profile-public-page .profile-list-card__title {
  max-width: 100%;
  margin: 0;
  color: var(--profile-ink);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 900;
  text-align: left;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.profile-public-page .profile-list-card__text {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 650;
}
.profile-public-page .profile-list-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.profile-public-page .profile-list-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 6px;
  background: #f2f6f8;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}
.profile-public-page .profile-list-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  color: var(--profile-accent);
  font-size: 13px;
  font-weight: 900;
}
.profile-public-page:not(.profile-subpage-index):not(.profile-detail-page) .plans-list .profile-list-card {
  flex: 0 0 174px;
}
.profile-public-page:not(.profile-subpage-index):not(.profile-detail-page) .plans-list .profile-list-card__text,
.profile-public-page:not(.profile-subpage-index):not(.profile-detail-page) .plans-list .profile-list-card__meta {
  display: none;
}
.profile-public-page:not(.profile-subpage-index):not(.profile-detail-page) .plans-list .profile-list-card__more {
  justify-content: center;
}
.profile-public-page:not(.profile-subpage-index):not(.profile-detail-page) .cases-list .profile-list-card__text,
.profile-public-page:not(.profile-subpage-index):not(.profile-detail-page) .cases-list .profile-list-card__meta,
.profile-public-page:not(.profile-subpage-index):not(.profile-detail-page) .cases-list .profile-list-card__more {
  display: none;
}
.profile-public-page:not(.profile-subpage-index):not(.profile-detail-page) .cases-list .profile-list-card__title {
  text-align: center;
  font-size: 13px;
}

.profile-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
@media (max-width: 639px) {
  .profile-detail-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.profile-detail-hero__image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: #f8fafc;
}

.profile-detail-hero__thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: pointer;
}

.profile-detail-hero__body {
  min-width: 0;
}

.profile-detail-hero__title {
  max-width: 100%;
  margin: 0 0 12px;
  color: var(--profile-ink);
  font-size: 24px;
  line-height: 1.45;
  font-weight: 900;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}
@media (max-width: 639px) {
  .profile-detail-hero__title {
    font-size: 20px;
  }
}

.profile-detail-hero__summary,
.profile-detail-hero__description,
.profile-text-panel {
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 650;
}
.profile-detail-hero__summary p:last-child,
.profile-detail-hero__description p:last-child,
.profile-text-panel p:last-child {
  margin-bottom: 0;
}

.profile-detail-hero__summary {
  margin-bottom: 12px;
  color: var(--profile-ink);
  font-size: 16px;
  font-weight: 900;
}

.profile-info-card {
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.profile-section--flat-info .profile-info-card {
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.profile-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (max-width: 639px) {
  .profile-info-list {
    grid-template-columns: 1fr;
  }
}
.profile-info-list .info-item {
  display: grid;
  grid-template-columns: 30px minmax(96px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 14px;
  border-right: 1px solid var(--profile-line);
  border-bottom: 1px solid var(--profile-line);
}
.profile-info-list .info-item:nth-child(2n) {
  border-right: none;
}
@media (max-width: 639px) {
  .profile-info-list .info-item {
    grid-template-columns: 28px max-content minmax(0, 1fr);
    border-right: none;
  }
}
.profile-info-list .info-item.full {
  grid-column: 1/-1;
}
.profile-info-list .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
}
.profile-info-list .label {
  color: var(--profile-muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.profile-info-list .value {
  min-width: 0;
  color: var(--profile-ink);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.profile-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-inline-list .item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.profile-public-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}
@media (max-width: 639px) {
  .profile-public-page .gallery-grid {
    gap: 10px;
  }
}
.profile-public-page .gallery-item {
  border-radius: 6px;
  overflow: hidden;
}
.profile-public-page .gallery-thumb {
  aspect-ratio: 1/1;
  border-radius: 6px;
}
.profile-public-page .review-list-v2 {
  display: grid;
  gap: 12px;
}
.profile-public-page .review-card-v2 {
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  box-shadow: none;
}
.profile-public-page .review-card-v2 .review-top-area {
  gap: 14px;
  align-items: flex-start;
}
.profile-public-page .review-card-v2 .review-avatar {
  width: 54px;
  height: 54px;
  border: 1px solid var(--profile-line);
  box-shadow: none;
}
.profile-public-page .review-card-v2 .review-right {
  min-width: 0;
  min-height: 0;
  justify-content: flex-start;
}
.profile-public-page .review-card-v2 .review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 4px;
}
.profile-public-page .review-card-v2 .review-name {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--profile-ink);
  font-size: 17px;
  font-weight: 900;
}
.profile-public-page .review-card-v2 .review-meta {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  gap: 6px;
}
.profile-public-page .review-card-v2 .review-meta .meta-item {
  max-width: 100%;
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: #f2f6f8;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}
.profile-public-page .review-card-v2 .review-rating {
  gap: 2px;
  font-size: 16px;
  line-height: 1.2;
}
.profile-public-page .review-card-v2 .review-rating .filled {
  color: #f6b300;
}
.profile-public-page .review-card-v2 .review-comment {
  color: #243244;
  font-size: 15px;
  line-height: 1.8;
}
.profile-public-page .faq-list {
  gap: 0;
  margin-top: 0;
  border-top: 1px solid var(--profile-line);
}
.profile-public-page .faq-item {
  border: none;
  border-bottom: 1px solid var(--profile-line);
  border-radius: 0;
}
.profile-public-page .faq-item .faq-question {
  padding: 16px 0;
  background: #fff;
  color: var(--profile-ink);
}
.profile-public-page .faq-item .faq-question:hover {
  background: #fff;
}
.profile-public-page .faq-item .faq-answer {
  padding: 0;
}
.profile-public-page .faq-item .faq-answer .answer-text {
  padding: 0 0 16px;
  color: #425466;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.profile-public-page .faq-item .faq-answer .answer-text p {
  margin: 0 0 0.75em;
}
.profile-public-page .faq-item .faq-answer .answer-text p:last-child {
  margin-bottom: 0;
}
.profile-public-page .faq-item.open {
  border-color: var(--profile-line);
}
.profile-public-page .faq-item.open .faq-question {
  background: #fff;
}
.profile-public-page .contact-section .form-desc {
  margin: -4px 0 18px;
  color: var(--profile-muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}
.profile-public-page .contact-section .contact-form-container {
  margin-bottom: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.profile-public-page .contact-section .contact-form__grid {
  grid-template-columns: 1fr;
  gap: 14px;
}
.profile-public-page .contact-section .contact-row {
  gap: 8px;
}
.profile-public-page .contact-section .contact-label {
  color: #223044;
  font-size: 14px;
  font-weight: 900;
}
.profile-public-page .contact-section .contact-label .contact-required {
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
  font-weight: 900;
}
.profile-public-page .contact-section .input-field,
.profile-public-page .contact-section .input-select,
.profile-public-page .contact-section .input-textarea {
  border-color: var(--profile-line);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 650;
}
.profile-public-page .contact-section .input-field,
.profile-public-page .contact-section .input-select {
  height: 46px;
  padding: 0 14px;
}
.profile-public-page .contact-section .input-textarea {
  min-height: 132px;
  padding: 13px 14px;
}
.profile-public-page .contact-section .contact-submit-btn {
  min-height: 50px;
  border-radius: 6px;
  background: var(--profile-accent);
  border-color: var(--profile-accent);
  font-size: 16px;
  font-weight: 900;
}
.profile-public-page .contact-section .contact-submit-btn:hover {
  background: #128d82;
  border-color: #128d82;
}

/* ========================================
  Safari/iOS でも必ず見えるフラッシュメッセージ
  副作用ゼロ版（header に触らない）
======================================== */
.flash-message {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999 !important;
  width: 94%;
  max-width: 640px;
  padding: 16px;
  border-radius: 16px;
  background-color: #fff;
  border: 1px solid #cbd5e1;
  color: #1f2a37;
  font-size: 15px;
  line-height: 1.7;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  box-shadow: 0 6px 18px rgba(28, 36, 43, 0.06);
  /* アニメーション初期状態 */
  opacity: 0;
  transform: translate(-50%, -6px);
  animation: fadeIn 0.4s ease forwards;
  /* 種類別 */
}
.flash-message.flash-success {
  border-color: #4CAF93;
}
.flash-message.flash-warning {
  border-color: #FFC66B;
  color: #273449;
}
.flash-message.flash-info {
  border-color: #7BB6F0;
}
.flash-message.flash-danger {
  border-color: #E46A6A;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
/* =====================================================
   ActionText 表示用（読み物最適化・見出し強調強め）
   ===================================================== */
.trix-content {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #1f2a37;
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (max-width: 639px) {
  .trix-content {
    font-size: 16px;
    line-height: 1.85;
    letter-spacing: 0.01em;
  }
}

/* 余計なリセットを無効化 */
.trix-content * {
  box-sizing: border-box;
}

/* ======================
   段落
   ====================== */
.trix-content p {
  margin: 0 0 1.5em;
}
@media (max-width: 639px) {
  .trix-content p {
    margin: 0 0 1.3em;
  }
}

/* ======================
   見出し
   ====================== */
.trix-content h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin: 2.8em 0 1.2em;
  color: #1f2a37;
}
@media (max-width: 639px) {
  .trix-content h1 {
    font-size: 24px;
    margin: 2.2em 0 0.9em;
  }
}

/* H2: 太い縦バー + 濃い下線 */
.trix-content h2 {
  position: relative;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.5;
  margin: 3em 0 1.2em;
  padding: 0.2em 0 0.55em 1em;
  color: #1f2a37;
  border-bottom: 3px solid #78C5B6;
}
.trix-content h2::before {
  content: "";
  position: absolute;
  top: 0.15em;
  bottom: 0.65em;
  left: 0;
  width: 8px;
  border-radius: 4px;
  background: #78C5B6;
}
@media (max-width: 639px) {
  .trix-content h2 {
    font-size: 21px;
    margin: 2.4em 0 1em;
    padding: 0.15em 0 0.45em 0.85em;
    border-bottom-width: 2px;
  }
  .trix-content h2::before {
    width: 6px;
    top: 0.15em;
    bottom: 0.55em;
  }
}

/* H3: 太めのアクセントバー + 薄い下線（H2 とブランド色を統一） */
.trix-content h3 {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
  margin: 2.4em 0 0.9em;
  padding: 0.05em 0 0.35em 0.8em;
  color: #1f2a37;
  border-bottom: 1px dashed rgba(120, 197, 182, 0.6);
}
.trix-content h3::before {
  content: "";
  position: absolute;
  top: 0.2em;
  bottom: 0.5em;
  left: 0;
  width: 6px;
  border-radius: 3px;
  background: #78C5B6;
}
@media (max-width: 639px) {
  .trix-content h3 {
    font-size: 17.5px;
    margin: 2em 0 0.75em;
    padding-left: 0.7em;
  }
  .trix-content h3::before {
    width: 5px;
  }
}

/* H4: 左に小さなドットアクセント（文字に高さを合わせる） */
.trix-content h4 {
  position: relative;
  font-size: 16.5px;
  margin: 1.8em 0 0.6em;
  padding-left: 0.95em;
  font-weight: 700;
  color: #273449;
  line-height: 1.55;
}
.trix-content h4::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #78C5B6;
}
@media (max-width: 639px) {
  .trix-content h4 {
    font-size: 15.5px;
    padding-left: 0.85em;
  }
  .trix-content h4::before {
    width: 7px;
    height: 7px;
    top: 0.4em;
  }
}

/* ======================
   リスト
   ====================== */
.trix-content ul,
.trix-content ol {
  margin: 1.4em 0 1.7em;
  padding-left: 1.4em;
}
@media (max-width: 639px) {
  .trix-content ul,
  .trix-content ol {
    padding-left: 1.25em;
  }
}

.trix-content ul {
  list-style: disc;
}

.trix-content ol {
  list-style: decimal;
}

.trix-content li {
  margin-bottom: 0.55em;
  line-height: 1.85;
}
.trix-content li::marker {
  color: #78C5B6;
  font-weight: 700;
}

/* 入れ子リストは詰める */
.trix-content li > ul,
.trix-content li > ol {
  margin: 0.4em 0 0.6em;
}

/* ======================
   強調・リンク
   ====================== */
.trix-content strong {
  font-weight: 700;
  background: linear-gradient(transparent 58%, rgba(120, 197, 182, 0.55) 58%);
  padding: 0 0.08em;
  border-radius: 1px;
}

.trix-content em {
  font-style: normal;
  color: #78C5B6;
  font-weight: 700;
  border-bottom: 1px dotted #78C5B6;
  padding-bottom: 1px;
}

.trix-content a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease;
}
.trix-content a:hover {
  color: #2563eb;
  text-decoration-thickness: 2px;
}

/* ======================
   引用
   ====================== */
.trix-content blockquote {
  position: relative;
  margin: 2em 0;
  padding: 1em 1.2em 1em 2.4em;
  border-left: 4px solid #78C5B6;
  background: #F6FAF9;
  color: #334155;
  border-radius: 0 10px 10px 0;
  font-size: 0.97em;
  line-height: 1.8;
}
.trix-content blockquote::before {
  content: "“";
  position: absolute;
  top: -0.05em;
  left: 0.45em;
  font-size: 2.6em;
  line-height: 1;
  color: #78C5B6;
  opacity: 0.45;
  font-family: Georgia, serif;
}
.trix-content blockquote p:last-child {
  margin-bottom: 0;
}
@media (max-width: 639px) {
  .trix-content blockquote {
    padding: 0.85em 1em 0.85em 2em;
  }
  .trix-content blockquote::before {
    font-size: 2.2em;
    left: 0.35em;
  }
}

/* ======================
   水平線
   ====================== */
.trix-content hr {
  border: 0;
  height: 1px;
  background: #e2e8f0;
  margin: 2.6em auto;
  width: 60%;
}

/* ======================
   コードブロック / インラインコード
   ====================== */
.trix-content pre {
  margin: 2em 0;
  padding: 1em 1.2em;
  font-size: 0.92em;
  line-height: 1.65;
  background: #1f2a37;
  color: #f8fafc;
  border-radius: 10px;
  overflow-x: auto;
}

.trix-content code {
  background: #F6FAF9;
  border: 1px solid #e2e8f0;
  padding: 0.1em 0.4em;
  font-size: 0.92em;
  border-radius: 4px;
  color: #273449;
}

.trix-content pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

/* ======================
   画像（余白が超重要）
   ====================== */
.trix-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2.2em auto;
  border-radius: 10px;
}

/* ======================
   添付ファイル
   ====================== */
.trix-content .attachment--file {
  display: inline-block;
  margin: 1em 0;
  padding: 0.6em 1em;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #F6FAF9;
}

/* ======================
   ギャラリー
   ====================== */
.trix-content .attachment-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin: 2em 0;
}

.trix-content .attachment-gallery .attachment {
  flex: 1 1 calc(33.333% - 1em);
}

.trix-content .attachment-gallery.attachment-gallery--2 .attachment {
  flex-basis: calc(50% - 1em);
}

/* ======================
   フォーム内（エディタ）
   ====================== */
.form-card .trix-content {
  font-size: 16px;
  line-height: 1.8;
  max-height: 500px;
  overflow: auto;
}

trix-editor {
  border: 1px solid #bbb;
  border-radius: 3px;
  margin: 0;
  padding: 0.4em 0.6em;
  min-height: 5em;
  outline: none;
}

trix-toolbar * {
  box-sizing: border-box;
}

trix-toolbar .trix-button-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto;
}

trix-toolbar .trix-button-group {
  display: flex;
  margin-bottom: 10px;
  border: 1px solid #bbb;
  border-top-color: #ccc;
  border-bottom-color: #888;
  border-radius: 3px;
}

trix-toolbar .trix-button-group:not(:first-child) {
  margin-left: 1.5vw;
}

@media (max-width: 768px) {
  trix-toolbar .trix-button-group:not(:first-child) {
    margin-left: 0;
  }
}
trix-toolbar .trix-button-group-spacer {
  flex-grow: 1;
}

@media (max-width: 768px) {
  trix-toolbar .trix-button-group-spacer {
    display: none;
  }
}
trix-toolbar .trix-button {
  position: relative;
  float: left;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 0.5em;
  margin: 0;
  outline: none;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: transparent;
}

trix-toolbar .trix-button:not(:first-child) {
  border-left: 1px solid #ccc;
}

trix-toolbar .trix-button.trix-active {
  background: #cbeefa;
  color: rgb(0, 0, 0);
}

trix-toolbar .trix-button:not(:disabled) {
  cursor: pointer;
}

trix-toolbar .trix-button:disabled {
  color: rgba(0, 0, 0, 0.125);
}

@media (max-width: 768px) {
  trix-toolbar .trix-button {
    letter-spacing: -0.01em;
    padding: 0 0.3em;
  }
}
trix-toolbar .trix-button--icon {
  font-size: inherit;
  width: 2.6em;
  height: 1.6em;
  max-width: calc(0.8em + 4vw);
  text-indent: -9999px;
}

@media (max-width: 768px) {
  trix-toolbar .trix-button--icon {
    height: 2em;
    max-width: calc(0.8em + 3.5vw);
  }
}
trix-toolbar .trix-button--icon::before {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.6;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 768px) {
  trix-toolbar .trix-button--icon::before {
    right: 6%;
    left: 6%;
  }
}
trix-toolbar .trix-button--icon.trix-active::before {
  opacity: 1;
}

trix-toolbar .trix-button--icon:disabled::before {
  opacity: 0.125;
}

trix-toolbar .trix-button--icon-attach::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  top: 8%;
  bottom: 4%;
}

trix-toolbar .trix-button--icon-bold::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.522%2019.242a.5.5%200%200%201-.5-.5V5.35a.5.5%200%200%201%20.5-.5h5.783c1.347%200%202.46.345%203.24.982.783.64%201.216%201.562%201.216%202.683%200%201.13-.587%202.129-1.476%202.71a.35.35%200%200%200%20.049.613c1.259.56%202.101%201.742%202.101%203.22%200%201.282-.483%202.334-1.363%203.063-.876.726-2.132%201.12-3.66%201.12h-5.89ZM9.27%207.347v3.362h1.97c.766%200%201.347-.17%201.733-.464.38-.291.587-.716.587-1.27%200-.53-.183-.928-.513-1.198-.334-.273-.838-.43-1.505-.43H9.27Zm0%205.606v3.791h2.389c.832%200%201.448-.177%201.853-.497.399-.315.614-.786.614-1.423%200-.62-.22-1.077-.63-1.385-.418-.313-1.053-.486-1.905-.486H9.27Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-italic::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%205h6.5v2h-2.23l-2.31%2010H13v2H6v-2h2.461l2.306-10H9V5Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-link::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.948%205.258a4.337%204.337%200%200%200-6.108%200L11.217%206.87a.993.993%200%200%200%200%201.41c.392.39%201.027.39%201.418%200l1.623-1.613a2.323%202.323%200%200%201%203.271%200%202.29%202.29%200%200%201%200%203.251l-2.393%202.38a3.021%203.021%200%200%201-4.255%200l-.05-.049a1.007%201.007%200%200%200-1.418%200%20.993.993%200%200%200%200%201.41l.05.049a5.036%205.036%200%200%200%207.091%200l2.394-2.38a4.275%204.275%200%200%200%200-6.072Zm-13.683%2013.6a4.337%204.337%200%200%200%206.108%200l1.262-1.255a.993.993%200%200%200%200-1.41%201.007%201.007%200%200%200-1.418%200L9.954%2017.45a2.323%202.323%200%200%201-3.27%200%202.29%202.29%200%200%201%200-3.251l2.344-2.331a2.579%202.579%200%200%201%203.631%200c.392.39%201.027.39%201.419%200a.993.993%200%200%200%200-1.41%204.593%204.593%200%200%200-6.468%200l-2.345%202.33a4.275%204.275%200%200%200%200%206.072Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-strike::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6%2014.986c.088%202.647%202.246%204.258%205.635%204.258%203.496%200%205.713-1.728%205.713-4.463%200-.275-.02-.536-.062-.781h-3.461c.398.293.573.654.573%201.123%200%201.035-1.074%201.787-2.646%201.787-1.563%200-2.773-.762-2.91-1.924H6ZM6.432%2010h3.763c-.632-.314-.914-.715-.914-1.273%200-1.045.977-1.739%202.432-1.739%201.475%200%202.52.723%202.617%201.914h2.764c-.05-2.548-2.11-4.238-5.39-4.238-3.145%200-5.392%201.719-5.392%204.316%200%20.363.04.703.12%201.02ZM4%2011a1%201%200%201%200%200%202h15a1%201%200%201%200%200-2H4Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-quote::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.581%208.471c.44-.5%201.056-.834%201.758-.995C8.074%207.17%209.201%207.822%2010%208.752c1.354%201.578%201.33%203.555.394%205.277-.941%201.731-2.788%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.121-.49.16-.764.294-.286.567-.566.791-.835.222-.266.413-.54.524-.815.113-.28.156-.597.026-.908-.128-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.674-2.7c0-.905.283-1.59.72-2.088Zm9.419%200c.44-.5%201.055-.834%201.758-.995%201.734-.306%202.862.346%203.66%201.276%201.355%201.578%201.33%203.555.395%205.277-.941%201.731-2.789%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.122-.49.16-.764.294-.286.567-.566.791-.835.222-.266.412-.54.523-.815.114-.28.157-.597.026-.908-.127-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.672-2.701c0-.905.283-1.59.72-2.088Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-heading-1::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.5%207.5v-3h-12v3H14v13h3v-13h4.5ZM9%2013.5h3.5v-3h-10v3H6v7h3v-7Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-code::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.293%2011.293a1%201%200%200%200%200%201.414l4%204a1%201%200%201%200%201.414-1.414L5.414%2012l3.293-3.293a1%201%200%200%200-1.414-1.414l-4%204Zm13.414%205.414%204-4a1%201%200%200%200%200-1.414l-4-4a1%201%200%201%200-1.414%201.414L18.586%2012l-3.293%203.293a1%201%200%200%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-bullet-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%207.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203ZM8%206a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-2.5-5a1.5%201.5%200%201%201-3%200%201.5%201.5%200%200%201%203%200ZM5%2019.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-number-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%204h2v4H4V5H3V4Zm5%202a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-3.5-7H6v1l-1.5%202H6v1H3v-1l1.667-2H3v-1h2.5ZM3%2017v-1h3v4H3v-1h2v-.5H4v-1h1V17H3Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-undo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%2014a1%201%200%200%200%201%201h6a1%201%200%201%200%200-2H6.257c2.247-2.764%205.151-3.668%207.579-3.264%202.589.432%204.739%202.356%205.174%205.405a1%201%200%200%200%201.98-.283c-.564-3.95-3.415-6.526-6.825-7.095C11.084%207.25%207.63%208.377%205%2011.39V8a1%201%200%200%200-2%200v6Zm2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-redo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21%2014a1%201%200%200%201-1%201h-6a1%201%200%201%201%200-2h3.743c-2.247-2.764-5.151-3.668-7.579-3.264-2.589.432-4.739%202.356-5.174%205.405a1%201%200%200%201-1.98-.283c.564-3.95%203.415-6.526%206.826-7.095%203.08-.513%206.534.614%209.164%203.626V8a1%201%200%201%201%202%200v6Zm-2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-decrease-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-3.707-5.707a1%201%200%200%200%200%201.414l2%202a1%201%200%201%200%201.414-1.414L4.414%2012l1.293-1.293a1%201%200%200%200-1.414-1.414l-2%202Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-button--icon-increase-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-2.293-2.293%202-2a1%201%200%200%200%200-1.414l-2-2a1%201%200%201%200-1.414%201.414L3.586%2012l-1.293%201.293a1%201%200%201%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

trix-toolbar .trix-dialogs {
  position: relative;
}

trix-toolbar .trix-dialog {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 0.75em;
  padding: 15px 10px;
  background: #fff;
  box-shadow: 0 0.3em 1em #ccc;
  border-top: 2px solid #888;
  border-radius: 5px;
  z-index: 5;
}

trix-toolbar .trix-input--dialog {
  font-size: inherit;
  font-weight: normal;
  padding: 0.5em 0.8em;
  margin: 0 10px 0 0;
  border-radius: 3px;
  border: 1px solid #bbb;
  background-color: #fff;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

trix-toolbar .trix-input--dialog.validate:invalid {
  box-shadow: #F00 0px 0px 1.5px 1px;
}

trix-toolbar .trix-button--dialog {
  font-size: inherit;
  padding: 0.5em;
  border-bottom: none;
}

trix-toolbar .trix-dialog--link {
  max-width: 600px;
}

trix-toolbar .trix-dialog__link-fields {
  display: flex;
  align-items: baseline;
}

trix-toolbar .trix-dialog__link-fields .trix-input {
  flex: 1;
}

trix-toolbar .trix-dialog__link-fields .trix-button-group {
  flex: 0 0 content;
  margin: 0;
}

trix-editor [data-trix-mutable]:not(.attachment__caption-editor) {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

trix-editor [data-trix-mutable] ::-moz-selection, trix-editor [data-trix-mutable]::-moz-selection,
trix-editor [data-trix-cursor-target]::-moz-selection {
  background: none;
}

trix-editor [data-trix-mutable] ::selection, trix-editor [data-trix-mutable]::selection,
trix-editor [data-trix-cursor-target]::selection {
  background: none;
}

trix-editor [data-trix-mutable].attachment__caption-editor:focus::-moz-selection {
  background: highlight;
}

trix-editor [data-trix-mutable].attachment__caption-editor:focus::selection {
  background: highlight;
}

trix-editor [data-trix-mutable].attachment.attachment--file {
  box-shadow: 0 0 0 2px highlight;
  border-color: transparent;
}

trix-editor [data-trix-mutable].attachment img {
  box-shadow: 0 0 0 2px highlight;
}

trix-editor .attachment {
  position: relative;
}

trix-editor .attachment:hover {
  cursor: default;
}

trix-editor .attachment--preview .attachment__caption:hover {
  cursor: text;
}

trix-editor .attachment__progress {
  position: absolute;
  z-index: 1;
  height: 20px;
  top: calc(50% - 10px);
  left: 5%;
  width: 90%;
  opacity: 0.9;
  transition: opacity 200ms ease-in;
}

trix-editor .attachment__progress[value="100"] {
  opacity: 0;
}

trix-editor .attachment__caption-editor {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
  text-align: center;
  vertical-align: top;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

trix-editor .attachment__toolbar {
  position: absolute;
  z-index: 1;
  top: -0.9em;
  left: 0;
  width: 100%;
  text-align: center;
}

trix-editor .trix-button-group {
  display: inline-flex;
}

trix-editor .trix-button {
  position: relative;
  float: left;
  color: #666;
  white-space: nowrap;
  font-size: 80%;
  padding: 0 0.8em;
  margin: 0;
  outline: none;
  border: none;
  border-radius: 0;
  background: transparent;
}

trix-editor .trix-button:not(:first-child) {
  border-left: 1px solid #ccc;
}

trix-editor .trix-button.trix-active {
  background: #cbeefa;
}

trix-editor .trix-button:not(:disabled) {
  cursor: pointer;
}

trix-editor .trix-button--remove {
  text-indent: -9999px;
  display: inline-block;
  padding: 0;
  outline: none;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid highlight;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25);
}

trix-editor .trix-button--remove::before {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.7;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 90%;
}

trix-editor .trix-button--remove:hover {
  border-color: #333;
}

trix-editor .trix-button--remove:hover::before {
  opacity: 1;
}

trix-editor .attachment__metadata-container {
  position: relative;
}

trix-editor .attachment__metadata {
  position: absolute;
  left: 50%;
  top: 2em;
  transform: translate(-50%, 0);
  max-width: 90%;
  padding: 0.1em 0.6em;
  font-size: 0.8em;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 3px;
}

trix-editor .attachment__metadata .attachment__name {
  display: inline-block;
  max-width: 100%;
  vertical-align: bottom;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

trix-editor .attachment__metadata .attachment__size {
  margin-left: 0.2em;
  white-space: nowrap;
}

.trix-content {
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

.trix-content * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.trix-content h1 {
  font-size: 1.2em;
  line-height: 1.2;
}

.trix-content blockquote {
  border: 0 solid #ccc;
  border-left-width: 0.3em;
  margin-left: 0.3em;
  padding-left: 0.6em;
}

.trix-content [dir=rtl] blockquote,
.trix-content blockquote[dir=rtl] {
  border-width: 0;
  border-right-width: 0.3em;
  margin-right: 0.3em;
  padding-right: 0.6em;
}

.trix-content li {
  margin-left: 1em;
}

.trix-content [dir=rtl] li {
  margin-right: 1em;
}

.trix-content pre {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  font-family: monospace;
  font-size: 0.9em;
  padding: 0.5em;
  white-space: pre;
  background-color: #eee;
  overflow-x: auto;
}

.trix-content img {
  max-width: 100%;
  height: auto;
}

.trix-content .attachment {
  display: inline-block;
  position: relative;
  max-width: 100%;
}

.trix-content .attachment a {
  color: inherit;
  text-decoration: none;
}

.trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {
  color: inherit;
}

.trix-content .attachment__caption {
  text-align: center;
}

.trix-content .attachment__caption .attachment__name + .attachment__size::before {
  content: " •";
}

.trix-content .attachment--preview {
  width: 100%;
  text-align: center;
}

.trix-content .attachment--preview .attachment__caption {
  color: #666;
  font-size: 0.9em;
  line-height: 1.2;
}

.trix-content .attachment--file {
  color: #333;
  line-height: 1;
  margin: 0 2px 2px 2px;
  padding: 0.4em 1em;
  border: 1px solid #bbb;
  border-radius: 5px;
}

.trix-content .attachment-gallery {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.trix-content .attachment-gallery .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
  flex-basis: 50%;
  max-width: 50%;
}
