@charset "UTF-8";

/* ==== color ========================== */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray: #727272;
  --t2Xx-red: #C7000B;


  --noto: "Noto Sans JP", sans-serif;
  --inter: "Inter", sans-serif;
  --header: 1rem;
  scroll-padding: var(--header);
}

@media screen and (max-width:767px) {
  :root {
    --header: 6rem;
    scroll-padding: var(--header);
  }

}

/*================================================
 *  一般・共通設定
 ================================================*/
html {
  /* font-size: 62.5%; */
  font-size: clamp(8px, 0.66138vw, 10px);
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  /* font-size: 2rem; */
  line-height: 1.5;
  /* font-size: clamp(1rem, 1.953vw, 2rem); */
  background: var(--color-white);
  color: var(--color-black);
}

main {
  overflow-x: hidden;
}

.wrap {
  /* 1180px */
  max-width: 1220px;
  /* width: 122rem; */
  margin: 0 auto;
  padding: 0 20px;
}


p,
a,
ul,
ol,
dl {
  font-size: 2rem;
}

a {
  text-decoration: none;
  transition: all .4s;
}

a:hover {
  opacity: 1;
}

img {
  max-width: 100%;

  display: block;
}

strong {
  font-weight: bold;
}

small {
  font-size: smaller;
}

ul,
ol,
dl {
  margin: 0;
}

ul li {
  list-style: none;
}

ol li {
  list-style: decimal;
}

li {
  margin-left: 0;
}

/* タイトル */
h2.hd {
  color: var(--color-gray);
  font-size: 2.6rem;
  font-weight: 300;
  padding-top: 14.5rem;
  position: relative;
  margin-bottom: 5rem;
}

h2.hd span {
  /* display: inline-block; */
  color: var(--t2Xx-red);
  font-family: var(--inter);
  font-size: 4.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h2.hd::before {
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../images/hd_line.png);
  width: 33.6rem;
  height: 32.5rem;
  top: 0;
  left: -17rem;
  z-index: -1;

  width: 0;
  overflow: hidden;
  transition: width .6s ease;
  transition-delay: 0.2s;
}


h2.hd.on::before {
  width: 33.6rem;
  height: 32.5rem;
}


@media screen and (max-width:767px) {
  html {
    /* 393px>> 10px */
    /* font-size: 2.544529vw; */
    font-size: 10px;
  }

  .wrap {
    /* width: 33.3rem; */
    width: 100%;
    padding: 0 1.5rem;
  }

  p,
  a,
  ul,
  ol,
  dl {
    font-size: 1.7rem;
  }

  h2.hd {
    font-size: 2rem;
    padding-top: 5.5rem;
    margin-bottom: 3rem;
  }

  h2.hd span {
    font-size: 3.2rem;
  }

  h2.hd::before {
    background-image: url(../images/hd_line_sp.png);
    width: 0;
    height: 12.7rem;
    top: 0;
    left: -3rem;
  }


  h2.hd.on::before {
    width: 13.6rem;
    height: 12.7rem;
  }
}

/*================================================
 *  section btn
 ================================================*/
section {
  position: relative;
  padding-bottom: 3rem;
}

.btnArea a {
  background: var(--t2Xx-red);
  color: var(--color-white);
  display: grid;
  place-content: center;
  width: 30rem;
  height: 7rem;
  color: var(--color-white);
  font-size: 2rem;
  transition: .4s;
  margin: 4rem auto 0;
}

.btnArea a:hover {
  background: #91161C;
}


@media screen and (max-width:767px) {

  .btnArea a {
    width: 100%;
    max-width: 300px;
  }
}

/*================================================
 *  header / ヘッダー
 ================================================*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--t2Xx-red);

  min-height: 10rem;
  display: flex;
  align-items: center;
}

.nav__inner {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  flex-wrap: nowrap;
}

.nav__left {
  width: 22.7rem;
}

.nav__right {
  width: calc(100% - 22.7rem);
}

.nav__right .nav__menu {
  flex-wrap: nowrap;
}

.nav__right .nav__menu li:not(:last-child) {
  margin-right: 5.2%;
}

.nav__right .nav__menu li a {
  position: relative;
}

.nav__right .nav__menu li a span {
  transition: .4s;
}

.nav__right .nav__menu li a .ja {
  font-size: 2rem;
  color: var(--color-white);
}

.nav__right .nav__menu li a .en {
  font-size: 1.8rem;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--inter);
  font-weight: 600;
}

.nav__right .nav__menu li a:hover .en {
  opacity: 1;
}

.nav__right .nav__menu li a:hover .ja {
  opacity: 0;
}


@media screen and (max-width:767px) {
  header {
    min-height: 8rem;
    padding: 0;
  }

  .nav__left {
    width: 14.6rem;
  }


  .nav__right {
    padding: 0;
  }

  .hamburger {
    position: absolute;
    right: 0;
    top: 0;
    width: 10rem;
    height: 10rem;
    cursor: pointer;
    z-index: 300;
    transition: all .1s ease-out;
  }

  .open_nav .hamburger::after {
    opacity: 0;
  }

  /* line open */
  .hamburger__line {
    position: absolute;
    left: 50%;
    width: 52%;
    height: 0.2rem;
    background-color: var(--color-white);
    transition: all .4s ease-out;
    transform: translateX(-50%);
  }

  .hamburger__line--1 {
    top: 30%;
  }

  .hamburger__line--2 {
    top: 40%;
  }

  .hamburger__line--3 {
    top: 50%;
  }

  /* line close */
  .open_nav .hamburger__line--1 {
    transform: translateX(-50%) rotate(35deg);
    top: 50%;
  }

  .open_nav .hamburger__line--2 {
    width: 0;
    left: 50%;
  }

  .open_nav .hamburger__line--3 {
    transform: translateX(-50%) rotate(-35deg);
    top: 50%;
  }

  /* ハンバーガーメニュー内 */
  nav.global__nav {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: var(--t2Xx-red);
    transition: all .3s ease-out;
    z-index: 200;
    overflow-y: scroll;
    padding: 7.4rem 3rem;
    opacity: 0;
    pointer-events: none;
  }

  /* 表示 */
  .open_nav .global__nav {
    opacity: 1;
    pointer-events: fill;
  }

  nav.gnav.global__nav ul {
    display: block;
    position: relative;
  }

  .nav__right .nav__menu li:not(:last-child) {
    margin: 0 0 3.5rem 0;
  }

  .nav__right .nav__menu li a .ja {
    font-size: 2rem;
    color: var(--color-white);
    font-weight: 300;
  }

  .nav__right .nav__menu li a .en {
    font-size: 3.2rem;
    opacity: 1;
    position: static;
    transform: translate(0, 0);
    display: block;
  }

  .nav__right .nav__menu li a:hover .en {
    opacity: 1;
  }

  .nav__right .nav__menu li a:hover .ja {
    opacity: 1;
  }

}

/*================================================
 *  mainVisual
 ================================================*/
#mainVisual {
  margin-top: 10rem;
}

@media screen and (max-width:767px) {
  #mainVisual {
    margin-top: 8rem;
  }
}


/*================================================
* philosophy
================================================*/
#philosophy {
  padding-top: 0rem;
  scroll-margin: -3rem;
}

#philosophy::before {
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../images/philosophy_bg.png);
  width: 62.2rem;
  height: 111.6rem;
  top: 0;
  right: 0;
  z-index: -1;
}

#philosophy h2 {
  margin-bottom: 0;
}

.philosophy_logo {
  width: 14.3rem;
  margin: 0 auto 2.5rem;
}

#philosophy h3 {
  font-size: 5.8rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  text-align: center;
  line-height: 1.5;
}

#philosophy h3 span {
  display: block;
  font-family: var(--inter);
  color: var(--t2Xx-red);
  font-size: 7.6rem;
  font-weight: 500;
}


#philosophy p {
  font-size: 2.2rem;
  text-align: center;
  font-weight: bold;
}

@media screen and (max-width:767px) {
  #philosophy {
    padding-top: 0;
    scroll-margin: 0;
  }

  #philosophy::before {
    background-image: url(../images/philosophy_bg_sp.png);
    width: 20.5rem;
    height: 41.8rem;
  }

  #philosophy h2 {
    margin-bottom: 3rem;
  }

  #philosophy h3 {
    font-size: 4rem;
  }

  #philosophy h3 span {
    font-size: 4.6rem;
  }

  #philosophy p {
    font-size: 1.6rem;
  }
}


/*================================================
*service
================================================*/
.service_list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service_item {
  width: 22.4%;
  min-width: 170px;
  background: var(--t2Xx-red);
  aspect-ratio: 1/1;
  color: var(--color-white);
  display: grid;
  place-content: center;
  font-weight: bold;
  padding: 0 2rem;
  text-align: center;
}

.service_item:nth-of-type(2) {
  transition-delay: 0.2s;
}

.service_item:nth-of-type(3) {
  transition-delay: 0.3s;
}

.service_item:nth-of-type(4) {
  transition-delay: 0.4s;
}

@media screen and (max-width:767px) {
  .service_list {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .service_item {
    width: calc(50% - 0.5rem);
    min-width: unset;
    padding: 0 1rem;
  }

  .service_item:nth-of-type(2) {
    transition-delay: 0.2s;
  }

  .service_item:nth-of-type(3) {
    transition-delay: 0s;
  }

  .service_item:nth-of-type(4) {
    transition-delay: 0.2s;
  }
}

/*================================================
*  message
================================================*/
#message p {
  text-align: center;
  margin-top: 4.5rem;
  font-weight: 400;
}


@media screen and (max-width:767px) {

  #message p {
    margin-top: 3rem;
  }
}

/*================================================
* Company
================================================*/
#company {
  z-index: 1;
}

#company::before {
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../images/company_bg.png);
  width: 35.4rem;
  height: 105rem;
  top: 30rem;
  left: 0;
  z-index: -2;
}

#company .inner {
  max-width: 84rem;
  margin: 0 auto;
}

#company dl {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1.5rem;
}

#company dl dt {
  width: 22rem;
  text-align: center;
  color: var(--t2Xx-red);
  border-bottom: 1px solid var(--t2Xx-red);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

#company dl dd {
  width: calc(100% - 23.5rem);
  border-bottom: 1px solid var(--t2Xx-red);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

#company iframe {
  display: block;
  width: 100%;
  height: 21rem;
  margin-top: 4rem;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

@media screen and (max-width:767px) {
  #company::before {
    width: 14rem;
    height: 41.5rem;
    top: 18rem;
    opacity: 0.6;
  }


  #company dl dt {
    width: 10rem;
  }

  #company dl dd {
    width: calc(100% - 11.5rem);
  }
}

/*================================================
* contact
================================================*/
#contact {
  z-index: 2;
}

#contact .bg {
  background: #C6C6C6;
  padding: 5rem 0 5rem;
}

.form_txt {
  color: var(--color-white);
  width: 84rem;
  margin: 0 auto;
  font-size: 1.8rem;
}

.form_wrap {
  width: 84rem;
  margin: 0 auto;
}

.form_wrap li {
  margin-top: 4.5rem;
}

.form_wrap li p {
  margin-bottom: 1rem;
  color: var(--color-white);
}

.form_wrap .half {
  display: flex;
  gap: 6rem
}

.form_wrap .half>div {
  width: 100%;
}

.form_wrap input,
.form_wrap textarea {
  display: block;
  width: 100%;
  background: var(--color-white);
  border-radius: 0.8rem;
  height: 6rem;
  padding: 0 1rem;
  font-size: 1.8rem;
}

.form_wrap textarea {
  height: 19.3rem;
  padding: 1rem;
}

.form_wrap sup {
  font-size: 1em;
  color: var(--t2Xx-red);
  margin-left: 0.5rem;
}

.policy {
  width: 84rem;
  margin: 4rem auto;
  padding: 0.5rem 2rem 2rem 2rem;
  border: 1px solid var(--color-line);
  height: 20rem;
  overflow: scroll;
  border: 1px solid #C6C6C6;
  border-radius: 0.8rem;
}

.policy p {
  font-size: 1.6rem;
  margin-top: 2rem;
}

.form_outer .submitBtn {
  background: var(--t2Xx-red);
  color: var(--color-white);
  display: grid;
  place-content: center;
  width: 30rem;
  height: 7rem;
  color: var(--color-white);
  font-size: 2rem;
  transition: .4s;
  margin: 4rem auto 0;
}

.form_outer .submitBtn:hover {
  background: #91161C;
}

.policy_check {
  font-size: 2rem;
  text-align: center;
}

.policy_check label {
  cursor: pointer;
}

.policy_check input {
  display: inline-block;
  width: 2rem;
  height: 2rem;
}

@media screen and (max-width:767px) {
  .form_wrap {
    /* width: 33.3rem;
    margin: 0 auto; */
    width: 100%;
    padding: 0 1.5rem;
  }

  .form_txt {
    width: 100%;
    padding: 0 1.5rem;
  }

  .policy {
    /* width: 33.3rem; */
    width: calc(100% - 3rem);
    /* padding: 0 1.5rem; */
  }

  .form_wrap .half {
    display: block;
    gap: 0;
  }

  .form_wrap .half>div:first-of-type {
    margin-bottom: 1rem;
  }

  .policy_check {
    font-size: 1.6rem;
  }

  .policy p {
    font-size: 1.2rem;
    margin-top: 2rem;
  }
}

/*================================================
* thanks
================================================*/
#thanks {
  text-align: center;
  padding-top: 1;
}


#thanks h2::before {
  content: none;
}

#thanks h2 span.typing {
  justify-content: center;
}

@media screen and (max-width:767px) {}


/*================================================
 *  footer
 ================================================*/
footer {
  background: var(--t2Xx-red);
  padding: 10rem 0 3rem;
  margin-top: 6rem;
}

footer h1 {
  width: 22.7rem;
  margin: 0 auto 3rem;
}

footer ul {
  gap: 5rem;
}

footer ul li a {
  color: var(--color-white);
}

footer .copy {
  text-align: center;
  color: var(--color-white);
  font-size: 1.2rem;
  margin: 6rem 0 0;
}

@media screen and (max-width:767px) {
  footer ul {
    gap: 2rem;
  }

  footer ul.flex li {
    text-align: center;
    width: 100%;
  }
}



/*================================================
 *  ani
 ================================================*/
/* fadeup */
.fadeup {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fadeup.on {
  opacity: 1;
  transform: translateY(0px);
}


.typing {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
}

.typing span {
  opacity: 0;
  display: inline-block;
}

.in_ani.on .typing span {
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}



.delay02 {
  transition-delay: 0.2s;
}

.delay03 {
  transition-delay: 0.3s;
}

.delay04 {
  transition-delay: 0.4s;
}