﻿@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

/* ==================================================
   FV：トップの背景写真・ロゴ・キャッチコピー
   ================================================== */
/* 画像の高さ */
.bg{
    height: 900px;
}
/*top*/
/* top画像より前にロゴとテキストを置く */
.home{
    z-index: 1;
    position: relative;
}

/* top画像 */
.toppics img {
    max-width: 100%;
    width: 2000px;
    height: 1000px;
    overflow: hidden;
    object-fit: cover;
    z-index: 1;
    position: absolute;
}

.top{
    text-align: center;
}
.top .toplogo{
    z-index: 10;
    width: 400px;
    margin-top: 2%;
}
.top h1{
    z-index: 10;
    color: white;
    font-size: 72px;
    transform: translateY(-42px);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7), 0 0 5px rgba(0, 0, 0, 0.5);
}
/* top h1改行非表示 */
.br_disp1{
    display: none
}
.top span{
    font-family: inherit;
}

/* ==================================================
   GREETING：挨拶エリアの背景アニメーション・見出し・本文
   ================================================== */
/* container */
/* あいさつ　背景 */
.container{
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 80px;
}
/* 四角が現れる領域 */
.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 95%;
  height: 100%;
  overflow: hidden;
  margin: 0;
}
/* 四角全部に効かすcss */
.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  animation: rotateUp 25s linear infinite;
  bottom: -150px;
  border: 2px solid #0ba29a4a;
  border-radius: 5%;
}

/* 要素のスタイルを個別に指定 大きさ・秒数・位置など */
.circles li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; animation-duration: 8s; }
.circles li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 1s; animation-duration: 8s; }
.circles li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 3s; }
.circles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 14s; }
.circles li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; animation-duration: 10s; }
.circles li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; animation-duration: 10s; }
.circles li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 5s; animation-duration: 10s; }
.circles li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 10s; animation-duration: 35s; }
.circles li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 25s; }
.circles li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 8s; }
.circles li:nth-child(11) { left: 30%; width: 40px; height: 40px; animation-delay: 6s; animation-duration: 15s; }
.circles li:nth-child(12) { left: 80%; width: 100px; height: 100px; animation-delay: 5s; animation-duration: 20s; }
.circles li:nth-child(13) { left: 55%; width: 70px; height: 70px; animation-delay: 1s; animation-duration: 12s; }
.circles li:nth-child(14) { left: 90%; width: 30px; height: 30px; animation-delay: 3s; animation-duration: 15s; }
.circles li:nth-child(15) { left: 15%; width: 120px; height: 120px; animation-delay: 7s; animation-duration: 18s; }

@keyframes rotateUp {
    0%{ transform: translateY(0) rotate(0deg); }
    100%{ transform: translateY(-2000px) rotate(720deg); }
}

/* 挨拶の囲み */
#inContainer{
    position: relative;
    margin: 0 7%;
    padding: 0;
    padding-bottom: 30px;
    background:#ffffff90;
    z-index: 200;
    top: 20px;
    border: solid 15px;
    border-top: solid 150px;
    border-image: linear-gradient(-135deg, #0ba29aac 0%, #696ac5 56%, #b490ca 100%);
    border-image-slice: 1;
    padding: 0 10px 25px; /* 👈 末尾に「15px」を追加（または一番下に padding-bottom: 15px; を追記） */
    box-sizing: border-box;
}

/*philosophys*/
.philosophys{
    background:transparent;
    margin: 0;
    color: black;
    padding: 30px 80px;
}

.phititle {
    display: flex;
    justify-content: center;
    position: absolute;
    top: -140px;
    left: 0px;
    width: 100%;
    z-index: 1;
}

@font-face {
    font-family: 'Noto Sans JP';
    src: url('/footer/font/NotoSansJP-Medium.ttf') format('truetype');
}
  
/* 挨拶の見出し */
.top_headline {
    display: flex;
    justify-content: center;
    max-width: 750px;
    font-size: 45px;
    font-family: inherit;
    font-weight: bold;
    position: relative;
    margin: 0 auto;
    color: white;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
    transform: translateY(18px);
}
  
.top_headline span {
    opacity: 0;
}
  
.headline_move::before {
    content: '';
    position: absolute;
    bottom: -12px;
    height: 7px;
    background: repeating-linear-gradient(-45deg, #0ba29af2, #0ba29af2 2px, white 2px, white 4px);
    animation: border_anim 1s forwards;
}
  
@keyframes border_anim {
  0%{ width: 0%; }
  100%{ width: 100%; }
}
  
.headline_move span {
    display: inline-block;
}
  
.headline_move span:nth-of-type(2) { animation-delay: .08s; }
.headline_move span:nth-of-type(3) { animation-delay: .16s; }
.headline_move span:nth-of-type(4) { animation-delay: .24s; }
.headline_move span:nth-of-type(5) { animation-delay: .32s; }
.headline_move span:nth-of-type(6) { animation-delay: .4s; }
.headline_move span:nth-of-type(7) { animation-delay: .48s; }
.headline_move span:nth-of-type(8) { animation-delay: .56s; }
.headline_move span:nth-of-type(9) { animation-delay: .64s; }
.headline_move span:nth-of-type(10) { animation-delay: .72s; }
.headline_move span:nth-of-type(11) { animation-delay: .8s; }
.headline_move span:nth-of-type(12) { animation-delay: .88s; }
.headline_move span:nth-of-type(13) { animation-delay: .96s; }
.headline_move span:nth-of-type(14) { animation-delay: 1.04s; }
.headline_move span:nth-of-type(15) { animation-delay: 1.12s; }
.headline_move span:nth-of-type(16) { animation-delay: 1.2s; }
.headline_move span:nth-of-type(17) { animation-delay: 1.28s; }
  
.headline_rotate span {
    color: white;
    opacity: 0;
    transform: translate(0, -100px) rotate(360deg) scale(0);
    animation: revolveDrop 1s forwards;
}
    
@keyframes revolveDrop {
    30% { transform: translate(0, -50px) rotate(180deg) scale(1); }
    60% { transform: translate(0, 20px) scale(.8) rotate(0deg); }
    100% { transform: translate(0) scale(1) rotate(0deg); opacity: 1; }
}

.phi h2 { font-size: 35px; }
.phi h3 {
    font-size: 25px;
    color: #0ba29aac;
    font-family: inherit;
}

/* ==================================================
   ABOUT / SERVICE FLOW / WORKS：依頼の流れ・工事内容
   ================================================== */
.function {
    text-align: center;
    background: transparent;
    margin: 0;
    height: auto; /* 古い1100pxなどの固定を解除 */
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
   background-image: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.2)), url("/img/zyuutaku.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed
}

/* ABOUT見出し */
.function .fun h2{
    font-size: 50px;
    font-family: inherit;
    margin: 60px 0;
    margin-top: 90px;
    color: #ffffff; /* 文字色を白に指定 */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7), 0 0 5px rgba(0, 0, 0, 0.5);
}
.function .fun h2 span{
    font-size: 20px;
    color: #e0f7f6;
}

/* 大元の親枠を「縦並び」のFlexboxにする */
.function .contents {
    display: flex;
    flex-direction: column; /* 縦に積み上げる */
    align-items: center;
    gap: 40px;              /* 各行の上下の隙間 */
    width: 90%;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0;
}

/* 1行目の「業務案内・ご依頼の流れ」を包む枠（横並びにする） */
.guide_section {
    display: flex;
    flex-direction: row;
    justify-content: center; /* 中央寄せ */
    gap: 40px;              /* 2つのカードの間の余白 */
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* 「業務案内・ご依頼の流れ」カード単体の設定（画面いっぱいにせず余白を持たせる） */
.guide_box {
    width: calc(50% - 20px);
    max-width: 500px;       /* 大きな画面でも広がりすぎないように上限を設定 */
    min-width: 280px;
    flex: 1;
    padding: 70px 50px;
    background: linear-gradient(135deg,#ffffff,#f8f8f8);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
}
.guide_box h2, .guide_box p, .guide_box a {
    position: relative;
    z-index: 2;
    text-align: center;
}
.guide_box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(135deg,#0ba29a,#696ac5);
}
.guide_box h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #222;
    font-weight: bold;
    letter-spacing: 0.08em;
}
.guide_box p {
    font-size: 20px;
    line-height: 2.2;
    margin-bottom: 40px;
}
.guide_btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg,#0ba29a,#696ac5);
    color: white;
    border-radius: 100px;
    transition: 0.3s;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.guide_btn:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

/* 2行目・3行目：「造成・基礎工事」「外構・公共土木工事」カードの設定（1列100%＆背景白復元） */
.function .contents .con {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;            /* 横幅いっぱいに広げる（1列化） */
    max-width: 1200px;
    min-width: 100%;
    flex: none;
    
    /* 背景色を不透明度85%の白に設定＆すりガラス効果 */
    background: #fffffff3;
    background-color: #fffffff3;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: 0.3s;
    
    margin: 0 auto;
    padding: 50px 60px;     /* 横長になった文章が読みやすいように左右に余白を確保 */
    box-sizing: border-box;
}
.function .contents .con:hover {
    transform: translateY(-8px);
}
.function .contents .con .mark { width: 100px; }
.function .contents .con h3 {
    color: #0ba29aac;
    font-size: 36px;
    margin-bottom: 30px;
}
.function .contents .con p {
    text-align: left;
    letter-spacing: 0.1em;
    font-size: 20px;
    line-height: 2.1;
}

/* ==================================================
   PROJECTS：会社紹介・外部リンク
   ================================================== */
/*projects*/
.projects {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    background-image: url(../img/kouziinn\ mirai.jpg);
    background-size: cover;
    /* ↓ background-image の部分を以下のように書き換えます */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/kouziinn\ mirai.jpg);
    background-size: cover;
    
}
.pro_con {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 85%;
    color: white;
    gap: 40px;
}
.pro_con .mark { width :20%; }
.pro_con .mark img { width :250px; }
.projects .pro h3 { font-size: 30px; }

.projects .pro .links {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.projects .links .link a{ font-size: 45px; color: white; }
.projects .links .link p{ margin: 0; }
.projects .links .link img{ width: 200px; }
.span_disp {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    font-size: 30px;
}
.sns_link_wrap { display: flex; }
.link_wrap { display: flex; gap: 10px; }
.drive_link img { width: 200px; }
.recruit_link img { width: 175px; }
.recruit_link {
    border: 3px solid #fff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    margin-top: 4px;
    height: 48px;
}
.br_disp2 { display: none; }

/* ==================================================
   SCROLL ANIMATION：スクロール時に要素を表示する動き
   ================================================== */
/*要素が動くアニメーション*/
.move_bottom{
    opacity: 0;
    transform: translate3d(0, 100px, 0);
    transition: opacity 1.5s, transform 1.5s;
}
.move_bottom.move_bottom_after{
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.move_left{
    transform: translate3d(-200%, 0, 0);
    transition: transform 1.5s;
}
.move_left.move_left_after{
    transform: translate3d(0, 0, 0);
}
.move_right{
    transform: translate3d(200%, 0, 0);
    transition: transform 1.5s;
}
.move_right.move_right_after{
    transform: translate3d(0, 0, 0);
}

footer {
    position: relative;
    z-index: 9998;
    background-color: #ffffff ;
}
/* 本文全体を上にずらす */
.greeting_text {
    margin-top: -10px; /* 👈 マイナスの値を設定して上に移動 */
    position: relative; /* 念のため追加 */
    z-index: 2;         /* 念のため追加 */
}
.greeting_text p{
    font-size: 17px;
    line-height: 2.2;
}

/* ---------------------------------------------------
   共通レスポンシブ (ブレイクポイントごとに整理)
   --------------------------------------------------- */
@media (max-width: 1300px){
    .pro_con { flex-direction: column; justify-content: center; gap: 0px; }
    .pro_con .mark, .pro_con .text { width: 80%; margin: 0 auto; }
    .pro_con .mark { display: flex; justify-content: center; }
    .projects { height: 1000px; }
}

@media (max-width: 1000px){
    .top_headline { width: 675px; font-size: 45px; }
    .company_name { width: min(675px, 90%); }
}

@media (max-width: 900px){
    .top .toplogo{ max-width: 400px; width: 100%; }
    .top_headline { width: 615px; font-size: 40px; }
    .company_name { width: min(615px, 90%); }
    .philosophys .phititle { top: -125px; }
    .br_disp2 { display: block; }
    .projects{ flex-wrap: wrap; gap: 0; }
    .projects .mark img{ max-width: 250px; width: 100%; }
    .projects .pro .links{ flex-direction: column; }
    .span_disp { display: none; }
}

/* タブレット・スマホ（768px以下）で全て綺麗に縦1列にする */
@media (max-width: 768px){
    .top h1 { font-size: 18px; line-height: 1.5; transform: translateY(-28px); }
    .philosophys { padding: 30px 55px; }
    .top_headline { width: 570px; font-size: 35px; }
    .company_name { width: min(570px, 90%); }
    .phi h2 { font-size: 30px; }
    .greeting_text p{ font-size: 15px; line-height: 2; word-break: break-word; }

    /* 4つの枠を縦並びに崩す */
    .function .contents {
       gap: 30px;
       padding: 0 20px;
    }
    .guide_section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .guide_box {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        padding: 40px 30px;
    }
    .guide_box h2{ font-size: 24px; }

    .function .contents .con {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        padding: 40px 30px;
    }
    .function .contents .con h3{ font-size: 24px; }
}

@media (max-width: 700px){
    #inContainer { border-top: solid 130px #0ba29aac; }
    .top_headline { width: 480px; font-size: 30px; }
    .company_name { width: min(480px, 90%); }
    .philosophys .phititle { top: -105px; }
}

@media (max-width: 650px){
    .projects .pro h3 { font-size: 20px; }
    .projects .links .link img { margin-left: 20px; }
}

@media (max-width: 600px){
    .br_disp1{ display: block; }
    #inContainer { border-top: solid 100px #0ba29aac; }
    .top_headline { width: 400px; font-size: 25px; }
    .company_name { width: min(400px, 90%); }
    .philosophys { padding: 20px 20px; }
    .philosophys .phititle { top: -80px; }
    .phi h2 { font-size: 25px; }
    .phi h3 { font-size: 20px; }
}

/* 携帯画面用 */
@media (max-width: 500px){
    .greeting, .greeting_text, .greeting_text p, .greeting_text h2{
        width: 100%; max-width: 100%; box-sizing: border-box;
    }
    .greeting_text{ padding: 0 15px; }
    .greeting_text h2{ font-size: 22px; line-height: 1.5; word-break: break-word; }
    .greeting_text p{ font-size: 14px; line-height: 2; word-break: break-word; }

    .top .toplogo { width: 80%; margin-top: 25%; }
    .top h1 { margin: 0 auto; font-size: 16px; line-height: 1.5; width: 300px; transform: translateY(-30px); }

    #inContainer { margin: 0px 5%; border-top: solid 100px #0ba29aac; padding-bottom: 0px; }
    .top_headline { width: 350px; font-size: 20px; }
    .company_name { width: min(350px, 90%); }
    .philosophys .phititle { top: -75px; }
    .headline_move::before { height: 3px; }

    .phi h2 { margin-top: 0px; font-size: 20px; }
    .phi  { font-size: 16px; }

    .function .fun h2 { margin-top: 55px; font-size: 30px; }
    .link_wrap { flex-direction: column; }
    .fixed-banner {width: 100px; font-size: 10px;}
    
  

}

@media (max-width: 400px){
    #inContainer { border-top: solid 80px #0ba29aac; }
    .top_headline { width: 300px; font-size: 28px; }
    .company_name { width: min(300px, 90%); }
    .philosophys .phititle { top: -60px; }
    .function .fun h2 { margin: 30px; }
    .link_wrap { flex-direction: column; }
    .fixed-banner {width: 100px; font-size: 10px;}
}
/* 初期状態：白 */
.web_link {
    color: #ffffff;
    text-decoration: none;      /* 下線を消す */
    transition: color 0.3s ease; /* 色の変化をなめらかにする */
}

/* ホバー時：黒 */
.web_link:hover {
    color: #000000;
}
/* プロジェクトセクション内のh4タグの文字色を強制的に白にする */
.projects .pro h4 {
    background-color: rgba(255, 255, 255, 0.15); /* 背景のグレーを少し薄く透過 */
    color: #ffffff;                            /* 文字色を「白」に指定 */
    transition: all 0.3s ease;                 /* 変化をなめらかにする */
}

/* ホバー（マウスを乗せた）した時に背景を白、文字を黒にする */
.projects .pro h4:hover {
    background-color: #ffffff;                 /* 背景を純白にする */
    color: #000000;                            /* 文字色を「黒」にする */
    cursor: pointer;                                      /* マウスカーソルを指マークにする */
}
/* ⭕ 一番下にこれを貼り付けてください */
.projects .pro h4 {
    background-color: rgba(255, 255, 255, 0.15);
    text-align: center;
    color: #ffffff;
}

/* リンク（WEBSITE）自体の文字色設定 */
.projects .pro h4 a {
    color: #ffffff;         /* 通常時は「白」 */
    text-decoration: none;  /* 下線を消す */
    transition: all 0.3s ease; /* フワッと変わるアニメーション */
    display: inline-block;
}

/* マウスを乗せた（ホバー）時の設定 */
.projects .pro h4 a:hover {
    color: #000000;         /* ホバー時は「黒」 */
}
/* ---------------------------------------------------
   業務案内・ご依頼の流れ タイトル英語化カスタム
   --------------------------------------------------- */

/* 見出し全体を縦並びにして、中央に揃える設定 */
.guide_box h2 {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央寄せ */
    gap: 8px;               /* 日本語と英語の間の隙間 */
    font-size: 42px;
    margin-bottom: 30px;
    color: #222;
    font-weight: bold;
    letter-spacing: 0.08em;
}

/* 追加した英語サブタイトルの見た目 */
.guide_box h2 .en_sub {
    font-size: 14px;                      /* 👈 小さめのサイズ */
    font-family: inherit;
    color: #0ba29aac;                    /* 他のエリアと合わせたきれいな青緑色 */
    letter-spacing: 0.15em;              /* 英語らしく少し文字の間隔を広げる */
    font-weight: 500;                    /* すっきり見えるように少し細めに */
    text-transform: uppercase;            /* 小文字で書いても自動で大文字にする */
}
/* ==================================================
   WORKS：業務内容の4つのカード
   ================================================== */
/* 業務内容 縦並び4つ */
.kouzi_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.con_img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    display: block;
}

/* ↓ .function .contents .con ではなく .kouzi_list .con に変更 */
.kouzi_list .con {
    padding: 0;
    overflow: hidden;
    width: 100%;
    background: #fffffff3;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: 0.3s;
}
.kouzi_list .con:hover {
    transform: translateY(-8px);
}
.kouzi_list .con h3,
.kouzi_list .con p {
    padding: 0 40px;
}
.kouzi_list .con h3 {
    margin-top: 30px;
    color: #0ba29aac;
    font-size: 36px;
    margin-bottom: 20px;
}
.kouzi_list .con p {
    padding-bottom: 40px;
    text-align: left;
    font-size: 20px;
    line-height: 2.1;
}

@media (max-width: 768px) {
    .con_img { height: 200px; }
    .kouzi_list .con h3,
    .kouzi_list .con p { padding: 0 20px; }
    .kouzi_list .con p { padding-bottom: 30px; }
}
/* ==================================================
   SERVICE FLOW：ご依頼の流れタイムライン
   ================================================== */
/* ご依頼の流れ タイムライン */
.flow-timeline {
  position: relative;
  padding-left: 60px;
  margin-top: 30px;
  width: 100%;
  box-sizing: border-box;
}
.flow-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, #0ba29a, #696ac5);
  border-radius: 2px;
}
.flow-step {
  position: relative;
  margin-bottom: 20px;
}
.flow-dot {
  position: absolute;
  left: -48px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ba29a, #696ac5);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.flow-card {
  background: #ffffffee;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;          /* ← 追加 */
  align-items: center;    /* ← 追加 */
  gap: 14px;              /* ← 追加 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s;
  text-align: left;
}
.flow-card:hover { transform: translateX(4px); }

/* 写真 */
.flow-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.flow-card:hover { transform: translateX(4px); }
.flow-label {
  font-size: 11px;
  font-weight: bold;
  color: #0ba29a;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.flow-card h4 {
  font-size: 16px;
  color: #222;
  margin: 0 0 6px;
}
.flow-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin: 0;
  text-align: left;
}
.flow-note {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
  padding-left: 10px;
  border-left: 2px solid #ddd;
}
@media (max-width: 768px) {
  .flow-timeline { padding-left: 48px; }
  .flow-dot { left: -38px; width: 22px; height: 22px; font-size: 10px; }
}
/* ご依頼の流れ PC時サイズアップ */
@media (min-width: 769px) {
    .flow-dot {
        width: 56px;
        height: 56px;
        font-size: 22px;
        left: -68px;
        top: 24px;
    }
    .flow-timeline {
        padding-left: 90px;
    }
    .flow-timeline::before {
        left: 28px;
        width: 3px;
    }
    .flow-card {
        padding: 28px 32px;
        gap: 28px;
    }
    .flow-img {
        width: 130px;
        height: 130px;
        border-radius: 12px;
    }
    .flow-label {
        font-size: 16px;
        margin-bottom: 8px;
        letter-spacing: 0.15em;
    }
    .flow-card h4 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .flow-card p {
        font-size: 18px;
        line-height: 2;
    }
    .flow-note {
        font-size: 15px;
    }
    .flow-step {
        margin-bottom: 36px;
    }
}
.flow_section {
    background: #ffffffcc;
    padding: 80px 1%;  /* ← 数字を小さくするほど左右に広がる */
    box-sizing: border-box;
    width: 100%;
}

/* ===== 不要枠：旧デザイン。現在は .flow_group で見出しごと囲むため未使用 =====
.flow-timeline {
    padding: 42px 36px 24px 96px;
    background: rgba(224, 247, 250, 0.82);
    border: 2px solid rgba(11, 162, 154, 0.18);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(11, 162, 154, 0.12);
}

.flow-timeline::before {
    left: 56px;
    top: 42px;
    bottom: 24px;
}

@media (min-width: 769px) {
    .flow-timeline {
        padding-left: 110px;
    }

    .flow-timeline::before {
        left: 58px;
    }
}

@media (max-width: 768px) {
    .flow-timeline {
        padding: 28px 18px 16px 58px;
    }

    .flow-timeline::before {
        left: 28px;
        top: 28px;
        bottom: 16px;
    }
}
===== 不要枠ここまで ===== */

.flow_group {
    width: 100%;
    box-sizing: border-box;
    padding: 42px 36px 34px;
    background: rgba(224, 247, 250, 0.82);
    border: 2px solid rgba(11, 162, 154, 0.18);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(11, 162, 154, 0.12);
}

.flow_group .flow-timeline {
    margin-top: 24px;
    padding: 24px 0 0 96px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.flow_group .flow-timeline::before {
    left: 56px;
    top: 24px;
    bottom: 0;
}

@media (min-width: 769px) {
    .flow_group .flow-timeline {
        padding-left: 110px;
    }

    .flow_group .flow-timeline::before {
        left: 58px;
    }
}

@media (max-width: 768px) {
    .flow_group {
        padding: 28px 18px 24px;
    }

    .flow_group .flow-timeline {
        padding: 24px 0 0 58px;
    }

    .flow_group .flow-timeline::before {
        left: 28px;
        top: 24px;
        bottom: 0;
    }
}

/* WORKS OVERVIEW：業務内容見出し下の概要説明枠 */
.works_overview {
    width: 100%;
    box-sizing: border-box;
    margin: -8px auto 40px;
    padding: 34px 42px;
    background: rgba(224, 247, 250, 0.82);
    border: 2px solid rgba(11, 162, 154, 0.18);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(11, 162, 154, 0.08);
}

.works_overview p {
    max-width: 980px;
    margin: 0 auto;
    color: #333;
    font-size: 18px;
    line-height: 2.15;
    letter-spacing: 0.08em;
    text-align: left;
}

@media (max-width: 768px) {
    .works_overview {
        margin: -4px auto 30px;
        padding: 24px 18px;
        border-radius: 8px;
    }

    .works_overview p {
        font-size: 14px;
        line-height: 2;
        letter-spacing: 0.04em;
    }
}

/* 業務内容 PC時に2×2グリッド */
@media (min-width: 769px) {
    .kouzi_list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        width: 90%;
        max-width: 1200px;
    }
}
.fixed_top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border-radius: 50%;
    text-decoration: none;
    font-size: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 2px solid rgb(0, 0, 0);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.fixed_top.show {
    opacity: 1;
    pointer-events: auto;
}
.fixed_top:hover {
    transform: translateY(-4px);
    background: #0ba29a;
    color: white;
}
@media (max-width: 768px) {
    .footer_cta {
        width: 90%;
        margin: 0 auto;
    }

    .footer-contact-button {
        font-size: 16px;
        padding: 12px 24px;
    }
}

@media (max-width: 500px) {
    .footer-contact-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}
/* 会社名画像 */
.company_name{
    display:block;
    width: min(750px, 90%);
    max-width: 90%;
    margin:0 auto;
    padding-top: 24px;
    margin-bottom:-135px;
    position:relative;
    z-index:11;
    
}
.bg .toppics .pic2{
    opacity: 0.8;
}

/* ==================================================
   MOBILE POLISH：スマホでトップページを読みやすくする調整
   ================================================== */
@media screen and (max-width: 650px) {
    .company_name {
        width: min(480px, 90%);
        padding-top: 24px;
        margin-bottom: -52px;
    }

    .top .toplogo {
        width: min(260px, 72%);
        margin-top: 60px;
    }

    .top h1 {
        width: auto;
        max-width: 320px;
        padding: 0 18px;
        box-sizing: border-box;
        transform: translateY(-34px);
    }

    .philosophys {
        padding: 28px 20px;
    }

    .greeting_text p {
        font-size: 14px;
        line-height: 2;
    }

    .function {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .flow_group {
        border-radius: 8px;
        padding: 24px 14px;
    }

    .flow-timeline {
        padding-left: 44px;
    }

    .flow-card {
        display: block;
        padding: 18px;
    }

    .flow-img {
        width: 100%;
        height: 150px;
        margin-bottom: 14px;
    }

    .kouzi_list .con h3,
    .kouzi_list .con p {
        padding-left: 16px;
        padding-right: 16px;
    }

    .projects .pro_con .text {
        width: 100%;
    }
}
