@charset "UTF-8";
/*
 * 共通フッター（新デザイン）
 * 元は Tailwind CDN のユーティリティクラスで組んでいたが、preflight 無効化や
 * html{font-size} 上書きなど既存デザインページとの共存で副作用が多発したため、
 * Tailwind に依存しないプレーン CSS に置き換えて全ページ共通で読み込む。
 */
.mediall-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 80px 0;
  /* ページによって html/body の line-height（preflight 有無で 1 / 1.5 に変わる）が異なり、
     継承だとフッターの行間がページごとにブレていたため、基準値をここで明示的に固定する。 */
  line-height: 1.5;
}

.mediall-footer__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .mediall-footer__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (min-width: 1024px) {
  .mediall-footer__inner {
    padding-left: 32px;
    padding-right: 32px;
  }
}
/* ── SP: アコーディオン ── */
.mediall-footer__accordion {
  display: block;
}

@media (min-width: 640px) {
  .mediall-footer__accordion {
    display: none;
  }
}
/* <summary> をアコーディオンの見出しに使う。JS 不要でネイティブに開閉できる。 */
.mediall-footer__accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

/* <summary> のデフォルトの三角マーカーを消す */
.mediall-footer__accordion-btn::-webkit-details-marker {
  display: none;
}

.mediall-footer__accordion-btn::marker {
  content: "";
}

.mediall-footer__accordion-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.mediall-footer__accordion-item[open] .mediall-footer__accordion-icon {
  transform: rotate(180deg);
}

.mediall-footer__accordion-body {
  padding-bottom: 16px;
  margin: 0;
  list-style: none;
}

.mediall-footer__accordion-body > li + li {
  margin-top: 12px;
}

/* ── PC: 4列グリッド ── */
.mediall-footer__grid {
  display: none;
}

@media (min-width: 640px) {
  .mediall-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}
.mediall-footer__col-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 16px;
}

.mediall-footer__col-list {
  margin: 0;
  list-style: none;
}

.mediall-footer__col-list > li + li {
  margin-top: 8px;
}

/* ── 共通リンクスタイル ── */
.mediall-footer__link {
  font-size: 14px;
  line-height: 20px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}

.mediall-footer__link:hover {
  color: #ffffff;
}

/* wp-external-links の外部リンクアイコン（PNG 画像）を白系に */
.mediall-footer .wpel-icon {
  filter: brightness(0) invert(1);
}

/* ── 下部: 補足リンク行 ── */
.mediall-footer__bottom {
  margin-top: 80px;
  padding-top: 32px;
}

.mediall-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .mediall-footer__bottom-inner {
    flex-direction: row;
  }
}
.mediall-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .mediall-footer__bottom-links {
    justify-content: flex-start;
  }
}
.mediall-footer__bottom-link {
  font-size: 12px;
  line-height: 16px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
}

.mediall-footer__bottom-link:hover {
  color: #d1d5db;
}

.mediall-footer__copyright {
  font-size: 12px;
  line-height: 16px;
  color: #6b7280;
}

/*
 * 共通ヘッダー（新デザイン）
 * footer と同じ理由（[[_footer.scss]] 参照）で、Tailwind CDN のユーティリティクラス
 * から、既存 style_*.css の要素セレクタ（header { padding: ... } 等）や preflight
 * 有無の影響を受けないプレーン CSS に置き換えて全ページ共通で読み込む。
 */
/* ヘッダーの実高さ（padding 15px×2 + row 32px = 62px + border-bottom 1px = 63px）。
   スクロール追従バー（#search-box 等）がヘッダーの下に来るよう位置合わせする側で使う。 */
:root {
  --mediall-header-height: 63px;
}

/* Tailwind CDN の preflight（box-sizing: border-box を * に強制）が別コンポーネント用に
   読み込まれているページ／いないページの両方で高さ計算がブレないよう、
   ヘッダー配下は明示的に content-box に固定する。 */
.mediall-header,
.mediall-header *,
.mediall-drawer,
.mediall-drawer * {
  box-sizing: content-box;
}

.mediall-header {
  position: sticky;
  top: 0;
  background-color: #000000;
  border-bottom: 1px solid #1f2937;
  z-index: 50;
  margin-top: 0;
  padding: 15px 0;
}

.mediall-header__inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .mediall-header__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}
.mediall-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
}

.mediall-header__logo-area {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mediall-header__logo {
  display: block;
  height: 32px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.mediall-header__search {
  flex: 1 1 auto;
  max-width: 576px;
  margin-left: 16px;
  margin-right: 16px;
  /* SP ではロゴ・アイコン類と並べると入力欄が 92px 程度まで潰れるため常時は出さず、
     検索アイコン(.mediall-header__search-toggle)のタップでヘッダー行に展開する。 */
}
@media (max-width: 640px) {
  .mediall-header__search {
    display: none;
    margin-left: 0;
    margin-right: 8px;
  }
}

@media (min-width: 640px) {
  .mediall-header__search {
    margin-left: 32px;
    margin-right: 32px;
  }
}
.mediall-header__search-wrap {
  position: relative;
}

.mediall-header__search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 44px 10px 16px;
  font-size: 14px;
  line-height: 1.4;
  background-color: #111827;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
}
.mediall-header__search-input::-moz-placeholder {
  color: #6b7280;
}
.mediall-header__search-input::placeholder {
  color: #6b7280;
}
.mediall-header__search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #4b5563;
}

.mediall-header__search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background-color: #374151;
  color: #ffffff;
  cursor: pointer;
}
.mediall-header__search-btn svg {
  width: 16px;
  height: 16px;
}
.mediall-header__search-btn:hover {
  background-color: #4b5563;
}
.mediall-header__search-btn:focus-visible {
  outline: 2px solid #9ca3af;
  outline-offset: 2px;
}

/* SP 検索トグル: SP のみ表示。開いている間はロゴと他アイコンを隠し、
   検索窓とこのボタン(×)だけをヘッダー行に残す。 */
.mediall-header__search-toggle {
  display: none;
}
@media (max-width: 640px) {
  .mediall-header__search-toggle {
    display: block;
  }
}
.mediall-header__search-toggle {
  /* 虫眼鏡と × を同じ位置に重ね、開閉に合わせて回転しながらクロスフェードさせる。
     display の切り替えではアニメーションできないため opacity/transform で扱う。 */
}
.mediall-header__search-toggle .mediall-header__search-toggle-icon {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mediall-header__search-toggle .mediall-header__search-toggle-icon--close {
  position: absolute;
  top: 10px;
  left: 10px;
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

.mediall-header.is-search-open .mediall-header__search-toggle .mediall-header__search-toggle-icon--open {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
.mediall-header.is-search-open .mediall-header__search-toggle .mediall-header__search-toggle-icon--close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .mediall-header__search-toggle .mediall-header__search-toggle-icon {
    transition: none;
  }
}
@media (max-width: 640px) {
  .mediall-header.is-search-open .mediall-header__search {
    display: block;
    animation: mediall-header-search-in 0.2s ease;
  }
  .mediall-header.is-search-open .mediall-header__logo-area,
  .mediall-header.is-search-open #mediall-header-filter-toggle,
  .mediall-header.is-search-open #new-top-menu-toggle {
    display: none;
  }
}
@keyframes mediall-header-search-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mediall-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mediall-header__icon-btn {
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.15s;
  line-height: 0;
  /* タップ後に hover 状態が残り、SP でアイコンが角丸枠で囲まれて見えるため、
     ホバー可能なデバイス（PC）に限定する。 */
}
@media (hover: hover) {
  .mediall-header__icon-btn:hover {
    background-color: #1f2937;
  }
}
.mediall-header__icon-btn svg {
  width: 20px;
  height: 20px;
  color: #d1d5db;
  display: block;
}

/* ── 絞り込み検索パネル（都道府県/市区町村/カテゴリ/タグ） ── */
/* ヘッダー右側の専用アイコンをクリックすると開閉する。ヘッダーの真下に
   固定表示し、スクロール位置に関わらず常にヘッダー直下に来るようにする。 */
.mediall-header__filter-panel {
  position: fixed;
  left: 0;
  top: var(--mediall-header-height, 63px);
  width: 100%;
  z-index: 45;
  /* opacity ではなく背景色の alpha だけを下げる。opacity だと検索ボタン等の
     子要素まで巻き添えで透過してしまうため。 */
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-sizing: border-box;
  padding: 12px 9.375%;
  /* display:none だとトランジションできないため、opacity/transform +
     visibility（非表示時はクリックも透過させる）で開閉をアニメーションさせる。 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
@media (max-width: 640px) {
  .mediall-header__filter-panel {
    padding: 12px 16px;
  }
}
.mediall-header__filter-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.mediall-header__filter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  /* SP: セレクターは文字が潰れるほど幅が狭くなるため、2列×2行のグリッドに
     並べ替え、検索ボタンは右側に縦長で固定表示する。 */
}
@media (max-width: 640px) {
  .mediall-header__filter-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    grid-template-rows: 40px 40px;
  }
}

.mediall-header__filter-form select,
.mediall-header__filter-form button {
  box-sizing: border-box;
  height: 40px;
  margin: 0;
  /* preflight 無効ページではブラウザ標準のフォームコントロール書体（相対的に大きい）が
     出てしまい、preflight 有効ページ（font: inherit で継承）と見た目がズレるため、
     ページに依存しない固定値を明示する。 */
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.mediall-header__filter-form select {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 10px;
  border: none;
  border-radius: 5px;
}
@media (max-width: 640px) {
  .mediall-header__filter-form select {
    height: 100%;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .mediall-header__filter-form select:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }
}
@media (max-width: 640px) {
  .mediall-header__filter-form select:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }
}
@media (max-width: 640px) {
  .mediall-header__filter-form select:nth-of-type(3) {
    grid-column: 1;
    grid-row: 2;
  }
}
@media (max-width: 640px) {
  .mediall-header__filter-form select:nth-of-type(4) {
    grid-column: 2;
    grid-row: 2;
  }
}

.mediall-header__filter-form button {
  flex: 0 0 auto;
  padding: 0 24px;
  white-space: nowrap;
  border: none;
  border-radius: 20px;
  color: #000000;
  background-color: #ffffff;
  cursor: pointer;
}
@media (max-width: 640px) {
  .mediall-header__filter-form button {
    grid-column: 3;
    grid-row: 1/span 2;
    height: 100%;
    padding: 0 16px;
  }
}

/* ── SP用ドロワーメニュー ── */
.mediall-drawer__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 60;
}
.mediall-drawer__overlay.is-visible {
  display: block;
}

.mediall-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 80%;
  max-width: 320px;
  box-sizing: border-box;
  background-color: #ffffff;
  z-index: 70;
  transform: translateX(100%);
  transition: transform 0.3s;
  overflow-y: auto;
}
.mediall-drawer.is-open {
  transform: translateX(0);
}

body.mediall-drawer-open {
  overflow: hidden;
}

.mediall-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.mediall-drawer__logo {
  display: block;
  height: 32px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.mediall-drawer__close {
  padding: 8px;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  line-height: 0;
}
.mediall-drawer__close:hover {
  color: #111827;
}
.mediall-drawer__close svg {
  width: 24px;
  height: 24px;
  display: block;
}

.mediall-drawer__desc {
  padding: 16px 16px 0;
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

.mediall-drawer__search {
  padding: 16px 16px 0;
}

.mediall-drawer__search-wrap {
  position: relative;
}

.mediall-drawer__search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 52px 10px 16px;
  font-size: 14px;
  line-height: 1.4;
  background-color: #f3f4f6;
  color: #111827;
  border: none;
  border-radius: 9999px;
}
.mediall-drawer__search-input::-moz-placeholder {
  color: #9ca3af;
}
.mediall-drawer__search-input::placeholder {
  color: #9ca3af;
}
.mediall-drawer__search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #d1d5db;
}

.mediall-drawer__search-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background-color: #111827;
  color: #ffffff;
  cursor: pointer;
}
.mediall-drawer__search-btn svg {
  width: 18px;
  height: 18px;
}
.mediall-drawer__search-btn:hover {
  background-color: #374151;
}
.mediall-drawer__search-btn:focus-visible {
  outline: 2px solid #9ca3af;
  outline-offset: 2px;
}

.mediall-drawer__nav {
  padding: 16px;
}

.mediall-drawer__nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mediall-drawer__nav-list > li + li {
  margin-top: 0;
}

.mediall-drawer__nav-link {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
}
.mediall-drawer__nav-link:hover {
  color: #111827;
}

.mediall-drawer__sns {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin: 0;
  list-style: none;
}

.mediall-drawer__sns-icon {
  width: 32px;
  height: 32px;
  display: block;
}

/*リセット*/
html, body, h1, h2, h3, h4, h5, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 10px;
  vertical-align: baseline;
  box-sizing: border-box;
  color: #121212;
}

article, header, aside, figure, figcaption, nav, section {
  display: block;
}

html {
  scroll-behavior: smooth;
  position: relative;
}

body {
  font-family: "Noto Sans JP", YakuHanJP, sans-serif, "游ゴシック体", YuGothic;
  line-height: 1;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
ol, ul {
  list-style: none;
  list-style-type: none;
}

a {
  color: #121212;
  text-decoration: none;
}

img {
  display: block;
}

p {
  line-height: 1.5em;
}

table {
  border-collapse: collapse;
}

@media (max-width: 599px) {
  table table {
    width: 100%;
  }
}
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

header {
  margin-top: 0px;
  padding: 15px 0px 35px 0px;
  background-color: black;
}

header h1 {
  width: 15%;
  margin: 0% 0% 0% 4%;
}

@media (max-width: 599px) {
  header h1 {
    width: 160px;
    margin: 0 0 0 20px;
  }
}
header h1 img {
  width: 100px;
}

header h2 {
  width: 200px;
  margin: 0 auto;
}

@media (max-width: 599px) {
  header h2 {
    width: 160px;
    margin: 0 0 0 20px;
  }
}
header h2 img {
  width: 100%;
}

header .titletext {
  font-size: 1rem;
  padding-top: 1rem;
  color: white;
  font-weight: 300;
  float: left;
  margin: 0% 0% 0% 4%;
}

@media (max-width: 480px) {
  header .titletext {
    font-size: 0.7rem;
    padding-top: 10px;
    color: white;
    font-weight: 300;
    float: left;
    margin: 0% 0% 0% 4%;
  }
}
header .menuwrapper .nav_toggle {
  display: block;
  position: fixed;
  z-index: 3;
  right: 80px;
  top: 50px;
  width: 60px;
  height: 42px;
  cursor: pointer;
  text-align: center;
  transition: 0.5s all;
  z-index: 200;
}

@media (max-width: 599px) {
  header .menuwrapper .nav_toggle {
    right: 20px;
  }
}
header .menuwrapper .nav_toggle {
  top: 0.5px;
  right: 1px;
}

@media (max-width: 480px) {
  header .menuwrapper .nav_toggle {
    top: 0.5px;
    right: -5%;
  }
}
header .menuwrapper .nav_toggle span {
  display: block;
  position: absolute;
  width: 48px;
  height: 3px;
  right: 6px;
  background-color: #EA3800;
  background-image: linear-gradient(90deg, rgb(27, 148, 211), rgb(216, 77, 110) 50%, rgb(135, 184, 40));
}

header .menuwrapper .nav_toggle span:nth-child(1) {
  top: 16px;
}

header .menuwrapper .nav_toggle span:nth-child(2) {
  top: 26px;
}

header .menuwrapper .nav_toggle span:nth-child(3) {
  top: 36px;
}

header .menuwrapper .nav_toggle .menutitle {
  font-size: 0em;
  display: inline-block;
  color: #EA3800;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  background: -webkit-linear-gradient(0deg, rgb(27, 148, 211), rgb(216, 77, 110) 50%, rgb(135, 184, 40));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

header .menuwrapper .active.nav_toggle {
  transform: rotate(360deg);
}

header .menuwrapper .active.nav_toggle span:nth-child(1) {
  top: 16px;
  left: 6px;
  transform: rotate(-45deg);
}

header .menuwrapper .active.nav_toggle span:nth-child(2) {
  top: 16px;
  transform: rotate(45deg);
}

header .menuwrapper .active.nav_toggle span:nth-child(3) {
  opacity: 0;
}

header .menuwrapper .active.nav_toggle .menutitle {
  opacity: 0;
}

.navwrapper {
  position: fixed;
  top: 0;
  right: 0;
  background-color: #ffffff;
  transform: translateX(100%);
  transition: all 0.6s;
  width: 35%;
  height: 100vh;
  z-index: 110;
}

@media (max-width: 1024px) {
  .navwrapper {
    width: 60%;
  }
}
@media (max-width: 599px) {
  .navwrapper {
    width: 80%;
  }
}
nav {
  padding-top: 100px;
  z-index: 100;
}

nav .navlogowrapper {
  padding-bottom: 30px;
  margin-left: 40px;
}

nav .navlogowrapper .menulogo {
  width: 36%;
  margin-bottom: 6px;
}

nav .navlogowrapper .menulogo img {
  width: 100%;
}

nav .menu {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

nav .menu li {
  width: 45%;
  border-bottom: 1px solid #EA3800;
  margin-top: 20px;
  padding-left: 40px;
}

nav .menu li a {
  font-size: 1.6rem;
  padding-bottom: 20px;
  display: block;
  font-weight: 600;
}

@media (max-width: 1024px) {
  nav .menu li a {
    font-size: 1.4rem;
  }
}
nav .menu .orange {
  position: relative;
}

nav .menu .orange::before {
  content: "";
  width: 4px;
  height: 4px;
  background-color: #EA3800;
  border-radius: 4px;
  position: absolute;
  left: 20px;
  margin-top: 8px;
}

nav .menu .gray {
  position: relative;
}

nav .menu .gray::before {
  content: "";
  width: 4px;
  height: 4px;
  background-color: #707070;
  border-radius: 4px;
  position: absolute;
  left: 20px;
  margin-top: 6px;
}

nav .menu .gray a {
  font-size: 1.4rem;
  color: #5A5A5A;
}

@media (max-width: 1024px) {
  nav .menu .gray a {
    font-size: 1.2rem;
  }
}
.active nav.navwrapper {
  transform: translateX(0%);
}

.active .cover {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(3, 3, 3, 0.5);
  z-index: 100;
}

.serch {
  width: 80%;
  margin: 40px auto 0;
  display: flex;
}

.serch.search-form {
  width: 100%;
}

.serch input {
  border: none;
  background-color: #EFEFEF;
  width: 80%;
  height: 40px;
  padding: 0;
  text-indent: 1em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

.serch button {
  border: none;
  background-color: #EFEFEF;
  width: 20%;
  height: 40px;
  padding: 0;
  cursor: pointer;
}

.serch button img {
  width: 25%;
  margin: 0 auto;
}

.sp_sns {
  display: flex;
  width: 80%;
  margin: 20px auto 0;
}

.sp_sns li {
  width: 40px;
  margin-right: 20px;
}

.sp_sns li img {
  width: 100%;
}

/* カテゴリー・タグ（記事下/フッター上）
   ホーム（index.php）のタグ一覧と同じ見た目: 白背景・ピル型・8px 間隔 */
.cattagarea {
  background-color: #ffffff;
  margin-top: 48px;
  padding-bottom: 80px;
  border-top: 1px solid #e5e7eb;
}

.cattagarea .catareawrapper,
.cattagarea .tagwrapper {
  margin: 0 9.375%;
  padding-top: 64px;
}

@media (max-width: 1024px) {
  .cattagarea .catareawrapper,
  .cattagarea .tagwrapper {
    margin: 0 3.125%;
    padding-top: 48px;
  }
}
@media (max-width: 599px) {
  .cattagarea .catareawrapper,
  .cattagarea .tagwrapper {
    padding-top: 40px;
  }
}
.cattagarea h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
  margin-bottom: 24px;
}

@media (max-width: 599px) {
  .cattagarea h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
}
.cattagarea ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cattagarea ul li {
  margin: 0;
}

.cattagarea ul li a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 1.4rem;
  line-height: 1.5;
  white-space: nowrap;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

/* カテゴリー: 白地・グレー枠のピル */
.cattagarea .catareawrapper ul li a {
  color: #111827;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  font-weight: 500;
}

.cattagarea .catareawrapper ul li a:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

/* タグ: 黒地・白文字のピル（ホームと同一） */
.cattagarea .tagwrapper ul li a {
  color: #ffffff;
  background-color: #111827;
}

.cattagarea .tagwrapper ul li a:hover {
  background-color: #374151;
}

/* 「タグ一覧」ボタン（ホームの pill-btn と同一） */
.cattagarea .view-more-container {
  margin-top: 24px;
  text-align: center;
}

.cattagarea .view-more-container a {
  display: inline-block;
  min-height: 48px;
  padding: 12px 32px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 24px;
  color: #111827;
  background-color: #ffffff;
  border: 2px solid #d1d5db;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.cattagarea .view-more-container a:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.breadcrumb {
  margin: 0 9.375%;
}

@media (max-width: 1024px) {
  .breadcrumb {
    margin: 0 3.125%;
  }
}
.breadcrumb nav ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
}

.breadcrumb nav ol li {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #6b7280;
}

/* 区切り（最後の項目には付けない） */
.breadcrumb nav ol li::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px;
  border-top: 1px solid #9ca3af;
  border-right: 1px solid #9ca3af;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.breadcrumb nav ol li:last-child::after {
  display: none;
}

.breadcrumb nav ol li a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111827;
  display: inline-block;
  border-bottom: 1px solid #111827;
  padding-bottom: 1px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.breadcrumb nav ol li a:hover {
  color: #6b7280;
  border-color: #6b7280;
}

@media (max-width: 599px) {
  .breadcrumb nav ol li,
  .breadcrumb nav ol li a {
    font-size: 1.1rem;
  }
  .breadcrumb nav ol li::after {
    margin: 0 8px;
  }
}
/* ====================================================
   Elementor で作成した LP（/tsp, /tspforpr, /commacc など・page.php）
   フッター前の余白と、HubSpot 埋め込みフォームの見た目を新デザインに揃える。
   ページ本体のセクション構成・文言は Elementor（DB）側で管理。
   ==================================================== */
.ly_main .elementor {
  padding-bottom: 80px;
}

@media (max-width: 599px) {
  .ly_main .elementor {
    padding-bottom: 60px;
  }
}
/* フォームの外枠（Elementor 内のインライン \3c style> より優先させるため .ly_main を付ける）。
   コード化した LP テンプレートでは .mediall-hsform を付けて同じ見た目にする。 */
:is(.ly_main .custom-form-container, .mediall-hsform) {
  width: auto;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

@media (max-width: 599px) {
  :is(.ly_main .custom-form-container, .mediall-hsform) {
    padding: 24px 16px;
    border-radius: 12px;
  }
}
/* HubSpot フォーム内部 */
:is(.ly_main .custom-form-container, .mediall-hsform) .hs-form fieldset {
  max-width: none;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .hs-form-field {
  margin-bottom: 20px;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .hs-form-field > label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
  color: #111827;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .hs-form-required {
  color: #dc2626;
  margin-left: 2px;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .hs-input {
  box-sizing: border-box;
  width: 100% !important;
  padding: 12px 14px;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #111827;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .hs-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

:is(.ly_main .custom-form-container, .mediall-hsform) .hs-input.error {
  border-color: #dc2626;
}

:is(.ly_main .custom-form-container, .mediall-hsform) textarea.hs-input {
  min-height: 140px;
  resize: vertical;
}

:is(.ly_main .custom-form-container, .mediall-hsform) select.hs-input {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

/* チェックボックス・ラジオ */
:is(.ly_main .custom-form-container, .mediall-hsform) .inputs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .inputs-list li {
  margin-bottom: 8px;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .inputs-list label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #374151;
  font-weight: 400;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .inputs-list input[type=checkbox],
:is(.ly_main .custom-form-container, .mediall-hsform) .inputs-list input[type=radio] {
  width: 16px !important;
  height: 16px;
  margin: 3px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: #111827;
}

/* 補足文・同意文 */
:is(.ly_main .custom-form-container, .mediall-hsform) .hs-richtext,
:is(.ly_main .custom-form-container, .mediall-hsform) .legal-consent-container,
:is(.ly_main .custom-form-container, .mediall-hsform) .hs-field-desc {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #6b7280;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .hs-richtext p,
:is(.ly_main .custom-form-container, .mediall-hsform) .legal-consent-container p {
  margin-bottom: 0.8em;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .hs-richtext a,
:is(.ly_main .custom-form-container, .mediall-hsform) .legal-consent-container a {
  color: #111827;
  text-decoration: underline;
}

/* エラー文 */
:is(.ly_main .custom-form-container, .mediall-hsform) .hs-error-msgs {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .hs-error-msgs label {
  font-size: 1.2rem;
  font-weight: 400;
  color: #dc2626;
}

/* 送信ボタン（ホームのピルボタンと同一） */
:is(.ly_main .custom-form-container, .mediall-hsform) .hs-submit {
  margin-top: 8px;
  text-align: center;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .hs-button {
  display: inline-block;
  min-width: 240px;
  padding: 14px 40px;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  background-color: #111827;
  border: 2px solid #111827;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

:is(.ly_main .custom-form-container, .mediall-hsform) .hs-button:hover {
  background-color: #374151;
  border-color: #374151;
}

@media (max-width: 599px) {
  :is(.ly_main .custom-form-container, .mediall-hsform) .hs-button {
    width: 100%;
    min-width: 0;
  }
}
/* HubSpot の2カラム（form-columns-2）は SP で1カラムに */
@media (max-width: 599px) {
  :is(.ly_main .custom-form-container, .mediall-hsform) .form-columns-2 .hs-form-field {
    width: 100% !important;
    float: none;
  }
}
footer {
  background-color: #EA3800;
  padding: 100px 0 10px;
}

@media (max-width: 599px) {
  footer {
    padding: 60px 0 10px;
  }
}
footer .footnav {
  display: flex;
  justify-content: space-between;
  width: 31.25%;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  footer .footnav {
    width: 60%;
  }
}
@media (max-width: 599px) {
  footer .footnav {
    width: 80%;
    display: block;
  }
}
@media (max-width: 599px) {
  footer .footnav ul {
    margin-bottom: 20px;
  }
}
footer .footnav ul li {
  margin-bottom: 20px;
}

footer .footnav ul li:last-child {
  margin-bottom: 0;
}

footer .footnav ul li a {
  color: #ffffff;
  font-size: 1.2rem;
}

@media (max-width: 599px) {
  footer .footnav {
    max-width: initial;
    min-width: initial;
  }
  footer .footnav ul:last-child {
    margin-right: 0;
    float: none;
    clear: both;
    text-align: left;
    display: block;
  }
  footer .footnav ul:last-child li {
    text-align: left;
    margin: 0 0 20px 10px;
  }
}
footer small {
  margin-top: 120px;
  display: block;
  text-align: center;
  color: #ffffff;
  font-size: 1rem;
}

@media (max-width: 599px) {
  footer small {
    margin-top: 60px;
  }
}
/* プライバシーポリシー・利用規約ページ限定: タイトル/パンくず/カテゴリ・タグ見出しを
   px 固定にして読みやすいバランスに調整する。 */
body.legal-page .singlewrapper .contentarea .titlearea h1 {
  font-size: 24px;
}

@media (max-width: 599px) {
  body.legal-page .singlewrapper .contentarea .titlearea h1 {
    font-size: 18px;
  }
}
body.legal-page .breadcrumb nav ol li,
body.legal-page .breadcrumb nav ol li a {
  font-size: 12px;
}

@media (max-width: 599px) {
  body.legal-page .breadcrumb nav ol li,
  body.legal-page .breadcrumb nav ol li a {
    font-size: 11px;
  }
}
body.legal-page .cattagarea .catareawrapper h2,
body.legal-page .cattagarea .tagwrapper h2 {
  font-size: 24px;
}

@media (max-width: 599px) {
  body.legal-page .cattagarea .catareawrapper h2,
  body.legal-page .cattagarea .tagwrapper h2 {
    font-size: 18px;
  }
}
body.legal-page .cattagarea .catareawrapper ul li a {
  font-size: 14px;
}

@media (max-width: 599px) {
  body.legal-page .cattagarea .catareawrapper ul li a {
    font-size: 12px;
  }
}
body.legal-page .cattagarea .tagwrapper ul li a {
  font-size: 14px;
}

@media (max-width: 1024px) {
  body.legal-page .cattagarea .tagwrapper ul li a {
    font-size: 12px;
  }
}
@media (max-width: 599px) {
  body.legal-page .cattagarea .tagwrapper ul li a {
    font-size: 11px;
  }
}
/* category_tag.php の「もっとみる」ボタン（インライン\3c style>でrem指定）も
   px に固定してブレを防ぐ。 */
body.legal-page .view-more-container .btn,
body.legal-page .view-more-container a.btn,
body.legal-page .view-more-container button.btn {
  font-size: 16px;
  padding: 10px 40px;
  border-radius: 5px;
}

body.legal-page .view-more-container a.btn-flat {
  padding: 15px 60px;
}

/*# sourceMappingURL=style_common.css.map*/