/* ============================================================
   style-merged.css
   style.css と style-seo.css を統合したスタイルシート
   ============================================================ */

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --clr-text:        #434B50;   /* main dark text */
  --clr-white:       #ffffff;
  --clr-bg-light:    #F5F7F7;   /* hero bg card */
  --clr-sidebar:     #1B2021;   /* dark sidebar */
  --clr-footer:      #4D4D4D;
  --clr-accent-a:    #269E92;   /* gradient start (teal) */
  --clr-accent-b:    #14849D;   /* gradient end (dark teal) */
  --clr-accent-c: #9ee01e;
  --clr-label:       #269E93;   /* section bar label */
  --clr-question:    #159885;   /* Q text */
  --clr-std-a:       #255C65;   /* STANDARD plan gradient start */
  --clr-std-b:       #283E30;   /* STANDARD plan gradient end */
  --clr-std-c: #237f8e;
  --clr-std-d: #4d8260;
  --clr-gray-border: #999999;

  --sp-1: 8.5px;
  --sp-2: 17px;
  --sp-3: 34px;
  --sp-4: 51px;
  --sp-5: 102px;

  --sidebar-w:    68px;
  --sidebar-w-sp: 34px;

  --font-sans:    'IBM Plex Sans JP', 'Noto Sans JP', sans-serif;
  --font-display: 'Noto Sans JP', 'IBM Plex Sans JP', sans-serif;

  --header-h: 51px;
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--clr-text);
  background: var(--clr-white);
  font-size: 17px;
  line-height: 2;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }

.sp{display:none;}

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

/* Gradient button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-2) var(--sp-3);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  position:relative;
}
.btn:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--clr-accent-a), var(--clr-accent-b));
  opacity: 1;
  transition: opacity 0.3s;
  z-index: -1;
 }
.btn:hover::before {
    opacity: 0;
}

.btn:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--clr-accent-b), var(--clr-accent-c));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -2;
 }
 .btn:hover::after {
  opacity: 1;

}

.btn--gradient {
  transition:0.3s;
  color: var(--clr-white);
  z-index: 1;
}
.btn--gradient:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--clr-accent-a), var(--clr-accent-b));
  opacity: 1;
  transition: opacity 0.3s;
  z-index: -1;
 }
.btn--gradient:hover::before {
    opacity: 0;
}

.btn--gradient:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--clr-accent-b), var(--clr-accent-c));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -2;
}
.btn--gradient:hover::after {
  opacity: 1;

}


.btn--outline {
  background: var(--clr-white);
  color: #000;
  border: 1px solid var(--clr-gray-border);
}

/* Section label bar */
.section-bar {
  width: 100%;
  height: 60px;
  background: var(--clr-white);
  display: flex;
  align-items: center;
  padding-left: var(--sp-4);
}
.section-bar__label {
  font-weight: 600;
  font-size: 17px;
  color: var(--clr-label);
}
/* REASON label bar */
.reason-bar {
  width: 100%;
  padding:3rem ;
  height: auto;
  background: var(--clr-white);
  display: flex;
  align-items: center;
  padding-left: var(--sp-4);
  border-bottom: 1px solid #e0e0e0;
}
.reason-bar p{
  max-width:30em;
  margin:0 auto;
  text-align:center;
  font-size:21px;
  letter-spacing: 0.05em;
}


/* Sidebar rotated label */
.section-block__sidebar {
  flex-shrink: 0;
  width: var(--sidebar-w);
  background: var(--clr-sidebar);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.section-block__label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 34px;
  color: var(--clr-white);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  letter-spacing: 0.05em;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-white);
  height: var(--header-h);
  border-bottom: 1px solid #e0e0e0;
}
.header__inner {
  height: 100%;
  /*max-width: 1440px;*/
  margin: 0 auto;
  padding: 0 0 0 var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.header__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;    /* style-seo.css で 13px に上書き */
  line-height: 1.5;
  color: #000;
  flex-shrink: 0;
}

/* SEO用: ロゴテキストを小さく調整 */
.header__logo--seo {
  font-size: 13px;
  letter-spacing: 0.02em;
  max-width: 220px;
  line-height: 1.4;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
  justify-content: center;
  font-size: 15px;
  font-weight: 400;
}
.header__nav a:hover { text-decoration: underline; }
.header__nav-sep { color: var(--clr-text); }
.header__cta {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}
.header__cta .btn{
  font-size:15px;
  padding:var(--sp-1) var(--sp-2);
}
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-1);
  margin-left: auto;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  transition: transform 0.3s, opacity 0.3s;
}
.header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Drawer (Mobile Nav)
   ============================================================ */
.drawer {
  position: fixed;
  top: var(--header-h);
  right: -100%;
  width: 280px;
  height: calc(100vh - var(--header-h));
  background: var(--clr-white);
  z-index: 99;
  transition: right 0.35s ease;
  overflow-y: auto;
  box-shadow: -4px 0 16px rgba(0,0,0,0.1);
}
.drawer.is-open { right: 0; }
.drawer__inner {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.drawer__nav a {
  font-size: 17px;
  font-weight: 400;
  border-bottom: 1px solid #eee;
  padding-bottom: var(--sp-2);
}
.drawer__cta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.drawer__cta .btn { width: 100%; }
.drawer__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 98;
}
.drawer__overlay.is-open { display: block; }

/* ============================================================
   Hero (MV)
   ============================================================ */
.mv {
  position: relative;
  min-height: 470px;
  overflow: hidden;
}
.mv__bg {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  right: var(--sp-2);
  bottom: 0;
  background: var(--clr-bg-light);
  z-index: 0;
}
.mv__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  min-height: 470px;
  max-width: 1440px;
  margin: 0 auto;
}
.mv__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4) 0 var(--sp-4) var(--sp-5);
}
.mv__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size:42px;
  line-height: 1.5;
  color: var(--clr-text);
}

/* Hero: タグライン（副見出し）*/
.mv__tagline {
  margin-top: var(--sp-2);
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-accent-a);
  line-height: 1.7;
}

.mv__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-4);
  gap: var(--sp-3);
}
.mv__body {
  font-weight: 600;
  font-size: 17px;
  line-height: 2;
  color: var(--clr-text);
}
.mv__cta {
  display: flex;
  /*gap: var(--sp-2);*/
  gap:0;
}

/* ============================================================
   Info Bar
   ============================================================ */
.info-bar {
  height: 60px;
  background: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.info-bar p {
  font-weight: 600;
  font-size: 17px;
  color: var(--clr-text);
}
.info-bar p span { font-size: 1.75em; }

/* ============================================================
   Section Block (DESIGN / SUPPORT / FLOW)
   ============================================================ */
.section-block {
  display: flex;
  min-height: 362px;
  background: var(--clr-white);
  border-bottom: 1px solid #e0e0e0;
}
.section-block__body {
  flex: 1;
  display: flex;
  overflow: hidden;
}
.section-block__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
}
.section-block__content--fade-right {
  background: linear-gradient(to right, var(--clr-white) 60%, transparent 100%);
}
.section-block__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.6;
  color: var(--clr-text);
}

/* Section block: 補足テキスト */
.section-block__sub {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--clr-text);
  margin-top: calc(var(--sp-2) * -0.5);
}

.section-block__image {
  flex: 1;
  overflow: hidden;
  display: flex;
    justify-content: center;
    align-items: center;
    padding:4rem;
}
.section-block__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.section-block__text {
  flex: 1;
  display: flex;
  align-items: center;
  padding: var(--sp-4);
  font-size: 17px;
  font-weight: 400;
  line-height: 2;
  color: var(--clr-text);
}

/* ============================================================
   対応する士業セクション
   ============================================================ */
.professions {
  background: linear-gradient(90deg, var(--clr-std-c), var(--clr-std-d));
  padding: var(--sp-4) var(--sp-3);
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
.professions__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
}
.professions__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.7;
  color: var(--clr-white);
}
.professions__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-2);
  list-style: none;
  justify-content: center;
  padding: 0;
}
.professions__list li {
  background: var(--clr-white);
  border: 1px solid var(--clr-accent-a);
  color: var(--clr-accent-a);
  font-weight: 600;
  font-size: 15px;
  padding: var(--sp-1) var(--sp-2);
}
.professions__note {
  font-size: 15px;
  color: var(--clr-white);
  line-height: 1.8;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  width: 100%;
  display: flex;
  padding:  var(--sp-4);
  background: #e6e6e6;
  justify-content: center;
  border-bottom: 1px solid #b9b9b9;
}

.pricing__row {
  /*display: flex;*/
  flex:1;
  align-items: stretch;
  min-height: 243px;
  max-width:25rem;
  border: 1px solid #b0b0b0;
}

/* Column proportions match Figma: 462 : 480 : 498 / 1440 */
.pricing__name     { flex: 0 0 32.1%; display: flex; align-items: center; padding: var(--sp-3) var(--sp-4); }
.pricing__price    { flex: 0 0 33.3%; display: flex; align-items: center; padding: var(--sp-3) var(--sp-3); }
.pricing__features { flex: 1; display: flex; align-items: center; padding: var(--sp-3) var(--sp-3); }

.pricing__plan {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.4;
  color: var(--clr-text);
}
.pricing__row:nth-of-type(1) .pricing__plan,.pricing__row:nth-of-type(3) .pricing__plan{
  margin-top:42.5px;
}
.pricing__price p {
  font-weight: 600;
  font-size: 34px;
  line-height: 1.6;
  color: var(--clr-text);
}
.pricing__features p {
  font-size: 17px;
  font-weight: 400;
  line-height: 2;
  color: var(--clr-text);
}
.pricing__plan-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.pricing__badge {
  display: inline-block;
  background: var(--clr-sidebar);
  color: var(--clr-white);
  font-weight: 600;
  font-size: 17px;
  padding: 0 var(--sp-2);
  line-height: 34px;
  align-self: flex-start;
}

/* LIGHT: white background */
.pricing__row--light {
  background: var(--clr-white);
}

/* STANDARD: dark gradient background */
.pricing__row--standard {
  background: linear-gradient(90deg, var(--clr-std-a), var(--clr-std-b));
}
.pricing__row--standard .pricing__plan,
.pricing__row--standard .pricing__price p,
.pricing__row--standard .pricing__features p {
  color: var(--clr-white);
}

/* PRO: white background */
.pricing__row--pro {
  background: var(--clr-white);
}
.pricing__row--pro .pricing__plan {
  color: #666;
}

/* ============================================================
   CTA
   ============================================================ */
.cta{
  width:100%;
  padding: var(--sp-4);
  border-bottom: 1px solid #b9b9b9;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  min-height: 470px;
  max-width: 1440px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--clr-std-c), var(--clr-std-d));
}
.cta__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4) 0 var(--sp-4) var(--sp-5);
}
.cta__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size:42px;
  line-height: 1.5;
  color: var(--clr-white);
}

.cta__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-4);
  gap: var(--sp-3);
}
.cta__body {
  font-weight: 600;
  font-size: 17px;
  line-height: 2;
  color: var(--clr-white);
}
.cta__cta {
  display: flex;
  /*gap: var(--sp-2);*/
  gap:0;
}

.cta__cta .btn--gradient:before{
  background: linear-gradient(90deg, #1f483f, #012e50);
}
.cta__cta .btn--gradient:after{
  background: linear-gradient(90deg, #012e50, #4c611e);
}



/* ============================================================
   Issues & Solutions
   ============================================================ */
.issues {
  display: flex;
  background: var(--clr-white);
  padding: 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
.issues__header {
  flex: 0 0 32.1%;
  display: flex;
  align-items: center;
  padding: var(--sp-4) var(--sp-4);
  border-right:1px solid #e0e0e0;
}
.issues__header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 31px;
  line-height: 1.7;
  color: var(--clr-text);
}
.issues__list {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.issues__item {
  display: flex;
  min-height: 165px;
  border-bottom: 1px solid #e0e0e0; 
}
.issues__item:last-child { border-bottom: none; }
.issues__question {
  flex: 0 0 47%;
  display: flex;
  align-items: center;
  padding: var(--sp-4);
  border-right: 1px solid #e0e0e0;
}
.issues__question p {
  font-weight: 600;
  font-size: 24px;
  line-height: 2;
  color: var(--clr-question);
}
.issues__answer {
  flex: 1;
  display: flex;
  align-items: center;
  padding: var(--sp-4);
}
.issues__answer p {
  font-weight: 400;
  font-size: 17px;
  line-height: 2;
  color: var(--clr-text);
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact {
  background: var(--clr-white);
  padding: var(--sp-4) var(--sp-3);
}

/* Contact: リード文 */
.contact__lead {
  max-width: 807px;
  margin: 0 auto var(--sp-3);
  font-size: 16px;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.8;
  text-align: center;
}

.contact__form {
  max-width: 807px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.contact__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.contact__label {
  font-weight: 600;
  font-size: 17px;
  color: var(--clr-text);
}
.contact__input,
.contact__textarea {
  width: 100%;
  padding: 0 var(--sp-2);
  height: 60px;
  border: 1px solid #ccc;
  background: var(--clr-white);
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--clr-text);
  outline: none;
  transition: border-color 0.2s;
}
.contact__input:focus,
.contact__textarea:focus { border-color: var(--clr-accent-a); }
.contact__textarea {
  height: auto;
  padding: var(--sp-2);
  resize: vertical;
}
.contact__privacy-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.contact__policy summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--clr-accent-a);
  list-style: none;
  padding-bottom: var(--sp-1);
  border-bottom: 1px solid #e0e0e0;
}
.contact__policy summary::-webkit-details-marker { display: none; }
.contact__policy-body {
  background: #f9f9f9;
  padding: var(--sp-2);
  margin-top: var(--sp-1);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  max-height: 300px;
  overflow-y: auto;
}
.contact__agree {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: var(--clr-text);
}
.contact__agree input[type="checkbox"] {
  width: 29px;
  height: 30px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--clr-accent-a);
}
.contact__submit {
  display: flex;
  justify-content: center;
  padding-top: var(--sp-2);
}
.contact__submit .btn {
  min-width: 235px;
  height: 66px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--clr-footer);
  color: var(--clr-white);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}
.footer__company {
  font-weight: 600;
  font-size: 17px;
}
.footer__offices {
  display: flex;
  gap: var(--sp-5);
  justify-content: center;
  flex-wrap: wrap;
}
.footer__office p {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.8;
  text-align: left;
}

/* Footer: タグライン・コピーライト */
.footer__tagline {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}
.footer__copy {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: var(--sp-1);
}

/* ============================================================
   Mobile Floating CTA
   ============================================================ */
.float-cta {
  display: none; /* hidden on desktop */
}

/* ============================================================
   Responsive – Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .mv__headline { font-size: 38px; }
  .section-block__title { font-size: 26px; }
  .pricing__plan  { font-size: 26px; }
  .pricing__price p { font-size: 24px; }
  .issues__header h2 { font-size: 22px; }
  .footer__offices { gap: var(--sp-3); }
}

/* ============================================================
   Responsive – Header break (≤ 940px)
   ============================================================ */
@media (max-width: 940px) {
  .header__nav,
  .header__cta { display: none; }
  .header__hamburger { display: flex; }
  .header__inner { justify-content: space-between; }
}

/* ============================================================
   Responsive – Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Float CTA */
  .float-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 136px;
    right: 0;
    transform: translateY(-50%) translateX(100%); /* starts off-screen right */
    z-index: 90;
    width: 44px;
    padding: var(--sp-2) 0;
    background: linear-gradient(180deg, var(--clr-accent-a), var(--clr-accent-b));
    color: var(--clr-white);
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  }

  .float-cta span {
    writing-mode: vertical-rl;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
  }

  /* Revealed state: slides in from right */
  .float-cta.is-visible {
    transform: translateY(-50%) translateX(0);
  }

  /* Header logo (SEO) */
  .header__logo--seo {
    font-size: 11px;
    max-width: 160px;
  }

  /* Hero */
  .sp{display:block;}
  .mv {
    min-height: unset;
    padding: var(--sp-2)  var(--sp-2) 0  var(--sp-2);
  }
  .mv__bg {
    top: var(--sp-2);
    left: var(--sp-2);
    right: var(--sp-2);
    bottom: var(--sp-2);
  }
  .mv__inner {
    flex-direction: column;
    min-height: unset;
    padding: var(--sp-2);
  }
  .mv__left {
    padding: var(--sp-2);
    justify-content: flex-start;
  }
  .mv__headline { font-size: 30px; }
  .mv__right {
    padding: var(--sp-2);
    gap: var(--sp-2);
  }
  .mv__body { font-size: 16px; }
  .mv__cta { flex-direction: column; gap: var(--sp-1); }
  .mv__cta .btn { width: 100%; }
  .br-pc { display: none; }

  /* Hero: タグライン */
  .mv__tagline { font-size: 14px; }

  /* Info bar */
  .info-bar {
    height: auto;
    padding: 0 var(--sp-2) var(--sp-2);
    text-align: center;
  }
  .info-bar p { font-size: 15px; line-height: 1.8; }

  /* Section sidebar */
  .section-block__sidebar { width: var(--sidebar-w-sp); }
  .section-block__label { font-size: 21px; }

  /* Section block – stack vertically */
  .section-block { flex-direction: row; min-height: unset; }
  .section-block__body { flex-direction: column; }
  .section-block__content { padding: var(--sp-4) var(--sp-2); }
  .section-block__content--fade-right { background: none; }
  .section-block__title { font-size: 24px; }
  .section-block__image {
    width: 100%;
    height: 200px;
    padding:var(--sp-2);
  }
  .section-block__image img { object-fit: cover; }
  .section-block__text { padding: var(--sp-2); font-size: 15px; }
  .section-block__sub { font-size: 14px; }

  /* 対応する士業セクション */
  .professions { padding: var(--sp-3) var(--sp-2); }
  .professions__heading { font-size: 18px; }
  .professions__list li { font-size: 14px; }
  .professions__note { font-size: 14px; }

  /* Pricing */
  .pricing{
    display: block;
    padding:var(--sp-2);
  }
  .pricing__row { 
    flex-direction: column;
    min-height: unset;
    padding: var(--sp-2) var(--sp-2);
  }

  .pricing__row:nth-of-type(1) .pricing__plan,.pricing__row:nth-of-type(3) .pricing__plan{
  margin-top:0;
}

  .pricing__name,
  .pricing__price,
  .pricing__features {
    flex: unset;
    padding: var(--sp-1) var(--sp-2);
  }
  .pricing__plan  { font-size: 34px; }
  .pricing__price p { font-size: 34px; font-weight: 600; line-height: 1.8; }
  .pricing__features p { font-size: 16px; }

  .cta {
    min-height: unset;
    padding: var(--sp-2);
  }
  .cta__inner {
    flex-direction: column;
    min-height: unset;
    padding: var(--sp-2);
  }
  .cta__left {
    padding: var(--sp-2);
    justify-content: flex-start;
  }
  .cta__headline { font-size: 30px; }
  .cta__right {
    padding: var(--sp-2);
    gap: var(--sp-2);
  }
  .cta__body { font-size: 16px; }
  .cta__cta { flex-direction: column; gap: var(--sp-1); }
  .cta__cta .btn { width: 100%; }


  /* Issues */
  .issues { flex-direction: column; }
  .issues__header {
    flex: unset;
    padding: var(--sp-3) var(--sp-2);
  }
  .issues__header h2 { font-size: 24px; }
  .issues__item {
    flex-direction: column;
    min-height: unset;
    border-top: 1px solid #e0e0e0;
  }
  .issues__question {
    flex: unset;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: var(--sp-3) var(--sp-2);
  }
  .issues__answer { padding: var(--sp-3) var(--sp-2); }

  /* Contact form */
  .contact { padding: var(--sp-2); }
  .contact__input { font-size: 16px; }
  .contact__textarea { font-size: 16px; }
  .contact__lead { font-size: 15px; text-align: left; }

  /* Section bar */
  .section-bar { padding-left: var(--sp-4); }

  /* Footer */
  .footer { padding: var(--sp-3) var(--sp-2); }
  .footer__offices { flex-direction: column; align-items: center; gap: var(--sp-2); }
  .footer__office p { text-align: center; }
}

/*--------------------
CONTACT FORM
--------------------*/
.wpcf7 {
  text-align:center;
}
.wpcf7 ul{
  width:100%;
  max-width:800px;
  margin:0 auto;
}
.wpcf7 ul li {
  margin-bottom:1rem;
}
.wpcf7 ul li:last-child{
  margin-bottom:0;
}

.wpcf7 ul li span{
  display:block;
  margin-bottom:0.5rem;
  text-align:left;
}
.wpcf7 ul li input{
  padding: 0.5em 1em;
  border-radius: 5px 5px;
  border:1px solid #888;
  line-height: 2rem;
  width:100%;
}
.wpcf7 ul li textarea{
    padding: 0.5em 1em;
  border-radius: 5px 5px;
  border:1px solid #888;
  width:100%;
}

input[type=checkbox] {
  width:2rem;
-moz-transform: scale(1.6);
    -webkit-transform: scale(1.6);
    transform: scale(1.6);
    margin-top: -0.1em;
}
.wpcf7 input[type="submit"]{
  color: var(--clr-white);
  display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-2) var(--sp-3);
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    white-space: nowrap;
    border: none;
    transition: opacity 0.2s;
    background:var(--clr-accent-a);
  }
.wpcf7 input[type="submit"]:hover{
      background:var(--clr-accent-c);

}

.screen-reader-response ul{
  display:none;
}




fieldset {
    margin: 0;
    padding: 0;
    min-width: 0;
    display:none;
}