@charset "UTF-8";

/************************************
** init
************************************/
.top #content {
  padding-top: 0;
}
.l-content {
  margin: 0 auto;
}
.fw {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}
.fw-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(
    var(--container_size, 0px) + var(--swl-pad_container, 0px) * 2
  );
  padding-left: var(--swl-pad_container, 0);
  padding-right: var(--swl-pad_container, 0);
}
.inner-wrap,
.wrap {
  width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 480px) {
  .inner-wrap,
  .wrap {
    width: auto;
    padding: 30px 0;
  }
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}

/************************************
** information
************************************/
.information {
  .rw {
    padding: 0;
    .items {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      .item {
        .cont {
          padding: 20px 30px;
          color: #222;
          font-size: 20px;
          .title {
            font-size: 24px;
            font-weight: bold;
          }
        }
      }
      .item:nth-child(2) {
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
      }
      .item:nth-child(1) .cont {
        border-top: 8px solid;
        border-image: linear-gradient(to right, #3300ff 0%, #00bcd4 100%) 1;
      }
      .item:nth-child(2) .cont {
        border-top: 8px solid;
        border-image: linear-gradient(to right, #009688 0%, #ffeb3b 100%) 1;
      }
      .item:nth-child(3) .cont {
        border-top: 8px solid;
        border-image: linear-gradient(to right, #ff5722 0%, #ffeb3b 100%) 1;
      }
      .item .iw {
        height: 30vh;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
    }
  }
}
@media screen and (max-width: 480px) {
  .information {
    .rw {
      .items {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        .item {
          flex: 0 0 330px;
          scroll-snap-align: start;
          opacity: 0.4;
          transform: scale(0.9);
          transition: 0.4s ease;
          &.active {
            opacity: 1;
            transform: scale(1);
          }
          .cont {
            padding: 10px 20px;
            font-size: 12px;
            .title {
              font-size: 16px;
            }
          }
        }
        .item .iw {
          height: 20vh;
        }
      }
    }
  }
}
/************************************
** philosophy
************************************/
.philosophy {
  background: url(https://irohanext.com/wp-content/uploads/2025/11/bg_001.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  /* margin-bottom: 60px; */

  .rw {
    width: 1000px;
    text-align: center;
    margin: 0 auto;
    h2 {
      font-size: 32px;
      margin-bottom: 1em;
    }
    p {
      font-size: 1.3em;
      margin-bottom: 30px;
      span {
        display: block;
        margin-bottom: 0.5em;
      }
    }
    p.p2 {
      font-size: 1.5em;
      font-weight: bold;
    }
  }
}
@media screen and (max-width: 480px) {
  .philosophy {
    margin-bottom: 0;

    .rw {
      width: auto;
      h2 {
        font-size: 24px;
        margin-bottom: 1em;
      }
      p {
        font-size: 1.3em;
        margin-bottom: 30px;
        span {
          display: block;
          margin-bottom: 0.5em;
        }
      }
      p.p2 {
        font-size: 1.5em;
        font-weight: bold;
      }
    }
  }
}
/************************************
** 
************************************/
.heading {
  text-align: center;
  margin-bottom: 2em;
  h2 {
    background: none;
    color: #222;
    font-size: 40px;
  }
}

/************************************
** news
************************************/
.news {
  padding-bottom: 60px;
  .items {
    width: 1000px;
    margin: 0 auto;
    .item {
      display: flex;
      align-items: start;
      border-top: 1px solid #e5e7eb;
      padding-top: 20px;
      padding-bottom: 20px;
      .post-meta {
        display: flex;
        align-items: center;
        width: 30%;
        .post-date {
          margin-right: 32px;
          padding-top: 1px;
          letter-spacing: 0.48px;
          line-height: 1.33;
        }
        .category {
          width: 100px;
          height: 24px;
          margin-right: 20px;
          background: #ff7700;
          text-align: center;
          a {
            color: #fff;
          }
        }
      }
      .post-title {
        width: 70%;
        padding-top: 5px;
        font-size: 13px;
        letter-spacing: 0.52px;
        line-height: 1.31;
        a {
          color: #222;
        }
      }
    }
    &:last-child {
      border-bottom: 1px solid #e5e7eb;
    }
  }
}

@media screen and (max-width: 480px) {
  .news {
    .items {
      width: auto;
      .item {
        flex-direction: column;
        padding-top: 4%;
        padding-bottom: 6%;
        .post-meta {
          width: 100%;
          justify-content: space-between;
          margin-bottom: 10px;
          .post-date {
            margin-right: 32px;
            padding-top: 1px;
            letter-spacing: 0.48px;
            line-height: 1.33;
          }
          .category {
            margin-right: 0;
          }
        }
      }
    }
  }
}

/************************************
** service
************************************/
.service .items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  .item {
    position: relative;
  }
  .item a .iw img {
    transition: all 0.5s ease;
  }
  .item a:hover .iw img {
    transform: scale(1.1);
    transition: all 0.5s ease;
    overflow: hidden;
  }
  .item .iw {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    overflow: hidden;
    img {
      width: 100%;
      object-fit: cover;
    }
  }
  .item .iw:after {
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    z-index: 0;
  }
  .item .cont {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    padding: 60px;
    z-index: 2;
    p {
      color: #fff;
    }
    .title {
      font-size: 2em;
    }
  }
}
@media screen and (max-width: 480px) {
  .service .items {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    .item .iw {
      height: 300px;
      img {
        max-width: 100%;
        height: 100%;
      }
    }
    .item .iw:after {
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0) 100%
      );
    }
    .item .cont {
      height: 140px;
      padding: 16px;
      p.desc {
        font-size: 12px;
      }
    }
  }
}

/************************************
** nayami
************************************/
.nayami {
  .heading {
    margin-bottom: 60px;
    span {
      position: relative;
    }
    span:before {
      content: "";
      position: absolute;
      bottom: -16px;
      height: 2px;
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      width: 100px;
      background: #000000;
    }
  }
  .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    p {
      display: none;
    }
  }
}
@media screen and (max-width: 480px) {
  .nayami {
    .heading h2 {
      font-size: 24px;
    }
    .items {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }
}

/************************************
** change temporarily
************************************/
.service .heading {
  display: none;
}
