html, body {
  height: 100%;
  margin: 0;
}

body {
    margin: 0;
    font-family: sans-serif;
    background-color: #F4F7F9;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 画面全体を確保 */
}

/* 固定ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    /* background-color: #00271C; */
    background-color: #fff;
    backdrop-filter: blur(8px); /* 背景ぼかし効果（対応ブラウザのみ） */
    color: #272727;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 1000;
}
.header-left {
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: bold;
}
.header-center {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    gap: 30px; /* メニューの間隔 */
}
.header-center a {
    color: #272727;
    text-decoration: none;
    font-size: 1vw;
    font-weight: 500;
}
.header-right {
    flex: 0 0 auto;
}
.custom-btn {
  width: 180px;
  height: 40px;
  background-color: #EB6E1E;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;               /* 文字の間隔 */
  cursor: pointer;
  display: flex;
  align-items: center;                /* 縦中央 */
  justify-content: center;            /* 横中央 */
  font-size: 16px;                    /* 文字サイズ調整可 */
  transition: 0.3s;                   /* ホバー用 */
}
.custom-btn:hover {
  background-color: #B9B9B9;
  color: #fff;
}

/* コンテンツ部分 */
main {
  margin-top: 60px; 
  display: block;
  margin-bottom: 100px;
  flex: 1; /* コンテンツが少なくても残りを埋める */
}

/* パンくずリスト部分 */
.breadcrumb {
  /* border: 1px solid #ff0000; */
  padding-top: 20px;
  padding-left: 60px;
  display: flex;
  align-items: flex-end;
  font-family: sans-serif;
  font-size: 14px;
  gap: 6px; 
}

.breadcrumb img{
  display: block;
  height: 1.3em;
}
.breadcrumb a {
  text-decoration: none;
  color: #37545E;
  font-weight: bold;
  border-bottom: 2px solid #37545E; /* 下線 */
  display: flex;
  align-items: flex-end; 
}

.home-icon {
  margin-right: 4px;
}

.separator {
  margin: 0 6px;
  color: #666;
}

.current {
  color: #666;
}

/* -------------------------------------------- */
/* 導入事例 */
.title1 {
  /* border: 1px solid #ff0000; */
  margin: 60px auto 0 auto;
  text-align: center; 
  font-weight: bold;
  font-size: 28px;
}
.title2 {
  display: block;
  margin: 20px auto 0 auto;
  width: 500px;
  height: auto;
}
.banner {
  /* border: 1px solid #ff0000; */
  margin: 10px auto 0 auto;
  width: fit-content;
  position: relative;
}
.banner-text {
  position: relative;
  color: #37545e;
  padding: 0 12px 0 12px;
  font-size: 38px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 1;
}
.banner .marker {
  background-color: #eb6e1e;
  position: absolute;
  width: 100%;
  height: 14px;
  left: 0;
  bottom: 5px;
  border-radius: 4px;
}

/* ボディ */
.info0 {
  width: 553px;
  height: 61px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 0 46px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #E6F2FF;
}
.info0-1 {
  /* border: 1px solid #ff0000; */
  display: flex;
  font-size: 18px;
  font-weight: bold;
}
.info0-1 .note {
  position: absolute;
  right: 0;
  bottom: -15px;
  color: #37545E;
  font-size: 10px;
  font-weight: normal;
}
.subject0{
  margin-left: 10px;
}
.info {
  /* border: 1px solid #ff0000; */
  background-color: #fff;
  margin: 100px auto 0 auto;
  width: 960px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.info3 { height: 416px; }
.info4 { height: 360px; }

.info > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  width: 100%;
  height: 100%;
}
.info-1 {
  /* border: 1px solid #ff0000; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
}
.info-2 {
  /* border: 1px solid #ff0000; */
  display: flex;
  width: 100%;
  height: 190px;
  margin: 0 0;
}
.info-2txt {
  /* border: 1px solid #ff0000; */
  width: calc(100% - 255px);
  height: 100%;
}
.info-2img {
  /* border: 1px solid #3700ff; */
  width: 255px;
  height: 100%;
}

.info4-1 {
  /* border: 1px solid #ff0000; */
  width: 348px;
}
.info4-2 {
  /* border: 1px solid #ff0000; */
  width: 572px;
}
.info4-3 {
  /* border: 1px solid #ff0000; */
  display: flex;
  width: 100%;
  height: 100%;
}

.title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1.5em;
  background-color: #0069B4;
}
.title {
  /* border: 1px solid #0069B4; */
  align-items: center;
  display: flex;
  color: #0069B4;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  position: relative;
  margin-bottom: 25px;
  gap: 5px;
}
.text {
  display: flex;
  color: #27ABDB;
  justify-content: space-between;
  align-items: flex-start;
  margin-left: 10px;
  margin-bottom: 15px;
  font-size: 18px;
}
.text-sub {
  margin-left: 30px;
  width: 494px;
  height: 143px;
  font-size: 16px;
  color: #707070;
  line-height: 1.6; /* 行間 */
}
.subject {
  font-weight: bold;
  color: #000000;
  text-align: left;
  padding-left: 10px;
  flex-shrink: 0;
  margin-right: 10px;
}
.content {
  color: #444;
  font-weight: normal;
  flex: 1;
}
.info2-2 {
  /* 画像 */
  max-height: 100%;
  width: auto;
}
.info1 .subject { width: 120px; }
.info2 .subject { width: 160px; }
.subject3 { width: 120px; }
.w80 { width: 80px!important; }
.w300 { width: 300px!important; }
.w600 { width: 580px!important; }

.cap{
  margin: 5px auto 0 auto;
}
.cap img{
  margin: 0 5px 0 5px;
}

.subject4{
  font-size: 18px;
  font-weight: bold;
  padding-top: 10px;
}

.box4-container {
  display: flex;
  justify-content: center; /* 中央寄せ */
  gap: 18px; /* ボックス間の余白 */
  flex-wrap: wrap; /* スマホで折り返し可 */
}
.box4-1 {
  position: relative;
  width: 322px;
  height: 92px;
  background-color: #F7F7F7;
  margin: 10px 0 20px 0;
  display: flex;
  align-items: center;
}
.box4-2 {
  position: relative;
  width: 546px;
  height: 204px;
  background-color: #F7F7F7;
  margin-top: 10px;
  padding: 32px 40px 0 40px;
  box-sizing: border-box; 
}
.box4-1::before, .box4-2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 100%;
  background-color: #5BC0DE
}

.box4-1 .subject {
  font-size: 16px;
  font-weight: bold;
  color: #37545E;
  margin-left: 10px;
}
.box4-1 .content {
  font-size: 16px;
  font-weight: bold;
  margin-left: 5px;
}
.box4-1 .note {
  position: absolute;
  right: 10px;
  bottom: 5px;
  color: #37545E;
  font-size: 10px;
  font-weight: normal;
}
.box4-1-wide {
  margin: 0 0 0 10px;
  width: 589px;
  height: 92px;
}
.box4-1-wide-m {
  margin: 0 0 0 10px;
  width: 440px;
  height: 92px;
}
.cap-rb {
  position: absolute;
  right: 20px;
  bottom: 25px;
  width: 273px;
  height: auto;
}

.voice {
  line-height: 1.8;
}
.voice2 {
  position: absolute;
  right: 40px;
  bottom: 32px;
  font-weight: bold;
}

/* -------------------------------------------- */
/* 会社概要 */
.maintitle {
  position: relative;
  margin: 60px auto 0 auto;
  text-align: center; 
  font-weight: bold;
  font-size: 40px;
  width: fit-content;
}
.maintitle::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 8px;
  background-color: #000
}
.mainmsg {
  margin: 16px auto 0 auto;
  font-size: 22px;
  color: #505050;
  text-align: center; 
}
.subtitle {
  position: relative;
  margin: 80px 0 20px 5px;
  /* margin: 80px auto 20px auto; */
  text-align: center; 
  font-weight: bold;
  font-size: 38px;
  width: fit-content;
}
.subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 8px;
  background-color: #0069B4
}
.greetings {
  margin: 80px auto 0 auto;
  width: fit-content;
}
.greetings img {
  width: 1020px;
  height: auto;
}
.margin {
  margin-top: 100px;
}

/* -------------------------------------------- */
/* フォーム */
.form-menu  {
  margin: 0 auto;
  margin-top: 100px;
  display: flex;
  flex-direction: column;   /* 縦並び */
  gap: 34px;
  align-items: center;
}
.form-menu .line {
  display: flex;
  justify-content: center;
  gap: 34px;                   /* 余白 */
  width: max-content;
}

.form-menu .box {
  border: 1px solid #fff;
  transition: border 0.3s ease;
  width: 500px;
  height: 260px;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* 任意で軽い影 */
  cursor: pointer;
}
.form-menu .box:hover{
  border: 1px solid #2EABAB;
}
.form-menu .box:hover > img{
  opacity: 1;
}
.form-menu .box:hover .mbtn > img{
  margin-left: 15px;
}
.form-menu .box > img {
  margin: 30px 0 0 40px;
  width: 48px;
  height: 48px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.form-menu .mtitle {
  margin: 20px 0 0 40px;
  font-size: 24px;
  font-weight: bold;
  color: #1F2937;
}
.form-menu .mmsg {
  width: 420px;
  margin: 12px 0 0 40px;
  font-size: 14px;
  font-weight: normal;
  color: #707070;
}
.form-menu .mbtn {
  width: 420px;
  margin: 16px 0 0 40px;
  font-size: 16px;
  font-weight: bold;
  color: #0891B2;
}
.form-menu .mbtn > img {
  width: 9px;
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}




















/* -------------------------------------------- */
/* フッター */
.footer {
  width: 100%;
  height: 80px;
  background-color: #00271C;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  bottom: 0;
}

.footer-content {
    /* border: 1px solid #ff0000; */
  text-align: center;
  height: 100%;
}

.footer-logo {
  margin: 6px auto 0 auto;
  height: 28px;
  width: auto;
}

.footer-copy {
  color: #ffffff;
  font-size: 12px;
  margin: 1px;
}

.ab { position: absolute; }
.left { justify-content: flex-start; }
.center { justify-content: center; }
.right { justify-content: flex-end; }
.red { color: #D9534F;}
.green { color: #5CB85C;}
.pos-rel { position: relative; }

/* 下から上に登るフェードイン用 */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

