@charset "UTF-8";
body {
  font-family: "Inter", sans-serif;
}

ul li {
  list-style: none;
}

a {
  text-decoration: none;
}
.mb_br{
  display: none;
}
@media (width < 789px){
  .mb_br{
  display: block;
}
}
.service_wrapper, .flow_wrapper,
.company_wrapper, .cta_wrapper{
    max-width: 1280px;
    margin: 0 auto;
}
@media (width < 1281px) {
.service_wrapper, .flow_wrapper,
.company_wrapper, .cta_wrapper{
    max-width: 1100px;
}
}
@media (width < 1101px) {
.service_wrapper, .flow_wrapper,
.company_wrapper, .cta_wrapper{
    max-width: 789px;
}
}
@media (width < 789px) {
.service_wrapper, .flow_wrapper,
.company_wrapper, .cta_wrapper{
  width: 100%;
  padding: 0 5%;
}
}
/*----------ヘッダー----------*/
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background-color: #fff;
}
header a {
  color: #000;
  transition: all 0.3s ease;
}
header a:hover {
  opacity: 0.4;
}
.header_title{
    font-weight: normal;
    font-size: 14px;
}
@media (width < 1101px){
.header_title{
  display: none;
}
}

.slide_nav_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 15px;
}
@media (width < 1441px) {
  .slide_nav_wrapper {
    padding: 20px 5%;
  }
}
@media (width < 769px) {
  .slide_nav_wrapper {
    display: none;
  }
}

.slide_inner{
    display: flex;
    align-items: center;
    gap: 20px;
}

.header_logo {
  display: inline-block;
  width: 65px;
  height: 71px;
}
@media (width < 431px) {
  .header_logo {
    width: 45px;
    height: 50px;
  }
}
.header_logo img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.header_pc_nav {
  width: 50%;
}
@media (width < 1101px) {
  .header_pc_nav {
    width: 70%;
  }
}
.header_pc_nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header_pc_nav .contact_btn {
  background-color: #00A651;
  width: 180px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* 立体感（浮き上がり） */
  border-radius: 50px;
  box-shadow: 0 6px 0 #095944; /* 下方向に濃い影 */
  transition: all 0.15s ease-out;
}

.header_pc_nav .contact_btn a {
  color: #fff;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 50px;
  text-align: center;
}

/* ホバーで押し込む表現 */
.header_pc_nav .contact_btn:hover {
  box-shadow: 0 0 0 #444;     /* 影を消す（押されたように） */
  transform: translateY(6px); /* 下に6px動く → 押してるアニメ */
}

.contact_formbtn:hover {
  border-radius: 15px;
}

.mb_header__container {
  display: none;
  align-items: center;
  justify-content: space-between;
}
@media (width < 769px) {
  .mb_header__container {
    display: flex;
    padding-left: 5%;
  }
}

/* ===============================================
ハンバーガーボタンのスタイリング
=============================================== */
.hamburger {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100px;
  margin: 0;
  cursor: pointer;
  position: relative;
  z-index: 550;
  transition: 0.5s all;
}

@media (width < 769px) {
  .hamburger {
    width: 120px;
    height: 80px;
  }
}
@media (width < 431px) {
  .hamburger {
    width: 80px;
    height: 70px;
  }
}
.hamburger span,
.hamburger span::after,
.hamburger span::before {
  position: absolute;
  display: block;
  content: "";
  width: 50px;
  height: 3px;
  background-color: #404040;
  transition: all 0.5s;
}

@media (width < 1281px) {
  .hamburger span,
.hamburger span::after,
.hamburger span::before {
    width: 30px;
  }
}
.hamburger span::before {
  top: -10px;
}

.hamburger span::after {
  bottom: -10px;
}

.hamburger.open span {
  background-color: transparent;
}

.hamburger.open span::before {
  top: 0;
  transform: rotate(45deg);
  background-color: #fff;
}

.hamburger.open span::after {
  bottom: 0;
  transform: rotate(-45deg);
  background-color: #fff;
}

/* ===============================================
メニューのスタイリング
=============================================== */
.mb_nav {
  position: fixed;
  width: 60%;
  height: 100vh;
  top: 0;
  right: -120%;
  background-color: #404040;
  opacity: 0.9;
  padding: 100px 0;
  transition: all 0.5s;
  z-index: 500;
}

@media (width < 431px) {
  .mb_nav {
    width: 100%;
    padding: 30% 0 100px 0;
  }
}
.mb_nav__list {
  display: block;
}

.mb_nav__list li {
  padding-left: 5%;
}

.mb_nav__item a {
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  padding: 20px 0 20px 50px;
  text-transform: uppercase;
}

.mb_nav__item a:hover {
  color: #0f5474;
  background-color: #fff;
  width: 60%;
}

@media (width < 1101px) {
  .mb_nav__item a:hover {
    width: 80%;
  }
}
@media (width < 769px) {
  .mb_nav__item a:hover {
    width: 100%;
  }
}
.mb_nav.open {
  right: 0;
}

.mb_header__container {
  display: none;
  align-items: center;
  justify-content: space-between;
}
@media (width < 769px) {
  .mb_header__container {
    display: flex;
  }
}


/* ===============================================
ファーストビュー
=============================================== */
.fv_hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  z-index: 1;
}

/* 背景レイヤー（共通） */
.fv_hero::before, 
.fv_hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: fadeSlide 16s infinite;
  opacity: 0;
}

/* 1枚目 */
.fv_hero::before {
  background-image: url("images/fv1.webp");
  animation-delay: 0s;
}

/* 2〜4枚目は子要素で配置 */
.fv_hero::after {
  animation: none; /* ::after は使わないので無効 */
}

.fv_hero div.bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fadeSlide 16s infinite;
}

/* 2〜4枚 */
.fv_hero .bg.bg2 {
  background-image: url("images/fv2.webp");
  animation-delay: 4s;
}
.fv_hero .bg.bg3 {
  background-image: url("images/fv3.webp");
  animation-delay: 8s;
}
.fv_hero .bg.bg4 {
  background-image: url("images/fv4.webp");
  animation-delay: 12s;
}
@media (width < 768px){
  .fv_hero::before {
  background-image: url("images/mb-fv1.png");
}
.fv_hero .bg.bg2 {
  background-image: url("images/mb-fv2.png");
}
.fv_hero .bg.bg3 {
  background-image: url("images/mb-fv3.png");
}
.fv_hero .bg.bg4 {
  background-image: url("images/mb-fv4.png");
}
}

/* フェードアニメーション */
@keyframes fadeSlide {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}

.fv_wrapper{
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 900;
}
.fv_wrapper h2{
    color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 990;
    text-align: center;
    white-space: nowrap;
}
.font_bgs{
    font-size: 35px;
}
@media (width < 1101px){
  .font_bgs{
    font-size: 30px;
}
}
@media (width < 431px){
  .fv_wrapper h2{
    font-size: 20px;
  }
  .font_bgs{
    font-size: 25px;
}
}

/* ===============================================
コンセプト
=============================================== */
.concept{
    background-color: #DBDBDB;
    padding: 5% 0 3% 0;
}
.concept_img {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.slider {
  width: 100%;
  height: 250px; /* 好きな高さに調整 */
  overflow: hidden;
  position: relative;
}
.slide-track {
  display: flex;
  width: calc(250px * 12); /* 画像幅 × 枚数(6×2)に合わせる */
  animation: scroll 30s linear infinite;
  gap: 20px;
}
.slide {
  width: 280px;   /* 画像の幅 */
  height: 180px;  /* 画像の高さ */
  flex-shrink: 0;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 横スクロールアニメーション */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 6)); /* 半分まで移動（6枚分） */
  }
}

.sec_title{
    color: #0A8F0A;
}
.concept_wrapper{
    text-align: center;
    padding-bottom: 5%;
}
@media (width < 431px){
.concept_wrapper{
    padding-bottom: 10%;
}
}
.concept_wrapper h2{
    font-size: 25px;
    line-height: 2.5rem;
    padding: 15px 0 30px 0;
    font-weight: normal;
}
.concept_wrapper p{
    font-size: 16px;
    line-height: 2.5rem;
}
@media (width < 769px){
.concept_wrapper h2{
    font-size: 20px;
    padding: 10px 0 20px 0;
}
.concept_wrapper p{
    font-size: 14px;
}
}
@media (width < 431px){
.concept_wrapper p{
    font-size: 12px;
}
}
/* ===============================================
サービス一覧
=============================================== */
.service{
    background-color: #DBDBDB;
}
.service h2{
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 0.1rem;
}
@media (width < 769px){
.service h2{
    font-size: 25px;
}
}
@media (width < 431px){
.service h2{
    font-size: 20px;
}
}
.service_inner{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ← 3列 */
    grid-template-rows: repeat(2, auto);   /* ← 2行 */
    gap: 20px; /* ボックス間の余白 */
    padding: 5% 0 10% 0;
}
@media (width < 769px){
.service_inner{
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(auto);
    gap: 40px;
}
}
.s_box{
    background-color: #fff;
    border-radius: 5px;
    padding: 5% 10% 10% 10%;
}
.s_box h3{
    font-size: 20px;
    text-align: center;
    padding-bottom: 5%;
}
@media (width < 431px){
.s_box h3{
    font-size: 18px;
}
.s_box p{
  font-size: 14px;
  line-height: 2rem;
}
}
.s_box img{
    display: block;
    width: 156px;
    margin: 0 auto;
}

/* ===============================================
流れ
=============================================== */
.flow{
    background-color: #DBDBDB;
    padding: 5% 0;
}
@media (width < 431px){
.flow{
    padding: 10% 0;
}
}
.flow .sec_title{
    text-align: center;
}
.flow h2{
    font-size: 30px;
    text-align: center;
    font-weight: normal;
    letter-spacing: 0.1rem;
}
@media (width < 769px){
.flow h2{
    font-size: 25px;
}
}
.f-box{
    background-color: #fff;
    position: relative;
    padding: 5% 10% 10% 10%;
}
.f-box h3{
    font-size: 20px;
    text-align: center;
    padding-bottom: 5%;
}
@media (width < 431px){
.f-box h3{
    font-size: 18px;
}
.f-box p{
  font-size: 14px;
  line-height: 2rem;
}
}

.f-box img{
    display: block;
    width: 156px;
    margin: 0 auto;
}

.flow_inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 50px;
  position: relative;
  padding: 5% 0 7% 0;
}
@media (width < 769px){
.flow_inner {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 60px 50px;
}
}

/* 配置変更 */
.step1 { grid-area: 1 / 1; }
.step2 { grid-area: 1 / 2; }
.step3 { grid-area: 1 / 3; }
.step4 { grid-area: 2 / 3; }
.step5 { grid-area: 2 / 2; }
.step6 { grid-area: 2 / 1; }

@media (width < 769px){
.step1 { grid-area: 1 / 1; }
.step2 { grid-area: 1 / 2; }
.step3 { grid-area: 2 / 2; }
.step4 { grid-area: 2 / 1; }
.step5 { grid-area: 3 / 1; }
.step6 { grid-area: 3 / 2; }
}

/* 共通矢印 */
.f-box::after {
  content: "";
  position: absolute;
  width: 50px; 
  height: 50px;
  background-image: url("images/Polygon8.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

/* 01 → 02 */
.step1::after {
  top: 50%;
  right: -60px; /* gap の半分に出す */
  transform: translateY(-50%) rotate(0deg);
}
/* 02 → 03 */
.step2::after {
  top: 50%;
  right: -60px;
  transform: translateY(-50%) rotate(0deg);
}
/* 03 → 04（下方向へ） */
.step3::after {
  bottom: -65px; /* gap の中央に出す */
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
}
/* 04 → 05（左へ） */
.step4::after {
  top: 50%;
  left: -60px;
  transform: translateY(-50%) rotate(180deg);
}
/* 05 → 06（左へ） */
.step5::after {
  top: 50%;
  left: -60px;
  transform: translateY(-50%) rotate(180deg);
}
/* step6 は終点 → 矢印なし */
.step6::after {
  display: none;
}

@media (width < 789px) {
  .flow_inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px; /* 好きに調整してOK */
  }

  .step1 { grid-area: 1 / 1; }
  .step2 { grid-area: 2 / 1; }
  .step3 { grid-area: 3 / 1; }
  .step4 { grid-area: 4 / 1; }
  .step5 { grid-area: 5 / 1; }
  .step6 { grid-area: 6 / 1; }
}

@media (width < 789px) {

  /* すべての矢印の初期化 */
  .f-box::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: url("images/Polygon8.webp");
    background-size: contain;
    background-repeat: no-repeat;

    top: auto;      /* リセット */
    bottom: -60px;  /* 下に出す */
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(90deg); /* 下向き */
  }

  /* 最後（step6）だけ矢印なし */
  .step6::after {
    display: none;
  }
}

/* ===============================================
CTA
=============================================== */
.cta_inner{
    padding-bottom: 3%;
}
.cta_inner img{
    display: block;
    width: 203px;
    margin: 0 auto;
}
@media (width < 769px){
.cta_inner img{
    width: 120px;
}
}
@media (width < 431px){
.cta_inner img{
    width: 100px;
}
}
.cta_btn{
    display: block;
    width: 780px;
    margin: 0 auto;
}
@media (width < 769px){
.cta_btn{
    width: 100%;
}
}
.cta a{
    transition: all 0.3s ease;
}
.cta a:hover{
    opacity: 0.8;
}

/* ===============================================
会社概要
=============================================== */
.company {
  padding: 5% 0;
}
@media (width < 769px) {
.company {
  padding: 10% 0 5%;
}
}
.company p{
    text-align: center;
}
.company h2{
    text-align: center;
    font-size: 30px;
    letter-spacing: 0.2rem;
    font-weight: normal;
}
@media (width < 769px){
.company h2{
    font-size: 25px;
}
}
@media (width < 431px){
.company h2{
    font-size: 20px;
}
}
.company_inner {
  padding: 5% 0 5% 0;
}

@media (width < 431px) {
  .company_inner {
    padding: 10% 3% 15% 3%;
  }
}
.company_inner table {
  border-collapse: collapse; /* セル枠を重ねて表示 */
  width: 80%;
  margin: 0 auto;
  font-size: 18px;
}

@media (width < 1281px) {
  .company_inner table {
    font-size: 16px;
  }
}
@media (width < 431px) {
  .company_inner table {
    width: 100%;
  }
}
.company_inner tr {
  border-bottom: solid 1px #D9D9D9;
}

.company_inner td {
  padding: 2% 0;
}

@media (width < 431px) {
  .ccompany_inner td {
    font-size: 12px;
  }
}
.company_inner .contents_more {
  padding-left: 5%;
}

.company_inner .contents_title {
  padding-left: 15px;
  white-space: nowrap;
}

@media (width < 431px) {
  .company_inner .contents_title {
    padding-left: 0px;
  }
}

/* ===============================================
フッター
=============================================== */
footer{
    background-color: #242424;
    text-align: center;
    padding: 10px 0;
}
footer .copywrite{
    color: #fff;
    font-size: 14px;
}