@charset "UTF-8";
/* [ ヤマハボート免許教室 ] layout.css */
/*==================================================*
 *  [ Header ]
 *==================================================*/
header {
  position: relative;
}

.header-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.header-wrap .ymh-logo {
  position: absolute;
  top: max(0.94vw, 12px);
  left: max(1.04vw, 20px);
}
.header-wrap .header-txt {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  width: 43.23vw;
  padding-top: clamp(74px, 6.93vw, 133px);
  padding-bottom: 44px;
}
.header-wrap .header-txt .ttl {
  width: min(28.13vw, 540px);
}
.header-wrap .header-txt .txt-main {
  font-size: clamp(1.8rem, 1.15vw, 2.2rem);
}
.header-wrap .header-txt .check-list {
  width: min(90%, 480px);
  font-size: clamp(1.4rem, 0.94vw, 1.8rem);
}
.header-wrap .header-img {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 43.23vw);
}
.header-wrap .header-img img {
  width: 100%;
  max-width: 1280px;
  height: auto;
  aspect-ratio: 218/153;
  border-bottom-left-radius: 30px;
}
@media only screen and (max-width: 960px) {
  .header-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: max(42px, 10.69vw);
  }
  .header-wrap .ymh-logo {
    position: static;
    width: max(25.45vw, 100px);
    margin: 12px 20px;
  }
  .header-wrap .header-txt {
    order: 3;
    width: 100%;
    padding: 0 16px;
  }
  .header-wrap .header-txt .ttl {
    width: max(69.72vw, 274px);
    margin-top: max(20px, 5.09vw);
  }
  .header-wrap .header-txt .txt-main {
    font-size: clamp(1.8rem, 4.58vw, 2rem);
  }
  .header-wrap .header-txt .check-list {
    width: fit-content;
    max-width: 100%;
    font-size: clamp(1.4rem, 3.56vw, 1.6rem);
  }
  .header-wrap .header-img {
    position: static;
    order: 2;
    width: 100%;
  }
}

.float-btn {
  position: absolute;
  right: 0;
  display: block;
  width: fit-content;
  height: auto;
  color: #111273;
  font-size: clamp(1.2rem, 0.94vw, 1.8rem);
  background: #F3C300;
  border: 1px solid #fff;
  border-radius: 15px 0 0 15px;
  padding: 1.5em 2.556em;
  margin-top: 1em;
  transition: background 0.4s ease;
}
.float-btn span {
  position: relative;
}
.float-btn span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1em;
  width: clamp(5px, 0.57vw, 11px);
  height: auto;
  aspect-ratio: 11/17;
  background: url("/jp/ec/agent/img/icon_tri.svg") center/contain no-repeat;
  margin-left: 0.5em;
  transform: translateY(-50%);
}
.float-btn span b {
  font-size: clamp(1.5rem, 1.3vw, 2.5rem);
}
@media only screen and (max-width: 960px) {
  .float-btn {
    bottom: -1.5em;
    width: fit-content;
    font-size: clamp(1.2rem, 3.05vw, 1.8rem);
    aspect-ratio: auto;
    padding: 0.778em 2em 0.778em 1em;
  }
  .float-btn span::after {
    width: clamp(7px, 1.78vw, 13px);
  }
  .float-btn span b {
    font-size: clamp(1.5rem, 3.82vw, 2.5rem);
  }
}
@media (hover: hover) {
  .float-btn:hover {
    background: #FFE063;
  }
}

/*==================================================*
 *  [ main ]
 *==================================================*/
@media screen and (961px <= width) {
  .content-wrap {
    max-width: 1260px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
  }
  .content-wrap:has(.content-wrap-full) {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .content-wrap .indent {
    max-width: 1012px;
    width: 80%;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 960px) {
  .content-wrap {
    padding: 0 16px;
  }
  .content-wrap-full {
    margin: 0 -16px;
  }
  .content-wrap-fullsp {
    margin: 0 -16px;
  }
}
/*==================================================*
 *  [ Footer ]
 *==================================================*/
footer {
  color: #fff;
  background: #111273;
  padding-top: 60px;
  padding-bottom: 50px;
}
@media only screen and (max-width: 768px) {
  footer {
    padding-top: clamp(36px, 9.16vw, 60px);
    padding-bottom: clamp(22px, 5.6vw, 50px);
  }
}/*# sourceMappingURL=layout.css.map */
