@charset "utf-8";

/*Font Awesome
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/*Google Fonts
---------------------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Noto+Serif+JP:wght@200..900&display=swap");

/*テンプレート専用cssファイル
---------------------------------------------------------------------------*/
@import url("inview.css");

/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
  --primary-inverse-color: #fff;
  --space-large: 96px;
}

@media screen and (min-width: 900px) {
  :root {
    --space-large: 176px;
  }
}

/*opa1のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes opa1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*全体の設定
---------------------------------------------------------------------------*/
body * {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

@media screen and (min-width: 1200px) {
  html,
  body {
    font-size: 14px;
  }
}

@media screen and (min-width: 1600px) {
  html,
  body {
    font-size: 1vw;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family:
    "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E",
    "ＭＳ Ｐ明朝", "MS PMincho", serif;
  -webkit-text-size-adjust: none;
  background: #fafaf6;
  line-height: 2;
}

.sp-only {
  display: block;
}

@media screen and (min-width: 500px) {
  .sp-only {
    display: none;
  }
}

.pc-only {
  display: none;
}

@media screen and (min-width: 900px) {
  .pc-only {
    display: block;
  }
}
dd {
  margin: 0;
}
nav ul {
  list-style: none;
}
nav,
ul,
li {
  margin: 0;
  padding: 0;
}
section ul {
  list-style: none;
}
img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
iframe {
  width: 100%;
}
section {
  /* overflow-x: hidden; */
  padding: var(--space-large);
}

/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
  color: inherit;
  transition: 0.3s;
}

/*マウスオン時*/
a:hover {
  text-decoration: none;
  opacity: 0.7;
}

/*container
---------------------------------------------------------------------------*/
#container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*header
---------------------------------------------------------------------------*/
header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

#logo img {
  display: block;
}
#logo {
  margin-left: 16px;
}

@media screen and (min-width: 900px) {
  #logo {
    margin-left: 23px;
  }
}

/*ヘッダー内メニュー
---------------------------------------------------------------------------*/
header nav ul {
  display: none;
}

@media screen and (min-width: 900px) {
  header > nav > ul {
    margin-right: 112px;
    display: flex;
    gap: 24px;
  }

  .header-menu-item {
    display: block;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: 1px;
  }

  .header-menu-item:hover {
    opacity: 0.5;
  }
}

/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {
  display: none;
}
#menubar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#menubar a {
  display: block;
  text-decoration: none;
}

.small-screen #menubar.display-block {
  display: block;
}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {
  display: none;
}

/*開閉メニュー
---------------------------------------------------------------------------*/
/*animation1のキーフレーム設定*/
@keyframes animation1 {
  0% {
    right: -100vw;
  }
  100% {
    right: 0px;
  }
}

/*メニューブロック設定*/
.small-screen #menubar.display-block {
  position: fixed;
  overflow: auto;
  z-index: 100;
  right: 0px;
  top: 0px;
  max-width: 800px;
  width: 100%;
  height: 100%;
  padding: 90px 16px 50px;
  background: #5f5f54;
  color: var(--primary-inverse-color);
  animation: animation1 0.2s both; /*animation1を実行する。0.2sは0.2秒の事。*/
}

@media screen and (min-width: 900px) {
  .small-screen #menubar {
    padding: 90px 10vw 50px;
  }
}

/*メニュー１個あたりの設定*/
.small-screen #menubar nav ul li {
  border: 1px solid #fff; /*枠線の幅、線種、色。*/
  margin: 16px 0;
  border-radius: 4px; /*角を丸くする指定*/
}
.small-screen #menubar a {
  color: inherit;
  padding: 16px;
}

.small-screen #menubar .contact {
  background: linear-gradient(180deg, #248baf 0%, #036e93 100%);
  padding: 20px 40px;
  border-radius: 5px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 180%;
  letter-spacing: 0.36px;
  text-align: center;
  margin-top: 40px;
  margin: 40px auto 0;

  .contact-btn {
    padding: 0;
  }
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
  animation: opa1 0.3s 0.5s backwards;
  position: fixed;
  z-index: 101;
  cursor: pointer;
  top: 0;
  right: 16px;
  width: 60px; /*幅*/
  height: 60px; /*高さ。基本的にheaderの高さに合わせておけばOKです。*/
  padding: 20px 0; /*ここの20pxの数字を変更すると2本のバーの上下間のバランス調整ができます*/
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s;
  mix-blend-mode: exclusion;
}

#menubar_hdr.display-block:hover {
  opacity: 0.5;
  transition: 0.3s;
}

@media screen and (min-width: 900px) {
  #menubar_hdr {
    right: 10px;
  }
}

/*マウスオン時だけmix-blend-modeを無効に*/
#menubar_hdr.ham {
  mix-blend-mode: normal;
  top: 17px;
}

/*バーの設定*/
#menubar_hdr div span {
  display: block;
  width: 100%;
  height: 1.5px; /*線の太さ*/
  background-color: #fff; /*本来は線の色なのですが、mix-blend-modeを使っているので背後の色に合わせて変動します。変動したくないなら#menubar_hdrのmix-blend-modeの行を削除して下さい。*/
  transition: all 0.5s ease-in-out;
  position: absolute;
}

/*以下変更不要*/
#menubar_hdr div {
  position: relative;
  width: 100%;
  height: 19.5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#menubar_hdr div span:nth-child(1) {
  top: 0;
}
#menubar_hdr div span:nth-child(2) {
  bottom: 0;
}
#menubar_hdr.ham div span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
#menubar_hdr.ham div span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/*無料相談ボタン
---------------------------------------------------------------------------*/
#btn-special {
  padding: 0;
  margin: 0;
}
#btn-special a {
  display: block;
  text-decoration: none;
  position: fixed;
  z-index: 100;
  right: 0px;
  top: 20vw;
  writing-mode: vertical-rl;
  text-orientation: upright;
  background: linear-gradient(180deg, #248baf 0%, #036e93 100%);
  color: #fff;
  padding: 2rem 1rem;
  border-radius: 3px 0px 0px 3px;
  letter-spacing: 0.1em;
  width: 36px;
  display: flex;
  align-items: center;
}

#btn-special a:hover {
  opacity: 0.9;
}

@media screen and (min-width: 900px) {
  #btn-special a {
    width: 43px;
  }
}

/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
main {
  flex: 1 0 auto;
  overflow-x: hidden;
}

/*h2見出し（共通）*/
main h2 {
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: var(--letter-spacing-primay, 1px);
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  text-align: center;
  font-feature-settings: "halt" on;
}

@media screen and (min-width: 900px) {
  main h2 {
    font-size: 28px;
  }
}

/*h3見出し（共通）*/
main h3 {
  font-weight: 600;
  font-size: 1.4rem; /*文字サイズ140%*/
}

/*Google Map
---------------------------------------------------------------------------*/
.iframe-box {
  width: 100%;
  height: 0;
  padding-top: 50%;
  position: relative;
  overflow: hidden;
}
.iframe-box iframe {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}

/*フッター設定
---------------------------------------------------------------------------*/
footer a {
  color: inherit;
  text-decoration: none;
}
footer small {
  color: #fff;
  text-align: center;
  font-size: 10px;
  font-weight: 400;
  line-height: 180%;
  align-items: flex-end;
  display: flex;
  justify-content: flex-end;
}

footer {
  background: #282828;
  color: var(--primary-inverse-color);
  padding: 64px 16px 24px;
}

@media screen and (min-width: 900px) {
  footer {
    display: flex;
    justify-content: space-between;
    padding: 80px;
  }
}

footer .text {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

@media screen and (min-width: 900px) {
  footer .text {
    flex-direction: row;
    gap: 5rem;
  }
}

footer h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 180%;
  margin: 0;
}

@media screen and (min-width: 900px) {
  footer h4 {
    font-size: 18px;
  }
}

footer .text-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media screen and (min-width: 900px) {
  footer .text-box {
    gap: 32px;
  }
}

footer .text-box-text {
  color: #fff;
  font-size: 11.1px;
  font-weight: 400;
  line-height: 180%;
  margin: 0;
}

@media screen and (min-width: 900px) {
  footer .text-box-text {
    font-size: 12px;
  }
}

footer .text-box-subtext {
  color: #fff;
  font-size: 11.1px;
  font-weight: 400;
  line-height: 180%;
  margin-top: 15px;
  display: flex;
}

footer .text-box-text-link {
  display: flex;
  align-items: center;
  gap: 5px;

  &:hover {
    text-decoration: underline;
  }
}

footer .text-box-text-link-icon img {
  width: 13px;
}

@media screen and (min-width: 900px) {
  footer .text-box-text-link-icon img {
    width: 13px;
  }
}

/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
.icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-self: start;
  gap: 1rem;
  margin-bottom: 56px;
}

@media screen and (min-width: 900px) {
  .icons {
    align-self: center;
    margin-bottom: 0;
  }
}

.icons i {
  font-size: 30px;
}

/*features（選ばれる理由）
---------------------------------------------------------------------------*/
.features {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding: 64px 0 0;
}

@media screen and (min-width: 900px) {
  .features {
    padding: 128px 0 0;
  }
}

.features h2 {
  color: #282828;
  font-feature-settings: "halt" on;
  font-size: 22px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 1px;
  padding: 0 16px;
}

@media screen and (min-width: 900px) {
  .features h2 {
    font-size: 28px;
    letter-spacing: 0.28px;
    padding: 0 80px;
  }
}

.features h3 {
  color: #fff;
  font-feature-settings: "halt" on;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-size: 22px;
  font-weight: 400;
  line-height: 170%;
  letter-spacing: 0.22px;
  margin: 0;
}

@media screen and (min-width: 900px) {
  .features h3 {
    font-size: 38px;
    letter-spacing: 0.38px;
  }
}

.features-list {
  padding: 0 16px;
  margin: 24px 0 40px;
}

@media screen and (min-width: 900px) {
  .features-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    display: grid;
    padding: 0 80px;
    margin: 56px 0 80px;
  }
}

.features-list-item {
  border-bottom: 1px solid #cdcdcd;
  padding: 20px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 180%;
  color: #282828;
  margin: 0;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
}

@media screen and (min-width: 900px) {
  .features-list-item {
    font-size: 18px;
  }
}

.features-list-item a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
}

/*FVボックス*/

.fv-box {
  position: relative;
}

.fv-box img {
  width: 100%;
  height: calc(100vh - 60px);
  object-fit: cover;
  object-position: center;
}

.fv-text {
  position: absolute;
  bottom: 32px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;

  @media screen and (min-width: 900px) {
    bottom: 56px;
    left: 46px;
  }
}

.fv-text-title {
  font-feature-settings: "halt" on;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: var(--letter-spacing-primay, 1px);
  margin: 0;
}

@media screen and (min-width: 900px) {
  .fv-text-title {
    font-size: 50px;
    line-height: 160%;
  }
}

.fv-text-sub {
  font-feature-settings: "halt" on;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: var(--letter-spacing-primay, 1px);
  margin: 0;
}

@media screen and (min-width: 900px) {
  .fv-text-sub {
    font-size: 20px;
  }
}

/*お悩みブロック
---------------------------------------------------------------------------*/
.check-list-box {
  padding: 0 16px;
}

@media screen and (min-width: 900px) {
  .check-list-box {
    margin: 0 80px;
  }
}

.check-list-box-inner {
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  gap: 40px;
  margin: 0 auto;
}

@media screen and (min-width: 900px) {
  .check-list-box-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.check-list-box h2 {
  font-feature-settings: "halt" on;
  font-size: 18px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 1px;
}

@media screen and (min-width: 900px) {
  .check-list-box h2 {
    font-size: 24px;
  }
}

.check-list {
  max-width: 756px;
  width: 100%;
}

.check-list-item {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #ececec;
  padding: 16px 8px;
}

@media screen and (min-width: 900px) {
  .check-list-item {
    padding: 1.7rem 0;
  }
}

.check-list-item:last-child {
  border-bottom: 1px solid #ececec;
}

.check-list-item-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 1px;
  margin: 0;
}

@media screen and (min-width: 900px) {
  .check-list-item-text {
    font-size: 16px;
  }
}

.check-list-item-icon img {
  width: 18px;
  height: 18px;
  max-width: none;
  display: block;
}

/*よく頂く質問ブロック
---------------------------------------------------------------------------*/
.faq {
  background: #5f5f54; /*背景色*/
  color: #fff; /*文字色*/
  position: relative;
  padding: 64px 16px;
}

@media screen and (min-width: 900px) {
  .faq {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 128px 80px 72px;
  }
} /*追加指定ここまで*/

.faq h2 {
  font-feature-settings: "halt" on;
  font-size: 22px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.22px;
}

@media screen and (min-width: 900px) {
  .faq h2 {
    font-size: 28px;
    letter-spacing: 0.28px;
    flex-direction: column;
  }
}

@media screen and (min-width: 900px) {
  .faq .text {
    width: calc(100% * 917 / 1280);
  }
}

.faq-list {
  margin-top: 40px;
}

@media screen and (min-width: 900px) {
  .faq-list {
    margin-top: 0;
  }
}

/*質問*/
.faq dt {
  font-feature-settings: "halt" on;
  font-size: 16px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 32px 16px 24px;
}

@media screen and (min-width: 900px) {
  .faq dt {
    font-size: 18px;
    letter-spacing: 0.18px;
    padding: 32px 24px 16px;
  }
}

/*回答*/
.faq dd {
  font-feature-settings: "halt" on;
  font-size: 12px;
  font-weight: 400;
  line-height: 180%;
  padding: 0 16px 40px;
}

@media screen and (min-width: 900px) {
  .faq dd {
    font-size: 14px;
    padding: 0 24px 56px;
  }
}

/*list-yoko-scroll（お客様の声）
---------------------------------------------------------------------------*/

.voice {
  padding: 64px 16px 96px;
}

@media screen and (min-width: 900px) {
  .voice {
    padding: 128px 80px;
  }
}

.voice h2 {
  color: #282828;
  text-align: center;
  align-items: center;
  font-feature-settings: "halt" on;
  font-size: 22px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.22px;
}

@media screen and (min-width: 900px) {
  .voice h2 {
    font-size: 28px;
    letter-spacing: 0.28px;
    align-items: flex-start;
  }
}

.list-yoko-scroll * {
  margin: 24px 0 0;
  padding: 0;
}

.list-yoko-scroll {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox用 */
  scroll-snap-type: x mandatory; /* スナップスクロールを有効にする */
  margin-right: calc(-1 * var(--space-large));
  gap: 16px;
}

@media screen and (min-width: 900px) {
  .list-yoko-scroll {
    gap: 32px;
  }
}

.list-yoko-scroll::after {
  content: "";
  flex: 0 0 var(--space-large);
}

.list-yoko-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge用 */
}

.list-yoko-scroll .list {
  width: 50%;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 27px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 900px) {
  .list-yoko-scroll .list {
    padding: 35px 16px;
    width: 26%;
  }
}

.list-yoko-scroll .list .text {
  flex: 1;
}

.list-yoko-scroll .list::before,
.list-yoko-scroll .list::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 10px;
  border: 1px solid #cdcdcd;
}

.list-yoko-scroll .list::before {
  left: 0px;
  top: 0px;
  border-right: none;
  border-bottom: none;
}

.list-yoko-scroll .list::after {
  right: 0px;
  bottom: 0px;
  border-top: none;
  border-left: none;
}

.voice-list-title {
  color: #282828;
  font-feature-settings: "halt" on;
  font-size: 16px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.16px;
  margin-top: 0;
}

@media screen and (min-width: 900px) {
  .voice-list-title {
    font-size: 18px;
    letter-spacing: 0.18px;
  }
}

.list-yoko-scroll .text {
  color: #282828;
  font-size: 12px;
  font-weight: 400;
  line-height: 180%;
}

@media screen and (min-width: 900px) {
  .list-yoko-scroll .text {
    font-size: 14px;
  }
}

.list-yoko-scroll .name {
  color: #282828;
  text-align: right;
  font-size: 12px;
  font-weight: 400;
  line-height: 180%;
}

@media screen and (min-width: 900px) {
  .list-yoko-scroll .name {
    font-size: 12px;
  }
}

/*box1（1つ目のセクションボックス）
---------------------------------------------------------------------------*/
/*ボックス全体*/
.box1 {
  overflow-x: visible;
  margin-top: 96px;
  padding: 0 16px 32px;
}

@media screen and (min-width: 1311px) {
  .box1 {
    display: flex;
    gap: 144px;
    padding: 0 189px 48px 0;
  }

  .box1 > * {
    flex: 1;
  }

  .box1 .text {
    margin: 0;
  }
}

@media screen and (min-width: 900px) {
  .box1 {
    margin-top: 176px;
  }
}

.box1-text-title {
  text-align: start;
  color: #282828;
  font-feature-settings: "halt" on;
  font-size: 22px;
  font-weight: 400;
  line-height: 170%;
  letter-spacing: 1px;
}

@media screen and (min-width: 900px) {
  .box1-text-title {
    font-size: 28px;
  }
}

.box1-text-sub {
  color: #282828;
  font-feature-settings: "halt" on;
  font-size: 14px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 1px;
  margin: 32px 0 0;
}

@media screen and (min-width: 900px) {
  .box1-text-sub {
    font-size: 16px;
    margin: 56px 0 0;
  }
}

.box1-image {
  img {
    width: 100%;
  }
}

.box1-image {
  @media screen and (min-width: 900px) {
    img {
      aspect-ratio: 595 / 704;
      object-fit: cover;
      object-position: center;
      width: 100%;
    }
  }
}

.box1-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

@media screen and (min-width: 1311px) {
  .box1-inner {
    gap: 56px;
    /* max-width: 512px; */
    flex: 0 1 40.9%;
  }
}

.box1 .text {
  margin: 40px 0 0;
}

.results-list-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #edede0;
  padding: 16px;
  width: 100%;
}

@media screen and (min-width: 900px) {
  .results-list-box {
    padding: 24px;
    gap: 16px;
    min-width: 495px;
  }
}

.results-list {
  display: flex;
  gap: 8px;
}

.results-list-item {
  border-radius: 2px;
  background: #fff;
  padding: 16px 8px 8px;
  flex: 1;
  text-align: center;
}

@media screen and (min-width: 900px) {
  .results-list-item {
    padding: 24px 15px;
  }
}

.results-list-item:nth-child(3) {
  flex: none;

  .results-list-item-value {
    font-size: 10px;
  }

  .results-list-item-number {
    letter-spacing: -2px;
    padding-right: 2px;
  }
}

@media screen and (min-width: 405px) {
  .results-list-item:nth-child(3) {
    flex: 1;
  }
}

.results-list-item-title {
  margin: 0;
  font-feature-settings: "halt" on;
  font-size: 12px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.14px;
  color: #282828;
}

@media screen and (min-width: 900px) {
  .results-list-item-title {
    font-size: 14px;
  }
}

.results-list-item-value {
  margin: 0;
  color: #282828;
  font-size: 12px;
  font-weight: 400;
  line-height: 180%;
  margin-top: -16px;
}

.results-list-item-number {
  font-size: 32px;
  font-weight: 400;
  line-height: 180%;
}

@media screen and (min-width: 900px) {
  .results-list-item-number {
    font-size: 40px;
    padding-right: 2px;
  }
}

.results-list-item-comma {
  font-size: 14px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: -0.7px;
}

.results-list-title {
  font-feature-settings: "halt" on;
  font-size: 16px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.18px;
  margin: 0;
  color: #282828;
}

@media screen and (min-width: 900px) {
  .results-list-title {
    font-size: 18px;
  }
}

.results-list-text {
  font-feature-settings: "halt" on;
  font-size: 10px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.12px;
  margin: 0;
  color: #282828;
}

@media screen and (min-width: 900px) {
  .results-list-text {
    font-size: 12px;
  }
}

/*list1（製品ブランドコーナー）
---------------------------------------------------------------------------*/

.list1.image1 {
  background: url("../images/features01.webp") no-repeat center center / cover;
}

.list1.image2 {
  background: url("../images/features02.webp") no-repeat center center / cover;
}

.list1.image3 {
  background: url("../images/features03.webp") no-repeat center center / cover;
}

.list1.image4 {
  background: url("../images/features04.webp") no-repeat center center / cover;
}

.list1 {
  padding: 32px 16px;
  position: relative;
  overflow-x: hidden;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media screen and (min-width: 900px) {
  .list1 {
    padding: 64px 80px 32px;
    height: 540.34px;
  }
}

.list1 .text {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /*テキストの影。右へ、下へ、ぼかし幅、0,0,0は黒のことで0.3は色が30%出た状態。*/
}

.features-list-item-tag {
  font-family: "EB Garamond", serif;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0.5;
  font-size: 56px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.56px;
  text-align: end;
}

@media screen and (min-width: 900px) {
  .features-list-item-tag {
    font-size: 80px;
    letter-spacing: 0.8px;
  }
}

.features-list-item-tag.reverse {
  text-align: start;
}

@media screen and (min-width: 900px) {
  .list1 .text.reverse {
    margin-left: auto;
    text-align: end;
  }
}

.features-list-item-text {
  color: #fff;
  font-feature-settings: "halt" on;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-size: 13px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.13px;
  margin-top: 16px;
  margin-bottom: 0;
}

@media screen and (min-width: 900px) {
  .features-list-item-text {
    font-size: 16px;
    letter-spacing: 0.16px;
    margin-top: 24px;
  }
}

/*contact（お問い合わせ）
---------------------------------------------------------------------------*/
.contact {
  background: #edede1;
  padding: 32px 24px;
  margin: 64px 16px;
}

@media screen and (min-width: 900px) {
  .contact {
    padding: 40px;
    margin: 80px 80px;
  }
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media screen and (min-width: 900px) {
  .contact-text {
    gap: 24px;
  }
}

.contact-text h2 {
  color: #282828;
  text-align: center;
  font-feature-settings: "halt" on;
  font-size: 22px;
  font-weight: 400;
  line-height: 170%;
  letter-spacing: 0.22px;
}

@media screen and (min-width: 900px) {
  .contact-text h2 {
    font-size: 28px;
    letter-spacing: 0.28px;
  }
}

.contact-text-sub {
  color: #282828;
  text-align: center;
  font-feature-settings: "halt" on;
  font-size: 14px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.14px;
  margin: 0;
}

@media screen and (min-width: 900px) {
  .contact-text-sub {
    font-size: 16px;
    letter-spacing: 0.16px;
  }
}

.contact-button {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 180%;
  letter-spacing: 0.36px;
  padding: 20px 40px;
  background: var(
    --gradient-accent,
    linear-gradient(180deg, #248baf 0%, #036e93 100%)
  );
  display: flex;
  justify-content: center;
  margin: 24px auto 0;
  max-width: 465px;
  width: 100%;
}

@media screen and (min-width: 900px) {
  .contact-button {
    font-size: 20px;
    letter-spacing: 0.4px;
    margin: 40px auto 0;
  }
}

/*flow-list（ご提案の流れ）
---------------------------------------------------------------------------*/
.flow {
  padding: 0 16px 32px;
}

@media screen and (min-width: 900px) {
  .flow {
    display: flex;
    padding: 0 0 48px 80px;
    justify-content: space-between;
  }
}

.flow h2 {
  color: #282828;
  text-align: center;
  font-feature-settings: "halt" on;
  font-size: 22px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.22px;
}

@media screen and (min-width: 900px) {
  .flow h2 {
    font-size: 28px;
    letter-spacing: 0.28px;
  }
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

@media screen and (min-width: 900px) {
  .flow-list {
    margin-top: 56px;
  }
}

.flow-list-item {
  display: flex;
  position: relative;
  padding: 16px 40px 16px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border: 1px solid #ececec;
}

@media screen and (min-width: 900px) {
  .flow-list-item {
    padding: 24px 40px 24px 16px;
  }
}

.flow-list-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  transform: translate(-50%, 50%);
  width: 7px;
  height: 4px;
  background: url("../images/polygon.svg") no-repeat center / contain;
  pointer-events: none;
}

@media screen and (min-width: 900px) {
  .flow-inner {
    flex: 0 1 40.2%;
  }
}

.flow-list-item-number {
  color: #282828;
  font-feature-settings: "palt" on;
  font-size: 10px;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.1px;
}

@media screen and (min-width: 900px) {
  .flow-list-item-number {
    font-size: 12px;
    letter-spacing: 0.12px;
  }
}

.flow-list-item-text {
  color: #282828;
  text-align: center;
  font-feature-settings: "palt" on;
  font-size: 14px;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.56px;
  flex: 1 0 0;
  margin: 0;
}

@media screen and (min-width: 900px) {
  .flow-list-item-text {
    font-size: 16px;
    letter-spacing: 0.16px;
  }
}

.flow-image {
  margin-top: 56px;
}

@media screen and (min-width: 900px) {
  .flow-image {
    margin-top: 0;
    flex: 0 1 46%;
    aspect-ratio: 626 / 700;
  }
}

.flow-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reform {
  padding: 32px 16px 32px;
}

@media screen and (min-width: 900px) {
  .reform {
    padding: 128px 80px 48px;
    display: flex;
    justify-content: space-between;
  }
}

.reform h2 {
  color: #282828;
  font-feature-settings: "halt" on;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.22px;
  text-align: start;
}

@media screen and (min-width: 900px) {
  .reform h2 {
    font-size: 28px;
    letter-spacing: 0.28px;
    justify-content: flex-end;
  }
}

.reform-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
}

@media screen and (min-width: 900px) {
  .reform-list {
    width: 66%;
    margin-top: 0;
    gap: 65px;
  }
}

.reform-list-item {
  display: flex;
  flex-direction: row;
  gap: 19px;
}

@media screen and (min-width: 900px) {
  .reform-list-item {
    gap: 42px;
  }
}

.reform-list-item-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.reform-list-item-image {
  position: relative;
}

.reform-list-item-left .reform-list-item-image::before {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translate(50%, -50%) rotate(-90deg);
  width: 5%;
  height: 4%;
  background: url("../images/polygon.svg") no-repeat center / contain;
  pointer-events: none;
}

@media screen and (min-width: 900px) {
  .reform-list-item-left .reform-list-item-image::before {
    right: -21px;
  }
}

.reform-list-item-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reform-list-item-text {
  color: #282828;
  font-feature-settings: "halt" on;
  font-size: 12px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.12px;
  margin: 0;
}

@media screen and (min-width: 900px) {
  .reform-list-item-text {
    font-size: 16px;
    line-height: 180%;
    letter-spacing: 0.16px;
  }
}

/*サムネイルスライドショー
---------------------------------------------------------------------------*/
.slide-thumbnail-box {
  overflow-x: hidden;
  padding-left: 0;
  padding-right: 0;
  padding-top: 80px;
}

@media screen and (min-width: 900px) {
  .slide-thumbnail-box {
    padding-top: 160px;
  }
}

.slide-thumbnail-box-text-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 56px;
}

@media screen and (min-width: 900px) {
  .slide-thumbnail-box-text-box {
    padding: 0 80px;
    margin-bottom: 80px;
  }
}

.slide-thumbnail-box-text {
  font-feature-settings: "halt" on;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: var(--letter-spacing-primay, 1px);
  margin: 0;
  padding: 0 16px;
}

@media screen and (min-width: 900px) {
  .slide-thumbnail-box-text {
    font-size: 16px;
  }
}

/*画像たちを囲むブロック*/
.slide-thumbnail1 .img {
  display: flex;
  width: 100%;
}

/*右から左へ、左から右へ、のアニメーション*/
.slide-thumbnail1 .rtl {
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.slide-thumbnail1 .rtl {
  animation-name: slide-rtl;
}

@keyframes slide-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
