@charset "UTF-8";

/* ========================================
  Reset CSS
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 15px;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
figure,
figcaption,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

svg {
  vertical-align: bottom;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ========================================
  Base
======================================== */
:root {
  --theme-color: #D8282B;
}

body {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.9;
  color: #263B44;
  background-color: #F6F6F7;
}

.main {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.ff-en {
  font-family: "Montserrat", sans-serif;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/* ========================================
  Utility - Fade In Animation
======================================== */
.js-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/*------------------------------------------------------------------------

2.Layout

------------------------------------------------------------------------*/

/* page
---------------------------------------------------------- */

.l-content {
  max-width: 1100px;
  margin: 0 auto;
}


@media screen and (max-width: 1199px) {
  .l-content {
    max-width: 87%;
    margin: 0 auto;
  }

  .p-casestudy-single .l-content {
    max-width: 96%;
  }
}

/* ========================================
  Header
======================================== */
.l-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60000;
  background: #fff;
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 13px 22px 13px 0;
  /* margin: 34px 40px 0; */
  margin: 0 auto;
  /* border-radius: 5px;
  height: 80px; */
  transition: all 0.3s ease;
  /* box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1); */
}

.l-header.l-header--top {
  position: absolute;
  background: none;
  padding-block: 0;
}

.l-header.l-header--fix {
  background: rgba(255, 255, 255, .7);
  width: calc(100% - 96px);
  padding-left: 18px;
  margin-top: 20px;
  padding-right: 14px;
  border-radius: 8px;
  backdrop-filter: blur(40.900001525878906px);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.02);
}

body .l-header:not(.is-menu) {
  opacity: 0;
  visibility: hidden;
}

body .l-header:not(.is-menu).show {
  opacity: 1;
  visibility: visible;
}

/* body.home .l-header {
  background: #fff;
} */

body.home .l-header.is-active {
  background: transparent;
  box-shadow: none;
}

/* body.home .l-header.is-menu,
body.home .l-header.is-menu.is-active {
  background: rgba(255,255,255,.9);
} */

.l-header>* {
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 141px;
  height: 141px;
  background: #fff;
}

.l-header--fix .l-header__logo {
  width: 181px;
  height: 44px;
  background: none;

  img {
    max-width: 181px;
  }
}

.l-header__logo img {
  max-width: 82px;
}

/* .l-header .l-header__logo img.active {
  display: none;
}

.l-header.is-active .l-header__logo img.default {
  display: none;
}

.l-header.is-active .l-header__logo img.active {
  display: inline;
}

.l-header.is-menu.is-active .l-header__logo img.default {
  display: inline;
}

.l-header.is-menu.is-active .l-header__logo img.active {
  display: none;
} */

.l-header__box {
  width: 1100px;
  justify-content: space-between;
  white-space: nowrap;
}

.l-header__box__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding-right: 36px;
}

.l-header__box__list li:not(:last-of-type) {
  margin-right: 15px;
}

.l-header__box__list li a {
  position: relative;
  display: block;
  padding: 14px 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s 0s ease;
}

.l-header--fix .l-header__box__list li a,
.l-header--top .l-header__box__list li a {
  color: #263B44;
}

body.home .l-header--top .l-header__box__list li a {
  color: #fff;
}

.l-header--top .l-header__logo {
  background: none;
}

body.home .l-header--top .l-header__logo {
  background: #fff;
}

.l-header__box__list li a.blank {
  display: flex;
  align-items: center;
  gap: 0 10px;
}

.l-header--top .l-header__box__list li a.blank svg path {
  fill: #263B44;
}

body.home .l-header--top .l-header__box__list li a.blank svg path,
body.home .l-header.is-active .l-header__box__list li a.blank svg path {
  fill: #fff;
}

/* body.home .l-header .l-header__box__list li a {
  color: #263B44;
} */

body.home .l-header.is-active .l-header__box__list li a {
  color: #fff;
}

.l-header__search {
  width: 22px;
  margin: 0 35px;
}

.l-header__search__btn {
  cursor: pointer;
}

.l-header__search.close svg path {
  fill: #b1b1b1;
}

.l-header__searchbox__form__input {
  padding: 14px 0 14px 30px;
  border: none;
  background: url(../img/ico_search.svg) no-repeat left center/22px;
  width: 100%;
  font-size: 18px;
}

.l-header__link {
  display: flex;
  gap: 0 15px;
}

.l-header__link a {
  display: block;
  padding: 12px 18px;
  border-radius: 100px;
  width: 160px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.l-header__link a.l-header__link__contact {
  color: #fff;
  background: var(--theme-color);
}

.l-header__link a.l-header__link__contact:hover {
  opacity: 0.8;
}

.l-header__menu {
  display: none;
  cursor: pointer;
}

.l-header__menu__txt {
  font-size: 16px;
  font-weight: 600;
  color: #fff;

  .menu {
    display: inline;
  }

  .close {
    display: none;
  }
}

.l-header__menu__line {
  position: relative;
  width: 18px;
  height: 12px;
}

.l-header__menu__line span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 0;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  width: 18px;
}

.l-header__menu__line span:nth-of-type(1) {
  top: 0;
}

.l-header__menu__line span:nth-of-type(2) {
  top: 8px;
}

.l-header__menu__line span:nth-of-type(3) {
  top: 28px;
}

.l-header__menu__line div {
  transition: all 0.4s;
  position: absolute;
  top: 47px;
  left: 22px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.l-header__menu.active {
  background: #fff;

  .l-header__menu__txt {
    color: var(--theme-color);

    .menu {
      display: none;
    }

    .close {
      display: inline;
    }
  }

  .l-header__menu__line span {
    background: var(--theme-color);
  }
}

.l-header__menu.active span:nth-of-type(1) {
  top: 4px;
  left: 7px;
  transform: rotate(-45deg);
}

/* .l-header__menu.active span:nth-of-type(2) {
  opacity: 0;
} */

.l-header__menu.active span:nth-of-type(2) {
  top: 4px;
  left: 7px;
  transform: rotate(45deg);
}

.l-nav-sp {
  display: none;
}

.l-nav-sp a:hover {
  opacity: 0.8;
}

.l-nav-sp__list li a {
  display: block;
  padding: 12px 0;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: left;
}

.l-nav-sp__list--btm {
  margin-top: 38px;
  padding-top: 36px;
  text-align: left;
  border-top: solid 1px rgba(255, 255, 255, 0.7);
}

.l-nav-sp__list--btm__head {
  font-size: 20px;
  font-weight: 700;
}

.l-nav-sp__list--btm ul {
  margin-top: 20px;
}

.l-nav-sp__list--btm li a {
  display: flex;
  align-items: center;
  gap: 0 10px;
  width: 100%;
  padding: 10px 0;
  font-size: 15px;
  color: #fff;
}

.l-nav-sp__list--btm__sns {
  display: flex;
  align-items: center;
  gap: 0 40px;
  margin-top: 45px;
}

.l-nav-sp__list--btm__contact {
  margin-top: 45px;

  a {
    display: block;
    padding: 17px 0;
    max-width: 640px;
    margin: 0 auto;
    font-size: 18px;
    font-weight: 500;
    color: var(--theme-color);
    background: #fff;
    border-radius: 100px;
    text-align: center;
  }
}

.l-nav-bg {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  display: none;
  position: fixed;
  background: rgba(23, 23, 23, 0.42);
}

body.open .l-nav-bg {
  display: block;
}

@media screen and (max-width: 1199px) {
  .l-header {
    right: 0;
    height: 72px;
    align-items: center;
    width: 96.7%;
    margin: 8px auto 0;
    /* background: none; */
    /* box-shadow: none; */
    overflow: hidden;
  }

  .l-header.l-header--top {
    display: none;
  }

  .l-header.l-header--fix {
    width: 100%;
    height: 80px;
    padding: 0 19px 0 0;
    margin-top: 0;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    opacity: 1 !important;
    visibility: visible !important;

    .l-header__logo {
      width: 80px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      border-radius: 0;

      img {
        display: block;
        max-width: 50px;
      }
    }
  }

  body:not(.home) .l-header.l-header--fix .l-header__logo {
    mix-blend-mode: difference;
  }

  body.home .l-header.l-header--fix .l-header__logo {
    background: #fff;
  }



  body.home .l-header,
  body.home .l-header.is-menu {
    /* background: transparent; */
  }

  body.home .l-header.is-menu.is-active {
    background: #fff;
  }

  .l-header__box {
    display: none;
  }

  .l-nav-sp {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    overflow: hidden;
    width: 100%;
    background: var(--theme-color);
    /* height: calc(100vh - 8px);
    -webkit-transform: translateY(-100vh);
    transform: translateY(-100vh); */
    height: 0;
    transition: height 0.3s ease;
    z-index: 30001;
    margin: 0 auto;
  }

  .l-nav-sp__child {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    padding: 150px 0 60px;
    background: var(--theme-color);
    border-radius: 0 0 5px 5px;
  }

  .l-header__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--theme-color);
    width: 120px;
    height: 42px;
    border-radius: 4px;
  }

  .l-header.is-menu {
    /* background: none; */
    box-shadow: none;
    background: var(--theme-color);
    z-index: 80000;

    .l-header__logo {
      opacity: 0;
      visibility: hidden;
    }
  }

  body.open .l-nav-sp {
    z-index: 70000;
    display: block;
    overflow: visible;
    /* transform: translateY(0px); */
    height: 100svh;
  }

  body.open .l-nav-sp__list li,
  body.open .l-nav-sp__list--btm ul li,
  body.open .l-nav-sp__list--btm__head {
    animation-name: fadeAbove3;
    animation-duration: 1.5s;
    animation-fill-mode: both;
    animation-timing-function: ease;
  }

  @keyframes fadeAbove3 {
    0% {
      opacity: 0;
      transform: translate(0, 1.5em);
    }

    100% {
      transform: translate3d(0, 0, 0);
    }
  }
}

/*header_nav*/
.l-header_nav {
  overflow: hidden;
  background: #eee;
}

.l-header_nav ul {
  margin: 0 auto 30px auto;
  width: 1100px;
}

.header_nav li {
  float: left;
}

.header_nav li a {
  display: block;
  padding: 10px;
  background: #dbdbdc;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 220px;
  text-align: center;
  color: #666666;
}

/*固定ヘッダー*/
.headerFixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #fff;
  opacity: 0.9;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* ========================================
  Footer
======================================== */
.l-footer {
  background: #44474D;
  padding: 116px 0 54px;
  color: #fff;
}

.l-footer__wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 48px;
}

.l-footer__info {
  width: 30.9%;
  margin-right: 10.6%;
}

.l-footer__head img {
  max-width: 266px;
}

.l-footer__sns,
.l-footer__sns--sp {
  display: flex;
  align-items: center;
  gap: 0 40px;
  margin-top: 40px;
}

.l-footer__sns--sp {
  display: none;
  margin-top: 80px;
  width: 100%;
}

.l-footer__place {
  margin-top: 32px;
}

.l-footer__map {
  margin-top: 10px;

  a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;

    &:hover {
      text-decoration: none;
    }
  }
}

.l-footer__link {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 35.9%;
}

.l-footer__link ul {
  display: flex;
  flex-direction: column;
  width: 49%;
}

.l-footer__link ul li:not(:first-of-type),
.l-footer__blank ul li:not(:first-of-type) {
  margin-top: 15px;
}

.l-footer__link ul li a,
.l-footer__blank ul li a {
  transition: all 0.3s 0s ease;
}

.l-footer__link ul li a:hover,
.l-footer__blank ul li a:hover {
  opacity: .8;
}

.l-footer__blank {
  border-left: solid 1px rgba(255, 255, 255, .19);
  padding-left: 5%;
  width: 22.6%;
  font-size: 15px;
}

.l-footer__blank__head {
  font-weight: bold;
}

.l-footer__blank ul {
  margin-top: 22px;
}

.l-footer__blank ul li a {
  display: flex;
  align-items: center;
  gap: 0 10px;
}

.l-footer--nonefoot {
  background: #f5f5f5;
  padding: 86px 0 132px;
}

.l-footer--nonefoot__txt {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #9f9f9f;
}

.l-footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 94px;
  padding: 54px 70px 0 48px;
  border-top: solid 1px rgba(255, 255, 255, .19);
}

.l-footer__pagetop {
  a {
    display: flex;
    align-items: center;
    gap: 0 10px;
  }
}

@media screen and (max-width: 1199px) {
  .l-footer__info {
    width: 100%;
    margin-right: 0;
  }

  .l-footer__head {
    text-align: left;
  }

  .l-footer__head img {
    max-width: 187px;
  }

  .l-footer__link {
    width: 100%;
    margin-top: 42px;
  }

  .l-footer__blank {
    width: 100%;
    margin-top: 44px;
    border-left: none;
    padding-left: 0;
  }
}

@media screen and (max-width: 767px) {
  .l-footer {
    padding: 61px 0 30px;
  }

  .l-header__menu__txt {
    font-size: 14px;
  }

  .l-footer__wrap {
    margin-top: 40px;
  }

  .l-footer__place {
    margin-top: 20px;
  }

  .l-footer__link, .l-footer__blank {
    display: none;
  }

  .l-footer__bottom {
    margin-top: 63px;
    padding: 23px 6.5% 0;
  }

  .l-footer__sns {
    display: none;
  }

  .l-footer__sns--sp {
    display: flex;
  }

  .l-footer--nonefoot {
    padding: 60px 0 90px;
  }
}

/*------------------------------------------------------------------------

3.Object

------------------------------------------------------------------------*/

/*------------------------------------------------------------------------
3-i.Component
------------------------------------------------------------------------*/

.c-main {
  overflow: hidden;
}

.c-btn--1 {
  position: relative;
  border-bottom: solid 1px #ccc;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 212px;
  font-weight: 700;
}

.c-btn--1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background-color: #000;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.c-btn--1:hover::after {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .c-btn--1::after {
    width: 100%;
  }
}

.text-transition-mask,
.text-transition-normal,
.text-transition-up {
  transition: transform 0.75s cubic-bezier(0.5, 0.2, 0.1, 1.14);
}

.text-transition-mask {
  overflow: hidden;
  position: relative;
  z-index: 2;
  display: block;
}

.text-transition-normal {
  transform: translateY(0);
  position: relative;
  display: block;
}

.text-transition-up {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(2em);
  display: block;
  width: 100%;
}

a:hover .text-transition-normal {
  transform: translateY(-2em);
}

a:hover .text-transition-up {
  transform: translateY(0);
}

.c-ttl__head__main {
  margin-top: 8px;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.4;
}

.c-ttl__head__sub {
  font-size: 22px;
  font-weight: 600;
  color: var(--theme-color);
}

.c-txt--1 {
  line-height: 2;
}

.c-txt--2 {
  font-size: 18px;
  line-height: 2;
}

.c-def--1 {
  display: flex;
  flex-wrap: wrap;
}

.c-def--1 dt,
.c-def--1 dd {
  padding: 28px 0;
  border-bottom: solid 1px #d1d1d1;
  line-height: 2;
}

.c-def--1 dt {
  width: 19.6%;
  font-weight: bold;
}

.c-def--1 dd {
  width: 80.4%;
}

@media screen and (max-width: 1199px) {
  .c-def--1 dd {
    padding-left: 20px;
  }
}

@media screen and (max-width: 767px) {
  .c-ttl {
    background-position: right top;
    padding-top: 100px;
  }

  .c-ttl-scroll,
  .c-ttl .c-ttl-scroll {
    bottom: 32%;
  }

  .c-head--1 span {
    font-size: 38px;
  }

  .c-ttl__head__main {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .c-ttl__head__sub {
    margin-bottom: 0;
  }

  .c-ttl__txt {
    margin-top: 17px;
    font-size: 17px;
  }

  .c-txt--2 {
    font-size: 17px;
  }

  .c-def--1 dt {
    width: 100%;
    border-bottom: none;
    padding: 20px 0 0;
  }

  .c-def--1 dd {
    width: 100%;
    padding: 20px 0;
  }
}

/*--------------------
Archive
--------------------*/
.c-pagenatatewrap {
  margin-top: 58px;
}

.c-archive-pagination {
  /* display: flex;
  justify-content: center;
  align-items: center;
  margin: 72px auto 0;
  gap: 14px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 72px auto 0;
  max-width: 692px;
}

.c-archive-pagination a,
.c-archive-pagination span {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  color: #171717;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  font-weight: 700;
  line-height: 44px;
}

.c-archive-pagination span.c-archive-pagination__item--current {
  background: #45ac0c;
  color: #fff;
}

.c-archive-pagination span.c-archive-pagination__excerpt {
  background: none;
}

.c-archive-pagination a:hover {
  opacity: 0.8;
}

.c-archive-pagination .p-casestudy-single-nav__prev a,
.c-archive-pagination .p-casestudy-single-nav__next a,
.c-archive-pagination .p-casestudy-single-nav__prev span,
.c-archive-pagination .p-casestudy-single-nav__next span {
  width: auto;
  height: auto;
  gap: 0 24px;
}

.p-casestudy-single-nav__disabled {
  opacity: 0.35;
}

.c-archive-pagination__no {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.c-archive-pagination__child {
  margin: 0 20px 0 0;
}

.c-archive-pagination__child.active {
  font-weight: bold;
}

.c-archive-pagination__child__link {
  display: inline-block;
  padding: 9px 15px;
}

.c-archive-pagination__child__link:hover,
.c-archive-pagination__child.active .c-archive-pagination__child__link {
  background: #0b3d3c;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .c-pagenatatewrap {
    margin-top: 20px;
  }

  .c-archive-pagination {
    flex-wrap: wrap;
  }

  .c-archive-pagination__no {
    gap: 10px;
  }

  .c-archive-pagination a,
  .c-archive-pagination span {
    width: 35px;
    height: 35px;
    font-size: 18px;
    line-height: 35px;
  }

  .c-archive-pagination__child {
    margin: 10px 10px 0 0;
  }

  .c-archive-pagination__child__link {
    padding: 5px 8px;
  }

  .c-archive-pagination span.p-casestudy-single-nav__spantxt {
    display: none;
  }
}

.c-breadcrumb {
  background: #fafaf7;
  padding: 16px 0;
}

.c-animation-head .c-ttl__head__main,
.c-animation-head .c-ttl__head__sub {
  display: flex;
  overflow: hidden;
}

.c-ttl__head.c-animation-head span {
  display: block;
  min-width: 0.3em;
  transform: translate(0, 115%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

.c-ttl__head.c-animation-head.is-present span {
  transform: translate(0, 0);
}

.c-ttl-scroll {
  overflow: hidden;
  position: absolute;
  right: 2.75%;
  bottom: 240px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.c-ttl .c-ttl-scroll {
  bottom: 0;
}

.c-ttl-scroll__txt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
  writing-mode: vertical-rl;
}

.c-ttl .c-ttl-scroll__txt {
  color: #fff;
}

.c-ttl-scroll__line {
  width: 1px;
  min-height: 88px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.c-ttl .c-ttl-scroll__line {
  background: #fff;
}

.c-ttl-scroll__ball {
  animation: moveY 3s ease infinite;
}

@keyframes moveY {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(144px);
  }
}

.c-ttl-scroll__ball span {
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
  width: 1px;
  height: 146px;
  background: #fff;
}

@media screen and (max-width: 767px) {
  .c-ttl-scroll {
    bottom: 42vh;
    display: none;
  }

  .c-ttl-scroll__txt {
    font-size: 11px;
  }
}

/* .c-accordion__arrow {
  position: relative;
  width: 20px;
  height: 20px;
}
.c-accordion::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 17px;
  height: 17px;
  border-top: 3px solid #1F354E;
  border-right: 3px solid #1F354E;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
} */
.c-accordion__img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-accordion__img img {
  width: 21px;
}

.c-accordion .close_btn_img {
  display: none;
}

.c-accordion.is-active .close_btn_img {
  display: block;
}

.c-accordion.is-active .open_btn_img {
  display: none;
}

.c-brand {
  position: relative;
  overflow: hidden;
  border-top: solid 1px #ededed;
  padding-top: 82px;
}

.c-brand__head .c-ttl__head__main,
.c-brand__head .c-ttl__head__sub {
  justify-content: center;
}

.c-brand__head .c-ttl__head__main {
  color: #2e70b9;
  font-size: 22px;
}

.c-brand__head .c-ttl__head__sub {
  font-size: 70px;
}

.c-brand .running-txt {
  color: #f2f3f4;
  display: flex;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 289px;
  font-weight: bold;
  line-height: 1;
  opacity: 0.56;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

.c-brand .running-txt_wrap {
  animation: runningText 20s linear infinite;
  display: flex;
  flex-shrink: 0;
}

.c-brand .running-txt__wrap span {
  flex-shrink: 0;
  margin-right: 10px;
}

.c-brand__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 3.2%;
  margin-top: 54px;
}

.c-brand__list li {
  width: 14%;
  text-align: center;
}

.c-brand__list li:nth-of-type(6n + 1) {
  transition: opacity 400ms linear 200ms, transform 600ms ease-out 200ms;
}

.c-brand__list li:nth-of-type(6n + 2) {
  transition: opacity 500ms linear 200ms, transform 700ms ease-out 300ms;
}

.c-brand__list li:nth-of-type(6n + 3) {
  transition: opacity 600ms linear 200ms, transform 800ms ease-out 400ms;
}

.c-brand__list li:nth-of-type(6n + 4) {
  transition: opacity 700ms linear 200ms, transform 900ms ease-out 500ms;
}

.c-brand__list li:nth-of-type(6n + 5) {
  transition: opacity 800ms linear 200ms, transform 1000ms ease-out 600ms;
}

.c-brand__list li:nth-of-type(6n) {
  transition: opacity 900ms linear 200ms, transform 1100ms ease-out 700ms;
}

.c-brand__list li span img {
  max-width: 158px;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .c-brand .running-txt {
    font-size: 155px;
  }

  .c-brand__head .c-ttl__head__sub {
    font-size: 54px;
  }

  .c-brand__list {
    gap: 7px calc(4% / 3);
  }

  .c-brand__list li {
    width: 24%;
  }

  .c-brand__list li:nth-of-type(4n + 1) {
    transition: opacity 400ms linear 200ms, transform 600ms ease-out 200ms;
  }

  .c-brand__list li:nth-of-type(4n + 2) {
    transition: opacity 500ms linear 200ms, transform 700ms ease-out 300ms;
  }

  .c-brand__list li:nth-of-type(4n + 3) {
    transition: opacity 600ms linear 200ms, transform 800ms ease-out 400ms;
  }

  .c-brand__list li:nth-of-type(4n) {
    transition: opacity 700ms linear 200ms, transform 900ms ease-out 500ms;
  }
}

.c-btmbnr {
  display: block;
  position: relative;
  padding: 17px 100px 90px;
  /* margin-left: calc((100% - 1200px) / 2); */
  margin-left: 100px;
  margin-bottom: 137px;
  color: #fff;
}

.c-btmbnr:hover img {
  opacity: 1;
}

.c-btmbnr__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  z-index: -1;
}

.c-btmbnr__bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 0;
  background: rgba(23, 23, 23, 0.34);
}

.c-btmbnr__bg img {
  object-position: bottom;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.c-btmbnr__em {
  position: relative;
}

.c-btmbnr__next {
  left: -71px;
  top: 28px;
}

.c-btmbnr__link {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border: solid 2px rgba(255, 255, 255, 0.37);
  border-radius: 50%;
  margin-top: 40px;
  transition: ease 0.2s;
}

.c-btmbnr__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: #fff;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 0);
  transform-origin: center;
}

.c-btmbnr__link span {
  position: relative;
  z-index: 3;
}

.c-btmbnr:hover .c-btmbnr__link {
  border: solid 2px #fff;
}

.c-btmbnr:hover .c-btmbnr__link::before {
  transform: scale(1.1, 1.1);
}

.c-btmbnr:hover .c-btmbnr__link span svg path {
  fill: #171717;
}

.c-btmtxt {
  position: absolute;
  bottom: 125px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.c-btmtxt__phase {
  padding: 0 30px;
  font-size: 250px;
  line-height: 1;
  font-weight: 700;
  color: #AA4C4D;
  opacity: 0.05;
  white-space: nowrap;
  backface-visibility: hidden;
  will-change: transform;
  animation: flowing 50s linear infinite;
}

@keyframes flowing {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media screen and (max-width: 1399px) {
  .c-btmbnr__next {
    left: -24px;
    top: 0;
  }
}

@media screen and (max-width: 1199px) {
  .c-btmbnr {
    margin-left: 8.5vw;
  }
}

@media screen and (max-width: 767px) {
  .c-btmtxt {
    bottom: 100px;
  }

  .c-btmbnr {
    padding: 10px 30px 45px;
    margin-bottom: 65px;
  }

  .c-btmbnr__link {
    width: 60px;
    height: 60px;
    margin-top: 30px;
  }
}


/*------------------------------------------------------------------------
3-ii.Project
------------------------------------------------------------------------*/

/*--------------------
Top
--------------------*/
.p-top-ttl {
  position: relative;
  overflow: hidden;
}

.p-top-ttl__gallery {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100svh;
  min-height: 800px;
  margin: 0 auto;
  overflow: hidden;

  &::after {
    content: "";
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.17);
  }

  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

.p-top-ttl__txt {
  position: absolute;
  z-index: 4;
  left: 140px;
  top: 210px;
  color: #fff;

  .head {
    font-size: max(50px, 5.8vw);
    font-weight: 700;
    line-height: 1.02;
  }

  .txt {
    margin-top: 26px;
    font-size: max(18px, 1.6vw);
    font-weight: 600;
    line-height: 1.6;
  }
}

.p-top-ttl__line--wrap {
  position: absolute;
  z-index: 3;
  bottom: 0;
  right: 0;
  width: 91%;
  height: calc(100% - 141px);
  pointer-events: none;
  /* background: url(../img/top_mv_line.png) no-repeat right top/cover; */
}

.p-top-ttl__line--wrap img {
  aspect-ratio: 2368/1500;
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.p-top-ttl__line--1,
.p-top-ttl__line--2,
.p-top-ttl__line--3 {
  display: none;
}

.p-top-ttl__line--1 {
  position: absolute;
  z-index: 3;
  top: 303px;
  left: 116px;
  /* width: 26.15%; */
  width: 340px;
  max-width: 340px;
}

.p-top-ttl__line--2 {
  position: absolute;
  z-index: 3;
  right: 313px;
  bottom: 0;
  /* width: 26.15%; */
  width: 511px;
  max-width: 511px;
}

.p-top-ttl__line--3 {
  position: absolute;
  z-index: 3;
  bottom: 0;
  right: 0;
  /* width: 26.15%; */
  width: 433px;
  max-width: 433px;
}

.p-top-about {
  position: relative;
  padding: 155px 0 25px;
}

.p-top-about__inner {
  display: flex;
  justify-content: space-between;
  gap: 100px;
}

.p-top-about__inner__img {
  width: 45.1%;

  .imgone {
    max-width: 416px;
  }
}

.p-top-about__inner__imgcol {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 53px;

  .imgtwo {
    margin-top: 42px;
    max-width: 192px;
  }

  .imgthree {
    max-width: 224px;
  }
}

.p-top-about__inner__txt {
  flex: 1;
  margin-top: 28px;

  .txt {
    margin-top: 33px;
    font-size: 17px;

    p+p {
      margin-top: 30px;
    }
  }

  .btn {
    margin-top: 56px;
  }
}

.p-top-about__addimg {
  margin-top: 55px;
  text-align: right;

  img {
    max-width: 406px;
  }
}

.p-top-about__btmtxt {
  position: absolute;
  bottom: 125px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.p-top-about__btmtxt__phase {
  padding: 0 30px;
  font-size: 250px;
  line-height: 1;
  font-weight: 700;
  color: #AA4C4D;
  opacity: 0.05;
  white-space: nowrap;
  backface-visibility: hidden;
  will-change: transform;
  animation: flowing 50s linear infinite;
}

@keyframes flowing {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes flowing_a {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.p-top-product {
  padding: 25px 0 92px;
  overflow: hidden;
}

.p-top-product__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  .c-ttl__head__main {
    margin-top: 6px;
    line-height: 1.5;
  }
}

.p-top-product__head__left {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  flex: 1;
}

.p-top-product__slider {
  margin-top: 62px;
  position: relative;
  padding-bottom: 60px;
  overflow: visible;
}

.p-top-product__slider .swiper-slide {
  width: 91.4%;
}

.p-top-product__pagination {
  bottom: 0 !important;
}

.p-top-product__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}

.p-top-product__pagination .swiper-pagination-bullet-active {
  background: var(--theme-color);
}

.p-top-product__prev,
.p-top-product__next {
  width: 50px;
  height: 50px;
  background: var(--theme-color);
  border-radius: 50%;
  top: auto;
  bottom: 0;
}

.p-top-product__prev::after,
.p-top-product__next::after {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
}

.p-top-product__prev {
  left: auto;
  right: 70px;
}

.p-top-product__next {
  right: 0;
}

.p-top-product__nav__list {
  display: flex;
  gap: 8px;
}

.p-top-product__nav__list li {
  border: solid 2px var(--theme-color);
  border-radius: 100px;
  padding: 2px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease;
}

.p-top-product__nav__list li .num {
  color: var(--theme-color);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
  max-width: 3em;
  transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
}

.p-top-product__nav__list li .txt {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease 0.05s,
    margin-left 0.3s ease;
}

.p-top-product__nav__list li.is-active {
  background: var(--theme-color);
}

.p-top-product__nav__list li.is-active .num {
  max-width: 0;
  opacity: 0;
}

.p-top-product__nav__list li.is-active .txt {
  max-width: 15em;
  opacity: 1;
  margin-left: 0;
}

.p-top-product__block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #fff;
  border-top: solid 1px var(--theme-color);
  padding: 58px 62px 58px 50px;
  width: 100%;
}

.p-top-product__block__txt {
  flex: 1;

  .ttl {
    font-size: 26px;
    font-weight: 600;
  }

  .txt {
    margin-top: 30px;
  }

  .btn {
    margin-top: 40px;
  }
}

.p-top-product__block__img {
  width: 56.33%;
}



.p-top-casestudy {
  position: relative;
  background: #6C7078;
  padding: 145px 0 120px;
  overflow: hidden;
  color: #fff;

  &::after {
    content: "";
    position: absolute;
    right: 60px;
    top: -128px;
    width: 675px;
    height: 623px;
    background: url(../img/top_casestudy_bg.svg) no-repeat center top/cover;
    z-index: 0;
  }

  .l-content {
    position: relative;
    z-index: 1;
  }

  .c-btn--1 {
    border-bottom-color: rgba(255, 255, 255, 0.4);
  }

  .c-btn--1::after {
    background-color: #fff;
  }
}

.p-top-casestudy__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  .c-ttl__head__main {
    margin-top: 15px;
    line-height: 1;
  }
}

.p-top-casestudy__head__left {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  flex: 1;
}

.p-top-casestudy__list {
  margin-top: 60px;

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

  li {
    width: calc((100% - 78px)/3);

    span {
      position: relative;
      display: block;
      cursor: pointer;
      transition: all 0.3s;

      &::after {
        content: "";
        top: 0;
        left: 0;
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.164) 21.77%, rgba(21, 21, 21, 0.82) 93.71%);
        border-radius: 4px;
        z-index: 1;
      }

      &:hover .ico rect {
        stroke: none;
        fill: var(--theme-color);
      }

      &:hover .ico path {
        fill: #fff;
      }
    }

    .img {
      position: relative;
      aspect-ratio: 340 / 450;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
      }
    }
  }
}

.p-top-casestudy__list .ico rect,
.p-top-casestudy__list .ico path {
  transition: all 0.3s ease;
}

.p-top-casestudy__list__txt {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  bottom: 0;
  left: 0;
  padding: 0 24px 32px;

  .info {
    flex: 1;
  }

  .label {
    display: inline-block;
    padding: 0 11px;
    background: #2B2E36;
    font-size: 12px;
  }

  .ttl {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 600;
  }
}

.p-top-news {
  padding: 145px 0 100px;
}

.p-top-news__inner {
  display: flex;
  gap: 10px;
}

.p-top-news__head {
  flex: 1;
}

.p-top-news__list {
  width: 74%;
}

.p-top-news__list li {
  display: flex;
  align-items: center;
  border-top: solid 1px rgba(0, 0, 0, .08);
  padding: 30px 0;
  gap: 15px 63px;
}

.p-top-news__list li:last-of-type {
  border-bottom: solid 1px rgba(0, 0, 0, .08);
}

.p-top-news__list__date {
  font-size: 14px;
}

.p-top-news__btm {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 135px;

  .slider-track {
    display: flex;
    width: calc((100vw / 3) * 12);
    gap: 44px;
    animation: slideLeft 40s linear infinite;
  }

  .slide {
    display: flex;
    align-items: flex-start;
    overflow: hidden;

    &.aiend {
      align-items: flex-end;
    }
  }
}


@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100vw * 2));
  }
}

/* @media (max-aspect-ratio: 1300/890) {
  .p-top-ttl__line--wrap {
    width: 100%;
  }
} */

/* @media screen and (max-width: 1249px) {
  .p-top-ttl__line--wrap {
    width: 100%;
  }
} */

@media screen and (max-width: 1199px) {
  .p-top-about__inner {
    gap: 50px;
  }

  .p-top-ttl__line--wrap {
    display: none;
  }

  .p-top-ttl__line--1,
  .p-top-ttl__line--2,
  .p-top-ttl__line--3 {
    display: block;
  }

  .p-top-ttl__line--1 {
    top: 303px;
    left: 13.7%;
    width: 93.5%;
    max-width: none;

    svg {
      max-width: 100%;
      height: auto;
    }
  }

  .p-top-ttl__line--2 {
    right: -27.8%;
    width: 66.5%;

    svg {
      max-width: 100%;
      height: auto;
    }
  }

  .p-top-ttl__line--3 {
    display: none;
  }

  .p-top-ttl__txt {

    .head {
      font-size: max(50px, 8.8vw);
    }

    .txt {
      font-size: max(18px, 3vw);
    }
  }
}

@media screen and (max-width: 767px) {
  .p-top-ttl__gallery {
    min-height: auto;
  }

  .p-top-ttl__txt {
    left: 40px;
    top: auto;
    bottom: 162px;

    .head {
      /* font-size: 9vw; */
      font-size: 50px;
    }

    .txt {
      margin-top: 12px;
      /* font-size: 4.2vw; */
      font-size: 18px;
    }
  }

  .p-top-ttl__line--1 {
    top: auto;
    bottom: 138px;
    left: 13.7%;
    width: 74.5%;
    max-width: 340px;

    svg {
      max-width: 100%;
      height: auto;
    }
  }

  .p-top-ttl__line--2 {
    right: -32.8%;
    width: 66.5%;

    svg {
      max-width: 100%;
      height: auto;
    }
  }

  .p-top-ttl__line--3 {
    display: none;
  }

  .p-top-about {
    padding: 73px 0 39px;
    overflow: hidden;
  }

  .p-top-about__inner {
    flex-direction: column;
    gap: 40px;
  }

  .p-top-about__inner__txt {
    order: 1;
    margin-top: 0;

    .txt {
      line-height: 2;
    }
  }

  .p-top-about__inner__img {
    order: 2;
    width: 100%;
  }

  .p-top-about__inner__imgcol {
    margin-top: 46px;

    .imgtwo {
      width: 46.2%;
      margin-top: 35px;
      max-width: none;
    }

    .imgthree {
      position: relative;
      right: -10%;
      width: 53.7%;
      max-width: none;
    }
  }

  .p-top-about__addimg {
    margin: 115px 0 0 auto;
    width: 72.3%;

    img {
      max-width: 100%;
      width: 100%;
    }
  }

  .p-top-product {
    padding: 40px 0 60px;
  }

  .p-top-product__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 44px;
  }

  .p-top-product__head__left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .p-top-product__slider {
    margin-top: 30px;
    padding-bottom: 80px;
  }

  .p-top-product__slider .swiper-slide {
    width: 100%;
  }

  .p-top-product__block {
    flex-direction: column;
    padding: 30px 20px 45px;
    width: 100%;
  }

  .p-top-product__block__txt {
    order: 2;

    .ttl {
      font-size: 22px;
    }

    .txt {
      margin-top: 15px;
    }

    .btn {
      margin-top: 25px;
    }
  }

  .p-top-product__block__img {
    width: 100%;
    order: 1;
  }

  .p-top-product__prev,
  .p-top-product__next {
    width: 40px;
    height: 40px;
  }

  .p-top-product__prev::after,
  .p-top-product__next::after {
    font-size: 14px;
  }

  .p-top-product__prev {
    right: 55px;
  }

  .p-top-product__nav__list {
    gap: 10px;
  }

  .p-top-product__nav__list li {
    font-size: 12px;
  }

  .p-top-casestudy {
    padding: 70px 0 74px;

    &::after {
      top: -80px;
      right: -60px;
      width: 372px;
      height: 343px;
    }
  }

  .p-top-casestudy__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    .c-ttl__head__main {
      margin-top: 8px;
    }
  }

  .p-top-casestudy__head__left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .p-top-casestudy__head__right {
    display: none;
  }

  .p-top-casestudy__list {
    overflow: visible;
    margin-top: 44px;

    li {
      width: 85.7%;
    }
  }

  .p-top-news {
    padding: 56px 0 70px;
  }

  .p-top-news__inner {
    flex-direction: column;
    gap: 10px;
  }

  .p-top-news__list {
    width: 100%;
  }

  .p-top-news__list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 0;
  }

  .p-top-news__btm {
    margin-top: 70px;

    .slider-track {
      width: calc((100vw / 2) * 12);
      gap: 22px;
    }
  }
}

/* ========================================
  Intro / Splash Screen
======================================== */
.p-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F6F6F7;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.p-intro.is-leave {
  transform: translateY(-100%);
}

.p-intro.is-hidden {
  display: none;
}

.p-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.p-intro__logo {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.p-intro__logo.is-show {
  opacity: 1;
  transform: scale(1);
}

.p-intro__logo img {
  width: 82px;
  height: auto;
}

.p-intro__bar {
  width: 120px;
  height: 2px;
  background-color: #ddd;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.p-intro__bar.is-show {
  opacity: 1;
}

.p-intro__bar__fill {
  width: 0;
  height: 100%;
  background-color: #D8282B;
  transition: width 1.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.p-intro__bar__fill.is-active {
  width: 100%;
}

/* スクロールフェードイン */
.inview {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.inview.fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

.case-card.inview:nth-child(even) {
  transition-delay: 0.2s;
}

.p-top-about__inner__imgcol .imgtwo.inview {
  transition-delay: 0.2s;
}

.p-top-about__inner__imgcol .imgthree.inview {
  transition-delay: 0.4s;
}

/* 波打ちテキストアニメーション */
.js-wave-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js-wave-line.is-show {
  opacity: 1;
  transform: translateY(0);
}

.js-sub-text {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-sub-text.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
  Case Study Page
======================================== */
.p-casestudy-main {
  max-width: none;
  padding: 0;
  background-image: url('../img/casestudy_header-bg.png');
  background-repeat: no-repeat;
  background-position: right 0px top -80px;
  background-size: auto;
}

.page-header {
  padding: 60px 0 50px 0;
}

.page-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 120px;
  line-height: 1.7;
}

.page-header__en {
  font-size: 26px;
  font-weight: 700;
  color: #D8282B;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.page-header__title {
  font-size: 48px;
  font-weight: 600;
  color: #263B44;
  letter-spacing: 0.05em;
}

.filter__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 60px;
  background-color: #fff;
}

.filter__label {
  font-size: 18px;
  font-weight: 600;
  color: #263B44;
  margin-bottom: 20px;
}

.filter__list {
  display: flex;
  gap: 12px;
}

.filter__btn {
  background-color: #fff;
  border: 2px solid #D8282B;
  color: #D8282B;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter__btn:hover {
  background-color: #D8282B;
  color: #fff;
}

.filter__btn.is-active {
  background-color: #D8282B;
  border-color: #D8282B;
  color: #fff;
}

.case-list {
  padding: 40px 0 100px;
}

.case-list__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.case-list__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.case-card {
  width: 100%;
}

button.case-card__img {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  aspect-ratio: 530 / 320;
  overflow: hidden;
  border-radius: 4px;
}

.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.case-card__img:hover img {
  transform: scale(1.05);
}

.case-card__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
}

.case-card__info {
  flex: 1;
}

.case-card__cat {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.case-card__title {
  font-size: 20px;
  font-weight: 600;
  color: #263B44;
  margin-bottom: 8px;
  line-height: 1.5;
}

.case-card__desc {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

.case-card__btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background-color: #D8282B;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.case-card__btn:hover {
  background-color: #b71c1c;
}

.case-card__btn-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.case-card__btn-icon::before,
.case-card__btn-icon::after {
  content: "";
  position: absolute;
  background-color: #fff;
  border-radius: 2px;
}

.case-card__btn-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.case-card__btn-icon::after {
  width: 2px;
  height: 14px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Case Study Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
}

.modal__content {
  position: relative;
  max-width: 720px;
  width: 90%;
  z-index: 1;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.is-open .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: -30px;
  right: -50px;
  width: 38px;
  height: 38px;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
  font-weight: 200;
  color: #333;
  cursor: pointer;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__close:hover {
  opacity: 0.7;
}

.modal__header {
  margin-bottom: 16px;
}

.modal__cat {
  display: inline-block;
  background-color: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  margin-bottom: 6px;
}

.modal__title {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
}

.modal__img {
  width: 100%;
}

.modal__img img {
  width: 100%;
  height: auto;
  display: block;
}

.modal__desc {
  font-size: 15px;
  color: #fff;
  line-height: 1.8;
  margin-top: 16px;
}

/* Case Study Responsive */
@media screen and (max-width: 767px) {
  .case-list__inner {
    padding: 0 20px;
  }

  .case-list__grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .p-casestudy-main {
    background-size: 140%;
    background-position: right -180px top -4px;
  }

  .page-header {
    padding: 40px 0;
  }

  .page-header__inner {
    padding: 110px 20px 0;
  }

  .page-header__en {
    font-size: 20px;
  }

  .page-header__title {
    font-size: 32px;
  }

  .filter__inner {
    padding: 30px 20px;
    margin: 0 20px;
  }

  .filter__label {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .filter__list {
    flex-wrap: wrap;
    gap: 10px;
  }

  .filter__btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  .case-card__img {
    aspect-ratio: 16 / 10;
  }

  .modal__content {
    display: flex;
    flex-direction: column;
  }

  .modal__close {
    position: static;
    order: 4;
    margin: 50px auto 0;
    width: 58px;
    height: 58px;
  }
}

/* ========================================
  Product Page
======================================== */
.p-products-main {
  max-width: none;
  padding: 0;
  background-image: url('../img/product_header-bg.png');
  background-repeat: no-repeat;
  background-position: right 0px top -80px;
  background-size: auto;
}

.product-list {
  padding: 60px 0 100px;
}

.product-list__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.product-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.product-card {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}

.product-card__img {
  position: relative;
  aspect-ratio: 340 / 450;
  overflow: hidden;
}

.product-card__img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-card__img img {
  transform: scale(1.05);
}

.product-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.product-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.product-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s;
  flex-shrink: 0;
}

.product-card:hover .product-card__arrow {
  background-color: #D8282B;
  border-color: #D8282B;
  color: #fff;
}

/* Product card stagger (even cards delayed) */
.product-card.inview:nth-child(3n+2) {
  transition-delay: 0.15s;
}

.product-card.inview:nth-child(3n+3) {
  transition-delay: 0.3s;
}

/* Product Responsive */
@media screen and (max-width: 767px) {
  .p-products-main {
    background-size: 140%;
    background-position: right -180px top -4px;
  }

  .product-list {
    padding: 40px 0 60px;
  }

  .product-list__inner {
    padding: 0 20px;
  }

  .product-list__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card__body {
    padding: 30px;
  }

  .product-card__arrow {
    width: 32px;
    height: 32px;
    background-color: #fff;
    color: #333;
    border-color: #fff;
  }

  .product-card:hover .product-card__arrow {
    background-color: #D8282B;
    border-color: #D8282B;
    color: #fff;
  }
}

/* ========================================
  Product Detail Page
======================================== */
.p-product-detail-main {
  max-width: none;
  padding: 0;
  background-image: url('../img/product_header-bg.png');
  background-repeat: no-repeat;
  background-position: right 0px top -80px;
  background-size: auto;
}

/* Category Nav */
.category-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.category-nav__list {
  display: flex;
  gap: 40px;
  display: none;
}

.category-nav__item {
  /* flex: 1; */
}

.category-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  position: relative;
  color: #263B44;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  width: fit-content;
}

.category-nav__link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ccc;
}

.category-nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #263B44;
  transition: width 0.3s ease;
}

.category-nav__link:hover::after {
  width: 100%;
}

.category-nav__arrow {
  width: 16px;
  height: 16px;
  margin-left: 16px;
}

/* Product Detail */
.product-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.product-detail__wrap {
  margin-top: 30px;
}

.product-detail__child+.product-detail__child {
  margin-top: 80px;
}

.product-detail__inner {
  background-color: #fff;
  border-top: 1px solid #D8282B;
  padding-bottom: 1px;
}

.product-detail__inner+.product-detail__inner {
  margin-top: 60px;
}

.product-detail__content {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px;
}

.product-detail__text {
  flex: 1;
}

.product-detail__emhead {
  font-size: 35px;
  font-weight: 600;
  color: #263B44;
  margin-bottom: 45px;
}

.product-detail__title {
  font-size: 26px;
  font-weight: 600;
  color: #263B44;
  margin-bottom: 24px;
}

.product-detail__desc {
  font-size: 15px;
  color: #666;
  line-height: 2;
}

.product-detail__img {
  flex-shrink: 0;
  width: 480px;
  border-radius: 8px;
  overflow: hidden;
}

.product-detail__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Gallery */
.gallery {
  background-color: #EAEAEA;
  padding: 60px;
  margin: 0 60px 60px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Gallery Card */
.gallery-card__img {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  aspect-ratio: 340 / 210;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-card__img:hover img {
  transform: scale(1.05);
}

.gallery-card__btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background-color: #D8282B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card__btn-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.gallery-card__btn-icon::before,
.gallery-card__btn-icon::after {
  content: "";
  position: absolute;
  background-color: #fff;
  border-radius: 2px;
}

.gallery-card__btn-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.gallery-card__btn-icon::after {
  width: 2px;
  height: 14px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.gallery-card__desc {
  font-size: 15px;
  color: #333;
  margin-top: 12px;
  line-height: 1.6;
}

/* Gallery card stagger */
.gallery-card.inview:nth-child(3n+2) {
  transition-delay: 0.15s;
}

.gallery-card.inview:nth-child(3n+3) {
  transition-delay: 0.3s;
}

/* Product Detail Responsive */
@media screen and (max-width: 767px) {
  .p-product-detail-main {
    background-size: 140%;
    background-position: right -180px top -4px;
  }

  .category-nav {
    padding: 0 20px 30px;
  }

  .category-nav__list {
    flex-wrap: wrap;
    gap: 16px;
  }

  .category-nav__item {
    /* flex: 0 0 calc(50% - 8px); */
  }

  .product-detail {
    margin: 0 20px;
  }

  .product-detail__wrap {
    margin-top: 60px;
  }

  .product-detail__child+.product-detail__child {
    margin-top: 60px;
  }

  .product-detail__inner+.product-detail__inner {
    margin-top: 40px;
  }


  .product-detail__content {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }

  .product-detail__emhead {
    font-size: 25px;
    font-weight: 600;
    color: #263B44;
    margin-bottom: 25px;
  }

  .product-detail__img {
    width: 100%;
  }

  .product-detail__title {
    font-size: 22px;
  }

  .gallery {
    padding: 30px;
    margin: 0 30px 30px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media screen and (max-width: 480px) {
  .category-nav__item {
    flex: 0 0 100%;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
  Company (About Us) Page
======================================== */
.p-company-main {
  max-width: none;
  padding: 0;
  overflow-x: hidden;
  background-image: url('../img/product_header-bg.png');
  background-repeat: no-repeat;
  background-position: right 0px top -80px;
  background-size: auto;
}

/* Company Header (title + anchor nav) */
.p-company-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.p-company-header__nav {
  display: flex;
  gap: 20px;
}

.p-company-header__nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  position: relative;
  color: #263B44;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  min-width: 120px;
}

.p-company-header__nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ccc;
}

.p-company-header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #263B44;
  transition: width 0.3s ease;
}

.p-company-header__nav-link:hover::after {
  width: 100%;
}

.p-company-header__nav-link svg {
  flex-shrink: 0;
}

/* Company Hero Image */
.p-company-hero {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Philosophy Section */
.p-company-philosophy {
  margin-top: 150px;
  padding-bottom: 0;
  position: relative;
}

.p-company-philosophy__inner {
  position: relative;
}

.p-company-philosophy__img-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 13vw;
  max-width: 200px;
}

.p-company-philosophy__img-left img {
  width: 100%;
  height: auto;
  display: block;
}

.p-company-philosophy__img-right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 17vw;
  max-width: 260px;
}

.p-company-philosophy__img-right img {
  width: 100%;
  height: auto;
  display: block;
}

.p-company-philosophy__body {
  max-width: 540px;
  margin: 0 auto;
  padding: 0 20px;
  width: 60%;
}

@media screen and (min-width: 1041px) {
  .p-company-philosophy__body {
    width: auto;
    padding: 0;
  }
}

/* Philosophy scroll text fill */
.js-scroll-char {
  color: #C8C8C8;
  transition: color 0.15s ease;
}

.js-scroll-char.is-filled {
  color: #263B44;
}

.p-company-philosophy__heading .js-scroll-char.is-filled {
  color: #263B44;
}

.p-company-philosophy__en {
  font-size: 22px;
  font-weight: 700;
  color: #D8282B;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.p-company-philosophy__heading {
  font-size: 35px;
  font-weight: 600;
  color: inherit;
  line-height: 1.6;
  margin-bottom: 40px;
}

.p-company-philosophy__text {
  font-size: 17px;
  color: inherit;
  line-height: 2;
}

.p-company-philosophy__text p {
  margin-bottom: 28px;
}

.p-company-philosophy__text p:last-child {
  margin-bottom: 0;
}

.p-company-philosophy__sign {
  margin-top: 40px;
  font-size: 17px;
  font-weight: 600;
  color: #263B44;
}

/* Company Flowing Text + Illustrations */
.p-company-flowing {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.p-company-flowing__txt {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.p-company-flowing__phase {
  padding: 0 30px;
  font-size: 250px;
  line-height: 1;
  font-weight: 700;
  color: #AA4C4D;
  opacity: 0.05;
  white-space: nowrap;
  backface-visibility: hidden;
  will-change: transform;
  animation: flowing 50s linear infinite;
}

.p-company-flowing__ill01 {
  position: absolute;
  left: 60px;
  bottom: 30px;
  max-width: 192px;
  z-index: 1;
}

.p-company-flowing__ill01 img {
  width: 100%;
  height: auto;
}

.p-company-flowing__ill02 {
  position: absolute;
  right: 80px;
  bottom: 0;
  max-width: 406px;
  z-index: 1;
}

.p-company-flowing__ill02 img {
  width: 100%;
  height: auto;
}

/* Company Overview */
.p-company-overview {
  background-color: #F6F6F7;
  padding: 80px 0 100px;
}

.p-company-overview__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.p-company-overview__head {
  flex-shrink: 0;
  line-height: 1.2;
}

.p-company-overview__en {
  font-size: 22px;
  font-weight: 700;
  color: #D8282B;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.p-company-overview__title {
  font-size: 35px;
  font-weight: 600;
  color: #263B44;
}

.p-company-overview__table {
  width: 624px;
  flex-shrink: 0;
}

.p-company-overview__row {
  display: flex;
  border-bottom: 1px solid #ddd;
  padding: 24px 0;
}

.p-company-overview__row:first-child {
  border-top: 1px solid #ddd;
}

.p-company-overview__row dt {
  width: 140px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  color: #263B44;
}

.p-company-overview__row dd {
  font-size: 15px;
  color: #263B44;
}

/* Company Group */
.p-company-group {
  background-color: #F6F6F7;
  padding: 0 0 100px;
}

.p-company-group__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.p-company-group__en {
  font-size: 22px;
  font-weight: 700;
  color: #D8282B;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.p-company-group__title {
  font-size: 35px;
  font-weight: 600;
  color: #263B44;
  margin-bottom: 40px;
}

.p-company-group__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.p-company-group__card {
  display: block;
  text-decoration: none;
  color: #263B44;
}

.p-company-group__card-img {
  background-color: #fff;
  border-radius: 4px;
  aspect-ratio: 340 / 200;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.p-company-group__head {
  line-height: 1.2;
}

.p-company-group__card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.p-company-group__card-body {
  padding-top: 20px;
}

.p-company-group__card-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.p-company-group__card-address {
  font-size: 14px;
  color: #263B44;
  line-height: 1.6;
  margin-bottom: 16px;
}

.p-company-group__card-link {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media screen and (max-width: 767px) {
  .p-company-main {
    background-size: 140%;
    background-position: right -180px top -4px;
  }


  .p-company-hero {
    height: 300px;
  }

  .p-company-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .p-company-header__nav {
    width: 100%;
  }

  .p-company-header__nav-link {
    flex: 1;
    font-size: 14px;
    min-width: auto;
  }

  .p-company-philosophy {
    margin-top: 80px;
    padding-bottom: 80px;
  }

  .p-company-philosophy__inner {
    display: flex;
    flex-direction: column;
  }

  .p-company-philosophy__body {
    order: 1;
    padding: 0 20px;
    max-width: none;
    width: 100%;
  }

  .p-company-philosophy__img-left {
    position: static;
    order: 2;
    width: 40%;
    margin-top: 40px;
  }

  .p-company-philosophy__img-right {
    position: static;
    order: 3;
    width: 45%;
    margin-left: auto;
    margin-top: 20px;
  }

  .p-company-philosophy__heading {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .p-company-philosophy__text {
    font-size: 15px;
  }

  .p-company-philosophy__sign {
    font-size: 15px;
  }

  .p-company-flowing {
    padding: 50px 0;
  }

  .p-company-flowing__phase {
    font-size: 250px;
  }

  .p-company-flowing__ill01 {
    left: 20px;
    max-width: 160px;
  }

  .p-company-flowing__ill02 {
    right: 20px;
    max-width: 240px;
    bottom: 110px;
  }

  .p-company-overview {
    padding: 60px 20px 80px;
  }

  .p-company-overview__inner {
    flex-direction: column;
    gap: 30px;
  }

  .p-company-overview__table {
    width: 100%;
  }

  .p-company-overview__title {
    font-size: 26px;
  }

  .p-company-overview__row {
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
  }

  .p-company-overview__row dt {
    width: auto;
  }

  .p-company-group {
    padding: 0 20px 80px;
  }

  .p-company-group__title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .p-company-group__list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ========================================
  Contact Page
======================================== */
.p-contact-main {
  max-width: none;
  padding: 0;
  background-image: url('../img/product_header-bg.png');
  background-repeat: no-repeat;
  background-position: right 0px top -80px;
  background-size: auto;
}

.p-contact-lead {
  padding: 0 0 60px;
}

.p-contact-lead__inner {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2;
  color: #263B44;
}

/* Contact Form */
.p-contact-form {
  padding: 0 0 120px;
}

.p-contact-form__inner {
  max-width: 910px;
  margin: 0 auto;
  background: #fff;
  padding: 60px 80px;
}

.p-contact-form__group {
  padding: 40px 0;
  border-bottom: 1px solid #ddd;
}

.p-contact-form__group:first-child {
  padding-top: 0;
}

.p-contact-form__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.p-contact-form__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #D8282B;
  border: 1.5px solid #D8282B;
  border-radius: 50px;
  line-height: 1;
}

.p-contact-form__label-text {
  font-size: 18px;
  font-weight: 600;
  color: #263B44;
}

.p-contact-form__input {
  display: block;
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
  color: #263B44;
  background: #fff;
  border: 1px solid #C7C7C7;
  border-radius: 0;
  outline: none;
  font-family: inherit;
}

.p-contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Accordion (折りたたみ) */
.p-contact-form__group--accordion {
  background: #F6F6F7;
  padding: 30px 30px;
  margin-top: 40px;
  border-bottom: none;
}

.p-contact-form__accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.p-contact-form__accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  transform: rotate(180deg);
}

.p-contact-form__accordion-header.is-open .p-contact-form__accordion-icon {
  transform: rotate(0deg);
}

.p-contact-form__accordion-body {
  display: none;
  padding-top: 20px;
}

/* Submit Area */
.p-contact-form__submit-area {
  padding-top: 20px;
  text-align: center;
}

.p-contact-form__agree {
  font-size: 15px;
  color: #263B44;
  margin-bottom: 30px;
}

.p-contact-form__agree a {
  color: #D8282B;
  text-decoration: underline;
}

.p-contact-form__submit {
  display: block;
  width: 338px;
  height: 70px;
  margin: 0 auto 30px;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: #C7C7C7;
  border: none;
  border-radius: 100px;
  cursor: not-allowed;
  transition: background 0.3s ease;
}

.p-contact-form__submit.is-active {
  background: #D8282B;
  cursor: pointer;
}

.p-contact-form__submit.is-active:hover {
  opacity: 0.8;
}

.p-contact-form__back {
  display: block;
  width: 338px;
  height: 70px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: #C7C7C7;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.p-contact-form__back.is-active:hover {
  opacity: 0.8;
}

.p-contact-form__recaptcha {
  font-size: 11px;
  color: #888;
  line-height: 1.8;
}

.p-contact-form__recaptcha a {
  color: #D8282B;
  text-decoration: underline;
}

.p-contact-form__input:focus {
  outline: 2px solid #D8282B;
}

.p-contact-form__radios {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-contact-form__radio,
.p-contact-form__radios .mwform-radio-field label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  color: #263B44;
}

.p-contact-form__radio input[type="radio"],
.p-contact-form__radios .mwform-radio-field input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.p-contact-form__radio input[type="radio"]:checked,
.p-contact-form__radios .mwform-radio-field input[type="radio"]:checked {
  border-color: #D8282B;
}

.p-contact-form__radio input[type="radio"]:checked::after,
.p-contact-form__radios .mwform-radio-field input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #D8282B;
  border-radius: 50%;
}

.mw_wp_form .horizontal-item+.horizontal-item {
  margin-left: 0 !important;
}

.p-contact-form__submit__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

@media screen and (max-width: 767px) {
  .p-contact-main {
    background-size: 140%;
    background-position: right -180px top -4px;
  }

  .p-contact-lead__inner {
    padding: 0 20px;
  }

  .p-contact-form {
    padding: 0 20px 80px;
  }

  .p-contact-form__inner {
    padding: 40px 30px;
  }

  .p-contact-form__label-text {
    font-size: 16px;
  }

  .p-contact-form__input {
    padding: 9px 20px;
  }

  .p-contact-form__submit,
  .p-contact-form__back {
    width: 100%;
    font-size: 16px;
    height: 60px;
  }

  .p-contact-form__submit__btn {
    flex-direction: column;
  }
}



/* プライバシーポリシー用 */
.p-privacy-main {
  max-width: none;
  padding: 0;
  background-image: url('../img/product_header-bg.png');
  background-repeat: no-repeat;
  background-position: right 0px top -80px;
  background-size: auto;
}

.p-privacy-body {
  padding: 0 0 120px;
}

.p-privacy-body__inner {
  max-width: 910px;
  margin: 0 auto;
  background: #fff;
  padding: 60px 80px;
}

.p-privacy-body__heading {
  font-size: 22px;
  font-weight: 600;
  color: #263B44;
  padding-bottom: 16px;
  border-bottom: 2px solid #D8282B;
  margin-bottom: 24px;
}

.p-privacy-body__heading:not(:first-child) {
  margin-top: 60px;
}

.p-privacy-body__text {
  font-size: 15px;
  color: #263B44;
  line-height: 2;
  margin-bottom: 20px;
}

.p-privacy-body__list {
  counter-reset: privacy-item;
  list-style: none;
  padding: 0;
}

.p-privacy-body__list>li {
  position: relative;
  padding-left: 2.5em;
  font-size: 15px;
  color: #263B44;
  line-height: 2;
  margin-bottom: 20px;
}

.p-privacy-body__list>li:last-child {
  margin-bottom: 0;
}

.p-privacy-body__list>li::before {
  counter-increment: privacy-item;
  content: "（"counter(privacy-item) "）";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
}

.p-privacy-body__sublist {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.p-privacy-body__sublist>li {
  position: relative;
  padding-left: 1.2em;
  font-size: 15px;
  color: #263B44;
  line-height: 2;
  margin-bottom: 4px;
}

.p-privacy-body__sublist>li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.p-privacy-body__note {
  margin-top: 20px;
  padding: 30px;
  border: solid 1px #F6F6F7;
}

.p-privacy-body__note-head {
  font-size: 16px;
  font-weight: 600;
  color: #263B44;
  margin-bottom: 12px;
}

.p-privacy-body__note p {
  font-size: 15px;
  color: #263B44;
  line-height: 2;
}

.p-privacy-body__address {
  margin: 16px 0;
  padding: 20px 24px;
  background: #F6F6F7;
}

.p-privacy-body__address p {
  font-weight: 600;
  line-height: 1.8;
}

@media screen and (max-width: 767px) {
  .p-privacy-main {
    background-size: 140%;
    background-position: right -180px top -4px;
  }

  .p-privacy-body {
    padding: 0 20px 80px;
  }

  .p-privacy-body__inner {
    padding: 40px 30px;
  }

  .p-privacy-body__heading {
    font-size: 18px;
  }

  .p-privacy-body__heading:not(:first-child) {
    margin-top: 40px;
  }
}