/*
lp_v02
-------------------------- */

.cta_fixed_main .cta_fixed_tel {
  background: none;
  text-indent: inherit;
}

.cta_fixed_main .cta_fixed_listBtn li:nth-of-type(1),
.cta_fixed_main .cta_fixed_listBtn li:nth-of-type(2),
.cta_fixed_main .cta_fixed_listBtn li:nth-of-type(3) {
  width: inherit;
  order: inherit;
  margin: 10px 5px;
}

html {
  scroll-behavior: smooth;
}

.tabs {
  display: flex;
}

.tab.active {
  background-color: #5C6ECC !important;
  color: #fff;
}

.tab {
  flex: 1;
  padding: 15px 10px;
  cursor: pointer;
  border: none;
  outline: none;

  background: #D6DBFF;
  transition: background-color 0.3s, color 0.3s;

  border-radius: 8px 8px 0 0;
  margin: 0 1px 0 0;

  line-height: 1.3;
  font-weight: bold;
  color: #222;
}

.tabs .tab:last-child {
  margin: 0;
}

.tab:hover {
  opacity: 0.7;
}

.tabs-container {
  background: #17256D;
  padding: 10px;
}

.tabs-container._price {
  background: none;
  margin: 0 0 60px 0;
  padding: 0;
}

.tabs-container._price li {
  margin: 0 10px 20px 0;
}

.tabs-container._price li:last-child {
  margin: 0;
}

.tab-content {
  display: none;
  padding: 20px;
  background-color: #ecf0f1;

  border-top: 4px solid #5D6ECC;
  transition: opacity 0.5s;
}

.tab-content ul {
  display: flex;
  align-items: baseline;
}

.tab-content .single li {
  width: 100%;
  text-align: center;
}

.tab-content .single img {
  width: 55%;
}

.tab-content p {
  margin: 0 0 20px 0;
}

.tab-content p:last-child {
  margin: 0;
}

.p_top .blk01 .tab-content h2 {
  font-size: 1.2em;
  margin: 0 0 20px 0;
}

.tab-content.active {
  display: block;
  opacity: 0;
}

.tab-content.fade-in {
  opacity: 1;
}

.p_top.v02 .faq dl dt {
  border-radius: 10px;
  background: #f6f8ff;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.375;
  text-align: left;
  color: #0d2561;
  padding: 18px 50px 18px 30px;
  position: relative;
  cursor: inherit;
  transition: opacity 0.3s;
}

.p_top.v02 .faq .accCt {
  margin: 10px 0 30px 0;
  padding: 10px;
}

.p_top.v02 .faq .accCt p {
  color: #fff;
  font-size: .9em;
}

@media screen and (min-width: 769px), print {

  .v02 {
    padding: 0;
  }

  .p_top.v02 .blk04 .list01 li {
      width: auto;
  }

  .p_top.v02 ._sp {
    display: none;
  }

}

@media screen and (max-width: 768px) {
  .p_top.v02 .cta .cta_main .cta_tt_sub img {
    width: 70vw;
  }

  .p_top.v02 .cta .cta_main .cta_point {
    margin: 30px 30px 0 30px;
  }

  .tabs-container._price li {
    margin: 0 0 20px 0;
  }

  .tab-content .single img {
    width: 100%;
  }

  .tabs-container._price {
    margin: 0 0 30px 0;
  }

  .p_top.v02 .tab-content ul {
    display: block;
  }

  .tab,
  .tab-content {
    font-size: .9em;
  }

  #header {
    display: none!important;
  }

}

@media screen and (min-width: 769px), print {

  .p_top.v02 .header {
    top: inherit;
    bottom: 0;

    transition: opacity 0.5s ease;
    opacity: 0; /* 初期状態は非表示 */
    z-index: 1000; /* 他の要素の上に表示 */
    display: none; /* 初期状態で非表示に */
  }

  .p_top.v02 .header_main h1 {
    text-align: center;

    font-size: .6em;
    color: #232E79;
  }

  .p_top.v02 .header_main h1 {
      display: inline-block;
      width: 192px;
      max-width: 25vw;
  }

  .p_top.v02 .cta .cta_main .cta_tt_sub img {
      width: 310px;
  }

  .p_top.v02 .cta .cta_main .cta_point {
    margin: 30px 0 0 0;
  }

}

@media screen and (min-width: 769px) and (max-width: 1000px) and (min-width: 769px) {

}


/* modal_window */
body.modal-open {
  overflow: hidden;
}
#openModal {
  font-size: .8em;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20vh 0;
  z-index: 100;
}
.modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 60vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
.modal-header h2 {
  margin: 0;
  font-size: 1.2em;
}
.p_top .form .modal-header button {
  width: 30px;
  color: #222;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  max-height: 50vh;

  text-align: left;
}
.modal-body h3 {
  background: #f5f5f5;
  margin: 0 0 20px 0;
  padding: 10px;
  font-size: 1em;
}
.modal-body h4 {
  margin: 0 0 20px 10px;
  padding: 0 0 10px 0;
  font-size: .9em;
  border-bottom: 1px dotted #ccc;
}
.modal-body p,
.modal-body ul,
.modal-body ol {
  margin: 0 0 20px 0;
  padding: 0 10px;
  font-size: .9em;
}
.modal-body ul li {
  list-style: disc;
  margin: 0 0 0 20px;
}
.modal-body ul li::marker {
  margin: 0 0 0 -20px;
  font-size: 0.8em;
}
.modal-body ol {
  counter-reset: custom-counter;
  margin: 0 0 0 20px;
}
.modal-body ol li {
  margin: 0 0 20px 0;
  counter-increment: custom-counter;
}
.modal-body ol li::before {
  content: counter(custom-counter) ". ";
  margin: 0 0 0 -15px;
}
.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.fixed-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
  }
}


/* msg_box 20250327_add
------------------------- */

.msg_box {
  background: url("https://hirose-sakujo24.com/01/wp-content/themes/hirose/img/bg_message.jpg") no-repeat 0 0 / cover;
  padding: 60px 0;
}
.msg_box .inner {
  max-width: 1000px;
  background: #fff;
  padding: 20px;
}

.msg_box .inner {
  clear: both;
}

.msg_box .img_box {
  float: left;
  width: 300px;
  margin: 0 20px 0 0;
}

.msg_box .ttl,
.msg_box .message {
  float: left;
  width: 640px;
}

.msg_box .inner:after {
  content: "";
  display: block;
  clear: both;
}

.msg_box .txt01 small {
  display: block;

  font-size: .8em;
}
.msg_box .txt01 .name01 {
  display: inline-block;
  font-size: 1.4em;
}
.msg_box .txt01 .name02 {
  display: inline-block;
  margin: 0 0 0 10px;

  font-size: 1.2em;
}
.msg_box .txt02 {
  font-size: .8em;
  margin: 5px 0 15px 0;
}
.msg_box .txt02 .name02 {
  margin: 0 0 10px 0;

  font-size: 1.2em;
}
.msg_box .message p {
  margin: 0 0 15px 0;

  line-height: 1.6;
  font-size: .9em;
}
.msg_box .message p:last-child {
  margin: 0;
}
._pc {
  display: block;
}
._sp {
  display: none;
}

@media (max-width: 767px) {
  .msg_box {
    background: url("https://hirose-sakujo24.com/01/wp-content/themes/hirose/img/bg_message_sp.jpg") no-repeat 0 0 / cover;
    margin: 0;
    padding: 20px 20px 40px 20px;
  }
  .msg_box .img_box {
    float: left;
    width: 40%;
    margin: 0 20px 0 0;
  }
  .msg_box .ttl {
    float: left;
    width: 52%;
    margin: 10px 0 0 0;
  }
  .msg_box .ttl:after {
    content: "";
    display: block;
    clear: both;
  }
  .msg_box .message {
    float: none;
    width: 100%;
  }
  .msg_box .txt01 .name02 {
    font-size: 1em;
    margin: 0;
  }
  .msg_box .txt02 {
    margin: 20px 0;
  }
  ._pc {
    display: none;
  }
  ._sp {
    display: block;
  }
}

@media (width: 912px) {
  .msg_box .ttl,
  .msg_box .message {
      width: 550px;
  }
}
@media (width: 820px) {
  .msg_box .ttl,
  .msg_box .message {
      width: 400px;
  }
}
@media (width: 853px) {
  .msg_box .ttl,
  .msg_box .message {
      width: 450px;
  }
}
@media (width: 414px),
(width: 393px),
(width: 390px),
(width: 375px) {
  .msg_box .ttl {
    margin: 0;
  }
}

@media (width: 414px) {
    .msg_box .txt02 {
      margin: 20px 0;
    }
}
@media (width: 393px) {
    .msg_box .txt02 {
      margin: 15px 0;
    }
}
@media (width: 390px) {
    .msg_box .txt02 {
      margin: 12px 0;
    }
}
@media (width: 375px) {
    .msg_box .txt02 {
      margin: 5px 0 20px 0;
    }
}


/*
lp_v03
-------------------------- */

/* 20250503_add */

/* .speed */
.speed {
  width: 100%;
}
.speed h2 {
  width: fit-content;
  margin: 40px auto;

  text-align: center;
  font-weight: bold;
}
.speed p {
  width: fit-content;
  margin: 0 auto 40px auto;
  text-align: center;
}
.speed .point {
  display: block;
  background: #232E79;
  width: fit-content;
  margin: 5px auto;
  padding: 0 5px;

  line-height: 1.6;
  color: #fff;
  font-weight: bold;
}

@media screen and (max-width:678px) {

  .speed h2 {
    margin: 20px auto;
  }
  .speed .img_box {
    padding: 0 10px;
  }

}

/* achievements */
.p_top .blk03 ul li {
  width: inherit;
}
.achievements {
  width: 100%;

  border: 4px solid #1D2867;
  margin: 0;
  padding: 20px;

  font-size: .9em;
}
.achievements h3 {
  margin: 0 0 20px 0;

  text-align: center;

  font-weight: bold;
  font-size: 1.2em;
}
.achievements p {
  margin: 0 0 20px 0;
  line-height: 1.6;
}
.achievements p:last-child {
  margin: 0;
}
.achievements .item_box {
  display: flex;
  margin: 0 0 20px 0;
}
.achievements .item_box .img_box {
  width: 90%;
  margin: 0 20px 0 0;
}

@media screen and (max-width:678px) {

  .achievements .item_box {
    display: block;
  }
  .achievements .item_box .img_box {
    width: 90%;
    margin: 0 auto 20px auto;
  }

}


/* splution */
.common_box {
  width: 100%;
  padding: 40px;
}
.common_box._purple {
  background: #D6DBFF;
}
.solution {
  padding: 10px 0;
  text-align: center;
}

@media screen and (max-width:678px) {
  .common_box {
    padding: 20px 15px;
  }
  .danger {
    margin: 0 0 30px 0;
  }
  .solution {
    padding: 0;
  }
}
