html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 400;
  background-color: #e0eaf3;
  font-size: 16px;
  color: #373737;
  overflow-x: hidden;
}

.br-sp {
  display: none;
}

a {
  text-decoration: none;
}

@media screen and (max-width: 600px) {
  .br-sp {
    display: block;
  }
}
#top {
  background-color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 1;
  width: 100%;
}

picture {
  width: 100%;
}

.top-img {
  width: 81em;
  height: 32em;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 auto;
}

header {
  background-color: white;
  height: 6.5em;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
header .header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 60em;
  height: 100%;
  padding: 0 1em;
}

.logos {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 1em;
}
.logos span {
  font-size: 1.5em;
  font-weight: bold;
}

.logo {
  height: 4.5em;
  width: auto;
}

.tel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  gap: 0.3em;
  line-height: 1;
}
.tel-wrap span {
  color: #7c7c7c;
  font-size: 1.2em;
}
.tel-wrap .tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
}
.tel-wrap .tel img {
  width: 4em;
}
.tel-wrap .tel span {
  white-space: nowrap;
  font-size: 3em;
  color: #18a4e0;
}

main {
  width: 100%;
  max-width: 60em;
  background-color: white;
  margin: 0 auto;
  filter: drop-shadow(0 0 0.3em rgba(0, 62, 177, 0.2));
  position: relative;
}

.max-img {
  width: 100%;
}

.top-over {
  margin: -3.7em auto 0;
}

.top-copy {
  padding: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2em;
}

.top-copy-1 {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}

.makers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
}
.makers img {
  height: 3.3em;
}

.top-copy-2-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.top-copy-2 {
  font-size: 2em;
  font-weight: bold;
}

.top-copy-3 {
  font-size: 3.5em;
  font-weight: 900;
  white-space: nowrap;
}
.top-copy-3 span {
  color: #fd7d19;
}

/* HTML: <div class="ribbon">Your text content</div> */
.ribbon-title {
  height: 7em;
  width: 100%;
  position: relative;
}
.ribbon-title div {
  display: block;
  width: calc(100% + 5.3em);
  font-weight: bold;
  color: #fff;
  margin: 0em auto;
  --s: 1.8em;
  /* the ribbon size */
  --d: .8em;
  /* the depth */
  --c: .8em;
  /* the cutout part */
  padding: 0 calc(var(--s) + 0.5em) var(--d);
  line-height: 1.8;
  background: conic-gradient(at left var(--s) bottom var(--d), rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.5333333333) 0 37.5%, rgba(0, 0, 0, 0.2666666667) 0) 0/50% 100% no-repeat, conic-gradient(at right var(--s) bottom var(--d), rgba(0, 0, 0, 0.2666666667) 62.5%, rgba(0, 0, 0, 0.5333333333) 0 75%, rgba(0, 0, 0, 0) 0) 100%/50% 100% no-repeat;
  -webkit-clip-path: polygon(0 var(--d), var(--s) var(--d), var(--s) 0, calc(100% - var(--s)) 0, calc(100% - var(--s)) var(--d), 100% var(--d), calc(100% - var(--c)) calc(50% + var(--d) / 2), 100% 100%, calc(100% - var(--s) - var(--d)) 100%, calc(100% - var(--s) - var(--d)) calc(100% - var(--d)), calc(var(--s) + var(--d)) calc(100% - var(--d)), calc(var(--s) + var(--d)) 100%, 0 100%, var(--c) calc(50% + var(--d) / 2));
          clip-path: polygon(0 var(--d), var(--s) var(--d), var(--s) 0, calc(100% - var(--s)) 0, calc(100% - var(--s)) var(--d), 100% var(--d), calc(100% - var(--c)) calc(50% + var(--d) / 2), 100% 100%, calc(100% - var(--s) - var(--d)) 100%, calc(100% - var(--s) - var(--d)) calc(100% - var(--d)), calc(var(--s) + var(--d)) calc(100% - var(--d)), calc(var(--s) + var(--d)) 100%, 0 100%, var(--c) calc(50% + var(--d) / 2));
  background-color: #3193cd;
  /* the main color */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 1em 1em 1.5em;
}
.ribbon-title div h2 {
  font-size: 2.5em;
  width: 100%;
  text-align: center;
  line-height: 1.3;
  padding: 0.3em;
}
.ribbon-title div h2 span {
  color: #f7ec4c;
}

.item-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  padding: 5em 3em;
  background-color: rgb(241, 247, 255);
}

.item {
  width: 24.5em;
  border-radius: 0.5em;
  box-shadow: 0em 0em 0.7em rgba(0, 45, 141, 0.4);
  background-color: white;
  padding: 0.75em;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 0.5em;
  position: relative;
}

.maker-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1em;
}
.maker-wrap .maker_logo {
  height: 3em;
  max-width: 55%;
  -o-object-fit: contain;
     object-fit: contain;
}
.maker-wrap .brand {
  height: 2.5em;
  max-width: 40%;
  -o-object-fit: contain;
     object-fit: contain;
}

.prices {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.5em;
}

.price-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  font-weight: bold;
  color: #b61723;
  background: linear-gradient(transparent 50%, #fffd76 50%);
  padding-bottom: 0.5em;
}

.price {
  font-size: 3.3em;
  margin-bottom: -0.15em;
  font-weight: 900;
}

.tax-yen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tax {
  font-size: 0.9em;
}

.yen {
  font-size: 1.7em;
  font-weight: 900;
}

.kara {
  font-size: 2em;
  margin-left: -0.1em;
}

.list_price {
  text-align: right;
  font-size: 1.2em;
  font-weight: bold;
}

.percent {
  position: absolute;
  left: 0em;
  bottom: 6em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.3em;
  background-image: url(../img/seal.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0.1em 0.1em 0.2em rgba(0, 42, 133, 0.3));
}
.percent span {
  line-height: 0.95;
  font-weight: bold;
  color: white;
}
.percent span:nth-child(1) {
  font-size: 1em;
}
.percent span:nth-child(2) {
  font-size: 2.5em;
}
.percent span:nth-child(2) span {
  font-size: 0.7em;
}
.percent span:nth-child(3) {
  font-size: 1.3em;
}

.item-img {
  width: 100%;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 1.5em auto;
}
.contact img {
  width: 100%;
}

.contact-wrap {
  position: relative;
  padding: 0 2em;
  width: 100%;
  max-width: 67em;
}
.contact-wrap .tel-btn {
  background-color: #ff7d41;
  box-shadow: 0 0.3em 0 #d3571d;
  top: 55%;
  left: 32%;
}
.contact-wrap .tel-btn span {
  font-size: 2.5em;
}
.contact-wrap .mail-btn {
  background-color: #95da1d;
  box-shadow: 0 0.3em 0 #578a00;
  top: 72%;
  left: 32%;
}
.contact-wrap .mail-btn span {
  font-size: 2em;
}
.contact-wrap .tel-btn,
.contact-wrap .mail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 25em;
  height: 3.5em;
  border-radius: 10em;
  gap: 0.3em;
  transition: 0.2s all;
}
.contact-wrap .tel-btn img,
.contact-wrap .mail-btn img {
  height: 2em;
  width: auto;
}
.contact-wrap .tel-btn span,
.contact-wrap .mail-btn span {
  font-weight: bold;
  color: white;
  white-space: nowrap;
}
.contact-wrap .tel-btn::after,
.contact-wrap .mail-btn::after {
  position: absolute;
  height: 1em;
  width: 1em;
  border-top: 0.25em solid white;
  border-right: 0.25em solid white;
  content: "";
  right: 1.3em;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.contact-wrap .tel-btn:hover,
.contact-wrap .mail-btn:hover {
  box-shadow: 0 0 0 #578a00;
  transform: translateY(0.3em);
}
.contact-wrap picture {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info {
  position: absolute;
  top: 46%;
  left: 32.5%;
  background-color: #2d9ad7;
  padding: 0 1em;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  border-radius: 0.3em;
  width: 22.3em;
}

.variation {
  margin: 0 auto;
  padding: 5em 4em;
  width: 100%;
}

.imgs {
  background-color: rgba(255, 255, 255, 0);
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 10em, rgb(255, 255, 255) 10em);
}
.imgs img {
  width: 100%;
  height: auto;
}

.region {
  position: relative;
}
.region div {
  position: absolute;
  top: 7em;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.region div span {
  background: linear-gradient(0deg, #3163ac 0%, #369bc4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 4.5em;
  font-weight: bold;
}
.region div span:nth-child(2) {
  font-size: 3.5em;
}

.mail-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 5em;
  background-color: #1d2d88;
}
.mail-title h2 {
  color: white;
  font-size: 2.5em;
}

#mail-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
  max-width: 35em;
  border-radius: 1em;
  overflow: hidden;
  width: 100%;
  margin: 5em auto;
}
#mail-form form {
  max-width: 30em;
  width: 100%;
  padding: 1em;
}
#mail-form fieldset {
  border: none;
}

textarea,
input {
  width: 100%;
  padding: 0.3em 0.5em;
  border-radius: 0.3em;
  outline: 0.1em solid rgb(0, 0, 0);
  border: none;
  resize: vertical;
  background-color: rgb(243, 243, 243);
}
textarea:focus,
input:focus {
  outline: 0.15em solid #1e2d87;
  background-color: white;
}

.name-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
}

.mailform {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 0 3em;
}

label {
  font-size: 1.2em;
}

dt label {
  padding: 0.2em;
  background: linear-gradient(transparent 60%, #dce2ff 60%);
  color: rgb(0, 0, 0);
  font-weight: bold;
}

#form {
  display: flex;
  flex-direction: column;
  width: 100%;
}
#form dt {
  margin-top: 2em;
  margin-bottom: 0.7em;
}
#form dt:nth-child(2) {
  margin-top: 0em;
}

.must {
  background-color: rgb(255, 87, 87);
  padding: 0.2em 0.5em;
  font-size: 0.9em;
  border-radius: 10em;
  color: white;
  font-weight: 400;
  margin-left: 0.3em;
}

.btn-confirm {
  width: 100%;
  margin-top: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 100%;
  background-color: #96da2e;
  border-radius: 10em;
  border: none;
  box-shadow: 0 0.15em #588a11;
  font-size: 2em;
  font-weight: bold;
  transition: 0.2s all;
  position: relative;
  overflow: hidden;
}
.btn-confirm input[type=submit] {
  background: none;
  border: none;
  padding: 0;
  color: white;
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0.2em 1em;
  outline: none;
  border: none;
  box-shadow: none;
}
.btn-confirm::after {
  position: absolute;
  height: 0.4em;
  width: 0.4em;
  border-top: 0.15em solid white;
  border-right: 0.15em solid white;
  content: "";
  right: 0.5em;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.btn-confirm:hover {
  box-shadow: 0 0em #588a11;
  transform: translateY(0.15em);
}

.formcation {
  margin-top: 0.5em;
  font-size: 0.9em;
}

footer {
  margin-top: 3em;
  background-color: #0a5ead;
  color: white;
  padding: 2em 2em 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1em;
}

.footer_logo {
  width: 100%;
  max-width: 20em;
  margin: 0 auto;
}

.footnavi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  padding: 0;
  padding-left: -1em;
}
.footnavi li {
  list-style: none;
}
.footnavi li a {
  color: white;
}

#copyright {
  font-size: 0.9em;
}

/* 追加する h1 タグのスタイル */
h1 {
  font-size: 36px;
}
