/**
 * Custom Styles for Dr. Mirai Theme
 *
 * This file contains all custom styles for the theme.
 * It will be loaded after the main style.css
 */

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

/* Base scroll animation class */
.scroll-animate {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.scroll-animate.is-visible {
  opacity: 1;
}

/* Section-specific animations - .inner要素に適用 */
.fv-section .inner.scroll-animate {
  opacity: 1;
}

.uservoice-banner-section .inner.scroll-animate {
  transition: opacity 0.6s ease;
}

.function-section .inner.scroll-animate {
  transition: opacity 1s ease;
}

.message-section .inner.scroll-animate {
  transition: opacity 0.9s ease;
}

.bigcta-section .inner.scroll-animate {
  transition: opacity 0.8s ease;
}

/* Individual element animations */
.function-box.scroll-animate {
  transition: opacity 0.6s ease;
}

.plan-box.scroll-animate {
  transition: opacity 0.6s ease;
}

.faq-item.scroll-animate {
  transition: opacity 0.5s ease;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate {
    transition: opacity 0.3s ease;
  }
}

/* ==========================================================================
   Variables and Custom Properties
   ========================================================================== */

:root {
  --color-primary: #2c3e50;
  --color-secondary: #3498db;
  --color-accent: #e74c3c;
  --color-text: #393A3A333;
  --color-light: #ecf0f1;
  --color-dark: #2c3e50;
  --font-primary:YakuHanJP,"Noto Sans JP", sans-serif;
  --font-heading: YakuHanJP,"Noto Sans JP", sans-serif;
  --spacing-unit: 2rem;
  --grd_online: linear-gradient(
    95deg,
    #f59630 -6.06%,
    #f3b12e 54.39%,
    #f06c43 103.85%
  );
}

body {
   font-family: var(--font-primary);
}

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

.site-header {
  background: #fff;
}

.site-header .inner {
  max-width: 964px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-primary);
  padding: 14px 0;
}

.header-logo {
  width: 133px;
}

.header-logo img {
  max-width: 100%;
  height: auto;
}

.header-buttons {
  display: flex;
  gap: 10px;
}

.header-btn {
  padding: 16px 30px;
  border-radius: 40px;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  line-height: 1;
}

.header-btn:hover {
  opacity: 0.8;
  text-decoration: none;
  color: #fff;
}

.header-btn--trial {
  background: linear-gradient(
    95deg,
    #2683bd -6.06%,
    #1aa1b2 54.39%,
    #3ea84b 103.85%
  );
}

.header-btn--download {
  background: var(--grd_online);
}

/* Button text switching */
.btn-text-sp {
  display: none;
}

.btn-text-pc {
  display: inline;
}

@media (max-width: 768px) {
  .header-logo {
    width: 100px;
  }

  .header-btn {
    padding: 14px 12px;
    font-size: 13px;
  }

  .site-header .inner {
    padding: 0 12px;
    margin: 0 auto;
    max-width: none;
    width: calc(100% - 24px);
    padding: 12px 0;
  }

  .header-buttons {
    gap: 6px;
  }

  /* Button text switching for SP */
  .btn-text-pc {
    display: none;
  }

  .btn-text-sp {
    display: inline;
  }
}

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

.site-footer {
  background: #f8f8f8;
  padding: 60px 0 40px;
  font-family: var(--font-primary);
}

.site-footer .inner {
  max-width: 964px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.footer-logo {
  margin-bottom: 8px;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
  width: 133px;
}

.footer-tagline {
  font-size: 11px;
  color: var(--color-text);
  margin: 0 0 20px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-nav-link:hover {
  opacity: 0.7;
  text-decoration: none;
  color: var(--color-text);
}

.footer-banners {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  align-items: center;
}

.footer-banner {
  max-width: 100%;
  height: auto;
  max-height: 96px;
}

.footer-copyright {
  font-size: 10px;
  color: var(--color-text);
  margin: 0;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 30px;
  }

  .site-footer .inner {
    padding: 0 12px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
  }

  .footer-banners {
    gap: 15px;
    margin-bottom: 30px;
  }

  .footer-banner {
    max-width: 100%;
  }
}

/* ==========================================================================
   Front Page / Landing Page Styles
   ========================================================================== */

/* First View Section */
.fv-section {
  background: linear-gradient(104deg, #fcf2f7 11.87%, #ebf7fc 51.18%);
  padding: 60px 0;
  padding: 40px 0 0;
  text-align: center;
}

.fv-section .inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Common image cover styles */
.imgcover {
  text-align: center;
}

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

/* Common break point styles */
.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }
}

/* FV specific image styles */
.fv-imgcover {
  margin: 0 auto;
  max-width: 462px;
}

@media (max-width: 768px) {
  .fv-section {
    padding: 30px 0 0;
  }

  .fv-section .inner {
    padding: 0 12px;
  }
}

/* CTA Section */
.cta-section {
  padding: 60px 0;
  text-align: center;
}
.fv-cta {
  padding: 0 0 20px;
  transform: translateY(-14px);
}

.cta-section .inner {
  max-width: 964px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 30px;
  border-radius: 40px;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  border: 4px solid #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  z-index: -1;
  transition: transform 0.5s ease;
}

.cta-btn:hover::before {
  transform: translateX(50%);
}

.cta-btn:hover {
  text-decoration: none;
  color: #fff;
}

.cta-btn--trial {
  background: linear-gradient(
    95deg,
    #2683bd -6.06%,
    #1aa1b2 54.39%,
    #3ea84b 103.85%
  );
}

.cta-btn--trial::before {
  background: linear-gradient(
    95deg,
    #2683bd -6.06%,
    #1aa1b2 54.39%,
    #3ea84b 103.85%,
    #2683bd 100%
  );
}

.cta-btn--download {
  background: linear-gradient(
    95deg,
    #f59630 -6.06%,
    #f3b12e 54.39%,
    #f06c43 103.85%
  );
}

.cta-btn--download::before {
  background: linear-gradient(
    95deg,
    #f59630 -6.06%,
    #f3b12e 54.39%,
    #f06c43 103.85%,
    #f59630 100%
  );
}

.cta-icon-cover {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta-note {
  color: #949494;
  text-align: center;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 20px 0 0;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 40px 0;
  }
  .fv-cta {
    padding: 20px 0;
    transform: translateY(0px);
  }

  .cta-section .inner {
    padding: 0 12px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cta-btn {
    padding: 18px 24px;
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }
}

/* User Voice Banner Section */
.uservoice-banner-section {
  background: linear-gradient(180deg, #fff 0%, #eaf7fc 100%);
  padding: 20px 0 0;
  text-align: center;
}

.uservoice-banner-section .inner {
  max-width: 964px;
  margin: 0 auto;
  padding: 0 20px;
}

.uservoice-banner-imgcover {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.uservoice-banner-pc {
  display: block !important;
}

.uservoice-banner-sp {
  display: none !important;
}

/* Interview Button */
.interview-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #39a75e;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.interview-btn:hover {
  opacity: 0.9;
  text-decoration: none;
  color: #fff;
}

@media (max-width: 768px) {
  .uservoice-banner-section {
    padding: 10px 0 0;
  }

  .uservoice-banner-section .inner {
    padding: 0;
  }

  .uservoice-banner-pc {
    display: none !important;
  }

  .uservoice-banner-sp {
    display: block !important;
  }

  .interview-btn {
    bottom: 15px;
    right: 15px;
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* Simple Description Section */
.simple-description-section {
  background: linear-gradient(104deg, #fcf2f7 11.87%, #ebf7fc 51.18%);
  padding: 60px 0;
  text-align: center;
}

.simple-description-section .inner {
  max-width: 964px;
  margin: 0 auto;
  padding: 0 20px;
}

.simple-description-title {
  font-size: 20px;
  color: #393a3a;
  font-weight: 600;
  margin: 0 0 40px;
  font-family: var(--font-primary);
  letter-spacing: 2px;
}

/* Removed .sp-text and .pc-text - now using .pc-only and .sp-only for breaks */

.flow-imgcover {
  max-width: 858px;
  margin: auto; /* Specific styling for flow images can be added here */
}

.flow-pc {
  display: block !important;
}

.flow-sp {
  display: none !important;
}

@media (max-width: 768px) {
  .simple-description-section {
    padding: 40px 0;
  }

  .simple-description-section .inner {
    padding: 0 30px;
  }

  .simple-description-title {
    font-size: 18px;
  }
  .simple-description-title {
    margin-bottom: 20px;
  }

  /* Removed - using .pc-only and .sp-only instead */

  .flow-pc {
    display: none !important;
  }

  .flow-sp {
    display: block !important;
  }
}

/* Function Section */
.function-section {
  padding: 60px 0;
  text-align: center;
  background: #F9FCFD;
}

.function-section .inner {
  max-width: 890px;
  margin: 0 auto;
  padding: 0 20px;
}

.function-title {
  font-size: 24px;
  font-weight: 700;
  color: #393A3A;
  margin: 0;
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.function-title::before {
  content: "FUNCTION";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  color: #c9c9c9;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.service-logo-cover {
  display: inline-flex;
  align-items: center;
  max-width: 188px;
}

@media (max-width: 768px) {
  .function-section {
    padding: 60px 0;
  }

  .function-section .inner {
    padding: 0 12px;
  }

  .function-title {
    font-size: 20px;
    gap: 6px;
  }

  .function-title::before {
    font-size: 13px;
    top: -22px;
  }
}

/* Function Box Styles */
.function-box {
  display: flex;
  padding: 40px 60px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border-radius: 20px;
  background: #FFF;
  box-shadow: 6px 6px 14px 0px rgba(0, 0, 0, 0.04);
  margin-top: 30px;
  text-align: left;
}

.function-box-title {
  color: #2190B8;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 6px;
}

.function-box-desc {
  font-size: 15px;
  color: #393A3A;
  text-align: center;
  margin: 0 0 12px;
  line-height: 1.8;
  border-bottom: 1px dashed #939393;
  padding-bottom: 20px;
  width: 90%;
  margin: 0 auto;
}

.function-check-list {
  width: 100%;
  margin: 20px 0 20px;
  list-style: none;
  font-weight: 500;
  max-width: 440px;
}

.function-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.check-icon-cover {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
}

.function-highlight-box {
  width: 100%;
  padding: 20px 40px;
  align-items: center;
  background: #FEFFE8;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.function-highlight-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2190B8;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

.flair-icon-cover {
  width: 20px;
  height: 20px;
}

.function-highlight-desc {
  font-size: 15px;
  margin: 0;
}
@media (max-width: 768px) {
  .function-box {
    padding: 20px 12px;
    margin-top: 40px;
  }

  .function-box-title {
    font-size: 18px;
  }

  .function-box-desc {
    font-size: 15px;
    margin-bottom: 24px;
    text-align: left;
  }

  .function-check-list {
   padding-top: 0;
   margin-bottom: 0;
   margin-top: 0;
  }

  .function-check-item {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .function-highlight-box {
    padding: 16px 20px;
  }

  .function-highlight-title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .function-highlight-desc {
    font-size: 14px;
  }
}

/* Function Box Grid */
.function-box-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.function-box-grid .function-box{
   padding: 26px 18px;
}
.function-box-grid .function-box-desc{
   text-align: left;
   width: 100%;
}
.function-box-grid .function-check-list {
   margin: 20px 0 0;
}
.function-box-grid .function-check-item{
   margin-bottom: 0px;
}

.function-box-grid .function-box {
  margin-top: 0;
}

.function-box-note {
  font-size: 14px;
  color: #666;
  text-align: left;
  margin: 0;
}

@media (max-width: 768px) {
  .function-box-grid {
    grid-template-columns: 1fr;
  }
  .function-box-grid .function-check-list {
   margin-top: 0;
  }

  .function-box-note {
    font-size: 13px;
  }
}

/* Function CTA */
.function-cta {
  margin-top: 60px;
  text-align: center;
}

@media (max-width: 768px) {
  .function-cta {
    margin-top: 40px;
  }
}

/* User Voice Section */
.uservoice-section {
  background: linear-gradient(104deg, #FCF2F7 11.87%, #EBF7FC 51.18%);
  padding: 60px 0;
  text-align: center;
}

.uservoice-section .inner {
  max-width: 964px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Common h2 styles for uservoice section */
.uservoice-title,
.chart-quality-title,
.interview-title {
  font-size: 24px;
  font-weight: 700;
  color: #393A3A;
  margin: 0 0 30px;
  font-family: var(--font-primary);
  position: relative;
}

.uservoice-title::before {
  content: "USER VOICE";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  color: #C9C9C9;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.chart-quality-title {
  margin-top: 80px;
}

.chart-quality-title::before {
  content: "CHART QUALITY";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  color: #C9C9C9;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.chart-quality-desc {
  font-size: 16px;
  color: #393A3A;
  text-align: center;
  margin: 0 0 40px;
  line-height: 1.6;
}

.highlight-text {
  font-weight: 700;
  color: #2190B8;
}

.interview-title {
  margin-top: 80px;
}

.interview-title::before {
  content: "INTERVIEW";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  color: #C9C9C9;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

/* Image controls */
.uservoice-imgcover,
.quality-imgcover,
.interview-imgcover {
  margin: 0 auto;
  max-width: 774px;
}

.uservoice-pc,
.quality-pc,
.interview-pc {
  display: block !important;
}

.uservoice-sp,
.quality-sp,
.interview-sp {
  display: none !important;
}

@media (max-width: 768px) {
  .uservoice-section {
    padding: 60px 0;
  }

  .uservoice-section .inner {
    padding: 0;
  }

  .uservoice-title,
  .chart-quality-title,
  .interview-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .uservoice-title::before,
  .chart-quality-title::before,
  .interview-title::before {
    font-size: 13px;
    top: -22px;
  }

  .chart-quality-title,
  .interview-title {
    margin-top: 60px;
  }
  .uservoice-imgcover,
  .quality-imgcover {
   max-width: 84%;
  }

  .chart-quality-desc {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .uservoice-pc,
  .quality-pc,
  .interview-pc {
    display: none !important;
  }

  .uservoice-sp,
  .quality-sp,
  .interview-sp {
    display: block !important;
  }
}

/* Message Section */
.message-section {
  background-image: url('images/message-bgimg_pc.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 60px 0;
  text-align: center;
}

.message-section .inner {
  max-width: 964px;
  margin: 0 auto;
  padding: 0 20px;
}

.message-title {
  font-size: 24px;
  font-weight: 700;
  color: #393A3A;
  margin: 0 0 40px;
  font-family: var(--font-primary);
  position: relative;
}

.message-title::before {
  content: "MESSAGE";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  color: #C9C9C9;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.message-imgcover {
  margin: 0 auto 20px;
  max-width: 774px;
}

.message-pc {
  display: block !important;
}

.message-sp {
  display: none !important;
}

.message-author {
   font-size: 16px;
   font-weight: 700;
   color: #393A3A;
   max-width: 774px;
   text-align: left;
   margin: 0 auto 8px;
  font-family: var(--font-primary);
}

.message-text {
  font-size: 15px;
  color: #393A3A;
  line-height: 1.8;
  margin: 0 0 6px;
  max-width: 774px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.message-note {
   font-size: 12px;
   color: #666;
   margin: 0 auto;
   font-style: italic;
   text-align: left;
   max-width: 774px;
}

@media (max-width: 768px) {
  .message-section {
    background-image: url('images/message-bgimg_sp.png');
    padding: 60px 0;
  }

  .message-section .inner {
    padding: 0;
  }

  .message-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .message-title::before {
    font-size: 13px;
    top: -22px;
  }

  .message-pc {
    display: none !important;
  }

  .message-sp {
    display: block !important;
  }

  .message-author,
  .message-text,
  .message-note {
    font-size: 15px;
    margin-bottom: 6px;
    padding: 0 12px;
  }

  .message-text {
    font-size: 14px;
  }

  .message-note {
    font-size: 11px;
    margin: 0;
  }
}

/* Plan Section */
.plan-section {
  background: #F9FCFD;
  padding: 60px 0;
  text-align: center;
}

.plan-section .inner {
  max-width: 964px;
  margin: 0 auto;
  padding: 0 20px;
}

.plan-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px;
  font-family: var(--font-primary);
  position: relative;
}

.plan-title::before {
  content: "PLAN";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  color: #C9C9C9;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.plan-desc {
  font-size: 16px;
  color: #333;
  margin: 0 0 20px;
  line-height: 1.6;
}

.plan-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 760px;
  margin: 0 auto;
}

.plan-box {
  padding: 30px 0;
  border-radius: 20px;
  background: #FFF;
  box-shadow: 6px 6px 14px 0px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.plan-box-title {
  font-size: 20px;
  font-weight: 700;
  color: #2190B8;
  margin: 0;
  font-family: var(--font-primary);
}

.plan-price {
  font-size: 31px;
  font-weight: 500;
  color: #2190B8;
  margin: 0;
  font-family: var(--font-primary);
}

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

.price-more-small {
  font-size: 14px;
}

.plan-note {
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* Plan CTA */
.plan-cta {
  margin-top: 60px;
  text-align: center;
}

@media (max-width: 768px) {
  .plan-section {
    padding: 60px 0;
  }

  .plan-section .inner {
    padding: 0 36px;
  }

  .plan-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .plan-title::before {
    font-size: 13px;
    top: -22px;
  }

  .plan-desc {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .plan-boxes {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plan-box {
    padding: 25px 20px;
  }

  .plan-note {
    font-size: 12px;
  }

  .plan-cta {
    margin-top: 40px;
  }
}

/* Flow Section */
.flow-section {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}

.flow-section .inner {
  max-width: 964px;
  margin: 0 auto;
  padding: 0 20px;
}

.flow-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px;
  font-family: var(--font-primary);
  position: relative;
}

.flow-title::before {
  content: "FLOW";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  color: #C9C9C9;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.flow-desc {
  font-size: 16px;
  color: #333;
  margin: 0 0 26px;
  line-height: 1.8;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.flow-section .flow-imgcover {
  margin: 0 auto;
  max-width: 730px;
}

.flow-section .flow-pc {
  display: block !important;
}

.flow-section .flow-sp {
  display: none !important;
}

@media (max-width: 768px) {
  .flow-section {
    padding: 60px 0;
  }

  .flow-section .inner {
    padding: 0 32px;
  }

  .flow-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .flow-title::before {
    font-size: 13px;
    top: -22px;
  }

  .flow-desc {
    font-size: 15px;
    margin-bottom: 30px;
    text-align: left;
  }

  .flow-section .flow-pc {
    display: none !important;
  }

  .flow-section .flow-sp {
    display: block !important;
  }
}

/* FAQ Section */
.faq-section {
  background: #F9FCFD;
  padding: 60px 0;
  text-align: center;
}

.faq-section .inner {
  max-width: 964px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 40px;
  font-family: var(--font-primary);
  position: relative;
}

.faq-title::before {
  content: "Q&A";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  color: #C9C9C9;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

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

.faq-item {
  border-radius: 10px;
  border: 1px solid #D6D6D6;
  background: #FFF;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-q-mark {
  font-family: Roboto, sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #2190B8;
  margin-right: 15px;
  flex-shrink: 0;
}

.faq-q-text {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

.faq-toggle {
  width: 30px;
  height: 30px;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #393A3A;
  transition: transform 0.3s ease;
}

.faq-toggle::before {
  width: 16px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  width: 1px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #f8f9fa;
}

.faq-answer.open {
  max-height: 200px;
}

.faq-answer p {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  padding: 20px;
  margin: 0;
  text-align: left;
}

.faq-item.open .faq-toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }

  .faq-section .inner {
    padding: 0 12px;
  }

  .faq-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .faq-title::before {
    font-size: 13px;
    top: -22px;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-q-mark {
    font-size: 22px;
    margin-right: 10px;
  }

  .faq-q-text {
    font-size: 16px;
  }

  .faq-toggle {
    width: 25px;
    height: 25px;
  }

  .faq-toggle::before {
    width: 14px;
    height: 1px;
  }

  .faq-toggle::after {
    width: 1px;
    height: 14px;
  }

  .faq-answer p {
    font-size: 14px;
    padding: 15px;
  }
}

/* Big CTA Section */
.bigcta-section {
  background: linear-gradient(104deg, #fcf2f7 11.87%, #ebf7fc 51.18%);
  padding: 60px 0 0;
}

.bigcta-section .inner {
  max-width: 730px;
  margin: 0 auto;
  padding: 0 20px;
}

.bigcta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0 30px;
  align-items: center;
}

.bigcta-logo-cover {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  max-width: 295px;
  text-align: center;
}

.bigcta-text {
  grid-column: 1;
  grid-row: 2;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
  text-align: left;
}

.bigcta-buttons {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.bigcta-buttons .cta-btn {
  width: 100%;
  max-width: 300px;
  justify-content: center;
  border: none;
}

.bigcta-hand-cover {
  grid-column: 2;
  grid-row: 1 / -1;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  align-self: center;
}

@media (max-width: 768px) {
  .bigcta-section {
    padding: 60px 0;
  }

  .bigcta-section .inner {
    padding: 0 12px;
  }

  .bigcta-content {
    display: flex;
    flex-direction: column;
    gap:0;
    text-align: center;
  }

  .bigcta-logo-cover {
    margin-bottom: 16px;
    order: 0;
    max-width: 254px;
  }

  .bigcta-text {
    font-size: 16px;
    margin-bottom: 16px;
    order: 1;
    text-align: center;
  }

  .bigcta-hand-cover {
    max-width: 160px;
    order: 2;
  }

  .bigcta-buttons {
    order: 3;
  }
}

/* Contact Form Section */
.contact-section {
  background: #fff;
  padding: 80px 0 30px;
}

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

.contact-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 40px;
  font-family: var(--font-primary);
  position: relative;
  text-align: center;
}

.contact-title::before {
  content: "CONTACT";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  color: #C9C9C9;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

/* Contact Form 7 Styles */
.contact-form-wrapper .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* スクリーンリーダー用の重複エラーメッセージを非表示 */
.contact-form-wrapper .screen-reader-response {
  display: none;
}

/* バリデーションエラースタイル */
.contact-form-wrapper .wpcf7-not-valid-tip {
  display: block;
  color: #E55254;
  font-size: 14px;
  margin-top: 5px;
}

/* エラー時のフィールドボーダー色 */
.contact-form-wrapper .wpcf7-not-valid {
  border-color: #E55254;
}

/* 送信完了・エラーメッセージ */
.contact-form-wrapper .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.contact-form-wrapper .wpcf7-mail-sent-ng,
.contact-form-wrapper .wpcf7-validation-errors,
.contact-form-wrapper .wpcf7-spam-blocked {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.contact-form-wrapper .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-form-wrapper .form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.contact-form-wrapper .required-label {
  border-radius: 3px;
  background: #E55254;
  font-size: 12px;
  color: #fff;
  padding: 5px 8px;
  font-weight: 400;
  line-height: 1;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper input[type="number"],
.contact-form-wrapper textarea {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 100%;
  font-size: 16px;
  font-family: var(--font-primary);
  background: #fff;
  transition: border-color 0.3s ease;
}

.contact-form-wrapper input[type="text"]:focus,
.contact-form-wrapper input[type="email"]:focus,
.contact-form-wrapper input[type="tel"]:focus,
.contact-form-wrapper input[type="number"]:focus,
.contact-form-wrapper textarea:focus {
  outline: none;
  border-color: #2190B8;
}

.contact-form-wrapper textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-wrapper .radio-group,
.contact-form-wrapper .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 8px;
}

.contact-form-wrapper .radio-item,
.contact-form-wrapper .checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Contact Form 7のラジオボタン・チェックボックス用スタイル */
.contact-form-wrapper .wpcf7-form-control-wrap {
  display: inline-block;
}

.contact-form-wrapper .wpcf7-radio,
.contact-form-wrapper .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-form-wrapper .wpcf7-list-item {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.contact-form-wrapper .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.contact-form-wrapper input[type="radio"],
.contact-form-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2190B8;
}

/* Webkit系ブラウザ対応 */
.contact-form-wrapper input[type="radio"]:checked,
.contact-form-wrapper input[type="checkbox"]:checked {
  background-color: #2190B8;
  border-color: #2190B8;
}

.contact-form-wrapper .number-with-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form-wrapper .number-with-text input[type="number"] {
  max-width: 100px;
}

.contact-form-wrapper .privacy-check {
  margin: 0;
}

.contact-form-wrapper .privacy-check input[type="checkbox"] {
  margin-right: 8px;
}

.contact-form-wrapper .privacy-check .required-label {
  margin-left: 8px;
}

.contact-form-wrapper .submit-button {
  text-align: center;
  margin-top: 20px;
}

.contact-form-wrapper input[type="submit"] {
  display: inline-block;
  background: linear-gradient(95deg, #2683bd -6.06%, #1aa1b2 54.39%, #3ea84b 103.85%);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 18px 30px 18px 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin: 0 auto;
  transition: opacity 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-image: url('images/icon/send.svg'), linear-gradient(95deg, #2683bd -6.06%, #1aa1b2 54.39%, #3ea84b 103.85%);
  background-repeat: no-repeat;
  background-position: 20px center, center;
  background-size: 16px 16px, cover;
}

.contact-form-wrapper input[type="submit"]:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-section .inner {
    padding: 0 12px;
  }

  .contact-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .contact-title::before {
    font-size: 13px;
    top: -22px;
  }

  .contact-form-wrapper .radio-group,
  .contact-form-wrapper .checkbox-group {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form-wrapper .wpcf7-radio,
  .contact-form-wrapper .wpcf7-checkbox {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form-wrapper input[type="submit"] {
    padding: 16px 24px;
    font-size: 14px;
    width: 226px;
  }
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */

/* Article FV Section */
.article-fv {
  background: linear-gradient(104deg, #fcf2f7 11.87%, #ebf7fc 51.18%);
  padding: 0 0 40px;
}

.article-fv .inner {
  max-width: 964px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Featured Image */
.article-thumbnail {
  max-width: 858px;
  margin: 0 auto 30px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.article-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Clinic Card */
.clinic-card {
  background: #fff;
  display: flex;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 10px;
}

.clinic-card-image {
  flex-shrink: 0;
  width: 200px;
  height: auto;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
}

.clinic-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clinic-card-content {
  flex: 1;
  text-align: left;
  padding: 16px 20px 16px 0;
}

.clinic-name {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 6px;
}

.clinic-info-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0px 8px;
  margin: 0;
}

.clinic-info-list dt {
  font-weight: 600;
  color: #666;
}

.clinic-info-list dd {
  margin: 0;
  color: #333;
}

.clinic-info-list a {
  color: #2190B8;
  text-decoration: none;
}

.clinic-info-list a:hover {
  text-decoration: underline;
}

/* Article Content */
.article-content {
  background: #fff;
  padding: 30px 0 80px;
}

.article-content .inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Category Label */
.article-label {
  display: inline-block;
  background: #E55254;
  color: #fff;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 20px;
  margin-bottom: 8px;
}

/* Article Title */
.article-title {
  color: #393A3A;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 40px;
  line-height: 1.5;
}

/* Article Body Styles */
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.article-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 40px 0 20px;
  padding-left: 16px;
  position: relative;
  letter-spacing: 1px;
}

.article-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 20px;
  background: linear-gradient(180deg, #37A75F 0%, #228DB9 60.1%);
}

.article-body h4 {
  color: #2094B7;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 30px 0 15px;
  padding-left: 35px;
  position: relative;
}

.article-body h4::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #2094B7;
  font-family: Roboto, sans-serif;
  font-size: 22px;
  font-weight: 500;
}

.article-body dl {
  border-radius: 12px;
  background: #F9FCFD;
  padding: 30px;
  margin: 20px 0;
}

.article-body dt {
  color: #3EA84B;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0;
}

.article-body dd {
  margin: 0 0 15px 0;
  padding-left: 0;
}

.article-body dd:last-child {
  margin-bottom: 0;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 30px;
}

.article-body li {
  margin-bottom: 10px;
}

/* Share Section */
.article-share {
  margin-top: 60px;
}

.share-line {
  border-top: 1px solid #d4d4d4;
  margin-bottom: 20px;
}

.share-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.share-text {
  font-size: 14px;
  color: #666;
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.share-button:hover {
  opacity: 0.7;
}

.share-button img {
  width: 100%;
  height: 100%;
}

/* Back to Top Button */
.back-to-top {
  text-align: center;
  margin-top: 40px;
}

.back-to-top-btn {
  display: inline-block;
  background: linear-gradient(95deg, #2683bd -6.06%, #1aa1b2 54.39%, #3ea84b 103.85%);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 18px 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.back-to-top-btn:hover {
  opacity: 0.9;
  color: #fff;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .article-fv {
    padding: 0 0 30px;
  }

  .article-fv .inner {
    padding: 0;
  }

  .article-thumbnail {
    margin-bottom: 30px;
    border-radius: 0 0 10px 10px;
  }

  .clinic-card {
    flex-direction: column;
    gap: 6px;
    padding: 0;
    margin: 0 16px;
  }

  .clinic-card-image {
    width: 100%;
    height: 170px;
    border-radius: 10px 10px 0 0;
  }
  .clinic-card-content {
   padding: 4px 12px 12px;
  }

  .clinic-name {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .clinic-info-list {
    grid-template-columns: 100px 1fr;
    font-size: 14px;
    gap: 0 2px;
  }

  .article-content {
    padding: 20px 0 40px;
  }

  .article-content .inner {
    padding: 0 12px;
  }

  .article-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .article-body h2 {
    font-size: 18px;
    margin: 30px 0 15px;
  }

  .article-body h4 {
    font-size: 16px;
  }

  .article-body dl {
    padding: 12px;
  }

  .article-body dt {
    font-size: 16px;
  }

  .article-share {
    margin-top: 40px;
  }

  .back-to-top {
    margin-top: 30px;
  }

  .back-to-top-btn {
    padding: 16px 24px;
  }
}

/* ==========================================================================
   Archive Page Styles
   ========================================================================== */

/* ==========================================================================
   Thanks Page Styles
   ========================================================================== */

.thanks-page {
  background: linear-gradient(104deg, #fcf2f7 11.87%, #ebf7fc 51.18%);
  min-height: calc(100vh - 200px);
}

.thanks-section {
  padding: 80px 0;
  text-align: center;
}

.thanks-section .inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Thanks Icon */
.thanks-icon {
  margin-bottom: 30px;
}

/* Thanks Title */
.thanks-title {
  font-size: 32px;
  font-weight: 700;
  color: #393A3A;
  margin: 0 0 20px;
  letter-spacing: 2px;
}

/* Thanks Message */
.thanks-message {
  font-size: 16px;
  color: #393A3A;
  line-height: 1.8;
  margin: 0 0 60px;
}

/* Download Section */
.thanks-download {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.download-title {
  font-size: 24px;
  font-weight: 700;
  color: #2190B8;
  margin: 0 0 20px;
}

.download-desc {
  font-size: 16px;
  color: #393A3A;
  line-height: 1.8;
  margin: 0 0 30px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 30px;
  border-radius: 40px;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  background: var(--grd_online);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.download-btn:hover {
  opacity: 0.9;
  text-decoration: none;
  color: #fff;
}

.download-icon-cover {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Thanks CTA */
.thanks-cta {
  margin-top: 40px;
}

.thanks-cta .cta-text {
  font-size: 16px;
  color: #393A3A;
  margin-bottom: 30px;
  line-height: 1.8;
}

.thanks-cta .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.thanks-cta .cta-btn--top {
  background: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .thanks-page {
    min-height: calc(100vh - 150px);
  }

  .thanks-section {
    padding: 60px 0;
  }

  .thanks-section .inner {
    padding: 0 12px;
  }

  .thanks-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .thanks-message {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .thanks-download {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .download-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .download-desc {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .download-btn {
    padding: 16px 24px;
  }

  .thanks-cta {
    margin-top: 30px;
  }

  .thanks-cta .cta-text {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .thanks-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .thanks-cta .cta-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ==========================================================================
   Common Components
   ========================================================================== */

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

@media (max-width: 768px) {
}

@media (max-width: 480px) {
}
