@charset "UTF-8";
/* 1. ベース設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  overflow-x: hidden;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: #535353;
}

/* 2. レイアウト（モバイルファースト） */
.container {
  width: 80%;
  margin: 0 auto;
  padding: 0 1rem;
}

nav a {
  text-decoration: none;
  letter-spacing: 0.1em;
}

/* 3. レスポンシブ画像 */
img {
  max-width: 100%;
  height: auto;
}

/* 4. レスポンシブグリッド */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

body {
  position: relative;
}

body.open {
  overflow-y: hidden;
}

.sp_hide {
  display: none;
}

header {
  padding: 0.758em 1em;
  position: absolute;
  width: 100%;
  background-color: transparent;
  z-index: 4;
}

header h1 {
  line-height: 1;
}

header h1 img {
  width: 62vw;
  max-width: 300px;
}

header nav {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: #fff;
  padding: 5em 5% 3em 5%;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 99;
}

header nav.open {
  visibility: visible;
  opacity: 1;
}

header nav a {
  display: block;
  font-size: 18px;
  color: #535353;
  font-weight: 500;
  border-bottom: 1px #00873b solid;
  padding: 1.8em 0.5em;
  position: relative;
  font-size: clamp(13px, 1.5vw, 22px);
}

header nav a:before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1px #00873b solid;
  border-bottom: 1px #00873b solid;
  transform: rotate(-45deg);
  position: absolute;
  right: 10%;
  top: calc(50% - 4px);
  transition: 0.3s;
}

header #spMenu {
  position: fixed;
  width: 60px;
  height: 60px;
  background-color: #00873b;
  border-bottom-left-radius: 5px;
  right: 0;
  top: 0;
  padding: 16px 15px;
  text-align: center;
  z-index: 100;
}

header #spMenu:before {
  content: "MENU";
  color: #fff;
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 12px;
  letter-spacing: 0.1em;
}

header #spMenu span {
  display: block;
  background-color: #fff;
  width: 30px;
  height: 1px;
  margin-bottom: 7px;
  position: absolute;
  transition: 0.3s;
}

header #spMenu span:nth-child(1) {
  top: 15px;
}

header #spMenu span:nth-child(2) {
  top: 30px;
}

header #spMenu span:nth-child(3) {
  top: 22px;
}

header #spMenu.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 22px;
}

header #spMenu.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 22px;
}

header #spMenu.open span:nth-child(2) {
  opacity: 0;
}

a {
  color: #00873b;
}

main {
  background-color: #00873b;
}

main h2 {
  font-weight: 400;
  font-size: 11.2vw;
  line-height: 1.3;
  letter-spacing: 0.01em;
  font-size: clamp(2.7rem, 11.2vw, 3.5rem);
}

main h2 span {
  color: #00873b;
}

main .inner {
  width: 86%;
  margin-left: auto;
  margin-right: auto;
}

main #webglCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
}

main #bg_wrapper {
  background-color: #fff;
}

main #bg_wrapper #fv {
  height: 78.5vh;
  padding: 0 1.3em;
  padding-top: 33.5vh;
  position: relative;
  z-index: 2;
}

main #bg_wrapper #vision {
  padding: 2.2em 1.5em 2.2em;
  text-align: center;
  color: #fff;
  background-image: url(../img/vision_sp.png);
  background-size: cover;
  border-radius: 10px;
  position: relative;
  z-index: 2;
}

main #bg_wrapper #vision h3 {
  margin-bottom: 1em;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.1em;
  font-size: clamp(15px, 4vw, 30px);
}

main #bg_wrapper #vision p {
  line-height: 2.1;
  font-size: clamp(14px, 3.8vw, 30px);
}

main section {
  background-color: #fff;
  padding-top: 44.5vw;
}

main section p {
  font-size: 14px;
  font-size: clamp(14px, 3vw, 24px);
}

main section h2 {
  letter-spacing: 0.03em;
  color: #00873b;
  font-size: 13vw;
  font-weight: 300;
  margin-bottom: 0.85em;
  font-size: clamp(2.4rem, 13vw, 110px);
}

main section h2 span {
  margin-top: 0.5em;
  display: block;
  color: #434343;
  font-size: 12px;
  font-weight: 500;
  font-size: clamp(12px, 3vw, 24px);
}

main #aboutus {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.9);
  margin-top: 5em;
}

main #aboutus p {
  line-height: 2;
}

main #aboutus #jigyo {
  margin-top: 2.4em;
}

main #aboutus #jigyo p {
  text-align: center;
  font-size: 15px;
  margin-top: 0.2em;
  font-size: clamp(14px, 3vw, 24px);
}

main #aboutus #jigyo > div {
  margin-bottom: 1.30em;
}

main #company {
  background-color: #fff;
  padding-top: 1em;
  position: relative;
  z-index: 2;
}

main #company .inner {
  margin-top: 3.5em;
  padding-top: 3.2em;
  background-color: #f2f9f5;
  margin-right: 0;
  padding-left: 1.5em;
  padding-right: 1.5em;
  padding-bottom: 3em;
  width: 91%;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

main #company dl {
  margin-top: 1em;
  grid-template-columns: 0.8fr 2.2fr;
  gap: 0;
}

main #company dl dt, main #company dl dd {
  font-size: 14px;
  border-bottom: 1px #dde3df solid;
  padding: 1em 0;
  font-size: clamp(0.75rem, 3vw, 21px);
}

main #company dl dt table th, main #company dl dd table th {
  text-align: left;
  vertical-align: top;
  color: #898989;
  font-weight: 400;
  padding-right: 1em;
}

main #company dl dt span.gray, main #company dl dd span.gray {
  color: #898989;
}

main #company dl dt {
  color: #00873b;
  font-weight: 500;
}

main #blur_area {
  height: 30vh;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background: transparent;
  padding-top: 0;
}

main #history {
  padding-bottom: 4em;
  background-color: #fff;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding-top: 5em;
  position: relative;
  z-index: 3;
  /* 全体レイアウト */
  /* タイムラインの縦線 */
  /* タイムラインのアイテム */
  /* 丸（イベントポイント） */
  /* イベントのテキスト */
}

main #history .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
  height: 450px;
  overflow: hidden;
  transition: 0.3s;
}

main #history .timeline:after {
  content: "";
  display: block;
  width: 100%;
  height: 260px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
}

main #history .timeline.open {
  height: auto;
  padding-bottom: 5em;
}

main #history .timeline.open:after {
  display: none;
}

main #history .timeline .read_more {
  position: absolute;
  bottom: 20px;
  z-index: 2;
  width: 100%;
}

main #history .timeline .read_more a {
  display: block;
  border: 1px #00873b solid;
  width: 100%;
  padding: 0.8em 0 1em 0;
  background-color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  position: relative;
}

main #history .timeline .read_more a:before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1px #00873b solid;
  border-bottom: 1px #00873b solid;
  transform: rotate(45deg);
  position: absolute;
  right: 10%;
  top: calc(50% - 4px);
  transition: 0.3s;
}

main #history .timeline .read_more.open {
  bottom: 20px;
}

main #history .timeline .read_more.open a:before {
  transform: rotate(225deg);
}

main #history .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15px;
  width: 1px;
  height: 96%;
  background-color: #00873b;
  /* 緑の線 */
}

main #history .timeline-item {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
}

main #history .timeline-dot {
  width: 12px;
  height: 12px;
  background-color: #00873b;
  /* 緑色 */
  border-radius: 50%;
  position: absolute;
  left: 10px;
  top: 0;
}

main #history .timeline-content {
  margin-left: 30px;
  /* 丸の右に配置 */
  background: #fff;
  padding: 0;
  border-radius: 5px;
  width: 100%;
}

main #history .timeline-content .grid {
  grid-template-columns: 0.4fr 2.6fr;
}

main #history .timeline-content h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
  line-height: 1;
  margin-top: -3px;
  letter-spacing: 0.1em;
  font-size: clamp(16px, 4vw, 25px);
}

main #history .timeline-content .year {
  text-align: right;
}

main #history .timeline-content .year p {
  color: #898989;
  font-weight: 500;
}

main #history .timeline-content p.text {
  padding-top: 1.3em;
}

main #history .timeline-content p.text.no-pad {
  padding-top: 0;
}

main #history .mt1 {
  margin-top: 1em;
}

footer {
  background-color: #00873b;
  color: #fff;
  padding-top: 4em;
  padding-bottom: 2em;
  position: relative;
  z-index: 5;
}

footer nav {
  width: 84%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2em;
  border-bottom: 1px #fff solid;
}

footer nav.grid {
  grid-template-columns: repeat(4, 1fr);
}

footer nav a {
  color: #fff;
  font-size: 13px;
  text-align: center;
  font-size: clamp(13px, 1.5vw, 22px);
}

footer .addr {
  padding: 3em 0 0;
}

footer .addr p {
  text-align: center;
  font-size: 12px;
  font-size: clamp(12px, 1.3vw, 18px);
}

footer .grid.addr_wrap {
  grid-template-columns: repeat(1, 1fr);
}

footer .ft_logo {
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
}

footer .ft_logo img {
  max-width: 509px;
  width: 64%;
}

footer .copyright {
  padding: 0 5%;
  text-align: right;
  font-size: 10px;
  font-size: clamp(10px, 1vw, 20px);
}

/* 5. メディアクエリ：768px以上（タブレット〜） */
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .md_hide {
    display: none;
  }
  .sp_hide {
    display: none;
  }
  header h1 img {
    max-width: 399px;
  }
  header #spMenu {
    display: none;
  }
  header nav {
    opacity: 1;
    visibility: visible;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: transparent;
  }
  header nav a {
    display: inline;
    padding: 0 1em;
    border: none;
  }
  header nav a:before {
    display: none;
  }
  main #bg_wrapper #vision {
    background-image: url(../img/vision.png);
  }
  main #company .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  main #company dl.grid {
    grid-template-columns: 1fr 2fr;
  }
  main #company .inner {
    padding-left: 7%;
    padding-right: 7%;
  }
  main #history .read_more {
    max-width: 422px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
  }
}

@media (max-width: 850px) and (min-width: 767px) {
  header h1 img {
    max-width: none;
    width: 40vw;
  }
  header nav a {
    font-size: 16px;
  }
}

/* 6. メディアクエリ：1024px以上（PC〜） */
@media (min-width: 1024px) {
  .pc_hide {
    display: none;
  }
  .md_hide {
    display: block;
    border-bottom: 1px #b3dbc5 solid;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  html {
    font-size: 18px;
  }
  header .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  header .inner {
    width: 84%;
    margin: auto;
    padding-top: 1em;
  }
  main section h2 {
    letter-spacing: -3px;
  }
  main section h2 span {
    letter-spacing: 1px;
  }
  main #aboutus {
    padding-top: 10em;
  }
  main #bg_wrapper .inner {
    width: auto;
    max-width: 1468px;
    margin: auto;
  }
  main #company .inner > .grid {
    gap: 2em;
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 5em;
  }
  main #company .inner {
    padding-top: 6vw;
    border-top-left-radius: 120px;
    border-bottom-left-radius: 120px;
  }
  main #history .timeline-dot {
    width: 22px;
    height: 22px;
    left: 5px;
  }
  main #history .mt1 {
    margin-top: 2em;
  }
  main #history .timeline-content {
    margin-left: 50px;
    margin-bottom: 1.5em;
  }
  main #history .timeline-content .year {
    display: flex;
    justify-content: space-between;
  }
  main #history .timeline-content .year h3, main #history .timeline-content .year p {
    line-height: 1;
    margin: 0;
  }
  main #history .timeline-content .year p {
    text-align: right;
  }
  main #history .timeline-content p.text {
    padding: 0;
    margin-top: -7px;
  }
  main #history .timeline-content .one_month {
    justify-content: flex-end;
  }
  footer {
    padding-bottom: 5em;
  }
  footer .ft_logo {
    text-align: left;
  }
  footer nav {
    padding-bottom: 0;
    border: none;
  }
  footer .inner {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
  }
  footer .inner span.name {
    display: inline-block;
    width: 80px;
  }
  footer .addr p {
    text-align: left;
    font-weight: 500;
    line-height: 2;
  }
  footer .grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  footer .grid.addr_wrap {
    grid-template-columns: 2.2fr 0.8fr;
    align-items: flex-end;
  }
}

@media (max-width: 1740px) {
  header .inner {
    width: 100%;
    padding-left: 3vw;
    padding-right: 3vw;
  }
}

@media (max-width: 1468px) {
  header .inner {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  main #bg_wrapper #vision {
    margin: 0 1.3em;
  }
}

@media (max-width: 1023px) {
  main #bg_wrapper #vision {
    width: 100%;
    margin: auto;
    border-radius: 5px;
  }
  main #aboutus {
    padding-top: 30vw;
  }
}
