/* 共通パーツ */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: Inter;
  color: #222;
}
a{
  cursor:pointer;
  text-decoration: none;
  color: #222;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
.forPC {
  display: none;
}
.inner {
  display: flex;
  flex-direction: column;
}
.green{
  color: var(--RD_Brand-Primary, #00882d);
}
.lightgreen{
  color:  #CCE89B;
}
/* 最初は透明にしておく */
.fadein {
  opacity: 0;
  transform: translateY(30px); /* 少し下から、ゆっくり移動 */
  transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* アニメーションの時間を1.5秒に延長 */
}

/* 表示させたい時のスタイル */
.fadein.active {
  opacity: 1;
  transform: translateY(0);
}
/* セクションタイトル */
.sec_ttl_wrap.inner{
  gap: 8px;
}
.sec_ttl.inner {
  gap: 4px;
}
.sub_ttl {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.7px;
}
.main_ttl {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.1px;
}
.sec_ttl_wrap .caption {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.35px;
}
@media (min-width: 960px) {
  .container.inner {
    max-width: 1080px;
    margin: 0 auto;
  }
  #strength .inner,
  #service .inner,
  #flow .inner {
    max-width: 1180px;
  }
  .sec_ttl_wrap {
    gap: 16px;
  }
  .sub_ttl {
    color: var(--RD_Brand-Primary, #00882d);
    font-size: 20px;
    letter-spacing: 1px;
  }
  .main_ttl{
    font-size: 32px;
    letter-spacing: 1.6px;
  }
  .sec_ttl_wrap .caption {
    font-size: 16px;
    letter-spacing: 0.4px;
  }
}
#hero {
  height: 100vh;
  justify-content: center;
  position: relative;
}
.dotted_filter_wrap{
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  overflow: hidden;
}
.dotted_filter {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#ddd 20%, transparent 20%);
  background-size: 4px 4px;
  background-position: 10px 0, 20px 20px;
  opacity: .25;
  transform: rotate(45deg) scale(2);
}
.header_wrap {
  position: fixed;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 1000;
}
.header {
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 90%);
  padding: 0 8px 0 16px;
  height: 48px;
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.navlist {
  display: flex;
  gap: 8px;
  align-items: center;
}
.positivebutton {
  display: flex;
  width: 120px;
  max-width: 200px;
  height: 16px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--RD_Brand-Primary, #00882d);
  transition: all 0.3s ease-in-out;
}
.positivebutton:hover{
  background: rgba(0, 136, 45, 0.5);
}
.wrapper.forSP{
  display: flex;
  align-items: center;
  gap: 8px;
}
/* --------------------


ハンバーガーメニュー


--------------------*/
.nav_btn {
	width: 24px;
	height: 40px;
  padding: 0 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px 0;
	transition: background-color 500ms;
}
#nav_trigger:checked~.nav-btn {
	background-color: transparent;
}
.nav_btn span {
  width: 24px;
	height: 2px;
	background-color: #00882D;
	transition: transform 300ms, opacity 500ms;
}
#nav_trigger:checked~.nav_btn span:first-of-type {
	transform: translateY(3px) rotate(45deg);
}
#nav_trigger:checked~.nav_btn span:nth-child(2) {
	transform: translateY(-3px) rotate(-45deg);
}
#nav_trigger {
	display: none;
}
#nav_trigger + label{
	width: 100%;
  height: 100%;
	background-color: rgba(255, 255, 255, 95%);
	position: fixed;
	top: -100%;
	right: 0;
  left: 0;
	transition: top 500ms;
}
#nav_trigger:checked + label{
	top: 0;
}
.gnav{
  padding: 120px 24px 0 24px;
}
  .gnav .table_item{
  padding: 0;
}
  .gnav .table_item a{
  display: block;
  padding: 24px 0;
}
  .gnav .table_item:first-of-type{
  border-top: none;
}
.gnav .container.inner{
  gap: 40px;
}
.gnav li{
  font-size: 16px;
  letter-spacing: 0.4px;
  font-weight: 700;
  line-height: 100%;
}
.gnav .positivebutton{
  max-width: none;
  width: auto;
    height: 24px;
    padding: 16px 8px;
}
.gnav .positivebutton p{
  font-size: 14px;
  line-height: 20px;
}
.gnav .labelcontainer::after {
    width: 20px;
    height: 20px;
}
.labelcontainer {
  padding: 0 24px 0 4px;
  position: relative;
}
.labelcontainer::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url(../img/mail.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}
.positivebutton p {
  color: var(--system-color-component-surface, #fdfdfd);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}
.main_copy_wrap {
  position: absolute;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.main_copy {
  display: flex;
  padding: 0 32px;
  flex-direction: column;
  gap: 24px;
}
.copy_jpn {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 8px;
}
.copy_jpn p {
  color: var(--Common-White, #fcfcfc);
  font-weight: 700;
}
.copy_jpn p:first-of-type {
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 1.35px;
}
.copy_jpn p:last-of-type {
  font-size: 36px;
  line-height: 130%;
  letter-spacing: 2.7px;
}
#news {
  padding: 16px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
#news p {
  font-size: 10px;
  line-height: 150%;
}
#news p:first-of-type {
  font-weight: 700;
}
#news p:first-of-type,
#news p:nth-child(2) {
  color: var(--RD_Brand-Primary, #00882d);
}
#news .container {
  display: flex;
  gap: 8px;
  padding: 0 16px;
}
.newscontainer {
  padding: 8px 0;
  background: var(--system-color-component-surface, #fdfdfd);
  border-radius: 99px;
}
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
@media (min-width: 960px) {
  .forSP {
    display: none;
  }
  .forPC {
    display: block;
  }
  #hero {
    height: 880px;
  }
    .header_wrap {
  top: 16px;
  left: 16px;
  right: 16px;
  padding: 0;
}
  .header {
    padding: 0 0 0 32px;
    height: 64px;
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
  #logo {
    width: 136px;
    height: 34px;
    aspect-ratio: 4/1;
  }
  .navlist {
    gap: 20px;
  }
  .navlist ul {
    display: flex;
    gap: 0;
  }
  .navitem a {
    display: block;
    padding: 25px 12px;
    color: var(--Common-Black, #222);
    font-weight: 700;
    letter-spacing: 0.35px;
    line-height: 100%;
    font-size: 14px;
  }
  .navitem.selected a {
    color: #00882d;
    pointer-events: none;
  cursor: default;
  }
  .positivebutton {
    width: 176px;
    height: 48px;
    border-radius: 0 999px 999px 0;
        padding: 8px 16px 8px 8px;
  }
  .positivebutton p {
    font-size: 14px;
    font-weight: 700;
    line-height: 2;
  }
  .navitem.selected a {
  color: #00882d;
  cursor: default;
  pointer-events: none;
}
.navitem a:hover {
  color: #00882d;
}
.navitem.selected a:hover {
  color: #00882d;
}
  .labelcontainer::after {
    width: 20px;
    height: 20px;
    top: 50%;
    right: -9%;
    transform: translate(-50%, -50%);
    background-size: cover;
  }
  .newscontainer {
    padding: 0;
  }
  #news .container_wrap {
    padding: 0 32px;
    height: 48px;
    display: flex;
    align-items: center;
  }
  #news p {
    font-size: 12px;
    line-height: 170%;
  }
  .main_copy_wrap {
    height: 880px;
  }
  .main_copy {
    max-width: 920px;
    gap: 32px;
    padding: 0 0 0 24px;
    flex-direction: row;
  }
  .copy_jpn {
    padding-left: 0;
  }
  .copy_jpn p:first-of-type {
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 1.8px;
  }
  .copy_jpn p:last-of-type {
    font-size: 68px;
    letter-spacing: 5.1px;
  }
}

/* 問題提起 */
.problem {
  padding: 40px 32px;
  background: repeating-linear-gradient(
    45deg,
    #deebe3,
    #deebe3 1px,
    transparent 0,
    transparent 8px
  );
  position: relative;
}
.rlg_01 {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  background-color: #f2faf5;
}
.problem .inner {
  gap: 24px;
}
.problem p {
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.8px;
}
.prob_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.problem .item {
  border-radius: 999px;
  background: var(--Common-White, #fcfcfc);
  padding: 8px 16px;
}
.problem .item p {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.35px;
  color: var(--Common-Black, #222);
}
@media (min-width: 960px) {
  .problem {
    padding: 64px 32px;
  }
  .problem .container.inner {
    gap: 40px;
  }
  .problem p {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .prob_list {
    flex-direction: row;
    gap: 36px;
  }
  .problem .item {
    border-radius: 999px;
    background: var(--Common-White, #fcfcfc);
    padding: 16px;
    flex: 100;
  }
  .problem .item p{
    font-size: 16px;
    letter-spacing: 0.4px;
  }
}
/* 解決策 */
.solution.sec_wrap {
  padding: 40px 24px 0;
}
.solution .container.inner {
  gap: 40px;
}
.sol_copy_wrap{
  text-align: center;
}
.sol_copy {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.1px;
}
.solution .list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.solution .item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.item_title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.solution .item .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.item_title p:first-of-type {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.item_title p:nth-child(2) {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.9px;
}
.item .container > p {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.35px;
}
@media (min-width: 960px) {
  .solution.sec_wrap {
    padding: 80px 32px 0;
  }
  .solution .container.inner {
    gap: 80px;
  }
  .sol_copy {
    font-size: 40px;
    line-height: 1.6;
    letter-spacing: 2px;
  }
  .solution .list {
    gap: 64px;
  }
  .solution .item {
    flex-direction: row;
    gap: 32px;
  }
  .item img {
    width: 420px;
    height: 236px;
  }
  .item_title p:first-of-type {
    font-size: 48px;
  }
  .item_title p:nth-child(2) {
    font-size: 24px;
    letter-spacing: 1.2px;
  }
  .item .container > p {
    letter-spacing: 0.4px;
    font-size: 16px;
  }
}
/* 私たちができること */
.whatwedo.sec_wrap{
  padding: 64px 16px;
  background-image: url('../img/whatwedo_bg_sp.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.whatwedo .wedotext p{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.35px;
}
.whatwedo .container.inner {
  padding: 16px 16px 0 16px;
  background: #fdfdfd;
  border-radius: 8px;
}
.whatwedo .sec_ttl {
  border-bottom: 1px solid var(--Common-Black, #222);
  padding-bottom: 16px;
}
.whatwedo .item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px dashed var(--Common-Black, #222);
}
.whatwedo .item:last-of-type {
  border-bottom: none;
}
.whatwedo .wedotittle {
  padding-left: 24px;
  position: relative;
}
.whatwedo .wedotittle::before{
  content: '';
  display: block;
  position: absolute;
  top: 4px;
  left: 2px;
  width: 12px;
  height: 14px;
  background: url(../img/next.svg) no-repeat;
}
.whatwedo .wedotittle p {
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.8px;
}
@media (min-width: 960px) {
  .whatwedo.sec_wrap{
    padding: 160px 32px;
    background-image: url('../img/whatwedo_bg_pc.webp');
    background-size: contain;
  }
  .whatwedo .container.inner {
    padding: 40px 40px 16px 40px;
  }
  .whatwedo .sec_ttl {
    padding-bottom: 32px;
}
  .whatwedo .item {
    flex-direction: row;
    padding: 48px 0;
    align-items: center;
  }
  .whatwedo .wedotittle{
  flex-grow: 1;
}
  .whatwedo .wedotittle::before{
  top: 6px;
  left: 4px;
  width: 15px;
  height: 18px;
}
  .whatwedo .wedotittle p {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .whatwedo .wedotext{
    flex-basis: 63%;
    flex-shrink: 0;
  }
  .whatwedo .wedotext p{
    font-size: 16px;
    letter-spacing: 0.4px;
  }
}
/* ラボ型開発 */
#labdevelopment {
  padding: 0 16px 40px 16px;
}
#labdevelopment .inner {
  padding: 0 16px;
  gap: 16px;
  border-left: 1px solid var(--Common-Black, #222);
  border-right: 1px solid var(--Common-Black, #222);
}
#labdevelopment .titlecontainer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#labdevelopment .titlecontainer h4 {
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.8px;
}
#labdevelopment .titlecontainer p {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}
#labdevelopment .item {
  border-bottom: 1px solid #d4d4d4;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#labdevelopment .item:last-of-type {
  border-bottom: none;
}
#labdevelopment .item .title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.7px;
}
#labdevelopment .item p {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}
@media (min-width: 960px) {
  #labdevelopment {
    padding: 0 32px 96px 32px;
  }
  #labdevelopment .inner {
    padding: 0 32px;
    gap: 24px;
  }
  #labdevelopment .titlecontainer {
    flex-direction: row;
    gap: 40px;
    align-items: center;
  }
  #labdevelopment .titlecontainer h4 {
    font-size: 20px;
    letter-spacing: 1px;
  }
  #labdevelopment .point {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  #labdevelopment .item {
    padding: 16px;
  }
  #labdevelopment .item:nth-child(n + 4):nth-child(-n + 6) {
    border-bottom: none;
  }
  #labdevelopment .item:nth-child(n + 1):nth-child(-n + 2) {
    border-right: 1px solid #d4d4d4;
  }
  #labdevelopment .item:nth-child(n + 4):nth-child(-n + 5) {
    border-right: 1px solid #d4d4d4;
  }

  #labdevelopment .item:nth-child(1),
  #labdevelopment .item:nth-child(4) {
    padding-left: 0;
  }
  #labdevelopment .item:nth-child(3),
  #labdevelopment .item:nth-child(6) {
    padding-right: 0;
  }
  #labdevelopment .item .title {
    letter-spacing: 0.8px;
    font-size: 16px;
  }
  #labdevelopment .item p {
    font-size: 14px;
  }
}
/* CTA */
.cta {
  padding: 48px 24px;
  background: linear-gradient(
      0deg,
      rgba(6, 136, 76, 0.6) 0%,
      rgba(6, 136, 76, 0.6) 50%
    ),
    url(../img/img_01.webp) lightgray 50% / cover no-repeat;
}
.cta .inner {
  gap: 24px;
  text-align: center;
}
.cta .text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--Common-White, #fcfcfc);
}
.cta .text p:first-of-type {
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.8px;
}
.cta .text p:nth-child(2) {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.1px;
}
.cta .text p:last-of-type {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.35px;
}
.ctabtn_container {
  display: flex;
  justify-content: center;
}
.ctabtn_wrap{
  display: flex;
  justify-content: center;
}
.ctabtn {
  display: inline-flex;
  width: 100%;
  max-width: 768px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: 999px;
  font-weight: 700;
  background-color: #fdfdfd;
  color: #00882D;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.13);
}
.ctabtn:hover {
  background-color: #00882d; /* 背景色を白に */
  color: #fcfcfc; /* 文字色を緑に */
}

/* 擬似要素でメールアイコンを追加 */
.ctabtn::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("../img/mail_green.svg");
  background-size: cover;
  transition: all 0.3s ease-in-out;
}
.ctabtn:hover::after {
  filter: brightness(0) invert(1) brightness(100%) contrast(100%);
}
@media (min-width: 960px) {
  .cta {
    padding: 80px 32px 96px 32px;
  }
  .cta .inner {
    gap: 48px;
  }
  .cta .text p:first-of-type {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .cta .text p:nth-child(2) {
    font-size: 32px;
    letter-spacing: 1.6px;
  }
  .cta .text p:last-of-type {
    letter-spacing: 0.4px;
  }
}

/* 強み */
.strength.sec_wrap {
  padding: 40px 16px;
  background: #f2faf5;
}
.strength .container.inner {
  gap: 24px;
}
.strength_wrap {
  display: grid;
  gap: 8px;
}
.strength_item.inner{
  gap: 16px;
}
.strength_item{
  background: #fdfdfd;
  border: 1px solid var(--RD_Brand-Primary, #CCE89B);
  padding: 24px 16px;
  position: relative;
}
.strength_item::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 31px;
  height: 31px;
  background-color: #CCE89B;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.strength_item::after {
  display: block;
  position: absolute;
  top: 3px;
  left: 2px;
  color: #fff;
  font-size: 12px;
}
.strength_item:nth-child(1):after {
  content: "01";
}
.strength_item:nth-child(2):after {
  content: "02";
}
.strength_item:nth-child(3):after {
  content: "03";
}
.strength_item:nth-child(4):after {
  content: "04";
}
.strength .item_text {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}
.strength .item_tittle {
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: var(--RD_Brand-Primary, #00882d);
}
@media (min-width: 960px) {
  .strength.sec_wrap {
    padding: 80px 32px 96px 32px;
  }
  .strength .container.inner {
    gap: 48px;
  }
  .strength_wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .strength_item {
    padding: 32px;
  }
  .strength .item_text {
    font-size: 14px;
  }
  .strength .item_tittle {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .strength_item::before {
    width: 48px;
    height: 48px;
  }
  .strength_item::after {
    content: "01";
    display: block;
    position: absolute;
    top: 6px;
    left: 5px;
    color: #fff;
  }
}
/* サービス */
.service {
  background: #fafef4;
}
.service .container.inner {
  gap: 32px;
}
.service_list_wrap.inner {
  gap: 56px;
}
.service_list_wrap {
  max-width: 1280px;
}
.service_list.inner{
  gap: 24px;
}
.service_text.inner{
  gap: 8px;
}
.service_text p:first-of-type, .service_text p:nth-child(2) {
  font-weight: 700;
  line-height: 1.5;
}
.service_text p:first-of-type {
  font-size: 12px;
  letter-spacing: 0.3px;
}
.service_text p:nth-child(2) {
  font-size: 18px;
  letter-spacing: 0.9px;
}
.service_text p:last-of-type {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}
.service_item_container.inner {
  gap: 16px;
}
.service_item {
  padding: 16px;
  background: var(--Common-White, #fcfcfc);
}
.service_item.inner{
  gap: 16px;
}
.service_item p {
  font-size: 12px;
  font-weight: 400;
  line-height: 170%;
}
.item_text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service_item_titlearea {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service_item_titlearea .tittle {
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.8px;
  font-size: 16px;
}
.service_item_tag {
  display: flex;
  gap: 10px;
  align-items: center;
}
.service_item_tag p {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
}
.service_item_language {
  display: flex;
  gap: 16px;
}
.service_item_language .item {
  border-radius: 999px;
  background: var(--RD_Brand-Secondary, #cce89b);
  padding: 0 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.service_item_language .item p {
  font-size: 12px;
  font-weight: 400;
  line-height: 170%;
}
@media (min-width: 960px) {
  .service.sec_wrap {
    padding: 96px 32px;
  }
  .service .container.inner {
    gap: 64px;
  }
  .service_list.inner {
    flex-direction: row;
    gap: 40px;
  }
  .service_text {
    max-width: 320px;
  }
  .service_item {
    flex-direction: row;
    border: 1px solid var(--RD_Brand-Secondary, #cce89b);
  }
  .service_item img {
    width: 210px;
    height: 148px;
  }
  .service_text p:first-of-type {
    font-size: 14px;
    letter-spacing: 0.35px;
  }
  .service_text p:nth-child(2) {
    font-size: 24px;
    letter-spacing: 1.2px;
  }
  .service_text p:last-of-type {
    font-size: 14px;
  }
}
/* フロー */
.flow .container.inner {
  gap: 24px;
}
.flow_list.inner{
  gap: 8px;
}
.flow_item.inner{
  gap: 8px;
}
.flow_item{
  border: 1px solid var(--RD_Brand-Primary, #00882d);
  padding: 16px;
}
.flow_item p {
  font-size: 12px;
  font-weight: 400;
  line-height: 170%;
}
.flow_item .tittle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.flow_item .tittle p:first-of-type {
  color: var(--RD_Brand-Primary, #00882d);
  font-size: 22px;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 1.1px;
}
.flow_item .tittle p:last-of-type {
  font-size: 14px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.7px;
}
.explanation {
  flex: 1 0 0;
}
.triangle {
  display: flex;
  justify-content: center;
  align-items: center;
}
.triangle img {
  width: 16px;
  height: 8px;
}
@media (min-width: 960px) {
  .flow.sec_wrap {
    padding: 80px 32px 96px 32px;
  }
  .flow .container.inner {
    gap: 48px;
}
  .flow_item {
    padding: 32px;
    gap: 8px;
    flex-direction: row;
    align-items: center;
  }
  .flow_item p {
    font-size: 14px;
  }
  .flow_item .tittle {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 400px;
  }
  .flow_item .tittle p:first-of-type {
    font-size: 32px;
    letter-spacing: 1.6px;
  }
  .flow_item .tittle p:last-of-type {
    letter-spacing: 0.8px;
  }
  .triangle img {
    width: 24px;
    height: 12px;
  }
}
/* コンタクト */
.contact.sec_wrap {
  padding: 40px 24px;
  background: #f2faf5;
}
.contact .container.inner{
  gap: 24px;
}
.contact .sec_ttl_wrap{
  text-align: center;
}
.contact .sec_ttl.inner {
    gap: 8px;
}
/* フォーム */
.hidden-fields-container, .wpcf7-response-output{
  display: none;
}
.wpcf7-form{
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.form_container{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.radiobtn label{
  flex-direction: row;
  gap: 0;
  padding: 16px;
  cursor: pointer;
}
.radiobtn{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.radiobtn .wpcf7-list-item-label{
  padding-left: 8px;
}
.radiobtn .wpcf7-list-item{
    border: 1px solid #ccc;
  border-radius: 3px;
  /* width: 100%; */
  box-sizing: border-box;
  background-color: #fff;
}
.radiobtn .wpcf7-list-item input{
  margin: 0;
}
.form{
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
}
.wpcf7-submit{
  color: #fff;
  background-color: #00882D;
  border-radius: 999px;
  border: none;
  display: flex;
  align-items: center;
  height: 56px;
}
.wpcf7-list-item-label{
  font-size: 14px;
  letter-spacing: 0.35px;
  line-height: 170%;
  padding-left: 8px;
}
.form.must{
  color: red;
  font-weight: 400;
}
.contact-must{
  color: red;
}
input[type="submit"] {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.35px;
}
input[type="checkbox"] {
    margin: 0;
    width: 20px;
    height: 20px;
}
.label_container.privacy {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: center;
  padding-left: 28px;
  position: relative;
}
.label_container label{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.label_container.privacy label{
  flex-direction: row;
  gap: 0;
}
.label_container.privacy input[type="checkbox"] {
    display: none;
}
/* .contact input[type="checkbox"] {
    display: none;
}
.contact .wpcf7-list-item-label{
  position: relative;
  padding-left: 28px;
  display: inline-block;
  line-height: 20px;
}
.contact .wpcf7-list-item-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}


.contact .privacy .wpcf7-list-item-label::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  opacity: 0;
  transition: 0.2s ease-in-out;
}*/
.label_container.privacy::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}
.label_container.privacy::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 12px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

/* チェックされた時のスタイル */
.label_container.privacy input[type="checkbox"]:checked + .label_container.privacy::before {
  background-color: #00882d;
  border-color: #00882d;
}

.privacy input[type="checkbox"]:checked + label::after {
  opacity: 1;
}

/* エラー時 */
.wpcf7-not-valid-tip{
  color: red;
  display: inline-block;
  padding: 8px 0 0 8px;
  font-size: 12px;
}





.wpcf7-form-control.wpcf7-text, .wpcf7-form-control.wpcf7-textarea{
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 100%;
  box-sizing: border-box;
}
.wpcf7-form-control.wpcf7-text{
  padding: 16px;
}
.wpcf7-form-control.wpcf7-textarea{
  padding: 16px;
  height: 200px;
}
.wpcf7-form-control.wpcf7-text::placeholder, .wpcf7-form-control.wpcf7-textarea::placeholder{
  color: #c4c4c4;
  font-size: 14px;
  line-height: 170%;
  letter-spacing: 0.35px;
}
@media (min-width: 960px){
  .contact.sec_wrap {
  padding: 80px 32px 120px;
  background: #f2faf5;
}
  .radiobtn{
    flex-direction: row;
  }
  /* .radiobtn .wpcf7-list-item{
  max-width: 300px;
} */
}
/* フッター */
.footer{
  padding: 40px 24px;
  background: var(--RD_Brand-Primary_dark, #0f6b4a);
}
.footer.inner{
  gap: 24px;
}
.footer .container.inner {
  gap: 24px;
  width: 100%;
}
.logo {
  width: 209.373px;
  height: 50.664px;
}
.company.inner{
  gap: 16px;
}
.company p {
  color: var(--Common-White, #fcfcfc);
}
.info.inner{
  gap: 8px;
}
.info p {
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
}
.link {
  display: flex;
  gap: 8px;
  align-items: center;
  align-self: flex-start;
}
.link p {
  font-size: 14px;
  font-weight: 700;
  line-height: 170%;
}
.nav {
  padding-left: 16px;
  border-left: 1px solid var(--Common-White, #fcfcfc);
}
.nav.inner{
  gap: 8px;
}
.nav li{
  max-width: 150px;
}
.nav a {
  display: block;
  color: var(--Common-White, #fcfcfc);
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
}
.copy_wrap {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}
small {
  color: var(--Common-White, #fcfcfc);
  font-size: 10px;
  font-weight: 400;
  line-height: 150%;
}
@media (min-width: 960px) {
  .footer{
    padding: 64px 32px 24px 32px;
  }
  .footer.inner {
    gap: 64px;
  }
  .footer .container.inner {
  gap: 48px;
  width: 100%;
  flex-direction: row;
  align-items: flex-start;
}
.nav{
  flex: 1;
}
.company{
  flex: 1;
}
}
/*-----------------------
-------------------------

下層ページ

--------------------------
------------------------*/

/*------------------------

共通

------------------------*/
/* 下層ヒーロー */
.page #hero{
  padding: 96px 24px 40px 24px;
  height: auto;
  background: linear-gradient(
      0deg,
      rgba(6, 136, 76, 0.6) 0%,
      rgba(6, 136, 76, 0.6) 50%
    ),
    url(../img/img_01.webp) lightgray 50% / cover no-repeat;
}
.page #hero h1,
.page #hero .notes{
  color: var(--Common-White, #fcfcfc);
}
.page #hero h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 1.4px;
}
.page #hero .container.inner{
  gap: 8px;
}
.page #hero .gnav .container.inner{
  gap: 40px;
}
.page #hero .notes {
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.8px;
}
/* セクション全体 */
.sec_wrap{
  padding: 40px 24px;
}
.sec_wrap h2{
  font-weight: 700;
  line-height: 150%;
}
.container.inner{
  gap: 16px;
}
/* 表の中身 */
.table_item{
  padding: 16px 0;
  border-top: 1px solid #b4b4b4;
}
.table_item:last-of-type{
  border-bottom: 1px solid #a9a9a9;
}
.table_item dt, .table_item dd{
  font-size: 14px;
  line-height: 170%;
}
.table_item dt {
  font-weight: 700;
  width: 200px;
}
.table_item dd{
  font-weight: 400;
}
@media (min-width: 960px) {
.page #hero {
    padding: 144px 32px 64px 32px;
  }
.page #hero h1 {
    font-size: 40px;
    letter-spacing: 2px;
  }
.page #hero .notes {
    font-size: 20px;
    letter-spacing: 1px;
  }
/* .sec_wrap .inner{
  gap: 24px;
} */
}
/*------------------------

会社概要

------------------------*/
#company h2{
  font-size: 18px;
  letter-spacing: 0.9px;
}
.ex_list.inner{
  gap: 40px;
}
.ex_item.inner{
  gap: 24px;
}
.ex_img {
  display: flex;
  justify-content: center;
}
.ex_img img {
  max-width: 180px;
}
.ex_text.inner {
  gap: 16px;
}
.ex_text p {
  font-size: 12px;
  font-weight: 400;
  line-height: 170%;
}
.ex_name.inner {
  gap: 8px;
}
.ex_name p:first-of-type {
  font-size: 14px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.8px;
}
.ex_name p:last-of-type {
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.8px;
}
@media (min-width: 960px) {
  .overview.sec_wrap{
    padding: 96px 32px 80px 32px;
  }
  #company h2{
    font-size: 24px;
    letter-spacing: 1.2px;
  }
  .table_item {
    display: flex;
    padding: 24px 16px;
  }
  #executive.sec_wrap {
    padding: 80px 32px 120px 32px;
  }
  .mudium .inner {
    max-width: 800px;
  }
  #company .container.inner{
    gap: 24px;
  }
  .ex_item.inner{
  flex-direction: row;
}
  .ex_img{
    width: 176px;
    height: 235px;
  }
  .ex_text p {
  font-size: 14px;
}
.ex_name.inner {
  margin: 0;
}
  .ex_name p:first-of-type {
  letter-spacing: 0.8px;
}
.ex_name p:last-of-type {
  font-size: 20px;
  letter-spacing: 1px;
}
}
/*------------------------

採用

------------------------*/
/* リクルートボタン */
.job .container.inner{
  gap: 40px;
}
.career .sec_ttl_wrap.inner {
    gap: 16px;
}
.rec_link {
  padding: 24px;
  background: repeating-linear-gradient(
    45deg,
    #deebe3,
    #deebe3 1px,
    transparent 0,
    transparent 8px
  );
  position: relative;
}
.rec_link.inner {
  gap: 16px;
}
.rec_btn {
  border-radius: 999px;
  background: var(--Common-White, #fcfcfc);
  padding: 0;
  flex: 1;
}
.link_wrap{
  display: flex;
  justify-content: center;
  gap: 24px;
}
.link_wrap p{
    font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.35px;
}
.link_img{
  width: 24px;
  height: 24px;
}
.rec_btn a{
  display: block;
  padding: 8px 16px;
  color: var(--RD_Brand-Primary, #00882D);
}
/* キャリア採用 */
.career.sec_wrap{
  padding: 40px 24px 80px;
}
.career .container.inner {
    gap: 40px;
}
.recruit .sectiontittle_wrap {
  gap: 16px;
}
.career .job .inner{
  gap: 24px;
}
.job h2{
font-weight: 700;
line-height: 150%;
letter-spacing: 0.8px;
}
.job .table_item.inner{
  gap: 8px;
}
.job .flow_list.inner{
  gap: 8px;
}
.job_text p{
  font-size: 12px;
font-weight: 400;
line-height: 170%;
}
.page .job dt {
  font-size: 12px;
}
.page .job dd {
  font-size: 12px;
}
.job_tab{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tab{
  background: var(--Common-LightGrey, #CCC);
  border-radius: 4px;
}
.tab a{
  display: block;
  text-align: center;
  padding: 18px 0;
  color: var(--Common-Black, #222);
  font-size: 12px;
  font-weight: 700;
  line-height: 170%;
}
.tab.selected{
  background: var(--RD_Brand-Primary, #00882D);
}
.tab.selected a{
  color: var(--Common-White, #FCFCFC);
}
.job_item{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job .flow_item {
  padding: 32px 8px;
}
.recruit .flow_item .tittle.inner {
    gap: 8px;
}
.recruit .flow_item .tittle p:first-of-type {
  color: var(--RD_Brand-Primary, #00882d);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.9px;
}
.recruit .flow_item .tittle p:last-of-type {
  line-height: 170%;
  letter-spacing: 0.35px;
}
.job.cta .text p:last-of-type {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1.1px;
}
.job .triangle img{
  width: 13.402px;
  height: 26.805px;
}
@media (min-width: 960px) {
.career.sec_wrap {
  padding: 80px 32px;
}
  .job .table_item.inner {
  gap: 16px;
  flex-direction: row;
}
  .rec_link {
    padding: 64px 32px;
  }
  .rec_link .item img {
        width: 24px;
        height: 24px;
    }
  .rec_link .inner {
    gap: 40px;
    flex-direction: row;
  }
  .rec_link p {
    letter-spacing: 1px;
  }
  .rec_link .item {
    border-radius: 999px;
    background: var(--Common-White, #fcfcfc);
    padding: 16px;
    flex: 100;
  }
  .link_wrap p{
    font-size: 16px;
  letter-spacing: 0.4px;
}
  .career .container.inner{
  gap: 80px;
}
.job_wrap{
  gap: 24px;
}
.job_text{
  padding: 0 16px;
  
}
.job_text p{
    font-size: 14px;
}
  .job .container.inner{
    flex-direction: row;
    justify-content: space-between;
  gap: 0px;
}
.job h2{
  font-size: 20px;
  letter-spacing: 1px;
}
.job_wrap{
  max-width: 800px;
}
.job_tab{
  flex-direction: row;
}
.job_tab .tab{
  flex: 100;
}
    .job .cta .text p:first-of-type {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .job .cta .text p:last-of-type {
    font-size: 32px;
    letter-spacing: 1.6px;
  }
  .job .flow_list {
    flex-direction: row;
    gap: 8px;
    max-width: 800px;
    width: 100%;
  }
  .job .flow_item {
    flex: 1;
  }
    .job .flow_item .tittle {
    width: auto;
  }
  .job .item {
    padding: 24px 0;
}
.page .job dt {
    font-size: 14px;
}
.page .job dd {
    font-size: 14px;
    flex: 1 0 0;
}
.job.cta .text p:last-of-type {
    font-size: 32px;
    letter-spacing: 1.6px;
}
.rec_btn a {
    padding: 16px;
    font-size: 16px;
    letter-spacing: 0.4px;
}
 .job .flow_list > * {
    flex: 1;
    min-width: 0;
  }
    .job .flow_list > .triangle {
    flex: 0 0 auto;
  }
}
.career_form .contact.sec_wrap {
  padding: 40px 24px 96px;
  background: #f2faf5;
}
.career_form .form_container{
  gap: 32px;
}
/* タブのコンテンツをデフォルトで非表示にする */
.job_wrap .se_mobile,
.job_wrap .se_web,
.job_wrap .se_infra {
  display: none;
}

/* activeクラスがついたコンテンツだけを表示する */
.job_wrap .active {
  display: block;
}
@media (min-width: 960px){
    .contact.sec_wrap {
  padding: 80px 32px 120px;
  background: #f2faf5;
}
}



/* 元のラジオボタンを完全に非表示にする */
.radiobtn .wpcf7-list-item input[type="radio"] {
  display: none;
}

/* ラベルのスタイル（新しいラジオボタンの土台） */
.radiobtn .wpcf7-list-item-label {
  position: relative;
  display: flex; /* テキストとボタンを横並びにする */
  align-items: center;
  padding-left: 32px; /* 新しいボタンのスペースを確保 */
  cursor: pointer;
}

/* 新しいラジオボタンの丸い外枠 */
.radiobtn .wpcf7-list-item-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid #ccc; /* 枠線の色 */
  border-radius: 50%; /* 丸い形にする */
  box-sizing: border-box;
}
.radiobtn .wpcf7-list-item-label::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: transparent;
  border-radius: 50%;
  transition: background-color 0.2s ease-in-out;
}

/* 選択された input に続く label のスタイル */
.radiobtn .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label::before {
  border-color: #00882d; /* 選択時の枠線の色 */
}

/* 選択された input に続く label の中身の色 */
.radiobtn .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label::after {
  background-color: #00882d; /* 選択時の内側の色 */
}
.radiobtn .wpcf7-list-item.selected {
  border: 1px solid #00882d; /* 選択されたときに枠線を緑にする */
}
/* 1. 元のチェックボックスを非表示にする */
input [type="checkbox"] {
  appearance: none;
  -webkit-appearance: none; /* Safari向けの指定 */
  display: none; /* 完全に非表示にする */
}

/* 2. 新しいチェックボックスの枠を作成する */
.checkbox-label {
  position: relative;
  padding-left: 25px; /* チェックボックスのスペースを確保 */
  cursor: pointer;
}

.checkbox-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #ccc; /* 枠線の色 */
  border-radius: 4px;
}

/* 3. チェックされた時のスタイルと色を指定する */
.my-checkbox:checked + .checkbox-label::before {
  background-color: #00882d; /* ここで色を変更 */
  border-color: #00882d;
}

/* 4. チェックマークを作成する（任意） */
.checkbox-label::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 12px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  opacity: 0; /* 最初は非表示 */
}

.my-checkbox:checked + .checkbox-label::after {
  opacity: 1; /* チェックされたら表示 */
}