/* ===================================
   リセットCSS & 基本設定
   =================================== */
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

html {
  scroll-behavior: smooth !important; 
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
strong {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
}

p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
  overflow-x: hidden;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.3s;
}

button:hover {
  opacity: 0.8;
}

/* PC/SP表示切り替え */
.pc-only {
  display: flex !important;
}

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

/* PC/SP画像出し分け用 */
img.sp {
  display: none;
  width: 100%;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}

.full-width-img {
  width: 100%;
  display: block;
}

@media screen and (max-width: 1024px) {
  /* PC/SP表示切り替え */
  .pc-only {
    display: none !important;
  }
  
  .sp-only {
    display: flex !important;
  }
  
  /* PC/SP画像出し分け用 */
  img.pc {
    display: none;
  }
  
  img.sp {
    display: flex;
  }
  
  .container {
    padding: 0 15px;
  }
}

/* ===================================
   ヘッダー
   =================================== */
.site-content {
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease, bottom 0.3s ease;
}

/* SP用: スクロール時の下部固定 */
@media screen and (max-width: 1024px) {
  .site-content.scroll-active {
    top: auto;
    bottom: 0;
  }
  
  .site-content.at-top {
    top: 0;
    bottom: auto;
  }
}

.site-content .container {
  padding: 0; /* ヘッダー内ではcontainerのpaddingを無効化 */
}

.header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  flex-shrink: 0;
  width: 45%;
}

.header__logo img {
  width: 100%;
  height: auto;
}

.header__contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.header__mail-btn {
  flex-shrink: 0;
  width: 45%;
  transition: transform 0.2s ease;
}

.header__mail-btn:hover{
  cursor: pointer;
  transform: translateY(4px);
}

.header__mail-btn img {
  width: 100%;
}

.header__tel-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.header__tel-info span {
  width: 100%;
  border-top: 4px dotted #ff8800;
}

/* 電話番号共通スタイル */
.header__tel-number-pc,
.header__tel-number-sp {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #ff8800;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* PC用電話番号を表示、SP用を非表示 */
.header__tel-number-pc {
  display: block;
}

.header__tel-number-sp {
  display: none;
}

/* SP用調整 */
@media screen and (max-width: 1024px) {
  /* PC用電話番号を非表示、SP用を表示 */
  .header__tel-number-pc {
    display: none;
  }
  
  .header__tel-number-sp {
    display: block;
    font-size: 22px;
  }
}

.header__tel-hours {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #333333;
  margin: 4px 0 0 0;
  line-height: 1;
  text-align: center;
}

/* SP用調整 */
@media screen and (max-width: 1024px) {
  .site-content .container {
    padding: 0; /* ヘッダー内ではcontainerのpaddingを無効化 */
  }
  
  .header__inner {
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  
  .header__logo {
    width: 100%;
  }
  
  .header__logo img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  
  .header__contact {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px 10px;
  }
  
  .header__mail-btn {
    width: 40%;
  }
  
  .header__mail-btn img {
    width: 100%;
  }
  
  .header__tel-info {
    align-items: center;
    gap: 4px;
    display: flex;
  }
  
  .header__tel-number {
    font-size: 22px;
  }
  
  .header__tel-hours {
    font-size: 14px;
  }

  .site-content.scroll-active .header__logo img.sp {
    content: url('../img/header-sp_01.png');
  }
}

/* ===================================
   セクション共通
   =================================== */
.section {
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #e60012;
  margin-bottom: 40px;
  line-height: 1.4;
}

@media screen and (max-width: 1024px) {
  .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
}

/* ===================================
   メインコンテンツ
   =================================== */
.main-inner {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #ffffff;
}

/* ===================================
   メインビジュアル
   =================================== */
.mv {
  background-color: #ffffff;
}

.mv__image {
  width: 100%;
}

.faq__image {
  width: 100%;
}

@media screen and (max-width: 1024px) {
  .faq__title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .faq__inner {
    padding: 0 15px;
  }
}

/* ===================================
   電話誘導セクション
   =================================== */
.tel-frow__inner {
  position: relative;
}

.tel-frow__image {
  width: 100%;
}

/* ===================================
   ボタン(PC/SP共通)
   =================================== */
.tel-pc,
.tel-sp {
  position: absolute;
  top: 31%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  z-index: 10;
}

.tel-pc img,
.tel-sp img {
  width: 100%;
  height: auto;
}

/* PC用を表示、SP用を非表示 */
.tel-pc {
  display: block;
}

.tel-sp {
  display: none;
}

/* 電話番号テキスト */
.tel-number {
  position: absolute;
  top: 65%;
  left: 53%;
  transform: translate(-50%, -50%);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #333333;
  white-space: nowrap;
  margin: 0;
  pointer-events: none;
}

/* SP用調整 */
@media screen and (max-width: 1024px) {
  /* PC用を非表示、SP用を表示 */
  .tel-pc {
    display: none;
  }
  
  .tel-sp {
    display: block;
  }
  
  .tel-sp,
  .tel-sp {
    width: 80%; 
    top: 37%;
  }
  
  .tel-number {
    font-size: 21px;
    top: 75%;
    left: 55%;
  }
}

/* ===================================
   電話・メール誘導セクション
   =================================== */
.tel-mail-flow__inner {
  position: relative;
}

.tel-mail-flow__image {
  width: 100%;
}

.tel-mail-flow__buttons {
  position: absolute;
  top: 63%;
  left: 51%;
  transform: translate(-50%, -50%);
  width: 65%;
  display: flex;
  flex-direction: column;
  gap: 35px;
  z-index: 10;
}

.tel-mail-btn {
  position: relative;
  width: 100%;
  transition: transform 0.2s ease;
}

.tel-mail-btn--mail:hover{
  cursor: pointer;
  transform: translateY(4px);
}

.tel-mail-btn img {
  width: 100%;
  height: auto;
}

/* PC用を表示、SP用を非表示 */
.tel-mail-btn--tel-pc {
  display: block;
}

.tel-mail-btn--tel-sp {
  display: none;
}

/* 電話番号テキスト(電話ボタンのみ) */
.tel-mail-btn__number {
  position: absolute;
  top: 65%;
  left: 53%;
  transform: translate(-50%, -50%);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #333333;
  white-space: nowrap;
  margin: 0;
  pointer-events: none;
}

/* SP用調整 */
@media screen and (max-width: 1024px) {
  /* PC用を非表示、SP用を表示 */
  .tel-mail-btn--tel-pc {
    display: none;
  }
  
  .tel-mail-btn--tel-sp {
    display: block;
  }
  
  .tel-mail-flow__buttons {
    width: 80%;
    gap: 15px;
    top: 67%;
    left: 50%;
  }
  
  .tel-mail-btn__number {
    font-size: 21px;
    top: 75%;
    left: 57%;
  }
}

/* ===================================
   ご相談実績
   =================================== */
.case__inner {
  padding: 100px;
}

.case__wrap {
  display: flex;
  flex-direction: row;
}

.case__item {
  flex: 1;
  width: 100%;
}

.case-slider__prev,
.case-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #e60012;
  font-size: 40px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.case-slider__prev {
  left: 20px;
}

.case-slider__next {
  right: 20px;
}

.case-slider__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.case-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
}

.case-slider__dot.active {
  background-color: #e60012;
  transform: scale(1.2);
}

.case-slider__dot:hover {
  background-color: #e60012;
}

@media screen and (max-width: 1024px) {
  .case__inner {
    padding: 0;
  }

  .case__wrap {
    display: flex;
    flex-direction: column;
  }
  
  .case__title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .case-slider__prev,
  .case-slider__next {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
  
  .case-slider__prev {
    left: 10px;
  }
  
  .case-slider__next {
    right: 10px;
  }
}

/* ===================================
   ご相談の流れセクション
   =================================== */
.frow__step-one {
  position: relative;
  width: 100%;
}

.frow__buttons {
  position: absolute;
  bottom: 8%; 
  left: 64%;
  transform: translateX(-50%);
  width: 45%;
  display: flex;
  flex-direction: row; 
  gap: 20px;
  z-index: 10;
}

.frow-btn {
  position: relative;
}

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

/* PC用を表示、SP用を非表示 */
.frow-btn--tel-pc {
  display: block;
}

.frow-btn--tel-sp {
  display: none;
}

/* 電話番号テキスト(電話ボタンのみ) */
.frow-btn__number {
  position: absolute;
  top: 75%;
  left: 56%;
  transform: translate(-50%, -50%);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #333333;
  white-space: nowrap;
  margin: 0;
  pointer-events: none;
}

.frow-btn--mail{
   transition: transform 0.2s ease;
}

.frow-btn--mail:hover{
  cursor: pointer;
  transform: translateY(4px);
}

/* SP用調整 */
@media screen and (max-width: 1024px) {
  /* PC用を非表示、SP用を表示 */
  .frow-btn--tel-pc {
    display: none;
  }
  
  .frow-btn--tel-sp {
    display: block;
  }
  
  .frow__buttons {
    flex-direction: column;
    width: 84%;
    gap: 15px;
    bottom: 6%;
    left: 50%;
  }
  
  .frow-btn {
    flex: none;
    width: 100%;
  }
  
  .frow-btn__number {
    font-size: 21px;
    top: 75%;
    left: 55%;
  }
}

/* ===================================
   よくあるご質問
   =================================== */
.faq {
  background-color: #F9F5EF;
  padding: 80px 0;
}

.faq__title {
  text-align: center;
  margin-bottom: 50px;
}

.faq__title img {
  max-width: 430px;
  margin: 0 auto;
}

.faq__inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq__item {
  background-color: #F9F5EF;
  overflow: hidden;
  border-bottom: 1px solid #333333;
}

.faq__question {
  display: flex;
  align-items: center;
  padding: 32px 0;
  cursor: pointer;
  position: relative;
}

.faq__question:hover {
  background-color: none;
}

.faq__q-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-right: 20px;
}

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

.faq__q-text {
  flex: 1;
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  line-height: 1.6;
  margin: 0;
}

.faq__toggle {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  position: relative;
  margin-left: 20px;
}

.faq__toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid #333333;
  transition: transform 0.3s;
}

.faq__item.is-open .faq__toggle::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.faq__answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 0 24px;
}

.faq__answer {
  display: flex;
  align-items: flex-start;
  margin-top: 0;
}

.faq__a-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-right: 20px;
}

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

.faq__a-text {
  flex: 1;
}

.faq__a-text p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

@media screen and (max-width: 1024px) {
  .faq {
    padding: 50px 0;
  }
  
  .faq__title {
    margin-bottom: 30px;
  }
  
  .faq__title img {
    max-width: 70%;
  }
  
  .faq__inner {
    padding: 0 15px;
  }
  
  .faq__item {
    margin-bottom: 0;
  }
  
  .faq__question {
    padding: 20px 15px;
  }
  
  .faq__q-icon {
    width: 35px;
    height: 35px;
    margin-right: 12px;
  }
  
  .faq__q-text {
    font-size: 15px;
  }
  
  .faq__toggle {
    width: 24px;
    height: 24px;
    margin-left: 10px;
  }
  
  .faq__toggle::before {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #333333;
  }
  
  .faq__answer {
    padding: 0 15px;
  }
  
  .faq__item.is-open .faq__answer {
    padding: 0 15px 20px;
  }
  
  .faq__a-icon {
    width: 35px;
    height: 35px;
    margin-right: 12px;
  }
  
  .faq__a-text p {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* ===================================
   フッター
   =================================== */

.site-footer {
  margin-top: 60px;
}

.site-footer ul, 
.site-footer ol {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.site-footer {
  width: 100%;
  padding: 0 10px;
  border-top: 1px solid #919191;
}

.site-footer__inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
}

.site-footer-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 0;
}

.site-footer-info__logo {
  margin: 0;
  flex-shrink: 0;
}

.site-footer-info__logo img {
  width: 100px;
  height: auto;
}

.site-footer-info__nav {
  font-size: 14px;
  flex: 1 0 0%;
}

.site-footer-info__nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 12px 0;
  padding: 0;
  list-style: none;
}

.site-footer-info__nav__list:last-child {
  margin-bottom: 0;
}

.site-footer-info__nav__list > li {
  padding: 0 0 0 16px;
  text-decoration: none;
  color: #333;
}

.site-footer-info__nav__list > li:first-child {
  padding-left: 0;
}

.site-footer-info__nav__list > li a {
  text-decoration: none;
}

.site-footer-info__nav__list > li > a:hover {
  text-decoration: underline;
  color: #FBB03C;
}

.site-footer-info__nav__list > li .icon_new_window {
  width: 14px;
  height: 14px;
}

.site-footer-copy {
  display: none;
  margin: 16px 0;
}

.site-footer-copy small {
  font-size: 12px;
}

ul.site-footer-info__nav__list {
  margin-bottom: 12px;
}

.navi-pagetop{
  display: none;
}

/* SP用調整 */
@media (max-width: 1024px) {
  .site-footer {
    width: 100%;
    padding: 0 10px;
    min-width: 100%;
    padding-bottom: 100px;
    border-top: 1px solid #919191;
  }

  .site-footer.simple-footer {
    padding-bottom: 0;
  }

  .site-footer__inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
  }

  .site-footer-info {
    display: block;
    padding: 16px 0 24px;
  }

  .site-footer-info__logo {
    text-align: center;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  .site-footer-info__logo img {
    width: 100px;
    height: auto;
  }

  .site-footer-info__nav {
    position: relative;
    overflow: hidden;
    margin: 0 0 24px;
  }

  .site-footer-info__nav__list {
    display: inline;
    letter-spacing: -.4em;
    margin: 0;
  }

  .site-footer-info__nav__list > li {
    display: inline-block;
    letter-spacing: normal;
    padding: 0;
  }

  .site-footer-info__nav__list > li > a {
    font-size: 12px;
    display: block;
    padding: 4px 6px;
  }

  .site-footer-info__nav__list > li > a .icon_new_window {
    width: 12px;
    height: 12px;
  }

  .site-footer-copy {
    margin: 0 0 16px;
    text-align: center;
    line-height: 1;
  }

  .site-footer-copy small {
    font-size: 10px;
  }
}

/* ===================================
   モーダル
   =================================== */
@-webkit-keyframes fadeInmodal {
  from {
    background-color: rgba(0, 0, 0, 0);
  }
  to {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@keyframes fadeInmodal {
  from {
    background-color: rgba(0, 0, 0, 0);
  }
  to {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@-webkit-keyframes fadeOutmodal {
  from {
    background-color: rgba(0, 0, 0, 0.5);
  }
  to {
    background-color: rgba(0, 0, 0, 0);
  }
}

@keyframes fadeOutmodal {
  from {
    background-color: rgba(0, 0, 0, 0.5);
  }
  to {
    background-color: rgba(0, 0, 0, 0);
  }
}

.modal {
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 99999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-animation: fadeInmodal 0.4s forwards;
          animation: fadeInmodal 0.4s forwards;
}

.modal.hide {
  -webkit-animation: fadeOutmodal 0.4s forwards;
          animation: fadeOutmodal 0.4s forwards;
}

.modal-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: relative;
  width: 350px;
  background-color: #fff;
  border-radius: 18px;
}

@-webkit-keyframes slideFadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

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

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

.modal-container.show {
  -webkit-animation: slideFadeIn 0.4s cubic-bezier(0, 0, 0.2, 1);
          animation: slideFadeIn 0.4s cubic-bezier(0, 0, 0.2, 1);
}

.modal-container.hide {
  -webkit-animation: slideFadeOut 0.4s cubic-bezier(0, 0, 0.2, 1);
          animation: slideFadeOut 0.4s cubic-bezier(0, 0, 0.2, 1);
}

.modal-container .modal-title {
  width: 100%;
  padding: 35px 51px 11px;
  letter-spacing: 0.03em;
}

.modal-container p {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 25.5px;
}

.modal-container .modal-options {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  padding: 0 26.5px 16px;
  margin-bottom: 10px;
}

.modal-container .modal-options .option {
  width: 140px;
  height: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  text-decoration: unset;
  border: 1px solid #0000ff;
  border-radius: 4px;
  color: #0000ff;
  -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2), 0px 1px 4px rgba(0, 0, 0, 0.2), 0px 4px 6px rgba(0, 0, 0, 0.2);
          box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2), 0px 1px 4px rgba(0, 0, 0, 0.2), 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.modal-container .modal-options .confirm {
  font-weight: 700;
}

.modal-close {
  color: #000000;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 15px;
  right: 23px;
  cursor: pointer;
}