/* ========================================
   RESET
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    Arial,
    sans-serif;

  color: #15315f;
  background: #ffffff;
  line-height: 1.7;
}

img {
  max-width: 100%;
}

a {
  -webkit-tap-highlight-color: transparent;
}



/* ========================================
   HEADER
   MOBILE FIRST
======================================== */

.header {
  width: 100%;

  background: #ffffff;

  border-bottom: 1px solid #e6eef6;

  padding:
    18px
    16px
    14px;

  display: flex;
  flex-direction: column;
  align-items: center;

  position: relative;

  z-index: 10;
}


/* LOGO */

.logo {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.logo a {
  display: block;
  line-height: 0;
}

.logo img {
  display: block;

  width: 175px;
  height: auto;
}


/* NAV */

.main-nav {
  width: 100%;

  display: grid;
  grid-template-columns:
    repeat(5, 1fr);

  align-items: center;

  margin-top: 15px;
}

.main-nav a {
  display: flex;

  justify-content: center;
  align-items: center;

  min-width: 0;

  color: #15315f;

  text-decoration: none;

  font-size: 11px;
  font-weight: 800;

  white-space: nowrap;
}

.main-nav a:hover {
  color: #1689e4;
}


/* PC BUTTON */

.header-contact {
  display: none;
}



/* ========================================
   HERO
======================================== */

.hero {
  width: 100%;

  margin: 0;
  padding: 0;

  overflow: hidden;

  line-height: 0;

  background: #f5fbff;
}

.hero picture {
  display: block;

  width: 100%;

  margin: 0;
  padding: 0;
}

.hero img {
  display: block;

  width: 100%;
  height: auto;

  margin: 0;
  padding: 0;
}



/* ========================================
   COMMON
======================================== */

.service,
.reason,
.price-section,
.works,
.flow,
.contact {
  width: 100%;

  padding:
    58px
    20px;

  text-align: center;
}

.section-small {
  margin-bottom: 7px;

  color: #1689e4;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 5px;
}

.service h2,
.reason h2,
.price-section h2,
.works h2,
.flow h2,
.contact h2 {
  color: #102f63;

  font-size: 28px;
  line-height: 1.4;

  margin-bottom: 15px;
}

.section-description {
  max-width: 620px;

  margin:
    0
    auto
    30px;

  color: #52677f;

  font-size: 14px;
  line-height: 1.8;
}



/* ========================================
   SERVICE
======================================== */

.service {
  background: #ffffff;
}

.service-list {
  width: 100%;
  max-width: 1050px;

  display: grid;
  grid-template-columns: 1fr;

  gap: 16px;

  margin: 0 auto;
}

.service-box {
  width: 100%;

  padding:
    22px
    20px;

  display: flex;
  align-items: center;

  gap: 17px;

  text-align: left;

  background: #ffffff;

  border:
    1px
    solid
    #dcebf7;

  border-radius: 17px;

  box-shadow:
    0 7px 24px
    rgba(25, 100, 170, 0.07);
}

.service-icon {
  width: 65px;
  height: 65px;

  flex-shrink: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;

  background: #eff8ff;

  color: #1689e4;

  font-size: 31px;
  font-weight: 900;
}

.service-text {
  flex: 1;
}

.service-box h3 {
  margin-bottom: 4px;

  color: #087fdf;

  font-size: 19px;
}

.service-box p {
  color: #4b627d;

  font-size: 13px;
  line-height: 1.7;
}



/* ========================================
   REASONS
======================================== */

.reason {
  background: #f3faff;
}

.reason-list {
  max-width: 1050px;

  margin: 30px auto 0;

  display: grid;
  grid-template-columns:
    repeat(2, 1fr);

  gap: 12px;
}

.reason-box {
  padding:
    22px
    12px;

  background: #ffffff;

  border-radius: 15px;

  border:
    1px
    solid
    #e1edf7;
}

.reason-box span {
  display: block;

  color: #1689e4;

  font-size: 30px;
  font-weight: 900;

  margin-bottom: 7px;
}

.reason-box h3 {
  color: #12366b;

  font-size: 16px;

  margin-bottom: 5px;
}

.reason-box p {
  color: #536a84;

  font-size: 11px;
  line-height: 1.7;
}



/* ========================================
   PRICE
======================================== */

.price-section {
  background: #ffffff;
}

.price-intro {
  max-width: 620px;

  margin:
    0
    auto
    35px;

  color: #52677f;

  font-size: 14px;
  line-height: 1.8;
}

.plan-list {
  width: 100%;
  max-width: 930px;

  display: grid;
  grid-template-columns: 1fr;

  gap: 28px;

  margin: 0 auto;
}



/* PLAN CARD */

.plan-card {
  position: relative;

  width: 100%;

  padding:
    32px
    22px;

  background: #ffffff;

  border:
    1px
    solid
    #d7e7f3;

  border-radius: 22px;

  box-shadow:
    0 8px 26px
    rgba(20, 80, 140, 0.08);
}

.plan-card.featured {
  border:
    2px
    solid
    #1689e4;
}

.popular {
  position: absolute;

  top: -15px;
  left: 50%;

  transform:
    translateX(-50%);

  padding:
    5px
    19px;

  background: #1689e4;
  color: #ffffff;

  border-radius: 30px;

  font-size: 12px;
  font-weight: 800;
}

.plan-label {
  color: #1689e4;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 4px;

  margin-bottom: 7px;
}

.plan-card h3 {
  color: #12366b;

  font-size: 25px;

  margin-bottom: 15px;
}

.plan-price {
  color: #3485e3;

  font-size: 45px;
  font-weight: 900;

  line-height: 1.1;

  margin-bottom: 22px;
}

.plan-price span {
  margin-left: 3px;

  font-size: 19px;
}

.page-count {
  display: inline-block;

  margin:
    0
    auto
    25px;

  padding:
    9px
    18px;

  background: #eaf6ff;
  color: #1689e4;

  border-radius: 30px;

  font-size: 14px;
  font-weight: 800;
}

.plan-content-title {
  max-width: 440px;

  margin:
    0
    auto
    7px;

  color: #12366b;

  text-align: left;

  font-size: 15px;
  font-weight: 800;
}

.plan-card ul {
  max-width: 440px;

  margin: 0 auto;

  list-style: none;

  text-align: left;
}

.plan-card li {
  position: relative;

  padding:
    13px
    4px
    13px
    30px;

  border-bottom:
    1px
    solid
    #e8eff5;

  color: #425a75;

  font-size: 14px;
}

.plan-card li::before {
  content: "✓";

  position: absolute;

  left: 5px;
  top: 13px;

  color: #3485e3;

  font-weight: 900;
}

.recommended {
  margin:
    25px
    0
    17px;

  color: #536a84;

  font-size: 13px;
  font-weight: 700;
}

.plan-button {
  display: block;

  width: 100%;

  padding:
    15px
    18px;

  background: #3485e3;
  color: #ffffff;

  border-radius: 40px;

  text-decoration: none;

  text-align: center;

  font-size: 16px;
  font-weight: 900;
}

.plan-button:hover {
  opacity: 0.88;
}



/* EXTRA */

.extra-price {
  width: 100%;
  max-width: 500px;

  margin:
    30px
    auto
    0;

  padding:
    18px
    20px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 10px;

  background: #f4faff;

  border-radius: 13px;

  border:
    1px
    solid
    #dceaf6;
}

.extra-price strong {
  color: #12366b;
}

.extra-price span {
  color: #087fdf;

  font-weight: 900;
}

.price-note {
  max-width: 620px;

  margin:
    17px
    auto
    0;

  color: #718197;

  font-size: 11px;
}



/* ========================================
   WORKS
======================================== */

.works {
  background: #f4faff;
}

.works p {
  color: #52677f;

  font-size: 14px;
}



/* ========================================
   FLOW
======================================== */

.flow {
  background: #ffffff;
}

.flow-list {
  max-width: 1050px;

  margin: 30px auto 0;

  display: grid;
  grid-template-columns:
    repeat(2, 1fr);

  gap: 12px;
}

.flow-box {
  padding:
    20px
    10px;

  border:
    1px
    solid
    #dceaf6;

  border-radius: 14px;
}

.flow-box span {
  display: block;

  color: #1689e4;

  font-size: 13px;
  font-weight: 900;

  margin-bottom: 8px;
}

.flow-box h3 {
  color: #12366b;

  font-size: 15px;

  margin-bottom: 5px;
}

.flow-box p {
  color: #536a84;

  font-size: 11px;
}



/* ========================================
   CONTACT
======================================== */

.contact {
  background: #f4faff;
}

.contact-intro {
  max-width: 560px;

  margin:
    0
    auto
    28px;

  color: #4c617a;

  font-size: 14px;
}



/* FORM */

.contact-form {
  width: 100%;
  max-width: 570px;

  margin: 0 auto;

  padding:
    27px
    20px;

  text-align: left;

  background: #ffffff;

  border-radius: 20px;

  border:
    1px
    solid
    #dceaf6;

  box-shadow:
    0 8px 25px
    rgba(20, 80, 140, 0.06);
}

.contact-form label {
  display: block;

  margin:
    18px
    0
    7px;

  color: #15315f;

  font-size: 13px;
  font-weight: 800;
}

.contact-form label:first-child {
  margin-top: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;

  width: 100%;

  padding: 14px;

  background: #ffffff;

  border:
    1px
    solid
    #d7e2ec;

  border-radius: 10px;

  color: #263e5d;

  font-family: inherit;

  font-size: 16px;
}

.contact-form textarea {
  min-height: 145px;

  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;

  border-color: #1689e4;

  box-shadow:
    0 0 0 3px
    rgba(22, 137, 228, 0.08);
}



/* ESTIMATE */

.estimate-box {
  width: 100%;

  margin:
    23px
    0
    5px;

  padding:
    17px;

  background: #eef8ff;

  border-radius: 13px;

  text-align: center;
}

.estimate-box span {
  display: block;

  color: #536a84;

  font-size: 12px;

  margin-bottom: 3px;
}

.estimate-box strong {
  display: block;

  color: #087fdf;

  font-size: 23px;
  font-weight: 900;
}



/* SEND */

.contact-button {
  width: 100%;

  margin-top: 25px;

  padding:
    16px
    20px;

  border: 0;

  border-radius: 40px;

  background:
    linear-gradient(
      90deg,
      #ff2348,
      #f20c3d
    );

  color: #ffffff;

  font-size: 16px;
  font-weight: 900;

  cursor: pointer;
}

.contact-button:hover {
  opacity: 0.9;
}

.form-note {
  margin-top: 12px;

  text-align: center;

  color: #718197;

  font-size: 10px;
}



/* ========================================
   FOOTER
======================================== */

footer {
  padding:
    35px
    20px;

  background: #0d2d5a;
  color: #ffffff;

  text-align: center;
}

.footer-logo {
  font-size: 23px;
  font-weight: 900;
}

footer p {
  margin-top: 7px;

  font-size: 10px;

  opacity: 0.9;
}



/* ========================================
   VERY SMALL iPHONE
======================================== */

@media screen and (max-width: 374px) {

  .logo img {
    width: 155px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .plan-price {
    font-size: 40px;
  }

  .service,
  .reason,
  .price-section,
  .works,
  .flow,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

}



/* ========================================
   TABLET / DESKTOP
======================================== */

@media screen and (min-width: 769px) {

  .header {
    min-height: 72px;

    flex-direction: row;

    padding:
      10px
      5%;
  }

  .logo {
    width: auto;

    justify-content: flex-start;

    flex-shrink: 0;
  }

  .logo img {
    width: 150px;
  }

  .main-nav {
    width: auto;

    display: flex;

    gap: 25px;

    margin:
      0
      0
      0
      auto;
  }

  .main-nav a {
    font-size: 12px;
  }

  .header-contact {
    display: inline-flex;

    justify-content: center;
    align-items: center;

    margin-left: 27px;

    padding:
      10px
      20px;

    background: #087fdf;
    color: #ffffff;

    border-radius: 30px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 900;
  }


  .service,
  .reason,
  .price-section,
  .works,
  .flow,
  .contact {
    padding:
      78px
      7%;
  }

  .service-list {
    grid-template-columns:
      repeat(3, 1fr);
  }

  .service-box {
    display: block;

    text-align: center;
  }

  .service-icon {
    margin:
      0
      auto
      15px;
  }

  .reason-list {
    grid-template-columns:
      repeat(4, 1fr);
  }

  .flow-list {
    grid-template-columns:
      repeat(4, 1fr);
  }

  .plan-list {
    grid-template-columns:
      repeat(2, 1fr);
  }

}
