.phx-lp {
  --phx-main: #1f2f46;
  --phx-main-deep: #142033;
  --phx-sub: #6f8196;
  --phx-accent: #b88a44;
  --phx-accent-deep: #946b2f;
  --phx-bg: #f7f5f1;
  --phx-soft: #eef1f4;
  --phx-soft-2: #f3eee4;
  --phx-text: #1f2630;
  --phx-muted: #69717c;
  --phx-white: #ffffff;
  --phx-border: rgba(31, 47, 70, 0.14);
  --phx-shadow: 0 18px 45px rgba(20, 32, 51, 0.12);

  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--phx-text);
  line-height: 1.8;
  background: var(--phx-white);
}

.phx-lp * {
  box-sizing: border-box;
}

.phx-lp img {
  max-width: 100%;
  display: block;
}

.phx-full-width-container {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
}

.phx-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.phx-section {
  padding: 88px 0;
}

.phx-section-soft {
  background: var(--phx-bg);
}

.phx-section-blue {
  background: linear-gradient(135deg, var(--phx-main-deep) 0%, var(--phx-main) 58%, #33455f 100%);
  color: var(--phx-white);
}

.phx-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--phx-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.phx-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.phx-heading {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
  color: var(--phx-main);
  margin: 0 0 18px;
  letter-spacing: 0.03em;
}

.phx-section-blue .phx-heading {
  color: var(--phx-white);
}

.phx-lead {
  font-size: 16px;
  color: var(--phx-muted);
  max-width: 760px;
  margin: 0;
}

.phx-section-blue .phx-lead {
  color: rgba(255, 255, 255, 0.82);
}

.phx-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.phx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.phx-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.phx-btn-primary {
  color: var(--phx-white);
  background: var(--phx-accent);
  box-shadow: 0 12px 30px rgba(184, 138, 68, 0.26);
}

.phx-btn-primary:hover {
  color: var(--phx-white);
  background: var(--phx-accent-deep);
}

.phx-btn-secondary {
  color: var(--phx-main);
  background: var(--phx-white);
  border: 1px solid var(--phx-border);
}

.phx-btn-outline {
  color: var(--phx-white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.phx-hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(20, 32, 51, 0.9) 0%, rgba(31, 47, 70, 0.7) 50%, rgba(31, 47, 70, 0.1) 100%),
   
    url("../images/phx-hero.jpg") center/cover no-repeat;
  color: var(--phx-white);
}

.phx-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 86px 0 126px;
}

.phx-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.phx-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.22;
  margin: 0 0 24px;
  letter-spacing: 0.04em;
}

.phx-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 19px);
  margin: 0;
}

.phx-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.phx-hero-badge {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.phx-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.phx-intro-card {
  background: var(--phx-white);
  border: 1px solid var(--phx-border);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--phx-shadow);
}

.phx-photo-stack {
  position: relative;
  min-height: 420px;
}

.phx-photo-main,
.phx-photo-sub {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--phx-shadow);
}

.phx-photo-main {
  top: 0;
  right: 0;
  width: 82%;
  height: 330px;
}

.phx-photo-sub {
  left: 0;
  bottom: 0;
  width: 58%;
  height: 210px;
  border: 8px solid var(--phx-white);
}

.phx-photo-main img,
.phx-photo-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phx-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.phx-section-head .phx-lead {
  max-width: 520px;
}

.phx-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.phx-service-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-radius: 26px;
  background: var(--phx-white);
  border: 1px solid var(--phx-border);
  box-shadow: 0 12px 32px rgba(20, 32, 51, 0.08);
}

.phx-service-img {
  height: 160px;
  overflow: hidden;
}

.phx-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.phx-service-card:hover .phx-service-img img {
  transform: scale(1.06);
}

.phx-service-body {
  padding: 24px;
}

.phx-service-no {
  display: inline-flex;
  color: var(--phx-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.phx-service-card h3 {
  color: var(--phx-main);
  font-size: 21px;
  margin: 0 0 10px;
}

.phx-service-card p {
  color: var(--phx-muted);
  font-size: 14.5px;
  margin: 0;
}

.phx-strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.phx-strength-card {
  padding: 26px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.phx-strength-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(184, 138, 68, 0.24);
  color: #f5d7a6;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 16px;
}

.phx-strength-card h3 {
  color: var(--phx-white);
  font-size: 18px;
  margin: 0 0 10px;
}

.phx-strength-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  margin: 0;
}

.phx-use-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.phx-use-image {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--phx-shadow);
}

.phx-use-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.phx-use-list {
  display: grid;
  gap: 16px;
}

.phx-use-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: var(--phx-white);
  border: 1px solid var(--phx-border);
}

.phx-use-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--phx-main);
  color: var(--phx-white);
  font-size: 13px;
  font-weight: 900;
}

.phx-use-item h3 {
  color: var(--phx-main);
  margin: 0 0 4px;
  font-size: 18px;
}

.phx-use-item p {
  color: var(--phx-muted);
  margin: 0;
  font-size: 14.5px;
}

.phx-related {
  background:
    linear-gradient(135deg, rgba(247, 245, 241, 0.94), rgba(238, 241, 244, 0.94)),
    url("../images/phx-related.jpg") center/cover no-repeat;
}

.phx-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 80px;
}

.phx-related-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 47, 70, 0.12);
  backdrop-filter: blur(8px);
}

.phx-related-card h3 {
  color: var(--phx-main);
  font-size: 18px;
  margin: 0 0 8px;
}

.phx-related-card p {
  color: var(--phx-muted);
  font-size: 14px;
  margin: 0;
}

.phx-company-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.phx-company-note {
  padding: 30px;
  border-radius: 28px;
  background: var(--phx-main);
  color: var(--phx-white);
}

.phx-company-note .phx-label {
  color: #f5d7a6;
}

.phx-company-note .phx-heading {
  color: var(--phx-white);
}

.phx-company-note p {
  color: rgba(255, 255, 255, 0.8);
  margin: 14px 0 0;
}

.phx-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--phx-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20, 32, 51, 0.08);
}

.phx-table th,
.phx-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--phx-border);
  text-align: left;
  vertical-align: top;
}

.phx-table th {
  width: 30%;
  color: var(--phx-main);
  background: var(--phx-soft);
  font-weight: 900;
}

.phx-table td {
  color: var(--phx-muted);
}

.phx-table tr:last-child th,
.phx-table tr:last-child td {
  border-bottom: none;
}

.phx-contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: 30px;
  background: var(--phx-white);
  color: var(--phx-text);
  box-shadow: var(--phx-shadow);
}

.phx-contact-box h2 {
  color: var(--phx-main);
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 10px;
}

.phx-contact-box p {
  color: var(--phx-muted);
  margin: 0;
}

.phx-faq {
  margin-top: 32px;
}

.phx-faq-item {
  border-bottom: 1px solid var(--phx-border);
}

.phx-faq-question {
  width: 100%;
  padding: 20px 0;
  border: none;
  background: transparent;
  color: var(--phx-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.phx-faq-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--phx-soft);
  color: var(--phx-main);
  transition: transform 0.2s ease;
}

.phx-faq-answer {
  display: none;
  color: var(--phx-muted);
  padding: 0 0 20px;
}

.phx-faq-item.is-open .phx-faq-answer {
  display: block;
}

.phx-faq-item.is-open .phx-faq-icon {
  transform: rotate(45deg);
}

#phx-latest-posts {
  max-width: 1000px;
  margin: 34px auto 0;
  background: var(--phx-white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 32, 51, 0.06);
}

.phx-post-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid #eee;
  align-items: start;
}

.phx-post-row:last-child {
  border-bottom: none;
}

.phx-post-date {
  color: var(--phx-accent);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding-top: 4px;
  white-space: nowrap;
}

.phx-post-content h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 900;
}

.phx-post-content h3 a {
  color: var(--phx-main-deep);
  text-decoration: none;
}

.phx-post-content h3 a:hover {
  opacity: 0.75;
}

.phx-post-content p {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

.phx-post-content p * {
  margin: 0;
}

.phx-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.phx-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 960px) {
  .phx-section {
    padding: 72px 0;
  }

  .phx-intro-grid,
  .phx-use-grid,
  .phx-company-grid {
    grid-template-columns: 1fr;
  }

  .phx-photo-stack {
    min-height: 360px;
  }

  .phx-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phx-strength-grid,
  .phx-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phx-contact-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .phx-container {
    width: min(100% - 28px, 1120px);
  }

  .phx-hero {
    min-height: 620px;
    background:
      linear-gradient(180deg, rgba(20, 32, 51, 0.96) 0%, rgba(31, 47, 70, 0.84) 62%, rgba(31, 47, 70, 0.5) 100%),
      url("../images/phx-hero.jpg") center/cover no-repeat;
  }

  .phx-hero-content {
    padding: 72px 0 100px;
  }

  .phx-section-head {
    display: block;
  }

  .phx-service-grid,
  .phx-strength-grid,
  .phx-related-grid {
    grid-template-columns: 1fr;
  }

  .phx-photo-main {
    width: 100%;
    height: 260px;
  }

  .phx-photo-sub {
    width: 68%;
    height: 170px;
  }

  .phx-use-image img {
    height: 340px;
  }

  .phx-table th,
  .phx-table td {
    display: block;
    width: 100%;
  }

  .phx-table th {
    padding-bottom: 8px;
    border-bottom: none;
  }

  .phx-table td {
    padding-top: 8px;
  }

  .phx-post-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 20px;
  }

  .phx-post-content h3 {
    font-size: 19px;
  }
}
