@charset "UTF-8";

/*====================================================================================================

    CSS構成
    //絶対に変更しないCSS 　- reset.css 全てのブラウザ固有CSSをリセットするCSS。基本触らないこと。
    - bootstrap.min.css Bootstrapコンポーネントを利用するためのCSS。基本触らないこと。
    - all.min.css Font Awesome を利用するためのCSS。基本触らないこと。
    - aos.css AOSを利用するためのCSS。基本触らないこと。
    //基本的には変更しないCSS
    - base.css 基本の文字設定や、Webフォントの読み込みなど。基本触らなくてもOK。
    //メインで利用しているCSS
    - common.css ヘッダー、フッター、下層ページのタイトルなど、共通ページレイアウトを記載したCSS
    - stlye.css 各ページ固有のレイアウトを記載したCSS
    //補助的に利用しているCSS
    - module.css 見出しやリスト、テーブルなど、共通利用できるパーツをまとめたCSS
    - utility.css マージンやパディング、文字サイズや文字色など、補助的に利用できるCSS 
    
====================================================================================================*/

/* MV ------------------------------------------------------------------*/

.mv {
  position: relative;
  width: 100%;
  aspect-ratio: 200 / 98;
  background-image: url(../images/mv_bg.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 3;
}

.catch {
  position: absolute;
  top: 14.9vw;
  left: 4vw;
  width: 38vw;
  
}

.catch img {
  width: 100%;
  height: auto;
}

.heroSwiper {
  position: absolute;
  top: 8.75vw;
  right: 4vw;
  width: 46vw;
  aspect-ratio: 930 / 540;
}

.heroSwiper .swiper,
.heroSwiper .swiper-wrapper,
.heroSwiper .swiper-slide {
  height: 100%;
}

.heroSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.heroSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.scrollbar {
  position: absolute;
  right: 5vw;
  bottom: 0;
}

.scrollbar-text {
  display: block;
  position: absolute;
  bottom: 0;
  padding: 10px 10px 130px;
  color: var(--white-color);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--en-font);
  line-height: 1;
  writing-mode: vertical-lr;
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
}

.scrollbar_bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1px;
}

.scrollbar_bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 120px;
  background: #fff;
  animation: liner 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes liner {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  30% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  70% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

@media screen and (max-width: 1199px) {
  .mv {
    /* margin-top: 12rem; */
  }
}

@media screen and (max-width: 575px) {
  .mv {
    /* margin-top: 120px; */
  }
}

@media screen and (max-width: 575px) {
  .mv {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    background-image: url(../images/mv_bg_sp.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 3;
  }
  .catch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 90%;
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.4))
      drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.2));
  }
  .heroSwiper {
    position: absolute;
    top: initial;
    bottom: 2rem;
    right: 0;
    left: 0;
    width: 80%;
    aspect-ratio: 930 / 540;
  }
  .scrollbar-text {
    font-size: 0.75rem;
    padding: 10px 10px 110px;
  }
  .scrollbar_bar::after {
    height: 100px;
  }
}

button:focus {
  outline: none !important;
  box-shadow: none !important;
}

@media screen and (min-width: 1199px) {
  #pagetop img {
    width: auto;
  }
}

.reason {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  background-color: var(--white-color);
  padding: 3.4vw 11.5vw;
  border-radius: 0.5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.1));
}

.home .sec-reason_1 {
  padding-top: 300px;
}

.reason p {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  line-height: 1.5;
  white-space: nowrap;
}

.reason p .gradation-txt {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 3.375rem;
  margin-right: 0.5rem;
}

[class*="sec-reason"] {
  position: relative;
}

[class*="sec-reason"] .container-wide,
.child-page section .pillow-wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

[class*="sec-reason"] .container-wide .num {
  position: relative;
}

[class*="sec-reason"]:nth-of-type(even) .container-wide {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.white-diagonal .num::before {
  position: absolute;
  top: 4rem;
  left: -6rem;
  font-family: var(--en-font);
  font-size: 36rem;
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: 0;
  color: var(--primary-color);
  opacity: 0.1;
  width: fit-content;
}

.white-diagonal:first-of-type .num::before {
  top: 12rem;
}

.blue-diagonal .num::before {
  position: absolute;
  top: 10rem;
  right: -3rem;
  font-family: var(--en-font);
  font-size: 36rem;
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: 0;
  color: var(--primary-light-color);
  opacity: 0.1;
  width: fit-content;
}

.sec-reason_1 .num::before {
  content: "01";
}

.sec-reason_2 .num::before {
  content: "02";
}

.sec-reason_3 .num::before {
  content: "03";
}

.sec-reason_4 .num::before {
  content: "04";
}

.sec-reason_5 .num::before {
  content: "05";
}

.sec-reason_6 .num::before {
  content: "06";
}

.sec-reason_7 .num::before {
  content: "07";
}

[class*="sec-reason"] .txt,
.child-page section .txt {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: justify;
}

[class*="sec-reason"] .txt ul li,
.child-page section .txt ul li {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.4rem;
}

[class*="sec-reason"] .txt ul li::before,
.child-page section .txt ul li::before {
  position: relative;
  content: "";
  background-image: url(../images/common/ling_b.png);
  width: 0.8rem;
  height: 0.8rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

[class*="sec-reason"].blue .txt ul li::before {
  background-image: url(../images/common/ling_g.png);
}

[class*="sec-reason"] .txt-area {
  width: 42%;
  text-align: justify;
}

.sec-reason_1 .txt-area {
  width: 57%;
  text-align: justify;
}

[class*="sec-reason"] .img-area {
  width: 48%;
}

[class*="sec-reason"] .img-area .img-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.sec-reason_1 .img-area {
  width: 42%;
}

.sec-reason_1 .img-area .img-wrap {
  width: 100%;
  aspect-ratio: initial;
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.1));
}

[class*="sec-reason"] .img-area .img-wrap img {
  width: 100%;
  height: auto;
}

[class*="sec-reason"] .img-area .txt {
  background-color: var(--white-color);
  width: 85%;
  margin: 0 auto;
  padding: 5%;
  border-radius: 0.5rem;
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.1));
  margin-top: -2rem;
}

[class*="sec-reason"] .img-area .txt p {
  display: inline;
  text-align: justify;
}

:root {
  --reason-slant: 80px;
  --shade-top: 1;
  --shade-bottom: 1;
}

.home main > section[class*="sec-reason"] {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.home main > section[class*="sec-reason"] .container-wide {
  position: relative;
  z-index: 3;
}

.home main > section[class*="sec-reason"] .num {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.white-diagonal::after,
.blue-diagonal::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.white-diagonal::after {
  clip-path: polygon(
    0 0,
    100% var(--reason-slant),
    100% calc(100% - var(--reason-slant)),
    0 100%
  );
}

.white-diagonal:last-of-type::after {
  clip-path: polygon(0 0, 100% var(--reason-slant), 100% 100%, 0 100%);
}

.blue-diagonal::after {
  background: var(--accent-color);
  clip-path: polygon(
    0 var(--reason-slant),
    100% 0,
    100% 100%,
    0 calc(100% - var(--reason-slant))
  );
}

.blue-diagonal::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
      178deg,
      rgba(42, 92, 163, var(--shade-top)) 0%,
      rgba(42, 92, 163, 0.3) 18%,
      rgba(42, 92, 163, 0) 30%
    ),
    linear-gradient(
      2deg,
      rgba(42, 92, 163, var(--shade-bottom)) 0%,
      rgba(42, 92, 163, 0.3) 18%,
      rgba(42, 92, 163, 0) 30%
    );
  clip-path: polygon(
    0 var(--reason-slant),
    100% 0,
    100% 100%,
    0 calc(100% - var(--reason-slant))
  );
}

.blue-diagonal {
  clip-path: polygon(
    0 var(--reason-slant),
    100% 0,
    100% 100%,
    0 calc(100% - var(--reason-slant))
  );
}

.home main > section.white-diagonal,
.home main > section.blue-diagonal {
  padding-block: calc(var(--section-padding) + var(--section-padding));
  display: grid;
  align-items: center;
}

.home main > section.sec-reason_1.white-diagonal {
  padding-top: calc(var(--section-padding) * 4);
  padding-bottom: calc(var(--section-padding));
}

.white-diagonal::after,
.blue-diagonal::after,
.blue-diagonal::before {
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
}

@media screen and (max-width: 991px) {
  [class*="sec-reason"] .container-wide,
  .child-page section .pillow-wrap {
    flex-direction: column;
    gap: 3em;
    align-items: center;
  }
  [class*="sec-reason"]:nth-of-type(even) .container-wide {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .sec-reason_1 .container-wide {
    align-items: flex-start;
  }
  .sec-reason_1 .txt-area {
    width: 100%;
  }
  [class*="sec-reason"] .txt-area,
  [class*="sec-reason"] .img-area {
    width: 100%;
    text-align: justify;
  }
  .sec-reason_1 .img-area {
    width: 60%;
  }
  .home main > section.sec-reason_1.white-diagonal {
    padding-bottom: calc(var(--section-padding));
  }
}
@media screen and (max-width: 765px) {
  .sec-reason_1 .img-area {
    width: 100%;
  }
  .white-diagonal .num::before,
  .blue-diagonal .num::before {
    font-size: 30rem;
  }
  [class*="sec-reason"] .img-area .txt {
  width: 90%;
}
}
@media screen and (max-width: 575px) {
  .reason {
    position: absolute;
    bottom: -5rem;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    background-color: var(--white-color);
    padding: 2em 0;
    width: 95%;
    border-radius: 0.5rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.1));
  }
  .reason p {
    font-size: 1.525rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    line-height: 1.5;
    white-space: nowrap;
  }
  .reason p .gradation-txt {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 3.375rem;
    margin-right: 0.5rem;
  }
  .white-diagonal .num::before,
  .blue-diagonal .num::before {
    font-size: 20rem;
  }
}
/*  */

.child-page .breadcrumb.container-wide {
  justify-content: start;
}

.sec-company .message {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: justify;
  margin-bottom: 4rem;
}

.company-map iframe {
  width: 100%;
  margin-bottom: 4rem;
}

.access-area {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 4rem;
}

.access-list {
  display: flex;
  gap: 4rem;
}

.access-list li h4 {
  position: relative;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.access-list li h4::before {
  position: relative;
  display: block;
  content: "";
  background-image: url(../images/common/ling_b.png);
  width: 0.8rem;
  height: 0.8rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.map-btn a {
  color: var(--white-color);
  background-color: var(--primary-deep-color);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  transition: 0.2s;
}

.map-btn a:hover {
  background-color: var(--accent-color);
}

@media screen and (max-width: 1199px) {
  .company-map iframe {
    width: 100%;
    margin-bottom: 3rem;
  }
  .access-area {
    flex-direction: column;
    gap: 3rem;
  }
}

@media screen and (max-width: 767px) {
  .access-list {
    flex-direction: column;
    align-items: center;
    gap: 2em;
  }
  .access-list li h4 {
    position: relative;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
  }
  .access-list li div {
    text-align: center;
  }
}

/* 04_linen */

.linen .linen-container .txt-area {
  width: 55%;
  text-align: justify;
}

section .container-wide .txt span.blue {
  color: var(--primary-color);
}

.linen .linen-container .img-area {
  width: 35%;
}

@media screen and (max-width: 991px) {
  .linen .linen-container .txt-area,
  .linen .linen-container .img-area {
    width: 100%;
  }
}

/* 02_shrink */

.benefits_list {
  display: flex;
  flex-direction: column;
  gap: 3em;
  margin-top: 6em;
}

.benefits_list .img-area {
  width: 10rem;
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.1));
}

.benefits_list .img-area::after {
  display: none !important;
}

.benefits_list li {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.benefits_list li:nth-of-type(even) {
  margin-left: 6em;
}

.benefits_list li h4 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.5em;
}

.shrink_reason_list {
  display: flex;
  justify-content: space-between;
}

.shrink_reason_list li {
  width: calc((100% - 8rem) / 3);
  text-align: justify;
}

.shrink_reason_list li .img-wrap {
  width: 100%;
  margin-bottom: 3rem;
}

@media screen and (max-width: 991px) {
  .benefits_list {
    gap: 3em;
  }
  .benefits_list .img-area {
    width: 10rem;
  }
  .benefits_list div:last-of-type {
    width: calc(100% - 10rem - 2rem);
    text-align: justify;
  }
  .benefits_list li:nth-of-type(even) {
    margin-left: 0;
  }
}

@media screen and (max-width: 576px) {
  .benefits_list {
    gap: 4em;
  }
  .benefits_list li {
    flex-direction: column;
  }
  .benefits_list .img-area {
    width: 10rem;
  }
  .benefits_list div:last-of-type {
    width: 100%;
    text-align: center;
  }
}

.sec-main_type h4 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  flex: 0 0 auto;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.sec-main_type ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.sec-main_type li {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: justify;
  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.1));
  position: relative;
  overflow: hidden;
}

.sec-main_type li::before {
  position: absolute;
  content: "";
  bottom: -5em;
  right: -5em;
  background-image: url(../images/common/logo_mark.png);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.15;
  width: 14em;
  height: auto;
  aspect-ratio: 1 / 1;
}

.sec-main_type li p:first-of-type {
  padding-bottom: 1.5em;
  border-bottom: 1px solid var(--gray-color);
}

.sec-main_type li p:last-of-type {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.sec-main_type li .blue-bg {
  margin-right: 0.75rem;
  border-radius: 0.25rem;
  letter-spacing: 0.15em;
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.sec-main_type li .blue-bg::before {
  position: relative;
  display: block;
  content: "";
  background-image: url(../images/common/ling_b.png);
  width: 0.8rem;
  height: 0.8rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}

@media screen and (max-width: 1199px) {
  .shrink_reason_list {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
  }
  .shrink_reason_list li {
    width: calc((100% - 4rem) / 2);
    text-align: justify;
  }
}

@media screen and (max-width: 991px) {
  .shrink_reason_list {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
  }
}

@media screen and (max-width: 767px) {
  .shrink_reason_list {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    justify-content: center;
  }
  .shrink_reason_list li {
    width: 100%;
  }
  .sec-main_type ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.75rem;
  }
}

@media screen and (max-width: 575px) {
  .shrink_reason_list {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
  }
  .shrink_reason_list li {
    width: 100%;
  }
  .shrink_reason_list li .img-wrap {
    width: 100%;
    margin-bottom: 1.5rem;
  }
}
