@charset "utf-8";
/* CSS Document */
#moflin .inner {
  width: 90%;
  max-width: 1200px;
  margin: min(5vw, 50px) auto;
}
/* mv */
#mv {
  position: relative;
}
#moflin #mv .title {
  position: absolute;
  top: 23%;
  left: 3%;
  text-align: left;
  color: #ffffff;
  text-shadow: 0 0 20px var(--moflin-gray-color);
  font-size: min(6vw, 70px);
  line-height: 1.5;
  margin: 0;
}
/* lead */
#lead {
  margin-top: 100px;
}
/* application */
.app-contents {
  display: flex;
  align-items: center;
  max-width: 760px;
  margin-inline: auto;
}
.app-logo {
  margin: 0 40px 10px 10px;
}
.app-btn-grp {
  display: flex;
  gap: 30px;
}
.app-btn-grp img {
  max-height: 60px;
}
/* support */
#support {
  text-align: center;
}
#support .inner {
  margin: min(5vw, 50px) auto min(10vw, 100px);
}
#support p {
  line-height: 1.5;
}
#support .lead {
  margin: 50px 0;
}
#support h3 {
  font-size: min(4.8vw, 34px);
}
.support-contents1 {
  max-width: 930px;
  margin-inline: auto;
}
.box {
  border: solid 3px #d5d5d7;
  padding: min(10vw, 30px);
}
.support-contents2-content .box {
  min-height: 1000px;
}
#support .support-contents1 p {
  font-size: min(4.2vw, 24px);
  font-weight: 700;
}
#support .support-contents1 h3 {
  font-size: min(5vw, 40px);
  margin-bottom: 30px;
}
#support .support-contents1 h4 {
  font-size: min(5vw, 40px);
}
#support .price span {
  font-size: 2.0em;
}
#support .price.result {
  color: var(--moflin-theme-color);
}
.support-contents2-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.support-contents2-content p {
  font-size: min(3.8vw, 16px);
}
#support .support-contents2-content a {
  text-decoration: underline;
}
.support-contents2-content h3 {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  min-height: 250px;
}
.support-contents2-content h3 img {
  width: 200px;
}
.support-contents2-content h3 span {
  font-size: .5em;
}
.support-contents2-content h4 {
  font-size: min(6vw, 28px);
  margin-bottom: 20px;
}
.support-contents2-content h5 {
  font-size: min(4.4vw, 32px);
  color: #ffffff;
  background: var(--moflin-theme-color);
  padding: 10px;
  border-radius: 10px;
}
.support-contents__header {
  margin-bottom: 40px;
}
.price-off-detail {
  display: flex;
  gap: 40px;
  justify-content: center;
  text-align: left;
  font-weight: 700;
  align-items: center;
  margin: 20px 0;
  position: relative;
}
.price-off-detail p {
  font-size: min(4.1vw, 20px);
}
#support .price-off-detail p:nth-child(2) {
  position: relative;
}
#support .price-off-detail p:nth-child(2)::before {
  content: "";
  display: inline-block;
  width: 17px;
  aspect-ratio: 17 / 25;
  background: var(--moflin-theme-color);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  right: calc(100% + 4px);
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
}
#support .price-off-detail p:nth-child(1) span {
  font-size: 1.5em;
}
.support-contents2-content > .box > div {
  padding: 40px 0;
}
.support-contents2-content > .box > div:nth-child(1) {
  border-bottom: solid 1px #d5d5d7;
}
.support-contents3 {
  width: 80%;
  margin: min(10vw, 100px) auto 0;
}
#support h3.support-contents3__title {
  color: #ffffff;
  background-color: var(--moflin-gray-color);
  border-radius: 10px;
  padding: 20px;
}
.support-contents3_step-grp {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 100px;
  margin-top: min(6vw, 60px);
}
.step {
  position: relative;
}
.step::after {
  content: "";
  display: inline-block;
  width: 21px;
  aspect-ratio: 17 / 25;
  background: #d8d9dd;
  position: absolute;
  top: 170px;
  transform: translateY(-50%);
  right: -25%;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
}
.step:last-of-type::after {
  content: none;
  display: none;
}
.step h4 {
  font-size: min(4.5vw, 24px);
}
.step-img {
  margin: 20px 0;
}
#support .step-txt p {
  font-size: min(3.8vw, 20px);
  font-weight: 500;
  margin-bottom: 0;
}
#support .moflin-color p {
  font-weight: 700;
  font-size: min(6vw, 30px);
}
/* commmune */
#commmune {
  width: 90%;
  max-width: 1200px;
  margin: min(5vw, 50px) auto;
  text-align: center;
}
#commmune h2 {
  margin-bottom: .8em;
}
.commmune-img {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
}
#commmune img {
  border-radius: 20px;
  overflow: hidden;
  transition: .3s ease-out;
}
#commmune img:hover {
  transform: scale(1.05);
}
/* Moflin Owner's Page */
#owners h2.title {
  font-size: min(7vw, 60px);
}
#owners .inner {
  max-width: 900px;
}
.owners-contents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.owners-contents-txt__btn .moflin-btn {
  width: 100%;
}
@media (max-width: 767px) {
  /* mv */
  #moflin #mv .title {
    position: absolute;
    top: 34%;
    left: 6%;
  }
  /* application */
  .app-contents {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .app-img {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }
  .app-img img {
    width: 80%;
  }
  .app-txt {
    width: 90%;
  }
  /* support */
  #support .box {
    border: solid 3px #d5d5d7;
    padding: min(18vw, 30px);
    padding: 6vw;
  }
  .support-contents2-inner {
    display: grid;
    grid-template-columns: 1fr;
  }
  .support-contents2-content .box {
    min-height: auto;
  }
  .support-contents2-content h3 img {
    width: 50%;
  }
  .price-off-detail {
    display: flex;
    flex-direction: column;
  }
  #support .price-off-detail p:nth-child(2)::before {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    right: auto;
  }
  .support-contents3_step-grp {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 15vw;
  }
  .support-contents3 {
    width: 100%;
  }
  #support h3.support-contents3__title {
    padding: 10px;
  }
  .step {
    position: relative;
    text-align: left;
    margin-bottom: 50px;
  }
  .step:last-of-type {
    margin-bottom: 0;
  }
  .step::after {
    top: 160%;
    transform: translateX(-50%) rotate(90deg);
    left: 50%;
  }
  .step-img {
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin: 0;
  }
  #support .step h4, #support .step-txt {
    padding-left: 120px;
  }
  /* Moflin Owner's Page */
  .owners-contents {
    display: grid;
    grid-template-columns: 1fr;
  }
}