@charset "UTF-8";

/*==================================================
  初めての方へ（/first/）
==================================================*/

body#page.page-first {
  --first-orange: #F29100;
  --first-orange-light: #FFF8E9;
  --first-border: #F3D68D;
  --first-bg: #F8E0A6;
  --first-box: rgba(255, 255, 255, .82);
  --first-text: #111;
  --first-gray: #666;
}

/*----------------------------------
  Base
----------------------------------*/

body#page.page-first #content {
  padding-top: 18px;
  padding-bottom: 100px;
}

body#page.page-first #content .content-body {
  max-width: 860px;
}

body#page.page-first #content h1,
body#page.page-first #content h2,
body#page.page-first #content h3,
body#page.page-first #content p {
  margin: 0;
}

/*----------------------------------
  Hero
----------------------------------*/

body#page.page-first #content .first-hero {
  padding-bottom: 10px;
  text-align: center;
}

body#page.page-first #content .first-logo {
  margin: 60px 0 44px;
}

body#page.page-first #content .first-logo img {
  display: block;
  width: 138px !important;
  max-width: 138px !important;
  height: auto;
  margin: 0 auto;
}

body#page.page-first #content .first-copy {
  margin: 0 0 40px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.7;
}

body#page.page-first #content .first-lead {
  position: relative;
  display: inline-block;
  margin: 0 0 42px;
  padding: 16px 38px;
  border: 2px solid var(--first-border);
  border-radius: 999px;
  background: var(--first-orange-light);
  box-shadow: 0 8px 18px rgba(242, 145, 0, .08);
  color: #555;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

body#page.page-first #content .first-lead::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translateX(-50%) rotate(45deg);
  border-top: 2px solid var(--first-border);
  border-left: 2px solid var(--first-border);
  background: var(--first-orange-light);
}

body#page.page-first #content .first-lead span {
  color: var(--first-orange);
  font-weight: 900;
}

/*----------------------------------
  Section title
----------------------------------*/

body#page.page-first #content .first-section-title {
  position: relative;
  left: auto;
  display: block;
  width: fit-content;
  margin: 0 auto 46px;
  padding: 0 10px 14px;
  transform: none;
  border: none;
  color: var(--first-text);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .08em;
  text-align: center;
}

body#page.page-first #content .first-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 120px;
  height: 3px;
  transform: translateX(-50%);
  background: var(--first-orange);
}

/*----------------------------------
  Flow
----------------------------------*/

body#page.page-first #content .first-flow {
  max-width: 760px;
  margin: 80px auto 120px;
  padding: 46px 64px 60px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FBE4AA 0%, #F8DEA2 100%);
  text-align: center;
}

body#page.page-first #content .flow-list {
  --step-width: 120px;
  --flow-gap: 34px;

  position: relative;
  max-width: 540px;
  margin: 0 auto 64px;
  padding: 0;
  list-style: none;
}

/* 縦線 */
body#page.page-first #content .flow-list::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: calc(var(--step-width) + (var(--flow-gap) / 2));
  width: 3px;
  transform: translateX(-50%);
  background: #fff;
}

/* 各行 */
body#page.page-first #content .flow-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--flow-gap);
}

body#page.page-first #content .flow-list li + li {
  margin-top: 20px;
}

/* 白丸 */
body#page.page-first #content .flow-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--step-width) + (var(--flow-gap) / 2));
  z-index: 1;
  width: 17px;
  height: 17px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
}

/* 左ラベル */
body#page.page-first #content .flow-list .step {
  position: static;
  flex: 0 0 var(--step-width);
  width: var(--step-width);
  margin: 0;
  padding: 0;
  transform: none;
  border: none;
  color: var(--first-orange);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

/* 右ボックス */
body#page.page-first #content .flow-list .box {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  gap: 18px;
  min-width: 0;
  min-height: 62px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--first-box);
  color: var(--first-text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
  text-align: left;
}

body#page.page-first #content .flow-list .box > div {
  flex: 1;
  min-width: 0;
}

body#page.page-first #content .flow-list .material-symbols-outlined {
  flex: none;
  width: 32px;
  color: var(--first-orange);
  font-size: 30px;
  line-height: 1;
  text-align: center;
  font-variation-settings:
    "FILL" 0,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

body#page.page-first #content .period {
  display: block;
  margin-top: .25em;
  color: #888;
  font-size: .72em;
  font-weight: 500;
  line-height: 1.4;
}

/*----------------------------------
  Flow result
----------------------------------*/

body#page.page-first #content .flow-result {
  position: relative;
  padding-top: 42px;
  text-align: center;
}

body#page.page-first #content .flow-result::before,
body#page.page-first #content .flow-result::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 170px;
  height: 1px;
  background: rgba(242, 145, 0, .35);
}

body#page.page-first #content .flow-result::before {
  left: 40px;
}

body#page.page-first #content .flow-result::after {
  right: 40px;
}

body#page.page-first #content .flow-result .crown {
  margin-bottom: 18px;
}

body#page.page-first #content .flow-result .crown img {
  width: 50px;
}

body#page.page-first #content .flow-result .text {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .06em;
}

body#page.page-first #content .flow-result .text::before,
body#page.page-first #content .flow-result .text::after {
  color: var(--first-orange);
  font-size: 26px;
  font-weight: 900;
}

body#page.page-first #content .flow-result .text::before {
  content: "‹";
  margin-right: 20px;
}

body#page.page-first #content .flow-result .text::after {
  content: "›";
  margin-left: 20px;
}

/*----------------------------------
  Flow note
----------------------------------*/

body#page.page-first #content .flow-note {
  margin: 28px auto 0;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

body#page.page-first #content .flow-note a {
  color: var(--first-orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body#page.page-first #content .flow-note a:hover {
  text-decoration: none;
}

/*----------------------------------
  FAQ
----------------------------------*/

body#page.page-first #content .first-faq {
  margin-top: 0;
  text-align: center;
}

body#page.page-first #content .first-faq .first-section-title {
  margin-bottom: 46px;
}

body#page.page-first #content .faq-list {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

body#page.page-first #content .faq-list li + li {
  margin-top: 22px;
}

body#page.page-first #content .faq-list .question {
  position: relative;
  left: auto;
  display: flex;
  align-items: center;
  min-height: 54px;
  margin: 0;
  padding: 0 20px 0 56px;
  transform: none;
  border: none;
  border-radius: 6px;
  background: #F8F8F8;
  color: var(--first-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

body#page.page-first #content .faq-list .answer {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  margin-top: 8px;
  padding-left: 56px;
  color: var(--first-text);
  font-size: 15px;
  line-height: 1.7;
}

body#page.page-first #content .faq-list .question::before,
body#page.page-first #content .faq-list .answer::before {
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
  font-weight: 900;
  line-height: 1;
}

body#page.page-first #content .faq-list .question::before {
  content: "Q.";
}

body#page.page-first #content .faq-list .answer::before {
  content: "A.";
}

/*----------------------------------
  Button
----------------------------------*/

body#page.page-first #content .first-button {
  margin-top: 34px;
  text-align: center;
}

body#page.page-first #content .first-button a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--first-text);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease !important;
}

body#page.page-first #content .first-button-sub a {
  min-width: 300px;
  min-height: 48px;
  padding: 12px 48px 12px 32px;
  border: 1px solid #DDD;
  border-radius: 8px;
  font-size: 14px;
}

body#page.page-first #content .first-button-sub a::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-54%);
  color: var(--first-orange);
  font-size: 24px;
  line-height: 1;
}

body#page.page-first #content .first-button-sub a:hover {
  border-color: var(--first-orange) !important;
  background: #FFF8EA !important;
  color: var(--first-orange) !important;
}

/*----------------------------------
  Entry
----------------------------------*/

body#page.page-first #content .first-entry {
  margin-top: 100px;
  text-align: center;
}

body#page.page-first #content .first-entry .copy {
  display: inline;
  background: linear-gradient(transparent 58%, #F8D083 58%);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: .03em;
}

body#page.page-first #content .first-button-main {
  margin-top: 54px;
}

body#page.page-first #content .first-button-main a {
  min-width: 360px;
  min-height: 64px;
  padding: 18px 68px 18px 42px;
  border: 3px solid var(--first-orange);
  border-radius: 16px;
  font-size: 17px;
  font-weight: 900;
}

body#page.page-first #content .first-button-main a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--first-orange);
}

body#page.page-first #content .first-button-main a::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 39px;
  transform: translateY(-55%);
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

body#page.page-first #content .first-button-main a:hover {
  background: var(--first-orange) !important;
  color: #fff !important;
}

body#page.page-first #content .first-button-main a:hover::before {
  background: #fff !important;
}

body#page.page-first #content .first-button-main a:hover::after {
  color: var(--first-orange) !important;
}

/*----------------------------------
  Narrow PC / Tablet
----------------------------------*/

@media screen and (min-width: 760px) and (max-width: 1000px) {

  body#page.page-first #content .first-flow {
    padding-right: 36px;
    padding-left: 36px;
  }

  body#page.page-first #content .flow-list {
    --step-width: 100px;
    --flow-gap: 28px;

    max-width: 500px;
  }

  body#page.page-first #content .flow-list .step {
    font-size: 16px;
  }

  body#page.page-first #content .flow-list .box {
    gap: 14px;
    padding: 14px 18px;
    font-size: 16px;
  }

  body#page.page-first #content .flow-list .material-symbols-outlined {
    width: 28px;
    font-size: 27px;
  }
}

/*----------------------------------
  SP
----------------------------------*/

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

  body#page.page-first #content {
    padding-top: 10px;
    padding-bottom: 70px;
  }

  body#page.page-first #content .content-body {
    margin-right: 10px;
    margin-left: 10px;
  }

  body#page.page-first #content .first-logo {
    margin: 42px 0 34px;
  }

  body#page.page-first #content .first-logo img {
    width: 150px !important;
    max-width: 150px !important;
  }

  body#page.page-first #content .first-copy {
    margin: 0 0 34px;
    font-size: 17px;
    line-height: 1.65;
  }

  body#page.page-first #content .first-lead {
    margin-bottom: 34px;
    padding: 14px 22px;
    border-radius: 18px;
    font-size: 16px;
  }

  body#page.page-first #content .first-flow {
    max-width: none;
    margin: 60px auto 76px;
    padding: 36px 16px 42px;
    border-radius: 10px;
  }

  body#page.page-first #content .first-section-title {
    margin: 0 auto 34px;
    font-size: 28px;
  }

  /* SPでは縦型カードに変更 */
  body#page.page-first #content .flow-list {
    max-width: none;
    margin: 0 auto 44px;
  }

  body#page.page-first #content .flow-list::before,
  body#page.page-first #content .flow-list li::before {
    display: none;
  }

  body#page.page-first #content .flow-list li {
    display: block;
  }

  body#page.page-first #content .flow-list li + li {
    margin-top: 20px;
  }

  body#page.page-first #content .flow-list .step {
    display: block;
    width: auto;
    margin: 0 0 7px;
    padding-left: 4px;
    color: var(--first-orange);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
  }

  body#page.page-first #content .flow-list .box {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    width: 100%;
    min-height: 0;
    padding: 16px 18px;
    border-radius: 9px;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
  }

  body#page.page-first #content .flow-list .box > div {
    min-width: 0;
  }

  body#page.page-first #content .flow-list .material-symbols-outlined {
    width: 34px;
    font-size: 27px;
  }

  body#page.page-first #content .period {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
  }

  body#page.page-first #content .flow-result {
    padding-top: 36px;
  }

  body#page.page-first #content .flow-result::before,
  body#page.page-first #content .flow-result::after {
    width: 64px;
  }

  body#page.page-first #content .flow-result::before {
    left: 8px;
  }

  body#page.page-first #content .flow-result::after {
    right: 8px;
  }

  body#page.page-first #content .flow-result .text {
    font-size: 27px;
  }

  body#page.page-first #content .flow-note {
    margin-top: 22px;
    padding: 0 10px;
    font-size: 13px;
    line-height: 1.7;
  }

  body#page.page-first #content .faq-list {
    max-width: none;
  }

  body#page.page-first #content .faq-list .question {
    min-height: 54px;
    padding: 0 16px 0 54px;
    font-size: 15px;
  }

  body#page.page-first #content .faq-list .answer {
    min-height: 40px;
    padding-left: 54px;
    font-size: 15px;
  }

  body#page.page-first #content .first-button-sub a {
    min-width: 0;
    width: 100%;
    max-width: 300px;
  }

  body#page.page-first #content .first-entry {
    margin-top: 62px;
  }

  body#page.page-first #content .first-entry .copy {
    font-size: 20px;
    line-height: 1.7;
  }

  body#page.page-first #content .first-button-main {
    margin-top: 38px;
  }

  body#page.page-first #content .first-button-main a {
    width: 100%;
    min-width: 0;
    min-height: 66px;
    padding: 18px 58px 18px 24px;
    border-radius: 18px;
    font-size: 16px;
  }

  body#page.page-first #content .first-button-main a::before {
    right: 22px;
  }

  body#page.page-first #content .first-button-main a::after {
    right: 33px;
  }
}