@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --black-color: #000000;
  --white-color: #fff;
  --gray-color: #aaa;
  --gray-color02: #f2f2f2;
  --primary-color: #007365;
  --accent-color: #d70051;
  --section-txt-color: #4c4b4b;
  --accent-background-color: #ef99b9;
  --primary-background-color: #92c1bb;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 800px;
  --content-width: 960px;
  --content-width-lg: 1088px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-background: -50;
  --z-index-back: -1;
  --z-index-default: 0;
  --z-index-front: 1;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}

/* ---------- base ---------- */
body {
  color: var(--black-color);
  font-size: 16px;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/* ---------- layout ---------- */

.l_header {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white-color);
}

.l_header a {
  transition: all 0.3s ease;
}

.l_header a:hover {
  transition: all 0.3s ease;
  opacity: 0.6;
  cursor: pointer;
}

.l_header-logo-img {
  height: 60px;
  width: 300px;
}

.l_header-logo_link {
  margin-left: 42px;
}

.l_header-nav_list {
  display: flex;
}

.l_header-nav_border {
  position: relative;
}

.l_header-nav_border::before {
  content: "";
  width: 1px;
  height: 60px;
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  background: var(--primary-color);
}

.l_header-nav_item {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  width: 244px;
}

.icon_img__company {
  margin-top: 17px;
  width: 163px;
  height: 33px;
}

.icon_img__trinty {
  margin-top: 24px;
  width: 159px;
  height: 25px;
}

.icon_img__tissage {
  margin-top: 19px;
  width: 140px;
  height: 30px;
}

.icon-img_txt {
  color: var(--black-color);
}

.l_footer {
  position: relative;
}

.l_footer_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 70px;
  transition: all 0.3s ease;
}

.l_footer_logo:hover {
  opacity: 0.6;
  cursor: pointer;
}

.l_footer_logo::before {
  content: "";
  width: 1000px;
  height: 1px;
  position: absolute;
  top: 50%;
  background: var(--primary-color);
}

.l_footer_list {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--gray-color02);
  height: 64px;
}

.l_footer_item {
  height: 35px;
  width: 137px;
  justify-content: center;
  align-items: center;
  display: flex;
  border-right: 1px solid var(--gray-color);
  transition: all 0.3s ease;
}

.l_footer_item:hover {
  opacity: 0.6;
  cursor: pointer;
}

.l_footer_list .l_footer_item:first-child {
  border-left: 1px solid var(--gray-color);
}

.l_footer_link {
  display: flex;
  justify-content: center;
  align-items: center;
}

.l_footer_info {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 33px;
}

.l_footer_info-tel {
  letter-spacing: 0.04em;
}

.l_footer_info-tel-img {
  line-height: 0;
}

.l_footer_info-fax {
  letter-spacing: 0.04em;
}

.l_footer_info-fax-img {
  line-height: 0;
}

.l_footer_info-time {
  margin-top: 12px;
  font-family: "Noto Serif", serif;
  font-size: 17px;
  letter-spacing: 0.1em;
}

.l_footer-copyright {
  margin-top: 35px;
  height: 32px;
  background-color: var(--black-color);
  text-align: center;
}

.l_footer-copyright_txt {
  font-size: 12px;
  color: var(--white-color);
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
}

.__footer-toppage {
  width: 83px;
  height: 18px;
}

.__footer-company {
  width: 87px;
  height: 18px;
}

.__footer-trinty {
  width: 97px;
  height: 15px;
  margin-top: 3px;
}

.__footer-tissage {
  width: 84px;
  height: 19px;
}

/* ---------- module ---------- */

.m_section_title_brand {
  padding: 170px 0 0;
}

.m_section_title_sub {
  font-size: 60px;
  letter-spacing: 0.15em;
  color: var(--section-txt-color);
  text-align: center;
  line-height: 1cap;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.m_text-size-big {
  font-size: 110px;
  color: var(--section-txt-color);
}

.m_section_title_main {
  text-align: center;
  font-size: 26px;
  letter-spacing: 0.15em;
  margin-top: 38px;
}

.__proposition-fontspace {
  letter-spacing: -0.02em;
}

.__brand-fontspace {
  letter-spacing: 0.07em;
}

.m_txt-color_accent {
  color: var(--accent-color);
}

.m_txt-color_primary {
  color: var(--primary-color);
}

/* ---------- .top_kv ---------- */

.slider {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1920 / 956;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  margin: auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  /* アニメーション共通設定（duration は total = 12s） */
  animation: slideAnim 12s linear infinite;
  /* 画像の上にテキスト等を置く場合のために遷移 */
  transition: opacity 0.4s ease;
}

/* 3枚を順に表示させるための遅延（枚数に応じて調整） */
.slide:nth-child(1) {
  animation-delay: 0s;
  background-image: url(/img/kv1.jpg);
}
.slide:nth-child(2) {
  animation-delay: -4s;
  background-image: url(/img/kv2.jpg);
}
.slide:nth-child(3) {
  animation-delay: -8s;
  background-image: url(/img/kv3.jpg);
}

/* アニメーション定義
     - 0%〜8%: フェードイン（scale 1 → 1.02）
     - 8%〜33%: 表示＆ゆっくりズーム（scale 1.02 → 1.08）
     - 33%〜41%: フェードアウト（次へ） */
@keyframes slideAnim {
  0% {
    opacity: 0;
    transform: scale(1);
    z-index: 1;
  }
  6% {
    opacity: 1;
    transform: scale(1.02);
    z-index: 2;
  } /* 入ってくる */
  30% {
    opacity: 1;
    transform: scale(1.08);
    z-index: 2;
  } /* 見せたい時間（ズーム） */
  36% {
    opacity: 0;
    transform: scale(1.12);
    z-index: 1;
  } /* フェードアウト */
  100% {
    opacity: 0;
    transform: scale(1.12);
    z-index: 1;
  }
}

.top_kv {
  background: url(../img/kv1.jpg) center / cover;
}

.top_kv-inner {
  position: relative;
  height: 100%;
}

.top_kv_box {
  width: fit-content;
  height: fit-content;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(275 / 1920 * 100vw);
  margin: auto;
  text-align: center;
  z-index: 100;
  /* width: 100%; */
}

.top_kv_img {
  width: calc(473 / 1920 * 100vw);
  height: auto;
}

/* ---------- .top_main ---------- */

.section-end-border {
  height: 100%;
  display: flex;
}

.top_main {
  background: url(/img/main1.jpg);
  height: 1449px;
  color: var(--white-color);
  position: relative;
}

.fixed-content {
  position: fixed;
  left: 100%;
  transform: translateX(-100%);
  z-index: 999;
  bottom: 0;
}

.fixed-content a {
  color: #fff;
  font-weight: bold;
  text-align: center;
  display: block;
}

.img-fixed-content {
  width: 242px;
  height: 88px;
  background: var(--white-color);
  padding: 15px 20px;
  transition: all 0.3s ease;
}

.fixed-content__trinity {
  border-right: 5px solid var(--accent-background-color);
  border-bottom: 5px solid var(--accent-background-color);
}

.fixed-content__trinity:hover {
  border-right: 5px solid var(--accent-color);
  border-bottom: 5px solid var(--accent-color);
}

.fixed-content__tissage {
  border-right: 5px solid var(--primary-background-color);
  border-bottom: 5px solid var(--primary-background-color);
}

.fixed-content__tissage:hover {
  border-right: 5px solid var(--primary-color);
  border-bottom: 5px solid var(--primary-color);
}

.hidden {
  animation: fade 0.2s ease-in-out forwards;
  pointer-events: none;
}

@keyframes fade {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.visible {
  animation: fadeOut 0.2s ease-in-out forwards;
  pointer-events: all;
}

@keyframes fadeOut {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.l_main-title_img {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 232px;
}

.top_main_txt-wrapper {
  padding: 642px 0 0;
  width: 1000px;
  margin: 0 auto;
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 80px;
  text-align: center;
}

/* ---------- .top_proposition ---------- */

.top_proposition {
  background: url(/img/main2.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 1408px;
}

.m_section_title_proposition {
  padding: 200px 0 0;
}

/* ---------- summary_section ---------- */

.summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.summary_title {
  font-size: 36px;
  letter-spacing: 0.15em;
  position: relative;
}

.summary_txt-box {
  text-align: left;
  position: relative;
  left: 4%;
}

.summary_background {
  background: url(/img/Vector.svg);
  top: 37%;
  left: -20%;
  position: absolute;
  width: 187px;
  height: 228px;
}

.summary_title {
  margin-top: 146px;
  color: var(--primary-color);
}

.summary_title_sub {
  margin-top: 15px;
  width: 659px;
  letter-spacing: 0.15em;
}

/* ---------- .brand_section ---------- */

.top_brand {
  background: url(/img/brand.jpg);
  height: 1320px;
}

.top_brand_list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 105px;
}

.top_brand_item {
  position: relative;
}

.top_brand_item-background__trinity::before {
  content: "";
  background: rgba(215, 0, 81, 0.4);
  width: 453px;
  height: 453px;
  position: absolute;
  top: 5%;
  left: 5%;
  z-index: var(--z-index-default);
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.top_brand_item-background__trinity:hover:before {
  background: rgba(215, 0, 81, 1);
  opacity: 1;
}

.top_brand_item-background__trinity::after {
  content: "";
  position: absolute;
  top: 78%;
  left: 89%;
  border-top: 50px solid var(--accent-color);
  border-right: 50px solid transparent;
  border-bottom: 50px solid transparent;
  z-index: var(--z-index-front);
  rotate: 180deg;
}

.top_brand_item-background__tissage::before {
  content: "";
  background: rgba(0, 115, 101, 0.4);
  width: 453px;
  height: 453px;
  position: absolute;
  top: 5%;
  left: 5%;
  z-index: var(--z-index-default);
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.top_brand_item-background__tissage:hover .top_brand-txt-logo,
.top_brand_item-background__tissage:hover .top_brand_desc,
.top_brand_item-background__trinity:hover .top_brand-txt-logo,
.top_brand_item-background__trinity:hover .top_brand_desc {
  opacity: 0.6;
}

.top_brand_item-background__tissage:hover:before {
  background: rgba(0, 115, 101, 1);
  opacity: 1;
}

.top_brand_item-background__tissage::after {
  content: "";
  position: absolute;
  top: 78%;
  left: 89%;
  border-top: 50px solid var(--primary-color);
  border-right: 50px solid transparent;
  border-bottom: 50px solid transparent;
  z-index: var(--z-index-front);
  rotate: 180deg;
}

.top_brand-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 453px;
  height: 453px;
  background-color: var(--white-color);
  position: relative;
  z-index: var(--z-index-front);
}

.top_brand-txt-logo_img__trinity {
  width: 318px;
  height: 87px;
  margin-top: 125px;
}

.top_brand-txt-logo_img__tissage {
  width: 296px;
  height: 108px;
  margin-top: 109px;
}

.top_brand_desc {
  text-align: center;
  display: flex;
  flex-direction: column;
  margin-top: 51px;
  font-size: 22px;
  letter-spacing: 0.15em;
}

.top_brand_fontsize {
  font-size: 22px;
  letter-spacing: 0.15em;
}

.top_brand_btn-wrapper {
  margin-top: 238px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top_brand_btn {
  background: url(/img/CTAボタン.jpg);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 535px;
  height: 64px;
  color: var(--white-color);
  transition: all 0.3s ease;
}
.top_brand_btn:hover {
  opacity: 0.6;
  cursor: pointer;
}

.top_brand_btn-txt_contact {
  font-size: 25px;
  letter-spacing: 0.05em;
}

.top_brand_btn-txt_contact::first-letter {
  font-size: 37px;
}

.top_brand_btn-txt_contactjp {
  font-size: 14px;
  margin-left: 4px;
  margin-top: 10px;
}
