/*
Theme Name: Aporaku
Theme URI:
Author: Aporaku
Author URI:
Description: Aporaku corporate site original theme - Simple & Modern design.
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aporaku
Tags: one-column, custom-colors, custom-menu, full-site-editing, block-patterns, wide-blocks
*/

/* ========================================
   Base Reset & Typography
   ======================================== */

html {
  scroll-padding-top: 60px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 60px;
}

:root :where(.is-layout-flow) > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #1a1a1a;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.site-header,
.site-header-simple {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 100;
  background: #fff !important;
  border-bottom: 1px solid #DADADA !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.site-header > .wp-block-group,
.site-header-simple > .wp-block-group {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  align-items: center;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
}

.header-logo .site-logo {
  margin: 0;
  display: flex;
  align-items: center;
}

.header-logo .site-logo img {
  height: 25px;
  width: auto;
}

/* Navigation */
.site-header .wp-block-navigation {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #333;
}

.site-header .wp-block-navigation a {
  padding: 0.4rem 0;
  position: relative;
  color: #333;
  transition: color 0.3s ease;
}

.site-header .wp-block-navigation a:hover {
  color: #0F7F85;
  opacity: 1;
}

.site-header .wp-block-navigation a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #0F7F85;
  transition: width 0.3s ease, left 0.3s ease;
}

.site-header .wp-block-navigation a:hover::after {
  width: 100%;
  left: 0;
}

/* CTA Button */
.header-cta-btn .wp-block-button__link {
  background-color: rgba(15, 127, 133, 0.9) !important;
  background-image: linear-gradient(to right, #0F7F85, #0F7F85) !important;
  background-size: 0% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  border: none !important;
  outline: none !important;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-size 0.4s ease;
}

.header-cta-btn .wp-block-button__link:hover {
  background-size: 100% 100% !important;
  opacity: 1;
}

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

.hero-section {
  background: linear-gradient(to right, #00C4CC, #00A0A9);
  margin-top: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 520px;
  position: relative;
}

.hero-content {
  flex: 1;
  padding: 4rem 0 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  color: #fff;
}

/* Badge */
.hero-badge {
  display: inline-block;
  margin-bottom: 0;
}

.hero-badge p {
  display: inline-block;
  background: #FFEE11;
  color: #139EA8;
  padding: 0.4rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 3px;
  margin: 0;
}

/* Heading */
.hero-heading {
  color: #fff !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  font-weight: 900;
  line-height: 1.4;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.hero-heading strong {
  font-size: 1.2em;
}

.hero-price {
  color: #fff;
  font-weight: 900;
  font-size: 1.2em;
}

.hero-heading-large {
  font-size: 1.2em;
}

/* Emblem */
.hero-emblem {
  margin: 0;
}

.hero-emblem img {
  max-width: 450px;
  height: auto;
}

/* Right side */
.hero-right {
  flex: 0 0 38%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-person {
  margin: 0;
  align-self: flex-end;
}

.hero-person img {
  max-height: 500px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
}

/* CTA in hero */
.hero-cta {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  text-align: center;
  z-index: 3;
  gap: 0 !important;
}

.hero-cta > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.hero-cta-label {
  display: inline-block;
  background: #FFEE11;
  color: #139EA8;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.2rem 2rem;
  border-radius: 50px;
  position: relative;
  z-index: 4;
  transform: translateY(30%);
}

.hero-cta-btn {
  background: #fff;
  border-radius: 60px;
  padding: .9rem 1.5rem .9rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 360px;
  margin-top: 0 !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-cta-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: #f3f3f3;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: none;
  z-index: -1;
}

.hero-cta-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.6s ease, background-color 1s ease 0.4s;
  background: #fff;
}

.hero-cta-btn p {
  margin: 0;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
}

.hero-cta-btn a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + 3rem);
  height: calc(100% + 1.8rem);
  position: relative;
  padding: .9rem 1.5rem;
  margin: -.9rem -1.5rem;
  z-index: 2;
}

.hero-cta-btn a::after {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  position: absolute;
  right: 0;
  background-color: transparent;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E"),
    radial-gradient(circle, #000 50%, transparent 50%),
    radial-gradient(circle, #0F7F85 50%, transparent 50%);
  background-size: 18px 18px, 0% 0%, 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size 0.4s ease;
}

.hero-cta-btn a:hover {
  opacity: 1 !important;
  color: #0F7F85;
}

.hero-cta-btn a:hover::after {
  background-size: 18px 18px, 100% 100%, 0% 0%;
}

/* Responsive */
/* Mobile bottom (emblem + person) - hidden on PC */
.hero-mobile-bottom {
  display: none !important;
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    min-height: auto;
  }

  .hero-content {
    padding: 1rem 1.5rem 0;
    text-align: center;
  }

  .hero-content .hero-badge {
    display: flex;
    justify-content: center;
  }

  .hero-content .hero-heading {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
    margin-bottom: 0 !important;
    margin-top: 0.5rem !important;
  }

  .hero-emblem {
    display: none !important;
  }

  .hero-right {
    display: none !important;
  }

  .hero-mobile-bottom {
    display: block !important;
  }

  .hero-section {
    position: relative;
  }

  .hero-mobile-cta {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
  }

  .hero-mobile-cta .hero-cta-label {
    margin: 0 0 0.3rem 0;
  }

  .hero-mobile-cta .hero-cta-btn {
    min-width: 280px;
  }

  .hero-mobile-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 1.5rem;
  }

  .hero-emblem-mobile-img {
    width: 180px;
    flex-shrink: 0;
    align-self: center;
    margin-bottom: 80px;
  }

  .hero-person-mobile-img {
    width: 220px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .hero-cta {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 1.5rem auto;
  }
}

/* ========================================
   Achievement Section
   ======================================== */

.achievement-section {
  background: #fff;
  padding: 2rem 2rem 3rem !important;
  margin-top: 0 !important;
}

.achievement-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 30px;
  margin-left: auto;
  margin-right: auto;
  background: #F4F8F9;
  border-radius: 12px;
  padding: 2.5rem 3rem;
  box-shadow: none;
}

.achievement-title {
  color: #333;
  margin: 0 0 2rem 0 !important;
}

.achievement-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem !important;
  flex-wrap: nowrap;
}

@media (max-width: 1000px) {
  .achievement-section {
    padding: 2rem 1rem !important;
  }

  .achievement-inner {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 2.5rem 1rem;
  }

  .achievement-logos {
    display: grid !important;
    grid-template-columns: repeat(6, auto);
    justify-content: center;
    justify-items: center;
    align-items: center;
    gap: 2rem !important;
  }

  /* 上段: 2,3,5 → 各2列分で3つ */
  .achievement-logos .wp-block-image:nth-child(2) { order: 1; grid-column: 1 / 3; }
  .achievement-logos .wp-block-image:nth-child(2) img { height: 50px !important; }
  .achievement-logos .wp-block-image:nth-child(3) { order: 1; grid-column: 3 / 5; }
  .achievement-logos .wp-block-image:nth-child(5) { order: 1; grid-column: 5 / 7; }
  /* 下段: 1,4 → 中央に配置 */
  .achievement-logos .wp-block-image:nth-child(1) { order: 2; grid-column: 2 / 4; }
  .achievement-logos .wp-block-image:nth-child(4) { order: 2; grid-column: 4 / 6; }

  .worry-inner {
    padding: 2.5rem 1.5rem !important;
  }
}

.achievement-logos .wp-block-image {
  margin: 0;
}

.achievement-logos .wp-block-image img {
  height: 45px;
  width: auto !important;
  object-fit: contain;
  filter: grayscale(0);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.achievement-logos .wp-block-image img:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .achievement-inner {
    padding: 2rem 1.5rem;
  }

  .achievement-logos {
    gap: 2rem !important;
  }

  .achievement-logos .wp-block-image img {
    height: 45px;
  }
}

/* ========================================
   Service Section
   ======================================== */

.service-section {
  background: #fff;
  padding: 0rem 30px !important;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 40px;
}

.service-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 35px;
}

.service-left {
  flex: 0 0 35%;
}

.service-pc {
  margin: 0;
}

.service-pc img {
  width: 100%;
  height: auto;
}

.service-right {
  flex: 1;
}

.service-heading {
  color: #139EA8 !important;
  margin-bottom: 1.5rem !important;
}

.service-items {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
}

.service-items > .service-item + .service-item {
  margin-top: 10px !important;
}

.service-item {
  display: flex;
  align-items: center;
  gap: .8rem !important;
}

.service-label {
  display: inline-block;
  background: #0F7F85;
  color: #fff !important;
  padding: 0.2rem 1.5rem;
  border-radius: 6px;
  margin: 0 !important;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  min-width: 150px;
  width: 150px;
}

.service-item p:not(.service-label) {
  margin: 0 !important;
  color: #333;
}

@media (max-width: 768px) {
  .service-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .service-left {
    flex: none;
    width: 300px;
    margin: 0 auto;
  }

  .service-item {
    flex-direction: row;
    text-align: left;
    gap: 0.5rem !important;
  }
}

/* ========================================
   Problem Section
   ======================================== */

.problem-section {
  background: #fff;
  max-width: 1000px;
  margin: 0 auto !important;
  padding: 5rem 30px 3rem !important;
}

.problem-img {
  margin: 0;
}

.problem-img img {
  width: 100%;
  height: auto;
}

/* ========================================
   Worry Section
   ======================================== */

.worry-section {
  background: #fff;
  padding: 4rem 30px !important;
  max-width: 1000px;
  margin: 0 auto !important;
}

.worry-inner {
  background: #F8F8F8;
  border-radius: 10px;
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}

.worry-title {
  color: #1a1a1a;
  margin-bottom: 15px !important;
}

.worry-cards {
  display: flex;
  gap: 1.5rem !important;
}

.worry-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #e8e8e8;
}

.worry-card-img {
  margin: 0 0 1rem 0;
}

.worry-card-img img {
  width: 100%;
  height: auto;
}

.worry-card-text {
  color: #1a1a1a;
  margin: 0 !important;
  line-height: 1.6;
}

.worry-solution-img {
  margin: 0 auto;
  max-width: 600px;
  margin-top: -100px;
  position: relative;
  z-index: 0;
}

.worry-solution-img img {
  width: 100%;
  height: auto;
}

.worry-solution-sp {
  display: none !important;
}

@media (max-width: 768px) {
  .worry-cards {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .worry-card {
    width: 100%;
  }

  .worry-card:first-child {
    grid-column: 1 / -1;
    max-width: 50%;
  }
}

/* ========================================
   Reason Section
   ======================================== */

.reason-section {
  background: #F4F8F9;
  padding: 4rem 30px !important;
  max-width: 100%;
}

.reason-section-title {
  color: #1a1a1a;
  margin-bottom: 2rem !important;
}

.reason-card {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  border: 2px solid #d0d0d0;
}

.reason-card + .reason-card {
  margin-top: 1.5rem;
}

.reason-card-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  grid-template-rows: auto 1fr;
  gap: 0 1.5rem;
}

.reason-card-top {
  grid-column: 1;
  align-self: start;
  margin-bottom: 15px;
}

.reason-card-bottom {
  display: contents;
}

.reason-card-bottom .reason-card-right {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem !important;
}

.reason-number {
  color: #b8dce0;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 5rem !important;
}

.reason-title {
  color: #1a1a1a !important;
  margin: 0 !important;
  font-size: 1.8rem !important;
}

.reason-divider {
  border: none !important;
  border-top: 3px solid #BCD2D7 !important;
  margin: 1rem 0 0 0 !important;
  width: 100% !important;
}

.reason-desc {
  color: #333;
  line-height: 1.8;
  margin: 0 !important;
  font-weight: 700;
}

.reason-card-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-card-img {
  margin: 0;
}

.reason-card-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.reason-card-extra {
  background: #FFFAEF;
  border: 2px dotted #CCCCCC;
  border-radius: 5px;
  background-repeat: repeat-x;
  background-size: 20px 1px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.reason-card-extra-items {
  display: flex;
  gap: .5rem !important;
}

.reason-card-extra-item {
  flex: 1;
  text-align: center;
}

.reason-card-extra-label {
  display: inline-block;
  background: #139EA8;
  color: #fff !important;
  padding: 0.3rem 1.5rem;
  border-radius: 3px;
  margin: 0 0 0.2rem 0 !important;
}

.reason-card-extra-count {
  color: #1a1a1a;
  margin: 0 0 .5rem 0 !important;
  font-size: 1.1rem !important;
}

.reason-card-extra-img {
  margin: 0;
}

.reason-card-extra-img img {
  width: 80%;
  height: auto;
  margin: 0 auto;
}

.reason-card-extra-img-full img {
  width: 100%;
}

.reason-card-extra-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem !important;
  margin-top: 1rem;
}

.reason-card-extra-result p {
  margin: 0 !important;
}

.reason-card-extra-arrow {
  color: #ff9142;
}

.reason-card-extra-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reason-card-extra-arrow-img {
  margin: 0 auto;
  flex-shrink: 0;
}

.reason-card-extra-arrow-img img {
  width: 100px;
  height: auto;
}

.reason-card-extra-effect {
  color: #139EA8;
  margin: 0.5rem 0 0 0 !important;
}

@media (max-width: 768px) {
  .reason-card-inner {
    display: block;
  }

  .reason-card-bottom {
    display: flex;
    gap: 1rem;
    align-items: start;
  }

  .reason-card-bottom .reason-desc {
    flex: 1;
  }

  .reason-card-bottom .reason-card-right {
    flex: 0 0 180px;
  }

  .reason-title {
    color: #1a1a1a !important;
    margin: 0 !important;
    font-size: 1.5rem !important;
  }

  .reason-title br {
    display: none;
  }
}

/* ========================================
   Why Section
   ======================================== */

.why-section {
  background: #F8F8F8;
  padding: 4rem 30px !important;
  max-width: 100%;
  margin-top: 0 !important;
}

.why-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.why-heading {
  color: #1a1a1a;
  margin-bottom: 2rem !important;
}

.why-cards {
  display: flex;
  gap: .8rem !important;
  align-items: stretch !important;
}

.why-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid #d0d0d0;
}

.why-card-label {
  display: inline-block;
  background: #139EA8;
  color: #fff !important;
  padding: 0.1rem 1.2rem;
  border-radius: 3px;
  margin: 0 0 0.4rem 0 !important;
  font-size: 0.85rem;
}

.why-card-title {
  color: #139EA8;
  margin: 0 0 0.4rem 0 !important;
  line-height: 23px;
}

.why-card-desc {
  color: #333;
  margin: 0 !important;
  line-height: 1.6;
  font-weight: 700;
  text-align: left !important;
}

@media (max-width: 768px) {
  .why-cards {
    flex-direction: column;
  }
}

/* ========================================
   Compare Section
   ======================================== */

.compare-section {
  padding: 4rem 30px !important;
  max-width: 100%;
  margin-top: 0 !important;
}

.compare-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.compare-title {
  color: #1a1a1a;
  margin-bottom: 1rem !important;
}

.compare-badge-wrap {
  margin-bottom: 1.5rem !important;
}

.compare-badge {
  background: #139EA8;
  color: #fff !important;
  padding: 0.6rem 4rem;
  border-radius: 3px;
  font-size: 1rem !important;
  line-height: 1.6;
  margin: 0 !important;
  position: relative;
}

.compare-badge::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 80px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 8px 0 8px;
  border-color: #139EA8 transparent transparent transparent;
}

.compare-table-img {
  margin: 0 auto !important;
  max-width: 900px;
}

.compare-table-img img {
  width: 100%;
  height: auto;
}

.compare-table-wrap {
  position: relative;
}

.compare-scroll-hint {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

.compare-scroll-hint-inner {
  background: rgba(0, 0, 0, 0.75);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.compare-scroll-arrows {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5rem;
}

.compare-scroll-hand {
  width: 32px;
  height: auto;
}

.compare-scroll-hand.is-animating {
  animation: swipe-hint 2.5s ease-in-out;
}

@keyframes swipe-hint {
  0% { transform: translateX(30px); opacity: 1; }
  20% { transform: translateX(-30px); opacity: 0; }
  25% { transform: translateX(30px); opacity: 0; }
  30% { transform: translateX(30px); opacity: 1; }
  50% { transform: translateX(-30px); opacity: 0; }
  55% { transform: translateX(30px); opacity: 0; }
  60% { transform: translateX(30px); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

.compare-scroll-text {
  color: #fff;
  font-size: 0.75rem;
}

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

.pricing-section {
  background: #F8F8F8;
  padding: 4rem 30px !important;
  max-width: 100%;
  margin-top: 0 !important;
}

.pricing-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-title {
  color: #1a1a1a;
  margin-bottom: 1rem !important;
}

.pricing-badge-wrap {
  margin-bottom: 1.5rem !important;
}

.pricing-badge {
  background: #139EA8;
  color: #fff !important;
  padding: 0.6rem 4rem;
  border-radius: 3px;
  margin: 0 !important;
  position: relative;
}

.pricing-badge::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 8px 0 8px;
  border-color: #139EA8 transparent transparent transparent;
}

.pricing-cards {
  gap: 1rem !important;
  align-items: stretch !important;
}

.pricing-card {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  border: 2px solid #E6E6E6;
}

.pricing-card-title {
  margin: 0 0 0.5rem 0 !important;
  padding-bottom: 0.8rem;
  border-bottom: 3px solid #139EA8;
  width: 100%;
}

.pricing-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card-price {
  margin: auto 0 !important;
  line-height: 1;
  color: #1a1a1a;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.05em;
}

.pricing-yen {
  font-size: 2.5rem;
}

.pricing-table-label {
  margin: 0.8rem 0 0.5rem 0 !important;
}

.pricing-table {
  margin: 0 !important;
}

.pricing-table-header {
  background: #139EA8;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 3px;
  margin: 0 0 0.3rem 0 !important;
}

.pricing-table-header p {
  color: #fff !important;
  margin: 0 !important;
}

.pricing-table-row {
  padding: 0.2rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  margin: 0 !important;
}

.pricing-table-row p {
  margin: 0 !important;
}

.pricing-table-row-last {
  border-bottom: 2px solid #139EA8;
}

.pricing-amount {
  font-size: 1.3rem;
  font-weight: 900;
  color: #139EA8;
}

.pricing-extra {
  margin-top: 1.5rem !important;
  background: #FFFAEF;
  border: 2px dotted #CCCCCC;
  border-radius: 5px;
  padding: 2rem;
}

.pricing-extra-inner {
  gap: 2rem !important;
}

.pricing-extra-text {
  flex: 1;
}

.pricing-extra-title {
  color: #D64B18;
  margin: 0 0 0.8rem 0 !important;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #D64B18;
}

.pricing-extra-desc {
  color: #1a1a1a;
  margin: 0 !important;
  line-height: 1.8;
}

.pricing-extra-underline {
  color: #2563EB;
  text-decoration: underline;
}

.pricing-extra-underline::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-extra-img-wrap {
  flex: 1;
}

.pricing-extra-img {
  margin: 0 !important;
}

.pricing-extra-img img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .pricing-cards {
    flex-direction: column;
  }
  .pricing-extra-inner {
    flex-direction: column;
  }
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
  padding: 4rem 30px !important;
  max-width: 100%;
  margin-top: 0 !important;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  color: #1a1a1a;
  margin-bottom: 1.5rem !important;
}

.faq-item {
  margin-bottom: 0.8rem;
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  background: #F5F5F5;
  border-radius: 8px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.faq-q-badge {
  background: #139EA8;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.375rem;
  flex-shrink: 0;
  font-family: "Padauk", sans-serif;
  padding-top: 3px;
}

.faq-q-text {
  flex: 1;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1rem 1.2rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.faq-a-badge {
  background: #F8F8F8;
  color: #222222;
  font-weight: 700;
  font-size: 1.375rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Padauk", sans-serif;
  padding-top: 3px;
}

.faq-a-text {
  flex: 1;
  margin: 0;
  color: #333;
  line-height: 1.8;
  font-size: 0.9rem;
}

/* ========================================
   Column Section
   ======================================== */

.column-section {
  background: #F4F8F9;
  padding: 4rem 30px !important;
  max-width: 100%;
  margin-top: 0 !important;
}

.column-inner {
  max-width: 1000px !important;
  margin: 0 auto;
}

.column-inner > * {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.column-title {
  color: #1a1a1a;
  margin-bottom: 1.5rem !important;
}

.column-cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.2rem !important;
  max-width: 1000px;
}

.column-card {
  display: block !important;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.3s ease;
  width: 100% !important;
  min-width: 0;
}

.column-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.column-card-thumb {
  width: 100%;
  aspect-ratio: 128 / 67;
  background: #d9d9d9;
}

.column-card-body {
  padding: 1rem;
}

.column-card-date {
  color: #999;
  font-size: 0.8rem;
  margin: 0 0 0.4rem 0;
}

.column-card-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.column-card-excerpt {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.column-cards-query {
  gap: 1.2rem !important;
}

.column-card-wrap {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.column-card-wrap a {
  text-decoration: none;
  color: inherit;
}

.column-card-heading-query a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.column-card-wrap:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.column-card-thumb-query {
  margin: 0 !important;
}

.column-card-thumb-query {
  aspect-ratio: 128 / 67 !important;
  overflow: hidden;
}

.column-card-thumb-query img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-card-body-query {
  padding: 1rem !important;
}

.column-card-date-query {
  color: #999 !important;
  margin: 0 0 0.4rem 0 !important;
}

.column-card-heading-query {
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.5;
}

.column-card-heading-query a {
  color: #1a1a1a;
  text-decoration: none;
}

.column-card-heading-query a:hover {
  color: #139EA8;
  opacity: 1 !important;
}

.column-card-wrap a:hover {
  opacity: 1 !important;
}

.column-card-thumb-query a:hover {
  opacity: 1 !important;
}

.column-card-excerpt-query {
  color: #666 !important;
  margin: 0 !important;
  line-height: 1.6;
}

.column-card-excerpt-query .wp-block-post-excerpt__more-text {
  display: none;
}

.column-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.column-cta-btn {
  min-width: 320px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

@media (max-width: 768px) {
  .column-cards {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
  padding: 4rem 30px !important;
  max-width: 100%;
  margin-top: 0 !important;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
}

#timerex_calendar {
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  color: #1a1a1a;
  margin-bottom: 1.5rem !important;
}

/* ========================================
   Feature Section
   ======================================== */

.feature-section {
  max-width: 1000px;
  margin: 2rem auto 0;
}

.feature-title {
  color: #1a1a1a;
  margin-bottom: 1.5rem !important;
  position: relative;
  display: block;
  text-align: center;
}

.feature-title::before,
.feature-title::after {
  content: "";
  display: inline-block;
  width: 50px;
  height: 2px;
  background: #1a1a1a;
  vertical-align: middle;
}

.feature-title::before {
  margin-right: 15px;
  transform: rotate(60deg);
}

.feature-title::after {
  margin-left: 15px;
  transform: rotate(-60deg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}

.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  border: 2px solid #d0d0d0;
  text-align: center;
  margin-block-start: 0 !important;
}

.feature-card-title {
  color: #139EA8;
  margin: 0 0 0.5rem 0 !important;
  font-weight: 700;
}

.feature-card-desc {
  color: #333;
  margin: 0 !important;
  line-height: 1.6;
  font-size: 0.8rem !important;
  font-weight: bold;
}

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

/* ========================================
   Buttons
   ======================================== */

.wp-block-button__link,
.btn-primary {
  background: #1a1a1a;
  color: #ffffff;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 2px solid #1a1a1a;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.wp-block-button__link:hover,
.btn-primary:hover {
  background: transparent;
  color: #1a1a1a;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: #1a1a1a;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #1a1a1a;
  color: #ffffff;
}

/* ========================================
   Sections
   ======================================== */

.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.section-subtitle {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ========================================
   Cards / Services Grid
   ======================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========================================
   About Section
   ======================================== */

.about-section {
  background: #f8f9fa;
  padding: 6rem 2rem;
}

.about-section .wp-block-group {
  max-width: 1200px;
  margin: 0 auto;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  background: linear-gradient(to right, #00C4CC, #00A0A9);
  color: #ffffff;
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 0 !important;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta-heading {
  color: #fff !important;
  margin-bottom: 0.5rem !important;
}

.cta-btns {
  display: flex;
  gap: 0.8rem !important;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

.cta-btn {
  border-radius: 60px;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 320px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: #e0e0e0;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: none;
  z-index: -1;
}

.cta-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.6s ease, background-color 1s ease 0.4s;
}

.cta-btn-white {
  background: #fff;
}

.cta-btn-white::before {
  background: #f3f3f3;
}

.cta-btn-white:hover::before {
  background: #fff;
}

.cta-btn-yellow {
  background: #FFEE11;
}

.cta-btn-yellow::before {
  background: #e0d800;
}

.cta-btn-yellow:hover::before {
  background: #FFEE11;
}

.cta-btn p {
  margin: 0;
  width: 100%;
}

.cta-btn a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + 3rem);
  height: calc(100% + 1.8rem);
  position: relative;
  padding: .9rem 1.5rem;
  margin: -.9rem -1.5rem;
  z-index: 2;
}

.cta-btn a::after {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  position: absolute;
  right: 0;
  background-color: transparent;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E"),
    radial-gradient(circle, #000 50%, transparent 50%),
    radial-gradient(circle, #0F7F85 50%, transparent 50%);
  background-size: 18px 18px, 0% 0%, 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size 0.4s ease;
}

.cta-btn a:hover {
  opacity: 1 !important;
  color: #0F7F85;
}

.cta-btn a:hover::after {
  background-size: 18px 18px, 100% 100%, 0% 0%;
}

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

.wp-block-template-part:has(.site-footer) {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

.site-footer {
  background: #333333;
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 0 !important;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  margin: 0 auto 2rem !important;
}

.footer-logo img {
  width: 200px;
  height: auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: #fff;
  text-decoration: underline;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-external-link::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.footer-copyright {
  color: #fff !important;
  font-weight: 700;
  margin: 0 !important;
}

/* ========================================
   Column Archive
   ======================================== */

.column-archive-hero {
  background: #F8F8F8;
  padding: 5rem 30px !important;
  margin-top: 0 !important;
}

.column-archive-hero-title {
  color: #1a1a1a;
  margin: 0 !important;
}

.column-archive-section {
  padding: 4rem 30px !important;
  margin-top: 0 !important;
}

.column-archive-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.column-archive-title {
  color: #1a1a1a;
  margin-bottom: 2rem !important;
}

.column-archive-grid {
  gap: 1.2rem !important;
}

.column-card-archive {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.3s ease;
}

.column-card-archive:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.column-card-archive-thumb {
  margin: 0 !important;
}

.column-card-archive-thumb img {
  width: 100%;
  aspect-ratio: 128 / 67;
  object-fit: cover;
}

.column-card-archive-body {
  padding: 1rem !important;
}

.column-card-archive-date {
  color: #999 !important;
  margin: 0 0 0.4rem 0 !important;
}

.column-card-archive-heading {
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.5;
}

.column-card-archive-heading a {
  color: #1a1a1a;
  text-decoration: none;
}

.column-card-archive-heading a:hover {
  color: #139EA8;
}

.column-card-archive-excerpt {
  color: #666 !important;
  margin: 0 !important;
  line-height: 1.6;
}

.column-pagination {
  margin-top: 2rem !important;
}

/* ========================================
   Column Single
   ======================================== */

.column-single-section {
  padding: 4rem 30px !important;
  margin-top: 0 !important;
}

.column-single-inner {
  max-width: 800px;
  margin: 0 auto;
}

.column-single-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.column-single-main {
  min-width: 0;
}

.column-single-sidebar {
  min-width: 0;
}

.column-single-sidebar-sticky {
  position: sticky;
  top: 80px;
}

.sidebar-cta-banner {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 0;
}

.sidebar-cta-banner-head {
  background: #139EA8;
  padding: 0.8rem 1rem;
  text-align: center;
}

.sidebar-cta-banner-head-text {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.1em;
}

.sidebar-cta-banner-inner {
  background: #F8F8F8;
  padding: .5rem 1.2rem .5rem;
}

.sidebar-cta-banner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #e0e0e0;
}

.sidebar-cta-banner-item:last-of-type {
  border-bottom: none;
}

.sidebar-cta-banner-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
}

.sidebar-cta-banner-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: #139EA8;
  line-height: 1;
}

.sidebar-cta-banner-yen {
  font-size: 0.85rem;
  font-weight: 700;
}

.sidebar-cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #139EA8;
  background-image: linear-gradient(to right, #0d7a82, #0d7a82);
  background-size: 0% 100%;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  text-decoration: none;
  margin-top: 0;
  border-radius: 0;
  line-height: 20px;
  transition: background-size 0.4s ease;
}

.sidebar-cta-link-text {
  flex: 1;
}

.sidebar-cta-link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 1rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.sidebar-cta-link:hover .sidebar-cta-link-arrow {
  transform: translateX(3px);
}

.sidebar-cta-link:hover {
  background-size: 100% 100%;
  opacity: 1 !important;
}

.sidebar-recent-posts {
  margin-top: 1.5rem;
}

.sidebar-recent-posts-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0rem 0;
  border-bottom: 2px solid #ececec;
  padding-bottom: 0.5rem;
}

.sidebar-recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-recent-posts-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.sidebar-recent-posts-list li a {
  color: #333;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
}

.sidebar-recent-posts-list li a:hover {
  color: #139EA8;
}

@media (max-width: 768px) {
  .column-single-layout {
    grid-template-columns: 1fr;
  }

  .column-single-sidebar {
    display: none;
  }
}

.column-single-date {
  color: #999 !important;
  margin: 0 0 0.5rem 0 !important;
}

.column-single-title {
  color: #1a1a1a;
  margin: 0 0 1.5rem 0 !important;
  line-height: 1.4;
}

.column-single-thumb {
  margin: 0 0 2rem 0 !important;
  border-radius: 8px;
  overflow: hidden;
}

.column-single-thumb img {
  width: 100%;
  height: auto;
}

.column-single-content {
  line-height: 1.8;
  color: #333;
}

.column-single-content h2 {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  margin: 2.5rem 0 1rem 0 !important;
  padding: 1.2rem 1.2rem !important;
  background: #F5F5F5 !important;
  border-left: 7px solid #139EA8 !important;
}

.column-single-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 0.8rem 0;
  padding: 1rem 0 1rem 0;
  border-bottom: 2px solid #139EA8;
}

.column-single-content p {
  margin: 0 0 1.2rem 0;
}

.column-single-separator {
  border-color: #e0e0e0 !important;
}

.column-single-nav a {
  color: #139EA8;
  text-decoration: none;
  font-weight: 500;
}

.column-single-nav a:hover {
  text-decoration: underline;
}

.column-single-back {
  text-align: center;
  margin-top: 1.5rem;
}

.column-single-back-link {
  color: #139EA8;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.column-single-back-link:hover {
  text-decoration: underline;
}

/* ========================================
   Privacy Page
   ======================================== */

.privacy-page {
  padding: 4rem 30px !important;
  margin-top: 0 !important;
}

.privacy-inner {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-page-title {
  margin-bottom: 2rem !important;
}

.privacy-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.8rem 0;
  color: #1a1a1a;
}

.privacy-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  margin: 0 0 1rem 0;
}

.privacy-content ol,
.privacy-content ul {
  padding-left: 1.5rem;
  margin: 0 0 1rem 0;
}

.privacy-content li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 0.3rem;
}

/* ========================================
   Content
   ======================================== */

.entry-content {
  max-width: 800px;
  margin: 0 auto;
  /* padding: 4rem 0; */
}

.entry-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.entry-content h2 {
  font-size: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.entry-content p {
  margin-bottom: 1.5rem;
  color: #333;
}

/* ========================================
   Post List / Archive
   ======================================== */

.post-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.post-list .wp-block-post {
  padding: 2rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.post-list .wp-block-post-title a {
  font-size: 1.3rem;
  font-weight: 600;
}

.post-list .wp-block-post-date {
  color: #888;
  font-size: 0.85rem;
}

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

.page-header {
  background: #f8f9fa;
  padding: 4rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
}

/* ========================================
   404
   ======================================== */

.error-404 {
  text-align: center;
  padding: 8rem 2rem;
}

.error-404 h1 {
  font-size: 6rem;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.error-404 p {
  color: #888;
  font-size: 1.1rem;
}

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

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 200;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 90%;
  height: 100%;
  background: #fff;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  gap: 1.5rem;
}

.mobile-menu-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

.mobile-menu-nav a:hover {
  color: #139EA8;
}

.mobile-menu-cta-btn {
  margin-top: 1rem;
  min-width: auto !important;
  width: 50%;
}

.sp-only {
  display: none;
}

.sp-only-sm {
  display: none;
}

@media (max-width: 500px) {
  .sp-only {
    display: inline !important;
  }

  .reason-card-bottom {
    flex-direction: column !important;
  }

  .reason-card-bottom .reason-card-right {
    flex: none !important;
    width: 100%;
  }

  .worry-card-text {
    font-size: 0.8rem !important;
  }

  .reason-number {
    font-size: 3rem !important;
  }

  .reason-title {
    color: #1a1a1a !important;
    margin: 0 !important;
    font-size: 1.3rem !important;
  }

  .reason-section {
    padding: 4rem 20px !important;
  }

  .reason-card {
    padding: 1.5rem !important;
  }

  .compare-badge {
    padding: 0.6rem 1rem !important;
    font-size: .8rem !important;
  }

  .reason-card-extra-items {
    flex-direction: column !important;
  }

  .reason-card-extra-items .reason-card-extra-item + .reason-card-extra-item {
    margin-top: 1.5rem;
  }

  .reason-card-extra-middle {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
  }

  .reason-card-extra-effect {
    margin: 0 !important;
  }

  .reason-card-extra-arrow-img {
    margin: 0 !important;
    display: flex;
    align-items: center;
  }

  .reason-card-extra-arrow-img img {
    transform: rotate(90deg);
    width: 60px !important;
  }
}

@media (max-width: 450px) {
  .sp-only-sm {
    display: inline !important;
  }

  .service-section {
    padding: 0rem 20px !important;
  }

  .service-label {
    padding: 0.2rem 0 !important;
    font-size: 0.8rem !important;
    min-width: 100px;
    width: 100px;
  }

  .service-items > .service-item + .service-item {
    margin-top: 5px !important;
  }

  .service-item p:not(.service-label) {
    font-size: 0.9rem !important;
  }

  .service-heading {
    text-align: center !important;
  }

  .reason-title {
    color: #1a1a1a !important;
    margin: 0 !important;
    font-size: 1.2rem !important;
  }

  .reason-card-extra {
    padding: 1rem !important;
  }

  .reason-card-extra-img img {
    width: 100% !important;
  }

  .reason-card-extra-label {
    width: 100% !important;
    display: block !important;
  }

  .reason-card-extra-middle {
    margin-bottom: 1rem !important;
  }

  .feature-title {
    font-size: 1.1rem !important;
  }

  .feature-card {
    padding: .5rem !important;
  }

  .feature-card-title {
    font-size: 0.8rem !important;
  }

  .feature-card-desc {
    font-size: .8rem !important;
  }

  .feature-card-title {
    margin: 0 !important;
    font-size: 1rem !important;
  }

  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: .3rem !important;
  }

  .cta-section {
    padding: 2rem 20px !important;
  }

  .cta-btns {
    gap: 0.4rem !important;
    margin-top: 1rem !important;
  }

  .cta-heading {
    font-size: 1.2rem !important;
  }

  .cta-btns .cta-btn {
    width: 100% !important;
  }

  .why-heading {
    font-size: 1.5rem !important;
  }

  .why-section {
    padding: 2rem 20px !important;
  }

  .why-card {
    padding: 1rem !important;
  }

  .why-cards {
    gap: .5rem !important;
  }

  .compare-title,
  .pricing-title,
  .faq-title,
  .contact-title,
  .column-title {
    font-size: 1.5rem !important;
  }

  .pricing-section {
    padding: 2rem 20px !important;
  }

  .pricing-badge {
    padding: 0.6rem 1rem !important;
    font-size: .8rem !important;
  }

  .pricing-card {
    padding: 1.2rem !important;
  }

  .pricing-card-price {
    font-size: 3rem !important;
  }

  .pricing-yen {
    font-size: 1.5rem !important;
  }

  .pricing-cards {
    gap: .5rem !important;
  }

  .pricing-table-row {
    padding: 0.2rem .5rem !important;
  }

  .pricing-extra {
    margin-top: 1rem !important;
    padding: 1.2rem !important;
  }

  .pricing-extra-title {
    font-size: 1rem !important;
  }

  .pricing-extra-desc {
    font-size: .8rem !important;
  }

  .pricing-extra-desc br {
    display: none;
  }

  .faq-section {
    padding: 2rem 20px !important;
  }

  .faq-q-text {
    font-size: .9rem !important;
    line-height: 20px !important;
  }

  .contact-section {
    padding: 2rem 10px !important;
  }

  .footer-nav {
    flex-direction: column !important;
    align-items: center;
    gap: .3rem !important;
  }

  .footer-nav a {
    font-size: .8rem !important;
  }


  .compare-section {
    padding: 2rem 20px !important;
  }

  .compare-scroll-hint {
    display: block !important;
  }

  .compare-table-wrap {
    overflow-x: auto !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .compare-table-wrap::-webkit-scrollbar {
    display: none;
  }

  .compare-table-img img {
    min-width: 600px !important;
    width: 600px !important;
  }

  .achievement-section {
    padding: 2rem 1rem 0 !important;
  }

  .achievement-title {
    line-height: 30px !important;
    margin: 0 0 1rem 0 !important;
  }

  h2 {
    font-size: 1.1rem !important;
  }

  .hero-badge p {
    font-size: 1rem !important;
    line-height: 22px !important;
  }

  .worry-section {
    padding: 2rem 20px !important;
  }

  .worry-inner {
    padding: 2.5rem .5rem !important;
  }

  .worry-cards {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    justify-items: center;
  }

  .worry-card {
    width: 100% !important;
    max-width: none !important;
  }

  .worry-card:first-child {
    grid-column: auto !important;
    max-width: none !important;
  }

  .worry-card:nth-child(2) {
    grid-column: 1 / -1 !important;
    max-width: 55% !important;
    order: -1;
  }

  .worry-card-text {
    font-size: 0.75rem !important;
  }

  .worry-solution-pc {
    display: none !important;
  }

  .worry-solution-sp {
    display: block !important;
  }

  .achievement-logos {
    grid-template-columns: repeat(6, auto) !important;
  }

  .achievement-logos {
    display: grid !important;
    grid-template-columns: repeat(2, auto) !important;
    justify-content: center !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 1.5rem 2rem !important;
  }

  /* 1行目: 3だけ（中央に） */
  .achievement-logos .wp-block-image:nth-child(3) { order: 1 !important; grid-column: 1 / -1 !important; }
  /* 2行目: 4, 5 */
  .achievement-logos .wp-block-image:nth-child(4) { order: 2 !important; grid-column: auto !important; }
  .achievement-logos .wp-block-image:nth-child(5) { order: 2 !important; grid-column: auto !important; }
  /* 3行目: 1, 2 */
  .achievement-logos .wp-block-image:nth-child(1) { order: 3 !important; grid-column: auto !important; }
  .achievement-logos .wp-block-image:nth-child(2) { order: 3 !important; grid-column: auto !important; }

  .achievement-logos .wp-block-image img {
    height: 40px !important;
    width: auto !important;
  }

  .achievement-logos .wp-block-image:nth-child(2) img {
    height: 45px !important;
  }

  .achievement-logos .wp-block-image:nth-child(3) img {
    height: 50px !important;
  }

  .achievement-logos .wp-block-image:nth-child(4) img {
    width: 150px !important;
    height: auto !important;
  }

  .privacy-page {
    padding: 2rem 20px !important;
  }

  .privacy-page h1 {
    font-size: 1.5rem !important;
  }

  .privacy-page p {
    font-size: 0.8rem !important;
  }
}

@media (max-width: 1000px) {
  .site-header .wp-block-navigation ul {
    gap: 15px !important;
  }

  .site-header > .wp-block-group {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .worry-cards {
    gap: .5rem !important;
  }

  .worry-card {
    padding: 1rem .5rem !important;
  }
}

@media (max-width: 900px) {
  .site-header .wp-block-navigation,
  .site-header .wp-block-buttons {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .mobile-menu,
  .mobile-menu-overlay {
    display: block;
  }
}

@media (max-width: 768px) {
  .site-header .wp-block-group {
    gap: 1rem;
    padding: 1rem;
  }

  .hero-section {
    min-height: 550px;
    padding: 0 !important;
  }

  .hero-inner {
    min-height: 550px;
    display: flex;
    flex-direction: column;
  }

  .hero-mobile-bottom {
    margin-top: auto;
  }

  .section {
    padding: 4rem 1.5rem;
  }

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

/* ========================================
   Utility: Fade-in animation
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-hero {
  background: #F8F8F8;
  padding: 5rem 30px !important;
  margin-top: 0 !important;
}

.contact-hero-title {
  color: #1a1a1a;
  margin: 0 !important;
}

.contact-page {
  padding: 4rem 30px !important;
  margin-top: 0 !important;
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 3rem;
  align-items: start;
}

.contact-flow-title {
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 0 1.5rem 0;
  color: #1a1a1a;
}

.contact-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-flow-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
}

.contact-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 18px;
  width: 2px;
  bottom: -1.5rem;
  background: #E6E6E6;
  z-index: 0;
}

.contact-flow-step-num {
  width: 36px;
  height: 36px;
  background: #139EA8;
  position: relative;
  color: #fff;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-flow-step-body {
  flex: 1;
}

.contact-flow-step-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.3rem 0;
  color: #1a1a1a;
}

.contact-flow-step-text {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.contact-form-wrap {
  background: #F5F5F5;
  border: 2px solid #E6E6E6;
  border-radius: 12px;
  padding: 1.5rem 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.grecaptcha-badge,
.wpcf7-spinner {
  display: none !important;
}

.contact-form-wrap .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-wrap .wpcf7-form br {
  display: none;
}

.contact-form-group > p {
  display: contents;
}

.contact-form-group.contact-form-group--textarea {
  align-items: flex-start;
}

.contact-form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 160px;
}

.contact-required {
  background: #D64B18;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  font-weight: 500;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  outline: none;
  border-color: #139EA8;
}

.contact-form-textarea {
  resize: vertical;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: #ccc;
}

.contact-form-submit {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-top: 0.5rem;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-form-submit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: #000;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: none;
  z-index: -1;
}

.contact-form-submit:hover::before {
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.6s ease, background-color 1s ease 0.4s;
  background: #111;
}

.contact-form-submit::after {
  content: "→";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s ease;
  z-index: 2;
}

.contact-form-submit:hover::after {
  right: calc(1rem - 2px);
}

/* Contact Thanks */
.contact-thanks {
  text-align: center;
  padding: 3rem 2rem;
}

.contact-thanks-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-thanks-text {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ========================================
   Tokushoho (特定商取引法) Page
   ======================================== */

.tokushoho-page {
  padding: 4rem 30px !important;
  margin-top: 0 !important;
  background: #F8F8F8;
}

.tokushoho-inner {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 3rem 3rem 2rem;
  border: 2px solid #E6E6E6;
}

.tokushoho-page-title {
  margin-bottom: 2.5rem !important;
}

.tokushoho-table {
  width: 100%;
  border-collapse: collapse;
}

.tokushoho-table tr {
  border-bottom: 2px solid #E6E6E6;
}

.tokushoho-table tr:last-child {
  border-bottom: none;
}

.tokushoho-table th,
.tokushoho-table td {
  padding: 1rem 0.8rem;
  font-size: 0.92rem;
  line-height: 1.8;
  vertical-align: top;
  text-align: left;
}

.tokushoho-table th {
  font-weight: 700;
  white-space: nowrap;
  width: 180px;
  color: #1a1a1a;
  border-bottom: 2px solid #139EA8;
}

.tokushoho-table td {
  color: #333;
}

.tokushoho-table td a {
  color: #139EA8;
  text-decoration: underline;
}

.tokushoho-table td a:hover {
  opacity: 0.7;
}

@media (max-width: 600px) {
  .tokushoho-inner {
    padding: 2rem 1.5rem 1.5rem;
  }

  .tokushoho-table th {
    display: block;
    width: 100%;
    padding-bottom: 5px;
  }

  .tokushoho-table td {
    display: block;
    padding-top: 0.3rem;
  }
}


@media (max-width: 450px) {
  .site-header > .wp-block-group,
  .site-header-simple > .wp-block-group {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
  }

  .mobile-menu-cta-btn {
    width: 100% !important;
  }

  .contact-hero-title {
    font-size: 1.5rem !important;
  }

  .contact-page {
    padding: 2rem 20px !important;
  }

  .column-archive-section {
    padding: 2rem 20px !important;
  }

  .column-card-wrap {
    width: 80% !important;
    margin: 0 auto !important;
  }

  .column-section {
    padding: 2rem 20px !important;
  }

  .column-card {
    width: 80% !important;
    margin: 0 auto !important;
  }

  .contact-form {
    gap: 1rem !important;
  }

  .contact-form-group {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .3rem !important;
  }

  .contact-form-label {
    width: 100% !important;
    min-width: 100% !important;
  }

  .contact-form-input,
  .contact-form-textarea {
    width: 100% !important;
  }

  .column-single-section {
    padding: 2rem 20px !important;
  }

  .column-single-title {
    font-size: 1.4rem !important;
  }

  .entry-content p {
    margin-bottom: 1rem !important;
  }

  .entry-content.wp-block-post-content {
    padding: 0 !important;
  }

  .hero-content {
    padding: 1rem 0 0 !important;
  }

  .service-heading {
    font-size: 1.4rem !important;
  }

  .tokushoho-table tr {
    border-bottom: none;
  }

  .tokushoho-page-title {
    font-size: 1.5rem !important;
  }

  .tokushoho-table th,
  .tokushoho-table td {
    padding: .5rem 0.3rem .5rem !important;
  }
}

