html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  background: #f5f7fb;
  color: #111827;
}

* {
  box-sizing: border-box;
}

body.terms-modal-open {
  overflow: hidden;
}

.linxy-application {
  width: 100%;
}

/* =========================
   Pricing
========================= */

.pricing{
width:100%;
padding:120px 20px 90px;
background:linear-gradient(135deg,#61c6a9 0%,#2da4c8 40%,#1c82c9 100%);
}

.pricing-inner{
max-width:1200px;
margin:0 auto;
text-align:center;
}

.pricing-title{
font-size:55px;
line-height:1.1;
font-weight:720;
color:#fff;
margin:0 0 70px;
}


/* =========================
Grid
========================= */

.pricing-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:32px;
max-width:1100px;
margin:0 auto;
}


/* =========================
Card
========================= */

.plan-card{
background:#ffffff;
padding:36px 28px;
border-radius:28px;
text-align:center;

height:560px;

display:flex;
flex-direction:column;
justify-content:flex-start;

max-width:260px;
margin:0 auto;

position:relative;

box-shadow:0 18px 40px rgba(0,0,0,0.08);
transition:all .25s ease;
}

.plan-card:hover{
transform:translateY(-8px);
box-shadow:0 30px 60px rgba(0,0,0,0.12);
}

/* =========================
Texts
========================= */

.plan-name{
font-size:26px;
line-height:1.2;
font-weight:800;
margin-bottom:14px;
color:#111;
}

.plan-price{
font-size:38px;
font-weight:800;
margin:10px 0;
}

.plan-sub{
font-size:22px;
line-height:1.2;
font-weight:800;
margin-bottom:22px;
color:#111;
}


/* =========================
Badge
========================= */

.plan-badge{
display:inline-block;
background:#5da8c8;
color:#fff;
padding:10px 22px;
border-radius:999px;
font-size:16px;
line-height:1.3;
font-weight:600;
margin-bottom:24px;
white-space:nowrap;
}


/* =========================
Description
========================= */

.plan-description{
font-size:14px;
line-height:1.6;
margin:10px 0 18px;
color:#444;
text-align:left;
font-weight:600;
}


/* =========================
Features
========================= */

.plan-features{
list-style:none;
padding:0;
margin-top:14px;
text-align:left;
}

.plan-features li{
position:relative;
margin-bottom:12px;
padding-left:26px;
font-size:16px;
line-height:1.4;
font-weight:700;
color:#4b5563;
}

.plan-features li::before{
content:"✔";
position:absolute;
left:0;
top:0;
color:#4ade80;
font-weight:900;
}


/* =========================
Note
========================= */

.plan-note{
font-size:13px;
line-height:1.5;
color:#666;
margin-top:auto;
padding-top:12px;
text-align:left;
font-weight:700;
}

.entry-plan .plan-note{
position:relative;
top:-10px;
}

.entry-plan .plan-features{
margin-top:-4px;
}


/* =========================
Popular card reset
========================= */

.popular{
border:none;
outline:none;
box-shadow:none;
transform:none;
}

.popular::before{
display:none;
}

.popular-label{
display:none;
}
/* =========================
Note bottom
========================= */

.pricing-note{
color:#fff;
margin:42px 0 0;
font-size:18px;
line-height:1.5;
font-weight:600;
text-align:center;
}


/* =========================
Responsive
========================= */

@media (max-width:900px){

.pricing-title{
font-size:46px;
}

.pricing-grid{
grid-template-columns:1fr;
}

.plan-card{
height:auto;
max-width:420px;
}

}

/* =========================
   Form
========================= */

.application-form-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 70px 20px 100px;
}

.application-form-title {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  margin: 0 0 40px;
  color: #233f9a;
}

.linxy-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 38px 32px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.form-section-title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  margin: 38px 0 14px;
  color: #111827;
}

.form-section-title:first-child {
  margin-top: 0;
}

.linxy-form input[type="text"],
.linxy-form input[type="email"],
.linxy-form input[type="tel"],
.linxy-form input[type="number"],
.linxy-form select {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  font-size: 16px;
  margin-bottom: 14px;
  background: #fff;
  color: #111827;
}

.option-item {
  margin-bottom: 16px;
}

.option-label {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}

.option-disabled {
  opacity: 0.45;
}

.option-note {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

#price-box{
background:#f8fbff;
border:1px solid #dbeafe;
border-radius:18px;
padding:24px 22px;

box-shadow:0 6px 20px rgba(0,0,0,0.05);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 10px;
}

.price-row:last-child {
  margin-bottom: 0;
}

.price-total {
  font-size: 22px;
  font-weight: 900;
  color: #233f9a;
}

.submit-button {
  width: 100%;
  padding: 18px 20px;
  border: none;
  border-radius: 999px;
  background: #233f9a;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-top: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-button:hover {
  background: #1a327c;
  transform: translateY(-1px);
}

.submit-button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

/* =========================
   Terms Agree
========================= */

.terms-agree {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.terms-agree-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
  color: #111827;
}

.terms-agree-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.terms-open-button {
  border: none;
  background: #eef2ff;
  color: #233f9a;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}

.terms-open-button:hover {
  background: #dfe7ff;
}

/* =========================
   Terms Modal
========================= */

.linxy-terms-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.linxy-terms-content {
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  background: #ffffff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.linxy-terms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.linxy-terms-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
}

.linxy-terms-close {
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: #111827;
}

.linxy-terms-body {
  padding: 28px 34px;
  overflow-y: auto;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
  color: #000 !important;
  background: #fff !important;
}

.linxy-terms-body,
.linxy-terms-body * {
  color: #000 !important;
}

.linxy-terms-body h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 18px;
}

.linxy-terms-body h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 30px 0 12px;
}

.linxy-terms-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
}

.linxy-terms-body p {
  font-size: 16px;
  line-height: 1.9;
  margin: 12px 0;
  font-weight: 500;
}

.linxy-terms-body ul,
.linxy-terms-body ol {
  padding-left: 24px;
  margin: 12px 0 18px;
}

.linxy-terms-body li {
  margin-bottom: 8px;
  line-height: 1.8;
  font-size: 16px;
  font-weight: 500;
}

.linxy-terms-body ol li::marker {
  font-weight: 700;
  color: #111 !important;
}

.linxy-terms-body hr {
  border: none;
  border-top: 1px solid #e5e7eb !important;
  margin: 28px 0;
}

.linxy-terms-body strong {
  font-weight: 800;
}

@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-card {
    min-height: auto;
  }

  .pricing-title {
    font-size: 58px;
  }
}

@media (max-width: 767px) {
  .pricing {
    padding: 80px 16px 70px;
  }

  .pricing-title {
    font-size: 42px;
    margin-bottom: 36px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .popular {
    transform: none;
  }

  .plan-card {
    padding: 34px 24px 28px;
    border-radius: 26px;
  }

  .plan-name {
    font-size: 24px;
  }

  .plan-price {
    font-size: 52px;
  }

  .plan-sub {
    font-size: 22px;
  }

  .pricing-note {
    font-size: 16px;
    margin-top: 28px;
  }

  .application-form-wrap {
    padding: 50px 16px 80px;
  }

  .application-form-title {
    font-size: 30px;
  }

  .linxy-form {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .form-section-title {
    font-size: 20px;
  }

  .price-row {
    font-size: 15px;
  }

  .price-total {
    font-size: 20px;
  }

  .linxy-terms-content {
    max-height: 90vh;
    border-radius: 16px;
  }

  .linxy-terms-body {
    padding: 20px;
    font-size: 15px;
  }
}

/* =========================
   Application Thanks
========================= */

.application-thanks{
  max-width:700px;
  margin:120px auto;
  padding:40px 30px;
  background:#ffffff;
  border-radius:20px;
  box-shadow:0 20px 40px rgba(0,0,0,0.08);
  text-align:center;
}

.application-thanks h1{
  font-size:34px;
  font-weight:800;
  color:#233f9a;
  margin-bottom:24px;
}

.application-thanks p{
  font-size:16px;
  line-height:1.8;
  margin-bottom:14px;
}

.application-thanks a{
  color:#233f9a;
  font-weight:700;
}

/* =========================
Linxy Footer
========================= */

.linxy-footer{
border-top:1px solid #e5e7eb;
padding:40px 20px;
background:#fff;
}

.linxy-footer-inner{
max-width:1000px;
margin:0 auto;
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:20px;
}

.linxy-footer-copy{
font-size:14px;
color:#6b7280;
}

.linxy-footer-links{
display:flex;
gap:24px;
}

.linxy-footer-links a{
font-size:14px;
color:#233f9a;
text-decoration:none;
font-weight:600;
}

.linxy-footer-links a:hover{
text-decoration:underline;
}

.linxy-form-layout{
display:grid;
grid-template-columns:1fr 360px;
gap:48px;
align-items:start;
}

/* 右カラム（追従コンテナ） */
.price-box-side{
position:sticky;
top:120px;
height:fit-content;
}

/* 契約金額カード */
#price-box{
background:#fff;
border:1px solid #dbeafe;
border-radius:20px;
padding:24px 24px;

box-shadow:0 8px 24px rgba(0,0,0,0.06);
}

/* タイトル */
#price-box .form-section-title{
font-size:20px;
margin-bottom:16px;
}

/* 行 */
#price-box .price-row{
display:flex;
justify-content:space-between;
align-items:center;
font-size:16px;
margin-bottom:12px;
}

/* 区切り線 */
#price-box hr{
border:none;
border-top:1px solid #e5e7eb;
margin:14px 0;
}

/* 合計 */
#price-box .price-total{
display:flex;
justify-content:space-between;
align-items:center;

font-size:20px;
font-weight:800;
color:#233f9a;
}

#price-box .price-total strong:last-child{
font-size:24px;
}

/* SP */
@media (max-width:900px){

.linxy-form-layout{
grid-template-columns:1fr;
}

.price-box-side{
position:static;
margin-top:32px;
}

}

/* スマホ版修正3/9 */

@media (max-width:768px){

.pricing-grid{
display:flex;
flex-direction:column;
align-items:center;
gap:28px;
}

/* すべてのカード幅統一 */
.plan-card{
width:70%;
max-width:420px;

display:flex;
flex-direction:column;
align-items:center;
text-align:center;
min-height:420px;
}

/* Growthのwrapは幅制限しない */
.plan-card-wrap{
width:100%;
display:flex;
justify-content:center;
}

/* 価格サイズ調整 */
.plan-price{
font-size:42px;
line-height:1.1;
letter-spacing:-1px;
}

/* feature中央配置（スマホのみ） */
.plan-features{
margin-top:auto;
display:flex;
flex-direction:column;
align-items:flex-start;
padding-left:30px;
}

/* アイコンとテキスト揃える */
.plan-features li{
display:flex;
align-items:center;
gap:12px;
}

/* チェックアイコン幅固定 */
.plan-features li::before{
width:24px;
text-align:center;
}

}

.plan-card{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
min-height:420px;
}

.pricing-note{
color:#fff;
margin:42px 0 0;
font-size:14px;
line-height:1.6;
font-weight:600;
text-align:center;
}

#meeting-block input,
#shooting-block input{
height:56px;
border-radius:12px;
border:1px solid #e5e7eb;
padding:0 16px;
font-size:16px;
background:#fff;
}