@charset "UTF-8";

:root {
  /* color */
  --color-red-1: #dc0003;
  --color-red-2: #b02e2a;
  --color-red-3: #b0160a;
  --color-red-4: #b61814;
  --color-black-1: #352d2a;
  --color-black-2: #200905;
  --color-black-3: #000000;
  --color-white: #ffffff;
  --color-beige-1: #e8e6de;
  --color-beige-2: #f2f5ff;
  --color-beige-3: #f6f4f3;

  /* font */
  --font-noto: "Noto Sans JP", sans-serif;
  --font-mplus: "M PLUS 1p", sans-serif;
  --font-shippori: "Shippori Mincho", serif;
  --font-barlow: "Barlow Condensed", sans-serif;

  /* font-size */
  --base-font-size-pc: 62.5%;
  --base-font-size-tab: 56.25%;
  --base-font-size-sp: 50%;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-17: 1.7rem;
  --fs-18: 1.8rem;
  --fs-20: 2rem;
  --fs-21: 2.1rem;
  --fs-22: 2.2rem;
  --fs-23: 2.3rem;
  --fs-24: 2.4rem;
  --fs-28: 2.8rem;
  --fs-30: 3rem;
  --fs-32: 3.2rem;
  --fs-33: 3.3rem;
  --fs-36: 3.6rem;
  --fs-40: 4rem;

  /* font-weight */
  --fw-thin: 100;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* 余白 */
  /* 単位は rem（1rem = 16px) */
  /* 40px = 2.5rem */
  --space-40: clamp(1rem, 4vw, 2.5rem);
  /* 64px = 4rem */
  --space-64: clamp(1.5rem, 6.4vw, 4rem);
  /* 80px = 5rem */
  --space-80: clamp(2rem, 8vw, 5rem);
  /* 100px = 6.25rem */
  --space-100: clamp(2.5rem, 10vw, 6.25rem);
  /* 120px = 7.5rem */
  --space-120: clamp(3rem, 12vw, 7.5rem);
  /* 200px = 12.5rem */
  --space-140: clamp(3.5rem, 14vw, 8.75rem);
  /* 160px = 10rem */
  --space-160: clamp(4rem, 20vw, 12.5rem);
  /* 200px = 12.5rem */
  --space-200: clamp(4rem, 20vw, 12.5rem);
}

@media screen and (max-width: 640px) {
  :root {
    --fs-16: 15px;
    --fs-15: 14px;
    --space-100: clamp(2rem, 10vw, 5rem); /* 最大 80px に */
    --space-120: clamp(2.5rem, 12vw, 6rem); /* 最大 96px に */
    --space-140: clamp(3rem, 14vw, 8rem); /* 最大 120px に */
    --space-160: clamp(3.5rem, 16vw, 10rem); /* 最大 160px に */
    --space-200: clamp(4rem, 20vw, 12.5rem); /* 最大 200px に */
  }
}

@media screen and (min-width: 1200px) {
  :root {
    --space-40: clamp(1.25rem, 4vw, 2.5rem);
    --space-64: clamp(2rem, 6.4vw, 4rem);
    --space-80: clamp(2.5rem, 8vw, 5rem);
    --space-100: clamp(3rem, 10vw, 6.25rem);
    --space-120: clamp(3.5rem, 12vw, 7.5rem);
    --space-140: clamp(4rem, 14vw, 8.75rem);
    --space-160: clamp(4.5rem, 16vw, 10rem);
    --space-200: clamp(5rem, 20vw, 12.5rem);
  }
}

body {
  font-family: var(--font-noto);
  font-size: var(--fs-16);
  line-height: 1.75;
  font-weight: var(--fw-regular);
  letter-spacing: 0.1em;
  color: var(--color-black-1);
  background-color: var(--color-beige-1);
  overflow: hidden;
}

/*--------------------------------
  page-loader
--------------------------------*/
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-beige-1);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition:
    opacity 0.5s ease-out,
    visibility 0.5s ease-out;
  visibility: visible;
  overflow: hidden;
  pointer-events: none; /* キーボードイベントを通過させる */
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inr {
  position: relative;
}

.loader-video {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, 0);
}

.loader-video .loader-video-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 146px;
  opacity: 0;
  animation: logoFadeIn 0.8s ease-out 1.5s forwards;
}

.loader-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.loader-bg {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  opacity: 0.8;
}
.loader-bg-right {
  display: block;
  width: 1100px;
  height: auto;
  object-fit: contain;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(10%, -50%);
}
.loader-bg-left {
  display: block;
  width: 1100px;
  height: auto;
  object-fit: contain;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(-50%, 10%) rotate(180deg);
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 20px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media screen and (max-width: 768px) {
  .loader-inr {
    gap: 32px;
  }

  .loader-logo {
    width: 100px;
  }
  .loader-video {
    max-width: 100%;
    width: 100%;
    object-fit: contain;
  }
}

/* --------------------------------
  cmn-nav
--------------------------------*/
.cmn-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.cmn-nav-item {
  font-family: var(--font-mplus);
  font-weight: var(--fw-medium);
  font-size: var(--fs-15);
  letter-spacing: 0.2em;
  position: relative;
  margin-bottom: 30px;
}
.cmn-nav-item:last-child {
  margin-bottom: 0;
}
.cmn-nav-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -26px;
  width: 12px;
  height: 2px;
  border-radius: 50%;
  background-color: var(--color-red-2);
}
@media screen and (max-width: 600px) {
  .cmn-nav-list {
    align-items: center;
  }

  .cmn-nav-item {
    padding-left: 0;
  }

  .cmn-nav-item::before {
    left: calc(-12px - 14px);
  }
}
/*--------------------------------
  cmn-sns
--------------------------------*/
.cmn-sns-list ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.cmn-sns-list ul li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
@media screen and (max-width: 600px) {
  .cmn-sns-list ul {
    gap: 16px;
  }
  .cmn-sns-list ul li {
    height: 16px;
    width: 16px;
  }
}
/*--------------------------------
  title
--------------------------------*/
/* section title */
.sec-ttl {
  display: flex;
  gap: 32px;
  align-items: flex-end;
}
.sec-ttl .en-txt {
  font-size: var(--fs-33);
  line-height: 1;
  font-weight: var(--fw-medium);
}
.sec-ttl .jp-txt {
  font-size: var(--fs-14);
  letter-spacing: 0.2em;
  font-weight: var(--fw-semibold);
}
.sec-ttl.center {
  justify-content: center;
}
@media screen and (max-width: 960px) {
  .sec-ttl.br {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .sec-ttl.br .en-txt {
    line-height: 1.75;
  }
}
@media screen and (max-width: 768px) {
  .sec-ttl {
    gap: 16px;
  }
  .sec-ttl .en-txt {
    font-size: var(--fs-28);
  }
  .sec-ttl.br {
    gap: 8px;
  }
}
/* solid-ttl */
.solid-ttl {
  display: inline-block;
  color: var(--color-red-2);
  letter-spacing: 0.2em;
  font-size: 90px;
  font-weight: var(--fw-bold);
  background-color: var(--color-white);
  line-height: 1;
  padding: 10px 16px 14px;
  border: 4px solid var(--color-red-2);
  width: fit-content;
  height: fit-content;
  margin-bottom: 16px;
  white-space: nowrap;
}
.solid-ttl.narrow {
  font-size: 100px;
  letter-spacing: 0;
}
.large-txt {
  display: inline-block;
  font-weight: var(--fw-bold);
  font-size: 90px;
  color: var(--color-red-2);
  margin-bottom: 16px;
  white-space: nowrap;
  line-height: 1;
}
.large-txt.narrow {
  font-size: 60px;
  letter-spacing: -0.1em;
}
@media screen and (max-width: 1400px) {
  .solid-ttl,
  .large-txt,
  .solid-ttl.narrow,
  .large-txt.narrow {
    font-size: 72px;
  }
}
@media screen and (max-width: 1100px) {
  .solid-ttl,
  .large-txt,
  .solid-ttl.narrow,
  .large-txt.narrow {
    font-size: 64px;
  }
}
@media screen and (max-width: 960px) {
  .solid-ttl {
    padding: 8px 12px 10px;
  }
  .solid-ttl,
  .large-txt {
    font-size: 48px;
    margin-left: 0;
    margin-right: auto;
  }
  .large-txt,
  .solid-ttl.narrow,
  .large-txt.narrow {
    font-size: 48px;
  }
}
@media screen and (max-width: 768px) {
  .solid-ttl {
    font-size: var(--fs-32);
    border: 3px solid var(--color-red-2);
    margin-bottom: 8px;
  }
  .large-txt {
    font-size: var(--fs-32);
    margin-bottom: 16px;
  }
  .solid-ttl.narrow,
  .large-txt.narrow {
    font-size: var(--fs-32);
  }
}
@media screen and (max-width: 600px) {
  .solid-ttl {
    white-space: nowrap;
    padding: 4px 8px 6px;
  }
}
/*--------------------------------
  txt
--------------------------------*/
/* section-description */
.sec-desc {
  font-size: var(--fs-15);
  padding-left: 32px;
  border-left: 1px solid var(--color-black-1);
  max-width: 550px;
}
/* red-circle-txt */
.circle-txt {
  width: 225px;
  height: 225px;
  background-color: var(--color-red-2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.circle-txt p {
  color: var(--color-white);
  font-size: var(--fs-18);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-align: center;
}
@media screen and (max-width: 1100px) {
  .circle-txt {
    width: 180px;
    height: 180px;
  }
}
@media screen and (max-width: 960px) {
  .circle-txt {
    width: 120px;
    height: 120px;
  }
  .circle-txt p {
    font-size: var(--fs-14);
  }
}
@media screen and (max-width: 600px) {
  .circle-txt {
    width: 100px;
    height: 100px;
  }
  .circle-txt p {
    font-size: var(--fs-12);
  }
}
@media screen and (max-width: 480px) {
  .circle-txt {
    width: 88px;
    height: 88px;
  }
}

/* solid-circle-txt */
.circle-txt.solid::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 249px;
  height: 249px;
  border: 1.2px solid var(--color-red-2);
  border-radius: 50%;
}

@media screen and (max-width: 1100px) {
  .circle-txt.solid::after {
    width: 207px;
    height: 207px;
  }
}

@media screen and (max-width: 960px) {
  .circle-txt.solid::after {
    width: 148px;
    height: 148px;
  }
}
@media screen and (max-width: 600px) {
  .circle-txt.solid::after {
    width: 118px;
    height: 118px;
  }
}
@media screen and (max-width: 480px) {
  .circle-txt.solid::after {
    width: 102px;
    height: 102px;
  }
}
/* solid-content */
.solid-content {
  padding-left: 56px;
}
@media screen and (max-width: 768px) {
  .solid-content {
    padding-left: 0;
  }
}
/* solid-desc */
.solid-desc {
  position: relative;
  font-size: var(--fs-15);
  padding: 40px 64px;
  flex: 1;
  margin-left: 176px;
}
.solid-desc::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 1.2px solid var(--color-red-2);
  z-index: -1;
}
.solid-desc.top::before {
  height: calc(100% + 56px);
  top: -56px;
}
@media screen and (max-width: 1100px) {
  .solid-desc {
    padding: 48px 32px;
  }
}
@media screen and (max-width: 960px) {
  .solid-desc {
    padding: 40px;
    width: 90%;
    margin-left: 24px;
  }
  .solid-desc::before {
    width: 100%;
  }
  .solid-desc.top::before {
    height: calc(100% + 24px);
    top: -24px;
  }
}
@media screen and (max-width: 768px) {
  .solid-desc {
    padding: 24px;
  }
}

/*--------------------------------
  bg
--------------------------------*/
.bg-beige-2 {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(242, 245, 255, 1) 100%
  );
  position: relative;
  z-index: -2;
}
.bg-white {
  background-color: var(--color-white);
}
.bg-red-2 {
  background-color: var(--color-red-2);
}
/*--------------------------------
  button
--------------------------------*/
/* button-more */
.btn-more {
  text-align: center;
}
.btn-more__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 40px;
  border: 2px solid var(--color-red-2);
  border-radius: 999px;
  font-family: var(--font-barlow);
  font-size: var(--fs-15);
  font-weight: var(--fw-semibold);
  color: var(--color-red-2);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  box-shadow: 2px 4px var(--color-red-2);
  transition: transform 0.3s ease;
  background-color: var(--color-white);
  cursor: pointer;
}
.btn-more__link.ja {
  letter-spacing: 0.3em;
}
.btn-more__link:hover {
  transform: translateY(2px);
  opacity: 1;
}
@media screen and (max-width: 600px) {
  .btn-more__link {
    font-size: var(--fs-14);
    padding: 8px 24px;
  }
}

/* btn-more-02 */
.btn-more-02__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 265px;
  width: 100%;
  padding: 14px 0;
  border: 1px solid var(--color-red-2);
  background-color: var(--color-red-2);
  color: var(--color-white);
  font-family: var(--font-barlow);
  font-size: var(--fs-20);
  font-weight: var(--fw-regular);
  letter-spacing: 0.1em;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.btn-more-02.center {
  text-align: center;
}
.btn-more-02.ja .btn-more-02__link {
  font-family: var(--font-noto);
  letter-spacing: 0.3em;
}
.btn-more-02__link:hover {
  background-color: var(--color-white);
  color: var(--color-red-2);
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .btn-more-02__link {
    font-size: var(--fs-16);
    padding: 8px 0;
  }
}
/*--------------------------------
　news-item
--------------------------------*/
.news-tabs {
  margin-bottom: 40px;
}
.news-tabs__item {
  padding: 0 20px;
  margin: 10px 0;
  font-size: var(--fs-15);
  cursor: pointer;
  color: var(--color-black-3);
  background-color: initial;
  position: relative;
  border-right: 0.25px solid var(--color-black-3);
}

.news-tabs__item.is-active {
  border: 0.25px solid var(--color-black-3);
}
.news-tabs__item.is-active:first-child {
  border-left: 0.25px solid var(--color-black-3);
}
.news-tabs__item.is-active:nth-child(2),
.news-tabs__item.is-active:last-child {
  border-left: none;
}
.news-panels {
  position: relative;
}
.news-panel {
  display: none;
}
.news-panel.is-active {
  display: block;
}
.news-list {
  display: grid;
}
.news-item {
  border-bottom: 1px solid rgba(32, 9, 5, 0.16);
  padding: 8px 0;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item__link {
  display: grid;
  grid-template-columns: 107px 1fr auto;
  align-items: center;
  gap: 16px;
  color: inherit;
}
.news-item__cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 107px;
  padding: 8px 0;
  border-radius: 999px;
  background-color: var(--color-beige-1);
  font-size: var(--fs-12);
}
.news-item__ttl {
  font-size: var(--fs-15);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-item__meta {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-size: var(--fs-15);
}
.news-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.news-item__link:hover .news-item__icon {
  transform: translateX(4px);
}
.news-empty {
  padding: 32px 0;
  font-size: var(--fs-16);
  letter-spacing: 0.08em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .news-tabs {
    margin-bottom: 16px;
  }
  .news-item__link {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "cat meta"
      "ttl ttl";
    gap: 12px;
    align-items: center;
    justify-items: flex-start;
    position: relative;
  }
  .news-item__cat {
    grid-area: cat;
    padding: 4px 8px;
  }
  .news-item__ttl {
    grid-area: ttl;
    white-space: normal;
    padding-right: 28px;
  }
  .news-item__meta {
    grid-area: meta;
    width: auto;
    display: inline-flex;
    gap: 16px;
  }
  .news-item__meta time {
    order: 0;
  }
  .news-item__icon {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 0;
    top: 50%;
  }
}
@media screen and (max-width: 600px) {
  .news-tabs {
    margin-bottom: 8px;
    justify-content: center;
  }
  .news-tabs__item {
    width: 33%;
  }
  .news-tabs__item.is-active:first-child {
    border-left: 0.25px solid var(--color-black-3);
  }
  .news-tabs__item:nth-child(3)::after {
    content: none;
  }
  .news-tabs__item::after {
    right: -0.25px;
  }
  .news-item__link {
    gap: 8px 12px;
  }
}

/*--------------------------------
  pin-img
--------------------------------*/
.pin-img {
  width: 80px;
  height: auto;
  object-fit: contain;
  margin-left: -3%;
}
.pin-img.right {
  margin-left: auto;
  margin-right: 0;
}
@media screen and (max-width: 768px) {
  .pin-img {
    width: 64px;
  }
}
@media screen and (max-width: 600px) {
  .pin-img {
    width: 48px;
  }
}
/*--------------------------------
electric-img
--------------------------------*/
.electric-img {
  position: absolute;
  z-index: -1;
  width: 80vw;
  max-width: 1100px;
  min-height: auto;
  top: 10%;
  right: 0;
}

/*--------------------------------
num-img
--------------------------------*/
.num-img {
  height: 112px;
  object-fit: contain;
}
@media screen and (max-width: 1100px) {
  .num-img {
    height: 96px;
  }
}
@media screen and (max-width: 960px) {
  .num-img {
    height: 80px;
  }
}
@media screen and (max-width: 768px) {
  .num-img {
    height: 64px;
  }
}
@media screen and (max-width: 600px) {
  .num-img {
    height: 48px;
  }
}
@media screen and (max-width: 480px) {
  .num-img {
    height: 40px;
  }
}

/*--------------------------------
  slide animation
--------------------------------*/
:root {
  --anim-duration: 0.6s;
  --anim-fast: 0.4s;
  --anim-slow: 0.8s;
}

/* Keyframes */
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 初期状態 */
.slide-in-left {
  opacity: 0;
  transform: translateX(-100%);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(100%);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
}

/* アニメーション発火 */
.slide-in-left.is-visible {
  animation: slideInLeft var(--anim-duration) ease-out forwards;
}

.slide-in-right.is-visible {
  animation: slideInRight var(--anim-duration) ease-out forwards;
}

.fade-in-up.is-visible {
  animation: fadeInUp var(--anim-duration) ease-out forwards;
}

/* 遅延 */
.slide-in-left.is-visible.delay-1,
.slide-in-right.is-visible.delay-1,
.fade-in-up.is-visible.delay-1 {
  animation-delay: 0.1s;
}

.slide-in-left.is-visible.delay-2,
.slide-in-right.is-visible.delay-2,
.fade-in-up.is-visible.delay-2 {
  animation-delay: 0.2s;
}

.slide-in-left.is-visible.delay-3,
.slide-in-right.is-visible.delay-3,
.fade-in-up.is-visible.delay-3 {
  animation-delay: 0.3s;
}

.slide-in-left.is-visible.delay-4,
.slide-in-right.is-visible.delay-4,
.fade-in-up.is-visible.delay-4 {
  animation-delay: 0.4s;
}

.fade-in-up.is-visible.delay-5 {
  animation-delay: 0.5s;
}

/* スピード */
.slide-in-left.fast,
.slide-in-right.fast,
.fade-in-up.fast {
  animation-duration: var(--anim-fast);
}

.slide-in-left.slow,
.slide-in-right.slow,
.fade-in-up.slow {
  animation-duration: var(--anim-slow);
}
