* {
  box-sizing: border-box;
}
img {
vertical-align: bottom;
}
html,
body {
  margin: 0;
  padding: 0 0 50px 0; 
  width: 100%;
  scroll-behavior: smooth;
}

#container {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0px 5px #a5a5a5;
overflow-x: hidden;
}
#main {
    position: relative;
}
.fv_head {
    width: 100%;
    height: auto;
    background: #ffffffb0;
    position: absolute;
    top: 0;
    z-index: 1;
    padding: 0.5em;
}
.fv_logo {
    position: relative;
    width: 250px;
    float: left;
}
.fv_logo img {
    width: 100%;
}
.fv_tel {
    position: relative;
    width: 250px;
    float: right;
}
.fv_tel img {
    width: 100%;
}
@media (max-width: 600px) {
.fv_logo {
   width: 42%;
}
.fv_tel {
    width: 42%;
}
}

.sec {
 width:100%;
 margin:0 auto;
}
.sec img {
  width:100%;
}
.sec01,
.sec06 {
  position: relative;
}
.shiny {
  display: block;
  text-decoration: none;
  overflow: hidden;
  transition: 300ms;
}
.shiny::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #b5e7ff;
  transition: 300ms;
  animation: shinyshiny 2.5s ease-in-out infinite;
}
.shiny:hover {
  text-decoration: none;
  color: #fff;
  box-shadow: none;
}
@-webkit-keyframes shinyshiny {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}
.btn01 {
    position: absolute;
    bottom: 39.5%;
    width: 83%;
    display: block;
    margin: 0 auto;
    right: 0;
    left: 0;
}
.btn02 {
    width: 83%;
    display: block;
    margin: 1em auto 2em;
    position: relative;
}
.btn01:hover,
.btn02:hover {
  transform: scale(1.03);
}
.sec-price {
    margin: 4em 0 1em;
}
.sec-banner {
    width: 80%;
    margin: 1em auto 2em;
}
.sec07 {
    width: 80%;
    margin: 0 auto;
}
.sec09 {
    width: 80%;
    padding: 1em 0 1em;
    margin: 1em auto 5em;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}
.sec-qa {
    width: 80%;
    margin: 0 auto;
    position: relative;
}
.qa-title {
    margin: 3em auto 0.5em;
    width: 35%;
    position: relative;
    left: -6%;
}
.qa-box {
    border: 3px solid #fb9f81;
    padding: 3em;
    padding-top: 1em;
    border-radius: 15px;
}
.qa {
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: 1px dashed #fb9f81;
}
.qa-q {
    padding-top: 22px;
    padding-bottom: 10px;
    padding-left: 55px;
    background-image: url("../img/Q.png");
    background-size: 38px;
    background-repeat: no-repeat;
    background-position: 0px 15px;
    font-size: 105%;
    font-weight: bold;
}
.qa-a {
    padding-top: 22px;
    padding-bottom: 10px;
    padding-left: 55px;
    background-image: url(../img/A.png);
    background-size: 38px;
    background-repeat: no-repeat;
    background-position: 0px 24px;
    font-size: 95%;
}


#form-tag {
    margin-top: 3em;
    height: 30px;
}
.form-title {
    width: 100%;
    background: #ff4747;
    margin-bottom: 1em;
}
.form-caution img {
    width: 80%;
}
.form-caution img {
    width: 80%;
    margin: 0 auto 2em;
    display: block;
}
.form-title-inner {
    width: 80%;
    margin: 0 auto;
    font-size: 220%;
    font-weight: bold;
    padding: 0.6em;
    text-align: center;
    color: white;
}
@media (max-width: 680px) {
.form-title-inner {
    width: 90%;
    font-size: 160%;
    font-family: sans-serif;
}
.form-caution img {
    width: 95%;
    margin: 0 auto 1em;
}
}


#form {
    padding: 0em;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 0;
    padding-bottom: 5em;
}
label.title {
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    margin-top: 10px;
}
input[type="text"], input[type="email"], input[type="tel"], select {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    margin-bottom: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 16px;
    color: #575757;
}
    input::placeholder {
      color: #aaa;
    }
    .required-tag {
      display: inline-block;
      background-color: red;
      color: white;
      font-size: 10px;
      padding: 2px 6px;
      margin-right: 6px;
      border-radius: 3px;
    }


    .error {
      border: 1px solid red !important;
      background-color: #ffecec !important;
    }

    .error-message {
      font-size: 12px;
      color: red;
      margin-bottom: 8px;
    }

    .radio-group label {
      margin-right: 10px;
    }

    button[type="submit"] {
      background-color: #007bff;
      color: white;
      font-size: 16px;
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      margin-top: 10px;
    }

    button[type="submit"]:hover {
      background-color: #0056b3;
    }

    .checkbox-group {
      margin-top: 10px;
      margin-bottom: 2px;
    }

    #resultMessage {
      margin-top: 16px;
      font-size: 14px;
    }

    #submitError {
      font-size: 13px;
      color: red;
      margin-top: 6px;
      display: none;
    }

    .small-text {
      font-size: 12px;
      display: inline-block;
    }




.footer {
    width: 100%;
    height: 300px;
    background: #ededed;
}
.footer-inner {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/*******************************
contact
********************************/
.contact {
    max-width: 2200px;
    width: 100%;
    background-image: url("../img/wakofotter.png");
    margin: 0 auto 0;
    padding: 100px 0 100px 5%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    align-items: flex-start;
    display: flex;
}
.contact-left {
  width: 30%;
  color: white;
  padding-right: 30px;
}
.contact-left-us {
  font-size: 16px;
  line-height: 180%;
}
.contact-left-title {
  font-size: 28px;
  line-height: 180%;
  margin-bottom: 0.5em;
}
.contact-left-txt {
  font-size: 16px;
  line-height: 140%;
  text-align: justify;
  text-align-last: left;
}
.contact-right {
  width: 70%;
  background: white;
  border-radius: 20px 0 0 20px;
  display: flex;
  flex-wrap: nowrap;
  padding: 45px 20px;
  position: relative;
  right: -1px;
}
.contact-right-a-border {
  border-right: 1px solid #cae2ff;
}
.contact-right-a {
  width: 50%;
  text-align: center;
}
.contact-right-a-info {
  font-size: 16px;
  line-height: 160%;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.contact-right-a-btn {
  position: relative;
  overflow: hidden;
}
.contact-right-a-btn a {
  background: #414141;
  color: white;
  padding: 10px;
  width: 85%;
  display: block;
  border-radius: 30px;
  font-weight: bold;
  font-size: 19px;
  margin: 0 auto;
  text-decoration: none;
  transition: color 0.4s ease;
  overflow: hidden;
  position: relative;
}
.contact-right-a-btn a:hover {
  text-decoration: none;
}
.contact-right-a-btn a:visited {
  color: white;
}
.contact-right-a-btn .navi-btn-txt {
  position: relative;
  z-index: 2;
  /* テキストを前面に表示 */
}
.contact-right-a-btn .navi-btn-back {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #2855a7;
  z-index: 1;
  /* 背景はテキストの後ろに */
  transition: left 0.4s ease;
}
.contact-right-a-btn a:hover .navi-btn-back {
  left: 0;
}
.contact-right-a-btn a:hover {
  color: white;
  /* ホバー時の文字色 */
}
.contact-right-b {
  width: 50%;
  text-align: center;
}
.contact-right-b-info {
  font-size: 16px;
  line-height: 160%;
  font-weight: bold;
  margin-bottom: 5px;
}
.contact-right-b-num {
  font-size: 36px;
  line-height: 150%;
  font-weight: bold;
  color: #000097;
  position: relative;
  top: 1px;
}
@media (max-width: 900px) {
  .contact {
    display: block;
    padding: 50px 0 50px 30px;
  }
  .contact-left {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 2em auto;
  }
  .contact-right {
    width: 100%;
    margin: 0 0 0 auto;
  }
}
@media (max-width: 600px) {
  .contact-left {
    padding-left: 1em;
  }
  .contact-right {
    display: block;
  }
  .contact-right-a {
    width: 100%;
  }
  .contact-right-b {
    width: 100%;
    padding-top: 1em;
  }
  .contact-right-a-border {
    border-right: none;
    border-bottom: 1px solid #cae2ff;
    padding-bottom: 2em;
  }
}
@media (max-width: 500px) {
  .contact {
    padding: 30px 0 30px 10px;
  }
}

@media (max-width: 620px) {
.btn02 {
    margin: 1em auto 1em;
}
.sec07 {
    width: 98%;
    margin: 0 auto 0 0;
}
.sec-qa {
    width: 95%;
    margin: 0 auto;
}
.qa-title {
    left: -4%;
}
.qa-box {
    font-size: 14px;
    border: 2px solid #fb9f81;
    padding: 1em;
    border-radius: 15px;
}
.qa-q {
    padding-top: 15px;
    padding-bottom: 10px;
    padding-left: 45px;
    background-size: 33px;
    background-repeat: no-repeat;
    background-position: 3px 10px;
    font-size: 105%;
    font-weight: bold;
}
.qa-a {
    padding-top: 4px;
    padding-bottom: 15px;
    padding-left: 45px;
    background-image: url(../img/A.png);
    background-size: 31px;
    background-repeat: no-repeat;
    background-position: 5px 3px;
    font-size: 95%;
}
#form {
    padding: 1em;
}
.form-title {
    margin-bottom: 1em;
}
label.title {
    font-size: 16px;
}
input[type="text"], input[type="email"], input[type="tel"], select {
    padding: 5px;
    margin-bottom: 5px;
    font-size: 13px;
}
} 


/*******************************
追従バー
********************************/
.fixed-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  background: linear-gradient(135deg, rgba(255, 71, 71, 0.85) 0%, rgba(255, 107, 107, 0.85) 100%);
  box-shadow: 0 -3px 20px rgba(255, 71, 71, 0.3);
  border-radius: 20px 20px 0 0;
  z-index: 9999;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.fixed-bar-inner {
  max-width: 500px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.fixed-bar-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: white;
  text-align: center;
}

.fixed-bar-catch {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.2;
  color: white;
  text-shadow: 
    2px 2px 6px rgba(0, 0, 0, 0.5),
    -1px -1px 0 rgba(255, 71, 71, 0.8),
    1px -1px 0 rgba(255, 71, 71, 0.8),
    -1px 1px 0 rgba(255, 71, 71, 0.8),
    1px 1px 0 rgba(255, 71, 71, 0.8);
  animation: pulse 1.5s ease-in-out infinite;
}

.fixed-bar-sub {
  display: none;
}

.fixed-bar-btn {
  background: white;
  color: #ff4747;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(255, 71, 71, 0.5);
  position: relative;
  overflow: hidden;
}

/* 光が流れるエフェクト */
.fixed-bar-btn::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #ffeb3b;
  animation: shinyButton 2.5s ease-in-out infinite;
}

@keyframes shinyButton {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

.fixed-bar-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 35px rgba(255, 71, 71, 0.6);
}

.fixed-bar-btn-text {
  position: relative;
  z-index: 1;
}

.fixed-bar-btn-arrow {
  font-size: 26px;
  position: relative;
  z-index: 1;
  font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .fixed-bar-inner {
    flex-direction: column;
    padding: 12px 15px;
    gap: 10px;
    max-width: 100%;
  }
  
  .fixed-bar-text {
    text-align: center;
    width: 100%;
  }
  
  .fixed-bar-catch {
    font-size: 20px;
  }
  
  .fixed-bar-sub {
    display: none;
  }
  
  .fixed-bar-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 17px;
  }
}

/*******************************
ハンバーガーメニュー
********************************/
.hamburger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
}

.hamburger-btn {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff4747 0%, #ff6b6b 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 15px rgba(255, 71, 71, 0.4);
  transition: all 0.3s ease;
}

.hamburger-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 71, 71, 0.6);
}

.hamburger-btn span {
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.menu-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  overflow-y: auto;
  padding-top: 80px;
}

.menu-nav.active {
  right: 0;
}

.menu-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-nav ul li {
  border-bottom: 1px solid #f0f0f0;
}

.menu-nav ul li a {
  display: block;
  padding: 18px 25px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.menu-nav ul li a:hover {
  background: #fff5f5;
  color: #ff4747;
  padding-left: 30px;
}

.menu-nav ul li a.menu-cta {
  background: linear-gradient(135deg, #ff4747 0%, #ff6b6b 100%);
  color: white;
  font-weight: bold;
  text-align: center;
  margin: 20px;
  border-radius: 30px;
  padding: 15px 25px;
}

.menu-nav ul li a.menu-cta:hover {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff4747 100%);
  transform: scale(1.05);
  padding: 15px 25px;
}

/* メニュー開いている時の背景オーバーレイ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 600px) {
  .hamburger-btn {
    width: 45px;
    height: 45px;
  }
  
  .menu-nav {
    width: 250px;
    right: -250px;
  }
}
