*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --vw: 100vw;
  --color-blue: #007DAF;
  --color-cyan: #46aceb;
  --color-pale: #ebf4f8;
  --color-footer: #51656f;
  --color-pink: #e96f9b;
  --color-pink-dark: #E67396;
  --pc-yohaku-: 80px;
  --sp-yohaku-: 70px;
}

html {
  margin-top: 0 !important;
  font-size: 10px;
  scroll-behavior: auto;
}

body {
  margin: 0;
  line-height: 1.5;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", 'ヒラギノ角ゴ W3', メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1.3rem;
  color: #505050;
  background: #fff;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt";
}

main {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
picture {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.l-body {
  overflow: hidden;
}

.l-header {
  background: #fff;
  height: 106px;
}

.l-header__inner {
  height: 100%;
  display: flex;
}

.l-container {
  max-width: 870px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.p-hd__logo {
  width: 190px;
  margin-left: 148px;
}

.p-hd__logo img {
  width: 100%;
}

.home-page {
  background: #fff;
}

.kasesuru-container {
  max-width: 870px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.home-kv {
  overflow: hidden;
  background: linear-gradient(180deg, #FAE6E6 0%, #FAE6E6 62%, #FFF 100%);
}

.home-kv__inner {
  padding-top: 42px;
  padding-bottom: 54px;
}

.home-kv__inner img {
  width: 100%;
}

.home-users {
  background: #fff;
  padding: 20px 0 0 0;
}

.home-users__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: 30px;
}

.home-users__card {
  position: relative;
}

.home-users__card img {
  width: 100%;
}

.home-howto {
  padding: var(--pc-yohaku-) 0;
  background: #fff;
}

.home-howto img,
.home-products img,
.home-strength img,
.home-closing img {
  width: 100%;
}

.home-products {
  padding: 0 0 var(--pc-yohaku-) 0;
  background: #fff;
}

.home-merit__inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.home-merit img {
  width: 100%;
}

.home-strength {
  padding: var(--pc-yohaku-) 0;
  background: #fff;
}

.home-strength__media {
  position: relative;
}

.home-strength__caseBtn {
  position: absolute;
  left: 28%;
  right: 53.6%;
  bottom: 5%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 40px;
  border-radius: 999px;
  color: #fff;
  background: var(--color-pink);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.home-strength__caseBtn::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 13px;
  margin-left: 8px;
  background: url("../images/icons/arrow-right-white.svg") center / contain no-repeat;
}

.home-closing {
  padding: 0 0 var(--pc-yohaku-) 0;
  background: linear-gradient(180deg, #FFF 0%, #FAE6E6 62%, #FAE6E6 100%);
}

.home-youtube {
  overflow: hidden;
  width: min(100%, 560px);
  aspect-ratio: 16 / 9;
  margin: var(--pc-yohaku-) auto 0 auto;
  background: #d9eaf2;
}

.home-youtube iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-faq {
  padding: var(--pc-yohaku-) 0;
  border-radius: 28px 28px 0 0;
  background: #fff;
}

.home-faq__title {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.home-faq__title img {
  width: 233px;
}

.home-faq__items {
  display: grid;
}

.home-faq__item {
  overflow: hidden;
  border-bottom: 1px solid #f3bdd0;
  background: #fff;
}

.home-faq__question {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 25px 58px 25px 22px;
  color: var(--color-pink-dark);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.home-faq__question::-webkit-details-marker {
  display: none;
}

.home-faq__question::marker {
  content: "";
}

.home-faq__question::before,
.home-faq__question::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--color-pink-dark);
  transform: translateY(-50%);
}

.home-faq__question::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform .25s;
}

.home-faq__item[open] .home-faq__question::after,
.home-faq__item.is-closing .home-faq__question::after {
  transform: translateY(-50%) rotate(0deg);
}

.home-faq__mark {
  display: block;
  width: 42px;
  height: 42px;
  background: url("../images/icons/faq-q.svg") center / contain no-repeat;
}

.home-faq__mark--answer {
  background-image: url("../images/icons/faq-a.svg");
}

.home-faq__answer {
  overflow: hidden;
  height: 0;
  opacity: 0;
}

.home-faq__item[open] .home-faq__answer,
.home-faq__item.is-closing .home-faq__answer {
  height: auto;
  opacity: 1;
}

.home-faq__answerInner {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 0 58px 22px 22px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .05em;
}

.home-faq__link {
  color: var(--color-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-faq__office {
  display: inline-block;
  margin-right: .9em;
}

.c-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 62px;
  padding: 12px 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.c-cta::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 15px;
  margin-left: 12px;
  background: url("../images/icons/arrow-right-white.svg") center / contain no-repeat;
}

.c-cta--consumer {
  background: var(--color-pink);
}

.c-cta--business {
  background: var(--color-blue);
}

.c-cta--business-outline {
  border: 2px solid var(--color-blue);
  color: var(--color-blue);
  background: #fff;
}

.c-cta--business-outline::after {
  background-image: url("../images/icons/arrow-right-blue.svg");
}

.c-cta--inline {
  position: absolute;
  left: 50%;
  bottom: 36px;
  min-width: 310px;
  transform: translateX(-50%);
}

.home-users__businessCta {
  position: absolute;
  right: 32px;
  bottom: 36px;
  left: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.c-cta--inlineBusiness {
  min-width: 0;
}

.p-fixBtns {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9;
  width: 100%;
  transform: translateY(100%);
  transition: transform .3s;
}

.p-fixBtns.is-on {
  transform: translateY(0);
}

.p-fixBtns__bg {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 8;
  width: 100%;
  height: 96px;
  mix-blend-mode: multiply;
  background: var(--color-footer);
  /* background: color-mix(var(--color-footer), #000 20%); */
  opacity: .92;
  transform: translateY(100%);
  transition: transform .3s;
}

.p-fixBtns__bg.is-on {
  transform: translateY(0);
}

.p-fixBtns__inner {
  max-width: 870px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

.p-fixBtns .c-cta {
  min-width: 0;
  width: 30%;
  max-width: 320px;
  min-height: 62px;
  box-shadow: none;
}

.l-footer {
  position: relative;
  padding-bottom: 80px;
  color: #fff;
  background: var(--color-footer);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

.l-footer__inner {
  padding: 50px 0 55px;
}

.p-ft__gotop {
  position: absolute;
  right: 150px;
  top: -38px;
}

.p-ft__gotop a {
  display: block;
  width: 84px;
  height: 84px;
}

.p-ft__gotop img {
  width: 90%;
  height: 90%;
}

.p-ft__inner {
  display: flex;
}

.p-ft__logo {
  display: flex;
  margin-bottom: 40px;
}

.p-ft__logo img {
  width: 421px;
}

.p-ft__txt1 {
  margin-bottom: .5em;
  font-size: 1.6rem;
  font-weight: 700;
}

.p-ft__txt1 span {
  border-bottom: 2px solid #fff;
}

.p-ft__txt2 {
  margin-bottom: 2em;
  font-size: 1.4rem;
  font-weight: 500;
}

.p-ft__copy {
  font-size: 1.6rem;
  font-weight: 700;
}

.u-over {
  transition: opacity .3s;
}

.u-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s, transform 1s;
}

.u-fade.is-fade {
  opacity: 1;
  transform: translateY(0);
}

.u-fadeNext {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s, transform 1s;
}

.u-fadeNext.is-fadeNext {
  opacity: 1;
  transform: translateY(0);
}

.u-visuallyHidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

@media screen and (min-width: 992px) {
  .u-over:hover {
    opacity: .7;
  }

  .u-sp {
    display: none !important;
  }
}

@media screen and (max-width: 991px) {
  body {
    font-size: 1.2rem;
  }

  .u-pc {
    display: none !important;
  }

  .l-header {
    height: 53px;
  }

  .p-hd__logo {
    width: 98px;
    margin-left: 5px;
  }

  .home-kv__inner {
    padding-top: 22px;
    padding-bottom: 30px;
  }

  .home-kv__sp {
    display: grid !important;
    gap: 28px;
    justify-items: center;
  }

  .home-kv__sp img:first-child {
    width: 335px;
    margin: 0 auto;
  }

  .home-kv__sp img:last-child {
    width: 294px;
    margin: 0 auto;
  }

  .home-users__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-users__cards {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-users__card img {
    width: min(100%, 338px);
    margin: 0 auto;
  }

  .home-users__card:first-child::before {
    content: "";
    display: block;
    width: min(100%, 338px);
    aspect-ratio: 677 / 1095;
    margin: 0 auto;
    background: url("../images/sp/asset_sp3.png") center / contain no-repeat;
  }

  .home-users__card:nth-child(2)::before {
    content: "";
    display: block;
    width: min(100%, 338px);
    aspect-ratio: 677 / 1301;
    margin: 0 auto;
    background: url("../images/sp/asset_sp4.png") center / contain no-repeat;
  }

  .home-users__card:first-child>img.u-sp,
  .home-users__card:nth-child(2)>img.u-sp {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
  }

  .c-cta--inline {
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: min(100%, 300px);
    margin: 0;
    transform: translateX(-50%);
  }

  .home-users__businessCta {
    grid-template-columns: auto;
    right: 36px;
    bottom: 28px;
    left: 36px;
    gap: 11px;
  }

  .c-cta--inlineBusiness {}

  .home-howto {
    padding: var(--sp-yohaku-) 0;
  }

  .home-howto img {
    width: 75% !important;
  }

  .home-howto img,
  .home-strength img {
    width: min(100%, 338px);
    margin: 0 auto;
  }

  .home-strength__media {
    width: min(100%, 338px);
    margin: 0 auto;
  }

  .home-strength__media img {
    width: 100%;
  }

  .home-products {
    padding-top: 0;
    padding-bottom: var(--sp-yohaku-);
  }

  .home-products__sp {
    position: relative;
    width: 100%;
  }

  .home-products__title {
    width: 92% !important;
    margin: 0 auto 30px;
  }

  .home-products__viewport {
    overflow: hidden;
  }

  .home-products__list {
    display: grid;
    grid-auto-columns: 100%;
    grid-auto-flow: column;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-products__list::-webkit-scrollbar {
    display: none;
  }

  .home-products__item {
    display: flex;
    justify-content: center;
    min-width: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .home-products__card {
    width: 100%;
    margin: 0;
    padding: 28px 28px 17px;
    border-radius: 8px;
    background: #fde8ec;
  }

  .home-products__card img {
    width: min(100%, 282px);
    margin: 0 auto;
    border-radius: 4px;
  }

  .home-products__name {
    margin-top: 14px;
    color: #4d4d4d;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
  }

  .home-products__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
  }

  .home-products__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfcfcf;
  }

  .home-products__dot.is-current {
    background: var(--color-pink-dark);
  }

  .home-products__dot:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 3px;
  }

  .home-products__offer {
    width: min(100%, 338px);
    margin: 18px auto 0;
  }

  .home-merit {
    padding: 0;
  }

  .home-merit img {
    width: min(100%);
  }

  .home-strength {
    padding: var(--sp-yohaku-) 0;
  }

  .home-strength__caseBtn {
    left: 7.4%;
    right: 7.4%;
    top: 48.5%;
    bottom: auto;
    width: auto;
    min-height: 56px;
  }

  .home-closing {
    padding-top: 0;
    padding-bottom: var(--sp-yohaku-);

    .kasesuru-container {
      padding: 0;
    }
  }

  .home-youtube {
    margin: var(--sp-yohaku-) 20px 0;
    width: auto;
  }

  .home-faq {
    padding: var(--sp-yohaku-) 0;
    border-radius: 18px 18px 0 0;
  }

  .home-faq__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-faq__title {
    margin-bottom: 24px;
  }

  .home-faq__title img {
    width: 177px;
  }

  .home-faq__question {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 25px 38px 25px 0px;
  }

  .home-faq__question::before,
  .home-faq__question::after {
    right: 18px;
    width: 16px;
  }

  .home-faq__mark {
    width: 38px;
    height: 38px;
  }

  .home-faq__answerInner {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 0 18px 18px 0px;
  }

  .c-cta {
    width: min(100%, 300px);
    min-width: 0;
    min-height: 56px;
    padding: 10px 18px;
    line-height: 1;
    ;
    font-size: 1.8rem;
  }

  .p-fixBtns__bg {
    height: 80px;
  }

  .p-fixBtns__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
  }

  .p-fixBtns .c-cta {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 8px 8px;
    border-radius: 8px;
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .p-fixBtns .c-cta::after {
    display: none;
  }

  .l-footer {
    padding-bottom: 65px;
  }

  .l-footer__inner {
    padding: 60px 0 50px;
  }

  .p-ft__gotop {
    right: 25px;
    top: -26px;
  }

  .p-ft__gotop a {
    width: 58px;
    height: 58px;
  }

  .p-ft__inner {
    text-align: center;
    justify-content: center;
  }

  .p-ft__logo {
    margin-bottom: 30px;
  }

  .p-ft__logo img {
    width: 300px;
  }

  .p-ft__txt1 {
    margin-bottom: 2em;
    font-size: 1.2rem;
  }

  .p-ft__txt1 span {
    border-width: 1px;
  }

  .p-ft__txt2 {
    font-size: 1.2rem;
  }

  .p-ft__copy {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }

  .u-fade,
  .u-fadeNext {
    opacity: 1;
    transform: none;
  }
}

/* 超小型デバイス (iPhone SE以下, 幅 375px以下) */
@media screen and (max-width: 374px) {
  .home-users__businessCta {
    left: 36px;
  }
}

/* 小型デバイス (iPhone SE より大きく iPhone12 Pro 以下) */
@media screen and (min-width: 375px) and (max-width: 390px) {
  .home-users__businessCta {
    left: 38px;
  }
}

/* 小中型デバイス (iPhone12 Pro より大きく iPhoneXR 以下) */
@media screen and (min-width: 391px) and (max-width: 414px) {
  .home-users__businessCta {
    left: 56px;
  }
}

/* 中型デバイス (iPhone14/15 など) */
@media screen and (min-width: 415px) and (max-width: 429px) {
  .home-users__businessCta {
    left: 65px;
  }
}

/* 大型デバイス (iPhone14 Pro Max など、幅 430px以上) */
@media screen and (min-width: 430px) {
  .home-users__businessCta {
    left: 68px;
  }
}

/* タブレット (幅 768px以上) */
@media screen and (min-width: 768px) {
  .home-users__businessCta {
    left: 30.5%;
  }
}

/* 大型タブレット・小型PC (幅 1024px以上) */
@media screen and (min-width: 1024px) {
  .home-users__businessCta {
    left: 42px;
    right: auto;
  }
}

/* 横向きモード対応 (スマートフォン横向き) */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .l-header {
    height: 60px;
  }

  .p-fixBtns__inner {
    padding: 12px 20px;
  }

  .p-fixBtns .c-cta {
    min-height: 44px;
  }
}

/* タッチデバイス対応 */
@media (hover: hover) and (pointer: fine) {
  .c-cta:hover {
    opacity: 0.7;
  }
}

/* タッチデバイス (ホバー非対応) */
@media (hover: none) and (pointer: coarse) {
  .c-cta:active {
    opacity: 0.8;
  }
}
