/*
  1. より直感的なボックスサイズモデルを使う。
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
/*
    2. デフォルトのマージンを削除する。
  */
* {
  margin: 0;
}
/*
    タイポグラフィの調整!
    3. アクセシブルな行間を追加する。
    4. テキストレンダリングを改善する。
  */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
    5. メディアのデフォルトを改善する。
  */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
/*
    6. 組み込みのフォームタイポグラフィスタイルを削除する。
  */
input,
button,
textarea,
select {
  font: inherit;
}
/*
    7. テキストのオーバーフローを避ける。
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
/*
    8. ルートスタッキングコンテキストを作成する。
  */
#root,
#__next {
  isolation: isolate;
}

/* BODY */

html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: white;
  font-family: "Sawarabi Gothic", sans-serif;
  font-size: 1.4vw;
}
/* HEADER BLOCK */
.main-logo {
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 1vw 0;
  width: 100%;
  margin: 0 auto;
}
.hero-background {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  background-image: url("../img/pc/pc_main_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 45vw;
  margin-bottom: 3vh;
  margin: 0 auto;
}
.hero-background img {
  width: 30%;
  height: auto;
  margin-bottom: 20px;
}
.logo-block {
  display: flex;
  justify-content: center;
}

.hero-title {
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-bottom: 12vw;
  margin-left: 13vw;
}

.hero-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5vh;
}

.hero-slogan p {
  position: relative;
  padding: 0 10px;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  color: #34332f;
  font-size: 1vw;
}
.hero-description {
  line-height: 2;
  color: #7c7875;
  font-size: 1.5vw;
}

.hero-slogan::before,
.hero-slogan::after {
  content: "";
  width: 10%;
  border-bottom: 0.5px solid black;
  margin: 0 10px;
}

.hero-title h1 {
  color: #93762a;
  font-weight: 400;
  font-family: "Zen Maru Gothic", serif;
  font-size: 3.5vw;
  margin-bottom: 1vw;
}

/* MAINTANENCE BLOCK */
.maintenance-background1 {
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../img/pc/pc_midle_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 30vw;
  margin-top: 3vh;
}

.maintenance-content {
  position: relative;
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80%;
  max-width: 50%;
  margin: 0 auto;
}

.maintenance-content img {
  margin-top: 20px;
  width: 100%;
}

.parallelogram {
  position: relative;
  width: 36vw;
  height: 12vh;
  background-color: #fdfdfd;
  clip-path: polygon(10% 0, 100% 0%, 91% 100%, 0% 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #030303;
  margin: 0 auto;
}

.main-content-1 {
  background-color: #fdfdfd;
  padding: 4vh;
  margin-top: 5vh;
  line-height: 2;
  width: 58vw;
}

/* SERVICE-BLOCK */
.service-wrap {
  display: flex;
  position: relative;
  margin-top: 3vh;
  top: 0;
  left: 0;
  width: 100%;
  height: 150vw;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: #fbfaf8;
}

.service-background {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 150vw;
  background-color: #b5c5ab;
  clip-path: polygon(0 0, 100% 0%, 100% 32%, 0 42%);

  overflow: visible;
}

@supports (-moz-appearance: none) {
  .service-background {
    clip-path: polygon(0 1%, 100% 0, 100% 33%, 0 44%);
  }
}

.service-details {
  position: absolute;
  z-index: 1;
  top: 0%;
  max-width: 100%;
  padding-top: 5vw;
}

.service-details img {
  margin-top: 20px;
  width: 100%;
}

.services-offered {
  position: absolute;
  z-index: 1;
  width: 60%;
  padding: 0;
  top: 30vw;
}

.lone-block {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.lone-block img {
  width: 100%;
  height: auto;
}

.lone-block h2 {
  position: absolute;
  top: -2vw;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  font-size: 1.7vw;
  font-weight: 400;
  color: #484f46;
  font-family: "Noto Serif JP", serif;
  text-align: center;
}

.services-flow {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  font-size: 1.2vw;
}

.services-flow1,
.services-flow2,
.services-flow3,
.services-flow4 {
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 5vw;
  gap: 7vw;
}

.services-flow img {
  width: 50%;
}

@supports (-moz-appearance: none) {
  .services-flow img {
    width: 70%;
  }
}
.flow-content {
  position: relative;
  text-align: left;
  width: 100%;
}

.number-block {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2vw;
}

.number-block img {
  width: 100%;
}

.number-block h3 {
  position: absolute;
  left: 30%;
  text-align: left;
  font-weight: 500;
  color: #343433;
}

.services-flow4 .number-block h3 {
  top: -1.5vw;
}

.flow-content p {
  text-align: justify;
  line-height: 2;
  color: #343433;
}

.services-flow2 {
  flex-direction: row-reverse;
}

.services-flow4 {
  flex-direction: row-reverse;
}

.note {
  position: absolute;
  z-index: 1;
  top: 130vw;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.note-2 {
  background-color: #b5c5ab;
  color: #f0f3ee;
  padding: 1vw 15vw;
  margin-top: 7vh;
  line-height: 2;
  max-width: 100%;
  text-align: center;
}

.company-shops {
  position: relative;
  text-align: center;
  justify-content: center;
  margin-top: 12vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.company-shops .shop-details {
  margin-bottom: 4vh;
}

.shop-details {
  width: 26%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.underline-style {
  display: inline-block;
  padding-bottom: 2vh;
  width: fit-content;
  position: relative;
}

.underline-style::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.5px;
  background: linear-gradient(
    to right,
    #484f46 48%,
    transparent 48%,
    transparent 55%,
    #484f46 55%
  );
}

.underline-style .diagonal-up {
  content: "";
  position: absolute;
  bottom: 0;
  left: 42%;
  width: 1.4vw;
  height: 0.5px;
  background-color: #484f46;
  transform: rotate(-130deg);
  transform-origin: right bottom;
}
.underline-style .diagonal-down {
  content: "";
  position: absolute;
  bottom: -2.3vh;
  right: 48.8%;
  width: 1.4vw;
  height: 0.7px;
  background-color: #484f46;
  transform: rotate(130deg);
  transform-origin: right bottom;
}

.underline-style::before {
  content: "";
  position: absolute;
  top: -1vh;
  left: 0;
  width: 100%;
  height: 0.5px;
  background-color: #484f46;
  transform: rotate(360deg);
}

/* BUTTON */
.button-container {
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btns {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.button-container img {
  width: 30vw;
  height: auto;
  transition: opacity 0.3s ease;
  padding: 10px;
  border-radius: 10px;
  background-color: transparent;
}
.button-container button:hover img {
  opacity: 0.7;
}

/* EASY CARE SECTION */
.easy-care-details {
  position: relative;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-image: url("../img/pc/bg_set.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 130vw;
}

.bg-set {
  width: 100%;
  height: 140vw;
  object-fit: cover;
}
.parallelogram2 {
  position: absolute;
  font-size: 2.5vw;
  top: 19vh;
  left: 29vw;
  width: 40vw;
  height: 10vh;
  background-color: #eee5e8;
  clip-path: polygon(6% 0, 100% 0%, 95% 100%, 0% 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: rgb(46, 43, 43);
  transform: rotate(-7deg);
  z-index: 1;
}

.parallelogram2:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  clip-path: polygon(6% 0, 100% 0%, 95% 100%, 0% 100%);
  z-index: -1;
  transform: rotate(6deg);
}
.healthy-care-img {
  position: absolute;
  top: 40vh;
  left: 28vw;
}

.healthy-care-img img {
  width: 40vw;
}

.easy-care-title {
  position: absolute;
  z-index: 1;
  width: 50%;
  padding: 0;
  top: 47vw;
  left: 25vw;
}

@supports (-moz-appearance: none) {
  /* CSS dành riêng cho Firefox */
  .easy-care-title {
    top: 49vw;
  }
}
.easy-care-title h2 {
  font-size: 2vw;
  font-weight: 400;
  color: #222222;
  font-family: "Noto Serif JP", serif;
  text-align: center;
  font-weight: 500;
}

/* HOW TO USE - STEPS */
.how-to-use-steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3vw;
  flex-wrap: wrap;
  margin-top: 5vh;
  width: 100%;
}
.how-to-use-steps img {
  width: 50%;
}

@supports (-moz-appearance: none) {
  .how-to-use-steps img {
    width: 80%;
  }
}
.octagon {
  clip-path: polygon(
    40% 16%,
    89% 23%,
    97% 41%,
    99% 57%,
    78% 75%,
    15% 73%,
    1% 57%,
    3% 36%
  );
  background-color: #ffffff;
  /* padding: 66px 49px; */
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  height: 100px;
  color: #e26d20;
  font-weight: 600;
  width: 100%;
  height: 10vw;
}
.octagon p {
  width: 100%;
}
.easy-care-small-title {
  margin: 5vh 0;
}

.steps-title {
  background: #ffffff;
  border-radius: 30px;
  padding: 10px 20px;
  width: 50%;
  margin: 0 auto;
  color: #3d403e;
  font-weight: 600;
  margin-top: 7vh;
  margin-bottom: 7vh;
}

@supports (-moz-appearance: none) {
  /* Firefox専用のCSS */
  .steps-title {
    margin-top: 12vh;
    margin-bottom: 12vh;
  }
}
.steps-title span {
  font-size: 30px;
}

.step-1,
.step-2,
.step-3 {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 5vw;
}

.step-2 {
  flex-direction: row-reverse;
}

.easy-care {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FOOTER */

.footer-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  background-color: #edecea;
  margin-top: 8vw;
  height: 15vw;
  width: 100%;
  font-size: 1vw;
  padding-left: 10vw;
  padding-right: 10vw;
}

.left-block {
  flex: 2;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  flex-direction: column;
}
.left-img img {
  width: 25vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.right-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

@supports (-moz-appearance: none) {
  /* Firefox専用のCSS */
  .footer-wrap::before {
    width: 0.7px;
  }
}

.right-block img {
  width: 10vw;
  justify-content: left;
}

.right-block .copyright p {
  font-size: 1vw;
  text-align: left;
}
.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 50vw;
  margin-top: 8vh;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}
.footer-links ul li a:hover {
  border-bottom: 1px solid #baa768;
  color: #baa768;
}

.footer-wrap {
  display: flex;
  position: relative;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  gap: 6vw;
}
.copyright {
  width: 100%;
  text-align: center;
  margin-top: auto;
}
.media-icon {
  display: flex;
  margin: 10vh 0;
  gap: 3vw;
  margin-left: 2vw;
}

.media-icon a {
  margin: 0;
  padding: 0;
}

.copyright {
  margin-top: 7vh;
}

.media-icon img {
  width: 3.5vw;
  transition: filter 0.3s ease;
}

.media-icon a:hover img {
  filter: brightness(0) saturate(100%) invert(57%) sepia(58%) saturate(569%)
    hue-rotate(5deg) brightness(92%) contrast(91%);
}

/* CSS FOR DEVICES*/

.maintenance-background-sp {
  display: none;
}
.service-block-sp {
  display: none;
}

.shop-info-block {
  display: none;
}
.easy-care-details-sp {
  display: none;
}
.shop-maps-sp {
  display: none;
}

.logo-footer {
  display: none;
}
.footer-block-sp {
  display: none;
}

@media only screen and (max-width: 980px) {
  /* 小型ラップトップ用のCSS */
  .hero-background img {
    margin-bottom: 2px;
  }
  .hero-title {
    margin-bottom: 12vw;
    margin-left: 8vw;
  }

  .hero-slogan {
    margin-bottom: 2vh;
  }

  .hero-description {
    font-size: 1.5vw;
  }
  .flow-content h3 {
    width: 18vw;
  }

  .button-container {
    margin-top: 0;
  }

  .parallelogram2 {
    top: 19vh;
    font-size: 1.5vw;
  }

  .healthy-care-img {
    top: 38vh;
  }

  .steps-title {
    width: 55%;
  }
}

/* FOR TABLET */

@media only screen and (max-width: 820px) {
  .maintenance-concept {
    display: none;
  }
  .service-block {
    display: none;
  }
  .easy-care {
    display: none;
  }
  .footer-block {
    display: none;
  }

  /* HERO BLOCK FOR IPAD */
  .hero-details {
    font-size: 2.5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .main-logo {
    width: 50vw;
    padding: 2vh 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-background {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background-image: url("../img/sp/sp_top_02.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 70vw;
    margin-bottom: 2vh;
  }
  .hero-background img {
    width: 40%;
  }

  .hero-title {
    margin-bottom: 19vw;
    margin-left: 2vh;
  }

  .hero-slogan {
    margin-bottom: 0vh;
  }

  .hero-slogan p {
    font-size: 2.3vw;
  }
  .hero-slogan::before,
  .hero-slogan::after {
    width: 12%;
    margin: 0 2px;
  }

  .hero-title h1 {
    font-size: 4.5vw;
  }

  .hero-description {
    font-size: 2.5vw;
  }
  /* MAINTENANCE BLOCK */
  .maintenance-background-sp {
    position: relative;
    text-align: center;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-image: url("../img/sp/sp_midle_bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    font-size: 3vw;
    height: 51vw;
  }

  .service-block-sp {
    display: block;
  }
  .parallelogram-sp {
    position: relative;
    width: 70vw;
    background-color: #ffffff;
    padding: 0.5vh 0;
    clip-path: polygon(6% 0, 100% 0%, 95% 100%, 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #9e5b2e;
    margin-top: 5vh;
  }

  .content-bg {
    background-color: #ffffff;
    padding: 2vh;
    margin-top: 2vh;
    width: 90%;
    align-self: center;
    margin-bottom: 5vh;
  }

  .content-bg p {
    text-align: left;
  }

  /* SERVICE BLOCK FOR IPAD */

  .service-wrap-sp {
    background-color: #b5c5ab;
    padding-bottom: 6vh;
    margin-top: 2vh;
  }

  .service-details-sp {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
  }

  .service-parallelogram-sp {
    position: relative;
    width: 70vw;
    height: 60px;
    background-color: #ffffff;
    clip-path: polygon(6% 0, 100% 0%, 95% 100%, 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #3c772d;
    margin-top: 5vh;
    margin-bottom: 2vh;
    font-size: 3vw;
  }

  .service-main-sp {
    background-color: #ffffff;
    padding: 2vh;
    width: 90%;
    line-height: 2;
  }

  /* SERVICE FLOWS */

  .services-offered-sp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10vh;
    text-align: center;
    font-size: 2.5vw;
  }

  .underline-block {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .underline-block img {
    width: 85%;
  }

  .underline-sp {
    position: absolute;
    color: white;
    font-weight: bold;
    text-align: center;
    top: -8vw;
  }

  .service-flow-sp {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3vh;
  }

  .flow-1,
  .flow-2,
  .flow-3,
  .flow-4 {
    margin-bottom: 6vh;
    width: 100%;
  }

  .flow-1 img,
  .flow-2 img,
  .flow-3 img,
  .flow-4 img {
    max-width: 85%;
    margin: 0 auto;
  }

  .flows-title {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 3vh;
  }

  .flow-main {
    position: absolute;
    color: #000000;
    font-size: 4vw;
    font-weight: bold;
    text-align: center;
    font-weight: 500;
  }

  .flow-4 .flows-title h3 {
    left: 33vw;
    top: -5vw;
    text-align: left;
  }
  .flow-4 {
    margin-top: 5vw;
  }
  .flow-content-sp {
    background-color: #fdfdfd;
    padding: 5vw 3vw;
    margin-top: 3vh;
    text-align: justify;
    width: 100%;
    font-size: 3vw;
    line-height: 2;
  }

  .flows-box {
    margin-left: auto;
    width: 80%;
  }

  .note {
    display: flex;
    flex-direction: row;
    position: inherit;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .note img {
    width: 7vw;
    margin-left: 2vw;
  }
  .note-content {
    text-align: center;
    padding: 2vh 3vw;
    font-size: 3.3vw;
    color: white;
    text-decoration: underline;
    text-underline-offset: 0.5em;
    line-height: 2;
  }

  .shop-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 5vw 0;
    font-size: 3vw;
    margin: 3vh 0;
  }

  .info-content {
    background-color: #b5c5ab;
    padding: 3vw;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    color: white;
  }

  .info-small-content img {
    width: 85%;
    margin: 0 auto;
    padding: 7vw 0;
  }

  /* BUTTON FOR IPAD */

  .button-container-sp {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .button-container-sp img {
    width: 70vw;
    height: auto;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    background-color: transparent;
  }

  /* EASY CARE BLOCK FOR IPAD */
  .easy-care-details-sp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    background-color: #dfbba1;
    font-size: 3vw;
  }

  .parallelogram2-sp {
    width: 80vw;
    height: 13vw;
    font-size: 5vw;
    background-color: #ffffff;
    clip-path: polygon(6% 0, 100% 0%, 95% 100%, 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #444645;
    z-index: 1;
    margin: 9vw 0;
  }

  .easy-care-title-sp {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 80vw;
    margin: 3vh 0;
  }

  .easy-care-small-title-sp {
    position: absolute;
    top: -3vw;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #292c2b;
    text-align: center;
    z-index: 2;
    width: 100%;
  }

  .easy-care-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .steps-title-sp {
    font-weight: 500;
    font-size: 3.4vw;
    position: relative;
    padding-bottom: 1.5vh;
  }

  .steps-title-sp::before,
  .steps-title-sp::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: #444645;
  }

  .steps-title-sp::before {
    bottom: 0;
  }

  .steps-title-sp::after {
    bottom: -5px;
  }

  .steps-title-sp span {
    font-size: 6vw;
  }

  .how-to-use-steps-sp {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5vw;
    width: 80%;
    margin-top: 5vh;
  }

  .step1,
  .step2,
  .step3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 2vh;
  }

  .steps-detail {
    position: relative;
    display: inline-block;
    width: 100%;
  }

  .steps-detail h3 {
    position: absolute;
    top: 12vw;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 500;
    width: 100%;
  }

  .steps-detail img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 3vh;
  }

  .shop-maps-sp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5vh;
    padding-bottom: 5vh;
  }

  .logo-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f6f6f6;
    padding-top: 3vh;
    padding-bottom: 0;
  }

  .logo-footer img {
    width: 50vw;
    margin: 0 auto;
  }

  /* FOOTER BLOCK FOR IPAD */
  .footer-block-sp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    font-size: 3vw;
  }

  .copyright-sp {
    margin-top: 2vh;
    margin-bottom: 0;
  }

  .media-icon-sp {
    background-color: #f6f6f6;
    padding-top: 5vw;
  }

  .social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 5vw 0;
  }

  .social-media ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding: 0;
    width: 70%;
  }

  .social-media li {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .social-media li a {
    align-items: center;
    text-decoration: none;
    padding: 0;
    color: #000000;
    transition: 0.3s ease;
  }

  .social-media li a img {
    width: 40%;
    margin: 0 auto;
    transition: filter 0.3s ease;
  }

  /* CONTACT BUTTON */

  .contact-btn {
    margin: 7vw;
  }

  .btn-sp-contact {
    border: none;
    background-color: #545655;
    border-radius: 25px;
    padding: 2.5vw 12vw;
    color: white;
    cursor: pointer;
  }

  .btn-sp-contact a {
    text-decoration: none;
    color: white;
  }

  .btn-sp-contact:hover {
    background-color: #3d403e;
  }
  .sp-logo-footer {
    width: 30%;
    margin-top: 3vw;
    margin-bottom: 2vw;
  }
}

@media only screen and (min-width: 320px) and (max-width: 768px) and (orientation: landscape) {
  /* 横向きのAndroidデバイス用のCSS */
  .services-offered-sp {
    margin-top: 25vh;
  }

  .content-bg {
    margin-top: 5vh;
  }

  .maintenance-background-sp {
    height: 100%;
  }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
  /*  iPad Pro用のCSS */
  .hero-background img {
    width: 40%;
    height: auto;
  }

  .hero-slogan {
    margin-bottom: 1vh;
  }

  .hero-title {
    margin-left: 10vw;
  }

  .main-content-1 {
    padding: 1vh;
    margin-top: 2vh;
  }

  .parallelogram {
    width: 36vw;
    height: 8vh;
  }

  .service-wrap {
    height: 153vw;
  }
  .service-background {
    height: 153vw;
  }
  .company-shops {
    margin-top: 5vh;
  }

  .parallelogram2 {
    top: 8vh;
    left: 30vw;
    width: 40vw;
    height: 4vh;
  }
  .healthy-care-img {
    top: 10vh;
  }

  .easy-care-small-title {
    margin: 2vh 0;
  }
  .how-to-use-steps {
    margin-top: 2vh;
  }

  .steps-title {
    width: 55%;
  }

  .right-block {
    display: inline;
  }

  .footer-block {
    height: 20vw;
  }

  .services-offered {
    top: 40vw;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
  /* iPad用のCSS */
  .healthy-care-img {
    top: 25vh;
  }

  .steps-title {
    width: 60%;
  }

  .services-offered {
    top: 34vw;
  }

  .parallelogram2 {
    top: 12vh;
  }
}

/* CSS FOR SP */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
  /* 縦向きスマートフォン用のCSS */
  .maintenance-concept {
    display: none;
  }
  .service-block {
    display: none;
  }
  .easy-care {
    display: none;
  }
  .footer-block {
    display: none;
  }

  /* SP CSS ↓ */
  /* HERO BLOCK FOR SP */
  .hero-details {
    font-size: 2.5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .main-logo {
    width: 50vw;
    padding: 1vh 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-background {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background-image: url("../img/sp/sp_top_02.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 70vw;
    margin-bottom: 2vh;
  }
  .hero-background img {
    width: 25%;
  }

  .hero-title {
    margin-bottom: 19vw;
    margin-left: 2vw;
  }

  .hero-slogan {
    margin-bottom: 0vh;
  }

  .hero-slogan p {
    font-size: 2.3vw;
  }
  .hero-slogan::before,
  .hero-slogan::after {
    width: 12%;
    margin: 0 2px;
  }

  .hero-title h1 {
    font-size: 4.5vw;
  }

  .hero-description {
    font-size: 2.9vw;
  }
  /* MAINTENANCE BLOCK */
  .maintenance-background-sp {
    position: relative;
    text-align: center;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: #dfbba1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    font-size: 4vw;
    height: 61vw;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .service-block-sp {
    display: block;
  }
  .parallelogram-sp {
    position: relative;
    width: 90vw;
    height: 25vw;
    background-color: #ffffff;
    padding: 0.5vh 0;
    clip-path: polygon(6% 0, 100% 0%, 95% 100%, 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #9e5b2e;
    font-weight: 600;
  }

  .content-bg {
    background-color: #ffffff;
    padding: 2vh;
    margin-top: 2vh;
    width: 90%;
    align-self: center;
  }

  .content-bg p {
    text-align: justify;
    text-align: left;
    font-size: 3.4vw;
    line-height: 2;
  }

  /* SERVICE BLOCK FOR SP */

  .service-wrap-sp {
    background-color: #b5c5ab;
    padding-bottom: 6vh;
    margin-top: 2vh;
  }

  .service-details-sp {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3.4vw;
  }

  .title-content-sp {
    color: #3c772d;
    font-size: 4vw;
  }

  .service-parallelogram-sp {
    position: relative;
    width: 90vw;
    height: 10vw;
    background-color: #ffffff;
    clip-path: polygon(6% 0, 100% 0%, 95% 100%, 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000000;
    font-weight: 600;
    margin-top: 2vh;
    margin-bottom: 2vh;
    font-size: 3vw;
  }

  .service-main-sp {
    background-color: #ffffff;
    padding: 2vh;
    width: 90%;
    text-align: justify;
  }

  /* SERVICE FLOWS */

  .services-offered-sp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 7vh;
    text-align: center;
    font-size: 2.5vw;
  }

  .underline-block {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .underline-block img {
    width: 85%;
  }

  .underline-sp {
    position: absolute;
    color: white;
    font-weight: bold;
    text-align: center;
    top: -8vw;
    font-size: 4vw;
  }

  .service-flow-sp {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3vh;
  }

  .flow-1,
  .flow-2,
  .flow-3,
  .flow-4 {
    margin-bottom: 6vh;
    width: 100%;
  }

  .flow-1 img,
  .flow-2 img,
  .flow-3 img,
  .flow-4 img {
    max-width: 85%;
    margin: 0 auto;
  }

  .flows-title {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 3vh;
  }

  .flow-main {
    position: absolute;
    color: #000000;
    font-size: 4vw;
    font-weight: bold;
    text-align: center;
    font-weight: 500;
  }

  .flow-4 .flows-title h3 {
    left: 33vw;
    top: -5vw;
  }

  .flow-4 {
    margin-top: 5vw;
  }

  .flow-content-sp {
    background-color: #fdfdfd;
    padding: 5vw 3vw;
    margin-top: 3vh;
    text-align: justify;
    width: 100%;
    font-size: 3.4vw;
    line-height: 2;
  }

  .flows-box {
    margin-left: auto;
    width: 80%;
  }

  .note {
    display: flex;
    position: inherit;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .note img {
    width: 7vw;
    margin-left: 2vw;
  }

  .note-content {
    text-align: center;
    padding: 2vh 3vw;
    font-size: 3.4vw;
    color: white;
    text-decoration: underline;
    text-underline-offset: 0.5em;
    line-height: 2;
  }

  .shop-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 5vw 0;
    font-size: 3vw;
    margin: 3vh 0;
  }

  .info-content {
    background-color: #b5c5ab;
    font-size: 3.4vw;
    padding: 3vw;
    text-align: center;
    margin: 0 auto;
    width: 90%;
    color: white;
  }

  .info-small-content img {
    width: 85%;
    margin: 0 auto;
    padding: 7vw 0;
  }

  /* BUTTON FOR SP */

  .button-container-sp {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .button-container-sp img {
    width: 70vw;
    height: auto;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    background-color: transparent;
  }

  /* EASY CARE BLOCK FOR SP */
  .easy-care-details-sp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    background-color: #dfbba1;
    font-size: 3.4vw;
  }

  .parallelogram2-sp {
    width: 80vw;
    height: 13vw;
    font-size: 5vw;
    background-color: #ffffff;
    clip-path: polygon(6% 0, 100% 0%, 95% 100%, 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #444645;
    z-index: 1;
    margin: 9vw 0;
  }

  .easy-care-title-sp {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 80vw;
    margin: 3vh 0;
  }

  .easy-care-small-title-sp {
    position: absolute;
    font-size: 3.4vw;
    top: -3vw;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #292c2b;
    text-align: center;
    z-index: 2;
    width: 100%;
  }

  .easy-care-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .steps-title-sp {
    font-weight: 500;
    font-size: 3.4vw;
    position: relative;
    padding-bottom: 1.5vh;
  }

  .steps-title-sp::before,
  .steps-title-sp::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: #444645;
  }

  .steps-title-sp::before {
    bottom: 0;
  }

  .steps-title-sp::after {
    bottom: -5px;
  }

  .steps-title-sp span {
    font-size: 6vw;
  }

  .how-to-use-steps-sp {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5vw;
    width: 80%;
    margin-top: 5vh;
  }

  .step1,
  .step2,
  .step3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 2vh;
  }

  .steps-detail {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .steps-detail h3 {
    position: absolute;
    top: 12vw;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 500;
    width: 100%;
  }

  .steps-detail img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 3vh;
  }

  .shop-maps-sp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5vh;
    padding-bottom: 5vh;
  }

  .logo-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f6f6f6;
    padding-top: 3vh;
    padding-bottom: 0;
  }

  .logo-footer img {
    width: 50vw;
  }

  /* FOOTER BLOCK FOR SP */
  .footer-block-sp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    font-size: 3vw;
  }

  .copyright-sp {
    margin-top: 2vh;
    margin-bottom: 0;
  }
  .media-icon-sp {
    background-color: #f6f6f6;
    padding-top: 5vw;
  }

  .social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 5vw 0;
  }

  .social-media ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding: 0;
    width: 70%;
  }

  .social-media li {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .social-media li a {
    align-items: center;
    text-decoration: none;
    padding: 0;
    color: #000000;
    transition: 0.3s ease;
  }

  .social-media li a img {
    width: 50%;
    margin: 0 auto;
    transition: filter 0.3s ease;
  }

  .social-media ul li a img {
    width: 50%;
    margin: 0 auto;
  }

  /* CONTACT BUTTON */

  .contact-btn {
    margin: 7vw;
  }

  .btn-sp-contact {
    border: none;
    background-color: #545655;
    border-radius: 25px;
    padding: 2.5vw 12vw;
    color: white;
    cursor: pointer;
  }

  .btn-sp-contact a {
    text-decoration: none;
    color: white;
  }

  .btn-sp-contact:hover {
    background-color: #3d403e;
  }
  .sp-logo-footer {
    width: 30%;
    margin-top: 3vw;
    margin-bottom: 2vw;
  }
}

@media only screen and (max-width: 600px) {
  .hero-title {
    margin-left: 2vw;
  }
}

@media only screen and (min-width: 667px) and (max-width: 736px) and (orientation: landscape) {
  /* 横向きスマートフォン用のCSS */

  .services-offered-sp {
    margin-top: 13vw;
  }

  .parallelogram-sp {
    width: 90vw;
    height: 17vw;
  }

  .content-bg {
    margin-top: 4vw;
  }

  .service-parallelogram-sp {
    margin-top: 4vw;
    margin-bottom: 4vw;
  }

  .info-content {
    width: 100%;
  }
}

@media only screen and (min-width: 812px) and (max-width: 896px) and (orientation: landscape) {
  /* 横向きのiPad Pro用のCSS */

  .services-offered-sp {
    margin-top: 19vw;
  }

  .parallelogram-sp {
    height: 13vw;
  }

  .content-bg {
    margin-top: 10vh;
  }
  .service-parallelogram-sp {
    margin-top: 10vh;
    margin-bottom: 10vh;
  }

  .info-content {
    width: 100%;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 2048px) {
  /*12.9インチのiPad Pro用のスタイル*/

  .steps-title {
    margin-top: 2vh;
    margin-bottom: 2vh;
  }
}

@supports (-moz-appearance: none) {
  /* "Firefox専用のCSS */

  .note {
    top: 110vw;
  }

  .service-wrap {
    height: 130vw;
  }

  .service-background {
    height: 130vw;
  }
}
