@charset "UTF-8";

/* ==============================================
   BASE STYLES
   ============================================== */

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-margin-top: 92px;
}
@media screen and (max-width: 960px) {
  html {
    scroll-margin-top: 82px;
  }
}
@media screen and (max-width: 768px) {
  html {
    scroll-margin-top: 72px;
  }
}

/* ==============================================
   LAYOUT & CONTAINERS
   ============================================== */

.container-1200 {
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 1300px) {
  .container-1200 {
    padding-left: 5%;
    padding-right: 5%;
  }
}

/* margin */
.mt-48 {
  margin-top: 48px;
}
.mb-48 {
  margin-bottom: 48px;
}

.mt-64 {
  margin-top: 64px;
}
@media screen and (max-width: 960px) {
  .mt-64 {
    margin-top: 40px;
  }
}

/* ==============================================
   TYPOGRAPHY & TEXT UTILITIES
   ============================================== */

/* 縦書き */
.vertical-text {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

/* 英語縦書き */
.vertical-text-en {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: sideways;
}

/* Section Title */
.sec-ttl {
  position: relative;
  text-align: center;
}
.sec-ttl .en-ttl {
  display: inline-block;
  position: relative;
  font-size: var(--fs-xl);
}
.sec-ttl .en-ttl:after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  width: 72px;
  height: 2px;
  background-color: var(--color-blue-3);
  transform: translateX(-50%);
}
.sec-ttl .jp-ttl {
  padding-top: 1rem;
}
/* top-title English */
.t-ttl-en {
  font-family: var(--ft-roboto);
  font-size: 110px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-blue-4);
  line-height: 1.25;
  padding-top: 32px;
  padding-bottom: 32px;
}

@media screen and (max-width: 1100px) {
  .t-ttl-en {
    font-size: 80px;
  }
}

@media screen and (max-width: 768px) {
  .t-ttl-en {
    font-size: 50px;
  }
}

@media screen and (max-width: 480px) {
  .t-ttl-en {
    writing-mode: initial;
    text-orientation: initial;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* top-title Japanese */
.t-sec-ja {
  font-family: var(--ft-shippori);
  font-size: var(--fs-40);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.15em;
  color: var(--color-text-3);
}

@media screen and (max-width: 960px) {
  .t-sec-ja {
    font-size: var(--fs-32);
  }
}

/* section-title-line */
.sec-ttl-line-en {
  position: relative;
  text-align: center;
  font-family: var(--ft-roboto);
  font-size: 45px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-3);
}
.sec-ttl-line-en::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  width: 80px;
  height: 2px;
  background-color: var(--color-cyan);
  transform: translateX(-50%);
}

.sec-ttl-line-en.white {
  color: var(--color-white);
}
.sec-ttl-line-en.white::after {
  background-color: var(--color-white);
}
.sec-ttl-line-ja {
  display: block;
  padding-top: 1rem;
  font-size: var(--fs-22);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-3);
  text-align: center;
}

.sec-ttl-line-ja.white {
  color: var(--color-white);
}

@media screen and (max-width: 960px) {
  .sec-ttl-line-en {
    font-size: var(--fs-40);
  }
}

/* contents-ttl-solid */
.contents-ttl-solid {
  position: relative;
  padding-left: calc(26px + 1em);
}

.contents-ttl-solid::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 13px;
  height: 13px;
  background-color: var(--color-blue-1);
}

.contents-ttl-solid::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 26px;
  height: 13px;
  background-color: var(--color-cyan);
  z-index: -1;
}

/* contente-ttl-arrow */
.contents-ttl-arrow {
  position: relative;
  display: block;
  margin: 0 auto;
  width: fit-content;
  padding-bottom: 12px;
}
.contents-ttl-arrow::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 12px;
  color: var(--color-white);
  border-top-color: var(--color-cyan);
  border-bottom-color: var(--color-cyan);
}

.contents-ttl-arrow::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 1px;
  background-color: var(--color-cyan);
}

/* ==============================================
   COLOR UTILITIES
   ============================================== */
.text-center {
  text-align: center;
}

.txt-green {
  color: var(--color-green);
}

.txt-cyan {
  color: var(--color-cyan);
}

.txt-orange {
  color: var(--color-orange);
}

.txt-red {
  color: var(--color-red);
}

.txt-blue {
  color: var(--color-blue-1);
}
.txt-blue-6 {
  color: var(--color-blue-6);
}

.bg-blue {
  background-color: var(--color-blue-1);
}

.bg-gray {
  background-color: var(--color-gray-3);
}
.bg-blue-8 {
  background-color: var(--color-blue-8);
}

.bg-full,
.bg-left-full,
.bg-right-full {
  position: relative;
}
.bg-full::before,
.bg-left-full::before,
.bg-right-full::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100%;
  z-index: -1;
}
.bg-full::before {
  left: 50%;
  transform: translateX(-50%);
}
.bg-left-full::before {
  right: 0;
}
.bg-right-full::before {
  left: 0;
}

/* ==============================================
   FLEXBOX UTILITIES
   ============================================== */

.flex-nml {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

.flex-btw {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.flex-cnt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.flex-end {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

/* Flex Direction & Alignment */
.row-reverse {
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.items-center {
  -webkit-align-items: center;
  align-items: center;
}

.items-start {
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.items-end {
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

/* ==============================================
   GRID LAYOUTS
   ============================================== */

/* 2-Column Layout */
.box-2 {
  gap: 40px;
}

.box-2-item-1,
.box-2-item-2 {
  width: calc(50% - 20px);
}

@media screen and (max-width: 768px) {
  .box-2 {
    gap: 20px;
  }

  .box-2-item-1,
  .box-2-item-2 {
    width: 100%;
  }
}

/* 3-Column Layout */
.box-3 {
  gap: 48px;
}

.box-3-item {
  width: calc(33.33333% - 32px);
}
@media screen and (max-width: 1100px) {
  .box-3 {
    gap: 20px;
  }
  .box-3-item {
    width: calc(33.33333% - 13.33333px);
  }
}
@media screen and (max-width: 768px) {
  .box-3 {
    gap: 32px;
  }
  .box-3-item {
    width: 100%;
  }
}

/* 4-Column Layout */
.box-4 {
  gap: 24px;
}

.box-4-item {
  width: calc(25% - 18px);
}
@media screen and (max-width: 1100px) {
  .box-4-item {
    width: calc(50% - 12px);
  }
}

@media screen and (max-width: 600px) {
  .box-4-item {
    width: 100%;
  }
}

/* ==============================================
   COMPONENTS
   ============================================== */

/* Button */
.btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-time);
}

.btn-inr {
  position: relative;
  width: 320px;
  display: block;
  height: 60px;
  background-color: var(--color-blue-3);
}

.btn-txt {
  position: relative;
  width: fit-content;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: var(--fs-18);
  letter-spacing: 0.25em;
}

.btn-txt::after {
  content: "";
  position: absolute;
  top: calc(50% - 3.25px);
  transform: translateY(-50%);
  left: calc(100% + 8px);
  width: 35px;
  height: 6.5px;
  background: url(/img/common/arrow-icon-white.svg) no-repeat 100% 0 / 35px
    6.5px;
  border-bottom: 2px solid var(--color-white);
  margin: auto 0;
  transition: all var(--transition-time);
}

.btn:hover .btn-txt::after {
  width: 48px;
}
@media screen and (max-width: 768px) {
  .btn-inr {
    width: 300px;
  }
  .btn-txt {
    font-size: var(--fs-16);
  }
}
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 72px;
  gap: 12px;
  background-color: var(--color-cyan);
  color: var(--color-white);
  max-width: 320px;
}

.contact-btn img {
  width: 28px;
  height: 20px;
}

.contact-btn span {
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: var(--fs-20);
  white-space: nowrap;
}

/* ==============================================
   BASE ELEMENT OVERRIDES
   ============================================== */

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

li {
  margin: 0;
  padding: 0;
}

/* ==============================================
   RESPONSIVE UTILITIES
   ============================================== */

.br-sp-only {
  display: none;
}

@media screen and (max-width: 600px) {
  .br-sp-only {
    display: block;
  }
}
