@charset "UTF-8";
@import url("grid.css");
/*@font-face {
  font-family:'Noto Sans JP';
  src: url(../fonts/NotoSansJP-Regular.otf);
  font-weight: normal;
}*/
/*@font-face {
  font-family:'Zen Kaku Gothic New';
  src: url(../fonts/ZenKakuGothicNew-Regular.woff2);
  font-weight: normal;
}*/
/*.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
*/
.font_mincho {
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E",  "ＭＳ Ｐ明朝", "MS PMincho", serif;
}
html {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-size: 62.5%;
}
body {
    color: #333333;
    font-family: "Zen Kaku Gothic New", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", "YuGothic", "メイリオ", "Meiryo", sans-serif;
    background: #fff;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;/*高さ自動*/
   margin-top: 0px;
}
a {
    display:block;
    color: #000000;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}
 
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-active {
    opacity: 1;
    transform: translateY(0);
    padding-right: 25px;
}


/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    margin-top: 3rem;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
    margin-top: 0px;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: #C3DDFC;
}
nav a {
    padding: 0.5rem;
}
.hleft{
    float: left;
    width: 25%;
    margin-right: 10px;
}
.hright{
    float: right;
    width: 70%;
}
.clear{
    clear: both;
}
.lleft{
    float: left;
    width: 60%;
    margin-right: 10px;
}
.lright{
    float: right;
    width: 30%;
}
.text-back{
    padding: 5px;
    background: #308ABF;
    margin-right: 10px;
    color: #FFFFFF;
    font-weight: bold;
}
@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}
.topimg{
	width: 100%;
  margin-bottom: 50px;
}
/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: #f4f4f4;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-image: linear-gradient(#3A9AC6, #304A88);
    padding: 5rem 0;
    color: #F9F5F5;
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid #ccc;
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #012970;
}
.copyright a {
    color: #fff;
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}
.parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px;
}

/* 「技術と信頼で〜」のコンテナ（lifecycle.pngがあるエリア）の下に余白を追加 */
main > .container {
  margin-bottom: 60px; /* お好みの余白サイズに調整してください（例: 40px〜80px） */
}

main > .container {
  margin-bottom: 80px !important;
}

/* スマホ表示時の画像下の余白調整 */
@media screen and (max-width: 768px) {
  .lright img {
    margin-bottom: 30px; /* スマホで縦並びになった際、画像下に余白を作る */
  }
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}
/* 丸い画像のあるセクションの下に確実に空白を作る */
.container.lifecycle-section {
  margin-bottom: 100px !important; /* 空白の大きさ（例: 80px〜120pxなどでお好みに調整してください） */
  padding-bottom: 20px !important;
}

/* その下の section（事業紹介）の上にも余白を強制確保 */
#2 {
  margin-top: 60px !important;
}
/* --- スマホ表示時の縦並び設定（画面幅 768px 以下） --- */
@media screen and (max-width: 768px) {
  /* 文章と画像エリアの float を解除して幅100%にする */
  .lleft, 
  .lright {
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
  }

  /* 丸い画像（lifecycle.png）を中央寄せにし、下に余白を作る */
  .lright {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .lright img {
    width: 80%;       /* スマホで大きすぎないようにサイズ調整（お好みで70%〜90%に変更可） */
    max-width: 300px;
    height: auto;
  }
}
/* ==========================================
   フッターデザイン（グラデーション強調＆文字拡大版）
========================================== */
.site-footer {
  /* 旧Dreamweaver・古いブラウザ用の背景色（フォールバック） */
  background-color: #0f2b48 !important;

  /* Safari 5.1〜6, Chrome 10〜25, Dreamweaverプレビュー用 */
  background: -webkit-linear-gradient(135deg, #0f2b48 0%, #1a3a5c 40%, #09131d 100%) !important;

  /* 標準グラデーション記法 */
  background: linear-gradient(135deg, #0f2b48 0%, #1a3a5c 40%, #09131d 100%) !important;

  color: #ffffff;
  padding: 60px 0 25px;
  border-top: 5px solid #308ABF;
  font-size: 1.1rem;
  width: 100%;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 左側：会社情報 */
.footer-info {
  flex: 0 0 40%;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
  transition: opacity 0.3s;
}

.footer-logo:hover {
  opacity: 0.8;
}

/* 住所・電話番号の文字を大きく */
.footer-address {
  line-height: 1.8;
  color: #d0d7de;
  font-size: 1.05rem; /* 文字サイズ拡大 */
  margin-top: 8px;
}

/* 右側：ナビゲーション */
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px; /* 隙間を広げて押しやすく */
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.footer-nav li {
  margin: 0;
}

/* リンクの文字を大きく太めに */
.footer-nav a {
    color: #ffffff !important;
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s;
    font-size: 1.6rem; /* 文字サイズ拡大 */
    font-weight: bold;  /* 可視性を高めるため太字化 */
}

/* リンクホバー時のアニメーション */
.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #308ABF;
  transition: width 0.3s ease;
}

.footer-nav a:hover {
  color: #64b5f6 !important;
}

.footer-nav a:hover::after {
  width: 100%;
}

/* 下部コピーライト */
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  color: #9aa8b6;
  font-size: 0.95rem; /* コピーライトも拡大 */
}

/* ------------------------------------------
   スマホ・タブレット表示（レスポンシブ）
------------------------------------------ */
@media screen and (max-width: 768px) {
  .site-footer {
    padding: 45px 0 25px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
  }

  .footer-info {
    flex: 1 1 100%;
  }

  .footer-nav ul {
    justify-content: center;
    gap: 15px 25px;
  }
  
  .footer-nav a {
    font-size: 1.1rem;
  }
}
/* ==========================================
   ヘッダー＆ハンバーガーメニュー
========================================== */
.site-header {
  position: relative;
  width: 100%;
  background: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- ハンバーガーボタン本体 --- */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ボタン開閉時の「✕」の動き */
.hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* --- スライドメニュー（開閉部分） --- */
.site-navi {
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態は画面外に隠す */
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #1F486C; /* ダークネイビー背景 */
    padding: 80px 20px 40px;
    transition: right 0.4s ease;
    z-index: 1001;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}

/* メニュー開いた状態 */
.site-navi.is-active {
  right: 0;
}

.site-navi ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-navi a {
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* PC（画面幅 769px 以上）では普通の横並びメニューにしたい場合 */
@media screen and (min-width: 769px) {
  .hamburger-btn {
    display: none; /* PCではハンバーガーボタンを非表示 */
  }

  .site-navi {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .site-navi ul {
    flex-direction: row;
    gap: 30px;
  }

  .site-navi a {
    color: #444444 !important;
	font-size: 1.5rem !important; /* PC時の文字サイズも 1.5rem に指定 */
    padding: 0;
    border-bottom: none;
  }
}
/* --- スマホ表示時の余白調整（画面幅 768px 以下） --- */
@media screen and (max-width: 768px) {

  /* セクション全体の大きな余白をスマホ用に小さく上書き */
  main .container.reveal,
  .container.lifecycle-section {
    margin-bottom: 30px !important; /* 120pxから30pxへ縮小 */
    padding-bottom: 0px !important;
  }

  /* 直後の「事業紹介(#2)」セクション上の余白も小さく調整 */
  section#2 {
    margin-top: 20px !important;
  }

  /* 画像自体の下の余白 */
  .lright {
    margin-bottom: 10px !important;
  }
}
