:root {
  --main-color: #f8f8e4;
  --main-color-rgb: 248, 248, 228;
  --color-starter: #00ab42;
  --color-standard: #d4531c;
  --color-perfect: #d0d036;
  --color-enterprise: #bb2b2b;
}

nav {
  display: none;
}

body {
  background-color: #8d8883;
}

main {
  padding-bottom: 0;
  margin: 0 auto;
}

br {
  display: block;
}

span[data-margin-bottom="16"] {
  margin-bottom: 16px;
}

span[data-margin-bottom="8"] {
  margin-bottom: 8px;
}

span[data-highlight="true"] {
  background: linear-gradient(transparent 50%, rgba(var(--color-accent-yellow-rgb)) 100%);
}

body {
  overflow-x: hidden;
}

section {
  position: relative;
  padding-bottom: 0;
  z-index: 10;
}

.v_source_han_serif {
  font-family: "source-han-serif-jp-variable", sans-serif;
  font-variation-settings: "wght" 400;
}

.v_source_han_sans,
.v_source_han_sans span {
  font-family: "source-han-sans-jp-variable", sans-serif;
  font-variation-settings: "wght" 400;
}

/* セクション */
.section_inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 80px;
  text-align: center;
}

.title_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.title_wrap span,
.title_wrap h2 {
  color: #000;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .fixed_contact_link {
    top: unset;
    right: 16px;
    bottom: 40px;
  }

  .section_inner {
    padding: 40px 8px;
  }

  .title_wrap {
    padding: 16px 40px;
  }
}

/* ロゴ */
#logo {
  position: fixed;
  top: 16px;
  left: 16px;
  width: 200px;
  transition: opacity 0.2s ease-in-out;
  background-color: rgba(var(--main-color-rgb), 10%);
  box-shadow: 8px 16px 32px rgba(var(--main-color-rgb), 15%);
  z-index: 40;
}

/* 最初に戻る */
#resetScrollBtn {
  --size-btn: 60px;
  position: fixed;
  right: 16px;
  bottom: 16px;
  min-width: var(--size-btn);
  max-width: var(--size-btn);
  min-height: var(--size-btn);
  max-height: var(--size-btn);
  overflow: hidden;
  border-radius: 50%;
  background-color: var(--main-color);
  box-shadow: 8px 8px 8px gray;
  z-index: 100;
}

@media (max-width: 768px) {
  #resetScrollBtn {
    bottom: 70px;
  }
}

/*
////////////////////////////////////////////////////
ファーストビュー
////////////////////////////////////////////////////
*/
#firstview {
  position: relative;
  top: 0;
  left: 0;
  max-width: 100%;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.firstview_content {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.firstview_powered {
  display: block;
  margin-bottom: 16px;
}

.firstview_powered span {
  display: block;
  color: #fff;
  text-align: center;
  font-size: var(--font-size-s);
}

.firstview_tag {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.firstview_tag a {
  display: block;
  width: max-content;
  min-width: 100px;
  padding: 4px 16px;
  margin: 0 8px;
  border-radius: 16px;
  background-color: var(--color-golden);
}

.firstview_tag span {
  display: block;
  width: 100%;
  color: #fff;
  text-align: center;
  font-size: var(--font-size-xs);
  font-variation-settings: "wght" 600;
}

.firstview_catchy_text {
  display: flex;
  flex-direction: column;
  width: max-content;
  margin: 0 auto;
}

.firstview_catchy_text span {
  line-height: 1.2;
  color: #fff;
  text-align: center;
  font-size: var(--font-size-xxxxl);
  font-variation-settings: "wght" 900;
}

.firstview_price span {
  display: block;
  color: var(--color-gray-subtle);
  font-size: var(--font-size-xs);
  text-align: center;
}

/* 背景画像 */
.background_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  z-index: 1;
  overflow: hidden;
}

@media (max-width: 768px) {
  #firstview {
    min-height: 30vh;
    height: 60vh;
  }

  .firstview_content {
    top: 120px;
    transform: translate(-50%, 0);
  }

  .firstview_powered span {
    font-size: var(--font-size-xs);
  }

  .firstview_catchy_text span {
    font-size: var(--font-size-xl);
  }

  .firstview_tag {
    margin-top: 40px;
  }

  .background_image {
    width: auto;
    height: 100vh;
  }
}

/*
////////////////////////////////////////////////////
ターゲット
////////////////////////////////////////////////////
*/
#target {
  position: relative;
  background-color: #8ec5fc;
  background-image: linear-gradient(174deg, #8ec5fc 0%, #e0c3fc 100%);
}

#target .section_inner {
  padding: 0;
}

.target_img_wrap {
  position: relative;
  width: 320px;
  max-width: 100%;
  margin: 0 auto 32px;
  z-index: 2;
}

.target_img_wrap img {
  filter: grayscale(100%);
}

.target_text_container {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  z-index: 2;
}

.target_text_container span {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 8px;
  font-size: var(--font-size-s);
  font-weight: bold;
  font-variation-settings: "wght" 400;
  color: var(--color-gray-dark);
  text-shadow: 2px 2px 2px var(--color-white-ivory);
  /* background: linear-gradient(transparent 50%, rgba(var(--color-accent-yellow-rgb)) 100%); */
}

.target_cta {
  margin-bottom: 40px;
}

.target_cta span {
  width: max-content;
  max-width: 100%;
  font-size: var(--font-size-xl);
  font-weight: bold;
  font-variation-settings: "wght" 600;
  text-shadow: 2px 2px 2px var(--color-gray-blue);
  color: var(--color-white-offwhite);
  border-bottom: 2px dashed var(--color-white-offwhite);
}

.target_contact_link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 320px;
  width: max-content;
  aspect-ratio: 2/1;
  padding: 16px 24px;
  margin: 0 auto 40px;
  border-radius: 4px;
  background-color: #fbab7e;
  background-image: linear-gradient(340deg, #fbab7e 0%, #f7ce68 100%);
}

.target_contact_link span {
  display: block;
  width: max-content;
  max-width: 100%;
  font-weight: bold;
  font-size: var(--font-size-m);
  font-variation-settings: "wght" 400;
  text-decoration: none;
  color: var(--color-gray-dark);
}

@media (max-width: 768px) {
  .target_cta span {
    border: none;
  }
  .target_text_container span {
    font-size: var(--font-size-s);
  }
}
/*
////////////////////////////////////////////////////
私たちについて
////////////////////////////////////////////////////
*/
#advantage {
  width: 100%;
  min-height: 100vh;
  padding-bottom: 80px;
  background-color: #dcdcdc;
}

.advantage_inner {
  width: 680px;
  max-width: 92%;
  margin: 0 auto;
  padding-top: 24px;
}

.text_box {
  display: inline-block;
  margin-bottom: 24px;
}

.text_box span {
  font-variation-settings: "wght" 500;
}

.contact_link_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  max-width: 90%;
  margin: 0 auto 32px;
  padding: 16px 40px;
  background: rgb(238, 174, 202);
  background: linear-gradient(208deg, rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);
  border-radius: 32px;
  box-shadow: 8px 4px 4px #eeaeca;
}

.contact_link_box span {
  display: block;
  text-decoration: none;
  text-align: center;
  color: var(--color-white-offwhite);
}

.line_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.line_box .note {
  display: block;
  width: max-content;
  margin: 8px auto 0;
  text-align: center;
  text-decoration: none;
  color: var(--color-gray-blue);
  border-bottom: 2px dashed var(--color-line);
}

@media screen and (max-width: 768px) {
  .text_box {
    display: flex;
    flex-direction: column;
  }

  .text_box span {
    font-size: var(--font-size-s);
  }
}

/*
////////////////////////////////////////////////////
記事
////////////////////////////////////////////////////
*/
#articleSection {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  background-color: #fff;
}

#articleSection h2 {
  display: block;
  margin-bottom: 40px;
  text-align: center;
}

#articleSection .article_list {
  display: block;
  width: 1080px;
  max-width: 100%;
  margin: 0 auto;
}

.article_list article {
  display: block;
  width: 100%;
  height: 100%;
  padding: 24px;
  border-radius: 8px;
  background-color: var(--color-white-ivory);
}

.article_list article a {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 24px;
  width: 100%;
}

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

.article_title h3 {
  font-size: var(--font-size-xl);
  line-height: 1.2;
}

@media (max-width: 768px) {
  #articleSection h2 {
    margin-bottom: 0;
  }
  .article_list {
    grid-template-columns: repeat(1, 1fr);
  }
  .article_list article a {
    display: flex;
    flex-direction: column;
  }
}

/*
////////////////////////////////////////////////////
料金
////////////////////////////////////////////////////
*/

#price {
  background-color: #faaca8;
  background-image: linear-gradient(326deg, #faaca8 0%, #ddd6f3 100%);
}

#price .section_inner {
  width: 880px;
  margin: 0 auto;
  padding: 32px 0 80px;
}

#price p {
  text-align: center;
}
.price_description {
  margin-bottom: 32px;
}

.price_subscription {
  margin-bottom: 40px;
  padding: 32px;
  background-color: #fff;
}

.price_subscription h4 {
  font-variation-settings: "wght" 700;
  font-size: var(--font-size-l);
}

.price_plan {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.price {
  font-size: var(--font-size-m);
}

.price_working {
  padding: 32px;
  background-color: #fff;
}

.price_wrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.price_wrap h4 {
  font-size: var(--font-size-m);
}
.price_wrap .sum {
  font-size: var(--font-size-s);
  font-variation-settings: "wght" 600;
}

#basicMaintenanceWorks {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 16px auto;
  text-align: center;
  text-decoration: none;
}

#basicMaintenanceWorksContent {
  display: flex;
  flex-direction: column;
}

#basicMaintenanceWorksContent[data-open="false"] {
  display: none;
}

/*
////////////////////////////////////////////////////
趣意書
////////////////////////////////////////////////////
*/
section.main_claim {
  width: 780px;
  max-width: 100%;
  margin: 80px auto;
  padding: 80px;
  background-color: var(--color-white-ivory);
  border-radius: 32px;
}

.two_column {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.main_claim_container {
  width: calc(100% - 260px);
  margin: 0 auto;
}

.section_img_wrap {
  margin-bottom: 32px;
}

.main_claim h2 {
  margin-bottom: 16px;
  font-size: var(--font-size-xxl);
}

.main_claim h3 {
  font-size: var(--font-size-l);
  margin-top: 40px;
  margin-bottom: 4px;
}

.main_claim p {
  margin-bottom: 1.3rem;
  line-height: 1.7;
}

.main_claim span[data-highlight="true"] {
  background: linear-gradient(transparent 50%, rgba(var(--color-accent-yellow-rgb)) 100%);
}

.index_column {
  position: relative;
  width: 240px;
  margin: 0 auto;
  height: 100%;
}

.index_column h3 {
  display: block;
  margin-bottom: 16px;
  text-align: right;
  color: var(--color-white-offwhite);
}

.fixed_container {
  display: flex;
  flex-direction: column;
  position: unset;
  top: 50%;
  right: 24px;
  padding: 16px;
  border-radius: 8px;
  transform: translateY(-50%);
  background-color: var(--color-gray-blue);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 11;
}

.fixed_container[data-fixed="true"] {
  position: fixed;
  opacity: 1;
}

.index_item {
  margin-bottom: 8px;
}

.index_item span {
  text-decoration: none;
  color: var(--color-white-offwhite);
}

.index_skip {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 4px 8px;
  border-radius: 16px;
  background-color: var(--color-white-offwhite);
}

.index_skip span {
  display: block;
  font-size: var(--font-size-s);
  text-align: center;
  color: var(--color-gray-dark);
}

#claims .contact_link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 300px;
  max-width: 100%;
  padding: 16px;
  margin: 40px auto;
  background-color: var(--color-gray-blue);
  border-radius: 32px;
}

#claims .contact_link span {
  text-align: center;
  color: var(--color-white-offwhite);
}

/*
////////////////////////////////////////////////////
よくある質問
////////////////////////////////////////////////////
*/
#faq {
  background-color: #ffdee9;
  background-image: linear-gradient(0deg, #ffdee9 0%, #b5fffc 100%);
}

.faq_item {
  width: 680px;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 32px;
  border-radius: 32px;
  background-color: var(--color-white-ivory);
  text-align: left;
}

.faq_item h3 {
  display: block;
  margin-bottom: 4px;
}

.answer_title {
  display: block;
  margin-bottom: 8px;
  font-size: var(--font-size-xl);
  font-weight: bold;
  font-variation-settings: "wght" 600;
}

.answer_text {
  display: inline-block;
}

.answer_text a {
  display: inline-block;
}

/*
////////////////////////////////////////////////////
お問い合わせセクション
////////////////////////////////////////////////////
*/
#contact {
  padding-bottom: 80px;
  background-color: #faaca8;
  background-image: linear-gradient(19deg, #faaca8 0%, #ddd6f3 100%);
}

.contact_inner_container {
  display: flex;
  flex-direction: column;
}

.contact_img_wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 680px;
  max-width: 100%;
  margin: 32px auto;
  overflow: hidden;
}

#contact .title_wrap {
  margin-bottom: 0;
}

#contact .section_inner {
  width: 680px;
  max-width: 100%;
  margin: 0 auto 80px;
  padding-top: 32px;
  border-radius: 24px;
  background-color: #fff;
  overflow: hidden;
}

#contact .section_inner form {
  background-color: transparent;
}

.contact_text {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.contact_text span {
  color: var(--color-gray-thin);
  font-size: var(--font-size-s);
  font-variation-settings: "wght" 400;
}

#contact .btn {
  display: flex;
  margin: 0 auto;
}

#contact input,
#contact textarea {
  padding: 1rem;
}

.form_item {
  margin-bottom: 24px;
}

#submitBtn {
  width: 100%;
  height: 80px;
}

.privacy_link {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: max-content;
  margin: 0 auto 24px 0;
}

.privacy_link span {
  width: max-content;
}

.privacy_link span:last-of-type {
  color: gray;
}

#contactAddressConfirm {
  margin-bottom: 4px;
  font-size: var(--font-size-l);
  font-weight: bold;
}

.privacy_check_wrap {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  #contact .section_inner {
    width: 96%;
    margin: 0 auto;
  }

  .contact_inner_container {
    margin-bottom: 24px;
  }
}

/*
////////////////////////////////////////////////////
運営会社
////////////////////////////////////////////////////
*/
#company {
  padding-bottom: 80px;
  border-bottom: 8px solid var(--color-white-offwhite);
  background-color: #8bc6ec;
  background-image: linear-gradient(135deg, #8bc6ec 0%, #9599e2 100%);
}

#company * {
  color: var(--color-white-offwhite);
}

#company .section_inner {
  padding-top: 0;
}

#company .section_inner > div {
  display: flex;
  flex-direction: column;
}

.company_name {
  margin-bottom: 40px;
  font-size: var(--font-size-xl);
  font-weight: bold;
  font-variation-settings: "wght" 600;
  color: var(--color-white-offwhite);
}

.company_img_wrap {
  width: 680px;
  max-width: 100%;
  margin: 0 auto 32px;
}

.company_link {
  margin-bottom: 16px;
  font-size: var(--font-size-m);
  color: var(--color-white-offwhite);
}

.company_links h4 {
  font-size: var(--font-size-m);
}

.company_links a span {
  font-size: var(--font-size-s);
}

.company_links span {
  color: var(--color-white-offwhite);
}

.company_contact_link {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 280px;
  padding: 16px 54px;
  margin: 0 auto;
  border-radius: 24px;
  background: rgb(255, 244, 0);
  background: linear-gradient(43deg, rgba(255, 244, 0, 1) 15%, rgba(255, 181, 0, 1) 91%);
}

#company .company_contact_link span {
  display: block;
  color: var(--color-gray-dark);
  text-align: center;
  text-decoration: none;
}

/* 記事 */
.article_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.article_item {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  margin: 0 auto 16px;
  border-radius: 8px;
  overflow: hidden;
}

.article_item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.article_item h3 {
  position: absolute;
  top: 8px;
  left: 8px;
  text-align: left;
  font-size: var(--font-size-s);
  font-weight: bold;
  font-variation-settings: "wght" 400;
  color: var(--color-white-offwhite);
  z-index: 2;
}

@media screen and (max-width: 1000px) {
  .index_column {
    display: none;
  }
}

/* iPhone SE 2nd Gen */
@media screen and (max-width: 400px) and (max-height: 680px) {
  #firstview {
    min-height: 80vh;
  }
}
