@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 2.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/
    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ========================================
   Font
======================================== */

@font-face {
  font-display: swap;
  font-family: 'Gotham Rounded';
  font-style: normal;
  font-weight: 500;
  src: url('./assets/fonts/GothamRounded.woff2') format('woff2'),
       url('./assets/fonts/GothamRounded.woff') format('woff');
}

/* ========================================
   Variables
======================================== */

:root {
  --font-base:   "fot-tsukuardgothic-std", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-brand:  "fot-tsukuardgothic-std", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-accent: "Gotham Rounded", "Helvetica Neue", Arial, sans-serif;

  --color-text:       #1A1A1A;
  --color-text-light: rgba(26, 26, 26, 0.6);
  --color-bg:         #ffffff;
  --color-bg-gray:    #F4F7F9;
  --color-blue:       #2980B9;
  --color-red:        #B71C1C;
  --color-border:     rgba(26, 26, 26, 0.1);

  --header-height: 70px;
}

/* ========================================
   Base
======================================== */

html {
  font-family: var(--font-base);
  font-size: 62.5%;
  font-weight: 400;
  letter-spacing: 0.05em;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 1.6rem;
  line-height: 1.8;
  overflow-x: clip;
}

a {
  color: var(--color-text);
}

/* ========================================
   Utilities
======================================== */

/* PCのみ改行 */
.u-br-pc { display: none; }

@media (min-width: 768px) {
  .u-br-pc { display: inline; }
}

/* ========================================
   Home page — フルスクリーンセクション対応
======================================== */

/* SWELLのコンテナ制約を解除してセクションを全幅に */
.home #content.l-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home #content.l-content {
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}

.home .l-mainContent,
.home .l-mainContent__inner {
  max-width: 100% !important;
}

/* ========================================
   Components — Arrow Button
======================================== */

.c-arrow-btn {
  align-items: center;
  background: var(--color-blue);
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
  height: 4rem;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
  width: 4rem;
}

.c-arrow-btn::before,
.c-arrow-btn::after {
  background: #fff;
  border-radius: 999px;
  content: "";
  position: absolute;
  transition: all 0.3s ease;
}

.c-arrow-btn::before {
  height: 0.3rem;
  left: 1rem;
  top: 55%;
  transform: translateY(-55%);
  width: 2rem;
}

.c-arrow-btn::after {
  height: 0.3rem;
  left: 1.8rem;
  top: 1.6rem;
  transform: rotate(45deg);
  width: 1.2rem;
}

.c-arrow-btn.is-no-bg {
  background: transparent;
}

.c-arrow-btn.is-dark::before,
.c-arrow-btn.is-dark::after {
  background: var(--color-text);
}

.c-arrow-btn.is-red::before,
.c-arrow-btn.is-red::after {
  background: var(--color-red);
}

@media (hover: hover) and (pointer: fine) {
  .c-arrow-btn:hover {
    transform: translateX(0.4rem);
  }

  .c-arrow-btn:hover::after {
    left: 2.2rem;
  }

  .c-arrow-btn:hover::before {
    width: 2.4rem;
  }
}

/* ========================================
   Components — CTA Button
======================================== */

.c-btn-more {
  --arrow-offset: 0rem;
  align-items: center;
  background: var(--color-blue);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 1.6rem;
  font-weight: 700;
  gap: 1.2rem;
  justify-content: center;
  min-height: 7.6rem;
  min-width: 28rem;
  padding: 1.6rem 6.4rem 1.6rem 3.2rem;
  position: relative;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.c-btn-more::before,
.c-btn-more::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transition: transform 0.3s ease, width 0.3s ease;
}

.c-btn-more::before {
  background: currentColor;
  border-radius: 999px;
  height: 0.2rem;
  right: 3.2rem;
  transform: translate(var(--arrow-offset), -50%);
  width: 1.8rem;
}

.c-btn-more::after {
  border-right: 0.2rem solid currentColor;
  border-top: 0.2rem solid currentColor;
  height: 0.8rem;
  right: 3.2rem;
  transform: translate(var(--arrow-offset), -50%) rotate(45deg);
  width: 0.8rem;
}

.c-btn-more__text {
  line-height: 1.4;
}

.c-btn-more--primary {
  background: var(--color-blue);
  box-shadow: 0 0.4rem 2.4rem rgba(41, 128, 185, 0.35);
  color: #fff;
}

.c-btn-more--ghost {
  background: #fff;
  color: var(--color-text);
}

@media (hover: hover) and (pointer: fine) {
  .c-btn-more:hover {
    --arrow-offset: 0.4rem;
    opacity: 0.9;
    transform: translateY(-0.2rem);
  }

  .c-btn-more:hover::before {
    width: 2.4rem;
  }
}

/* ========================================
   Components — Definition List
======================================== */

.c-definition {
  display: grid;
  grid-template-columns: 10rem 1fr;
  margin-top: 3.2rem;
  row-gap: 1.6rem;
}

.c-definition__term {
  border-right: 1px solid var(--color-blue);
  font-weight: 700;
}

.c-definition__desc {
  color: var(--color-text);
  padding-left: 1.6rem;
}

/* ========================================
   WP-block
======================================== */
.page .wp-block-button__link {
  background: var(--color-blue, #2980B9);
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
}

/* ========================================
   Header
======================================== */

.l-header__inner.l-container,
.l-fixHeader__inner.l-container {
  max-width: initial;
}

.c-gnav > .menu-item > a::after {
  display: none;
}

.c-gnav > .menu-item > a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.c-gnav > .menu-item > a .ttl {
  font-size: 16px;
  font-weight: bold;
}

@media (hover: hover) and (pointer: fine) {
  .c-gnav > .menu-item > a:hover {
    color: var(--color-blue);
    opacity: 1;
  }
}

@media (min-width: 960px) {
  .c-gnav .sub-menu {
    padding: 0.4rem;
    width: 18em;
  }

  .c-gnav .sub-menu a {
    align-items: center;
    border-radius: 0.4rem;
    display: flex;
    justify-content: space-between;
    padding: 0.85em 1em;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .c-gnav .sub-menu a::before {
    flex-shrink: 0;
    font-size: 1.1em;
    left: auto;
    order: 2;
    position: static;
    top: auto;
    transform: none;
  }

  .c-gnav .sub-menu .ttl {
    font-size: 1.6rem;
    order: 1;
    transition: none;
  }

  .c-gnav .sub-menu a:hover .ttl {
    left: 0;
  }
}

@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .c-gnav .sub-menu a:hover {
    background-color: rgba(41, 128, 185, 0.06);
    color: var(--color-blue);
  }
}

/* ========================================
   Hero
======================================== */

.p-hero {
  align-items: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  position: relative;
}

@supports (height: 100dvh) {
  .p-hero {
    min-height: calc(100dvh - var(--header-height));
  }
}

.p-hero::before {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(41, 128, 185, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(41, 128, 185, 0.05) 0%, transparent 50%);
  content: "";
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}

.p-hero::after {
  background: rgba(41, 128, 185, 0.04);
  border-radius: 50%;
  content: "";
  height: 70rem;
  pointer-events: none;
  position: absolute;
  right: -20rem;
  top: 50%;
  transform: translateY(-50%);
  width: 70rem;
  z-index: 0;
}

.p-hero__inner {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin: 0 auto;
  max-width: 1200px;
  padding: 7rem var(--swl-pad_container, 2rem) 8rem;
  position: relative;
  width: 100%;
  z-index: 1;
}

.p-hero__content {
  width: 100%;
}

.p-hero__label {
  align-items: center;
  color: var(--color-blue);
  display: flex;
  font-size: 1.2rem;
  font-weight: 700;
  gap: 0.8rem;
  letter-spacing: 0.08em;
}

.p-hero__label::before {
  background: var(--color-blue);
  border-radius: 999px;
  content: "";
  display: inline-block;
  flex-shrink: 0;
  height: 0.1rem;
  width: 3rem;
}

.p-hero__title {
  font-family: var(--font-brand);
  font-size: 3.0rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.55;
  margin-top: 2rem;
}

.p-hero__title-em {
  color: var(--color-blue);
  font-size: 4.4rem;
}

.p-hero__title-en {
  font-family: var(--font-accent);
  letter-spacing: 0.02em;
}

.p-hero__title-line {
  display: block;
}

.p-hero__lead {
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 2.0;
  margin-top: 2.8rem;
  max-width: 54rem;
}

.p-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 4.8rem;
  width: 100%;
}

.p-hero__button {
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.p-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  margin-top: 3.2rem;
  margin-right: 3.2rem;
  padding: 0;
}

.p-hero__trust-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(41, 128, 185, 0.18);
  border-radius: 999px;
  color: var(--color-text-light);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.4rem;
}

.p-hero__visual {
  display: none;
}

/* Hero — dashboard panel */

.p-hero-panel {
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 2.4rem 7.2rem rgba(0, 0, 0, 0.10), 0 0.4rem 1.6rem rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.p-hero-panel__dot {
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  height: 1.2rem;
  width: 1.2rem;
}

.p-hero-panel__dot--green  { background: #28C840; }
.p-hero-panel__dot--red    { background: #FF5F57; }
.p-hero-panel__dot--yellow { background: #FEBC2E; }

.p-hero-panel__head {
  align-items: center;
  background: #F0F2F5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  gap: 0.6rem;
  padding: 1.2rem 1.6rem;
}

.p-hero-panel__item {
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 2.6rem;
  padding: 1.4rem 0;
}

.p-hero-panel__item:last-child {
  border-bottom: none;
}

.p-hero-panel__item-body {
  flex: 1;
}

.p-hero-panel__item-icon {
  align-items: center;
  background: rgba(41, 128, 185, 0.1);
  border-radius: 0.8rem;
  color: var(--color-blue);
  display: flex;
  flex-shrink: 0;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 700;
  height: 3.6rem;
  justify-content: center;
  letter-spacing: 0;
  width: 4.8rem;
}

.p-hero-panel__item-status {
  background: #28C840;
  border-radius: 50%;
  flex-shrink: 0;
  height: 0.8rem;
  width: 0.8rem;
}

.p-hero-panel__item-text {
  color: var(--color-text-light);
  font-size: 1.4rem;
  margin-top: 0.2rem;
}

.p-hero-panel__item-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.p-hero-panel__services {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0.8rem 2rem 0;
}

.p-hero-panel__stat {
  flex: 1;
  text-align: center;
}

.p-hero-panel__stat + .p-hero-panel__stat {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.p-hero-panel__stat-label {
  color: var(--color-text-light);
  font-size: 1.3rem;
  margin-top: 0.4rem;
}

.p-hero-panel__stat-num {
  color: var(--color-blue);
  font-family: var(--font-accent);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.p-hero-panel__stat-unit {
  font-family: var(--font-base);
  font-size: 1.2rem;
  font-weight: 400;
}

.p-hero-panel__stats {
  background: var(--color-bg-gray);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  margin-top: 0.8rem;
  padding: 2rem;
}

.p-hero-panel__title {
  color: rgba(0, 0, 0, 0.35);
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-left: 0.8rem;
}

/* Hero — canvas particles */

.p-hero__canvas,
.p-works__canvas {
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}

/* Hero — scroll indicator */

.p-hero__scroll {
  bottom: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: absolute;
  right: 5%;
}

.p-hero__scroll::after {
  animation: heroScrollLine 2s ease-in-out infinite;
  background: var(--color-text);
  content: "";
  display: block;
  height: 6rem;
  margin: 0 auto;
  opacity: 0.6;
  transform-origin: top center;
  width: 0.1rem;
}

.p-hero__scroll-text {
  color: var(--color-text-light);
  font-family: var(--font-accent);
  font-size: 1.0rem;
  letter-spacing: 0.2em;
  line-height: 1;
  writing-mode: vertical-rl;
}

@keyframes heroScrollLine {
  0%   { opacity: 0; transform: scaleY(0); }
  20%  { opacity: 1; transform: scaleY(1); }
  80%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); }
}

/* Hero — 768px+ */

@media (min-width: 768px) {
  .p-hero__actions {
    flex-direction: row;
    gap: 2rem;
    margin-top: 5.6rem;
    width: auto;
  }

  .p-hero__button {
    min-width: 22rem;
    width: auto;
  }

  .p-hero__content {
    flex: 1;
    max-width: 580px;
  }

  .p-hero__inner {
    align-items: center;
    flex-direction: row;
    gap: 8rem;
    padding: 8rem var(--swl-pad_container, 4rem) 10rem;
  }

  .p-hero__label {
    font-size: 1.3rem;
  }

  .p-hero__lead {
    font-size: 1.6rem;
    margin-top: 3.2rem;
    max-width: 100%;
  }

  .p-hero__title {
    font-size: 4.8rem;
    line-height: 1.4;
    margin-top: 2.4rem;
  }

  .p-hero__title-em {
    font-size: 6.0rem;
  }

  .p-hero__trust {
    margin-top: 3.6rem;
  }

  .p-hero__trust-item {
    font-size: 1.2rem;
  }

  .p-hero__visual {
    display: block;
    flex-shrink: 0;
    width: 42rem;
  }
}

/* Hero — 1024px+ */

@media (min-width: 1024px) {
  .p-hero__inner {
    gap: 10rem;
  }

  .p-hero__title {
    font-size: 4.6rem;
  }

  .p-hero__title-em {
    font-size: 7.2rem;
  }

  .p-hero__visual {
    width: 46rem;
  }
}

/* ========================================
   Top Page — Common Utilities
======================================== */

/* --- セクション共通 --- */

.p-top-section {
  overflow: hidden;
  padding: 6rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .p-top-section {
    padding: 8rem 0;
  }
}

@media (min-width: 1024px) {
  .p-top-section {
    padding: 10rem 0;
  }
}

/* --- 内側コンテナ --- */

.p-top-inner {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1120px;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
}

@media (min-width: 768px) {
  .p-top-inner {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* --- セクション見出し --- */

.p-top-section-heading {
  text-align: center;
}

.p-top-section-heading--left {
  text-align: left;
}

.p-top-section-heading__en {
  color: var(--color-blue);
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.6;
  text-transform: uppercase;
}

.p-top-section-heading__title {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0.8rem;
}

.p-top-section-heading__lead {
  color: var(--color-text-light);
  font-size: 1.4rem;
  line-height: 1.9;
  margin-top: 1.2rem;
}

.p-top-section-heading__lead p + p {
  margin-top: 0.4rem;
}

@media (min-width: 768px) {
  .p-top-section-heading__en {
    font-size: 1.2rem;
  }

  .p-top-section-heading__title {
    font-size: 2.6rem;
    margin-top: 1rem;
  }

  .p-top-section-heading__lead {
    font-size: 1.5rem;
    margin-top: 1.6rem;
  }
}

@media (min-width: 1024px) {
  .p-top-section-heading__title {
    font-size: 2.8rem;
  }
}

/* --- もっと見るボタン --- */

.p-section-more {
  margin-top: 4.8rem;
  text-align: center;
}

.p-section-more--left {
  text-align: left;
}

/* ========================================
   Scroll Reveal
======================================== */

.js-reveal {
  opacity: 0;
  transform: translateY(2.4rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-reveal--delay-1 { transition-delay: 0.1s; }
.js-reveal--delay-2 { transition-delay: 0.2s; }
.js-reveal--delay-3 { transition-delay: 0.3s; }

/* ========================================
   Service — 白背景・軽いセクション
======================================== */

.p-service {
  overflow: hidden;
  position: relative;
}

/* 装飾: 右上のリングサークル + グロー */
.p-service::after {
  background: radial-gradient(ellipse at 60% 40%, rgba(41, 128, 185, 0.13) 0%, transparent 65%);
  border: 1.5px solid rgba(41, 128, 185, 0.10);
  border-radius: 50%;
  content: "";
  height: 80rem;
  pointer-events: none;
  position: absolute;
  right: -28rem;
  top: -24rem;
  width: 80rem;
  z-index: 0;
}

/* 装飾: ドットグリッド + 左下グラデーション */
.p-service::before {
  background-image:
    radial-gradient(ellipse at 10% 80%, rgba(41, 128, 185, 0.10) 0%, transparent 55%),
    radial-gradient(circle, rgba(41, 128, 185, 0.07) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 30px 30px;
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.p-service > .p-top-inner {
  position: relative;
  z-index: 1;
}

/* カードグリッド */

.p-service__grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
  margin-top: 4rem;
}

.p-service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1.6rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.p-service-card__link {
  display: block;
  padding: 2.8rem;
  text-decoration: none;
}

.p-service-card__icon {
  align-items: center;
  background: rgba(41, 128, 185, 0.08);
  border-radius: 1.2rem;
  color: var(--color-blue);
  display: flex;
  height: 5.6rem;
  justify-content: center;
  margin-bottom: 1.6rem;
  width: 5.6rem;
}

.p-service-card__label {
  color: var(--color-blue);
  font-family: var(--font-accent);
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.p-service-card__title {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.p-service-card__text {
  color: var(--color-text-light);
  font-size: 1.4rem;
  line-height: 1.8;
  margin-top: 1rem;
}

.p-service-card__more {
  color: var(--color-blue);
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.4rem;
}

/* 非使用要素の非表示 */
.p-service-card__header,
.p-service-card__media {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .p-service-card:hover {
    box-shadow: 0 1.2rem 4rem rgba(41, 128, 185, 0.14);
    transform: translateY(-0.4rem);
  }
}

@media (min-width: 768px) {
  .p-service__grid {
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .p-service-card__title {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .p-service__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Works — 濃紺背景・主役セクション
======================================== */

/* セクション自体: デフォルトより多めのpadding + min-height */
.p-works--dark {
  background: #0b1c2a;
  min-height: 85vh;
  overflow: hidden;
  padding: 8rem 0;
  position: relative;
}

/* 装飾: 呼吸するグロー */
.p-works--dark::before {
  animation: worksGlow 10s ease-in-out infinite alternate;
  background:
    radial-gradient(ellipse at 8% 90%, rgba(41, 128, 185, 0.38) 0%, transparent 50%),
    radial-gradient(ellipse at 95% 5%, rgba(41, 128, 185, 0.26) 0%, transparent 45%),
    radial-gradient(ellipse at 52% 55%, rgba(41, 128, 185, 0.10) 0%, transparent 65%);
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

/* 装飾: ドットグリッド + 斜めライン */
.p-works--dark::after {
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 36px,
      rgba(255, 255, 255, 0.035) 36px,
      rgba(255, 255, 255, 0.035) 37px
    ),
    radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px;
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.p-works--dark > .p-top-inner {
  position: relative;
  z-index: 1;
}

/* 見出し: ダーク背景用カラー */
.p-works--dark .p-top-section-heading__en {
  color: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.p-works--dark .p-top-section-heading__title {
  color: #fff;
}

.p-works--dark .p-top-section-heading__lead {
  color: rgba(255, 255, 255, 0.55);
}

/* カードグリッド */

.p-works__grid {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: 1fr;
  margin-top: 4.8rem;
}

.p-works-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.6rem;
  box-shadow: 0 0.4rem 2.4rem rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.p-works-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.p-works-card__media {
  margin: 0;
  overflow: hidden;
  position: relative;
}

.p-works-card__media img {
  border-radius: 0;
  display: block;
  transition: transform 0.45s ease;
  width: 100%;
}

.p-works-card__overlay {
  align-items: center;
  background: rgba(41, 128, 185, 0.8);
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.35s ease;
  width: 100%;
}

.p-works-card__overlay-text {
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.8rem 2.4rem;
}

.p-works-card__body {
  flex: 1;
  padding: 2.4rem;
}

.p-works-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.p-works-card__tag {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.6rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 1rem;
}

.p-works-card__client {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.2rem;
  margin-top: 1.2rem;
}

.p-works-card__title {
  color: #fff;
  font-family: var(--font-brand);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 0.6rem;
}

.p-works-card__result {
  display: none;
}

.p-works-card__results {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.p-works-card__results span {
  background: rgba(41, 128, 185, 0.22);
  border-left: 3px solid #5aaddf;
  color: #b8e0f7;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.4rem 1.2rem;
}

/* もっと見るボタン: ダーク背景用 */
.p-works--dark .p-section-more .c-btn-more--primary {
  background: #fff;
  box-shadow: 0 0.4rem 2.4rem rgba(255, 255, 255, 0.15);
  color: #0b1c2a;
}

@media (hover: hover) and (pointer: fine) {
  .p-works-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 1.6rem 5.6rem rgba(0, 0, 0, 0.45);
    transform: translateY(-0.5rem);
  }

  .p-works-card:hover .p-works-card__media img {
    transform: scale(1.06);
  }

  .p-works-card:hover .p-works-card__overlay {
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .p-works--dark {
    min-height: 90vh;
    padding: 10rem 0;
  }

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

  /* 中央カードを少し下げてリズムを出す */
  .p-works-card:nth-child(2) {
    margin-top: 3.2rem;
  }
}

@media (min-width: 1024px) {
  .p-works--dark {
    padding: 12rem 0;
  }

  .p-works__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .p-works-card:nth-child(2) {
    margin-top: 3.2rem;
  }
}

@keyframes worksGlow {
  0%   { opacity: 0.55; }
  100% { opacity: 1; }
}

/* ========================================
   Strengths — ステップ型・中間の密度
======================================== */

.p-strengths {
  background: rgba(41, 128, 185, 0.025);
  overflow: hidden;
  position: relative;
}

/* 装飾: 左上の斜め光面 */
.p-strengths::before {
  background: linear-gradient(130deg, rgba(41, 128, 185, 0.14) 0%, transparent 55%);
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

/* 装飾: 右下のリングサークル */
.p-strengths::after {
  background: radial-gradient(ellipse, rgba(41, 128, 185, 0.16) 0%, transparent 60%);
  border: 2px solid rgba(41, 128, 185, 0.08);
  border-radius: 50%;
  bottom: -14rem;
  content: "";
  height: 60rem;
  pointer-events: none;
  position: absolute;
  right: -16rem;
  width: 60rem;
  z-index: 0;
}

.p-strengths > .p-top-inner {
  position: relative;
  z-index: 1;
}

/* ステップリスト: SP縦並び */

.p-strengths__list {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 4.8rem;
}

/* カード共通 */
.p-strengths-card {
  border-top: 1px solid rgba(41, 128, 185, 0.15);
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 2.4rem 0;
}

.p-strengths-card:first-child {
  border-top: none;
  padding-top: 0;
}

/* ステップバッジ */
.p-strengths-card__step {
  align-items: center;
  display: flex;
  gap: 1.6rem;
}

.p-strengths-card__step-badge {
  align-items: center;
  background: var(--color-blue);
  border-radius: 50%;
  box-shadow: 0 0.4rem 1.6rem rgba(41, 128, 185, 0.3);
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-family: var(--font-accent);
  font-size: 1.6rem;
  font-weight: 700;
  height: 5.6rem;
  justify-content: center;
  width: 5.6rem;
}

.p-strengths-card__num {
  display: none;
}

.p-strengths-card__title {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
}

/* タイトル前の青線を非表示（ステップバッジがある） */
.p-strengths-card__title::before {
  display: none;
}

.p-strengths-card__text {
  color: var(--color-text-light);
  font-size: 1.5rem;
  line-height: 1.9;
  margin-top: 1.2rem;
}

/* PC: 3列グリッド + コネクターライン */

@media (min-width: 768px) {
  .p-strengths__list {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 5.6rem;
  }

  .p-strengths-card {
    border-left: 1px solid rgba(41, 128, 185, 0.15);
    border-top: none;
    padding: 0 3.2rem;
  }

  .p-strengths-card:first-child {
    border-left: none;
    padding-left: 0;
  }

  .p-strengths-card__step {
    width: 100%;
  }

  /* バッジから右へ伸びるコネクター */
  .p-strengths-card:not(:last-child) .p-strengths-card__step::after {
    background: linear-gradient(to right, var(--color-blue), rgba(41, 128, 185, 0.2));
    content: "";
    flex: 1;
    height: 2px;
    min-width: 1.6rem;
  }

  .p-strengths-card__body {
    margin-top: 2.4rem;
  }
}

/* ========================================
   Blog — グレー背景・補助セクション（軽い）
======================================== */

/* セクション: やや軽いpadding */
.p-blog--bg {
  background: #eef2f6;
  overflow: hidden;
  padding: 5rem 0;
  position: relative;
}

/* 装飾: 透かし文字 */
.p-blog--bg::before {
  color: rgba(41, 128, 185, 0.11);
  content: "COLUMN";
  font-family: var(--font-accent);
  font-size: 8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  opacity: 0.6;
  pointer-events: none;
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 0;
}

/* 装飾: 左側の円ブロブ */
.p-blog--bg::after {
  background: radial-gradient(ellipse, rgba(41, 128, 185, 0.16) 0%, transparent 65%);
  border-radius: 50%;
  content: "";
  height: 52rem;
  left: -14rem;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52rem;
  z-index: 0;
}

.p-blog--bg > .p-top-inner {
  position: relative;
  z-index: 1;
}

/* カードグリッド */

.p-blog__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-top: 4rem;
}

.p-blog__empty {
  color: var(--color-text-light);
  font-size: 1.4rem;
  margin-top: 3.2rem;
  text-align: center;
}

.p-blog-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.p-blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.p-blog-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  width: 100%;
}

.p-blog-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}

.p-blog-card__body {
  padding: 1.8rem;
  width: 100%;
}

.p-blog-card__meta {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.p-blog-card__category {
  background: rgba(41, 128, 185, 0.08);
  border-radius: 0.4rem;
  color: var(--color-blue);
  font-size: 1.0rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
}

.p-blog-card__date {
  color: var(--color-text-light);
  font-family: var(--font-accent);
  font-size: 1.1rem;
}

.p-blog-card__tags {
  display: none;
}

.p-blog-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 0.8rem;
}

.p-blog-card .p-section-more {
  margin-top: 3.2rem;
}

@media (hover: hover) and (pointer: fine) {
  .p-blog-card:hover {
    box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.1);
    transform: translateY(-0.3rem);
  }

  .p-blog-card:hover .p-blog-card__media img {
    transform: scale(1.05);
  }
}

@media (min-width: 768px) {
  .p-blog--bg {
    padding: 7rem 0;
  }

  .p-blog--bg::before {
    font-size: clamp(10rem, 16vw, 18rem);
    opacity: 1;
  }

  .p-blog__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .p-blog--bg {
    padding: 8rem 0;
  }
}

/* ========================================
   About — 白背景・信頼感・スペースを広く
======================================== */

.p-about {
  overflow: hidden;
  position: relative;
}

/* 装飾: 透かし文字 "HOOK" */
.p-about::before {
  color: rgba(41, 128, 185, 0.09);
  content: "HOOK";
  font-family: var(--font-accent);
  font-size: clamp(10rem, 18vw, 20rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 0;
}

/* 装飾: 右下から斜め光面 */
.p-about::after {
  background: linear-gradient(-50deg, rgba(41, 128, 185, 0.10) 0%, transparent 50%);
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.p-about > .p-top-inner {
  position: relative;
  z-index: 1;
}

/* レイアウト */

.p-about__layout {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.p-about__content {
  width: 100%;
}

.p-about__visual {
  width: 100%;
}

/* 数値カード */

.p-about__stats {
  background: linear-gradient(135deg, #1a5f8f 0%, var(--color-blue) 50%, #3a9fd9 100%);
  border-radius: 2rem;
  box-shadow: 0 1.6rem 4.8rem rgba(41, 128, 185, 0.3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  padding: 4rem 1.6rem;
  position: relative;
}

/* 数値カード内: 上部の光 */
.p-about__stats::after {
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.p-about__stat {
  padding: 0 1.6rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

.p-about__stat + .p-about__stat {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.p-about__stat-num {
  align-items: baseline;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  font-weight: 700;
  gap: 0.2rem;
  justify-content: center;
  line-height: 1;
}

.p-about__stat-value {
  font-family: var(--font-accent);
  font-size: 3.6rem;
  font-weight: 700;
}

.p-about__stat-unit {
  font-size: 1.2rem;
}

.p-about__stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-top: 0.8rem;
  text-align: center;
}

@media (min-width: 768px) {
  .p-about__layout {
    align-items: center;
    flex-direction: row;
    gap: 8rem;
  }

  .p-about__content {
    flex: 1;
  }

  .p-about__visual {
    flex-shrink: 0;
    width: 38rem;
  }

  .p-about__stats {
    padding: 4.8rem 2.4rem;
  }
}

/* ========================================
   FAQ — グレー背景・ドットパターン・機能的
======================================== */

/* セクション: 軽いpadding */
.p-faq.p-faq--section {
  background: var(--color-bg-gray);
  overflow: hidden;
  padding: 5rem 0;
  position: relative;
}

/* 装飾: ドットパターン */
.p-faq.p-faq--section::before {
  background-image: radial-gradient(circle, rgba(41, 128, 185, 0.13) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

/* 装飾: 右側の円 */
.p-faq.p-faq--section::after {
  background: radial-gradient(ellipse, rgba(41, 128, 185, 0.14) 0%, transparent 60%);
  border-radius: 50%;
  content: "";
  height: 52rem;
  pointer-events: none;
  position: absolute;
  right: -10rem;
  top: 50%;
  transform: translateY(-50%);
  width: 52rem;
  z-index: 0;
}

.p-faq.p-faq--section > .p-top-inner {
  position: relative;
  z-index: 1;
}

/* アコーディオンリスト */

.p-faq__list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 3.2rem;
}

.p-faq-item {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.04);
}

.p-faq-item__question {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 1.6rem;
  list-style: none;
  padding: 2.4rem;
  position: relative;
}

.p-faq-item__question::marker {
  content: none;
}

.p-faq-item__question-icon {
  align-items: center;
  background: var(--color-blue);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 700;
  height: 3.6rem;
  justify-content: center;
  width: 3.6rem;
}

.p-faq-item__question-text {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.55;
}

.p-faq-item__question-toggle {
  flex-shrink: 0;
  height: 2.4rem;
  margin-left: auto;
  position: relative;
  width: 2.4rem;
}

.p-faq-item__question-toggle::before,
.p-faq-item__question-toggle::after {
  background: var(--color-text);
  border-radius: 999px;
  content: "";
  display: block;
  height: 0.2rem;
  position: absolute;
  top: 50%;
  transition: transform 0.3s ease;
  width: 1rem;
}

.p-faq-item__question-toggle::before {
  left: 0.4rem;
  transform: translateY(-50%) rotate(45deg);
}

.p-faq-item__question-toggle::after {
  right: 0.4rem;
  transform: translateY(-50%) rotate(-45deg);
}

.p-faq-item[open] .p-faq-item__question-toggle::before {
  transform: translateY(-50%) rotate(-45deg);
}

.p-faq-item[open] .p-faq-item__question-toggle::after {
  transform: translateY(-50%) rotate(45deg);
}

.p-faq-item__answer {
  display: flex;
  gap: 1.6rem;
  padding: 0 2.4rem 2.4rem;
}

.p-faq-item__answer-icon {
  align-items: center;
  background: var(--color-bg-gray);
  border-radius: 50%;
  color: var(--color-blue);
  display: flex;
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 700;
  height: 3.6rem;
  justify-content: center;
  width: 3.6rem;
}

.p-faq-item__answer-body {
  flex: 1;
  font-size: 1.5rem;
  line-height: 1.8;
  padding-top: 0.4rem;
}

@media (min-width: 768px) {
  .p-faq.p-faq--section {
    padding: 7rem 0;
  }

  .p-faq__list {
    margin: 3.2rem auto 0;
    max-width: 800px;
  }
}

@media (min-width: 1024px) {
  .p-faq.p-faq--section {
    padding: 8rem 0;
  }
}

/* ========================================
   News — 補助セクション・最もコンパクト
======================================== */

/* セクション: コンパクトなpadding */
.p-news {
  overflow: hidden;
  padding: 4rem 0;
  position: relative;
}

/* 装飾: 透かし文字 */
.p-news::before {
  color: rgba(41, 128, 185, 0.10);
  content: "NEWS";
  font-family: var(--font-accent);
  font-size: 8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  opacity: 0.6;
  pointer-events: none;
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 0;
}

/* 装飾: 縦ライン */
.p-news::after {
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 64px,
    rgba(41, 128, 185, 0.08) 64px,
    rgba(41, 128, 185, 0.08) 65px
  );
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.p-news > .p-top-inner {
  position: relative;
  z-index: 1;
}

/* ニュースリスト */

.p-news__list {
  border-top: 1px solid var(--color-border);
  margin-top: 3.2rem;
}

.p-news__empty {
  color: var(--color-text-light);
  font-size: 1.4rem;
  margin-top: 3.2rem;
  text-align: center;
}

.p-news-item {
  border-bottom: 1px solid var(--color-border);
}

.p-news-item__link {
  --arrow-offset: 0rem;
  align-items: center;
  background: #fff;
  display: flex;
  gap: 1.6rem;
  padding: 1.8rem 0.4rem;
  position: relative;
  text-decoration: none;
  transition: background 0.2s ease;
}

.p-news-item__link::before, .p-news-item__link::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transition: transform 0.3s ease, width 0.3s ease;
}

.p-news-item__link::before {
  background: currentColor;
  border-radius: 999px;
  height: 0.2rem;
  right: 3.2rem;
  transform: translate(var(--arrow-offset), -50%);
  width: 1.8rem;
}

.p-news-item__link::after {
  border-right: 0.2rem solid currentColor;
  border-top: 0.2rem solid currentColor;
  height: 0.8rem;
  right: 3.2rem;
  transform: translate(var(--arrow-offset), -50%) rotate(45deg);
  width: 0.8rem;
}

@media (hover: hover) and (pointer: fine) {
  .p-news-item__link:hover {
      --arrow-offset: 0.4rem;
      opacity: 0.9;
  }
}

.p-news-item__meta {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 1rem;
  width: 18rem;
}

.p-news-item__date {
  color: var(--color-text-light);
  font-family: var(--font-accent);
  font-size: 1.2rem;
  white-space: nowrap;
}

.p-news-item__category {
  background: rgba(41, 128, 185, 0.08);
  border-radius: 0.4rem;
  color: var(--color-blue);
  font-size: 1.0rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  white-space: nowrap;
}

.p-news-item__body {
  flex: 1;
}

.p-news-item__title {
  color: var(--color-text);
  flex: 1;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 0;
}

.p-news-item .c-arrow-btn {
  flex-shrink: 0;
  margin-left: auto;
}

@media (hover: hover) and (pointer: fine) {
  .p-news-item__link:hover {
    background: rgba(41, 128, 185, 0.03);
  }
}

/* SP: メタを上段に、タイトルを下段に */
@media (max-width: 767px) {
  .p-news-item__link {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .p-news-item__meta {
    width: 100%;
  }

  .p-news-item__title {
    width: 100%;
  }

  .p-news-item .c-arrow-btn {
    display: none;
  }
}

@media (min-width: 768px) {
  .p-news {
    padding: 5rem 0;
  }

  .p-news::before {
    font-size: clamp(9rem, 14vw, 16rem);
    opacity: 1;
  }

  .p-news__list {
    margin: 3.2rem auto 0;
    max-width: 900px;
  }
}

@media (min-width: 1024px) {
  .p-news {
    padding: 6rem 0;
  }
}

/* ========================================
   装飾: 透かし文字 — SP非表示
   コンテンツと重なって見にくくなるため
   768px 以上でのみ表示する
======================================== */

@media (max-width: 767px) {
  .p-blog--bg::before,
  .p-about::before,
  .p-news::before {
    display: none;
  }
}

/* ========================================
   お知らせ一覧ページ（template-news.php）
======================================== */

/* SWELLのコンテナ制約を解除してヘッダーを全幅に */

.page-template-template-news #content.l-container,
.page-template-template-news #content.l-content {
  max-width: 100% !important;
  padding: 0 !important;
}

.page-template-template-news .l-mainContent,
.page-template-template-news .l-mainContent__inner {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ページヘッダー */

.p-news-page-header {
  background: var(--color-bg-gray);
  padding: 5.6rem 2rem 4.8rem;
  text-align: center;
}

.p-news-page-header__en {
  color: var(--color-blue);
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.p-news-page-header__title {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* カテゴリ絞り込みフィルター */

.p-news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3.2rem;
}

.p-news-filter__btn {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.15);
  border-radius: 999px;
  color: var(--color-text-light);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.55em 1.4em;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.p-news-filter__btn:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.p-news-filter__btn.is-active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}

/* 一覧セクション */

.p-news-list-page {
  margin: 0 auto;
  max-width: 800px;
  padding: 4rem 2rem 6.4rem;
}

/* リスト */

.p-news-list {
  border-top: 1px solid var(--color-border);
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-news-list__item {
  border-bottom: 1px solid var(--color-border);
}

.p-news-list__link {
  color: var(--color-text);
  display: block;
  padding: 2rem 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .p-news-list__link:hover {
    opacity: 0.75;
  }
}

/* メタ（日付・カテゴリ） */

.p-news-list__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.p-news-list__date {
  color: var(--color-text-light);
  font-family: var(--font-accent);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.p-news-list__category {
  background: rgba(41, 128, 185, 0.08);
  border-radius: 0.3rem;
  color: var(--color-blue);
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2em 0.8em;
  white-space: nowrap;
}

/* タイトル・抜粋 */

.p-news-list__title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.p-news-list__excerpt {
  color: var(--color-text-light);
  font-size: 1.4rem;
  line-height: 1.75;
  margin: 0;
}

/* 0件表示 */

.p-news-list__empty {
  color: var(--color-text-light);
  font-size: 1.5rem;
  padding: 4rem 0;
  text-align: center;
}

/* ページネーション */

.p-news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 4rem;
}

.p-news-pagination .page-numbers {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 0.6rem;
  color: var(--color-text);
  display: inline-flex;
  font-size: 1.4rem;
  font-weight: 700;
  justify-content: center;
  min-height: 4rem;
  min-width: 4rem;
  padding: 0 0.8rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.p-news-pagination .page-numbers:hover {
  background: rgba(41, 128, 185, 0.06);
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.p-news-pagination .page-numbers.current {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}

@media (min-width: 768px) {
  .p-news-page-header {
    padding: 7.2rem 4rem 6.4rem;
  }

  .p-news-list-page {
    padding: 5.6rem 0 9.6rem;
  }

  .p-news-list__title {
    font-size: 1.7rem;
  }

  .p-news-list__link {
    padding: 2.4rem 0;
  }
}

/* ========================================
   Footer — CTA と本体の役割を明確に分離
   [p-top-section 最後] → [p-footer-cta: チャコール] → [p-footer-main: 白]
======================================== */

/* l-footer 全体の背景 */
.l-footer {
  background: #111827;
  padding-left: 0;
  padding-right: 0;
}

/* ---- Footer CTA ---- */

.p-footer-cta {
  background: #111827;
  overflow: hidden;
  padding: 8rem 0;
  position: relative;
}

/* 装飾: 左側の淡い光 */
.p-footer-cta::before {
  background: radial-gradient(ellipse at 15% 50%, rgba(41, 128, 185, 0.1) 0%, transparent 55%);
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.p-footer-cta__inner {
  margin: 0 auto;
  max-width: 800px;
  padding: 0 2rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

/* 見出し */
.p-footer-cta__heading-en {
  color: #fff;
  font-family: var(--font-accent);
  font-size: 5.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0.15;
}

.p-footer-cta__heading-title {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 0.8rem;
}

.p-footer-cta__heading-lead {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.4rem;
  line-height: 1.8;
  margin-top: 1.2rem;
}

/* ボタンエリア */
.p-footer-cta__actions {
  margin-top: 4rem;
}

.p-footer-cta__action {
  margin-top: 1.6rem;
  text-align: center;
}

/* フッターCTA内のボタンを白調に統一 */
.p-footer-cta .c-btn-more {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
}

.p-footer-cta__note {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  margin-top: 1.2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .p-footer-cta {
    padding: 12rem 0;
  }

  .p-footer-cta__heading-en {
    font-size: 6.4rem;
  }

  .p-footer-cta__heading-title {
    font-size: 2.8rem;
  }

  .p-footer-cta__actions {
    align-items: center;
    display: flex;
    gap: 2.4rem;
    justify-content: center;
    margin-top: 4.8rem;
  }

  .p-footer-cta__action {
    margin-top: 0;
  }
}

/* ---- Footer Main ---- */

.p-footer-main {
  background: #fff;
  border-radius: 2.4rem 2.4rem 0 0;
  margin: 0 1.6rem;
  padding: 4.8rem 1.6rem;
  position: relative;
}

.p-footer-main__inner {
  margin: 0 auto;
  max-width: 1200px;
}

.p-footer-main__logo {
  margin: 0 auto;
  width: 200px;
}

.p-footer-main__lead {
  font-size: 1.4rem;
  margin-top: 1.6rem;
}

.p-footer-main__address {
  font-size: 1.4rem;
  margin-top: 1.6rem;
}

.p-footer-main__address-item {
  align-items: center;
  display: flex;
  gap: 0.6rem;
}

.p-footer-main__address-item + .p-footer-main__address-item {
  margin-top: 0.6rem;
}

.p-footer-main__address-item svg {
  flex-shrink: 0;
}

.p-footer-main__links {
  margin-top: 3.2rem;
}

.p-footer-main__nav {
  font-weight: 700;
  margin: 1.6rem 0;
}

.p-footer-main__summary,
.p-footer-main__link {
  display: block;
  padding: 0.8rem 0;
}

.p-footer-main__summary {
  position: relative;
}

.p-footer-main__summary::before,
.p-footer-main__summary::after {
  background: var(--color-text);
  border-radius: 999px;
  content: "";
  height: 0.2rem;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: 1.6rem;
}

.p-footer-main__summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.p-footer-main__group[open] .p-footer-main__summary::after {
  opacity: 0;
}

.p-footer-main__summary::marker {
  content: none;
}

.p-footer-main__group .p-footer-main__list {
  margin-left: 1.6rem;
}

.p-footer-main__sub-list {
  font-size: 1.2rem;
  margin-top: 1.6rem;
}

.p-footer-main__sub-link {
  display: block;
  padding: 0.4rem 0;
}

.p-footer-main__sub {
  border-top: 1px solid var(--color-border);
}

.p-copyright {
  display: inline-block;
  font-size: 1.0rem;
  margin-top: 3.2rem;
}

@media (min-width: 768px) {
  .p-footer-main {
    margin: 0 auto;
    padding: 6.4rem 3.2rem 4.8rem;
    width: 85%;
  }

  .p-footer-main__inner {
    display: block;
  }

  .p-footer-main__brand {
    margin-bottom: 4rem;
    text-align: center;
  }

  .p-footer-main__address-item {
    justify-content: center;
  }

  .p-footer-main__links {
    border-top: none;
    margin-top: 0;
  }

  .p-footer-main__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem 4rem;
    margin: 0;
  }

  /* PC: detailsを常時展開 */
  .p-footer-main__group > .p-footer-main__list {
    display: block;
  }

  .p-footer-main__summary {
    cursor: default;
    pointer-events: none;
  }

  .p-footer-main__summary::before,
  .p-footer-main__summary::after {
    display: none;
  }

  .p-footer-main__sub {
    margin-top: 3.2rem;
    padding-top: 2.4rem;
  }

  .p-footer-main__sub-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 3.2rem;
    justify-content: center;
    margin-top: 0;
  }

  .p-footer-main__sub-link {
    display: inline;
    padding: 0.4rem 0;
  }

  .p-copyright {
    display: flex;
    justify-content: center;
  }
}

/* ========================================
   Footer — wp_nav_menu 動的メニュー対応
======================================== */

/* ---- フッターナビ（mobile） ---- */

.l-footer__nav a,
.l-footer__nav li:first-child a {
  border: none;
}

.p-footer-main__nav-list {
  list-style: none;
  margin: 1.6rem 0;
  padding: 0;
}

.p-footer-main__nav-list > .menu-item > a {
  display: block;
  font-weight: 700;
  padding: 0.8rem 0;
  text-decoration: none;
}

/* 子メニューは常時表示（ドロップダウンにしない） */
.p-footer-main__nav-list .sub-menu {
  display: block;
  list-style: none;
  margin-left: 1.6rem;
  padding: 0;
}

.p-footer-main__nav-list .sub-menu a {
  border: none;
  display: block;
  font-size: 1.4rem;
  font-weight: 400;
  padding: 0.4rem 0;
  text-decoration: none;
}

/* ---- フッターサブナビ（wp_nav_menu は p-footer-main__sub-link クラスを付与しない） ---- */

.p-footer-main__sub-list {
  list-style: none;
  padding: 0;
}

.p-footer-main__sub-list a {
  display: block;
  padding: 0.4rem 0;
  text-decoration: none;
}

/* ---- PC（768px+） ---- */

@media (min-width: 768px) {
  /* nav 要素はブロックに戻す（flex レイアウトは ul に移譲） */
  .p-footer-main__nav {
    display: block;
    margin: 0;
  }

  /* ul を5カラムフレックスグリッドに */
  .p-footer-main__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem 2.4rem;
    margin: 0;
  }

  /* 各トップ項目を均等幅で縦積み */
  .p-footer-main__nav-list > .menu-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
  }

  .p-footer-main__nav-list > .menu-item > a {
    padding: 0;
  }

  .p-footer-main__nav-list .sub-menu {
    margin-left: 0;
    margin-top: 0.8rem;
  }

  /* サブナビ：横並び折り返し */
  .p-footer-main__sub-list a {
    display: inline;
    padding: 0.4rem 0;
  }
}

/* 手動追加ナビ（情報発信等）の見出しはリンクとして機能させない */
.p-footer-main__nav-list > .menu-item--manual > a {
  cursor: default;
  pointer-events: none;
}

/* ---- スマホ（767px以下）— フッターナビ余白・幅調整 ---- */

@media (max-width: 767px) {
  /* SWELL の .l-footer__nav { display:flex; justify-content:center } を打ち消す
     これが「ul がコンテンツ幅に縮んで中央寄り」に見える主な原因 */
  .p-footer-main__nav {
    display: block;
    padding: 0;
  }

  /* ナビリストを全幅に伸ばす */
  .p-footer-main__nav-list {
    margin: 0;
    width: 100%;
  }

  /* 親メニュー: 上下区切り線でまとまりを出す */
  .p-footer-main__nav-list > .menu-item {
    border-bottom: 1px solid var(--color-border);
  }
  .p-footer-main__nav-list > .menu-item:first-child {
    border-top: 1px solid var(--color-border);
  }
  .p-footer-main__nav-list > .menu-item:last-child {
    border: none;
  }

  /* 親メニューリンク: 太め・タップしやすい高さ */
  .p-footer-main__nav-list > .menu-item > a {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.2rem 0;
  }

  /* 子メニュー: 左インデントで階層感・親リンク直下に密着させない */
  .p-footer-main__nav-list .sub-menu {
    margin-bottom: 1.2rem;
    margin-left: 0.8rem;
    margin-top: 0.2rem;
  }

  /* 子メニューリンク: 親より少し小さめ・十分なタップ領域 */
  .p-footer-main__nav-list .sub-menu a {
    font-size: 1.35rem;
    font-weight: 400;
    padding: 0.6rem 0;
  }
}

/* ========================================
   パンくずリスト
======================================== */

/* 背景・影をリセット（-bg-on クラスが付いても透明にする） */
#breadcrumb.p-breadcrumb {
  background: transparent;
  box-shadow: none;
}

/* フォントサイズを1.2remに拡大 */
.p-breadcrumb__list {
  font-size: 1.2rem;
}

/* セパレーター（SWELLのchevron polygon）を薄く */
.p-breadcrumb__item::after {
  opacity: 0.3;
}

/* リンク（ホーム・親ページ）*/
a.p-breadcrumb__text {
  color: var(--color-text-light);
  transition: color 0.2s ease;
}

a.p-breadcrumb__text:hover {
  color: var(--color-blue);
}

/* SWELLのhoverはspan.opacity変化のため、色変化に統一して打ち消す */
a.p-breadcrumb__text:hover span,
a.p-breadcrumb__text:hover .__home {
  opacity: 1;
}

/* 現在地（spanタグ・リンクなし） */
span.p-breadcrumb__text {
  color: var(--color-text);
}


/* ============================================================
   MEO対策ページ / サービスページ共通パーツ
============================================================ */

/* ヒーロー内CTAボタン */
.p-service-website__hero-cta {
  margin-top: 3.2rem;
}

/* リード文ブロック */
.p-service-website__lead-text {
  max-width: 76rem;
}
.p-service-website__lead-text p {
  line-height: 1.9;
}
.p-service-website__lead-text p + p {
  margin-top: 1.6rem;
}

/* 関連サービスノートボックス */
.p-service-website__note-box {
  background: #f5f7fa;
  border-left: 4px solid var(--color-blue);
  border-radius: 0 6px 6px 0;
  padding: 2.8rem 3.2rem;
}
.p-service-website__note-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.p-service-website__note-text {
  line-height: 1.85;
  margin-bottom: 2.4rem;
}
@media (max-width: 767px) {
  .p-service-website__note-box {
    padding: 2rem 2rem 2rem 1.6rem;
  }
  .p-service-website__note-title {
    font-size: 1.7rem;
  }
}


/* ============================================================
   スマホ開閉メニュー — フルスクリーン青デザイン
   すべて #sp_menu スコープに限定し PC ナビに影響しない
============================================================ */

/* ── フルスクリーンパネル ── */
#sp_menu .p-spMenu__inner {
  background: #1d4e8f;
  padding-top: 6.4rem;
  width: 100%;
}
#sp_menu .p-spMenu__inner::before {
  background: #1d4e8f;
}
/* 右スライドを 88vw → 100% に変更（閉じた状態） */
#sp_menu.p-spMenu.-right .p-spMenu__inner {
  transform: translateX(100%);
}
#sp_menu.p-spMenu.-left .p-spMenu__inner {
  transform: translateX(-100%);
}
/* 開いた状態: 上記の高詳細度セレクタを上書きして translateX(0) に戻す
   [data-spmenu=opened] を加えることで詳細度 (1,4,0) となり (1,3,0) に勝つ */
[data-spmenu=opened] #sp_menu.p-spMenu.-right .p-spMenu__inner,
[data-spmenu=opened] #sp_menu.p-spMenu.-left .p-spMenu__inner {
  transform: translateX(0);
}

/* ── ヘッダー行: ロゴ + 閉じるボタン ── */
#sp_menu .p-spMenu__closeBtn {
  align-items: center;
  background: #1d4e8f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  height: 6.4rem;
  justify-content: space-between;
  left: 0;
  padding: 0 2rem;
  width: 100%;
}

/* ── ロゴ ── */
#sp_menu .p-spmenu-logo {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  text-decoration: none;
}
#sp_menu .p-spmenu-logo img {
  display: block;
  height: 2.8rem;
  width: auto;
}

/* ── 閉じるボタン（白丸に青アイコン）── */
#sp_menu .p-spmenu-closeBtn {
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  flex-shrink: 0;
  height: 4rem;
  justify-content: center;
  margin-left: auto;
  width: 4rem;
}
#sp_menu .p-spmenu-closeBtn .c-iconBtn__icon {
  color: #ffffff;
  font-size: 1.6rem;
}

/* ── スクロール領域 ── */
#sp_menu .p-spMenu__body {
  padding: 0 2rem 10rem;
}
#sp_menu .p-spMenu__nav {
  margin-top: 0;
}

/* ── メニューリンク共通: 白文字 ── */
#sp_menu .p-spMenu a,
#sp_menu .c-spnav a {
  color: #ffffff;
}

/* ── 親メニュー項目 ── */
#sp_menu .c-spnav > li > a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1.6rem 0;
}
#sp_menu .c-spnav > li:first-child > a {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
#sp_menu .c-spnav > li > a:hover,
#sp_menu .c-spnav > li > a:active {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}

/* ── サブメニュー開閉ボタン ──
   SWELL カスタマイズ「サブメニューをアコーディオン式に開閉」が有効な場合に表示 */
#sp_menu .c-submenuToggleBtn {
  color: #ffffff;
}
#sp_menu .c-submenuToggleBtn::before {
  color: #ffffff;
  content: "+";
  font-family: sans-serif;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 300;
  transition: none;
}
#sp_menu .c-submenuToggleBtn.is-opened::before {
  content: "−";
  transform: none;
}
#sp_menu .c-submenuToggleBtn::after {
  border-color: rgba(255, 255, 255, 0.25);
}

/* ── サブメニュー ── */
#sp_menu .c-listMenu .sub-menu,
#sp_menu .c-listMenu .children {
  border-radius: 6px;
  margin: 0 0 0.6rem;
}
#sp_menu .c-spnav .sub-menu a,
#sp_menu .c-listMenu .sub-menu a,
#sp_menu .c-listMenu .children a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.35rem;
  font-weight: 500;
  padding: 1.1rem 1.2rem 1.1rem 2rem;
}
#sp_menu .c-spnav .sub-menu li:last-child a,
#sp_menu .c-listMenu .sub-menu li:last-child a,
#sp_menu .c-listMenu .children li:last-child a {
  border-bottom: none;
}
#sp_menu .c-spnav .sub-menu a:hover,
#sp_menu .c-listMenu .sub-menu a:hover,
#sp_menu .c-spnav .sub-menu a:active,
#sp_menu .c-listMenu .sub-menu a:active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* ── 下部ウィジェットエリア（使用時のみ）── */
#sp_menu .p-spMenu__bottom {
  margin-top: 1.6rem;
}

/* ウィジェットタイトルを非表示 */
#sp_menu .p-spMenu__bottom .c-widget__title,
#sp_menu .w-spMenuBottom .c-widget__title {
  display: none;
}

/* ── CTA カード ── */
#sp_menu .p-spmenu-cta {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1.2rem;
  margin-top: 2.4rem;
  padding: 2rem 1.6rem;
}
#sp_menu .p-spmenu-cta__title {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
#sp_menu .p-spmenu-cta__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}
#sp_menu .p-spmenu-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

/* 電話: 白枠・白文字 */
#sp_menu .p-spmenu-cta__tel {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: #ffffff;
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1.3rem 1.6rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}
#sp_menu .p-spmenu-cta__tel:hover,
#sp_menu .p-spmenu-cta__tel:active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* お問い合わせ: 白背景・ネイビー文字 */
#sp_menu .p-spmenu-cta__contact {
  background: #ffffff;
  border: 1.5px solid #ffffff;
  border-radius: 999px;
  color: #1d4e8f;
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1.3rem 1.6rem;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}
#sp_menu .p-spmenu-cta__contact:hover,
#sp_menu .p-spmenu-cta__contact:active {
  color: #1d4e8f;
  opacity: 0.88;
}

#sp_menu .p-spmenu-cta__note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  text-align: center;
}


/* ========================================
   Component — Form
======================================== */

/* ----- Wrapper ----- */
.c-form {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
}

/* ----- Row ----- */
.c-form__row {
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}

.c-form__row:first-child {
  border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .c-form__row {
    align-items: flex-start;
    display: flex;
    gap: 2.4rem;
    padding: 2.8rem 0;
  }
}

/* ----- Head ----- */
.c-form__head {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .c-form__head {
    margin-bottom: 0;
    padding-top: 1.1rem;
    width: 22rem;
  }
}

/* ----- Label ----- */
.c-form__label {
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ----- Badge ----- */
.c-form__badge {
  border-radius: 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.7rem;
  white-space: nowrap;
}

.c-form__badge--required {
  background: rgba(183, 28, 28, 0.08);
  color: var(--color-red);
}

.c-form__badge--optional {
  background: rgba(26, 26, 26, 0.06);
  color: var(--color-text-light);
}

/* ----- Body ----- */
.c-form__body {
  flex: 1;
  min-width: 0;
}

.c-form__body .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* ----- Input / Select / Textarea ----- */
.c-form__input,
.c-form__select,
.c-form__textarea {
  -webkit-appearance: none;
  appearance: none;
  background: var(--color-bg);
  border: 1.5px solid rgba(26, 26, 26, 0.2);
  border-radius: 0.8rem;
  color: var(--color-text);
  display: block;
  font-family: var(--font-base);
  font-size: 1.6rem;
  line-height: 1.6;
  outline: none;
  padding: 1.1rem 1.4rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.c-form__input::placeholder,
.c-form__textarea::placeholder {
  color: var(--color-text-light);
  font-size: 1.45rem;
}

.c-form__input:focus,
.c-form__select:focus,
.c-form__textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 0.3rem rgba(41, 128, 185, 0.12);
}

.c-form__input.wpcf7-not-valid,
.c-form__select.wpcf7-not-valid,
.c-form__textarea.wpcf7-not-valid {
  border-color: var(--color-red);
  box-shadow: 0 0 0 0.3rem rgba(183, 28, 28, 0.08);
}

/* Select: dropdown arrow */
.c-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none' viewBox='0 0 12 7'%3E%3Cpath stroke='%231A1A1A' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-position: right 1.4rem center;
  background-repeat: no-repeat;
  background-size: 1.2rem auto;
  cursor: pointer;
  padding-right: 3.6rem;
}

/* Textarea */
.c-form__textarea {
  min-height: 16rem;
  resize: vertical;
}

/* ----- Options (checkbox / radio group) ----- */
.c-form__options .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* c-form__check は CF7 の class: で checkbox/radio コントロールに付与するクラス */
.c-form__check {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.6rem;
}

.c-form__check .wpcf7-list-item {
  margin: 0;
}

.c-form__check .wpcf7-list-item label {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 0.7rem;
  min-height: 4.4rem;
  padding: 0.2rem 0;
}

.c-form__check .wpcf7-list-item input[type="checkbox"],
.c-form__check .wpcf7-list-item input[type="radio"] {
  accent-color: var(--color-blue);
  cursor: pointer;
  flex-shrink: 0;
  height: 1.8rem;
  width: 1.8rem;
}

.c-form__check .wpcf7-list-item-label {
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .c-form__check {
    flex-direction: column;
    gap: 0;
  }
}

/* ----- Validation error tip ----- */
.c-form .wpcf7-not-valid-tip {
  color: var(--color-red);
  display: block;
  font-size: 1.25rem;
  margin-top: 0.6rem;
}

/* ----- Privacy ----- */
.c-form__privacy {
  background: var(--color-bg-gray);
  border-radius: 0.8rem;
  margin-top: 3.2rem;
  padding: 2rem 2.4rem;
}

.c-form__privacy-text {
  color: var(--color-text-light);
  font-size: 1.35rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* ----- Acceptance ----- */
.c-form__acceptance .wpcf7-form-control-wrap {
  display: block;
}

.c-form__acceptance .wpcf7-acceptance label {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  font-size: 1.45rem;
  gap: 0.8rem;
  line-height: 1.7;
}

.c-form__acceptance .wpcf7-acceptance input[type="checkbox"] {
  accent-color: var(--color-blue);
  cursor: pointer;
  flex-shrink: 0;
  height: 1.8rem;
  margin-top: 0.25rem;
  width: 1.8rem;
}

.c-form__acceptance a {
  color: var(--color-blue);
  text-decoration: underline;
}

.c-form__acceptance .wpcf7-not-valid-tip {
  margin-top: 0.8rem;
}

/* ----- Submit ----- */
.c-form__submit {
  margin-top: 4rem;
  text-align: center;
}

.c-form__submit-button {
  -webkit-appearance: none;
  appearance: none;
  background: var(--color-blue);
  border: none;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-base);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-height: 5.6rem;
  min-width: 24rem;
  padding: 1.4rem 4rem;
  transition: box-shadow 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.c-form__submit-button .wpcf7-spinner {
  display: inline-block;
  margin-left: 0.8rem;
  vertical-align: middle;
}

@media (hover: hover) and (pointer: fine) {
  .c-form__submit-button:hover {
    box-shadow: 0 0.6rem 2.4rem rgba(41, 128, 185, 0.3);
    opacity: 0.88;
    transform: translateY(-0.2rem);
  }
}

@media (max-width: 767px) {
  .c-form__submit-button {
    min-width: unset;
    width: 100%;
  }
}

/* ----- CF7 response output ----- */
.c-form .wpcf7-response-output {
  border-radius: 0.8rem;
  font-size: 1.4rem;
  margin-bottom: 0;
  margin-top: 2.4rem;
  padding: 1.4rem 2rem;
}

.c-form .wpcf7-mail-sent-ok {
  background: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: #1a6b3c;
}

.c-form .wpcf7-mail-sent-ng,
.c-form .wpcf7-aborted,
.c-form .wpcf7-spam-blocked,
.c-form .wpcf7-acceptance-missing,
.c-form .wpcf7-validation-errors {
  background: rgba(183, 28, 28, 0.05);
  border: 1px solid rgba(183, 28, 28, 0.2);
  color: var(--color-red);
}


/* ========================================
   Component — Form Confirm Modal
======================================== */

/* スクロールロック */
body.c-form-confirm-open {
  overflow: hidden;
}

/* ----- モーダル全体（非表示時） ----- */
.c-form-confirm {
  align-items: center;
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  padding: 1.6rem;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9900;
}

.c-form-confirm.is-open {
  display: flex;
}

/* ----- オーバーレイ ----- */
.c-form-confirm__overlay {
  animation: cfConfirmFadeIn 0.2s ease forwards;
  background: rgba(0, 0, 0, 0.52);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

/* ----- パネル ----- */
.c-form-confirm__panel {
  animation: cfConfirmSlideIn 0.25s ease forwards;
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 2.4rem 6.4rem rgba(0, 0, 0, 0.18);
  max-height: 88vh;
  max-width: 64rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 3.2rem 2.4rem;
  position: relative;
  width: 100%;
  z-index: 1;
}

@keyframes cfConfirmFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cfConfirmSlideIn {
  from { opacity: 0; transform: translateY(1.6rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----- タイトル ----- */
.c-form-confirm__title {
  color: var(--color-text);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

/* ----- リード文 ----- */
.c-form-confirm__lead {
  color: var(--color-text-light);
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 2.4rem;
}

/* ----- 確認リスト ----- */
.c-form-confirm__list {
  border-top: 1px solid var(--color-border);
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.c-form-confirm__term,
.c-form-confirm__desc {
  border-bottom: 1px solid var(--color-border);
  margin: 0;
  padding: 1.2rem 0.4rem;
}

.c-form-confirm__term {
  color: var(--color-text-light);
  font-size: 1.3rem;
  font-weight: 700;
  padding-top: 1.4rem;
}

.c-form-confirm__desc {
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1.75;
  word-break: break-all;
}

.c-form-confirm__empty {
  color: var(--color-text-light);
  font-size: 1.3rem;
}

@media (min-width: 600px) {
  .c-form-confirm__list {
    grid-template-columns: 16rem 1fr;
  }

  .c-form-confirm__term {
    border-right: 1px solid var(--color-border);
    padding-right: 1.6rem;
  }

  .c-form-confirm__desc {
    padding-left: 1.6rem;
  }
}

/* ----- アクションボタン ----- */
.c-form-confirm__actions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 3.2rem;
}

@media (min-width: 480px) {
  .c-form-confirm__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* 「修正する」 */
.c-form-confirm__back {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-base);
  font-size: 1.5rem;
  font-weight: 700;
  min-height: 5.2rem;
  min-width: 14rem;
  padding: 1.2rem 2.8rem;
  transition: border-color 0.2s ease, color 0.2s ease;
  width: 100%;
}

@media (min-width: 480px) {
  .c-form-confirm__back {
    width: auto;
  }
}

@media (hover: hover) and (pointer: fine) {
  .c-form-confirm__back:hover {
    border-color: var(--color-text);
    color: var(--color-text);
  }
}

/* 「この内容で送信する」 */
.c-form-confirm__submit {
  background: var(--color-blue);
  border: none;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-base);
  font-size: 1.5rem;
  font-weight: 700;
  min-height: 5.2rem;
  min-width: 20rem;
  padding: 1.2rem 2.8rem;
  transition: box-shadow 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  width: 100%;
}

@media (min-width: 480px) {
  .c-form-confirm__submit {
    width: auto;
  }
}

@media (hover: hover) and (pointer: fine) {
  .c-form-confirm__submit:hover:not(:disabled) {
    box-shadow: 0 0.6rem 2.4rem rgba(41, 128, 185, 0.3);
    opacity: 0.88;
    transform: translateY(-0.2rem);
  }
}

.c-form-confirm__submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ----- スマホ向け調整 ----- */
@media (max-width: 479px) {
  .c-form-confirm__panel {
    border-bottom-left-radius: 1.6rem;
    border-bottom-right-radius: 1.6rem;
    border-top-left-radius: 1.6rem;
    border-top-right-radius: 1.6rem;
    max-height: 92vh;
    padding: 2.4rem 1.8rem;
  }

  .c-form-confirm__title {
    font-size: 1.8rem;
  }
}

