/* ===========================================================================
   ServicesTourismDx — Section layouts, grids, cards, statistics, and partner branding.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   Hero section: .td-hero
   --------------------------------------------------------------------------- */
.td-hero {
  background: var(--td-navy);
  color: var(--td-white);
  padding: clamp(36px, 4vw, 64px) 0 clamp(44px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.td-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 1100px) {
  .td-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.td-hero__txt {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.td-hero__eyebrow {
  color: var(--td-blue-pale);
  margin: 0;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.td-hero__h1 {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--td-white);
  margin: 0;
  letter-spacing: -0.01em;
}

.td-hero__promise {
  margin: 0;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--td-blue-pale);
}

.td-hero__lead {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.88);
}

.td-hero__partner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--td-blue-pale);
  margin-top: 4px;
}

.td-hero__partner-txt {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--td-white);
  flex: 1 1 240px;
}

.td-hero__partner-txt strong {
  color: var(--td-white);
  font-weight: 700;
}

.td-hero__logo {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.td-hero__logo img {
  width: 132px;
  height: auto;
  display: block;
}

.td-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.td-hero__link {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--td-white);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background .2s, border-color .2s;
  box-sizing: border-box;
}

.td-hero__link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--td-white);
}

.td-hero__link:focus-visible {
  outline: 3px solid var(--td-amber);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   Strip section: .td-strip (dải ngay dưới hero, KHÔNG ảnh)
   --------------------------------------------------------------------------- */
.td-strip {
  background: var(--td-surface);
  border-bottom: 1px solid var(--td-line);
  padding: clamp(28px, 3.4vw, 42px) 0;
}

.td-strip__lead {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--td-navy);
  text-align: center;
  margin: 0 0 24px;
}

.td-strip__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 860px) {
  .td-strip__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .td-strip__links {
    grid-template-columns: 1fr;
  }
}

.td-strip__links li {
  margin: 0;
}

.td-strip__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  min-height: 44px;
  background: var(--td-white);
  border: 1px solid var(--td-line-strong);
  border-radius: 8px;
  text-decoration: none;
  color: var(--td-navy);
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.04);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  box-sizing: border-box;
}

.td-strip__link b {
  color: var(--td-blue);
  font-size: 16px;
  font-weight: 900;
}

.td-strip__link:hover {
  border-color: var(--td-blue);
  box-shadow: 0 6px 16px rgba(27, 111, 179, 0.12);
  transform: translateY(-2px);
}

.td-strip__link:focus-visible {
  outline: 3px solid var(--td-blue);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   課題 section: .td-kadai (2 cột ở >=1101px, xếp chồng ở <=1100px)
   --------------------------------------------------------------------------- */
.td-kadai {
  display: grid;
  grid-template-columns: 1fr minmax(540px, 600px);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  margin-top: 32px;
}

@media (max-width: 1100px) {
  .td-kadai {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.td-pains {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.td-pains li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--td-white);
  border: 1px solid var(--td-line);
  border-left: 4px solid var(--td-blue);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(16, 42, 67, 0.04);
  font-size: 15px;
  line-height: 1.8;
  color: var(--td-navy);
}

.td-pains__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--td-navy);
  color: var(--td-white);
  font-size: 14px;
  font-weight: 700;
  flex: none;
  margin-top: 2px;
}

.td-pains__txt {
  flex: 1;
  font-weight: 500;
}

/* ---------------------------------------------------------------------------
   提供内容 4 steps: .td-steps, .td-step
   --------------------------------------------------------------------------- */
.td-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}

.td-step {
  padding: clamp(36px, 4.5vw, 60px) 0;
  border-top: 1px solid var(--td-line);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.td-step:first-child {
  border-top: none;
  padding-top: 0;
}

@media (max-width: 900px) {
  .td-step {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.td-step__main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.td-step__no {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--td-blue);
  margin: 0;
}

.td-step__h3 {
  margin: 0;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--td-navy);
}

/* ---------------------------------------------------------------------------
   特徴・強み: .td-feat, .td-fcard
   --------------------------------------------------------------------------- */
.td-feat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .td-feat {
    grid-template-columns: 1fr;
  }
}

.td-fcard {
  border: 1px solid var(--td-line);
  background: var(--td-white);
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
  padding: clamp(24px, 3vw, 32px);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .td-fcard {
    padding: 20px 10px;
  }
}

.td-fcard--big {
  border-top: 3px solid var(--td-blue);
}

.td-fcard__no {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--td-blue);
  margin: 0;
}

.td-fcard h3 {
  margin: 0;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--td-navy);
}

.td-fbody {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------------------------------------------------------------------------
   導入効果: .td-cases, .td-case, .td-cmpbox
   --------------------------------------------------------------------------- */
.td-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .td-cases {
    grid-template-columns: 1fr;
  }
}

.td-case {
  border: 1px solid var(--td-line);
  background: var(--td-white);
  padding: 28px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.td-case__tag {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--td-blue);
  margin: 0;
}

.td-case__h3 {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--td-navy);
  margin: 0;
}

.td-case__dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.td-case__dl div {
  display: flex;
  gap: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--td-muted);
}

.td-case__dl dt {
  font-weight: 700;
  color: var(--td-navy);
  flex: none;
  width: 4.2em;
}

.td-case__dl dd {
  margin: 0;
  flex: 1;
}

.td-case__eff {
  color: var(--td-blue-dark);
  font-weight: 700;
}

.td-cmpbox {
  background: var(--td-navy);
  border-radius: 12px;
  padding: 40px 32px;
  margin-top: 40px;
  color: var(--td-white);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .td-cmpbox {
    padding: 32px 8px;
  }
}

.td-cmpbox__title {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--td-white);
  text-align: center;
  margin: 0 0 16px;
}

.td-cmpbox__note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin: 20px 0 0;
}

.td-cases__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.td-cases__more {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--td-blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 20px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  box-sizing: border-box;
}

.td-cases__more:hover {
  color: var(--td-blue);
}

.td-cases__more:focus-visible {
  outline: 3px solid var(--td-blue);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   関連サービス: .td-rel1
   --------------------------------------------------------------------------- */
.td-rel1 {
  border: 1px solid var(--td-line);
  border-left: 4px solid var(--td-blue);
  background: var(--td-surface);
  border-radius: 8px;
  padding: clamp(24px, 3.2vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.td-rel1__body {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.td-rel1__eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--td-blue);
  margin: 0;
}

.td-rel1__h3 {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--td-navy);
  margin: 0;
}

.td-rel1__link-wrap {
  flex: none;
}

.td-rel1__link {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--td-white);
  background: var(--td-navy);
  padding: 12px 24px;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  box-sizing: border-box;
}

.td-rel1__link:hover {
  background: var(--td-blue);
  transform: translateY(-1px);
}

.td-rel1__link:focus-visible {
  outline: 3px solid var(--td-blue);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   認証: .td-certs, .td-cert
   --------------------------------------------------------------------------- */
.td-certs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .td-certs {
    grid-template-columns: 1fr;
  }
}

.td-cert {
  border: 1px solid var(--td-line);
  background: var(--td-white);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.04);
}

@media (max-width: 520px) {
  .td-cert {
    flex-direction: column;
    text-align: center;
  }
}

.td-cert__img {
  width: 140px;
  height: auto;
  flex: none;
}

.td-cert__txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.td-cert__h3 {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--td-navy);
  margin: 0;
}

/* ---------------------------------------------------------------------------
   ソリューション領域: .td-areas, .td-area
   --------------------------------------------------------------------------- */
.td-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(45%, 300px)), 1fr));
  gap: 24px;
  margin-top: 32px;
}

.td-area {
  border: 1px solid var(--td-line);
  background: var(--td-white);
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 8px;
}

.td-area__no {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--td-blue);
}

.td-area__h3 {
  margin: 0;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--td-navy);
}

/* ---------------------------------------------------------------------------
   FAQ: .td-faq, .td-faq__item, .td-faq__q, .td-faq__dot, .td-faq__a
   --------------------------------------------------------------------------- */
.td-faq {
  max-width: 960px;
  margin: 32px auto 0;
}

.td-faq__item {
  border-top: 1px solid var(--td-line);
}

.td-faq__item:last-child {
  border-bottom: 1px solid var(--td-line);
}

.td-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 20px 0;
  cursor: pointer;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--td-navy);
  text-align: left;
  min-height: 44px;
  box-sizing: border-box;
  list-style: none;
}

.td-faq__q::-webkit-details-marker {
  display: none;
}

.td-faq__q:focus-visible {
  outline: 3px solid var(--td-blue);
  outline-offset: 2px;
}

.td-faq__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--td-amber);
  flex: none;
}

.td-faq__a {
  padding: 0 0 20px 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.95;
  color: var(--td-muted);
}
