/* ==============================
   リセット・基本設定
============================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin:0; padding:0; width:100%; }
body { font-family: "Noto Sans JP", sans-serif; color:#333; background:#fff; line-height:1.6; }
img {
  width:100%:
}

a {
  text-decoration: none;   /* 下線を消す */
}

/* =============================
   PCヘッダー
============================= */
header { width:100%; position:fixed; top:0; left:0; z-index:1000; }

/* 上段: LOGO + TEL */
.header-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 20px;
  background:#005bac;
}
.header-top .logo img { 
  max-height:60px;   /* PCヘッダー上段のロゴ */
  height:auto;
}
.header-top .tel a { color:#fff; font-weight:600; text-decoration:none; }

header .logo {
  font-size:1.2em;
  margin:0;
  font-weight:600;
  color:#fff;
  text-decoration:none;
  width:420px;
}

header .logo img {
  width:100%!important;
  vertical-align: middle;
}

.tel {
  text-align: center;
  line-height: 1.4;     /* 行間を詰めて一体感を出す */
}

.tel-text {
  font-size: 0.85em;    /* 上下の文字は小さめ */
  color: #555;
  background: #004080;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
}

.tel-text-sub {
  font-size: 0.85em;    /* 上下の文字は小さめ */
  color: #fff;
}

.tel-number {
  display: block;
  font-size: 1.8em;     /* 電話番号は大きく */
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.tel-number:hover {
  color: #0078d7;       /* ホバー時の色（任意） */
}

/* 下段: PCナビ */
nav.pc-nav {
  display:flex;
  justify-content:center;
  background:#004080;
  padding:10px 0;
}
nav.pc-nav a {
  color:#fff;
  text-decoration:none;
  margin:0 15px;
  font-weight:600;
}

/* ハンバーガー */
.hamburger { display:none; cursor:pointer; flex-direction:column; gap:5px; padding:10px; }
.hamburger span { width:28px; height:3px; background:#fff; border-radius:2px; }

/* モバイルナビ */
.mobile-nav {
  position:fixed; top:0; right:-100%; width:70%; height:100%;
  background:#fff; display:flex; flex-direction:column; padding:60px 20px; transition:0.3s; z-index:1100;
}
.mobile-nav a { color:#005bac; text-decoration:none; padding:15px 0; font-weight:600; border-bottom:1px solid #eee; }
.mobile-nav.active { right:0; }

/* オーバーレイ */
.overlay {
  position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); display:none; z-index:1050;
}
.overlay.active { display:block; }

/* =============================
   モバイル専用ヘッダー
============================= */
.mobile-header {
  display:none;
  justify-content:space-between;
  align-items:center;
  padding:10px 20px;
  background:#005bac;
}
.mobile-logo img { height:32px; width:auto; }
.mobile-right { display:flex; align-items:center; gap:15px; position: fixed; right: 0;}
.mobile-header .mobile-tel { font-size:1.5em; color:#fff; text-decoration:none; }

/* デフォルトではモバイルロゴは非表示 */
.mobile-logo { display:none; }

/* =============================
   レスポンシブ
============================= */
@media(max-width:768px){
  /* PC用非表示 */
  .header-top, nav.pc-nav { display:none; }
  /* モバイル用表示 */
  .mobile-header { display:flex; }
  .hamburger { display:flex; }
  .mobile-logo { display:block; }
}

/* ==============================
   ヒーロー
============================== */
.hero {
  height:90vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  color:#fff; text-align:center;
  background:url('images/city.jpg') center/cover no-repeat;
  position:relative;
  margin-top:144px;
  padding: 80px 20px 0; /* 全体に余白を追加 */
}
.hero::before {
  content:""; position:absolute; top:0; left:0; width:100%; height:100%;
  background:rgba(0,91,172,0.4);
}
.hero h1,.hero .catch, .hero p, .hero .btn { position:relative; z-index:1; }
.hero h1,.hero .catch { font-size:2.4em; margin-bottom:10px; }
.hero p { font-size:1.2em; margin-bottom:20px; }

@media (max-width: 768px) {
  .hero {
    padding: 20px 20px 0; /* 全体に余白を追加 */
    text-align: center; /* 念のため中央揃え */
    margin-top:54px;
  }

  .hero h1,.hero .catch {
    font-size: 1.4em; /* 元は2.4em */
    margin-bottom: 8px; /* 元は10px */
  }

  .hero p {
    font-size: 1em; /* 元は1.2em */
    margin-bottom: 12px; /* 元は20px */
  }

  .hero .btn {
    padding: 10px 20px; /* ボタンも少し小さく */
    font-size: 0.9em;
    margin:30px 0;
  }
}

.page-title {
  background: #005bac;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  color:#fff; text-align:center;
  background:url('images/city2.jpg') center/cover no-repeat;
  position:relative;
  margin-top:144px;
}
.page-title::before {
  content:""; position:absolute; top:0; left:0; width:100%; height:100%;
  background:rgba(0,91,172,0.4);
}
.page-title h1,.page-title .catch {
  position: relative; /* オーバーレイの上に表示 */
  z-index: 1;         /* ::beforeより前面 */
  color: #fff;
  font-size:2.4em;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5); /* 文字を読みやすくする影 */
}
@media (max-width: 768px) {
  .page-title {
    margin-top: 54px;
  }

  .page-title h1,.page-title .catch {
    font-size: 1.6em; /* 元は2.4em */
  }

}

/* ==============================
breadcrumb
============================== */
.breadcrumb {
  padding: 3px 20px;
  background: #F3F1ED;
  font-size:80%;
}
.breadcrumb a {
  color:#555;
  text-decoration: none;   /* 下線を消す */
}

/* ==============================
greeting
============================== */
#greeting {
  position: relative;
  background: #fff; /* 背景色が必要なら */
  padding: 80px 20px;
  overflow: hidden; /* 子要素がはみ出さないように */
}

#greeting::before {
  content: "";
  position: absolute;
  inset: 0; /* top, right, bottom, left = 0 */
  background: url("images/biglogo.svg") no-repeat center center;
  background-size: 70% auto; /* サイズ調整 */
  opacity: 0.1; /* 透かしの濃さ */
  pointer-events: none; /* クリック操作を邪魔しない */
}

@media (max-width: 768px) {
  #greeting::before {
    background-size: 100% auto; /* サイズ調整 */
  }
}

/* ==============================
   ボタン
============================== */
/*
.btn { 
  background:#fff; color:#005bac; padding:12px 28px; border-radius:25px; text-decoration:none; font-weight:600; 
  display:inline-block; max-width:100%; box-sizing:border-box; 
  transition:0.3s;
}
.btn:hover { background:#005bac; color:#fff; }
*/
a.btn {
    background: #005bac;
    border-radius: 9999px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    max-width: 250px;
    padding: 10px 25px;
    text-decoration: none;
    color: #ffffff;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
a.btn :after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
a.btn :hover {
  background: #005bac;
  color: #FFF;
}
a.btn :hover:after {
  right: 1.4rem;
}


/* ==============================
   セクション
============================== */
.section { 
  padding:60px 20px; max-width:1100px; margin:auto; 
  text-align:left; /* 文章は左揃え */
}
.section p { margin-bottom:20px; color:#333; line-height:1.75; text-align:left; }

/* 大見出し (h2) は中央揃えで目立たせる */
.section h2 {
  font-size:2em; color:#005bac; margin-bottom:30px; font-weight:600; position:relative;
  text-align:center;
}
.section h2::after {
  content:""; display:block; width:60px; height:3px; background:#005bac; margin:10px auto 0; border-radius:2px;
}

/* 中見出し (h3・カードタイトル) */
.card h3, .section h3 {
  font-size:1.4em; color:#004080; margin-bottom:12px; font-weight:600;
  border-left:4px solid #005bac; padding-left:12px;
  text-align:left;
}

/* 小見出し的な強調部分 */
.card p strong {
  color:#005bac; font-weight:600;
}

@media (max-width: 768px) {
  /* 大見出し h2 */
  .section h2 {
    font-size: 1.4em; /* 元は2em */
    margin-bottom: 20px; /* 余白も少し縮小 */
  }

  /* 大見出しの下線 */
  .section h2::after {
    width: 40px; /* 元は60px */
    height: 2px; /* 元は3px */
    margin-top: 8px; /* 元は10px */
  }

  /* 中見出し h3 */
  .card h3, .section h3 {
    font-size: 1.2em; /* 元は1.4em */
    padding-left: 10px; /* 少し縮める */
    margin-bottom: 8px; /* 元は12px */
  }
}

/*セクションの区切り*/
.triangle {
  position: relative;
  background: #2c3e50;
  height: 50vh;
}

.triangle::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 100px 100px 0 100px;
  border-color: #2c3e50 transparent transparent transparent;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
}


.sign {
  width: 100%;
  text-align: center;
  margin-top: 40px;
}

.sign img {
  max-width:100%;
}

/* ==============================
   グリッド・カード
============================== */
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:30px; }
.card { background:#f9f9f9; padding:30px; border-radius:12px; text-align:left; }

/* 募集カード用 */
.recruit-grid,.services-grid { display:flex; flex-direction:column; gap:30px; margin:auto; }
.recruit-card { background:#f9f9f9; padding:30px; border-radius:12px; box-shadow:0 2px 6px rgba(0,0,0,0.1); }
.services-card { background:#f9f9f9; padding:30px; border-radius:12px; box-shadow:0 2px 6px rgba(0,0,0,0.1); }
.recruit-card h3, .recruit-card p,.services-card h3,,.services-card p { text-align:left; margin-bottom:10px; }


/* ==============================
   カスタムカード（事業内容など）
============================== */
.custom-card {
  background: #edf2f9;           /* 背景色 */
  border-radius: 10px;           /* 角丸 */
  padding: 30px;                 /* 内側余白 */
  margin-bottom: 40px;           /* 下部余白 */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* 影 */
  text-align: left;              /* 左揃え */
}

.custom-card h3 {
  font-size: 1.3em;              /* 少し大きめ */
  color: #004080;                /* 中見出しの色 */
  margin-bottom: 15px;
  border-left: 4px solid #005bac; /* 左ボーダーで強調 */
  padding-left: 12px;
}

.custom-card p {
  line-height: 1.75;
  margin-bottom: 15px;
}

.custom-card p strong {
  color: #005bac;
  font-weight: 600;
}


/* ==============================
   リスト
============================== */
.services-list { list-style-type: disc; padding-left:20px; margin-bottom:20px; }
.services-list li { margin-bottom:10px; }

/* ==============================
   テーブル
============================== */
table.company-info {
  width:100%; border-collapse:collapse; margin-top:20px;
}
table.company-info th, table.company-info td {
  border:1px solid #ddd; padding:12px; text-align:left;
}
table.company-info th { background:#f5f5f5; width:30%; }

/* ==============================
   フッター
============================== */
footer { background:#004080; color:#fff; padding:4px; text-align:center; }
footer p {margin:0;}

/* ==============================
   メディアクエリ
============================== */
@media (max-width:768px) {
  nav { display:none; }
  .hamburger { display:flex; }
  .section p, .recruit-card h3, .recruit-card p { text-align:left; } /* モバイルでも左揃え */
  table.company-info th, table.company-info td { display:block; width:100%; }

}

@media (max-width:960px) {
  header .logo {
    width:260px;
  }
}

/* ==============================
   事業内容
============================== */
.service-title {
  font-size: 1.1em;          /* 少し大きく */
  color: #005bac;            /* 見出しの色を少し強調 */
  text-decoration: underline; /* アンダーラインでささやかに変化 */
}
.services-list li {
  margin-bottom: 1em;      /* 項目ごとに余白を入れる */
}


/* ==============================
   よくある質問
============================== */
.qa-7 {
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: #fff;
}

.qa-7 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa-7 summary::before,
.qa-7 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-7 summary::before {
    color: #75bbff;
    content: "Q";
}

.qa-7 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-7[open] summary::after {
    transform: rotate(225deg);
}

.qa-7 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-7[open] p {
    transform: none;
    opacity: 1;
}

.qa-7 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}

/* ==============================
 画像とテキストを横並びに配置 
============================== */
.content-with-image {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}

.content-with-image .text {
  flex: 1 1 300px !important;
}

.content-with-image .image {
  flex: 1 1 300px !important;
}

.content-with-image .image img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
}

@media (max-width: 768px) {
  .content-with-image {
    flex-direction: column !important;
    align-items: center !important;
  }
  .content-with-image .text,
  .content-with-image .image {
    flex: 1 1 100% !important;
    margin-right: 0 !important;
  }
  .content-with-image .image {
    margin-top: 20px !important;
  }
}

/* ==============================
 お問い合わせ 
============================== */
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  gap: 20px;
}

.contact-content {
  flex: 2;
}

/*
.contact-content h2 {
  font-size: 2rem;
  color: #005bac;
  margin-bottom: 15px;
}
*/

.contact-content p {
  font-size:1.2rem;
  margin-bottom: 15px;
  color: #555;
}

.contact-info p {
  margin: 8px 0;
  font-size: 1rem;
}

.contact-info strong {
  color: #555555;
  font-size:1.2rem;
}

.contact-info a {
  color: #555555;
  text-decoration: none;
  font-size:1.2rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .contact-content p {
    font-size:1rem;
  }
  .contact-info strong {
    font-size:1rem;
  }

  .contact-info a {
    font-size:1rem;
  }
}

.contact-info a:hover {
  text-decoration: underline;
}

.btn_contact {
  display: inline-block;
  padding: 12px 28px;
  background-color: #005bac;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.3s;
  margin-top: 15px;
}

.btn_contact:hover {
  background-color: #005bac;
}

.contact-image {
  flex: 1;
  text-align: center;
}

.contact-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    text-align: center;
  }
  .contact-content, .contact-image {
    max-width: 100%;
  }
  .contact-image {
    margin-top: 20px;
    max-width: 90%;
  }
}


/* ==============================
   Contact Form 7 共通スタイル
============================== */
.wpcf7 {
  margin: 0 auto;   /* 中央寄せ */
  padding: 30px;
  background: #f5f8fc;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: "Noto Sans JP", sans-serif;
}

/* ==============================
   入力欄
============================== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  transition: 0.3s;
  background: #fff;
}

/* フォーカス時 */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #005bac;
  box-shadow: 0 0 6px rgba(0,91,172,0.25);
  outline: none;
}

/* プレースホルダー */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #999;
  font-style: italic;
}

/* ==============================
   ラベル（あれば）
============================== */
.wpcf7 label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

/* ==============================
   送信ボタン
============================== */
.wpcf7 input[type="submit"] {
  background: linear-gradient(90deg, #005bac, #1976d2);
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  width: 100%;
}

.wpcf7 input[type="submit"]:hover {
  background: linear-gradient(90deg, #004080, #005bac);
}

/* ==============================
   エラー表示・メッセージ
============================== */
.wpcf7 .wpcf7-not-valid-tip {
  color: #d32f2f;
  font-size: 14px;
  margin-top: -16px;
  margin-bottom: 10px;
  display: block;
}

.wpcf7 .wpcf7-response-output {
  background: #edf2f9;
  border-left: 4px solid #1976d2;
  padding: 12px 16px;
  margin-top: 15px;
  border-radius: 8px;
  font-size: 15px;
}

/* ==============================
   レスポンシブ対応
============================== */
@media (max-width: 768px) {
  .wpcf7 {
    padding: 20px;
  }

  .wpcf7 input[type="submit"] {
    font-size: 15px;
    padding: 12px 20px;
  }
}

/* ==============================
 パララックス区切りセクション 
============================== */
.parallax-divider {
  position: relative;
  background: url('images/security-8656665_1920.jpg') center/cover no-repeat fixed;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.parallax-divider::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* 薄めの黒オーバーレイで文字が見やすく */
  z-index: 0;
}

.parallax-divider .parallax-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.parallax-divider h2 {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.parallax-divider p {
  font-size: 1.2em;
  line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .parallax-divider {
    padding: 60px 15px;
  }
  .parallax-divider h2 {
    font-size: 1.4em;
  }
  .parallax-divider p {
    font-size: 1em;
  }
}
