/* dateya.jp 見栄え調整(デザインは維持し、読みやすさを整える) */
body .main p, body .main li, body .main td, body .main dd,
body .main .text-color-dark, body .main [class*="text-color-grey"] { color: #333 !important; }
body .main p, body .main li { font-size: 15px; line-height: 1.95; font-weight: 400; }
body .main .context-dark p, body .main .bg-color-primary p, body .main .bg-primary p,
body .main .call-to-action-primary p, body .main .call-to-action-primary h2 { color: #fff !important; }
body .main .call-to-action-primary p { font-size: 17px; }
.main .font-weight-light { font-weight: 400 !important; }
.main .opacity-7 { opacity: 1 !important; }
.main h2, .main h3, .main h4 { line-height: 1.5; letter-spacing: .02em; }
/* ヒーロー: 写真の上の文字を読みやすく */
.header_slider-main .owl-item { position: relative; }
.header_slider-main .owl-item:has(.text-color-dark)::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.62); z-index: 1; }
.header_slider-main .owl-item .container { z-index: 3; }
.header_slider-main .headline-slidertext { text-shadow: 0 1px 0 rgba(255,255,255,.6); }
@media (max-width: 767px) {
  .header_slider-main { height: 78vh !important; }
  .header_slider-main .headline-slidertext { font-size: 2rem !important; line-height: 1.35; }
}
/* 表 */
.main table th, .main table td { padding: 12px 14px; vertical-align: middle; }
.main table td, .main table th { white-space: normal !important; word-break: break-word; }
@media (max-width: 767px) {
  .main table { width: 100% !important; table-layout: fixed; }
  .main table td, .main table th { font-size: 13px !important; padding: 8px 6px; }
}
/* 画像の角をそろえる */
.main img.img-fluid { border-radius: 4px; }
/* 地図とXボタン */
.dt-map { width: 100%; height: 420px; border: 0; display: block; }
.dt-x { display: inline-block; margin: 8px 0 0; padding: 10px 22px; border: 1px solid #0a0a8a; border-radius: 4px; color: #0a0a8a; font-weight: 700; }
.dt-x:hover { background: #0a0a8a; color: #fff; text-decoration: none; }
/* フッターの薄すぎる文字を読みやすく */
#footer p, #footer li, #footer a { color: #d6d6d6 !important; }
#footer h5, #footer strong { color: #fff !important; }

/* 写真の上の白文字は白のまま */
body .main .owl-carousel p:not(.text-color-dark),
body .main .owl-carousel .text-color-light { color: #fff !important; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
