/*
Theme Name: M&A Success Partners Classic
Description: Classic theme for M&A Success Partners
Version: 1.0
Author: M&A Success Partners
*/

/* CSS Variables */
:root {
  /* Colors */
  --c-primary: #203060;
  --c-bg: #ffffff;
  --c-fg: #333333;
  --c-muted: #666666;
  --c-border: #e0e0e0;
  --c-bg-gray: #f7f7f7;
  
  /* Typography */
  --font-family-primary: 'Noto Sans JP', 'Noto Sans', sans-serif;
  --font-family-en: 'Alexandria', sans-serif;
  
  /* Spacing */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
  
  /* Container */
  --container-max-width: 1100px;
  --container-padding: 24px;
  
  /* Z-index */
  --z-header: 100;
  --z-nav: 200;
  --z-modal: 1000;

  /* Blog Single Page Colors */
  --c-heading-bg: #f5f5f5;
  --c-heading-accent: #203060;
  --c-list-bg: #f0f8ff;
  --c-table-header-bg: #f5f5f5;
  --c-red-emphasis: red;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.7;
  color: var(--c-fg);
  background-color: var(--c-bg);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

/* Typography */
h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  font-weight: 700;
}

h3 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  font-weight: 700;
}

/* Utility */
.u-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  padding-inline: var(--container-padding);
  margin: 0 auto;
}

/* WordPress specific styles */
.wp-block-group {
  margin: 0;
}

/* Alignments */
.alignwide {
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px var(--sp-3);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: white;
  color: #203060;
  border: 1px solid #000;
}

.btn--primary:hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
}

.btn--large {
  padding: 12px 24px;
  font-size: 16px;
  width: 230px;
  text-align: center;
}

.btn--center {
  margin: var(--sp-4) auto 0;
}

.btn--header {
  position: absolute;
  left: 1064px;
  top: 16px;
  width: 184px;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  background-color: #203060;
  color: white;
  text-decoration: none;
}

.btn--header:hover {
  background-color: #1a2650;
  transform: translateY(-1px);
}

/* Focus */
*:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}

/* Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  z-index: var(--z-header);
}

.site-header__inner {
  position: relative;
  height: 82px;
  max-width: 1248px;
  margin: 0 auto;
}

.site-header__logo {
  position: absolute;
  left: 95px;
  top: 22px;
  width: 272px;
  height: 42px;
}

.site-header__logo-pc {
  height: 42px;
  width: 272px;
}

.site-header__logo-sp {
  display: none;
  height: 39px;
  width: 33px;
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: var(--sp-2);
  cursor: pointer;
  z-index: calc(var(--z-nav) + 1);
}

.site-header__toggle-bar {
  width: 24px;
  height: 2px;
  background-color: var(--c-primary);
  transition: all 0.3s ease;
}

/* Navigation */
.nav {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: block;
    position: absolute;
    left: 629px;
    top: 35px;
  }
}

.nav__backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: var(--z-nav);
}

.nav__content {
  position: static;
}

.nav__close {
  display: none;
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: none;
  border: none;
  color: var(--c-bg);
  padding: var(--sp-2);
  cursor: pointer;
}

.nav__list {
  display: flex;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: 0;
  color: #203060;
  text-decoration: none;
  font-family: 'Alexandria', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav__link:hover {
  opacity: 0.7;
}

/* Header/Nav - SP版 (grouped below PC styles) */
@media (max-width: 767px) {
  .site-header__logo {
    left: 18px;
    top: 22px;
    width: 33px;
    height: 39px;
  }

  .site-header__logo-pc { display: none; }
  .site-header__logo-sp { display: block; }

  .site-header__toggle {
    display: flex;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  /* Mobile drawer nav */
  .nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: var(--z-nav);
  }

  .nav[data-state="open"] { transform: translateX(0); }
  .nav[data-state="open"] .nav__backdrop { display: block; }

  .nav__content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background-color: var(--c-primary);
    padding: var(--sp-8) var(--sp-4);
    z-index: calc(var(--z-nav) + 2);
  }

  .nav__close { display: block; }
  .nav__list { flex-direction: column; gap: 20px; margin-top: var(--sp-4); }
  .nav__link { color: var(--c-bg); font-size: 18px; padding: var(--sp-3) 0; }

  /* Toggle animation */
  .site-header__toggle[aria-expanded="true"] .site-header__toggle-bar {
    opacity: 0;
    visibility: hidden;
  }

  /* Hide desktop contact button */
  .btn--header { display: none; }
}

/* Hero */
.hero {
  position: relative;
  height: 570px;
  overflow: hidden;
  background: url('images/background-hero.png') no-repeat center center;
  background-size: cover;
  margin-top: 82px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero__content {
  position: absolute;
  top: 173px;
  left: 158px;
  max-width: 600px;
}

.hero__title {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 50px;
  line-height: 60px;
  color: white;
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero__lead {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: white;
  margin-bottom: 40px;
  white-space: nowrap;
}

/* Hero - SP版 (grouped below PC styles) */
@media (max-width: 767px) {
  /* earlier mobile adjustments */
  .hero__content {
    position: absolute;
    top: 140px;
    left: 34px;
    right: 34px;
    max-width: none;
  }

  .hero__title {
    font-size: 24px;
    line-height: 46px;
    white-space: normal;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    white-space: normal;
    margin-bottom: 32px;
  }

  .hero__content .btn {
    display: block;
    margin: 0 auto;
  }

  /* later mobile overrides */
  .hero__content { max-width: 100%; }
  .hero { padding-bottom: var(--sp-8); }
}

/* Problems */
.problems {
  position: relative;
  padding: 0;
  background: url('images/background-thinking-pc.png') no-repeat center center;
  background-size: cover;
  min-height: 770px;
  overflow: hidden;
}


.problems__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  height: 770px;
}

.problems__title {
  position: absolute;
  top: 129px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: white;
  margin: 0;
  text-align: center;
  width: 511px;
}

.problems__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.problems__item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
}

.problems__item:nth-child(1) {
  top: 245px;
  left: 315px;
}

.problems__item:nth-child(2) {
  top: 345px;
  left: 60px;
}

.problems__item:nth-child(3) {
  top: 471px;
  left: 60px;
}

.problems__item:nth-child(4) {
  top: 340px;
  right: 60px;
}

.problems__item:nth-child(5) {
  top: 470px;
  right: 60px;
}

.problems__check {
  width: 40px;
  height: 40px;
  background: url('images/checkboxes.png') no-repeat center center;
  background-size: contain;
  flex-shrink: 0;
}

.problems__text {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: white;
  margin: 0;
}

/* Problems - SP版 (grouped below PC styles) */
@media (max-width: 767px) {
  .problems {
    background: url('images/background-thinking-sp.png') no-repeat center center;
    background-size: cover;
    min-height: 922px;
  }

  .problems__inner { padding: 115px 20px 80px; }
  .problems__title { position: static; transform: none; font-size: 24px; margin-bottom: 0; width: auto; }
  .problems__list { position: static; margin-top: 240px; }
  .problems__item { position: static; background: rgba(0, 0, 0, 0.3); border: 2px solid white; border-radius: 40px; padding: 16px 20px; margin-bottom: 20px; box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); max-width: 342px; margin-left: auto; margin-right: auto; }
  .problems__text { font-size: 16px; line-height: 1.4; }
}

/* Service Section */
.service {
  padding: 60px 0 80px;
  background: white;
}

.service__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.service__header {
  text-align: center;
  margin-bottom: 80px;
}

.service__title-en {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #757575;
  margin-bottom: 8px;
}

.service__title {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: #203060;
  margin: 0;
}

.service__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service__item {
  position: relative;
  margin-bottom: 0;
  min-height: 390px;
  width: 1280px;
  margin: 0 auto;
}

.service__item:nth-child(1) {
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 117px;
}

.service__item:nth-child(2) {
  display: grid;
  grid-template-columns: 1fr 640px;
  gap: 117px;
}

.service__item:nth-child(2) .service__item-image {
  order: 2;
}

.service__item:nth-child(2) .service__item-content {
  order: 1;
}

.service__item:nth-child(3) {
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 117px;
}

.service__item-image {
  position: relative;
  background: #d9d9d9;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service__item-image img {
  width: 390px;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
}

.service__item:nth-child(2) .service__item-image img {
  width: 400px;
  height: 260px;
}

.service__item:nth-child(3) .service__item-image img {
  width: 400px;
  height: 260px;
}

.service__item-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.service__item:nth-child(odd) .service__item-content {
  padding-right: 60px;
}

.service__item:nth-child(2) .service__item-content {
  padding-left: 60px;
}

.service__item-title {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 50px;
  color: #203060;
  margin-bottom: 8px;
  white-space: nowrap;
}

.service__item-text {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #203060;
  margin: 0;
}

.service__item-features {
  margin-top: 0;
}

.service__item-features p {
  font-weight: 400;
  margin-bottom: 8px;
  color: #203060;
}

.service__item-features ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.service__item-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 2px;
  font-size: 16px;
  line-height: 1.2;
  color: #203060;
}

.service__item-features li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: #203060;
}

.service__item-features li {
  margin-bottom: var(--sp-1);
}

/* Service - SP版 (grouped below PC styles) */
@media (max-width: 767px) {
  .service { padding-bottom: 0; }
  .service__title { font-size: 24px; }
  .service__item { display: block; margin-bottom: 60px; min-height: auto; width: auto; margin: 0 0 60px 0; }
  .service__item:nth-child(1),
  .service__item:nth-child(2),
  .service__item:nth-child(3) { display: block; gap: 0; }
  .service__item-image { height: auto; margin-bottom: 20px; background: transparent; }
  .service__item-image img { width: 100%; max-width: 350px; height: auto; display: block; margin: 0 auto; }
  .service__item-content { padding: 0 20px; text-align: left; }
  .service__item:nth-child(odd) .service__item-content { padding: 0 20px; }
  .service__item:nth-child(2) .service__item-content { padding: 0 20px; }
  .service__item-title { white-space: normal; text-align: left; margin-bottom: 20px; }
  .service__item-features p { font-size: 16px; }
  .service__item { grid-template-columns: 1fr; gap: var(--sp-4); text-align: center; }
  .service__item--reverse { direction: ltr; }
  .service__item-image { order: -1; }
}

/* Contact */
.contact {
  padding: 160px 0 200px;
  background-image: url('images/background-contact.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}


.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  padding-inline: 20px;
  margin: 0 auto;
  text-align: center;
}

.contact__header {
  text-align: center;
  margin-bottom: 89px;
}

.contact__title-en {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #d9d9d9;
  margin: 0 0 8px 0;
  line-height: 1;
}

.contact__title {
  font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin: 0;
}

.contact__description {
  font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
  line-height: 1.5;
  margin-bottom: 108px;
}

form {
  background: white;
  border-radius: 8px;
  padding: 24px;
  max-width: 576px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  border: 1px solid #d9d9d9;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__form-label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #203060;
  line-height: 1.4;
  margin: 0;
}

.contact__form-input,
.contact__form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background-color: white;
  color: #203060;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  box-sizing: border-box;
}

.contact__form-input::placeholder,
.contact__form-textarea::placeholder {
  color: #d9d9d9;
  line-height: 1;
}

.contact__form-textarea::placeholder {
  line-height: 1.4;
}

.contact__form-input:focus,
.contact__form-textarea:focus {
  outline: none;
  border-color: #203060;
}

.contact__form-textarea {
  min-height: 80px;
  resize: vertical;
}

.contact__form-button {
  background-color: #203060;
  color: #f8f8f8;
  border: 1px solid #203060;
  border-radius: 8px;
  padding: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.contact__form-button:hover {
  background-color: #1a2650;
}

/* Contact - SP版 (grouped below PC styles) */
@media (max-width: 767px) {
  .contact {
    padding: 112px 0 100px;
  }

  .contact__inner {
    max-width: 393px;
    padding-inline: 20px;
  }

  .contact__header {
    margin-bottom: 67px;
  }

  .contact__title-en {
    font-size: 16px;
  }

  .contact__title {
    font-size: 36px;
  }

  .contact__description {
    font-size: 16px;
    margin-bottom: 74px;
    text-align: left;
    padding: 0 25px;
  }

  form {
    max-width: 340px;
    padding: 24px;
  }
}

/* Strengths */
.strengths {
  padding: 80px 0;
  background-color: #ffffff;
  position: relative;
}

.strengths__inner {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* PC Header Section */
.strengths__header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.strengths__title {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: #203060;
  margin-bottom: 32px;
  position: relative;
}

.strengths__subtitle {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 50px;
  color: #203060;
  margin: 0;
}

.strengths__highlight {
  position: relative;
}

.strengths__highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 10px;
  width: calc(100% - 5px);
  height: 6px;
  background-color: #2a93c5;
}

/* PC Layout */
.strengths__content {
  position: relative;
  height: 1321px;
}

/* PC Logo Section */
.strengths__logo {
  position: absolute;
  top: 0;
  right: 110px;
  text-align: center;
  width: 256px;
  z-index: 10;
}

.strengths__logo-company-text {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #203060;
  margin-bottom: 8px;
}

.strengths__logo-main {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #203060;
  margin-bottom: 16px;
  line-height: 1;
}

.strengths__logo-main .large { font-size: 64px; }
.strengths__logo-main .medium { font-size: 48px; }

.strengths__logo-company {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #d9d9d9;
  letter-spacing: 1.92px;
  margin-bottom: 16px;
}

.strengths__logo-symbol {
  width: 64px;
  height: 76px;
  background-image: url('images/MASP-symbol-logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
}

/* PC Strength Cards */
.strengths__list {
  list-style: none;
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
}

.strengths__item {
  position: absolute;
  display: flex;
  align-items: center;
  background: #203060;
  color: white;
  height: 241px;
  padding: 0 0 0 400px;
  left: -400px;
  width: 1600px;
  z-index: 5;
}

.strengths__item:nth-child(1) {
  top: 0;
  clip-path: polygon(0 0, 1020px 0, 1120px 100%, 0 100%);
}

.strengths__item:nth-child(2) {
  top: 270px;
  clip-path: polygon(0 0, 1130px 0, 1230px 100%, 0 100%);
}

.strengths__item:nth-child(3) {
  top: 540px;
  clip-path: polygon(0 0, 1240px 0, 1340px 100%, 0 100%);
}

.strengths__item:nth-child(4) {
  top: 810px;
  clip-path: polygon(0 0, 1350px 0, 1450px 100%, 0 100%);
}

.strengths__item:nth-child(5) {
  top: 1080px;
  clip-path: polygon(0 0, 1460px 0, 1560px 100%, 0 100%);
}

.strengths__item-number {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  background-color: #2a93c5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: white;
  margin-right: 32px;
  position: absolute;
  left: 400px;
}

.strengths__item-content {
  margin-left: 80px;
}

.strengths__item:nth-child(1) .strengths__item-content {
  width: 600px;
}

.strengths__item:nth-child(2) .strengths__item-content {
  width: 700px;
}

.strengths__item:nth-child(3) .strengths__item-content {
  width: 800px;
}

.strengths__item:nth-child(4) .strengths__item-content {
  width: 900px;
}

.strengths__item:nth-child(5) .strengths__item-content {
  width: 1000px;
}

.strengths__item-title {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 50px;
  color: white;
  margin-bottom: 16px;
}

.strengths__item-text {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: white;
  margin: 0;
}

/* Strengths Section Mobile */
@media (max-width: 767px) {
  .strengths {
    position: static;
    padding: 0;
    overflow: hidden;
  }

  .strengths__inner {
    margin: 0 auto;
    padding: 0 20px;
    position: static;
  }

  .strengths__header {
    background-color: #D9D9D9;
    padding: 80px 20px;
    margin: 0 -20px 20px -20px;
    text-align: left;
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  }

  .strengths__title {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 24px;
    color: #203060;
  }

  .strengths__subtitle {
    font-size: 16px;
    line-height: 34px;
    font-weight: 700;
    color: #203060;
  }

  .strengths__content {
    position: static;
    height: auto;
  }

  .strengths__logo {
    position: static;
    padding: 30px 0;
    text-align: center;
    color: #203060;
    margin-bottom: var(--sp-6);
    width: 100%;
  }

  .strengths__logo-company-text {
    font-size: 24px;
    margin-bottom: 8px;
    color: #203060;
  }

  .strengths__logo-main {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 0;
    color: #203060;
  }

  .strengths__logo-main .large { font-size: 64px; }
  .strengths__logo-main .medium { font-size: 48px; }

  .strengths__logo-company {
    font-size: 16px;
    color: #d9d9d9;
    margin-bottom: 8px;
  }

  .strengths__logo-symbol {
    width: 64px;
    height: 76px;
    background-image: url('images/MASP-symbol-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .strengths__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: static;
    height: auto;
    margin-right: 0;
  }

  .strengths__item {
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
    height: auto !important;
    margin: 20px -20px;
    padding: 0 var(--sp-4) 50px;
    color: white;
    position: relative;
    top: auto !important;
    left: auto !important;
    width: calc(100% + 40px);
  }

  .strengths__item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #203060;
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%) !important;
    z-index: -1;
  }

  .strengths__item-number {
    position: static;
    margin-bottom: 20px;
    margin-right: 0;
    width: 68px;
    height: 68px;
    background: #4a9eff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    color: white;
  }

  .strengths__item-content {
    display: block;
    margin-left: 0;
    width: 100% !important;
  }

  .strengths__item-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    line-height: 2;
  }

  .strengths__item-text {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Additional SP overrides */
  .strengths__highlight::after {
    content: '';
    height: 0;
    width: 0;
  }

  /* (cleaned) Other sections' mobile styles were moved under each section */
}

/* Use Cases Section - PC */
.usecases {
  background: #757575;
  padding: 118px 0 150px;
}

.usecases__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.usecases__header {
  margin-bottom: 80px;
}

.usecases__title-en {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #d9d9d9;
  margin: 0;
  text-align: center;
  margin-bottom: 10px;
}

.usecases__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-align: center;
}

.usecases__list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.usecases__item-card {
  background: white;
  border: 1px solid #203060;
  width: 1062px;
  height: 787px;
  margin: 0 auto;
}

/* タイトル */
.usecases__item-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #203060;
  margin: 50px 0;
  line-height: 50px;
  text-align: center;
}

.usecases__item-title-case {
  font-size: 36px;
}

.usecases__item-title-text {
  font-size: 24px;
}

.usecases__item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 750px;
  margin: 0 auto;
}

/* 課題セクション */
.usecases__item-section--challenge {
  display: flex;
}

.usecases__item-section--challenge .usecases__item-section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #203060;
  margin: 0;
}

.usecases__item-image {
  width: 280px;
  height: 168px;
  margin-top: 40px;
}

.usecases__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usecases__item-challenges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 514px;
}

.usecases__item-challenge p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #203060;
  margin: 0;
  line-height: normal;
  background: #d9d9d9;
  border-radius: 40px;
  padding: 15px 20px;
  height: auto;
  margin-bottom: 0;
  display: block;
}

/* 支援セクション */
.usecases__item-section--support {
  display: flex;
  position: relative;
}

.usecases__item-arrow {
  width: 200px;
  height: 232px;
  position: absolute;
  top: -30px;
  left: 28px;
}

.usecases__item-arrow img {
  width: 100%;
  height: 100%;
}

.usecases__item-support-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 180px;
}

.usecases__item-section--support .usecases__item-section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #203060;
  margin: 0;
}

.usecases__item-support-list {
  background: #d9e8ef;
  border-radius: 40px;
  width: 570px;
  height: 96px;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 50px;
}

.usecases__item-support-list li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #203060;
  line-height: normal;
  position: relative;
  padding-left: 25px;
}

.usecases__item-support-list li:last-child {
  margin-bottom: 0;
}

.usecases__item-support-list li::before {
  content: "●";
  color: #203060;
  position: absolute;
  left: 0;
  top: 0;
}

/* 結果セクション */
.usecases__item-section--result {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.usecases__item-section--result .usecases__item-section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #203060;
  margin: 0;
}

.usecases__item-result-image {
  width: 205px;
  height: 123px;
  position: absolute;
  left: 0;
  top: 45px;
}

.usecases__item-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usecases__item-result-text {
  width: 100%;
  background: #d9d9d9;
  border-radius: 40px;
  height: 96px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #203060;
  margin: 0;
  line-height: normal;
  display: flex;
  align-items: center;
  padding: 0 25px 0 230px;
}

/* Use Cases - SP版 (moved and grouped) */
@media (max-width: 767px) {
  .usecases {
    background: #757575;
    padding: 100px 0;
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%)
  }

  .usecases__inner {
    margin: 0 auto;
    padding: 0 15px;
  }

  .usecases__header {
    margin-bottom: 50px;
    width: 160px;
  }

  .usecases__title-en {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #d9d9d9;
    margin: 0 0 8px;
  }

  .usecases__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 0;
  }

  .usecases__list {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  .usecases__item-card {
    background: white;
    border: 1px solid black;
    padding: 45px 15px 60px;
    position: static;
    height: auto;
    width: 100%;
  }

  .usecases__item-title {
    position: static;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #203060;
    margin: 0 0 25px;
    line-height: 1.4;
    text-align: left;
    padding: 0 20px;
  }

  .usecases__item-title-case {
    font-size: 24px;
  }

  .usecases__item-title-text {
    font-size: 16px;
  }

  .usecases__item-wrapper {
    width: 100%;
  }

  .usecases__item-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .usecases__item-section-title--sp {
    position: static;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #203060;
    text-align: left;
    display: block;
  }

  .usecases__item-section--challenge {
    position: static;
  }

  .usecases__item-section--challenge .usecases__item-section-title {
    padding: 0 20px;
  }

  .usecases__item-image {
    position: static;
    display: none;
    width: auto;
    height: auto;
  }

  .usecases__item-challenges {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: auto;
  }

  .usecases__item-challenge {
    background: #d9d9d9;
    border-radius: 40px;
    padding: 0 5px;
    height: auto;
    margin-bottom: 0;
    display: block;
  }

  .usecases__item-challenge p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: #203060;
    margin: 0;
    line-height: 1.5;
  }

  .usecases__item-section--support {
    position: static;
    text-align: center;
    flex-direction: column-reverse;
  }

  .usecases__item-section--support .usecases__item-section-title {
    text-align: left;
    padding: 0 20px;
  }

  .usecases__item-arrow {
    position: static;
    text-align: center;
    transform: none;
    width: auto;
    height: auto;
  }

  .usecases__item-arrow img {
    width: 131px;
    height: 119px;
  }

  .usecases__item-support-content {
    padding-left: 0;
  }

  .usecases__item-support-list {
    position: static;
    width: 100%;
    height: auto;
    padding: 40px 15px 40px 20px;
    margin: 0;
    display: block;
    text-align: left;
  }

  .usecases__item-support-list li {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: #203060;
    margin-bottom: 8px;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
  }

  .usecases__item-support-list li::before {
    content: "●";
    color: #203060;
    position: absolute;
    left: 0;
    top: 0;
  }

  .usecases__item-section--result {
    position: relative;
    margin-top: 30px;
  }

  .usecases__item-result-image {
    position: absolute;
    top: -85px;
    left: 20%;
    text-align: center;
    width: 60%;
    height: auto;
  }

  .usecases__item-result-image img {
    width: 100%;
    height: auto;
    object-fit: initial;
  }

  .usecases__item-result-text {
    position: static;
    width: auto;
    height: auto;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #203060;
    margin: 0;
    line-height: 1.5;
    text-align: left;
    display: block;
    align-items: initial;
    padding: 60px 30px 30px;
  }
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background: white;
}

.pricing__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.pricing__header {
  text-align: center;
  margin-bottom: 80px;
}

.pricing__title-en {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #d9d9d9;
  margin-bottom: 8px;
}

.pricing__title {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: #203060;
  margin: 0;
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  justify-content: center;
  gap: 39px;
}

.pricing__card {
  width: 320px;
  height: 413px;
  background: #f8f8f8;
  border-radius: 30px;
  position: relative;
  text-align: center;
}

.pricing__card-header {
  background: #2a93c5;
  height: 53px;
  border-radius: 30px 30px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing__card-title {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: white;
  margin: 0;
}

.pricing__card-content {
  padding: 40px 20px 0;
}

.pricing__card-price {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #333;
  margin: 24px 0;
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
  height: 60px;
  line-height: 1rem;
}

.pricing__card-price-prefix,
.pricing__card-price-unit {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.pricing__card-price-amount {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  margin: 0 2px;
}

.pricing__card-price--estimate .pricing__card-price-text {
  font-weight: 700;
  color: #333;
}

.pricing__card-price--large {
  font-size: 24px;
  line-height: 50px;
}

.pricing__card-price--huge {
  font-size: 48px;
  line-height: normal;
}

.pricing__card-price--estimate {
  font-size: 20px;
  line-height: normal;
}

.pricing__card-features {
  list-style: none;
  padding: 0 20px 40px;
  margin: 0;
  text-align: left;
}

.pricing__card-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.pricing__card-features li::before {
  content: "●";
  color: #2a93c5;
  position: absolute;
  left: 0;
  top: 0;
}

.pricing__card-feature {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: #203060;
  margin-bottom: 20px;
  line-height: 1.4;
}

.pricing__card-feature::before {
  content: '●';
  color: #2a93c5;
  margin-right: 8px;
}

/* Pricing - SP版 (grouped below PC styles) */
@media (max-width: 767px) {
  .pricing { padding: 60px 0; }
  .pricing__header {
    width: 160px;
  }
  .pricing__cards { grid-template-columns: 1fr; gap: 30px; padding: 0 20px; }
  .pricing__card { width: 100%; max-width: 320px; margin: 0 auto; }
}

/* (removed original scattered Use Cases block - re-grouped above) */

/* Voices - PC版 */
.voices {
  padding: 120px 0;
  background: white;
}

.voices__inner {
  max-width: 1200px;
  padding-inline: var(--container-padding);
  margin: 0 auto;
}

.voices__header {
  text-align: center;
  margin-bottom: 60px;
}

.voices__title-en {
  display: block;
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #d9d9d9;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.voices__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #203060;
  margin: 0;
}

.voices__list {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.voices__item {
  flex: 1;
  max-width: 340px;
}

.voices__item-card {
  background: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0px 4px 8.8px rgba(0, 0, 0, 0.25);
  height: 570px;
  position: relative;
  padding: 42px 42px 48px 42px;
  display: flex;
  flex-direction: column;
}

.voices__item-profile {
  margin-bottom: 40px;
}

.voices__item-image-wrapper {
  width: 100%;
  text-align: right;
}

.voices__item-image {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}

.voices__item-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #203060;
  position: relative;
  margin-bottom: 20px;
}

.voices__item-name::after {
  content: '';
  height: 11px;
  width: 205px;
  background: #D9D9D9;
  position: absolute;
  bottom: -8px;
  left: -42px;
}

.voices__item-quote {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

.voices__item-content {
  padding: 30px 0;
  flex: 1;
}

.voices__item-highlight {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #203060;
  line-height: 1.4;
  margin: 0 0 8px 0;
  position: relative;
}

.voices__item-highlight::before {
  content: '”';
  font-family: 'Monda', serif;
  font-size: 96px;
  font-weight: normal;
  color: #2a93c5;
  line-height: 1;
  position: absolute;
  top: -90px;
  left: -10px;
  rotate: 180deg;
}

.voices__item-highlight::after {
  content: '”';
  font-family: 'Monda', serif;
  font-size: 96px;
  font-weight: normal;
  color: #2a93c5;
  line-height: 1;
  position: absolute;
  bottom: -60px;
  right: -10px;
}

.voices__item-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #203060;
  line-height: 1.5;
  margin: 0;
}

/* Voices - SP版 */
@media (max-width: 767px) {
  .voices {
    padding: 60px 0;
  }

  .voices__header {
    margin-bottom: 40px;
  }

  .voices__title {
    font-size: 24px;
  }

  .voices__list {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .voices__item {
    width: 100%;
    max-width: 340px;
  }

  .voices__item-card {
    height: auto;
    min-height: 400px;
    padding: 30px 30px 40px 30px;
  }

  .voices__item-profile {
    margin-bottom: 30px;
  }

  .voices__item-name::after {
    left: -30px;
  }

  .voices__item-highlight {
    font-size: 18px;
    padding-bottom: 30px;
    margin-bottom: 20px;
  }

  .voices__item-text {
    font-size: 14px;
  }

  .voices__item-content {
    padding: 20px 15px;
  }
}

/* Message - PC版 */
.message {
  padding: 120px 0 180px;
  background: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.message__background {
  position: absolute;
  top: -450px;
  left: -350px;
  width: 1510px;
  height: 1452.379px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message__background-polygon {
  width: 1510px;
  height: 600px;
}

.message__inner {
  max-width: 1200px;
  padding-inline: var(--container-padding);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.message__header {
  text-align: center;
  margin-bottom: 100px;
}

.message__title-en {
  display: block;
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #d9d9d9;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.message__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #203060;
  margin: 0;
}

.message__content {
  display: flex;
  align-items: flex-start;
  gap: 117px;
  padding-left: 70px;
}

.message__image {
  flex-shrink: 0;
  width: 276px;
  height: 396px;
  overflow: hidden;
}

.message__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35.09% 85.94%;
}

.message__text {
  flex: 1;
  max-width: 610px;
}

.message__body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #203060;
  line-height: 1.5;
}

.message__body p {
  margin: 0 0 24px 0;
}

.message__body p:last-child {
  margin-bottom: 0;
}

.message__body strong {
  font-weight: 700;
}

/* Message - SP版 (grouped below PC styles) */
@media (max-width: 767px) {
  .message { padding: 60px 0 80px; }
  .message__background { left: -831px; top: -505px; }
  .message__header { margin-bottom: 60px; }
  .message__title { font-size: 24px; }
  .message__content { flex-direction: column; gap: 40px; align-items: center; padding-left: 0; }
  .message__image { width: 234px; height: 336px; }
  .message__text { max-width: 298px; }
  .message__body { font-size: 14px; }
}

/* News - PC版 */
.news {
  padding: 120px 0;
  background-color: #d9d9d9;
}

.news__inner {
  max-width: 1284px;
  padding-inline: var(--container-padding);
  margin: 0 auto;
  text-align: center;
}

.news__title {
  font-family: 'Noto Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #203060;
  margin: 0 0 80px 0;
}

.news__content {
  background-color: white;
  border-radius: 20px;
  padding: 68px 80px;
  margin-bottom: 40px;
  max-width: 664px;
  margin-left: auto;
  margin-right: auto;
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

.news__item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
  align-items: baseline;
}

.news__title-item {
  line-height: 1;
}

.news__date {
  flex-shrink: 0;
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #2a93c5;
  width: 84px;
}

.news__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #203060;
  margin: 0;
  flex: 1;
  text-decoration: none;
  line-height: 1;
}

.news__cta {
  display: inline-block;
  background-color: #203060;
  color: #f8f8f8;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  width: 222px;
}

.news__cta:hover {
  background-color: #1a2650;
}

/* News - SP版 (grouped below PC styles) */
@media (max-width: 767px) {
  .news { padding: 60px 0; }
  .news__inner { max-width: 393px; }
  .news__title { font-size: 24px; margin-bottom: 60px; }
  .news__content { border-radius: 20px; padding: 47px 20px; max-width: 353px; }
  .news__list { gap: 36px; }
  .news__item { flex-direction: column; align-items: flex-start; gap: 0; }
  .news__date { width: auto; line-height: 1; }
  .news__text { width: 305px; line-height: 1; }
  .news__cta { width: 224px; }
}

/* Company */
.company {
  padding: 120px 0;
  background-color: #f8f8f8;
}

.company__inner {
  max-width: 1200px;
  padding-inline: 20px;
  margin: 0 auto;
}

.company__header {
  text-align: center;
  margin-bottom: 80px;
}

.company__title {
  font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #203060;
  line-height: 1;
  margin: 0;
}

.company__title-en {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #d9d9d9;
  margin: 0 0 8px 0;
  line-height: 1;
}

.company__content {
  max-width: 378px;
  margin: 0 auto;
}

.company__list {
  margin: 0;
}

.company__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 52px;
}

.company__item:last-child {
  margin-bottom: 0;
}

.company__term {
  font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #203060;
  margin: 0;
  width: 114px;
  flex-shrink: 0;
  line-height: 1.5;
}

.company__desc {
  font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #203060;
  margin: 0;
  margin-left: 0;
  line-height: 1.5;
  flex: 1;
}

.company__business-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: business-counter;
}

.company__business-list li {
  counter-increment: business-counter;
  position: relative;
  margin-bottom: 0;
  line-height: 1.5;
}

.company__business-list li::before {
  content: counter(business-counter) '. ';
  color: #203060;
}

/* Company - SP版 (grouped below PC styles) */
@media (max-width: 767px) {
  .company {
    padding: 60px 0;
  }

  .company__inner {
    max-width: 393px;
    padding-inline: 20px;
  }

  .company__header {
    margin-bottom: 116px;
  }

  .company__title-en { font-size: 16px; }
  .company__title { font-size: 24px; }

  .company__content { max-width: 267px; }

  .company__item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .company__term {
    font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #203060;
    width: auto;
    line-height: normal;
    margin-bottom: 0;
  }

  .company__desc {
    margin-top: 0;
    width: 100%;
  }
}

/* Blog */
.blog {
  padding: 120px 0;
  /* background-color: #d9d9d9; */
}

.blog__inner {
  max-width: 1284px;
  padding-inline: var(--container-padding);
  margin: 0 auto;
  text-align: center;
}

.blog__header {
  margin-bottom: 80px;
}

.blog__title-en {
  font-family: 'Alexandria', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #203060;
  margin-bottom: 16px;
}

.blog__title {
  font-family: 'Noto Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #203060;
  margin: 0;
}

.blog__content {
  background-color: white;
  border-radius: 20px;
  padding: 68px 80px;
  margin-bottom: 40px;
  max-width: 664px;
  margin-left: auto;
  margin-right: auto;
}

.blog__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

.blog__item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
}

.blog__date {
  flex-shrink: 0;
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #2a93c5;
  width: 84px;
}

.blog__title-item {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #203060;
  margin: 0;
  flex: 1;
}

.blog__link {
  color: #203060;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog__link:hover {
  color: #1a2650;
}

/* Blog - SP版 (grouped below PC styles) */
@media (max-width: 767px) {
  .blog { padding: 60px 0; }
  .blog__inner { max-width: 393px; }
  .blog__title { font-size: 24px; margin-bottom: 60px; }
  .blog__content { border-radius: 20px; padding: 47px 20px; max-width: 353px; }
  .blog__list { gap: 36px; }
  .blog__item { flex-direction: column; align-items: flex-start; gap: 0; }
  .blog__date { width: auto; line-height: 1; }
  .blog__title-item { width: 305px; line-height: 1; }
}

/* Footer */
.site-footer {
  padding: 20px 0;
  background-color: #d9d9d9;
  text-align: center;
}

.site-footer__inner {
  max-width: 1200px;
  padding-inline: 20px;
  margin: 0 auto;
}

.site-footer__logo {
  margin-bottom: 12px;
}

.site-footer__logo img {
  height: 50px;
  width: 325px;
}

.site-footer__copyright {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #757575;
  line-height: normal;
  margin: 0;
}

/* Footer - SP版 (grouped below PC styles) */
@media (max-width: 767px) {
  .site-footer {
    padding: 63px 0 20px;
  }

  .site-footer__inner {
    max-width: 393px;
    padding-inline: 20px;
  }

  .site-footer__logo { margin-bottom: 64px; }

  .site-footer__logo img {
    height: 41px;
    width: 270px;
  }

  .site-footer__copyright {
    font-size: 12px;
  }
}

/* ========================================
   BLOG SINGLE PAGE STYLES
======================================== */

/* Article Structure */
.article {
  max-width: 1136px;
  margin: 122px auto 0;
  background: white;
}

.article__header {
  position: relative;
  background: var(--c-heading-bg);
  height: 102px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.article__header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 20px;
  background: var(--c-heading-accent);
}

.article__header-inner {
  max-width: 1136px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.article__title {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #000;
  line-height: normal;
  margin: 0;
  padding-left: 72px;
}

.article__content {
  max-width: 1136px;
  margin: 0 auto;
  padding: 0;
}

.article__featured-image {
  margin: 40px 0;
  padding: 0 72px;
}

.article__thumbnail {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Article Body Styles */
.article__body {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.7;
}

/* Headings */
.article__body h2 {
  background: var(--c-heading-bg);
  font-size: 24px;
  font-weight: 700;
  color: #333;
  padding: 20px 30px 20px 40px;
  margin: 80px 0 24px 0;
  position: relative;
  line-height: 1.4;
}

.article__body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background: var(--c-heading-accent);
}

/* Paragraphs */
.article__body p {
  font-size: 20px;
  line-height: 1.7;
  margin: 0 0 24px 0;
}

.article__body p:last-child {
  margin-bottom: 0;
}

/* Strong tags - bold only */
.article__body strong {
  font-weight: 700;
}

/* Red emphasis using WordPress class */
.article__body mark.has-vivid-red-color {
  background: transparent;
  color: var(--c-red-emphasis);
  font-weight: 700;
}

/* Yellow underline decoration class */
.article__body .underline-yellow strong {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5; /* 150% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-color: #FFEE31;
  text-decoration-thickness: 17.5%; /* 3.5px */
  text-underline-offset: 16%; /* 3.2px */
  text-underline-position: from-font;
}

/* Highlight box with light bulb icon */
.article__body .highlight-box {
  background: var(--c-heading-bg);
  border-radius: 20px;
  padding: 31px 40px 31px 130px;
  margin: 24px 0;
  position: relative;
  min-height: 141px;
  display: flex;
  align-items: center;
}

.article__body .highlight-box::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 71px;
  height: 79px;
  background-image: url('images/light-bulb.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.article__body .highlight-box p {
  font-size: 20px;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

/* CTA Section */
.article__body .cta-section {
  text-align: center;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article__body .cta-section .cta-text {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #020101;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

/* CTA Button container reset */
.article__body .cta-section .wp-block-button.cta-button {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* CTA Button link styling */
.article__body .cta-section .wp-block-button__link {
  display: inline-block;
  background: linear-gradient(90deg, #ff8902 0%, #ffc219 78.365%, #ffe08b 100%) !important;
  background-color: transparent !important;
  color: white !important;
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  text-decoration: none !important;
  padding: 12px !important;
  border-radius: 15px !important;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25) !important;
  width: 470px;
  max-width: 100%;
  text-align: center;
  border: none !important;
  outline: none !important;
  transition: opacity 0.3s ease;
}

.article__body .cta-section .wp-block-button__link:hover {
  opacity: 0.9;
}

/* bg-blue */
.article__body .blue-bg-center {
  background: var(--c-list-bg);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  width: 658px;
  list-style: none;
}

/* Lists */
.article__body ul {
  background: var(--c-list-bg);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  width: 658px;
  list-style: none;
}

.article__body ul li {
  position: relative;
  padding-left: 0;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.7;
}

/* Parent list items (no marker by default) */
.article__body ul li::before {
  display: none;
}

.article__body ul li:last-child {
  margin-bottom: 0;
}

.article__body ul.single-circle li {
  padding-left: 24px;
}

.article__body ul.single-circle li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: #333;
  display: block;
}

.article__body ul.single-check li {
  padding-left: 24px;
}

.article__body ul.single-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background-image: url('images/check-square.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

/* Nested lists - child items get bullet markers */
.article__body ul ul {
  background: transparent;
  padding: 8px 0 0 0;
  margin: 8px 0 0 0;
}

.article__body ul ul li {
  position: relative;
  padding-left: 32px;
  font-size: 20px;
}

.article__body ul.nested-circle ul li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: #333;
  display: block;
}

.article__body ul.nested-circle > li,
.article__body ul.nested-check > li {
  font-weight: 700;
}

.article__body ul.nested-circle > li li,
.article__body ul.nested-check > li li {
  font-weight: 100;
}

.article__body ul.nested-check ul li {
  position: relative;
  padding-left: 32px;
  font-size: 20px;
}

.article__body ul.nested-check ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  background-image: url('images/check-square.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

/* Tables - General styling */
.article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
}

.article__body table thead {
  border-bottom: none;
}

.article__body table tbody::before {
  content: '';
  display: block;
  height: 8px;
}

.article__body table th,
.article__body table td {
  border: 1px solid #333;
  padding: 10px;
  text-align: center;
  vertical-align: top;
}

.article__body table th {
  background: var(--c-table-header-bg);
  font-weight: 700;
}

.article__body table.has-fixed-layout {
  table-layout: fixed;
}

/* WordPress Table Blocks */
.article__body figure.wp-block-table {
  margin: 24px 0;
}

.article__body figure.wp-block-table table {
  margin: 0;
}

/* Comparison Tables - PC Version */
.article__body figure.wp-block-table.pc-only table {
  width: 100%;
}

.article__body figure.wp-block-table.pc-only.gray-table table td:first-child {
  background: var(--c-table-header-bg);
  font-weight: 700;
  text-align: center;
  width: 120px;
}

.article__body figure.wp-block-table.pc-only.gray-table table td:nth-child(2) {
  width: 40%;
}

.article__body figure.wp-block-table.pc-only.gray-table table td:nth-child(3) {
  width: 40%;
}

/* Comparison Tables - SP Version */
.article__body div.wp-block-group.sp-only {
  margin: 24px 0;
}

.article__body div.wp-block-group.sp-only p {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 24px 0 12px 0;
  position: relative;
  padding-left: 16px;
}

.article__body div.wp-block-group.sp-only p::before {
  content: '●';
  position: absolute;
  left: 0;
  color: #333;
}

.article__body div.wp-block-group.sp-only figure.wp-block-table {
  margin: 0 0 24px 0;
}

.article__body div.wp-block-group.sp-only table td:first-child {
  background: var(--c-table-header-bg);
  font-weight: 700;
  text-align: center;
  width: 155px;
  font-size: 16px;
}

.article__body div.wp-block-group.sp-only table td:nth-child(2) {
  font-size: 16px;
  line-height: 1.8;
  padding: 10px;
}

/* Responsive visibility classes */
.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* Letter-style */
.article__body .letter-format {
	border: 1px solid rgba(201, 201, 201, 1);
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	margin: 24px;
    padding: 40px;
}

/* SP版レスポンシブ対応 */
@media (max-width: 767px) {
  /* Article Structure */
  .article__header {
    height: 159px;
  }

  .article__header::before {
    left: 18px;
    width: 6px;
  }

  .article__header-inner {
    padding: 0 18px;
  }

  .article__title {
    font-size: 24px;
    padding-left: 22px;
    line-height: normal;
  }

  .article__content {
    padding: 0 21px;
  }

  .article__featured-image {
    height: auto;
    overflow: hidden;
    margin: 20px 0;
    padding: 0;
  }

  .article__thumbnail {
    height: auto;
    width: 100%;
    object-fit: cover;
  }

  /* Article Body */
  .article__body h2 {
    font-size: 24px;
    padding: 16px 20px;
    margin: 80px 0 20px 0;
  }

  .article__body h2::before {
    width: 6px;
  }

  .article__body p {
    font-size: 16px;
    margin: 0 0 20px 0;
  }
	
	.article__body .blue-bg-center {
		padding: 16px 20px;
		margin: 20px 0;
		max-width: 100%;
	}

  .article__body ul {
    padding: 16px 20px;
    margin: 20px 0;
    max-width: 100%;
  }

  .article__body ul li {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .article__body ul ul li {
    font-size: 16px;
  }

  .article__body ul.checklist ul li::before {
    width: 16px;
    height: 16px;
    top: 1px;
  }

  /* Responsive visibility */
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* SP Table adjustments */
  .article__body table tbody::before {
    height: 0;
  }

  .article__body table td {
    vertical-align: middle;
  }

  .article__body div.wp-block-group.sp-only table td {
    font-size: 16px;
    padding: 8px;
  }

  .article__body div.wp-block-group.sp-only table td:first-child {
    width: 40%;
  }

  /* Yellow underline - SP adjustments */
  .article__body .underline-yellow {
    font-size: 16px; /* SP版は16px */
  }

  /* Highlight box - SP adjustments */
  .article__body .highlight-box {
    padding: 25px 19px 25px 72px;
    min-height: 141px;
  }

  .article__body .highlight-box::before {
    left: 18px;
    width: 40px;
    height: 45px;
  }

  .article__body .highlight-box p {
    font-size: 16px;
    line-height: 1.8;
  }

  /* CTA Section - SP adjustments */
  .article__body .cta-section .cta-text {
    font-weight: 400; /* SP版は通常フォント */
    line-height: 1.8;
  }

  .article__body .cta-section .wp-block-button__link {
    font-size: 16px !important;
    font-weight: 400 !important; /* SP版は通常フォント */
    line-height: 1.8 !important;
    width: 356px;
    max-width: calc(100% - 32px); /* SP版でマージン考慮 */
  }
	
  /* Letter-style */
  .article__body .letter-format {
	margin: 0;
	padding: 40px 16px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

.thanks__message {
	text-align: left;
}