/*
 * WEB制作＆運用サービス（/web-service/）LP専用スタイル
 * デザイン準拠元: /online-school/ (os-lp)
 * Sub Top Page テンプレートのみで読み込み
 * 追加日: 2026-06-05
 * 更新日: 2026-06-05
 */

/* =========================================
   全体
   ========================================= */
.ws-lp {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.8;
  letter-spacing: .03em;
  overflow-x: hidden;
  background-color: #f5f5f3;
}
.ws-lp *, .ws-lp *::before, .ws-lp *::after { box-sizing: border-box; }
.ws-lp img { max-width: 100%; height: auto; display: block; }

.ws-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =========================================
   ダミー画像（後で差し替え）
   ========================================= */
.ws-dummy-img {
  width: 100%;
  background: #d5d5d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
  letter-spacing: .05em;
  overflow: hidden;
  position: relative;
}
.ws-dummy-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(0,0,0,.03) 20px, rgba(0,0,0,.03) 40px);
}
.ws-dummy-img span {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.7);
  padding: 4px 12px;
}

/* =========================================
   フェードインアニメーション (js-fade / ws-fade → is-show)
   ※ 旧HTML(ws-fade)と新HTML(js-fade)の両方に対応
   ========================================= */
.ws-lp .js-fade,
.ws-lp .ws-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.ws-lp .js-fade.is-show,
.ws-lp .ws-fade.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   ボタン（os-btn 完全準拠 — スライドアニメーション）
   ========================================= */
.ws-lp .ws-btn {
  width: 100%;
  max-width: 620px;
  min-height: 74px;
  padding: 16px 24px;
  border: 2px solid #111;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease .5s, transform 1s ease .5s, color .4s ease, border-color .3s;
}
.ws-lp .ws-btn.is-show {
  opacity: 1;
  transform: translateY(0);
}
.ws-lp .ws-btn::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #111;
  transform: translateX(-101%);
  transition: transform .5s cubic-bezier(.77, 0, .18, 1);
  z-index: 1;
}
.ws-lp .ws-btn:hover::before {
  transform: translateX(0);
}
.ws-lp .ws-btn span {
  color: #111;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .18em;
  position: relative;
  z-index: 2;
  transition: color .4s ease;
}
.ws-lp .ws-btn:hover span {
  color: #fff;
}

/* ボタン白バリエーション（CTA内） */
.ws-cta .ws-btn {
  border-color: #fff;
}
.ws-cta .ws-btn span {
  color: #fff;
}
.ws-cta .ws-btn::before {
  background: #fff;
}
.ws-cta .ws-btn:hover span {
  color: #359BB8;
}

/* =========================================
   イントロ
   ========================================= */
.ws-intro {
  background: #fff;
  max-width: 100%;
  margin: 0;
  padding: 80px 40px 60px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.ws-intro-heading {
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.ws-intro-text {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 2;
  color: #555;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   POINTセクション（os-section 準拠）
   ========================================= */
.ws-section {
  display: flex;
  gap: 0;
  align-items: stretch;
  max-width: 1060px;
  margin: 0;
  margin-left: 35px;
  padding: 80px 0;
}
.ws-section + .ws-section {
  padding-top: 0;
}
.ws-section-image {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  margin: 0;
  padding: 0;
}
.ws-section-image img,
.ws-section-image .ws-dummy-img {
  width: 100%;
  flex: 1;
  min-height: 320px;
  object-fit: cover;
}
.ws-section-body {
  flex: 1;
  background: #fff;
  padding: 60px 60px 48px 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}

.ws-point-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #359BB8;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 6px 18px;
  margin-bottom: 24px;
}
.ws-section-title {
  font-size: clamp(28px, 2.6vw, 48px);
  font-weight: 800;
  letter-spacing: .10em;
  line-height: 1.25;
  margin-bottom: 40px;
}
/* 見出しの横からスライドイン（os-title 準拠） */
.ws-lp .ws-section-title span {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.ws-lp .ws-section-title span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(0);
  transition: transform 1.2s cubic-bezier(.77, 0, .18, 1);
}
.ws-lp .ws-section-title.is-show span::after {
  transform: translateX(101%);
}
.ws-section-subtitle {
  font-size: clamp(16px, 1.3vw, 22px);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.4;
  margin-bottom: 20px;
}
.ws-section-text {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 2;
  font-weight: 400;
  letter-spacing: .02em;
  margin-bottom: 24px;
  max-width: 720px;
  color: #555;
}

/* 左右反転 */
.ws-section--reverse {
  flex-direction: row-reverse;
  margin-left: auto;
  margin-right: 35px;
}

/* =========================================
   CTA
   ========================================= */
.ws-cta {
  background: #359BB8;
  color: #fff;
  max-width: 100%;
  margin: 0;
  padding: 100px 40px 80px;
  text-align: center;
}
.ws-cta-title {
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}
.ws-cta-text {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 2;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   料金プラン
   ========================================= */
.ws-plans-section {
  padding: 80px 0;
}
.ws-plans-heading {
  text-align: center;
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.ws-plans-sub {
  text-align: center;
  font-size: clamp(15px, 1.15vw, 18px);
  color: #888;
  margin-bottom: 48px;
}
.ws-plans {
  display: flex;
  gap: 0;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: stretch;
}
.ws-plan-card {
  flex: 1;
  background: #fff;
  border: 1px solid #e0e0dd;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.ws-plan-card + .ws-plan-card {
  border-left: none;
}
.ws-plan-card--rec {
  border: 2px solid #359BB8;
  z-index: 1;
}
.ws-plan-ribbon {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: #359BB8;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 0;
  letter-spacing: .1em;
}
.ws-plan-header {
  text-align: center;
  padding: 48px 24px 24px;
}
.ws-plan-card--rec .ws-plan-header {
  padding-top: 60px;
}
.ws-plan-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}
.ws-plan-price {
  font-size: 36px;
  font-weight: 800;
  color: #359BB8;
  letter-spacing: -.02em;
}
.ws-plan-price small {
  font-size: 14px;
  font-weight: 400;
  color: #999;
}
.ws-plan-desc {
  text-align: center;
  font-size: 14px;
  color: #888;
  padding: 0 24px 24px;
  border-bottom: 1px solid #eee;
}
.ws-plan-body {
  padding: 24px;
  flex-grow: 1;
}
.ws-plan-target {
  font-size: 12px;
  font-weight: 800;
  color: #359BB8;
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.ws-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ws-plan-features li {
  font-size: 14px;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid #f5f5f3;
  position: relative;
  color: #555;
}
.ws-plan-features li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: #359BB8;
  font-weight: 700;
}
.ws-plan-footer {
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
  color: #999;
}
.ws-plan-footer strong { color: #555; }
.ws-plan-stripe {
  padding: 0 24px 24px;
  text-align: center;
}

/* =========================================
   サービスブロック（運用保守等）
   ========================================= */
.ws-service-block {
  display: flex;
  gap: 0;
  align-items: stretch;
  max-width: 1060px;
  margin: 0;
  margin-left: 35px;
  padding: 80px 0;
}
.ws-service-block + .ws-service-block { padding-top: 0; }
.ws-service-block--reverse {
  flex-direction: row-reverse;
  margin-left: auto;
  margin-right: 35px;
}
.ws-service-block-image {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  margin: 0;
  padding: 0;
}
.ws-service-block-image img,
.ws-service-block-image .ws-dummy-img {
  width: 100%;
  flex: 1;
  min-height: 320px;
  object-fit: cover;
}
.ws-service-block-body {
  flex: 1;
  padding: 60px 60px 48px 60px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.ws-service-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #359BB8;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.ws-service-title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  margin-bottom: 8px;
}
.ws-service-price {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  color: #359BB8;
  margin-bottom: 20px;
}
.ws-service-price small {
  font-size: 14px;
  font-weight: 400;
  color: #999;
}
.ws-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ws-service-list li {
  font-size: clamp(14px, 1.05vw, 16px);
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid #f0f0ed;
  position: relative;
  color: #555;
}
.ws-service-list li::before {
  content: "\25CF";
  position: absolute;
  left: 0;
  color: #359BB8;
  font-size: 8px;
  top: 13px;
}

/* =========================================
   LMS — 通常パターンブロック（ws-section--reverse を使用）
   ※ 旧 ws-lms-showcase は v5 で廃止
   ========================================= */
/* LMS 価格インライン表示 */
.ws-lms-price-inline {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 800;
  color: #359BB8;
  margin-bottom: 8px;
}
.ws-lms-price-inline small {
  font-size: 14px;
  font-weight: 400;
  color: #999;
  margin-left: 4px;
}

/* =========================================
   オプション料金テーブル（背景画像付き）
   /web/ 最下部 p-cta-section 準拠
   ========================================= */
.ws-table-section {
  position: relative;
  padding: 80px 0;
  background-image: url(images/option-bg.webp);
  background-size: cover;
  background-position: center;
}
.ws-table-section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.85);
}
.ws-table-section .ws-wrap {
  position: relative;
  z-index: 1;
}
.ws-table-heading {
  text-align: center;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 40px;
}
.ws-option-table {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.ws-option-table thead {
  background: #359BB8;
  color: #fff;
}
.ws-option-table th {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  letter-spacing: .05em;
}
.ws-option-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid #f0f0ed;
  color: #555;
}
.ws-option-table tr:last-child td { border-bottom: none; }
.ws-option-table .ws-price-cell {
  font-weight: 700;
  color: #359BB8;
  white-space: nowrap;
}

/* =========================================
   制作の流れ
   ========================================= */
.ws-flow-section {
  padding: 80px 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.ws-flow-heading {
  text-align: center;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 48px;
}
.ws-flow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}
.ws-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid #eee;
}
.ws-flow-step:last-child { border-bottom: none; }
.ws-flow-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #359BB8;
  border: 2px solid #359BB8;
}
.ws-flow-content h4 {
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 800;
  margin-bottom: 8px;
}
.ws-flow-content p {
  font-size: clamp(14px, 1.05vw, 16px);
  color: #777;
  line-height: 1.8;
}

/* =========================================
   プロフィール（os-profile 準拠）
   ========================================= */
.ws-profile-section {
  background: #f5f5f3;
}
.ws-profile {
  display: flex;
  gap: 0;
  align-items: stretch;
  max-width: 1060px;
  margin: 0;
  margin-left: 35px;
  padding: 80px 0;
}
.ws-profile-image {
  flex: 0 0 35%;
  max-width: 35%;
  display: flex;
  margin: 0;
  padding: 0;
}
.ws-profile-image img,
.ws-profile-image .ws-dummy-img {
  width: 100%;
  flex: 1;
  min-height: 360px;
  object-fit: cover;
}
.ws-profile-body {
  flex: 1;
  background: #fff;
  padding: 60px 60px 48px 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.ws-profile-name {
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.ws-profile-role {
  font-size: clamp(15px, 1.1vw, 18px);
  color: #359BB8;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.ws-profile-text {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 2;
  color: #555;
  margin-bottom: 24px;
}
.ws-profile-list {
  font-size: clamp(13px, 1vw, 15px);
  color: #888;
  line-height: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ws-profile-list li::before { content: "\30FB"; }

/* =========================================
   FAQ（現行デザイン維持 — アコーディオン）
   ========================================= */
.ws-faq-section {
  padding: 80px 0;
}
.ws-faq-heading {
  text-align: center;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 48px;
}
.ws-faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
  list-style: none;
}
.ws-faq-item {
  border-bottom: 1px solid #e0e0dd;
}
.ws-faq-q {
  padding: 20px 40px 20px 0;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.ws-faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: #359BB8;
  transition: transform .3s;
}
.ws-faq-item.is-open .ws-faq-q::after {
  content: "\2212";
}
.ws-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  font-size: clamp(13px, 1vw, 15px);
  color: #666;
  line-height: 1.9;
}
.ws-faq-item.is-open .ws-faq-a {
  max-height: 300px;
  padding: 0 0 24px;
}

/* =========================================
   予約・お問合せ
   ========================================= */
.ws-booking-section {
  padding: 80px 40px;
  background: #fff;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.ws-booking-section h2 {
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.ws-booking-section > p {
  font-size: clamp(15px, 1.15vw, 18px);
  color: #888;
  margin-bottom: 32px;
}
.ws-booking-grid {
  display: flex;
  gap: 40px;
  max-width: 1060px;
  margin: 0 auto;
  align-items: flex-start;
}
.ws-booking-cal {
  flex: 1;
  text-align: center;
}
.ws-booking-cal h3 {
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 800;
  margin-bottom: 16px;
  color: #359BB8;
}
.ws-booking-form {
  flex: 1;
  text-align: left;
}
.ws-booking-form h3 {
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 800;
  margin-bottom: 16px;
  color: #333;
}

/* =========================================
   メルマガ・MailPoet 非表示（ページID:5380）
   ========================================= */
.ws-lp ~ .mailpoet_form,
.ws-lp ~ * .mailpoet_form,
body.page-template-sub-top-page .page-id-5380 .vk_mail_magazine,
body.page-template-sub-top-page .page-id-5380 .mailpoet_form_popup_overlay,
.page-id-5380 .site-footer .mailpoet_form,
.page-id-5380 #mailpoet_form_1,
.page-id-5380 .vk_mail_magazine,
.ws-hide-mailmag .vkExUnit_cta,
.ws-hide-mailmag .mailpoet_form,
.ws-hide-mailmag .veu_cta {
  display: none !important;
}

/* =========================================
   RESPONSIVE — 960px
   ========================================= */
@media screen and (max-width: 960px) {
  .ws-intro { padding: 48px 24px 40px; }

  .ws-section,
  .ws-section--reverse {
    flex-direction: column;
    gap: 0;
    padding: 40px 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
  }
  .ws-section + .ws-section { padding-top: 0; }
  .ws-section-image { flex: none; max-width: 100%; width: 100%; }
  .ws-section-image img,
  .ws-section-image .ws-dummy-img { min-height: 280px; height: 320px; }
  .ws-section-body { width: 92%; margin-left: auto; padding: 40px 28px; }
  .ws-section-title { font-size: 7.0vw; margin-bottom: 30px; }
  .ws-section-subtitle { font-size: 5.5vw; }
  .ws-section-text { font-size: 3.8vw; margin-bottom: 20px; }

  .ws-plans { flex-direction: column; padding: 0 20px; gap: 16px; }
  .ws-plan-card + .ws-plan-card { border-left: 1px solid #e0e0dd; }
  .ws-plan-card--rec { margin: 0; }

  .ws-service-block,
  .ws-service-block--reverse {
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
    padding: 40px 0;
  }
  .ws-service-block + .ws-service-block { padding-top: 0; }
  .ws-service-block-image { flex: none; max-width: 100%; width: 100%; }
  .ws-service-block-image img,
  .ws-service-block-image .ws-dummy-img { min-height: 280px; height: 320px; }
  .ws-service-block-body { width: 92%; margin-left: auto; padding: 40px 28px; }

  .ws-cta { padding: 48px 24px; }
  .ws-cta-text { font-size: 3.8vw; }

  .ws-flow-step { gap: 20px; }

  .ws-profile {
    flex-direction: column;
    margin-left: 0;
    padding: 48px 0;
  }
  .ws-profile-image { flex: none; max-width: 100%; width: 100%; }
  .ws-profile-image img,
  .ws-profile-image .ws-dummy-img { height: 320px; min-height: 280px; }
  .ws-profile-body { width: 92%; margin-left: auto; padding: 40px 28px; }

  .ws-booking-grid { flex-direction: column; }
  .ws-booking-section { padding: 48px 24px; }

  .ws-option-table th, .ws-option-table td { padding: 10px 12px; font-size: 12px; }
  .ws-faq-list { padding: 0 20px; }
  .ws-lp .ws-btn { max-width: 100%; min-height: 64px; }
  .ws-lp .ws-btn span { font-size: 15px; }
}

/* =========================================
   RESPONSIVE — 600px
   ========================================= */
@media screen and (max-width: 600px) {
  .ws-intro { padding: 32px 20px 24px; }
  .ws-intro-text { font-size: 15px; }
  .ws-section-body,
  .ws-service-block-body,
  .ws-profile-body { width: 96%; padding: 32px 20px; }
  .ws-cta { padding: 40px 20px; }
  .ws-flow { padding: 0 20px; }
  .ws-flow-num { width: 44px; height: 44px; font-size: 18px; }
}
