/*
Theme Name: Lightning Child for mum不動産
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/
    body, html {
      margin: 0;
      padding: 0;
      font-family: 'Noto Sans JP', "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS ゴシック", "MS Gothic", sans-serif;
    }

    .fv {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .fv-bg-video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%);
      object-fit: cover;
      z-index: 1;
      filter: brightness(1);
    }

    .fv-overlay-pattern {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: transparent;
      background-image:
        radial-gradient(rgba(255, 255, 255, 0.75) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.75) 1px, transparent 1px);
      background-position: 0 0, 3px 3px;
      background-size: 6px 6px;
      z-index: 2;
      pointer-events: none;
    }

    .fv-overlay-gradient {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
      z-index: 3;
      pointer-events: none;
    }

    .fv-content {
      position: relative;
      z-index: 4;
      padding: 20px;
      max-width: 800px;
      width: 90%;
    }

    .fv-content h1 {
      font-size: 2.5rem;
      font-weight: bold;
      line-height: 1.4;
      margin-bottom: 1rem;
    }

    .fv-content p {
      font-size: 1.2rem;
      margin-bottom: 2rem;
    }

    .fv-button {
      display: inline-block;
      background: #2ecc71;
      color: white;
      font-size: 1.1rem;
      padding: 1rem 2rem;
      border-radius: 8px;
      text-decoration: none;
      transition: transform 0.2s, background 0.3s;
    }

    .fv-button:hover {
      transform: scale(1.05);
      background: #27ae60;
    }

    @media (max-width: 768px) {
      .fv-content h1 {
        font-size: 1.8rem;
      }

      .fv-content p {
        font-size: 1rem;
      }

      .fv-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
      }
    }
    .fv-logo {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 5;
    }

    .fv-logo img {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
    }

    @media (max-width: 768px) {
    .fv-logo img {
        width: 120px;
    }
    }
#typed-sub {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  background: #FFF;
  padding: 0.5em;
  font-weight: 900;
  color: #004ea2;
  font-size: 1.2em;
  line-height: 1.2em;
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: 0.3s;

}
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  #typed-h1 {
    font-size: 1.8rem;
  }

  #typed-sub {
    font-size: 1rem;
  }
}


.fixed-bottom-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10000;
  background: #ffeb3b;
  border-radius: 10px 10px 0px 0px;
  overflow: hidden;
  width: 100%;
  text-align: center;
}

.banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  font-weight: 900;
  color: #004ea2;
  background: #ffeb3b;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
}



.banner-button:hover {
  background: #ffe600;
  transform: scale(1.05);
}

.banner-icon {
  font-size: 1.4rem;
  margin-right: 0.6em;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .banner-button {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    flex-wrap: wrap;
  }

  .banner-icon {
    font-size: 1.2rem;
    font-weight: 900;
    margin-right: 0.4em;
  }
}

.fv-content svg path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawLine 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  stroke: #fff;
  fill: none;
  stroke-width: 1;
  stroke: rgba(255, 255, 255, 1);
}
@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.animate-fadeUp {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fadeUp.active {
  opacity: 1;
  transform: translateY(0);
}


/*section_01*/
.sec_01 {
  position: relative;
  padding: 100px 0 85px;
  background: #004ea2;
}
.sec_01 .bg {
  position: absolute;
  top: 100px;
  left: 0;
  width: calc(50% - -100px);
  height: 180px;
  background: url(./_g2/img/bg_01.png) repeat 0 0;
  background-size: 6px 6px;
}
.sec_inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0px 20px 0px 20px;
  box-sizing: border-box;
}
.sec_01 .ms {
    display: table;
    width: 100%;
    box-sizing: border-box;
}
.sec_01 .ls {
    display: block;
    float: none;
    padding: 20px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 0.04em;
    width: 100%;
    box-sizing: border-box;
}
.sec_01 .rs {
  display: block;
  float: none;
  width: 100%;
  padding: 0;
  color: #ffffff;
  box-sizing: border-box;
}
.ls span {
  font-size: 24px;
}
.rs {
  font-size: 15px;
  line-height: 1.75em;
}
.rs h2{
  font-size: 17px;
}

@media (min-width: 769px) {
  .sec_01 {
    position: relative;
    padding: 100px 0 85px 0;
    background: #004ea2;
  }
  .sec_01 .bg {
    position: absolute;
    top: 100px;
    left: 0;
    width: calc(50% - 127px);
    height: 300px;
    background: url(./_g2/img/bg_01.png) repeat 0 0;
    background-size: 6px 6px;
  }
  .sec_inner {
    position: relative;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0;
  }
  .sec_01 .ms {
      display: table;
      width: 100%;
  }
  .sec_01 .ls {
        display: table-cell;
        float: none;
        padding: 0 0 0 123px;
        color: #ffffff;
        font-size: 60px;
        font-weight: 700;
        line-height: 1.5em;
        letter-spacing: 0.04em;
        vertical-align: top;
        transform: translateY(-1px);
        width: 600px;
  }
  .sec_01 .rs {
    display: table-cell;
    float: none;
    width: 530px;
    padding: 0 75px 0 0;
    color: #ffffff;
    vertical-align: middle;
  }
  .ls span {
    font-size: 36px;
  }
  .rs {
    font-size: 15px;
    line-height: 1.75em;
  }
  .rs h2{
    font-size: 25px;
  }
}

/*intro section*/
.intro-section {
  padding: 60px 20px;
  background-color: #eee; /* 薄いグレーの背景 */
  background-image: 
    radial-gradient(#fff 1px, transparent 1px),
    radial-gradient(#fff 1px, transparent 1px);
  background-position: 0 0, 4px 4px; /* 互い違いに配置 */
  background-size: 8px 8px;
  font-weight: 500;
}

.intro-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1 1 500px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.intro-text h2 {
  font-size: 2.2rem;
  line-height: 1.5em;
  color: #004ea2;
  margin-bottom: 20px;
  font-weight: 900;
}

.intro-image {
  flex: 1 1 300px;
  text-align: center;
}

.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .intro-container {
    flex-direction: column-reverse;
    gap: 30px;
    text-align: left;
  }

  .intro-text h2 {
    font-size: 1.75rem;
  }

  .intro-text {
    font-size: 1rem;
  }
}

/* section2 */
.sec_02 {
  background-color: #004ea2;
  color: #fff;
  padding: 4rem 2rem;
}

.section-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 2rem;
}

.section-text {
  flex: 1;
  min-width: 300px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.section-subtitle {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.5rem;
  font-weight: bold;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 0.2rem;
}

.section-text p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.merits-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.merits-list li {
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 10px;
}

.section-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-image img {
  width: 90%;
  max-width: 400px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* モバイル対応 */
@media (max-width: 768px) {
  .section-inner {
    flex-direction: column;
  }

  .section-image {
    order: -1;
    margin-bottom: 2rem;
  }

  .section-image img {
    width: 70%;
  }
}
/* 左右反転用 */
.sec_02 .section-inner.reverse {
  flex-direction: row;
}
@media (max-width: 768px) {
  .sec_02 .section-inner.reverse {
    flex-direction: column;
  }
}


/* section 03 */
.sec_03 {
  background-color: #eee;
  background-image: 
    radial-gradient(#fff 0.8px, transparent 0.8px),
    radial-gradient(#fff 0.8px, transparent 0.8px);
  background-position: 0 0, 4px 4px;
  background-size: 8px 8px;
  color: #333;
  padding: 4rem 2rem;
  font-weight: 500;
}

.sec_03 .section-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 2rem;
}

.sec_03 .section-text {
  flex: 1;
  min-width: 300px;
}

.sec_03 .section-title {
  margin-bottom: 1rem;
  font-weight: 900;
  color: #004ea2;
  font-size: 2.2rem;
  line-height: 1.5em;
}

.sec_03 .section-subtitle {
  font-size: 2.0em;
  margin: 1.5rem 0 0.5rem;
  font-weight: 900;
  border-bottom: 2px solid #004ea2;
  display: inline-block;
  padding-bottom: 0.2rem;
}

.sec_03 .section-text p {
  line-height: 2.5;
  margin-bottom: 1rem;
  font-weight: 600;
}

.sec_03 .merits-list {
  list-style: disc inside;
  margin: 1rem 0 1rem 1rem;
  font-weight: 600;
}

.sec_03 .merits-list li {
  margin-bottom: 0.6rem;
  padding: 0.25rem;
}

.sec_03 .section-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sec_03 .section-image img {
  width: 90%;
  max-width: 400px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* モバイル対応 */
@media (max-width: 768px) {
  .sec_03 .section-inner {
    flex-direction: column;
  }

  .sec_03 .section-image {
    order: -1;
    margin-bottom: 2rem;
  }

  .sec_03 .section-image img {
    width: 70%;
  }
}
@media (min-width: 769px) {
  .sec_02 .section-inner {
    flex-direction: row-reverse;
  }
}
.sec_03 .section-inner.reverse {
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .sec_03 .section-inner.reverse {
    flex-direction: column-reverse;
  }
}


/* なぜ選ばれるのか？ */
.sec_04 {
  background-color: #004ea2;
  padding: 80px 20px;
  color: #fff;
}

.sec_04 .section-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.reason-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
  ｚwidth: 100%;
}

.reason-card h3 {
  font-size: 1.4rem;
  color: #004ea2;
  margin-bottom: 1rem;
  font-weight: 700;
}

.reason-card p {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  line-height: 2em;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* アニメーションをスクロールで表示 */
.reason-card {
  will-change: transform, opacity;
}
/* 横並びのカード全体 */
.reason-card.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

/* テキストエリア */
.card-text {
  flex: 1 1 60%;
  width: 100%;
}
.card-text h3{
  font-weight: 900;
  font-size: 1.75em;
  line-height: 1.25em;
}
/* 画像エリア */
.card-image {
  flex: 1 1 35%;
  text-align: center;
}

.card-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 左右反転用 */
.reason-card.card-row.reverse {
  flex-direction: row-reverse;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .reason-card.card-row {
    flex-direction: column;
  }
  .reason-card.card-row.reverse {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .pc-only{
    display: none;
  }
}
@media (min-width: 769px) {
  .sp-only{
    display: none;
  }
}


.sec_05 {
  background: #f9fbfd;
  padding: 3rem 1rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
}
.sec_05 .section-inner {
  max-width: 800px;
  margin: 0 auto;
}
.sec_05 .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #004a99;
  letter-spacing: 0.05em;
}

.sec_05 .faq-item {
  margin-bottom: 2.5rem;
}

.faq-bubble {
  display: flex;
  align-items:center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.05);
  line-height: 1.6;
}

.faq-question {
  background-color: #e6f0fc;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 900;
  font-size: 1.25em;
  color: #004a99;
  user-select: none;
}
.faq-question:hover {
  background-color: #c3dbfa;
}

.faq-answer {
  background-color: #f0f2f5;
  color: #555;
  margin-top: 0.8rem;
  font-weight: 400;
}

.faq-label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 2.2em;
  height: 2.2em;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
  user-select: none;
}

.faq-question .faq-label {
  background-color: #007acc;
}

.faq-answer .faq-label {
  background-color: #999;
}

/* テキスト部分 */
.faq-question,
.faq-answer {
  flex: 1;
}

.faq-question span,
.faq-answer span {
  margin-right: 0.5rem;
}

/* レスポンシブ調整 */
@media (max-width: 480px) {
  .faq-bubble {
    flex-direction: column;
    gap: 0.5rem;
  }
  .faq-label {
    min-width: 2em;
    height: 2em;
    font-size: 0.9rem;
  }
  .sec_05 .section-title {
    font-size: 1.6rem;
  }
}

.sec_06 {
  background: linear-gradient(to right, #eaf4ff, #f0f8ff);
  padding: 3rem 1.5rem;
  text-align: center;
  color: #003366;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 600;
}

.sec_07 {
  background: #004ea2;
  padding: 3rem 1.5rem;
  font-family: "Helvetica Neue", sans-serif;
  color: #333;
}
.sec_07 .section-inner {
  max-width: 900px;
  margin: 0 auto;
}
.sec_07 .section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #FFF;
}

.voice-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.voice-img img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #FFF;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.voice-comment {
  background: #f7faff;
  border-radius: 1rem;
  padding: 1.2rem 1.5rem;
  position: relative;
  flex: 1;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  font-weight: 600;
}

.voice-comment::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: -12px;
  border: 8px solid transparent;
  border-right-color: #f7faff;
}

.voice-comment .comment {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.voice-comment .profile {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #666;
}

/* モバイル対応 */
@media (max-width: 600px) {
  .voice-item {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  .voice-comment::before {
    top: -12px;
    left: 1.5rem;
    border: 8px solid transparent;
    border-bottom-color: #f7faff;
    border-right-color: transparent;
  }
}

.sec_08 {
  background-color: #fff;
  color: #003366;
  text-align: center;
  padding: 2rem 1.5rem 0rem 1.5rem;
  border-top: 1px solid #eee;
}

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

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #004a99;
  margin-bottom: 1.2rem;
}

.cta-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 2rem;
}

.cta-button-wrap {
  display: flex;
  justify-content: center;
}

.cta-button {
  background-color: #007acc;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
}

/* モバイル対応 */
@media (max-width: 480px) {
  .cta-title {
    font-size: 1.6rem;
  }
  .cta-text {
    font-size: 1rem;
  }
  .cta-button {
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
  }
}




.site-footer {
  background-color: #004ea2;
  color: #fff;
  padding: 3rem 1.5rem;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
}

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

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

.footer-block p {
  margin: 0;
  line-height: 1.7;
}

.footer-block a {
  color: #ffe;
  text-decoration: underline;
  word-break: break-all;
}

.footer-block a:hover {
  color: #ffecb3;
}

/* 横並び (PC) */
@media (min-width: 768px) {
  .footer-contact {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
  }
  .footer-block {
    flex: 1;
    min-width: 0;
  }
}

.footer-message {
  margin-top: 2.5rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  font-size: 1rem;
  color: #fff;
}

/* モバイル調整 */
@media (max-width: 767px) {
  .footer-message {
    font-size: 0.95rem;
    text-align: left;
  }
}

/*フォーム*/
#contact {
  max-width: 640px;
  margin: 3rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.wpcf7-form p {
  margin-bottom: 1.8rem;
}

.wpcf7-form label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.4rem;
  color: #333;
  font-size: 0.95rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.3s, box-shadow 0.3s;
  background-color: #fff;
      box-sizing: border-box;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #004ea2;
  box-shadow: 0 0 0 3px rgba(0, 78, 162, 0.2);
  outline: none;
}

.wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7-submit {
  display: inline-block;
  background-color: #004ea2;
  color: #fff;
  font-weight: bold;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
}

.wpcf7-submit:hover {
  background-color: #003570;
  transform: translateY(-2px);
}

.wpcf7-response-output {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #d33;
}
.hidden-fields-container {
    display: none;
}
.screen-reader-response{
    display: none;
}

/* モバイル対応 */
@media (max-width: 600px) {
  #contact {
    padding: 1.5rem 1rem;
  }
}