/*
Theme Name: ASOVIT LP
Theme URI: https://asovit-inc.com/
Author: 株式会社ASOVIT
Description: ASOVITの既存LPデザインをWordPress化したオリジナルテーマ。トップページは既存v8 LPを再現し、投稿記事・固定ページにも対応します。
Version: 1.0.0
Text Domain: asovit-lp
*/

* { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
      color: #142033;
      line-height: 1.8;
      background: #f7f9fc;
    }
    a { color: inherit; text-decoration: none; }
    header {
      background: rgba(255,255,255,.94);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid #e8edf5;
      position: sticky;
      top: 0;
      z-index: 10;
    }
    .nav {
      max-width: 1120px;
      margin: auto;
      padding: 12px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 900;
      font-size: 21px;
      letter-spacing: .06em;
    }
    .brand img {
      width: 38px;
      height: 38px;
      object-fit: contain;
      border-radius: 0;
    }
    .nav-links {
      display: flex;
      gap: 20px;
      font-size: 14px;
      font-weight: 700;
      color: #24304a;
	.menu-toggle {
  　　display: none;
  　　background: transparent;
  　　border: 0;
  　　font-size: 28px;
  　　line-height: 1;
  　　cursor: pointer;
  　color: #24304a;
　　}
    }
    .hero {
      background: radial-gradient(circle at 80% 20%, rgba(21,184,199,.8), transparent 32%),
                  linear-gradient(135deg, #061936 0%, #0b3569 58%, #20a9aa 100%);
      color: white;
      padding: 88px 20px 96px;
      overflow: hidden;
    }
    .hero-inner {
      max-width: 1120px;
      margin: auto;
      position: relative;
      min-height: 520px;
      display: flex;
      align-items: center;
    }
    .hero-copy {
      max-width: 760px;
      position: relative;
      z-index: 2;
    }
    .badge {
      display: inline-block;
      background: rgba(255,255,255,.13);
      border: 1px solid rgba(255,255,255,.32);
      padding: 7px 15px;
      border-radius: 999px;
      font-size: 14px;
      margin-bottom: 20px;
      font-weight: 700;
    }
    .tagline {
      margin: 0 0 16px;
      font-size: clamp(20px, 3vw, 32px);
      letter-spacing: .04em;
      font-weight: 800;
      color: #f6fbff;
    }
    h1 {
      font-size: clamp(36px, 6vw, 66px);
      line-height: 1.16;
      margin: 0 0 24px;
      letter-spacing: .01em;
    }
    .hero p {
      font-size: 18px;
      max-width: 780px;
      margin: 0 0 34px;
      color: rgba(255,255,255,.92);
      font-weight: 600;
    }
    .hero-logo {
      position: absolute;
      top: 24px;
      right: 0;
      background: transparent;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
      text-align: center;
      transform: none;
      z-index: 1;
      opacity: .96;
    }
    .hero-logo img {
      width: 140px;
      max-width: 140px;
      display: block;
      margin: auto;
      border-radius: 0;
    }
    .cta-row {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }
    .btn {
      display: inline-block;
      padding: 14px 24px;
      border-radius: 12px;
      font-weight: 800;
      background: #ffffff;
      color: #0b2b55;
      box-shadow: 0 10px 28px rgba(0,0,0,.17);
    }
    .btn.sub {
      background: transparent;
      color: white;
      border: 1px solid rgba(255,255,255,.52);
      box-shadow: none;
    }
    section { padding: 76px 20px; }
    .container {
      max-width: 1120px;
      margin: auto;
    }
    .section-title {
      font-size: clamp(30px, 4vw, 42px);
      line-height: 1.35;
      margin: 0 0 16px;
      letter-spacing: .01em;
    }
    .lead {
      color: #536178;
      margin: 0 0 38px;
      max-width: 820px;
      font-size: 17px;
    }
    .cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }
    .card {
      background: #ffffff;
      border: 1px solid #e7edf6;
      border-radius: 20px;
      padding: 30px;
      box-shadow: 0 10px 30px rgba(22,37,70,.055);
    }
    .card h3 {
      margin: 0 0 12px;
      font-size: 23px;
    }
    .card p, .card li {
      color: #536178;
    }
    .problem, .company {
      background: #ffffff;
    }
    .check-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      padding: 0;
      list-style: none;
    }
    .check-list li {
      background: #f3f7fb;
      padding: 16px 18px;
      border-radius: 14px;
      border-left: 5px solid #18a6a6;
      font-weight: 700;
    }
    .price {
      font-size: 28px;
      font-weight: 900;
      color: #0b2b55;
      margin: 8px 0 10px;
    }
    .message {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 28px;
      align-items: stretch;
    }
    .message-card {
      background: linear-gradient(135deg, #081b3f, #0d3f73);
      color: white;
      border-radius: 24px;
      padding: 34px;
    }
    .message-card img {
      width: 120px;
      border-radius: 24px;
      background: white;
      padding: 10px;
      margin-bottom: 18px;
    }
    .message-text {
      background: #ffffff;
      border: 1px solid #e7edf6;
      border-radius: 24px;
      padding: 34px;
      box-shadow: 0 10px 30px rgba(22,37,70,.055);
    }
    .message-text p { margin-top: 0; color: #46546b; }
    table {
      width: 100%;
      border-collapse: collapse;
      background: white;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(22,37,70,.055);
    }
    th, td {
      padding: 16px 18px;
      border-bottom: 1px solid #e8edf5;
      text-align: left;
    }
    th { background: #eef6fb; }
    .flow {
      counter-reset: step;
      display: grid;
      gap: 14px;
    }
    .flow div {
      background: white;
      border-radius: 14px;
      padding: 18px 22px;
      border: 1px solid #e8edf5;
    }
    .flow div::before {
      counter-increment: step;
      content: "STEP " counter(step);
      font-weight: 900;
      color: #18a6a6;
      display: block;
      margin-bottom: 4px;
    }
    .faq details {
      background: white;
      border: 1px solid #e8edf5;
      border-radius: 14px;
      padding: 18px 22px;
      margin-bottom: 12px;
    }
    .faq summary {
      font-weight: 800;
      cursor: pointer;
    }
    .company-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
    }
    .company dl {
      margin: 0;
      background: #f7f9fc;
      border-radius: 20px;
      padding: 26px;
    }
    .company dt { font-weight: 900; color: #0b2b55; }
    .company dd { margin: 0 0 14px; color: #46546b; }
    .final-cta {
      background: #081b3f;
      color: white;
      text-align: center;
    }
    .final-cta p {
      color: rgba(255,255,255,.84);
      font-size: 17px;
    }
    .contact-box {
      display: inline-block;
      margin-top: 18px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.18);
      padding: 22px 28px;
      border-radius: 18px;
      text-align: left;
    }
    footer {
      padding: 30px 20px;
      background: #061327;
      color: rgba(255,255,255,.75);
      text-align: center;
      font-size: 14px;
    }

    @media (max-width: 860px) {
      body {
        line-height: 1.7;
        overflow-x: hidden;
      }

      header {
        position: sticky;
      }

      .nav {
        padding: 10px 16px;
      }

      .brand {
        font-size: 17px;
        gap: 8px;
      }

      .brand img {
        width: 32px;
        height: 32px;
      }

    .menu-toggle {
  display: block;
}

.nav {
  position: relative;
}

.nav-links {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 10px 20px 18px;
  flex-direction: column;
  gap: 0;
  z-index: 99999;
  box-shadow: 0 10px 20px rgba(22,37,70,.12);
}

.nav-links.is-open {
  display: flex;
}

.nav-links a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid #eef2f7;
  color: #24304a;
}

      .hero {
        padding: 34px 18px 52px;
      }

      .hero-inner {
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
      }

      .hero-copy {
        max-width: none;
        width: 100%;
      }

      .hero-logo {
        position: static;
        order: -1;
        align-self: flex-end;
        margin: 0 0 18px;
        opacity: .95;
      }

      .hero-logo img {
        width: 88px;
        max-width: 88px;
      }

      .badge {
        font-size: 12px;
        padding: 6px 11px;
        margin-bottom: 14px;
      }

      .tagline {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 12px;
      }

      h1 {
        font-size: 34px;
        line-height: 1.18;
        margin-bottom: 18px;
        letter-spacing: 0;
      }

      .hero p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 26px;
        font-weight: 500;
      }

      .cta-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .btn {
        width: 100%;
        padding: 14px 16px;
        text-align: center;
        border-radius: 10px;
      }

      section {
        padding: 52px 18px;
      }

      .section-title {
        font-size: 27px;
        line-height: 1.4;
        margin-bottom: 12px;
      }

      .lead {
        font-size: 15px;
        margin-bottom: 28px;
        line-height: 1.8;
      }

      .cards,
      .check-list,
      .message,
      .company-grid {
        grid-template-columns: 1fr;
      }

      .cards {
        gap: 14px;
      }

      .card {
        padding: 22px 20px;
        border-radius: 16px;
      }

      .card h3 {
        font-size: 20px;
      }

      .check-list {
        gap: 10px;
      }

      .check-list li {
        padding: 14px 15px;
        font-size: 14px;
      }

      .price {
        font-size: 25px;
      }

      .message {
        gap: 16px;
      }

      .message-card,
      .message-text {
        padding: 24px 20px;
        border-radius: 18px;
      }

      .message-card img {
        width: 92px;
        border-radius: 18px;
      }

      .flow div {
        padding: 16px 18px;
      }

      .faq details {
        padding: 16px 17px;
      }

      .company dl {
        padding: 20px;
        border-radius: 16px;
      }

      .contact-box {
        display: block;
        width: 100%;
        padding: 18px 16px;
        border-radius: 14px;
        overflow-wrap: anywhere;
      }

      table {
        min-width: 620px;
      }

      .table-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 14px;
      }

      th, td {
        padding: 13px 14px;
        font-size: 14px;
      }

      footer {
        padding: 24px 18px;
        font-size: 12px;
      }
    }

    @media (max-width: 520px) {
      .hero {
        padding-top: 26px;
      }

      .hero-logo img {
        width: 76px;
        max-width: 76px;
      }

      h1 {
        font-size: 30px;
      }

      .tagline {
        font-size: 17px;
      }

      .section-title {
        font-size: 24px;
      }

      .card h3 {
        font-size: 19px;
      }

      .final-cta p {
        font-size: 15px;
      }
    }

/* WordPress article/page styles */
.wp-content-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 20px 80px;
}
.wp-content-card {
  background: #fff;
  border: 1px solid #e7edf6;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(22,37,70,.055);
}
.wp-entry-title {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.35;
  margin: 0 0 14px;
  color: #142033;
}
.wp-entry-meta {
  color: #7b879a;
  font-size: 14px;
  margin-bottom: 28px;
}
.wp-entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
.wp-entry-content h2 { margin-top: 2.2em; font-size: 28px; }
.wp-entry-content h3 { margin-top: 1.8em; font-size: 22px; }
.wp-entry-content p, .wp-entry-content li { color: #46546b; }
.wp-entry-content a { color: #0b5fa5; text-decoration: underline; }
.wp-post-list { display: grid; gap: 18px; }
.wp-post-item {
  background: #fff;
  border: 1px solid #e7edf6;
  border-radius: 18px;
  padding: 24px;
}
.wp-post-item h2 { margin: 0 0 8px; font-size: 24px; }
.wp-pagination { margin-top: 30px; }
.admin-bar header { top: 32px; }
@media (max-width: 782px) { .admin-bar header { top: 46px; } }
@media (max-width: 860px) {
  .wp-content-wrap { padding: 42px 16px 60px; }
  .wp-content-card { padding: 24px 18px; border-radius: 16px; }
  .wp-entry-content h2 { font-size: 24px; }
  .wp-entry-content h3 { font-size: 20px; }
}

.wp-post-item {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
  align-items: start;
}

.wp-post-thumb img {
  width: 250px;
  height: 165px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

@media (max-width: 860px) {
  .wp-post-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wp-post-thumb img {
    height: auto;
  }
	
}
/* ハンバーガーはPCでは非表示 */
.menu-toggle {
  display: none !important;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block !important;
  }
}
.wp-post-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wp-post-body h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.45;
}

.wp-post-body .wp-entry-meta {
  margin-bottom: 14px;
}

.wp-post-excerpt {
  color: #46546b;
  line-height: 1.8;
}