/* --------------------
変数
----------------------*/
:root {
  --text-black: #333;
  --color-line: #06c755;
  --color-main-green: #3db680;
  --color-accent-red: #ff4c13;
  --color-border-gray: rgba(246, 246, 247, 0.8);
  --color-background-gray: #f6f6f7;
  --color-background-green: rgba(228, 253, 243, 0.4);

  --font-noto-sans: "Noto Sans JP", sans-serif;
  --font-montserrat: "Montserrat", sans-serif;
  --font-arial: Arial;
}

/* --------------------
共通
----------------------*/
img {
  vertical-align: top;
}

.line-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  width: 240px;
  height: 50px;
  border-radius: 4px;
  background: var(--color-line);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.line-button img {
  width: 36px;
}
.line-button p {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.line-button:active {
  opacity: 0.8;
}
@media screen and (min-width: 600px) {
  .line-button {
    gap: 16px;
    padding: 0 20px;
    width: 320px;
    height: 60px;
    border-radius: 8px;
  }
  .line-button img {
    width: 40px;
  }
  .line-button p {
    font-size: 18px;
  }
}

.apply-button {
  display: inline-block;
  text-align: center;
  padding: 0 12px;
  width: 240px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  background: var(--color-accent-red);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
@media screen and (min-width: 600px) {
  .apply-button {
    padding: 0 20px;
    width: 320px;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
    border-radius: 8px;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-buttons .apply-button {
  display: block;
}
@media screen and (min-width: 600px) {
  .cta-buttons {
    gap: 32px;
  }
}

.section-title-wrap h2 {
  display: block;
  font-size: 24px;
  font-weight: 600;
}
.section-title-wrap span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-main-green);
}
@media screen and (min-width: 600px) {
  .section-title-wrap h2 {
    font-size: 32px;
  }
  .section-title-wrap span {
    font-size: 16px;
    margin-top: 12px;
  }
}

/* --------------------
メインのレイアウト
----------------------*/
main {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
pre,
span,
div,
a {
  color: var(--text-black);
  font-family: var(--font-noto-sans);
  font-weight: normal;
  line-height: 1;
}

/* --------------------
トップ
----------------------*/
.top {
  position: relative;
}
.top__background-wrap {
  position: relative;
}
.top__background {
  width: 100%;
  max-height: 90vh;
  object-fit: cover;
}
.top__logo {
  position: absolute;
  top: 16px;
  left: 24px;
  width: 27%;
  max-width: calc(700px * 0.27);
}
.top__overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10%;
  background: -moz-linear-gradient(top, transparent, rgba(255, 255, 255, 0.8));
  background: -webkit-linear-gradient(
    top,
    transparent,
    rgba(255, 255, 255, 0.8)
  );
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8));
}
.top__description-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  left: 24px;
  bottom: 115px;
  width: calc(100% - 24px * 2);
}
.top__description {
  display: inline-block;
  padding: 8px;
  font-size: 19px;
  font-weight: 600;
  background: #fff;
}
@media screen and (min-width: 600px) {
  .top__description-wrap {
    gap: 16px;
    bottom: 160px;
  }
  .top__description {
    font-size: 26px;
  }
}

/* --------------------
イントロ
----------------------*/
.intro {
  padding: 48px 16px;
}
.intro__title-wrap {
  text-align: center;
}
.intro__title-wrap span {
  font-size: 14px;
}
.intro__title-wrap h1 {
  margin-top: 12px;
  font-family: var(--font-montserrat);
  font-size: 24px;
}
@media screen and (min-width: 600px) {
  .intro {
    padding: 60px 16px;
  }
  .intro__title-wrap span {
    font-size: 16px;
  }
  .intro__title-wrap h1 {
    margin-top: 20px;
    font-size: 28px;
  }
}

.intro__description {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
}
.intro__description--above {
  margin-top: 72px;
}
.intro__description--bottom {
  margin-top: 24px;
}
.intro__list-wrap {
  margin: 0 auto;
  width: 320px;
}
.intro__list-wrap--margin {
  margin-top: 16px;
}
.intro__list {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
  border-bottom: 2px solid var(--color-border-gray);
}
.intro__list img {
  width: 20px;
}
.intro__list p {
  font-size: 14px;
  font-weight: 600;
  height: 44px;
  line-height: 44px;
}
@media screen and (min-width: 600px) {
  .intro__description {
    font-size: 16px;
    line-height: 28px;
  }
  .intro__description--above {
    margin-top: 88px;
  }
  .intro__description--bottom {
    margin-top: 32px;
  }
  .intro__list-wrap {
    width: 400px;
  }
  .intro__list-wrap--margin {
    margin-top: 24px;
  }
  .intro__list {
    gap: 16px;
    padding: 0 8px;
  }
  .intro__list img {
    width: 24px;
  }
  .intro__list p {
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    line-height: 48px;
  }
}

/* --------------------
LINE相談セクション
----------------------*/
.contact {
  position: relative;
  background-image: url("../images/background_cta.jpg");
  background-size: cover;
  background-position: top;
  padding: 48px 16px;
  text-align: center;
}
.contact__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.contact__title {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.contact__list-wrap {
  position: relative;
  width: 305px;
  margin: 0 auto;
}
.contact__list-wrap--margin {
  margin-top: 24px;
}
.contact__list {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--color-border-gray);
}
.contact__list img {
  width: 14px;
}
.contact__list p {
  height: 36px;
  line-height: 36px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.contact__line-button {
  position: relative;
  margin-top: 36px;
}
@media screen and (min-width: 600px) {
  .contact {
    padding: 64px 24px;
  }
  .contact__title {
    font-size: 22px;
  }
  .contact__list-wrap {
    width: 400px;
  }
  .contact__list-wrap--margin {
    margin-top: 36px;
  }
  .contact__list {
    gap: 12px;
  }
  .contact__list img {
    width: 18px;
  }
  .contact__list p {
    height: 48px;
    line-height: 48px;
    font-size: 16px;
  }
  .contact__line-button {
    margin-top: 44px;
  }
}

/* --------------------
特徴
----------------------*/
.feature {
  padding: 48px 16px;
  background: var(--color-background-gray);
}
.feature__title-wrap {
  padding-bottom: 24px;
}
@media screen and (min-width: 600px) {
  .feature {
    padding: 60px 24px;
  }
  .feature__title-wrap {
    padding-bottom: 32px;
  }
}

.feature__list {
  width: 100%;
}
.feature__list:not(:first-of-type) {
  margin-top: 48px;
}
.feature__image-wrap img {
  width: 100%;
  border-radius: 12px;
}
.feature__figcaption {
  margin-top: 24px;
}
.feature__figcaption h3 {
  font-size: 24px;
  font-weight: 600;
}
.feature__figcaption p {
  margin-top: 10px;
  font-size: 14px;
  width: 280px;
  line-height: 1.5;
}
@media screen and (min-width: 600px) {
  .feature__list:not(:first-of-type) {
    margin-top: 60px;
  }
  .feature__image-wrap img {
    border-radius: 16px;
  }
  .feature__figcaption h3 {
    margin-top: 32px;
    font-size: 28px;
  }
  .feature__figcaption p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.8;
    width: 480px;
  }
}

.feature__cta-buttons {
  margin-top: 48px;
}
@media screen and (min-width: 600px) {
  .feature__cta-buttons {
    margin-top: 60px;
  }
}

/* --------------------
登録から出会いまでの流れ
----------------------*/
.flow {
  padding: 48px 16px;
}
.flow__title-wrap {
  padding-bottom: 24px;
}
@media screen and (min-width: 600px) {
  .flow {
    padding: 60px 24px;
  }
  .flow__title-wrap {
    padding-bottom: 32px;
  }
}

.flow__list-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.flow__list {
  position: relative;
  padding-left: 32px;
}
.flow__list:not(:last-of-type)::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 5px;
  width: 4px;
  height: calc(100% + 48px + 10px);
  background: var(--color-accent-red);
}
.flow__list::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 7px;
  background: var(--color-accent-red);
}
.flow__step-title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}
.flow__step-title span {
  display: inline-block;
  padding-right: 12px;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
}
.flow__image-wrap {
  position: relative;
  margin-top: 16px;
}
.flow__image-wrap::before {
  content: "";
  display: block;
  padding-top: 56.1%;
}
.flow__image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.flow__description {
  margin-top: 12px;
  padding-left: 12px;
  font-size: 14px;
  line-height: 1.4;
}
@media screen and (min-width: 600px) {
  .flow__list-wrap {
    gap: 60px;
  }
  .flow__list {
    padding-left: 32px;
  }
  .flow__list:not(:last-of-type)::before {
    height: calc(100% + 60px + 10px);
  }
  .flow__image-wrap {
    margin-top: 24px;
  }
  .flow__description {
    margin-top: 24px;
    padding-left: 16px;
    font-size: 16px;
  }
}

/* --------------------
料金プラン
----------------------*/
.price {
  padding: 48px 16px;
  background: var(--color-background-green);
}
.price__title-wrap {
  padding-bottom: 24px;
}
.price__head {
  display: block;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: var(--color-accent-red);
}
@media screen and (min-width: 600px) {
  .price {
    padding: 60px 24px;
  }
  .price__title-wrap {
    padding-bottom: 32px;
  }
  .price__head {
    font-size: 24px;
  }
}

.price__box-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.icon-plus-gray {
  position: relative;
  width: 20px;
  height: 20px;
}
.icon-plus-gray::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 100%;
  height: 3px;
  border-radius: 1.5px;
  background: var(--color-background-gray);
}
.icon-plus-gray::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 3px;
  height: 100%;
  border-radius: 1.5px;
  background: var(--color-background-gray);
}
.price-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  height: 160px;
  border: 2px solid var(--color-background-gray);
  border-radius: 12px;
  background: #fff;
}
.price-box__title {
  font-size: 16px;
  font-weight: bold;
}
.price-box--left .price-box__title {
  margin-top: 16px;
}
.price-box--right .price-box__title {
  margin-top: 44px;
}
.price-box__price {
  margin-top: 12px;
  font-size: 15px;
  font-weight: bold;
  color: var(--color-accent-red);
}
.price-box__price span {
  display: inline-block;
  padding-right: 4px;
  font-size: 36px;
  font-weight: bold;
  color: var(--color-accent-red);
}
.price-box__bottom {
  position: absolute;
  bottom: -2px;
  left: -2px;
  right: -2px;
  height: 56px;
  background: var(--color-main-green);
  border-radius: 0 0 12px 12px;
  text-align: center;
}
.price-box__bottom::before {
  content: "";
  position: absolute;
  background: var(--color-main-green);
  width: 16px;
  height: 16px;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  -webkit-transform: translateX(-50%) rotate(45deg);
  -ms-transform: translateX(-50%) rotate(45deg);
}
.price-box__bottom-title {
  margin-top: 12px;
  font-size: 14px;
  color: #fff;
  z-index: 1;
}
.price-box__bottom-price {
  position: relative;
  display: inline-block;
  margin-top: 4px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  z-index: 1;
}
.price-box__bottom-price::before {
  content: "";
  display: block;
  position: absolute;
  top: 60%;
  left: -2px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: calc(100% + 4px);
  height: 2px;
  background: var(--color-accent-red);
}
.price-box__bottom-price span {
  display: inline-block;
  padding-right: 4px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}
@media screen and (min-width: 600px) {
  .price__head {
    font-size: 28px;
  }
  .price__box-wrap {
    margin-top: 40px;
  }
  .price-box {
    width: 200px;
    height: 240px;
    border-radius: 24px;
  }
  .price-box__title {
    font-size: 18px;
  }
  .price-box--left .price-box__title {
    margin-top: 40px;
  }
  .price-box--right .price-box__title {
    margin-top: 80px;
  }
  .price-box__price {
    margin-top: 16px;
    font-size: 28px;
  }
  .price-box__price span {
    font-size: 40px;
  }

  .price-box__bottom {
    height: 80px;
    border-radius: 0 0 24px 24px;
  }
  .price-box__bottom-title {
    margin-top: 16px;
    font-size: 18px;
  }
  .price-box__bottom-price {
    margin-top: 8px;
    font-size: 18px;
  }
  .price-box__bottom-price span {
    font-size: 18px;
  }
}

.price__cta-buttons {
  margin-top: 48px;
}
@media screen and (min-width: 600px) {
  .price__cta-buttons {
    margin-top: 60px;
  }
}

/* --------------------
会員データ
----------------------*/
.data {
  padding: 48px 16px;
}
.data__title-wrap {
  padding-bottom: 24px;
}
@media screen and (min-width: 600px) {
  .data {
    padding: 60px 24px;
  }
  .data__title-wrap {
    padding-bottom: 32px;
  }
}

.data__kind {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  padding-left: 12px;
  border-left: 3px solid var(--color-main-green);
}
.data__kind:not(:first-of-type) {
  margin-top: 48px;
}
.data__image-wrap {
  margin-top: 4px;
  width: 100%;
}
.data__image-wrap img {
  width: 100%;
}
.data__description {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.data__description span {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}
@media screen and (min-width: 600px) {
  .data__kind {
    font-size: 20px;
    padding-left: 16px;
  }
  .data__kind:not(:first-of-type) {
    margin-top: 60px;
  }
  .data__image-wrap {
    margin-top: 12px;
  }
  .data__description {
    margin-top: 12px;
    font-size: 16px;
  }
  .data__description span {
    font-size: 24px;
  }
}

/* --------------------
AIによるバックアップ
----------------------*/
.ai {
  padding: 48px 16px;
}
.ai__title {
  font-size: 24px;
  font-weight: bold;
  line-height: 2;
}
.ai__feature-title {
  margin-top: 48px;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
  padding-left: 12px;
  border-left: 3px solid var(--color-main-green);
}
.ai__image-wrap {
  margin-top: 24px;
}
.ai__image-wrap img {
  width: 100%;
}
.ai__description {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.4;
}
.ai__description span {
  font-weight: bold;
}
@media screen and (min-width: 600px) {
  .ai {
    padding: 60px 24px;
  }
  .ai__title {
    font-size: 28px;
  }
  .ai__feature-title {
    margin-top: 64px;
    font-size: 28px;
    padding-left: 16px;
  }
  .ai__image-wrap {
    margin-top: 44px;
  }
  .ai__description {
    margin-top: 32px;
    font-size: 16px;
  }
}

/* --------------------
IBJとは
----------------------*/
.about {
  padding: 48px 16px;
  background: var(--color-background-gray);
}
.about__title-wrap {
  padding-bottom: 24px;
}
.about__image-wrap {
  padding-bottom: 24px;
}
.about__image-wrap img {
  width: 100%;
}
.about__description {
  font-size: 16px;
  line-height: 1.5;
}
.about__description span {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  color: var(--color-accent-red);
}
.about__description--small {
  margin-top: 48px;
  font-size: 12px;
}
.about__award-image-wrap {
  margin: 0 auto;
  margin-top: 24px;
  width: 60%;
}
@media screen and (min-width: 600px) {
  .about {
    padding: 60px 24px;
  }
  .about__title-wrap {
    padding-bottom: 32px;
  }
  .about__image-wrap {
    padding-bottom: 40px;
  }
  .about__description {
    font-size: 20px;
  }
  .about__description span {
    font-size: 20px;
  }
  .about__description--small {
    font-size: 14px;
    margin-top: 60px;
  }
  .about__award-image-wrap {
    margin-top: 40px;
  }
}

/* --------------------
よくあるご質問
----------------------*/
.faq {
  padding: 48px 16px;
  background: var(--color-background-gray);
}
.faq__title-wrap {
  padding-bottom: 24px;
}
@media screen and (min-width: 600px) {
  .faq {
    padding: 60px 24px;
  }
  .faq__title-wrap {
    padding-bottom: 32px;
  }
}

.faq__list-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq__question-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}
.faq__question-wrap:active {
  opacity: 0.7;
}
.faq__question-wrap span {
  align-self: flex-start;
  margin-top: 1px;
  font-size: 18px;
  font-weight: bold;
  font-family: var(--font-arial);
  color: var(--color-main-green);
}
.faq__question-wrap p {
  flex-grow: 1;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
}
.faq__question-wrap img {
  width: 18px;
}
.faq__list-opened .faq__question-wrap img {
  transform: rotate(180deg);
}
.faq__answer {
  display: none;
  position: relative;
  margin: 0 auto;
  margin-top: 12px;
  padding-left: 46px;
  padding-right: 34px;
  padding-bottom: 16px;
  font-size: 14px;
  line-height: 1.4;
}
.faq__answer::before {
  content: "A.";
  position: absolute;
  top: 0;
  left: 16px;
  font-size: 18px;
  font-weight: bold;
  font-family: var(--font-arial);
  color: var(--color-main-green);
}
.faq__list-opened .faq__answer {
  display: block;
}
@media screen and (min-width: 600px) {
  .faq__list-wrap {
    gap: 12px;
  }
  .faq__question-wrap {
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
  }
  .faq__question-wrap span {
    margin-top: 1px;
    font-size: 20px;
  }
  .faq__question-wrap p {
    font-size: 16px;
  }
  .faq__question-wrap img {
    width: 20px;
  }
  .faq__answer {
    margin-top: 16px;
    padding-left: 56px;
    padding-right: 40px;
    padding-bottom: 20px;
    font-size: 16px;
  }
  .faq__answer::before {
    top: -2px;
    left: 20px;
    font-size: 20px;
  }
}

/* --------------------
婚活サポートへの思い
----------------------*/
.message {
  padding: 48px 16px;
}
.message__title-wrap {
  padding-bottom: 24px;
}
.message__image-wrap img {
  width: 100%;
  border-radius: 24px;
}
.message__description {
  margin-top: 24px;
  padding-right: 16px;
  font-size: 14px;
  line-height: 1.4;
}
@media screen and (min-width: 600px) {
  .message {
    padding: 60px 24px;
  }
  .message__title-wrap {
    padding-bottom: 32px;
  }
  .message__image-wrap img {
    border-radius: 32px;
  }
  .message__description {
    margin-top: 32px;
    padding-right: 24px;
    font-size: 18px;
  }
}

/* --------------------
フッター
----------------------*/
.footer {
  padding: 36px 16px 118px;
  background: var(--color-background-gray);
}
.footer__list-wrap {
  margin-left: -24px;
}
.footer__list {
  display: inline-block;
  margin-top: 12px;
  margin-left: 24px;
}
.footer__list a {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none;
}
.footer__license {
  margin-top: 24px;
  font-size: 10px;
}
.footer__copyright {
  margin-top: 4px;
  font-size: 10px;
}
@media screen and (min-width: 600px) {
  .footer {
    padding: 44px 24px 60px;
  }
  .footer__list-wrap {
    margin-left: -32px;
  }
  .footer__list {
    margin-top: 16px;
    margin-left: 32px;
  }
  .footer__list a {
    font-size: 16px;
  }
  .footer__license {
    margin-top: 32px;
    font-size: 12px;
  }
  .footer__copyright {
    margin-top: 8px;
    font-size: 12px;
  }
}

/* --------------------
固定フッター
----------------------*/
.cta-footer {
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}
.cta-footer__content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin: 0 auto;
}
.cta-footer .line-button {
  width: 134px;
  gap: 8px;
}
.cta-footer .line-button img {
  width: 32px;
}
.cta-footer .line-button p {
  font-size: 16px;
}
.cta-footer .apply-button {
  width: auto;
  flex-grow: 1;
  font-size: 16px;
}
@media screen and (min-width: 600px) {
  .cta-footer {
    display: none;
  }
}
@media screen and (max-width: 374px) {
  .cta-footer .line-button p {
    font-size: 12px;
  }
  .cta-footer .apply-button {
    font-size: 12px;
  }
}
