/* ============================================================
   単発ページ共通スタイル
   goods / event / media / golf / recruit / dairiten /
   sitemap / poland
   2026-08-27 作成
   ============================================================ */

.p-misc {
  --ues-yellow: #f2c300;       /* ブランドの黄色 */
  --ues-yellow-dark: #d9a300;  /* 明るい背景の上で使う濃いめの黄色 */
}

.p-misc__body { padding: 6rem 0 8rem; }
@media screen and (max-width: 1023px) {
  .p-misc__body { padding: 4rem 0 5rem; }
}

/* ---- 見出し ---- */
.p-misc__h2 {
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 2.4rem;
  padding-left: 1.6rem;
  border-left: 4px solid var(--ues-yellow);
}
.p-misc__h3 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.6;
  margin: 3rem 0 1.4rem;
}
.p-misc__h3:first-child { margin-top: 0; }
@media screen and (max-width: 1023px) {
  .p-misc__h2 { font-size: 2rem; margin-bottom: 1.8rem; }
  .p-misc__h3 { font-size: 1.7rem; margin: 2.4rem 0 1.2rem; }
}

/* ---- 本文 ---- */
.p-misc__text { font-size: 1.6rem; line-height: 2.125; }
.p-misc__text + .p-misc__text { margin-top: 1.6rem; }
.p-misc__text.--center { text-align: center; }
@media screen and (max-width: 1023px) {
  .p-misc__text { font-size: 1.5rem; line-height: 1.9; }
  .p-misc__text.--center { text-align: left; }
}

.p-misc__sec { margin-bottom: 7rem; }
.p-misc__sec:last-of-type { margin-bottom: 0; }
@media screen and (max-width: 1023px) {
  .p-misc__sec { margin-bottom: 5rem; }
}

/* ---- 冒頭の大きな画像 ---- */
.p-misc__hero { margin-bottom: 4rem; }
.p-misc__hero img { width: 100%; height: auto; display: block; }
.p-misc__hero figcaption {
  margin-top: 1.2rem;
  font-size: 1.5rem;
  line-height: 1.7;
  text-align: center;
}
@media screen and (max-width: 1023px) {
  .p-misc__hero { margin-bottom: 2.5rem; }
  .p-misc__hero figcaption { font-size: 1.4rem; }
}

/* ---- 2カラム（文章＋画像） ---- */
.p-misc__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.p-misc__cols img { width: 100%; height: auto; display: block; }
.p-misc__cols figure { margin: 0; }
@media screen and (max-width: 1023px) {
  .p-misc__cols { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- 箇条書き ---- */
.p-misc__list {
  margin: 2rem 0;
  padding: 2.4rem 3rem;
  background-color: #f1efe9;
  border-radius: 1rem;
  list-style: none;
}
.p-misc__list li {
  position: relative;
  padding-left: 2.6rem;
  font-size: 1.55rem;
  line-height: 1.9;
}
.p-misc__list li + li { margin-top: 1rem; }
.p-misc__list li::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0.3rem;
  width: 1.3rem;
  height: 0.65rem;
  border-left: 3px solid var(--ues-yellow-dark);
  border-bottom: 3px solid var(--ues-yellow-dark);
  transform: rotate(-45deg);
}
@media screen and (max-width: 1023px) {
  .p-misc__list { padding: 1.8rem 1.6rem; }
  .p-misc__list li { font-size: 1.45rem; padding-left: 2.2rem; }
}

/* ---- ボタン ---- */
.p-misc__btn { display: flex; justify-content: center; margin-top: 3rem; }
.p-misc__btn.--left { justify-content: flex-start; margin-top: 2rem; }
.p-misc__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 4rem;
}
@media screen and (max-width: 1023px) {
  .p-misc__btns { flex-direction: column; align-items: stretch; gap: 1.2rem; }
  .p-misc__btns .c-btn { width: 100%; text-align: center; }
  .p-misc__btn.--left { justify-content: center; }
}

/* ---- サイトマップ ---- */
.p-misc__sitemap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 5rem;
}
.p-misc__sitemap-sec { break-inside: avoid; }
.p-misc__sitemap-h2 {
  font-size: 1.9rem;
  font-weight: bold;
  line-height: 1.5;
  padding-bottom: 1rem;
  margin-bottom: 1.4rem;
  border-bottom: 2px solid var(--ues-yellow);
}
.p-misc__sitemap-h2 a { color: #282828; text-decoration: none; }
.p-misc__sitemap-li { list-style: none; }
.p-misc__sitemap-li li + li { margin-top: 0.6rem; }
.p-misc__sitemap-li a {
  display: inline-block;
  position: relative;
  padding-left: 1.6rem;
  font-size: 1.5rem;
  line-height: 1.7;
  color: #282828;
  text-decoration: none;
}
.p-misc__sitemap-li a::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 0.2rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--ues-yellow-dark);
  border-bottom: 2px solid var(--ues-yellow-dark);
  transform: rotate(-45deg);
}
@media (any-hover: hover) {
  .p-misc__sitemap-h2 a:hover,
  .p-misc__sitemap-li a:hover { text-decoration: underline; }
}
@media screen and (max-width: 1023px) {
  .p-misc__sitemap { grid-template-columns: 1fr; gap: 3rem; }
  .p-misc__sitemap-h2 { font-size: 1.7rem; }
  .p-misc__sitemap-li a { font-size: 1.45rem; }
}

/* ---- ゴルフ大会ネームタグ ---- */
.p-misc__tags {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
  margin-top: 4rem;
  list-style: none;
}
.p-misc__tags figure { margin: 0; }
.p-misc__tags img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e5e1d8;
  border-radius: 0.6rem;
  background-color: #fff;
}
.p-misc__tags figcaption {
  margin-top: 1rem;
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: center;
}
@media screen and (max-width: 1023px) {
  .p-misc__tags { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 2.5rem; }
  .p-misc__tags figcaption { font-size: 1.3rem; }
}

/* ---- イベント一覧 ---- */
.p-misc__events { margin: 0; }
.p-misc__events dt {
  padding: 1.6rem 0 0.6rem;
  border-top: 1px solid #e5e1d8;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.6;
}
.p-misc__events dt:first-child { border-top: none; padding-top: 0; }
.p-misc__events dt a { color: #282828; }
.p-misc__events dd {
  margin: 0 0 1.4rem;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #555;
}
@media screen and (max-width: 1023px) {
  .p-misc__events dt { font-size: 1.5rem; }
  .p-misc__events dd { font-size: 1.4rem; }
}

/* ---- メディア掲載 ---- */
.p-misc__media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  list-style: none;
}
.p-misc__media a { display: block; color: #282828; text-decoration: none; }
.p-misc__media-img {
  margin: 0;
  border: 1px solid #e5e1d8;
  background-color: #fff;
  overflow: hidden;
  border-radius: 0.6rem;
}
.p-misc__media-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: 0.4s;
}
.p-misc__media-name {
  display: block;
  margin-top: 1.2rem;
  font-size: 1.45rem;
  line-height: 1.6;
}
.p-misc__media-sub {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.55rem;
  font-weight: bold;
  line-height: 1.6;
}
@media (any-hover: hover) {
  .p-misc__media a:hover .p-misc__media-img img { transform: scale(1.04); }
  .p-misc__media a:hover .p-misc__media-sub { text-decoration: underline; }
}
@media screen and (max-width: 1023px) {
  .p-misc__media { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .p-misc__media-name { font-size: 1.3rem; margin-top: 1rem; }
  .p-misc__media-sub { font-size: 1.4rem; }
}

/* ============================================================
   写真の枠を揃える（2026-08-27 追加）
   ============================================================ */

/* ゴルフ大会ネームタグ（すべて縦長・比率 0.47〜0.69） */
.p-misc__tags figure {
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e5e1d8;
  border-radius: 0.6rem;
}
.p-misc__tags img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  border-radius: 0;
  background: none;
}

/* メディア掲載の表紙（縦長と横長が混在・比率 0.68〜1.43） */
.p-misc__media-img {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f4f2ed;
}
.p-misc__media-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
