/**
 * SOTSULOG — MIX風サイト共通（全ページ）
 * 参考: https://mixltd.jp/
 */

body.theme-tech {
  background: #fff;
  color: #1a1a1a;
}

body.theme-tech .tech-bg-sparks,
body.theme-tech .sot-it-layers {
  display: none !important;
}

body.theme-tech #page_visual {
  display: none !important;
}

/* ── MIX section head ── */
.sot-mix-section-head {
  margin-bottom: 2.5rem;
  text-align: left;
}

.sot-mix-section-head--center {
  text-align: center;
}

.sot-mix-section-head--center .sot-mix-section-head__en {
  justify-content: center;
}

.sot-mix-section-head__en {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #036eb8;
}

.sot-mix-section-head__en::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: #036eb8;
  flex-shrink: 0;
}

.sot-mix-section-head--center .sot-mix-section-head__en::before {
  display: none;
}

.sot-mix-section-head__ja {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.04em;
}

.sot-mix-section-head__title {
  margin: 0;
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #111;
}

.sot-mix-section-head__desc {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #555;
}

.sot-mix-section-head--center .sot-mix-section-head__desc {
  margin-left: auto;
  margin-right: auto;
}

/* 旧 sot-section__head を MIX トーンに寄せる */
.sot-section__head .sot-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #036eb8;
}

.sot-section__head .sot-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #036eb8;
}

.sot-section__title {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.45;
  color: #111;
}

.sot-section__desc {
  color: #555;
  line-height: 1.85;
}

/* ── 下層ページヒーロー ── */
.sot-page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
  background: #f7f9fc;
  border-bottom: 1px solid #e8ecf0;
}

.sot-page-hero__en {
  margin: 0 0 0.35rem;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #036eb8;
}

.sot-page-hero__ja {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #666;
}

.sot-page-hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.sot-page-hero__lead {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #555;
}

/* ── 下層メイン ── */
.sot-subpage {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}

.sot-subpage .sot-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* アーカイブグリッド */
.sot-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sot-archive-more {
  text-align: center;
  margin-top: 3rem;
}

/* 旧 page_title 非表示 */
body.theme-tech .page_title {
  display: none;
}

/* お知らせリスト */
.sot-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e8ecf0;
}

.sot-news-list__item {
  border-bottom: 1px solid #e8ecf0;
}

.sot-news-list__link {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.sot-news-list__link:hover {
  background: #f7f9fc;
}

.sot-news-list__date {
  font-size: 0.8125rem;
  color: #888;
  font-variant-numeric: tabular-nums;
}

.sot-news-list__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #111;
}

.sot-news-list__excerpt {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .sot-news-list__link {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* シングル記事 */
.sot-single-article {
  max-width: 800px;
  margin: 0 auto;
}

.sot-single-article__meta {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #888;
}

.sot-single-article__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}

.sot-single-article__body {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

.sot-single-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.sot-single-article__back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e8ecf0;
}

/* 固定ページ本文 */
.sot-page-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

.sot-page-content h2,
.sot-page-content h3 {
  margin-top: 2.5rem;
  font-weight: 700;
  color: #111;
}

.sot-page-content img {
  max-width: 100%;
  height: auto;
}

/* MIX contact */
.sot-mix-contact {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: #f0f6fc;
}

.sot-mix-contact .sot-mix-section-head--center,
.sot-mix-contact .sot-mix-section-head {
  text-align: center;
}

.sot-mix-contact .sot-mix-section-head__en {
  justify-content: center;
}

.sot-mix-contact .sot-mix-section-head__en::before {
  display: none;
}

.sot-mix-contact__body {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.sot-mix-contact__text {
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #555;
}

.sot-mix-contact__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.sot-mix-contact__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.sot-mix-contact__tel-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #036eb8;
}

.sot-mix-contact__tel a {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

.sot-mix-contact__tel a:hover {
  color: #036eb8;
}

.sot-mix-contact__hours {
  font-size: 0.8125rem;
  color: #888;
}

.sot-mix-contact__mail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: min(100%, 320px);
  padding: 1rem 2rem;
}

.sot-mix-contact__mail-note {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
}

/* パートナー */
.sot-partner {
  padding: 2.5rem 0;
  background: #fff;
  border-top: 1px solid #e8ecf0;
}

.sot-partner .sot-mix-section-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.sot-partner .sot-mix-section-head__en {
  justify-content: center;
}

.sot-partner .sot-mix-section-head__en::before {
  display: none;
}

.sot-partner__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.sot-partner__badge {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #444;
  background: #f7f9fc;
  border: 1px solid #e0e6ed;
  border-radius: 4px;
}

/* 旧 contactBox 非表示 */
body.theme-tech .contactBox {
  display: none !important;
}

body.theme-tech .partner_information {
  display: none !important;
}

/* トップ：ヒーロー MIX トーン */
body.sot-home .hero-home__en {
  margin: 0 0 0.75rem;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #036eb8;
  line-height: 1.5;
}

body.sot-home .hero-home__canvas {
  opacity: 0.12;
}

body.sot-home .sot-contact-cta {
  background: #f0f6fc;
  border: none;
  border-radius: 0;
  padding: clamp(3rem, 8vw, 4rem) 1.5rem;
}

/* About ページ */
body.sot-about .sot-about-label {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #036eb8;
}

body.sot-about .sot-about-heading {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #111;
}

body.sot-about .sot-about-block__body {
  background: #f7f9fc;
  border: 1px solid #e8ecf0;
  border-radius: 4px;
}

/* サービスページ */
.sot-service-visual {
  margin-bottom: 2rem;
  border-radius: 4px;
  overflow: hidden;
}

.sot-service-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* サービスページ */
.sot-service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.sot-service-block--reverse .sot-service-visual {
  order: -1;
}

.sot-service-block__text {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

.sot-service-block__text h2,
.sot-service-block__text h3 {
  margin-top: 0;
  color: #111;
}

.sot-service-solutions {
  padding-top: 0;
}

.sot-service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sot-service-card {
  padding: 1.75rem 1.5rem;
  background: #f7f9fc;
  border: 1px solid #e8ecf0;
  border-radius: 4px;
}

.sot-service-card__title {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #036eb8;
}

.sot-service-card__title i {
  margin-right: 0.35rem;
}

.sot-service-card__body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #555;
}

.sot-service-page .service-visual-block {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f4fc 0%, #f7f9fc 100%);
  border-radius: 4px;
}

@media (max-width: 900px) {
  .sot-service-block,
  .sot-service-block--reverse {
    grid-template-columns: 1fr;
  }

  .sot-service-block--reverse .sot-service-visual {
    order: 0;
  }

  .sot-service-cards {
    grid-template-columns: 1fr;
  }
}

.sot-archive-grid > li {
  list-style: none;
  min-width: 0;
}

.sot-archive-grid .sot-work-card {
  height: 100%;
}

body.sot-about .sot-about-page {
  padding-top: 0;
}

body.sot-about .sot-page-hero + .sot-section {
  padding-top: 2rem;
}

.sot-partner .sot-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

footer .sot-mix-contact {
  margin-bottom: 0;
}

/* ── 法務ページ（サポート / プライバシーポリシー） ── */
body.sot-legal {
  background-color: #fff;
  color: #1a1a1a;
}

body.sot-legal.appear::before,
body.sot-legal.appear::after {
  display: none !important;
  content: none !important;
  background: none !important;
  animation: none !important;
}

body.sot-legal .contactBox,
body.sot-legal .partner_information {
  display: none !important;
}

.sot-legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(96px, 14vw, 120px) 1.25rem clamp(4rem, 8vw, 6rem);
}

.sot-legal-hero {
  margin-bottom: 2.5rem;
}

.sot-legal-hero__en {
  margin: 0 0 0.35rem;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #036eb8;
}

.sot-legal-hero__ja {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #666;
}

.sot-legal-hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.sot-legal-hero__lead {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #555;
}

.sot-legal-body {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: #333;
}

.sot-legal-body p {
  margin: 0 0 1rem;
}

.sot-legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.sot-legal-body ul li + li {
  margin-top: 0.5rem;
}

.sot-legal-doc__updated {
  margin: 0 0 2rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.sot-legal-section,
.sot-legal-doc__section {
  margin-top: 2.5rem;
}

.sot-legal-section--featured {
  margin-top: 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.sot-legal-subheading {
  margin: 1.5rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

.sot-legal-section h2,
.sot-legal-doc__section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 700;
  color: #111;
}

.sot-legal-dl {
  margin: 0;
}

.sot-legal-dl > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.sot-legal-dl > div:last-child {
  border-bottom: none;
}

.sot-legal-dl dt {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
}

.sot-legal-dl dd {
  margin: 0;
}

.sot-legal-dl a {
  color: #036eb8;
  text-decoration: none;
}

.sot-legal-dl a:hover {
  text-decoration: underline;
}

.sot-legal-note {
  font-size: 0.875rem;
  color: #64748b;
}

.sot-legal-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sot-legal-links li + li {
  margin-top: 0.75rem;
}

.sot-legal-links a {
  color: #036eb8;
  font-weight: 600;
  text-decoration: none;
}

.sot-legal-links a:hover {
  text-decoration: underline;
}

.sot-legal-service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sot-legal-service-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.sot-legal-service-list li:last-child {
  border-bottom: none;
}

.sot-legal-service-list strong {
  display: block;
  color: #111;
}

.sot-legal-service-list span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #64748b;
}

.sot-legal-faq {
  display: grid;
  gap: 0;
}

.sot-legal-faq__item {
  border-bottom: 1px solid #eee;
}

.sot-legal-faq__item summary {
  padding: 1rem 0;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  list-style: none;
}

.sot-legal-faq__item summary::-webkit-details-marker {
  display: none;
}

.sot-legal-faq__answer {
  padding: 0 0 1rem;
  color: #475569;
}

.sot-legal-faq__answer p {
  margin: 0;
}

@media (max-width: 600px) {
  .sot-legal-dl > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
