h1 {
  font-size:clamp(1.125rem, 0.84rem + 1.18vw, 1.125rem);
  text-align: center;
  color: #fff;
  margin-top: 1.2em;
}

h2 {
  font-size: clamp(1.625rem, 1.184rem + 1.18vw, 2.125rem);
  text-align: center;
}
.movie h2 {
    margin-bottom: 1em;    
}
.youtube_movie {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
}
.youtube_movie:hover {
  filter: brightness(0.9);
}
.youtube_movie iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
     height: 100%;
}
.youtube_movie img {
    position: absolute;
    z-index: 2;
    top: 0;
}
.youtube_movie img:hover {
    cursor: pointer;
}
.movie img.play {
    position: absolute;
    z-index: 3;
    width: 10%;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
}
.mainvis {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: max(100svh,700px);
  position: relative;
  z-index: 1;
  margin-top: 48px;
}
.mainvis img {
    max-height: 70vh;
    width: auto;
}
.mainvis::before,
section.renewal .chance::before {
  content: "";
  background: url(../images/top/bg_black.png) no-repeat bottom;
  background-size: 100% auto;
  width: 100vw;
  height: 100%;
  margin: 0 calc(50% - 50vw);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.btn {
  width: min(100%,580px);
  margin: 30px auto 0 auto;
  background: linear-gradient(0deg, rgba(188,0,0,1) 8%, rgba(255,0,0,1) 75%, rgba(255,0,0,1) 100%);
  border-radius: 999px;
  filter: drop-shadow(7px 7px 5px rgba(0,0,0,30%));
  overflow: hidden;
}
.btn[data-color="blue"] {
  background: linear-gradient(0deg, rgba(29,42,84,1) 0%, rgba(0,159,232,1) 100%);
}
.btn[data-color="gold"] {
  background: linear-gradient(0deg, rgba(166,125,34,1) 0%, rgba(230,195,129,1) 73%, rgba(247,240,227,1) 100%);
  overflow: visible;
}
.btn[data-color="gold"]:before,
.btn[data-color="gold"]:after {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    display: table;
    color: white;
    font-weight: bold;
}
.btn[data-color="gold"]:before {
    content: "たった1分で完了！";
    top: -3.5em;
}
.btn[data-color="gold"]:after {
    content: "＼フォームに入力するだけ！／";
    top: -2em;
}
.btn[data-color="gold"] a::before {
    border-radius: 999px;
}
.contact p.add {
    font-size: 0.875rem;
    font-weight: 400;
    color: white;
    text-align: center;
    display: table;
    margin: 1em auto 0 auto;
}
.contact p.add a {
    color: #e5c658;
}
.btn[data-color="brown"] {
  background: linear-gradient(0deg, rgba(66,18,19,1) 22%, rgba(158,128,87,1) 100%);
}
.btn[data-color="purple"] {
  background: linear-gradient(0deg, rgba(27,20,75,1) 22%, rgba(101,96,150,1) 100%);
}
.btn[data-color="ligtblue"] {
  background: linear-gradient(0deg, rgba(0,91,151,1) 0%, rgba(0,117,190,1) 14%, rgba(30,156,215,1) 56%, rgba(120,173,226,1) 100%);
}
.btn[data-color="brown2"] {
background: linear-gradient(0deg, rgba(66,18,19,1) 22%, rgba(158,128,87,1) 100%);
}
.btn a {
  color: #fff;
  font-size: 1.438em;
  font-weight: 700;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}
.btn br { display: none; }
.btn br.sp { display: none!important; }
.btn a::after {
  content: "";
  display: inline-block;
  width: 23px;
  height: 23px;
  background: url(../images/common/ic_arrow.svg) no-repeat;
  background-size: 100% auto;
  margin-left: 15px;
  transition: .3s;
}
.btn a::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  opacity: 0;
  transition: .3s;
}

.btn em {
  font-style: normal;
}
.btn + p {
  margin-top: 10px;
  font-size: 0.875em;
  color: #fff;
}

.point,.faq,.movie,.nationwide {
  position: relative;
  z-index: 0;
}
.point::before,.faq::before,.movie::before,.nationwide::before {
  content: "";
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  margin: 0 calc(50% - 50vw);
  z-index: -1;
}
.nationwide::before {
    background: #d5fffe;
    background: linear-gradient(to right, #d4fefd 0%, #b2f5fd 100%);
}

.point,.movie {
  padding: 85px 0 100px;
}
.movie{
width: 80%;/*背景色を横幅いっぱいに広げる*/
text-align: center;
margin: auto;
padding: 8% 4% 4% 4%;/*ここで動画の周りの余白を調整*/
background: #e6e6e6;/*余白の背景色*/
}
video.mve_main {
width: 100%;
max-width: 640px;/*PC版での最大幅*/
margin: 40px auto 0;
}
.point ul {
  font-size: clamp(1.188rem, 0.967rem + 0.59vw, 1.438rem);
  font-weight: bold;
  position: relative;
  margin-top: 90px;
  padding-left: min(34.5%,370px);
}
.point ul::before {
  content: "";
  width: min(28%,281px);
  aspect-ratio: 281 / 197;
  position: absolute;
  left: 5px;
  bottom: 0;
  background: url(../images/top/img_point01.png) no-repeat;
  background-size: 100% auto;
}
.point ul li {
  position: relative;
  padding-left: min(29px,37px);
}
.point ul li::before {
  content: "";
  width: min(22px,26px);
  aspect-ratio: 1 / 1;
  display: inline-block;
  background: url(../images/top/ic_check.svg) no-repeat;
  background-size: 100% auto;
  position: absolute;
  top: 0.3em;
  left: 0;
}
.point ul li + li {
  margin-top: 30px;
}
.point strong {
  color: var(--sub-color);
}
.point .ttl {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(95%,982px);
  aspect-ratio: 982 / 213;
  margin-top: 135px;
  margin-left: auto;
  border-radius: 35px;
  position: relative;
  z-index: 0;
}
.point .ttl span {
  display: inline-block;
  transform: scale(1.5);
  vertical-align: text-bottom;
  padding: 0 5px;
}
.point .ttl::before,.point .ttl::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: 100% auto;
  background-repeat: no-repeat;
  z-index: -1;
}
.point .ttl::before {
  background-image: url(../images/top/bg_frame.svg);
}
.point .ttl::after {
  background: #ffdb0c;
  border-radius: 35px;
  z-index: -2;
}
.point h3 {
  font-size: clamp(1.875rem, 1.268rem + 1.62vw, 2.563rem);
  text-align: center;
  line-height: 1.707em;
}
.point h3::before,.point h3::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.point h3::before {
  width: min(15%,147px);
  aspect-ratio: 1 / 1;
  background-image: url(../images/top/ic_point.svg);
  left: -2%;
  top: -12%;
}
.point h3::after {
  width: min(16%,156px);
  aspect-ratio: 156 / 196;
  background-image: url(../images/top/img_point02.png);
  right: 0;
  bottom: -10px;
}
.point h3 strong {
  color: var(--sub-color);
  letter-spacing: -0.05em;
}
.point .flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.point .flex .txt {
  width: min(51.5%,515px);
  margin-top: 85px;
}
.point .flex .img {
  width: min(42%,420px);
  margin-top: 85px;
}
.point h4 {
  font-size: clamp(1.5rem, 1.169rem + 0.88vw, 1.875rem);
  padding-left: min(30%,155px);
  position: relative;
  display: flex;
  align-items: center;
}
.point h4::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: min(25%,128px);
  aspect-ratio: 1 / 1;
  background-size: 100% auto;
  position: absolute;
  left: 0;
}
.point h4[data-no="1"]::before {
  background-image: url(../images/top/ic_point01.svg);
}
.point h4[data-no="2"]::before {
  background-image: url(../images/top/ic_point02.svg);
}
.point h4[data-no="3"]::before {
  background-image: url(../images/top/ic_point03.svg);
}
.point h4[data-no="4"]::before {
  background-image: url(../images/top/ic_point04.svg);
}
.point h4[data-no="5"]::before {
  background-image: url(../images/top/ic_point05.svg);
}
.point .flex .txt p {
  margin-top: 40px;
  line-height: 1.563em;
}

.merit,
.renewal {
  padding: 100px 0 110px;
  position: relative;
  z-index: 0;
  text-align: center;
}
.merit::before,
.renewal::before {
  content: "";
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #ffdb0c;
  margin: 0 calc(50% - 50vw);
  z-index: -1;
}
.merit h2 {
  margin-top: 100px;
}
.merit h2:first-of-type {
  margin-top: 0;
  position: relative;
}
.merit h2:first-of-type::before,.merit h2:first-of-type::after {
  content: "";
  display: inline-block;
  background-size: 100% auto;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
}
.merit h2:first-of-type::before {
  width: 99px;
  height: 356px;
  background-image: url(../images/top/img_merit01.png);
  left: 0;
}
.merit h2:first-of-type::after {
  width: 122px;
  height: 367px;
  background-image: url(../images/top/img_merit02.png);
  right: 0;
}
.merit p {
  margin-top: 25px;
}
.merit h3 {
  font-size: clamp(1.625rem, 1.184rem + 1.18vw, 2.125rem);
  background: #fff;
  display: inline-block;
  margin: 45px auto 0 auto;
}
.merit .btn {
  margin-top: 30px;
}
.merit dl dt {
  margin-top: 50px;
  position: relative;
  z-index: 1;
}
.merit dl dt img {
  margin: 0 auto;
}
.merit dl dd:not([class]),.merit .box {
  border-radius: 10px;
  background: #fff;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px rgba(0,0,0,1);
  margin-top: -15px;
}
.merit dl dd p {
  font-size: clamp(1.875rem, 1.654rem + 0.59vw, 2.125rem);
  font-weight: 700;
  margin: 0;
}
.merit dl dd p strong {
  color: #fff;
  background: var(--sub-color);
  display: inline-block;
  line-height: 1em;
  padding: 5px;
}
.merit dl dd p span {
  font-size: clamp(2.5rem, 1.949rem + 1.47vw, 3.125rem);
}
.merit dl .img {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
.merit .box {
  margin-top: 105px;
  padding: 0 45px 65px 45px;
  flex-direction: column;
}
.merit .box p {
  font-size: clamp(1.625rem, 1.184rem + 1.18vw, 2.125rem);
  font-weight: 700;
  margin-top: -50px;
}
.merit .box p::before {
  content: "";
  display: block;
  width: min(100%,527px);
  aspect-ratio: 527 / 108;
  background: url(../images/top/sttl.png) no-repeat;
  background-size: 100% auto;
  margin: 0 auto;
}
.merit .box p strong {
  color: var(--sub-color);
  font-size: clamp(1.625rem, 0.632rem + 2.65vw, 2.75rem);
  display: inline-block;
}
.merit .box p strong::before,.merit .box p strong::after {
  content: "";
  display: inline-block;
  width: 37px;
  height: 57px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom left;
  vertical-align: baseline;
  margin-bottom: -3px;
}
.merit .box p strong::before {
  background-image: url(../images/top/dec_01.svg);
  width: 36px;
  margin-right: 20px;
}
.merit .box p strong::after {
  background-image: url(../images/top/dec_02.svg);
  margin-left: 10px;
}
.merit .box .img {
  margin-top: 50px;
}

.example {
  color: #fff;
  text-align: center;
  padding: 100px 0 70px;
}
.example p {
  margin-top: 25px;
}
.example .flex {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
}
.example .column {
  max-width: 300px;
  aspect-ratio: 1 / 1;
  width: 32%;
  border-radius: 40px;
  display: flex;
  overflow: hidden;
}
.example .column a {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.example .column:nth-child(1) {
  background: url(../images/top/img_example01.png) no-repeat top;
  background-size: 100% auto;
}
.example .column:nth-child(2) {
  background: url(../images/top/img_example02.png) no-repeat top;
  background-size: 100% auto;
}
.example .column:nth-child(3) {
  background: url(../images/top/img_example03.png) no-repeat top;
  background-size: 100% auto;
}
.example .column p:not([class]) {
  font-size: 1.125em;
  font-weight: 700;
  color: #000;
  display: inline-block;
  text-align: left;
  margin: auto auto 10px 0;
  line-height: 2em;
}
.example .column span {
  background: #fff;
  padding: 0 10px 0 15px;
}
.example .column .name {
  color: #000;
  font-weight: 700;
  background: #ffdb0c;
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.05em;
  margin: 0;
}

.faq,.nationwide {
  padding: 100px 0 125px;
}
.faq dl dt {
  color: #fff;
  font-weight: 700;
  background: #000;
  border-radius: 10px;
  margin-top: 50px;
  padding: 20px 20px 20px 70px;
  position: relative;
  display: flex;
  align-items: center;
}
.faq dl dt::before {
  content: "Q";
  color: #333;
  width: 35px;
  height: 35px;
  background: #fff;
  position: absolute;
  left: 20px;
  top: 15px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.faq dl dd {
  padding: 20px 20px 0 70px;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 55px;
}
.faq dl dd::before {
  content: "A";
  color: #fff;
  font-weight: 700;
  width: 35px;
  height: 35px;
  background: var(--sub-color);
  position: absolute;
  left: 20px;
  top: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media {
  color: #fff;
  padding: 100px 0 75px;
  position: relative;
  z-index: 0;
}
.media::before {
  content: "";
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 calc(50% - 50vw);
  background: url(../images/top/bg_media.png) no-repeat;
  background-size: cover;
  z-index: -1;
}
.media p {
  width: min(100%,740px);
  margin: 35px auto 0 auto;
}

.tool {
  color: #fff;
  padding: 100px 0 20px;
}
.tool dl {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.tool > dl div {
  width: 330px;
}
.tool > dl div + div {
  width: calc(100% - 360px);
}
.tool > dl div > dt {
  font-size: 1.250rem;
  font-weight: 700;
}
.tool > dl dl {
  color: #333;
  font-size: 0.875rem;
  margin-top: 15px;
}
.tool > dl dd dt {
  width: 150px;
  background: #e6e6e6;
  padding: 10px 20px;
  min-height: 63px;
  display: flex;
  align-items: center;
  border-top: 1px solid #999;
}
.tool > dl dd dd {
  width: calc(100% - 150px);
  background: #fff;
  padding: 10px 20px;
  min-height: 63px;
  display: flex;
  justify-content: center;
  border-top: 1px solid #999;
  flex-direction: column;
}
.tool > dl dd dd span {
  font-size: 0.750rem;
}
.tool h2 {
  margin-top: 100px;
}
.tool h2 + p {
  text-align: center;
  margin-top: 35px;
}
.tool h3 {
  font-size: 1.250rem;
  margin-top: 90px;
}
.tool .img {
  margin-top: 15px;
}
.tool .img + p {
  margin-top: 20px;
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 80px 0 75px;
  position: relative;
  z-index: 0;
}
.contact.bg::before {
  content: "";
  position: absolute;
  width: 100vw;
  height: 100%;
  margin: 0 calc(50% - 50vw);
  top: 0;
  left: 0;
  background: url(../images/common/bg_contact.png) no-repeat bottom left;
  background-size: 100% auto;
  z-index: -1;
}
.contact figure {
  width: min(23.2%, 232px);
}
.contact .txt {
  color: #fff;
  width: min(73%, 730px);
}
.contact p {
  font-size: clamp(1.875rem, 1.213rem + 1.76vw, 2.625rem);
  font-weight: 700;
  text-align: center;
}
.contact p strong {
  font-size: clamp(3.75rem, 3.088rem + 1.76vw, 4.5rem);
}
.contact p span {
  font-size: clamp(1.125rem, 0.794rem + 0.88vw, 1.5rem);
}
.contact p em {
  font-style: normal;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
}
.contact p em::after {
  content: attr(data-tax);
  display: block;
  font-size: clamp(0.875rem, 0.794rem + 0.88vw, 1.125rem);
  margin-top: -5px;
}
.contact dl {
  width: min(100%, 550px);
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0 50px;
  border: 1px solid #fff;
  position: relative;
  z-index: 0;
  margin-top: 30px;
}
.contact dl::before,.contact dl::after {
  content: "";
  position: absolute;
  width: calc(100% - 20px);
  height: 1px;
  background: #000;
  z-index: 1;
  top: -1px;
}
.contact dl::after {
  top: initial;
  bottom: -1px;
}
.contact dl div {
  width: 11em;
  display: flex;
  justify-content: space-between;
}
.contact dl dd {
  width: 3em;
}
.contact ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.contact ul .btn {
  width: min(46%, 480px);
  margin-top: 80px;
}

.contact .txt .btn + p {
  font-size: 0.875rem;
  font-weight: 400;
  margin-top: 10px;
}

.floating {
  aspect-ratio: 1 / 1;
  width: 220px;
  background: linear-gradient(0deg, rgba(188,0,0,1) 8%, rgba(255,0,0,1) 75%, rgba(255,0,0,1) 100%);
  border-radius: 50%;
}
.floating a {
  color: #fff;
  height: 100%;
  font-size: 1.438em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  flex-direction: column;
}
.floating a::after {
  content: "";
  display: inline-block;
  width: 23px;
  height: 23px;
  background: url(../images/common/ic_arrow.svg) no-repeat;
  background-size: 100% auto;
  margin-left: 15px;
  transition: .3s;
}
.floating.fixed {
  position: fixed;
  bottom: 5%;
  right: 2%;
  z-index: 10;
  animation: slidedown .3s forwards;
}
.floating.fixed:hover {
  animation: scale .3s forwards,slidedown none;
}
.floating.fixed a::after {
  transform: rotate(90deg);
  margin: 15px 0 0 0;
}

.nationwide .text {
    width: calc(100% - 45%);
    margin-top: 50px;
}
.nationwide .text:after {
    content: "";
    display: table;
    width: 657px;
    height: 824px;
    background: url(../images/top/bg_nationwide.png) no-repeat;
    z-index: -1;
    position: absolute;
    top: 0;
    right: -20%;
}
.nationwide .text p {
    line-height: 1.95;
    margin-bottom: 1em;
}
.nationwide img.na_img {
    display: none;
}


section.renewal {
    background: #FFDB0B;
}
section.renewal h2 {
    font-size: clamp(1.75rem, 0.925rem + 3.52vw, 3.125rem);
    text-align: center;
    margin: 0 auto 0.5em auto;
    line-height: 1;
}
section.renewal h2 span {    
    font-size: 70%;
}
section.renewal p {
    text-align: center;
    font-weight: bold;
}
section.renewal p.lead {
    font-size: clamp(0.875rem, 0.8rem + 0.32vw, 1rem);
    margin: 0 auto 2em auto;
    line-height: 1.8;
}
section.renewal .function {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFF09B;
    position: relative;
    padding: 1.5em 0;
}
section.renewal .function::before {
    background: #FFF09B;
    content: "";
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 calc(50% - 50vw);
    z-index: -1;
}
section.renewal .function ul {
    width: 100%;
}
section.renewal .function li {
    background: white;
    border-radius: 10px;
    padding: 0.8em;
    margin: 0 0 1em 1.5em;
}
section.renewal .function li:last-child {
    margin: 0 0 0 1.5em;
}
section.renewal .function li p {
    line-height: 1.5;
    font-size: clamp(1rem, 0.925rem + 0.32vw, 1.125rem);
    font-weight: bold;
    text-align: left;
    display: flex;
    align-items: center;
    position: relative;
}
section.renewal .function li p:before {
    content: "";
    display: table;
    background: url(../images/top/renewal_check.png) left / auto 100% no-repeat;
    width: min(20px, 23px);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    margin-right: 0.8em;
}
section.renewal picture {
    max-width: 360px;
    display: table;
    flex-shrink: 0;
    position: relative;
}
section.renewal picture img {
    max-width: 100%;
    width: min(100%, 420px);
    margin: 0 auto;
}
section.renewal .pricechange {
    padding: 30px 0;
}
section.renewal p.pricechange-text {
    margin: 0 auto 1em auto;
}
section.renewal .pricechange-box {
    border: 3px solid #707070;
    background: white;
    border-radius: 10px;
    display: table;
    margin: 0 auto 1em auto;
    padding: 1em 1.5em;
}
section.renewal .pricechange-box ul li:before {
    content: "";
    display: table;
    font-size: 0;
    margin: 0 auto;
}
section.renewal .pricechange-box ul li:first-child:before {    
    background: url(../images/top/renewal_price_top.png) center / contain no-repeat;
    width: 489px;
    aspect-ratio: 491 / 46;
}
section.renewal .pricechange-box ul li:last-child:before {
    background: url(../images/top/renewal_price_bottom.png) center / contain no-repeat;
    width: 390px;
    aspect-ratio: 43 / 3;
}
section.renewal .pricechange-box ul li p {
    display: none;
    font-size: 0;
    line-height: 0;
}
section.renewal .pricechange p {
    font-size: clamp(0.875rem, 0.816rem + 0.29vw, 1rem);
}
section.renewal .chance {
    position: relative;
}
section.renewal p,
section.renewal .chance h3 {
    text-align: center;
    font-weight: bold;
}
section.renewal .chance h3 {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto 0.5em auto;
    font-size: clamp(1.375rem, 1.081rem + 1.47vw, 2rem);
    font-weight: bolder;
    color: white;
}
section.renewal .chance h3::before,
section.renewal .chance h3::after {
    content: "";
    display: table;
    aspect-ratio: 35 / 39;
}
section.renewal .chance h3::before {
    width: 52.5px;
    margin-right: 0.5em;
    background: url("../images/top/renewal_deco_left.png") center / contain no-repeat;
}
section.renewal .chance h3::after {
    width: 52.5px;
    margin-left: 0.5em;
    background: url("../images/top/renewal_deco_right.png") center / contain no-repeat;
}
section.renewal .box {
    border-radius: 10px;
    padding: 1.5em;
    background: white;
}
section.renewal p.sublead {
    font-size: clamp(0.875rem, 0.61rem + 1.0vw, 1.438rem);
}
section.renewal p.big {
    font-size: clamp(2.188rem, 1.452rem + 3.68vw, 3.75rem);
    line-height: 1.5;
    display: inline;
    background: linear-gradient(transparent 70%, #FFDB0B 30%);
}
section.renewal p.big span.yen {
    font-size: clamp(1.438rem, 0.938rem + 2.5vw, 2.5rem);
}
section.renewal p.big span.tax {
    font-size: clamp(0.813rem, 0.724rem + 0.44vw, 1rem);
}
section.renewal p.big span.reg {
    font-size: clamp(1.125rem, 0.772rem + 1.5vw, 1.875rem);
}
section.renewal p.big span.reg br {
    display: none;
}
section.renewal p.isogi {
    font-size: clamp(0.875rem, 0.581rem + 1.47vw, 1.5rem);
    margin: 0.5em auto 1em auto;
}
section.renewal p.bottomtext {
    font-size: clamp(0.875rem, 0.816rem + 0.1vw, 1rem);
    line-height: 1;
}

section.renewal p.phone {
    color: #ED1C24;
    font-size: clamp(1.563rem, 1.357rem + 1.03vw, 2rem);
}
section.renewal .chance {
    padding: 80px 0 60px 0;
    position: relative;
}
section.renewal .chance::before {
    background: black url(../images/top/bg_black.png) no-repeat bottom !important;
}
section.renewal .chance:after {
    content: "";
    width: 0;
    height: 0;
    display: table;
    border-style: solid;
    border-width: 70px 180px 0 180px;
    border-color: #FFDB0B transparent transparent transparent;
    position: absolute;
    top: 0;
    margin: 0 auto;
    left: 0;
    right: 0;
}






@keyframes scale {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.1) translateY(0); }
}
@keyframes slidedown {
  0% { transform: scale(1) translateY(100%); }
  100% { transform: scale(1) translateY(0); }
}

@media (hover: hover) and (pointer: fine) {
  .btn a:hover::before {
    opacity: .3;
  }
}

@media screen and (max-width:960px) {
  h2 {
    font-size: 1.625rem;
  }
    .movie{
        width: 100%;
    }
  .btn a {
    font-size: 1.250rem;
    height: 60px;
  }
  .btn a::after {
    width: 19px;
    height: 19px;
  }
  .btn + p{
        font-size: 0.670rem;
  }
  .point {
    padding: 55px 0 100px;
  }
  .point ul {
    font-size: 1.188rem;
    width: auto;
    margin: 25px auto 0 auto;
    padding-left: 0;
    display: table;
  }
  .point ul::before {
    display: block;
    width: min(100%,310px);
    position: static;
    margin: 0 auto 25px auto;
  }
  .point ul li + li {
    margin-top: 25px;
  }
  .point .ttl {
    margin-top: 105px;
  }
  .point h3 {
    font-size: 1.500rem;
  }
  .point .flex {
    flex-direction: column;
    align-items: center;
  }
  .point .flex .txt {
    width: min(100%,515px);
  }
  .point .flex .img {
    width: min(100%,420px);
    margin-top: 25px;
  }
  .point .flex .txt:nth-of-type(1) {
    order: 1;
  }
  .point .flex .img:nth-of-type(1) {
    order: 2;
  }
  .point .flex .txt:nth-of-type(2) {
    order: 3;
  }
  .point .flex .img:nth-of-type(2) {
    order: 4;
  }
  .point .flex .txt:nth-of-type(3) {
    order: 5;
  }
  .point .flex .img:nth-of-type(3) {
    order: 6;
  }
  .point .flex .txt:nth-of-type(4) {
    order: 7;
  }
  .point .flex .img:nth-of-type(4) {
    order: 8;
  }
  .point .flex .txt:nth-of-type(5) {
    order: 9;
  }
  .point .flex .img:nth-of-type(5) {
    order: 10;
  }

  .merit,
  .renewal {
    padding: 50px 0 40px;
  }
  .merit h2 {
    margin-top: 100px;
  }
  .merit h2:first-of-type::before,.merit h2:first-of-type::after {
    display: none;
  }
  .merit p {
    margin-top: 25px;
  }
  .merit h2 + p:nth-of-type(1):after {
    content: "";
    display: block;
    width: min(100%,205px);
    aspect-ratio: 205 / 311;
    background: url(../images/top/img_merit01_sp.png) no-repeat;
    background-size: 100% auto;
    margin: 30px auto 0 auto;
  }
  .merit dl dd {
    margin-top: -10px;
    padding: 20px;
  }
  .merit dl dd p {
    font-size: 1.875rem;
  }
  .merit dl dd p span {
    font-size: 2.5rem;
  }
  .merit .box {
    padding: 0 25px 45px 25px;
  }
  .merit .box p {
    font-size: 1.625rem;
  }
  .merit .box p strong {
    font-size: 1.625rem;
  }
  
  .example {
    padding: 50px 0 45px;
  }
  .example .flex {
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 0;
  }
  .example .column {
    width: 100%;
    margin-top: 70px;
  }
  
  .faq,.nationwide {
    padding: 50px 0 100px;
  }
  
  .media {
    padding: 50px 0;
  }
  
  .tool {
    padding: 50px 0 20px;
  }
  .tool > dl div + div {
    width: 100%;
    margin-top: 50px;
  }
  .tool h2 {
    margin-top: 50px;
  }
  .tool h2 + p {
    margin-top: 35px;
  }
  .tool h3 {
    margin-top: 40px;
  }
  
  .contact {
    flex-direction: column;
    padding: 45px 0 40px 0;
  }
  .contact .txt {
    color: #fff;
    width: min(100%, 730px);
  }
  .contact ul {
    flex-direction: column;
  }
  .contact ul .btn {
    width: min(100%, 580px);
    margin-top: 35px;
  }
  .btn[data-color="gold"] {
    margin-top: 5em !important;
  }
  .nationwide img.na_img {
      display: none;
  }
  .nationwide .text:after {
    width: 45%;
    right: 0;
    top: 30%;
    background-size: contain;
    } 
    section.renewal .function {
        display: block;
    }
    section.renewal .function picture {
        margin: 0 auto 1em auto;
        max-width: 100%;
    }
    section.renewal .function li {
        margin: 0 0 0.5em 0;
    }
    section.renewal .function li:last-child {
        margin: 0 0 0 0;
    }
    section.renewal .pricechange {
        padding: 2em 0;
    }
    section.renewal .chance {
        padding: 3em 0;
    }
    section.renewal .chance:after {
        border-width: 6vw 20vw 0 20vw;
    }
    section.renewal p.big {
        line-height: 1;
        margin: 0 auto 1em auto;
    }
    section.renewal p.big span.reg br {
        display: block;
    } 
  }
/* IT導入補助金_section */
/* 2025-08-27-エビサワ追加 */
.subsidy {
  display: flex;
  flex-direction: column;
  margin: 0 calc(50% - 50vw);
  width: 100vw; 
  padding: 64px 28px;
  color: black;
  text-align: center;
  background-color: white;
  gap: 16px;
}

.subsidy p {
  font-size: 24px;
}

.subsidy .btn {
  width: min(100%, 380px);
  margin-top: 8px;
  background: linear-gradient(#8d50ff, #69ffbd); 
}
.subsidy .btn a {
  text-decoration: none;
  color: white;
}
/* -end-2025-08-27-エビサワ追加 */


/* 極ナビゲーションメニュー_section */
/* 2026-01-23-sakurai追加 */

.nav {
  position: fixed;    /* 画面に固定 */
  top: 0px;           /* 画面の上から0px */
  left: 0;
  width: 100%;        /* 横幅を保つ */
  z-index: 1000;      /* 上に重ねる */
  background: rgba(0, 0, 0, 0.5); /* 透けた黒 */
  backdrop-filter: blur(4px);     /* ぼかし（対応ブラウザのみ） */
  padding: 4px 8vw 4px;
  display: flex;      /* 横並びにする */
  justify-content: space-between; /* ロゴとメニューの間隔調整 */
  align-items: center; /* 垂直方向で中央揃え */
}

.flex_logo {
  display: flex;      /* ロゴ部分の設定 */
  align-items: center; /* ロゴを中央揃え */
  width: 18%;         /* ロゴの幅を指定 */

}

.headflexlogo-img {
  display: flex;
  align-items: center; /* ロゴを中央揃え */
}

.nav-list {
  display: flex;      /* メニューの横並び */
  justify-content: flex-end; /* メニューを右端に配置 */
}

.nav-list li {
  display: inline-block;
  margin-left: 1.6vw;
  list-style: none;
  font-size: 13px;
}

.nav-list li a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.nav-list li a:hover {
  color: #e5c658;
  transition: 0.3s;
}

/* ===== 追加：ハンバーガーボタン ===== */
.toggle_btn {
  display: none; /* PCは非表示、スマホで表示 */
  position: relative;
  width: 34px;
  height: 34px;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
  z-index: 1102; /* ドロワーより上 */
}

.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 34px;
  height: 2px;
  background-color: #fff; /* ヘッダーが黒系なので白 */
  border-radius: 4px;
  transition: all .4s;
}

.toggle_btn span:nth-child(1) { top: 7px; }
.toggle_btn span:nth-child(2) { top: 16px; }
.toggle_btn span:nth-child(3) { top: 25px; }

/* open時：×に変形 */
#nav.open .toggle_btn span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
#nav.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}
#nav.open .toggle_btn span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===== 追加：マスク ===== */
#mask {
  display: none;
}
#nav.open + #mask {
  display: block;
  position: fixed;
  inset: 0;
  background: #000;
  opacity: .6;
  z-index: 1100;
}

/* -end-2026-01-23-sakurai追加 */

@media screen and (max-width:600px) {
  .sp_none {
    display: none;
  }
  .mainvis {
    height: 100svh;
  }
  .mainvis img {
    width: auto;
    /* height: 55svh; */
    margin: 0 auto; 
  }
  .btn {
    width: min(100%,320px);
    margin-top: 30px;
  }
  .btn a {
    height: 60px;
  }
  .btn span {
    display: none;
  }
  .btn br.sp { display: none!important; }
  h1{
    margin-top: 0.2em;
  }
  .point h2 br {
    display: none;
  }
  .point .ttl {
    width: 95%;
    aspect-ratio: 335 / 324;
    padding-top: 30%;
  }
  .point .ttl::before {
    background-image: url(../images/top/bg_frame_sp.svg);
  }
  .point .ttl::after {
    border-radius: 27px;
  }
  .point h3::before {
    width: 30%;
    left: -3%;
    top: -5%;
  }
  .point h3::after {
    width: 40%;
    right: 10%;
    top: -15%;
    bottom: initial;
  }
  .point h3 strong {
    color: var(--sub-color);
    letter-spacing: -0.05em;
  }

  .point .flex .txt {
    margin-top: 50px;
  }
  .point h4 {
    padding-left: 0;
    display:  block;
  }
  .point h4::before {
    display: block;
    width: 108px;
    position: static;
    margin-bottom: 20px;
  }
  .point .flex .txt p {
    margin-top: 20px;
  }
  
  .merit h2 {
    margin-top: 50px;
  }
  .merit p {
    text-align: left;
  }
  .merit h3 {
    margin: 30px auto 0 auto;
  }
  .merit .btn {
    margin-top: 25px;
  }
  .merit dl dt img {
    width: 91;
  }
  .merit dl dd p {
    margin: 0;
    text-align: center;
  }

  .merit .box {
    margin-top: 70px;
    padding: 0 15px 25px 15px;
    flex-direction: column;
  }
  .merit .box p {
    margin-top: -30px;
    text-align: center;
  }
  .merit .box p::before {
    width: 315px;
  }
  .merit .box p strong {
    position: relative;
  }
  .merit .box p strong::before,.merit .box p strong::after {
    position: absolute;
    margin-bottom: 0px;
  }
  .merit .box p strong::before {
    width: 30px;
    left: -45px;
    bottom: 0;
  }
  .merit .box p strong::after {
    width: 31px;
    right: -40px;
    bottom: 0;
  }
  .merit .box .img {
    margin-top: 30px;
  }
  
  .faq dl dt {
    padding: 10px 20px;
    justify-content: flex-start;
  }
  .faq dl dt::before {
    position: static;
    margin-right: 15px;
  }
  video.mve_main {
    max-height: 300px;
    max-width: 920px;/*PC版での最大幅*/
  }

  .example .column {
    max-width: 350px;
    width: 100%;
    margin-top: 45px;
  }
  .example .column p:not([class]) {
    font-size: 1.313rem;
  }
  .example .column .name {
    font-size: 1.188rem;
    min-height: 80px;
    margin: 0;
  }
  
  .tool > dl div {
    width: 100%;
  }
  .tool h2 + p {
    text-align: left;
    margin-top: 35px;
  }
  
  .contact.bg::before,
  section.renewal .chance::before {
    background: url(../images/common/bg_contact_sp.png) no-repeat bottom left;
    background-size: 100% auto;
  }
  .contact figure {
    width: 150px;
  }
  .contact .txt {
    width: min(100%, 315px);
  }
  .contact p {
    margin-top: 25px;
  }
  .contact dl {
    background: #000;
    width: min(100%, 255px);
    padding: 0 35px;
    margin-top: 40px;
  }
  .contact ul .btn {
    width: min(100%, 320px);
  }

  .floating {
    width: 120px;
  }
  .floating a {
    font-size: 1.188rem;
  }
  .floating a::after {
    display: none;
  }
  .main_logo_p{
    font-size: 0.670rem;
    text-align: center;
  }
  .nationwide .text {
    width: 100%;
  }
  .nationwide .text:after {
    content: none;
  }
  .nationwide img.na_img {
    display: table;
    width: 100%;
    margin: 0 auto 1em auto;
  }
  
    section.renewal .pricechange-box {
        width: 100%;
        padding: 0.5em 1em;
    }  
    section.renewal .function li:before {
        height: 0;
    }
    section.renewal .pricechange-box ul li:first-child:before {
        width: 100% !important;
        padding-top: 9.36863543788%;
    }
    section.renewal .pricechange-box ul li:last-child:before {
        width: 85% !important;
        padding-top: 9.36863543788%;
    }
    section.renewal p {
        text-align: left;
    } 
    section.renewal .chance h3::before,
    section.renewal .chance h3::after {
        width: 8vw;
    }
    section.renewal p.isogi {
        text-align: center;
    }
    section.renewal p.big {
        background: linear-gradient(transparent 80%, #FFDB0B 50%);
    }
    section.renewal p.phone {
        text-align: center;
    }
    section.renewal .box {
        padding: 1em;
    }

 /* IT導入補助金_section */
/* 2025-08-27-エビサワ追加 */
.subsidy h2,.subsidy p {
  font-size: 1rem;
}
/* -end-2025-08-27-エビサワ追加 */

/* パンくずリスト */
/* 2025-09-05-エビサワ追加 */

.breadcrumb-list {
  display: none;
}
/* -end-09-05-エビサワ追加 */  


  /* 2026-01-23-スマホ版nav_menu sakurai追加 */

  /* ===== スマホ時：.nav-listをドロワー化 ===== */
/* ===== ハンバーガー展開時：メニューを最前面に出す（最終行に追記推奨） ===== */
@media screen and (max-width: 767px) {

  /* メニュー本体（右から出る） */
  #nav .nav-list{
    position: fixed !important;
    top: 0 !important;
    right: -260px !important;
    bottom: 0 !important;
    width: 260px !important;

    background: #fff !important;
    z-index: 9999 !important;   /* ←ここ重要：maskより上に */
    overflow-y: auto !important;
    transition: right .4s !important;

    padding-top: 70px !important;
    display: block !important;  /* 既存display:flexを確実に潰す */
  }

  /* openで表示 */
  #nav.open .nav-list{
    right: 0 !important;
  }

  /* マスクはメニューより下 */
  #mask{
    z-index: 9000 !important;
  }

  /* ボタンはさらに上（押して閉じられるように） */
  #nav .toggle_btn{
    z-index: 10000 !important;
  }
  /* 帯（ヘッダー）を最低限の高さにして細くならないように */
  #nav.nav{
    min-height: 56px;
    padding: 10px 4vw !important;
  }

  /* ロゴ幅18%がスマホで効くと極端に小さくなるので解除 */
  #nav .flex_logo{
    width: auto !important;
  }
  #nav .headflexlogo-img img{
    height: 24px;      /* 好みで 22〜28px あたりに調整OK */
    width: auto;
    display: block;
  }

  /* ハンバーガーボタンの箱を強制表示 */
  #nav .toggle_btn{
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    position: relative !important;
    border: 0;
    background: transparent;
    padding: 0;
    margin-left: auto;
    z-index: 10000 !important;
  }

  /* 3本線を確実に描画 */
  #nav .toggle_btn span{
    display: block !important;
    position: absolute !important;
    left: 0;
    width: 34px !important;
    height: 2px !important;
    background: #fff !important; /* ヘッダーが暗い前提 */
    border-radius: 4px;
    transition: all .4s;
  }
  #nav .toggle_btn span:nth-child(1){ top: 7px; }
  #nav .toggle_btn span:nth-child(2){ top: 16px; }
  #nav .toggle_btn span:nth-child(3){ top: 25px; }

  /* open時：×に */
  #nav.open .toggle_btn span:nth-child(1){
    transform: translateY(9px) rotate(45deg);
  }
  #nav.open .toggle_btn span:nth-child(2){
    opacity: 0;
  }
  #nav.open .toggle_btn span:nth-child(3){
    transform: translateY(-9px) rotate(-45deg);
  }
  /* ここが肝：backdrop-filter があると fixed 子要素がヘッダー内に閉じ込められる */
  #nav.nav{
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* ついでに重なり順も安定させる */
  #nav.nav{ z-index: 10000 !important; }
  #mask{ z-index: 9000 !important; }
  #nav .nav-list{ z-index: 9999 !important; }
  #nav .toggle_btn{ z-index: 10001 !important; }
}
 /* ドロワー内のリストを確実に縦並びに戻す */
  #nav .nav-list ol{
    display: block !important;
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 18px 18px !important;
    list-style: none !important;
  }

  #nav .nav-list li{
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #ddd !important;
  }

  #nav .nav-list li a{
    display: block !important;
    color: #333 !important;
    padding: 14px 6px !important;
    text-decoration: none !important;
  }

  /* もしどこかで透明や非表示を当てられてる場合の保険 */
  #nav .nav-list,
  #nav .nav-list *{
    opacity: 1 !important;
    visibility: visible !important;
  }
  /* 3本線：通常時は白（黒いヘッダー上なので） */
  #nav .toggle_btn span{
    background: #fff !important;
  }

  /* メニューを開いたら背景が白なので、線を黒にして見えるようにする */
  #nav.open .toggle_btn span{
    background: #333 !important;
  }
  /* end-2026-01-23-スマホ版nav_menu sakurai追加ココまで */
}