@charset "utf-8";

/* 横スクロール防止 */
html,
body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font: normal 18px/1.7 "Noto Sans JP", sans-serif;
  text-align: left;
  color: #000;
  text-align: justify;
}

/* すべての要素が親要素を超えないようにする */
* {
  max-width: 100%;
  box-sizing: border-box;
}

body .sp-item {
  display: none !important;
}
body .pc-item {
  display: block !important;
}

@media screen and (max-width: 640px) {
  body {
    min-width: inherit;
    height: 100%;
  }
  body .sp-item {
    display: block !important;
  }
  body .pc-item {
    display: none !important;
  }
  body .sp-item img {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .sp img {
    max-width: 90%;
  }
  .sp02 img {
    max-width: 100%;
  }
  .sp03 img {
    max-width: 70%;
  }
}

.fl_left {
  float: left;
}
.fl_right {
  float: right;
}
.ov_hd {
  overflow: hidden;
}
.bg_none {
  background-image: none !important;
}
a.rollover:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha( opacity=70 )";
}
.rollover:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha( opacity=70 )";
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.line_0 {
  line-height: 0;
}
.zindex {
  z-index: 200;
}
input[type="radio"] {
  width: 15px;
  height: 15px;
  vertical-align: middle;
}
input[type="image"]:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha( opacity=70 )";
}

/* text */
em {
  text-decoration: underline;
  font-style: normal;
}
.bd_red {
  border-bottom: 1px solid #ff0004;
  padding-bottom: 2px;
}
.bd_red02 {
  border-bottom: 3px solid #ff0004;
  padding-bottom: 0px;
}
.red {
  color: #ff0000;
}
.yellow {
  background-color: #ffff00;
}
.gray {
  color: #666666;
}
.bold {
  font-weight: bold;
}
strong {
  font-weight: bold;
}
.strike {
  text-decoration: line-through;
}
.ac {
  text-align: center !important;
}
.ar {
  text-align: right !important;
}
.al {
  text-align: left !important;
}
.bold {
  font-weight: bold !important;
}
.font10 {
  font-size: 10px !important;
}
.font11 {
  font-size: 11px !important;
}
.font12 {
  font-size: 12px !important;
}
.font13 {
  font-size: 13px !important;
}
.font14 {
  font-size: 14px !important;
}
.font15 {
  font-size: 15px !important;
}
.font16 {
  font-size: 16px !important;
}
.font17 {
  font-size: 17px !important;
  line-height: 150%;
}
.font18 {
  font-size: 18px !important;
}
.font19 {
  font-size: 19px !important;
}
.font20 {
  font-size: 20px !important;
}
.font21 {
  font-size: 21px !important;
}
.font22 {
  font-size: 22px !important;
}
.font23 {
  font-size: 23px !important;
}
.font24 {
  font-size: 24px !important;
}
.font25 {
  font-size: 25px !important;
}
.font26 {
  font-size: 26px !important;
}
.font27 {
  font-size: 27px !important;
}
.font28 {
  font-size: 28px !important;
}
.font29 {
  font-size: 29px !important;
}
.font30 {
  font-size: 30px !important;
}
.font32 {
  font-size: 32px !important;
}

/* float */
.fr {
  float: right !important;
}
.fl {
  float: left !important;
}
.clear {
  clear: both;
}
img {
  line-height: 0;
  padding: 0;
  margin: 0;
}
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix {
  min-height: 1px;
}
* html .clearfix {
  height: 1px;
  height: auto;
  overflow: hidden;
}

hr {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

/* LP本体 */
.lp-wrapper {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.container {
  box-shadow: 0 0 20px rgb(143, 143, 143);
  width: 100%;
}

.center {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.rd1,
.rd2 {
  position: relative;
}

.btn-area1 {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74%;
}

.btn-area2 {
  position: absolute;
  bottom: 11%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74%;
}

.btn img {
  width: 100%;
  padding: 2% 0;
}

.movie-area {
  background: #e6f7ff;
  padding: 8% 16%;
}

.movie-area .movie {
  width: 30%;
  margin: 0 auto;
}

.movie-area .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%;
  height: 0;
}

.movie-area .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
}

.area3 {
  position: relative;
}

.area3 .movie {
  position: absolute;
  left: 50%;
  bottom: -4%;
  transform: translate(-50%, -50%);
  width: 94%;
}

.area3 .video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #ccc;
}

.area3 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.qa-container {
  width: 90%;
  max-width: 90%;
  padding-bottom: 20px;
  margin: 0 auto 4%;
  text-align: left;
}

.qa-list {
  padding: 2% 0;
}

.question-title {
  background: #08808c;
  cursor: pointer;
  font-size: 20px;
  position: relative;
  color: #fff;
  padding: 4% 12% 4% 14%;
  line-height: 1.5;
}

.question-title:before {
  position: absolute;
  display: block;
  content: url(../images/Q.webp);
  top: 50%;
  transform: translate(-50%, -50%);
  left: 5%;
  width: 3%;
}

.question-title:after {
  position: absolute;
  display: block;
  content: "";
  top: 30%;
  right: 5%;
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(135deg);
  transition: all 0.3s ease-in-out;
}

.question-title.open:after {
  transform: rotate(-45deg);
  top: 45%;
}

.answer-text {
  display: none;
  padding: 4% 5%;
  position: relative;
  background: #f2f2f2;
  line-height: 1.4;
  margin-top: 0px;
  font-size: 18px;
  color: #333;
}

.answer-text p {
  padding-left: 50px;
}

@media screen and (max-width: 640px) {
  .question-title {
    font-size: 16px;
  }
  .answer-text {
    font-size: 14px;
  }
}

footer {
  background: #08808c;
  padding: 4% 0% 35%;
  color: #fff;
  font-size: 12px;
}

footer a {
  text-decoration: none;
  color: #fff;
  padding: 0 2%;
}

/* 下部固定ボタン - 重要な修正箇所 */

.fixed-btn {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 999;
  width: 100%;
  max-width: 640px;
  background: #ffffffcb;
}

.fixed-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  overflow: hidden;
  padding: 3% 1%;
  flex: 1;
}

.fixed-btn a:hover {
  opacity: 0.8;
}

.fixed-btn img {
  width: 85%;
  object-fit: contain;
  display: block;
  max-width: 100%;
}

/*768px以下のとき以下を採用*/
@media (max-width: 768px) {
  .fixed-btn img {
    width: 100%;
    object-fit: contain;
    display: block;
    max-width: 100%;
  }
}

.bg-area {
  display: none;
}

@media (min-width: 1400px) {
  .bg-area {
    display: flex;
    position: fixed;
    top: 40px;
    left: 32%;
    width: 100vw;
    height: 100vh;
    transform: translateX(-50%);
    z-index: 1;
  }

  .bg-left,
  .bg-right {
    flex: 1;
    position: relative;
  }

  .bg-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 10%;
    gap: 20px;
  }

  .side-video video {
    width: 24vw;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
  }

  .side-image img {
    width: 24vw;
    display: block;
  }

  .lp-wrapper {
    position: relative;
    z-index: 10;
    margin: 0 auto;
  }
}
