@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*--Link------------------------------------------------------------*/
a:hover, a:active { text-decoration: none; }
a:focus { outline: none; }

._hover {
    transition: opacity 0.3s linear;
    opacity: 1;
}
._hover:hover {
    opacity: 0.7;
}

/*--style----------------------------------------------------------*/
.w_txt { font-weight: 700; }
.t_center { text-align: center; }
.t_right { text-align: right; }

/*--header----------------------------------------------------------*/
header .container_head {
  position: fixed;
  justify-content: space-between;
  align-items: center;
  z-index: 8;
  left: 50%;
  transform: translateX(-50%);
  padding: .15rem 0;
}

header h1 img { max-width: 80%; }


/*--.menu----------------------------------------------------------*/
.button_wrap {
  position: relative;
}
.button_container {
  position: relative;
  height: .8rem;
  width: .8rem;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.25s ease;
  background-color: rgb(255 255 255 / .75);
  border-radius: 50%;
}
.button_container:hover {
  opacity: 0.7;
}
.button_container span {
  background: var(--blue);
  border: none;
  height: 4px;
  width: 60%;
  position: absolute;
  left: 20%;
  transition: all 0.5s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(1) { top: .28rem; }
.button_container span:nth-of-type(2) { top: .48rem; }
.button_container.active span {
  width: 60%;
  left: 20%;
}

.button_container.active span:nth-of-type(1) { top: .2rem; }
.button_container.active span:nth-of-type(2) { top: .6rem; }

.button_container span:nth-of-type(1) {
  -webkit-animation: btn07-bar01 .75s forwards;
  animation: btn07-bar01 .75s forwards;
}
@-webkit-keyframes btn07-bar01 {
  0% { -webkit-transform: translateY(.2rem) rotate(45deg); }
  50% { -webkit-transform: translateY(.2rem) rotate(0); }
  100% { -webkit-transform: translateY(0) rotate(0); }
}
@keyframes btn07-bar01 {
  0% { transform: translateY(.2rem) rotate(45deg); }
  50% { transform: translateY(.2rem) rotate(0); }
  100% { transform: translateY(0) rotate(0); }
}

.button_container span:nth-of-type(2) {
  -webkit-animation: btn07-bar03 .75s forwards;
  animation: btn07-bar03 .75s forwards;
}
@-webkit-keyframes btn07-bar03 {
  0% { -webkit-transform: translateY(-.2rem) rotate(-45deg); }
  50% { -webkit-transform: translateY(-.2rem) rotate(0); }
  100% { -webkit-transform: translateY(0) rotate(0); }
}
@keyframes btn07-bar03 {
  0% { transform: translateY(-.2rem) rotate(-45deg); }
  50% { transform: translateY(-.2rem) rotate(0); }
  100% { transform: translateY(0) rotate(0); }
}

.button_container.active span:nth-of-type(1) {
  -webkit-animation: active-btn07-bar01 .75s forwards;
  animation: active-btn07-bar01 .75s forwards;
}
@-webkit-keyframes active-btn07-bar01 {
  0% { -webkit-transform: translateY(0) rotate(0); }
  50% { -webkit-transform: translateY(.2rem) rotate(0); }
  100% { -webkit-transform: translateY(.2rem) rotate(45deg); }
}
@keyframes active-btn07-bar01 {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(.2rem) rotate(0); }
  100% { transform: translateY(.2rem) rotate(30deg); }
}

.button_container.active span:nth-of-type(2) {
  -webkit-animation: active-btn07-bar03 .75s forwards;
  animation: active-btn07-bar03 .75s forwards;
}
@-webkit-keyframes active-btn07-bar03 {
  0% { -webkit-transform: translateY(0) rotate(0); }
  50% { -webkit-transform: translateY(-.2rem) rotate(0); }
  100% { -webkit-transform: translateY(-.2rem) rotate(-45deg); }
}
@keyframes active-btn07-bar03 {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-.2rem) rotate(0); }
  100% { transform: translateY(-.2rem) rotate(-30deg); }
}

/* 背景の半透明レイヤー */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9;
}
.overlay.active {
  opacity: 1;
  pointer-events: auto; /* active時だけクリック可能 */
}

/* サイドメニュー */
#gloval-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 4.2rem;
  height: 100%;
  background: var(--blue);
  box-shadow: -2px 0 6px rgba(0,0,0,0.2);
  transform: translateX(100%); /* 初期は右に隠す */
  transition: transform 0.3s ease-in-out;
  z-index: 10;
  padding: .1rem .2rem;
}
#gloval-nav.open {
  transform: translateX(0); /* 表示状態 */
}

#gloval-nav ul {
  list-style: none;
  margin-top: .8rem;
}
#gloval-nav li {
  margin-bottom: .6rem;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.3s ease;
  font-size: var(--stacksize_M);
  line-height: 1;
}
#gloval-nav li a {
  color: var(--white);
  font-weight: 600;
}
#gloval-nav.open li {
  opacity: 1;
  transform: translateX(0);
}

/* リスト項目アニメーション */
#gloval-nav li {
  opacity: 0;
  transform: translateX(30px);
}

/* 開いた時の順番フェードイン */
#gloval-nav.open li:nth-of-type(1) {
  transition: all 0.3s ease 0.1s;
  opacity: 1;
  transform: translateX(0);
}
#gloval-nav.open li:nth-of-type(2) {
  transition: all 0.3s ease 0.2s;
  opacity: 1;
  transform: translateX(0);
}
#gloval-nav.open li:nth-of-type(3) {
  transition: all 0.3s ease 0.3s;
  opacity: 1;
  transform: translateX(0);
}
#gloval-nav.open li:nth-of-type(4) {
  transition: all 0.3s ease 0.4s;
  opacity: 1;
  transform: translateX(0);
}

/* 閉じるときも順番にスライドアウト */
#gloval-nav li {
  transition: all 0.3s ease;
}
#gloval-nav li:not(.open) {
  opacity: 0;
  transform: translateX(30px);
}

/*--Retina------------------------------------------------------------*/
@media screen and (max-width: 768px) {
}


/*--mv----------------------------------------------------------*/
#mv {
  background: url("../img/mv_bg.png") no-repeat center;
  background-size: cover;
  height: 100vh;
}

.mv_scroll {
  position: absolute;
  left: 50%;
  bottom: 15vh;
}
.mv_scroll > a {
  padding-left: 10px;
  border-left: 1px solid #fff;
  height: 80px;
  display: inline-block;
}
.mv_scroll > a img {
  animation: scroll 2.5s ease-in-out infinite;
  position: relative;
}

@keyframes scroll {
  0% {
    top: 0px;
  }
  50% {
    top: 10px;
  }
  100% {
    top: 0px;
  }
}

@media screen and (max-width: 768px) {
  #mv {
    background: url("../img/mv_bg_sp.png") no-repeat center;
  }
  .mv_scroll {
    margin-top: 10vh;
  }
  .mv_scroll > a {
    padding-left: 5px;
    height: 60px;
  }
  .mv_scroll > a img {
    height: 10vw;
  }
}


/*--main----------------------------------------------------------*/
#contents .container_big {
  padding: .8rem 0;
}

.sec_ttl {
  font-size: var(--stacksize_LL);
  font-weight: 800;
  color: var(--blue);
  font-family: 'Roboto', sans-serif;
  line-height: 1;
}
.sec_ttl span {
  font-size: var(--stacksize_txt);
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  display: block;
}

.sec_lead {
  font-size: var(--stacksize_L);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.4;
}
.sec_ttl + .sec_lead {
  margin-top: .4rem;
}

#contents .container_big > p {
  font-size: var(--stacksize_txt);
  margin-top: .4rem;
}

@media screen and (max-width: 768px) {
  .sec_lead {
    font-size: var(--stacksize_M);
  }
}

/*--#philosophy-----------------------------------------------------*/
#philosophy {
  background-color: var(--gray);
}

/*--#company-----------------------------------------------------*/
#company {
  background: url("../img/company_bg.png") no-repeat center;
  background-size: cover;
}

.list_company {
  width: 100%;
  font-size: var(--stacksize_txt);
  margin-top: .4rem;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  font-weight: 600;
}
.list_company tr {
  display: block;
  border-top: 1px solid rgb(0 91 172 / .2);
}
.list_company th {
  width: 1.6rem;
  padding: .2rem .4rem;
  color: var(--blue);
  text-align: left;
}
.list_company td {
  padding: .2rem .4rem;
  text-align: left;
}

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


/*--#business-----------------------------------------------------*/
#business {
  background-color: var(--gray);
}

.list_img {
  flex-wrap: wrap;
}

.list_img li {
  text-align: center;
  width: 22%;
  margin: .4rem 0 0 4%;
}
.list_img li:nth-of-type(4n+1) {
  margin-left: 0;
}
.list_img li p {
  margin-top: .2rem;
}

@media screen and (max-width: 768px) {
  .list_img li {
    width: 47.5%;
    margin: .4rem 0 0 5%;
  }
  .list_img li:nth-of-type(2n+1) {
    margin-left: 0;
  }
}


/*--#contact-----------------------------------------------------*/
#contact {
  background-color: var(--blue);
  color: var(--white);
}

#contact .sec_ttl {
  color: var(--white);
}

.list_contact {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 .1rem;
  font-family: 'Roboto', sans-serif;
  margin: .3rem 0;;
}

.list_contact th, .list_contact td {
  text-align: left;
  border: 1px solid var(--white);
  padding: .3rem;
}
.list_contact tr:last-of-type th {
  vertical-align: text-top;
}
.list_contact td {
  color: var(--black);
  background-color: var(--white);
}

.list_contact input, .list_contact select,
.list_contact textarea {
  color: var(--black);
  background-color: var(--white);
  border: none;
  width: 100%;
  outline: none;
}
.list_contact td span:last-of-type {
  margin-left: .2rem;
}
.list_contact input.name_area {
  width: 44.5%;
}

.list_contact .select_area {
  position: relative;
}
.list_contact select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.list_contact .select_area::before {
  position: absolute;
  top: .05em;
  right: 0;
  width: 0;
  height: 0;
  border-width: .2rem .12rem 0 .12rem;
  border-style: solid;
  border-color: var(--blue) transparent transparent transparent;
  content: " ";
  pointer-events: none;
}

#contact p.t_center {
  font-size: var(--stacksize_S);
}
#contact p.t_center:nth-of-type(2) {
  margin-top: .3rem;
}
#contact p.t_center a {
  text-decoration: underline;
}

#contact input[type="checkbox"] {
  position: relative;
  width: .16rem;
  height: .16rem;
  margin-right: .1rem;
  border: 1px solid var(--white);
  vertical-align: -.05rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

#contact input[type="checkbox"]:checked:before {
  position: absolute;
  top: 0;
  left: .04rem;
  transform: rotate(50deg);
  width: .04rem;
  height: .1rem;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  content: '';
}

.btn_submit {
  text-align: center;
  margin-top: .3rem;
}
#contact input[type="submit"]:disabled {
  cursor: auto;
  opacity: .5;
}
#contact input[type="submit"] {
  width: 100%;
  padding: .4rem;
  margin-top: .2rem;
  font-size: var(--stacksize_M);
  background-color: var(--white);
  color: var(--blue);
  font-weight: 600;
  border: solid 1px var(--blue);
  position: relative;
  display: inline-block;
  box-shadow: 0 0 0 .05rem var(--white);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

@media screen and (max-width: 768px) {
  .list_contact th, .list_contact td {
    display: inline-block;
    width: 100%;
    float: left;
  }
  .list_contact input.name_area {
    width: calc(100% - 1.5em);
  }
  .list_contact td span:last-of-type {
    margin: .1rem 0 0 0;
    display: block;
  }
}

/*--#privacypolicy-----------------------------------------------------*/
#supage_head {
  background: url("../img/privacypolicy_bg.png") no-repeat center;
  background-size: cover;
}
#contents #supage_head .container_big {
  padding: 2rem 0 .8rem;
}

#pp_txt {
  background-color: var(--gray);
}
#pp_txt p:first-of-type {
  margin-top: 0;
}

.pp_list {
  font-size: var(--stacksize_txt);
}

.pp_list dt {
  font-weight: 600;
  margin-top: .4rem;
}

/*--footer----------------------------------------------------------*/
footer {
  text-align: center;
  background-color: var(--gray);
  padding: .4rem 0;
}

footer small {
  color: var(--blue);
  font-size: var(--stacksize_S);
  font-weight: 600;
}

/*--animation -----------------------------------------------------*/

/* フェードイン */
.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity:0;
}
@keyframes fadeInAnime{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
