@charset "UTF-8";

/*
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.3-dubai-tsushin-20260506
*/

500;600;700&family=Noto+Serif+JP:wght@600;700&display=swap');

:root {
  --primary: #C9A876;
  --primary-dark: #8A7148;
  --primary-light: #E5D4B5;
  --accent: #1B4F8A;
  --accent-light: #E8F0FA;
  --highlight-marker: #FFF7D6;
  --highlight-warn: #FDE8D7;
  --highlight-warn-border: #E89556;
  --highlight-tip: #E8F0FA;
  --highlight-tip-border: #1B4F8A;
  --text-dark: #1A1A1A;
  --text-gray: #3A3A3A;
  --text-light: #6A6A6A;
  --bg-white: #FFFFFF;
  --bg-cream: #FAF8F3;
  --bg-quote: #F4F1EA;
  --border: #E5E0D5;
  --border-strong: #C9A876;
  --font-serif: 'Noto Serif JP', 'Yu Mincho', '游明朝', serif;
  --font-sans: 'Noto Sans JP', 'Yu Gothic', '游ゴシック', -apple-system, BlinkMacSystemFont, sans-serif;
}

body,
.body,
.article {
  color: var(--text-gray);
  font-family: var(--font-sans);
}

a,
.body a {
  color: var(--accent);
}

a:hover,
.body a:hover {
  color: var(--primary-dark);
}

.header-container,
.navi,
.footer {
  background-color: var(--bg-white);
}

.logo-image {
  max-height: 70px;
  width: auto;
}

.article,
.entry-content,
.entry-content p {
  font-size: 18px;
  line-height: 1.9;
}

.entry-content p {
  margin: 0 0 1.5em;
}

.article h1,
.article h2,
.article h3,
.entry-title {
  color: var(--text-dark);
  font-family: var(--font-serif);
  letter-spacing: 0;
}

.article h2,
.entry-content h2 {
  background: transparent !important;
  border-left: 4px solid var(--primary);
  border-radius: 0 !important;
  color: var(--text-dark) !important;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin: 60px 0 24px;
  padding: 4px 0 4px 16px !important;
}

body.single-post .main {
  max-width: 960px;
}

body.single-post .article {
  padding-left: 24px;
  padding-right: 24px;
}

.article h3,
.entry-content h3 {
  font-size: 20px;
  line-height: 1.5;
  margin: 42px 0 18px;
}

.entry-content .lead,
.wp-block-cocoon-blocks-blank-box-1.lead,
.lead {
  background: transparent;
  border: 0;
  border-left: 4px solid var(--primary);
  border-radius: 0;
  color: var(--text-dark);
  font-size: 19px;
  line-height: 1.9;
  margin: 32px 0 48px;
  padding: 0 0 0 20px;
}

.lead p {
  font-size: 19px;
  margin: 0 0 1em;
}

.lead p:last-child {
  margin-bottom: 0;
}

.entry-content .quote-box,
.wp-block-quote.quote-box,
.quote-box {
  background: var(--bg-quote);
  border: 0;
  border-left: 4px solid var(--accent);
  color: var(--text-dark);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.8;
  margin: 32px 0;
  padding: 24px 28px;
}

.quote-box p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}

.quote-box cite {
  color: var(--text-light);
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-style: normal;
  margin-top: 12px;
}

.entry-content .tip-box,
.wp-block-cocoon-blocks-icon-box.tip-box,
.tip-box {
  background: var(--highlight-tip);
  border: 1px solid var(--highlight-tip-border);
  border-radius: 8px;
  color: var(--text-gray);
  margin: 32px 0;
  padding: 20px 24px;
}

.tip-box::before {
  color: var(--accent);
}

.tip-box strong {
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.lead::before,
.quote-box::before,
.tip-box::before,
.warn-box::before,
.next-box::before,
.disclaimer::before {
  content: none !important;
  display: none !important;
}

.tip-box p {
  line-height: 1.8;
  margin: 0;
}

.entry-content .warn-box,
.wp-block-cocoon-blocks-info-box.warn-box,
.warn-box {
  background: var(--highlight-warn);
  border: 1px solid var(--highlight-warn-border);
  border-radius: 8px;
  color: var(--text-gray);
  margin: 32px 0;
  padding: 20px 24px;
}

.warn-box strong {
  color: #B85A1A;
  display: block;
  margin-bottom: 8px;
}

.warn-box p {
  line-height: 1.8;
  margin: 0;
}

.entry-content .next-box,
.wp-block-cocoon-blocks-blank-box-1.next-box,
.next-box {
  background: var(--bg-cream);
  border: 0;
  border-radius: 0 0 8px 8px;
  border-top: 3px solid var(--primary);
  margin: 60px 0 40px;
  padding: 28px 32px;
}

.next-label {
  background: var(--primary);
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding: 4px 12px;
}

.next-box p {
  line-height: 1.8;
  margin: 0;
}

mark,
.marker,
.marker-yellow,
.article mark,
.entry-content mark {
  background: var(--highlight-marker);
  border-radius: 2px;
  color: var(--text-dark);
  font-weight: 600;
  padding: 2px 4px;
}

.data-table-wrapper {
  margin: 60px 0;
  overflow-x: auto;
}

.data-table {
  border-collapse: collapse;
  font-size: 16px;
  width: 100%;
}

.data-table th {
  background: var(--primary-dark);
  color: #fff;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
}

.data-table td {
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
}

.data-table tr:nth-child(even) td {
  background: var(--bg-cream);
}

.data-table tr:hover td {
  background: var(--bg-quote);
}

.source {
  color: var(--text-light);
  font-size: 14px;
  margin: 8px 0 24px;
}

.source a {
  color: var(--accent);
  text-decoration: underline dotted;
}

.disclaimer {
  background: var(--bg-cream);
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 14px;
  margin-top: 80px;
  padding: 28px 32px;
}

.disclaimer h4 {
  color: var(--text-gray);
  font-size: 15px;
  margin: 0 0 12px;
}

.disclaimer ul {
  line-height: 1.8;
  margin: 0;
  padding-left: 20px;
}

.article-footer,
.footer-meta,
.sns-share,
.sns-follow,
.comment-area {
  display: none;
}

@media screen and (max-width: 768px) {
  .article,
  .entry-content,
  .entry-content p {
    font-size: 16px;
  }

  .entry-title,
  .article h1 {
    font-size: 26px;
    line-height: 1.45;
  }

  .article h2,
  .entry-content h2 {
    font-size: 20px;
    margin-top: 46px;
    padding-left: 14px;
  }

  .lead,
  .lead p {
    font-size: 17px;
  }

  .quote-box,
  .tip-box,
  .warn-box,
  .next-box,
  .disclaimer {
    margin-left: 0;
    margin-right: 0;
    padding: 20px;
  }
}

/* Dubai Tsushin front-page and Cocoon layout refinements */
body {
  background: #FFFFFF;
}

#header-container,
.header-container,
.header,
.navi,
.navi-in {
  background: #FFFFFF !important;
}

#header-container,
.header-container {
  border-bottom: 1px solid var(--border);
}

.header {
  padding: 16px 0 !important;
}

.logo-header {
  min-width: 300px;
  width: auto !important;
}

.logo-header a {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  text-decoration: none;
}

.logo-header a::after {
  color: var(--text-dark);
  content: "ドバイ通信";
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.logo-header img,
.logo-image,
.site-name-text img {
  border-radius: 12px;
  height: 56px !important;
  max-height: 56px !important;
  max-width: 56px !important;
  object-fit: contain;
  width: 56px !important;
}

.navi-in > ul > li > a {
  color: var(--text-dark);
  max-width: none;
  overflow: visible;
  padding: 16px 20px;
  text-overflow: clip;
  transition: background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  width: auto;
}

.navi-in > ul > li {
  width: auto !important;
}

.navi-in > ul > li > a:hover,
.navi-in > ul > li.current-menu-item > a {
  background: var(--bg-cream);
  color: var(--accent);
}

#footer,
.footer,
.footer-in,
.footer-bottom,
.footer-widgets {
  background: #F5F5F5 !important;
  color: var(--text-light);
}

.footer a,
.footer-bottom a {
  color: var(--accent);
}

.footer a:hover,
.footer-bottom a:hover {
  color: var(--primary-dark);
}

.dt-home-hero {
  align-items: flex-end;
  background-color: #3A3A3A;
  background-image:
    linear-gradient(90deg, rgba(18, 24, 32, 0.66) 0%, rgba(18, 24, 32, 0.42) 46%, rgba(18, 24, 32, 0.18) 100%),
    url('https://dubai-tsushin.com/wp-content/uploads/2026/05/dubai-tsushin-vol01-intro-eyecatch.png');
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  margin: 0 calc(50% - 50vw) 40px;
  min-height: 400px;
  padding: 0 max(24px, calc((100vw - 1100px) / 2)) 56px;
  position: relative;
  width: 100vw;
}

.dt-home-hero__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.dt-home-hero::after {
  background: linear-gradient(90deg, rgba(18, 24, 32, 0.66) 0%, rgba(18, 24, 32, 0.42) 46%, rgba(18, 24, 32, 0.18) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

body.home.page .article-header,
body.home.page .date-tags,
body.home.page .read-time,
body.home.page .toc,
body.home.page #toc,
body.home.page .sns-share,
body.home.page .pager-post-navi {
  display: none !important;
}

body.home.page .main,
body.home.page .article,
body.home.page .entry-content {
  margin-top: 0;
  padding-top: 0;
}

body.home.page .entry-content {
  overflow: visible;
}

.dt-home-hero__inner {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.dt-kicker {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.dt-home-hero h1 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(31px, 3.5vw, 48px);
  line-height: 1.35;
  margin: 0 0 18px;
}

.dt-nowrap {
  white-space: nowrap;
}

.dt-home-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.9;
  margin: 0;
}

.dt-home-section {
  margin: 52px auto;
  max-width: 1100px;
}

.dt-home-section--narrow {
  max-width: 760px;
}

.dt-home-section h2 {
  background: transparent !important;
  border-left: 4px solid var(--primary);
  border-radius: 0 !important;
  color: var(--text-dark);
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.5;
  margin: 0 0 24px;
  padding: 4px 0 4px 16px !important;
}

.dt-home-section p {
  color: var(--text-gray);
  font-size: 18px;
  line-height: 1.9;
}

.dt-series-grid,
.dt-latest-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dt-series-card,
.dt-latest-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.dt-latest-grid {
  grid-template-columns: 1fr;
}

.dt-latest-card {
  color: inherit;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(220px, 360px) 1fr;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.dt-latest-card:hover {
  border-color: rgba(201, 168, 118, 0.85);
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.08);
  transform: translateY(-2px);
}

.dt-latest-card__thumb {
  background: var(--bg-cream);
  display: block;
  min-height: 190px;
}

.dt-latest-card__thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.dt-latest-card__body {
  display: block;
  padding: 24px 28px;
}

.dt-series-card {
  border-top: 3px solid var(--primary);
}

.dt-series-card h3,
.dt-latest-card__title {
  color: var(--text-dark);
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px;
}

.dt-series-card p,
.dt-latest-card__excerpt {
  color: var(--text-gray);
  display: block;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.dt-series-label {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.dt-latest-empty {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-light);
  margin: 0;
  padding: 24px;
}

.dt-latest-card__date {
  color: var(--text-light);
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

@media screen and (max-width: 834px) {
  .logo-header {
    min-width: 240px;
    width: auto !important;
  }

  .logo-header a {
    gap: 10px;
    justify-content: center;
    width: auto !important;
  }

  .logo-header a::after {
    font-size: 24px;
  }

  .logo-header img,
  .logo-image,
  .site-name-text img {
    height: 48px !important;
    max-height: 48px !important;
    max-width: 48px !important;
    width: 48px !important;
  }

  .navi-in > ul > li > a {
    padding: 14px 12px;
  }

  .navi,
  .navi-in,
  .mobile-menu-buttons,
  .mobile-footer-menu-buttons {
    display: none !important;
  }

  body.mobile-button-fmb {
    padding-bottom: 0 !important;
  }

  .dt-home-hero {
    margin-bottom: 42px;
    min-height: 360px;
    padding-bottom: 46px;
  }

  .dt-series-grid,
  .dt-latest-grid {
    grid-template-columns: 1fr;
  }

  .dt-latest-card {
    grid-template-columns: 1fr;
  }

  .dt-latest-card__thumb {
    min-height: 190px;
  }
}
