@charset "utf-8";
/* CSS Document */

h2 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

h3 {
  font-size: 2.4rem;
}

/* メインビジュアル背景固定 -----------------------------------------*/
.bg-container {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  z-index: -2;
}

/* スライドショー画像 */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.5s ease;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(35, 24, 21, 0.5); /* ← うっすら黒マスク */
  pointer-events: none;
}

.slide.active {
  opacity: 1;
}

/* マスク + ブラー */
.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  transition: backdrop-filter 0.3s linear;
  pointer-events: none;
  z-index: -1;
}

/* title「創る挑戦」 ----------------------------------------*/
.intro-philo {
  position: relative;
  width: 100%;
  height: 100dvh;
  margin-bottom: 150px;
}

.intro-philo .box {
  position: absolute;
  top: 32%;
  left: 15%;
  width: 85%;
}

.intro-philo .ani-line {
  display: block;
  height: 1px;
  background-color: #fff;
}

.intro-philo .box p {
  font-family: "Noto Serif JP", serif;
  color: rgba(224, 226, 226, 0.8);
}

.intro-philo .box p.jpn {
  font-size: 65px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease 0.3s forwards;
  animation-delay: 0.5s;
}

.intro-philo .box p.en {
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease 0.3s forwards;
  animation-delay: 1.6s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Just in News */
.info-box {
  position: absolute;
  bottom: 12%;
  right: 15%;
  color: #fff;
}

.info-box-container {
  margin-top: 10px;
}

.info-box-cont {
  position: relative;
  margin-bottom: 24px;
}

.info-box-cont:last-child {
  margin-bottom: 0;
}

.info-box-cont a {
  height: auto;
}

.info-box-cont a::before {
  content: "";
  position: absolute;
  background-color: #fff;
  width: 0;
  height: 1px;
  bottom: -5px;
  left: 5px;
  transition: 0.3s ease 0s;
}

.info-box-cont a:hover::before {
  width: 100%;
}

.info-box-cont .flex {
  align-items: center;
}

.info-txt {
  padding-left: 15px;
  font-size: 1.8rem;
  line-height: 1;
}

.info-txt .notes {
  line-height: 1;
}

.info-box-cont .link-btn {
  width: 35px;
  height: 35px;
}

.info-box-cont .link-btn::before {
  left: 47%;
  width: 0.8rem;
  height: 0.8rem;
}

.info-box-cont a:hover .link-btn {
  background-color: #fff;
  transition: 0.3s;
}

.info-box-cont a:hover .link-btn::before {
  border-top: solid 2px #757575;
  border-right: solid 2px #757575;
  transition: 0.3s;
}

/* animation SlideIn← */
.anim-box00,
.anim-box01,
.anim-box02,
.anim-box03 {
  opacity: 0;
  transform: translateX(180px);
  animation: slideIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.anim-box00 {
  color: #fff;
  animation-delay: 2.5s;
}

.anim-box01 {
  animation-delay: 2.8s;
}

.anim-box02 {
  animation-delay: 3.1s;
}

.anim-box03 {
  animation-delay: 3.4s;
}

@keyframes slideIn {
  100% {
    transform: translateX(0);
  }
  40%,
  100% {
    opacity: 1;
  }
}

/* BUSINESS -----------------------------------------------*/
.top-business {
  position: relative;
  width: 100%;
  height: auto;
  padding-left: 20%;
}

.top-business .flex {
  justify-content: space-between;
}

.busi-list {
  display: flex;
  width: 70%;
  height: 380px;
  margin-right: 8%;
  z-index: 10;
}

.busi-list li {
  position: relative;
  width: calc(100% / 3);
  height: auto;
  margin: 0 12px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 2px 3px 3px rgba(83, 83, 83, 0.4);
}

.busi-list li::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  transition: all 0.3s ease-out;
}

.busi-list li:nth-of-type(1)::after {
  background: url(../img2/top/busi-list01.jpg) no-repeat top;
  background-size: cover;
}

.busi-list li:nth-of-type(2)::after {
  background: url(../img2/top/busi-list02.jpg) no-repeat bottom;
  background-size: cover;
}

.busi-list li:nth-of-type(3)::after {
  background: url(../img2/top/busi-list03.jpg) no-repeat center;
  background-size: cover;
}

.busi-list li:hover::after {
  transform: scale(1.05);
}

.busi-list li .busi-txtbox {
  position: absolute;
  content: "";
  inset: 0;
  padding: 10% 8%;
  color: #fff;
  text-align: justify;
  text-decoration: none;
  z-index: 1;
}

.busi-list li a {
  display: block;
  width: 100%;
  height: 100%;
}

.busi-txtbox h3 {
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 400;
}

.busi-txtbox p {
  font-weight: 300;
}

.busi-list .link-btn {
  position: absolute;
  right: 30px;
  bottom: 25px;
}

.busi-list a:hover .link-btn {
  background-color: rgba(255, 255, 255, 1);
  transition: 0.3s;
}

.busi-list a:hover .link-btn::before {
  border-top: solid 2px rgba(51, 51, 51, 1);
  border-right: solid 2px rgba(51, 51, 51, 1);
  transition: 0.3s;
}

.bg-map {
  width: 90%;
  height: 100svh;
  background: url(/img2/top/map-2.svg) center no-repeat;
  background-size: contain;
  background-position: center top;
}

.busi-txt {
  padding-top: 60px;
  padding-bottom: 80px;
}

.busi-txt p {
  margin-bottom: 22px;
  text-align: justify;
}

/* NEWS -------------------------------------------------*/
.top-news {
  width: 1100px;
  margin: 150px auto;
}

.top-news.flex {
  justify-content: space-between;
}

.top-news .button {
  margin-top: 60px;
}

.news-list {
  width: 75%;
}

.news-item {
  padding: 40px 25px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 5px;
  list-style: none;
}

.news-item a:hover {
  color: #008db7;
  transition: 0.3s;
}

.news-item.last-visible {
  border-bottom: none;
}

.news-item.hidden {
  display: none;
}

.info1 .day {
  margin-right: 24px;
  color: #888;
  font-size: 14px;
}

.info1 .category {
  padding: 2px 10px;
  font-size: 12px;
}

.info2.flex {
  justify-content: space-between;
}

.filters.flex {
  margin-top: 100px;
  flex-direction: column;
}

.filter-btn {
  position: relative;
  padding: 10px 15px;
  cursor: pointer;
  margin: 5px;
  color: #acadad;
  font-weight: 500;
  border-bottom: solid 2px #fff;
}

.filter-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #acadad;
  border-bottom: 2px solid #acadad;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.filter-btn.active {
  border-bottom: solid 2px #008db7;
  color: #333;
}

.filter-btn.active::after {
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
}

/* Pick Up -----------------------------------------------------
   slider.cssに記述 
----------------------------------------------------------------*/

/* IR INFORMATION ----------------------------------------------*/
.bg-box {
  position: relative;
  background: url(/img2/top/bg-ir.jpg) center 23% no-repeat;
  background-size: cover;
  z-index: 1;
}

.ir-cont {
  width: 1100px;
  margin: 0 auto;
  padding: 180px 0;
  color: #fff;
}

.ir-cont .flex {
  justify-content: space-between;
  align-items: flex-end;
}

.ir-cont .button-link {
  color: #333;
  background-color: #fff;
}

.ir-cont .button-link::after {
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
}

.ir-cont .button-link:hover {
  color: #fff;
  background-color: #333;
}

.ir-cont .button-link:hover::after {
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.ir-gridbox {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 350px);
  margin-top: 60px;
}

.ir-gridbox li {
  position: relative;
  height: 120px;
  background-color: #fff;
  border: solid 1px #fff;
  border-radius: 10px;
}

.ir-gridbox a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.ir-gridbox li::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  content: "";
  transition: 0.3s;
}

.ir-gridbox li:hover {
  background-color: rgba(255, 255, 255, 0);
  border: solid 1px rgba(255, 255, 255, 0.5);
  transition: 0.3s;
}

.ir-gridbox li:hover p {
  color: #fff;
  transition: 0.3s;
}

.ir-gridbox li:hover::before {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: 0.3s;
}

.ir-flex {
  position: absolute;
  content: "";
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
}

.ir-flexbox {
  display: flex;
  align-items: center;
}

.ir-gridbox li img {
  display: block;
  width: 45px;
  height: auto;
  margin-right: 20px;
}

.ir-gridbox li p {
  display: inline;
  color: #333;
  font-size: 20px;
}

.ir-link-btn {
  position: relative;
  display: block;
  width: 4rem;
  height: 4rem;
  background-color: #efefef;
  border-radius: 50%;
  text-decoration: none;
}

/* 矢印本体 */
.ir-link-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 0.8rem;
  border-top: solid 2px #333;
  border-right: solid 2px #333;
  transform: translate(-50%, -50%) rotate(45deg);
}

/*============================================================

    responsive

=============================================================*/

/*------------------------------------------
    1439px - 1201px
-------------------------------------------*/
@media screen and (max-width: 1439px) {
  /* メインビジュアル */
  .intro-philo .box {
    left: 10%;
    width: 90%;
  }

  .info-box {
    right: 12%;
  }

  /* BUSINESS */
  .top-business {
    height: auto;
    padding-left: 0;
  }

  .top-business .flex {
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0 10%;
  }

  .busi-list {
    width: 100%;
    height: auto;
    margin-right: 0;
    padding: 3% 0 0;
  }

  .busi-list li {
    height: 400px;
  }

  .busi-txt {
    padding: 6% 10% 0;
  }

  .bg-map .button {
    margin-left: 10%;
  }

  /* NEWS */
  .top-news {
    width: 80%;
    margin: 8% auto;
  }

  /* IR */
  .ir-cont {
    width: 80%;
    padding: 15% 0;
  }
  .ir-gridbox {
    grid-template-columns: repeat(3, 32%);
  }

  .ir-gridbox li p {
    font-size: 1.6rem;
  }
}

/*------------------------------------------
    1200px - 1100px
-------------------------------------------*/
@media screen and (max-width: 1199px) {
  h2 {
    font-size: 3.6rem;
  }

  .intro-philo .box {
    top: 25%;
  }

  .bg-map {
    width: 100%;
    background-image: url(../img2/top/map-sp.svg);
    background-size: cover;
    background-position: center top -130px;
  }
}

/*------------------------------------------
    1099px - 960px
-------------------------------------------*/
@media screen and (max-width: 1099px) {
  /* メインビジュアル */
  .intro-philo .box {
    top: 26%;
  }

  .intro-philo .box p.jpn {
    font-size: 4.6rem;
  }

  .info-box {
    right: 5%;
    bottom: 6%;
  }

  /* just in news hover解除 */
  .info-box-cont a:hover::before {
    width: 0;
  }

  /* BUSINESS */
  .top-business {
    padding: 10% 0 0;
  }

  .top-business .flex,
  .busi-txt {
    padding-left: 5%;
    padding-right: 5%;
  }

  .busi-txt {
    padding-top: 3%;
  }

  .busi-list li {
    height: 330px;
  }

  /* hover解除 */
  .busi-list li:hover::after {
    transform: scale(1);
  }

  .busi-list li .busi-txtbox {
    padding: 12% 8%;
  }

  .busi-txtbox h3 {
    font-size: 2.2rem;
  }

  /* .bg-map {
    width: 100%;
    background-image: url(../img2/top/map-sp.svg);
    background-size: cover;
    background-position: center top -130px;
  } */

  .busi-txtbox p {
    margin-bottom: 0;
  }

  .bg-map .button {
    margin-top: 3%;
    margin-left: 5%;
  }

  /* NEWS */
  .top-news {
    margin-top: 8%;
  }

  /* IR */
  .ir-gridbox {
    gap: 18px;
  }

  .ir-gridbox li img {
    width: 30px;
    margin-right: 10px;
  }

  .ir-flex {
    padding: 0 18px;
  }
}

/*------------------------------------------
    959px - 769px
-------------------------------------------*/
@media screen and (max-width: 959px) {
  h2 {
    font-size: 3.4rem;
  }

  /* BUSINESS */
  .bg-map {
    background-position: center top -30px;
  }

  .busi-list {
    justify-content: space-between;
  }

  .busi-txt {
    margin-bottom: 50px;
  }

  /* NEWS */
  .top-news {
    padding-top: 0;
    padding-bottom: 50px;
  }

  .top-news.flex {
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
  }

  .top-news.flex .flex1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .top-news .button {
    margin-top: 0;
  }

  .filters.flex {
    flex-direction: row;
    gap: 15px;
    width: 100%;
    margin: 40px 0 10px;
  }

  .filter-btn {
    width: calc(100% / 3);
    background-color: #f7f7f7;
    border-bottom: solid 1px #c1c0c0;
  }

  .filter-btn::after {
    transform: translateY(-48%) rotate(45deg);
  }

  .filter-btn.active {
    background-color: #e7f4fa;
    color: #008db7;
  }

  .filter-btn.active::after {
    border-color: #008db7;
  }

  .news-list {
    width: 100%;
  }

  /* IR */
  .ir-cont {
    width: 90%;
  }

  .ir-link-btn {
    width: 3rem;
    height: 3rem;
  }
}

/*------------------------------------------
    768px - 560px
-------------------------------------------*/
@media screen and (max-width: 768px) {
  /* BUSINESS */
  .busi-list li {
    height: 280px;
    margin: 0 6px;
  }

  .busi-list .link-btn {
    right: 5%;
    bottom: 5%;
  }

  .bg-map {
    background-position: center top 0;
  }

  /* NEWS */
  .top-news.flex {
    width: 90%;
  }

  .filter-btn {
    padding: 10px;
    font-size: 1.4rem;
  }

  .filter-btn::after {
    right: 10px;
  }

  .news-item {
    padding: 20px 15px;
  }

  .info1 {
    margin-bottom: 10px;
  }

  /* IR */
  .ir-cont .flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .ir-cont .flex h2 {
    margin-bottom: 3%;
  }

  .ir-gridbox {
    grid-template-columns: 1fr 1fr;
  }

  .ir-gridbox li {
    height: 80px;
    background-color: rgba(255, 255, 255, 0);
    border: solid 1px rgba(255, 255, 255, 0.5);
  }

  .ir-gridbox li::before {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .ir-gridbox li p {
    color: #fff;
  }
}

/*------------------------------------------
    559px 以下
-------------------------------------------*/
@media screen and (max-width: 559px) {
  h2 {
    font-size: 2.6rem;
  }

  .b1200 {
    display: none;
  }

  /* メインビジュアル */
  .intro-philo {
    height: 150dvh;
    margin-bottom: 100px;
  }

  .intro-philo .box {
    top: 25%;
  }

  .intro-philo .box p.jpn {
    font-size: 4rem;
  }

  .intro-philo .box p.en {
    font-size: 1.8rem;
  }

  .info-box {
    display: inline-block;
    right: auto;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    white-space: nowrap;
  }

  .info-txt {
    font-size: 1.6rem;
  }

  .info-txt .notes {
    font-size: 1rem;
  }

  .anim-box00,
  .anim-box01,
  .anim-box02,
  .anim-box03 {
    opacity: 1;
    transform: none;
    animation: none;
  }

  /* BUSINESS */
  .top-business h2 {
    margin-bottom: 30px;
  }

  .busi-list {
    display: block;
    margin: 0 auto 8%;
    padding-bottom: 10px;
    width: 100%;
    overflow-x: auto; /* 横スクロールの指定 */
    white-space: nowrap;
    overflow-scrolling: touch; /* スクロールを滑らかにする */
    -webkit-overflow-scrolling: touch; /* スクロールを滑らかにする */
    scroll-snap-type: x mandatory;
  }

  .busi-list li {
    display: inline-block;
    width: 295px;
    height: 380px;
    white-space: normal;
  }

  .list1 {
    margin-left: 0;
  }

  .list2,
  .list3 {
    margin-left: 30px;
  }

  .bg-map {
    height: 122svh;
    background-position: center top 340px;
    background-size: 145%;
  }

  /* NEWS */
  .top-news {
    margin-top: 0;
    margin-bottom: 100px;
    padding-top: 10%;
    padding-bottom: 0;
  }

  .info1 .day {
    margin-right: 10px;
  }

  .top-news .button {
    margin: 8% 0;
  }

  .filters.flex {
    gap: 5px;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .filter-btn {
    margin: 0;
    padding: 5px;
    text-align: center;
  }

  .filter-btn::after {
    display: none;
  }

  /* IR */
  .ir-cont {
    width: 80%;
    padding: 20% 0;
  }

  .ir-cont .flex h2 {
    margin-bottom: 30px;
  }

  .ir-cont .button-link {
    color: #fff;
    background-color: #333;
  }

  .ir-cont .button-link::after {
    border-color: #fff;
  }

  .ir-gridbox {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
}
