@charset "utf-8";

h3+p {
  /*max-width:36%;*/
  margin: 0 auto;
  text-align: center;
}

h3 {
  font-size: 2.6vw;
  text-align: center;
  margin-bottom: 5px;
  font-family: 'Mitr', sans-serif;
}

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

  h3 {
    font-size: 2.4rem;
  }

  h3+p {
    max-width: 100%;
  }
}

/* Opening
-----------------------------------------*/
.Opening {
  position: relative;
  background-color: #FFF;
}

.Opening ul li {
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
}

.Opening ul li img.Opening__text {
  position: absolute;
  top: 50%;
  left: 340px;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  z-index: 0;
}

.Opening ul li span img.Opening__img {
  max-width: inherit;
  width: 100%;
  height: auto;
}

/* 動画 */

.movie-pc {
  position: absolute;
  left: -70px;
  bottom: 5%;
  padding: 15px 60px;
  transform: skew(-30deg);
  -webkit-transform: skew(-30deg);
  -moz-transform: skew(-30deg);
  -o-transform: skew(-30deg);
  background-color: rgba(2, 50, 125, 0.7);
}

.movie-pc .movie-pc_inner {
  transform: skew(30deg);
  -webkit-transform: skew(30deg);
  -moz-transform: skew(30deg);
  -o-transform: skew(30deg);
}

.movie-pc .movie-pic {
  float: left;
  margin-left: 25px;
  background: #FFF;
}

.movie-pc .movie-pic a img {
  -webkit-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;
  border: 1px solid #FFF;
  background: #FFF;
}

.movie-pc .movie-pic a:hover img {
  opacity: 0.8;
}

.movie-pc .movie-txt {
  float: right;
  margin: 7px 15px 0px;
}

.movie-pc .movie-txt:hover {
  opacity: 0.8;
}

.movie-pc .movie-txt img {
  margin-bottom: 7px;
}

.movie-pc .movie-txt a {
  font-size: 13px;
  color: #ffffff;
  line-height: 1.5px;
}

.movie-sp {
  display: none;
}

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

  .movie-sp {
    display: block;
    width: 120px;
    position: absolute;
    left: 3%;
    bottom: 100px;
  }

  .movie-pc {
    display: none;
  }

}

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

  .movie-sp {
    left: 15px;
    bottom: 85px;
  }

}

/* スクロールを促すカーソル */

.Opening .triangle {
  position: absolute;
  left: 50%;
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
}


.Opening .triangle:nth-of-type(1) {
  bottom: 50px;
  border-top: 15px solid #a23e9b;
}

.Opening .triangle:nth-of-type(2) {
  bottom: 35px;
  border-top: 15px solid #47a42c;
}

.Opening .triangle:nth-of-type(3) {
  bottom: 20px;
  border-top: 15px solid #f4901e;
}


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


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

  .Opening ul li img.Opening__text {
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
  }

}

/* concept
-----------------------------------------*/
#concept {
  background: url(../img/index/concept_bg.png) repeat;
}

#concept .wrap {
  padding-bottom: 12vw;
}


#concept h3 {
  position: absolute;
  top: 7%;
  left: 7%;
  text-align: left;
  color: #004e90;
  font-weight: bold;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

#concept p {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 60%;
  line-height: 1.8;
}

/*
@media screen and (max-width: 769px) {
  #concept .wrap {
    padding-bottom: 22vw;
  }
}
*/

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

  #concept .wrap {
    padding-bottom: 80px;
  }

  #concept h3 {
    position: relative;
    top: 20px;
    left: 0;
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: lr-tb;
    writing-mode: horizontal-tb;
    font-size: 6vw;
  }


  #concept p {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    margin-top: 30px;
  }

}

/* keyword-search（search-window共通）
-----------------------------------------*/

#keyword-search,
#search-window {
  background: #004588;
  color: #fff;
}

#keyword-search a,
#search-window a {
  color: #fff;
}

#keyword-search .flexbox,
#search-window .flexbox {
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 70px;
}

#keyword-search h3,
#search-window h3 {
  text-align: left;
  white-space: nowrap;
}

#keyword-search h3 .ja,
#search-window h3 .ja {
  display: block;
  line-height: 1.5;
  font-weight: bold;
}

#keyword-search h3 .en,
#search-window h3 .en {
  display: block;
  font-size: 50%;
  line-height: 1.5;
}

#keyword-search .keyword-list,
#search-window .keyword-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 15px;
}

#keyword-search .keyword-list .item,
#search-window .keyword-list .item {
  padding: 0.5em 1em;
  border: solid 1px #fff;
  border-radius: 1.5em;
  transition: 0.3s;
  cursor: pointer;
}

#keyword-search .keyword-list .item::before,
#search-window .keyword-list .item::before {
  content: "#";
}

#keyword-search .keyword-list .item.is-active,
#search-window .keyword-list .item.is-active {
  background: #fff;
  color: #004588;
}


@media (hover: hover) {

  #keyword-search .keyword-list .item:hover,
  #search-window .keyword-list .item:hover {
    background: #fff;
    color: #004588;
  }

}

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

  #keyword-search .flexbox,
  #search-window .flexbox {
    flex-direction: column;
    gap: 10px;
  }

  #keyword-search h3 br,
  #search-window h3 br {
    display: none;
  }

}

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

  #keyword-search h3,
  #search-window h3 {
    font-size: 3.2vw;
  }

}

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

  #keyword-search h3,
  #search-window h3 {
    font-size: 2rem;
  }

  #keyword-search .keyword-list,
  #search-window .keyword-list {
    font-size: 0.8rem;
    gap: 8px;
  }

}

/* search-window
-----------------------------------------*/

/*  展開時に固定 */
body.no-scroll {
  position: fixed;
  inset: 0;
  overflow: hidden;
  width: 100%;
  height: 100svh;
}

#search-window {
  position: fixed;
  /* inset: 0; */
  top: 0;
  right: 0;
  display: block;
  width: 100%;
  height: 100svh;
  padding: 0 0 0 10%;
  background: transparent;
  z-index: 9999;

  /* 初期状態：右側に隠れる */
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

#search-window::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 110%;
  height: 100%;
  background: #004588;
  transform: skewX(-15deg) translateX(10%);
  transform-origin: bottom right;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 表示（右→左へスライドイン） */
#search-window.is-open {
  transform: translateX(0);
}

/* 表示（右→左へスライドイン） */
#search-window.is-open::before {
  transform: skewX(-15deg) translateX(0);
}

/* 非表示（左→右へスライドアウト） */
#search-window.is-closing {
  transform: translateX(100%);
}

#search-window .close-btn {
  position: absolute;
  top: 30px;
  right: 20px;
  display: flex;
  align-items: center;
  background: #000;
  color: #fff;
  border: none;
  padding: 0.8em 2rem;
  border-radius: 2rem;
  z-index: 1;
  cursor: pointer;
}

#search-window .close-btn .cross-mark {
  position: relative;
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0 0 0 0.5em;
}

#search-window .close-btn .cross-mark::before,
#search-window .close-btn .cross-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
}

#search-window .close-btn .cross-mark::before {
  transform: translate(-50%, -50%) rotate(30deg);
}

#search-window .close-btn .cross-mark::after {
  transform: translate(-50%, -50%) rotate(-30deg);
}


#search-window .wrap {
  display: flex;
  flex-direction: column;
  width: 90%;
  height: 100%;
}

#search-window .border {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  margin: 50px 0;
}

#search-window .scroll-wrap {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 3% 0 0;
}

#search-window .link-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 50px 5%;
  opacity: 1;
  transition: opacity .3s ease;
}

#search-window .link-list.is-hiding {
  opacity: 0;
}

#search-window .link-list .item {
  width: 30%;
  display: none;
}

#search-window .link-list .item.is-visible {
  display: block;
}

#search-window .link-list .item .category-name {
  font-family: 'Mitr', sans-serif;
  line-height: 1.2;
  margin: 1em 0 0;
  opacity: .3;
}

#search-window .link-list .item .page-name {}

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

  #search-window {
    padding: 0;
  }

  #search-window.is-open::before {
    width: 1500px;
  }

}

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

  #search-window .border {
    margin: 30px 0;
  }

  #search-window .link-list {
    gap: 30px 4%;
  }

  #search-window .link-list .item {
    width: 48%;
  }

}

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

  #search-window .close-btn {
    top: 15px;
    right: 15px;
  }

  #search-window .border {
    margin: 20px 0;
  }

  #search-window .link-list {
    flex-direction: column;
    gap: 20px 0;
  }

  #search-window .link-list .item {
    width: 100%;
  }

}

/* business
-----------------------------------------*/

#business .flexbox {
  gap: 1.5%;
}

#business .flexbox>div {
  width: 32%;
}

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

  #business .flexbox {
    gap: 30px;
  }

  #business .flexbox>div {
    width: calc(50% - 15px);
  }
}

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

  #business .flexbox {
    flex-direction: column;
    align-items: center;
  }

  #business .flexbox>div {
    width: 100%;
    max-width: 320px;
  }
}

/* project
-----------------------------------------*/

#project {
  background: linear-gradient(#f5f5f5 38%, #fff 30%);
}

#project .project02, #project .project01 {
  position: relative;
  width: 100%;
  height: 30vw;
}

#project .project01 {
  margin-bottom: 60px;
  text-align: right;
}


#project .project01 .imgbox {
  position: absolute;
  right: 0;
  width: 60%;
}

#project .project01 .text {
  position: absolute;
  left: 0;
  width: 42%;
}

#project .project02 .imgbox {
  position: absolute;
  left: 0;
  width: 60%;
}

#project .project02 .text {
  position: absolute;
  right: 0;
  width: 52%;
}

#project .something {
  text-align: center;
  font-size: 1.8vw;
  color: #004e90;
  font-style: italic;
  margin-bottom: 22px;
}

#project h4 {
  font-size: 1.8vw;
  color: #fff;
  line-height: 2;
}

#project h4>span {
  display: inline-block;
  background: #004e90;
  margin: 5px 0;
  padding: 0 10px;
}

#project .project01 h4 {
  text-align: right;
}

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

  /*#project .project02,#project .project01{
	height:240px;
}*/

  /*#project .project02 .imgbox,#project .project01 .imgbox{
	height:240px;}
*/
  /*#project .project02 .text,#project .project01 .text{
	width:360px;
	height:240px;}

#project .something{
	margin-bottom:5px;}

#project h4{
	font-size:2.0rem;}

#project h4 span{
	margin:3px 0;}

#project .btn02{
	margin-top:10px !important;}

}*/
}

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

  #project .project02, #project .project01 {
    position: relative;
    height: 1vw;
  }

  #project .project02, #project .project01 {
    position: static;
    height: auto;
  }

  #project .project02 {
    margin-bottom: 40px;
  }

  #project .project02 .imgbox, #project .project01 .imgbox {
    position: static;
    width: 100%;
    height: auto;
  }

  #project .project02 .text, #project .project01 .text {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 15px;
  }


  #project .something {
    font-size: 2rem;
  }

  #project h4 {
    font-size: 1.4rem;
  }
}

/* job
-----------------------------------------*/
#job {
  background: #e8f9ff;
  background-image: url(../img/index/job_bg01.jpg);
  background-position: right bottom;
  background-repeat: no-repeat;
}

#job .text {
  width: 42%;
  margin-left: 0;
}

#job .btn03 {
  text-align: center;
}

#job h3+p {
  max-width: 100%;
}

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

  #job {
    background-image: url(../img/index/job_bg01_sp.jpg);
    padding-bottom: 300px;
  }


  #job .text {
    width: 100%;
  }

}

/* person
-----------------------------------------*/

#person .wrap {
  width: 56%;
}

#person #FILENAME {
  margin-top: 30px;
}

#person .department {
  font-size: 1.2vw;
}

#person .name {
  font-size: 3.0vw;
}

#person .comment {
  font-size: 1.8vw;
  margin-top: 30px;
}


@media screen and (max-width: 769px) {
  #person .wrap {
    width: 90%;
  }

  #person .department {
    font-size: 1.2rem;
  }

  #person .name {
    font-size: 2.4rem;
  }

  #person .comment {
    font-size: 1.6em;
  }

}

@media screen and (max-width: 480px) {
  #person .wrap {
    width: 90%;
  }

  #person .department {
    font-size: 1.2rem;
  }

  #person .name {
    font-size: 2.4rem;
  }

  #person .comment {
    font-size: 1.3em;
    margin-top: 10px;
  }

}