@charset "UTF-8";
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
}

body {
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

.wrap {
  overflow: hidden;
}

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

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

a {
  color: inherit;
}

p {
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
}

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

.clear::after {
  content: "";
  clear: both;
  display: block;
}

@media (min-width: 1200px) {
  a[href^="tel:"] {
    display: inline-block;
    pointer-events: none;
  }
}
@media (max-width: 1199px) {
  a[href^="tel:"] {
    display: inline-block;
    pointer-events: none;
  }
}
@media (max-width: 767px) {
  a[href^="tel:"] {
    display: block;
    pointer-events: painted;
  }
}

/*デバイスごとの表示切り替え*/
@media (max-width: 1199px) {
  .pc-only {
    display: none;
  }
}
@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
}

.tab-below {
  display: none;
}
@media (max-width: 1199px) {
  .tab-below {
    display: block;
  }
}

@media (min-width: 1200px) {
  .tab-only {
    display: none;
  }
}
@media (max-width: 1199px) {
  .tab-only {
    display: block;
  }
}
@media (max-width: 767px) {
  .tab-only {
    display: none;
  }
}

.sp-only {
  display: none;
}
@media (max-width: 767px) {
  .sp-only {
    display: block;
  }
}

.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh; /* 画面の高さいっぱいにする */
}

/*************************************************************************************
メインコンテンツ
**************************************************************************************/
body {
  font-family: "Noto Sans JP", sans-serif;
}

.main-contents {
  max-width: 390px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  background-color: #ffffff;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.cta a {
  display: block;
}
.cta a img {
  display: block;
}

/*************************************************************************************
ファーストビュー
**************************************************************************************/
.fv {
  position: relative;
  overflow: hidden;
}

.fv__img {
  display: block;
  text-align: center;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
.fv__lists {
  position: absolute;
  top: 64.5%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 0 10px;
}
.fv__lists li {
  background-color: #352f2f;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  white-space: nowrap;
}
.fv__lists li:not(:last-of-type) {
  margin-bottom: 5px;
}
.fv__lists li span {
  color: #ffff00;
}

/*************************************************************************************
問題
**************************************************************************************/
.problem {
  background-color: #352f2f;
  padding: 20px 0;
  margin-top: -20px;
  position: relative;
  z-index: 999;
}

.problem__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 92%;
  margin-right: auto;
  margin-left: auto;
}

.problem__text {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  line-height: 100%;
  color: #ffffff;
}
.problem__text span {
  color: #ffff00;
}

/*************************************************************************************
解決
**************************************************************************************/
.solution {
  background-color: #ffffff;
  padding: 20px 0;
}

.solution__wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 92%;
  margin-right: auto;
  margin-left: auto;
}
.solution__wrap li img {
  display: block;
}

.solution__last {
  display: block;
  width: 92%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 8px;
}

/*************************************************************************************
即日入寮診断
**************************************************************************************/
.diagnosis {
  background: url(../img/diagnosis-bg.jpg) no-repeat center/cover;
  padding: 30px 0;
}

.diagnosis__container {
  background-color: #eaeaea;
  border-radius: 20px;
  width: 92%;
  margin-right: auto;
  margin-left: auto;
}

.diagnosis__intoroduction {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 20px 20px 0 0;
}

.diagnosis__title {
  font-family: "Noto Sans JP", sans-serif;
  color: #1b8870;
  font-weight: 900;
  font-size: 45px;
  text-align: center;
}

.diagnosis__text {
  font-family: "Noto Sans JP", sans-serif;
  color: #1b8870;
  font-weight: 900;
  font-size: 13px;
}

.diagnosis__steps {
  margin: 10px auto;
  max-width: 300px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
}
.diagnosis__steps .active {
  background-color: #1b8870;
  color: #ffffff;
}

.diagnosis__step {
  background-color: #eaeaea;
  border-radius: 50px;
  font-size: 10px;
  text-align: center;
  padding: 11px 10px;
  font-weight: 700;
}
.diagnosis__step span {
  display: block;
  font-size: 20px;
  line-height: 100%;
}

.question__form-container {
  border-radius: 0 0 20px 20px;
  padding-top: 20px;
  padding-bottom: 10px;
}

.diagnosis__question {
  color: #1b8870;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
}

.question__wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 89%;
  margin: 30px auto;
  margin-bottom: 20px;
}

.question__radio {
  padding: 5px 0;
}
.question__radio label {
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.question__radio .align-top {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
.question__radio input {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.diagnosis__btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.diagnosis__result {
  background-color: #ffffff;
  border-radius: 0 0 20px 20px;
  display: none;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 30px;
}

.diagnosis__result-title {
  color: #1b8870;
  font-size: 36px;
  text-align: center;
  font-weight: 700;
}

.diagnosis__probability {
  text-wrap: 500px;
}
.diagnosis__probability strong {
  font-size: 36px;
  color: #1b8870;
}

.diagnosis__result__text {
  font-size: 16px;
  margin-bottom: 30px;
  font-weight: 500;
}
.diagnosis__result__text strong {
  font-size: 20px;
  color: #1b8870;
}

.diagnosis__link {
  position: relative;
  display: inline-block;
  padding: 10px;
  color: #fff;
  background-image: linear-gradient(-190deg, #1b8870, #00bd01);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  border: none;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  -webkit-animation: pulse 2s ease-in-out infinite;
  animation: pulse 2s ease-in-out infinite;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.diagnosis__link a {
  padding: 10px 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 22px;
}

/* 右上から左下に光が斜めに差す装飾 */
.diagnosis__lnk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 150%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 40%,
    transparent 60%
  );
  pointer-events: none;
}

/* 拡大縮小アニメーション */
@-webkit-keyframes pulse {
  0%,
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
}
@keyframes pulse {
  0%,
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
}
/*************************************************************************************
こんな悩みを抱えているあなたへ
**************************************************************************************/
.support {
  padding-top: 40px;
}
.support p {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  font-size: 18px;
  font-weight: 700;
}
.support p:nth-of-type(2) {
  background-color: #ffff00;
}
.support p:nth-of-type(3) span {
  color: #1b8870;
}
.support img:last-of-type {
  margin-top: 30px;
  width: 92%;
  margin-right: auto;
  margin-left: auto;
}

/*************************************************************************************
○○な方へ
**************************************************************************************/
.case {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#352f2f),
    color-stop(98%, #352f2f),
    color-stop(98%, #ffffff),
    to(#ffffff)
  );
  background: linear-gradient(
    180deg,
    #352f2f 0%,
    #352f2f 98%,
    #ffffff 98%,
    #ffffff 100%
  );
  margin-bottom: -40px;
}

/*************************************************************************************
マンガ
**************************************************************************************/
.comic {
  padding-top: 60px;
}

.swiper {
  position: relative;
}

.swiper-slide img {
  display: block;
}

.swiper-button-prev,
.swiper-button-next {
  color: transparent !important;
  background-color: #352f2f;
  padding: 40px 8px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 20px !important;
}

.swiper-button-prev {
  left: 0px !important;
  padding-left: 12px;
}
.swiper-button-prev::after {
  background: url(../img/prev.png) no-repeat center/cover;
}

.swiper-button-next {
  right: 0px !important;
  padding-right: 12px;
}
.swiper-button-next::after {
  background: url(../img/next.png) no-repeat center/cover;
}

.comic__cta {
  position: relative;
  z-index: 9999;
  margin-top: -70px;
}

/*************************************************************************************
安心無料サポート
**************************************************************************************/
.free-support {
  background-color: #1b8870;
}

.free-support__wrap {
  width: 92%;
  margin-right: auto;
  margin-left: auto;
}

.free-support__block {
  margin-bottom: 10px;
}
.free-support__block p {
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  line-height: 100%;
}
.free-support__block p span {
  color: #ffff00;
}
.free-support__block small {
  display: block;
  color: #ffffff;
  text-align: right;
  font-weight: 700;
  padding-right: 5px;
}

/*************************************************************************************
全国案件15000件以上の案件
**************************************************************************************/
.map {
  margin: 40px 0;
  width: 92%;
  display: block;
  margin-right: auto;
  margin-left: auto;
}

/*************************************************************************************
申し訳ございません！
**************************************************************************************/
.attention {
  background: url(../img/attention-bg.jpg) no-repeat center/cover;
  padding-top: 80px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
}

.attention__sorry {
  font-size: 36px;
}

.attention__announce {
  line-height: 200%;
}
.attention__announce span {
  background-color: #352f2f;
  padding: 5px;
  color: #ffffff;
}

.attention__recommend img {
  width: 70%;
  margin-right: 5px;
}
.attention__recommend span {
  font-size: 24px;
}

.green {
  color: #1b8870;
  margin-top: 8px;
}

.dot-ruby {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  gap: 0.1em; /* お好みで文字間調整 */
}

.dot-ruby span {
  position: relative;
  display: inline-block;
}

.dot-ruby span::before {
  content: "・";
  position: absolute;
  top: -12px; /* 上の位置調整 */
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 0.8em;
  color: inherit;
  white-space: nowrap;
}

/*************************************************************************************
口コミ
**************************************************************************************/
.review {
  background-color: #1b8870;
  padding: 30px 0;
}

.review__title {
  color: #ffffff;
  font-size: 32px;
  text-align: center;
}

.review__wrap {
  margin-top: 30px;
}
.review__wrap .swiper-slide img {
  display: block;
  width: 92%;
  margin-right: auto;
  margin-left: auto;
  border-radius: 10px;
}

/*************************************************************************************
無料相談
**************************************************************************************/
.contact {
  padding: 40px 0;
  background-color: #def1ed;
}

.contact__title {
  color: #1b8870;
  font-size: 32px;
  text-align: center;
}

.contact__wrap {
  border: 3px solid #1b8870;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px 10px;
  width: 95%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 30px;
}

.error__warning {
  display: none;
}
.form__block {
  margin-bottom: 15px;
}
.form__block.error {
  color: #dc0000;
}
.form__block.error .error__warning {
  display: inline-block;
}
.form__block label {
  display: block;
  font-weight: 700;
}
.form__block input {
  width: 100%;
  height: 30px;
  padding: 10px;
  margin-top: 5px;
}
.form__block.error input {
  border: 2px solid #dc0000;
}

.form__attention {
  font-size: 12px;
}

.require {
  background-color: #1b8870;
  color: #ffffff;
  font-size: 12px;
  padding: 3px 8px;
  margin-left: 10px;
}

.any {
  background-color: orange;
  color: #ffffff;
  font-size: 12px;
  padding: 3px 8px;
  margin-left: 10px;
}

.radio input {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.working-radio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
}

.radio-input {
  display: none;
}

.radio-label {
  display: inline-block;
  padding: 5px 30px;
  margin: 0.3em;
  border: 2px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  background-color: #fff;
  color: #333;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: 150px;
  text-align: center;
}

.error .radio-label {
  border-color: #dc0000;
}

.radio-input:checked + .radio-label {
  background-color: #1b8870; /* チェック時の背景色 */
  color: white;
  border-color: #1b8870;
}

.form__privacy-box {
  height: 200px;
  overflow-y: scroll;
  border: 2px solid #1b8870;
  border-radius: 10px;
}

.form__privacy__contents {
  padding: 20px 10px;
}
.form__privacy__contents h3 {
  font-size: 16px;
  margin-bottom: 20px;
}

.form__privacy__block li {
  margin-bottom: 15px;
}

.form__privacy {
  margin-top: 15px;
}

.privacy-check {
  display: block;
  text-align: center;
}

.privacy-text {
  text-align: center;
}

.radio-input {
  display: none;
}

.radio-button {
  display: inline-block;
  padding: 5px 30px;
  margin-left: 0.5em;
  border: 2px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  background-color: #fff;
  color: #333;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.radio-input:checked + .radio-button {
  background-color: #1b8870;
  color: #fff;
  border-color: #1b8870;
}

.form__btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 150px;
  margin-right: auto;
  margin-left: auto;
  padding: 5px;
  background: rgb(27 136 112);
  color: #ffffff !important;
  border: 2px solid rgb(27 136 112);
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  border-radius: 5px;
  cursor: pointer;
}

.contact .form__btn.loading {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  animation: loading 1s linear infinite;
}

@keyframes loading {
  0% {
    background: rgb(27 136 112);
  }
  50% {
    background: rgb(222 241 237);
    border: 2px solid rgb(222 241 237);
  }
  100% {
    background: rgb(27 136 112);
  }
}

/*************************************************************************************
フッター
**************************************************************************************/
.footer {
  background-color: #ffff00;
}

.footer__wrap {
  max-width: 390px;
  width: 95%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  overflow: hidden;
}

.footer__logo a {
  display: block;
  width: 180px;
  padding: 10px;
}

.hamburger {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 30px;
  height: 22px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 25px;
  background: #333;
  border-radius: 2px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  -webkit-transform: translateY(9px) rotate(45deg);
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  -webkit-transform: translateY(-9px) rotate(-45deg);
  transform: translateY(-9px) rotate(-45deg);
}

/* 開いたときの変形 */
#drawer-nav.open + .hamburger span:nth-child(1) {
  -webkit-transform: translateY(9px) rotate(45deg);
  transform: translateY(9px) rotate(45deg);
}

#drawer-nav.open + .hamburger span:nth-child(2) {
  opacity: 0;
}

#drawer-nav.open + .hamburger span:nth-child(3) {
  -webkit-transform: translateY(-9px) rotate(-45deg);
  transform: translateY(-9px) rotate(-45deg);
}

#drawer-nav {
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
  z-index: 999;
}

#drawer-nav-list {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 390px;
  background: #fff;
  -webkit-box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease; /* opacityやvisibilityは除去 */
  -webkit-transform: translateX(120%);
  transform: translateX(120%); /* 初期状態で右へオフスクリーン */
  pointer-events: auto;
  padding: 20px;
}
#drawer-nav-list ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
#drawer-nav-list ul li a {
  text-decoration: none;
  font-size: 15px;
}
#drawer-nav-list ul li a:hover {
  opacity: 0.5;
}

#drawer-nav.open #drawer-nav-list {
  -webkit-transform: translateX(0);
  transform: translateX(0); /* スライドイン */
}

/*************************************************************************************
ありがとうページ
**************************************************************************************/
.thanks-window {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgb(27 136 112);
  z-index: 100;
}
.thanks-body {
  width: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 20px;
  box-shadow: 2px 1px 20px #000;
  border-radius: 20px;
}
.thanks-title {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
}
.thanks-text {
  font-size: 25px;
  font-weight: 900;
  color: #fff;
}
.thanks-button {
  color: #000;
  background: #fff;
  font-size: 25px;
  font-weight: 900;
  padding: 0 20px;
  border-radius: 10px;
}

/*************************************************************************************
下層ページ
**************************************************************************************/
.logo a img {
  display: block;
  width: 180px;
  margin-right: auto;
}

.page-title {
  text-align: center;
  color: #1b8870;
  margin-top: 40px;
  font-size: 32px;
}

.page__contents {
  padding-bottom: 80px;
}

.contents__block {
  display: block;
  border: 3px solid #1b8870;
  padding: 20px 15px;
}
.contents__block dt {
  padding-left: 10px;
  border-left: 3px solid #1b8870;
  font-weight: 700;
}
.contents__block dd {
  margin: 0;
  padding-left: 10px;
}
