@charset "UTF-8";

html {
  font-size: 100%;
  max-width: 100%;
  margin: 0;
  width: 100% !important;/*position abusolutを使うと右側に余白ができるので予防する*/
}

body {
  background-color: #cbd8f3;
  font-family: "Yu Gothic Medium" , "游ゴシックMedium" , YuGothic,"游ゴシック体", "ヒラギノ角ゴ Pro W3",sans-serif;
  line-height: 1.7;
  color: #274996;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;/*レスポンシブの時の文字の設定*/
}

h3 {
  font-size: 2rem;
  margin: 0;
}

p {
  text-align: center;
  font-size: 1.3rem;
}

/* リンクボタンをまとめて設定する */
a {
  transition: 0.3s; /* 変化を滑らかにする */
}

a {
  text-decoration: none;
}

a:hover {
  opacity: 0.7; /* マウスを乗せた時 */
}

a:active {
  color: inherit; /* 文字色を変えない（赤くならない） */
  opacity: 0.5;   /* クリックした瞬間だけもっと透明にする */
}

/* ===================================================
/*ファーストビュー
=================================================== */

/* ===================================================
   ロゴ設定（下層ページ用）
=================================================== */
.rogo {
  position: fixed;
  top: 11px;
  left: 5%;
  height: 115px;
  width: auto;
  margin: 0;
  z-index: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 1000px) {
  .rogo {
    height: 57px;
  }
}

.rogo.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@media screen and (max-width: 1000px) {
  .rogo.is-hidden {
    opacity: 0;
    visibility: hidden;
  }
}

/*------------------
1. 基本スタイル（PC・タブレット・および全ての「横向き」端末用）
----------------- */
.big-bg {
  background-image: url(images/sano-koken.big/topView20260730.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  /* ファーストビューの高さ設定（例：画面いっぱいに表示する場合） */
  height: 100vh;
  width: 100%;
}

  /*------------------
2. スマホ・タブレットの「縦向き」の時だけ適用するスタイル
----------------- */
@media (max-width: 1180px) and (orientation: portrait) {
  .big-bg {
    /* 縦向き専用の画像に切り替え */
    background-image: url(images/sano-koken.big/fstB_responceIMG.webp);
    /* 縦画像が綺麗に収まるように中央基準に変更（必要に応じて） */
    background-position: center center;
    /* スマホ縦向き時の高さ（100vhだと縦に長すぎる場合は 70vh などに調整してください） */
    height: 80vh;
  }
}

.fstText {
  width: 90%;
  margin: 0 auto;             /* 左右中央寄せ（上下マージンは0） */
  padding-top: 154px;         /* ★重要：ロゴ（高さ60px）+ 余白（40px）分を「内側余白」で確保 */
  color: #333e7b;
}

  /* 参考：FVテキスト枠の高さ調整（※すでに定義されている箇所へ追記してください） */
@media screen and (orientation: landscape) and (max-height: 600px) {
  .fstText {
    padding-top: 70px;         /* 横画面時はロゴの下からスタートできるよう余白を短縮 */
  }
}

  /* ==========================================================
  📱 ここからスマホ対応（画面幅 768px 以下の設定）
========================================================== */
@media (max-width: 768px) {
  .fstText {
    width: 92%;
    margin: 0 auto;
    /* 画面下部にバナーが固定されたときに、文章がバナーに被って隠れないように下に余白を作ります */
    padding-bottom: 100px;
  }
}

.fstText h2::before {
  content: "";         /* 線の箱を作るためのおまじない（空っぽでOK） */
  width: 40px;         /* 線の長さ（お好みで調整してください） */
  height: 3px;         /* 線の太さ */
  background-color: #cf4141; /* 線の色（今の文字色などに合わせて変更してください） */
}

.fstText h1 {
  font-size: 2.5rem;   /* PC用の標準サイズ（目安） */
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8);
}
@media (max-width: 768px) {
  .fstText h1 {
    font-size: 1.6rem;
  }
}
@media (max-width: 462px) {
  .fstText h1 {
    font-size: 1.3rem;
  }
}
@media (max-width: 380px) {
  .fstText h1 {
    font-size: 1rem;
  }
}

.fstTextP {
  text-align: left;
  font-size: 1rem;
  line-height: 1.8;    /* 行間を少し広げて読みやすく */
  margin-bottom: 30px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

@media (max-width: 768px) {
  .fstTextP {
    font-size: 0.9rem;
    line-height: 1.7;
  }
}

/* パソコン時：改行（br）をそのまま有効にする */
.fstTextP br {
  display: inline;
}

@media (max-width: 768px) {
  .fstTextP br {
    display: none;
  }
}

/** 電話バナー（全体枠） **/
.phone-banner {
  display: inline-flex;       /* アイコンとテキストを横並びにする */
  align-items: center;        /* 上下の真ん中を揃える */
  gap: 20px;                  /* アイコンとテキストの間隔 */
  background-color: #0d2240;  /* 紺色 */
  padding: 15px 30px;         /* 内側の余白（上下 左右） */
  border-radius: 8px;         /* 角の丸み */
  text-decoration: none;      /* リンクの下線を消す */
  color: #ffffff;             /* 文字色：白 */
  margin-top: 2%;
  max-width: 100%;            /* 画面幅からはみ出さない設定 */
  box-sizing: border-box;     /* パディングを含めて横幅を計算 */
  transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.3s;
  pointer-events: none;       /* PC時はクリック操作を完全無効化 */
  cursor: default;            /* カーソルを通常の矢印に変更 */
}

  /* 🛠️ スマホ横持ち（画面が横長かつ高さが低い場合）の調整 */
@media screen and (orientation: landscape) and (max-height: 600px) {
  .phone-banner {
    padding: 8px 16px;        /* 余白を縮小 */
    gap: 10px;                /* 間隔を詰める */
    margin-top: 10px;
  }
}

  /* 📱 スマホ表示（画面幅480px以下）での有効化 */
@media screen and (max-width: 480px) {
  .phone-banner {
    pointer-events: auto;     /* スマホ時はタップ・発信を有効化 */
    cursor: pointer;          /* カーソルを指マークに変更 */
  }
}

  /* ==========================================================
  📱 縦画像（スマホ縦向き）の時だけ：画面の一番下にピタッと固定する
========================================================== */
@media (max-width: 768px) and (orientation: portrait) {
  .phone-banner {
    display: flex;
    position: fixed;        /* 🛠️ 画面に対して固定する */
    bottom: 0;              /* 🛠️ 一番下に配置 */
    left: 0;                /* 🛠️ 左端から */
    width: 100%;            /* 🛠️ 横幅いっぱいに広げる */
    max-width: 100%;
    border-radius: 0;       /* 画面端に合わせるため角の丸みをなくす */
    padding: 12px 20px;
    gap: 15px;
    z-index: 9999;          /* 写真や他の文字より必ず手前に表示させる */
    box-shadow: 0 -4px 10px rgba(0,0,0,0.15); /* 上側に少し影をつけて浮き上がらせる */
    /* 🛠️ なめらかに消えるための設定を追加 */
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🛠️ 画面下に固定されたとき用の共通スタイル（JSで自動付与） */
.phone-banner.is-fixed {
  position: fixed;
  bottom: 20px;       /* PC時は下から少し浮かす */
  right: 20px;        /* PC時は右下に配置 */
  left: auto;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;      /* 強制的に横並びを維持 */
}

  /* ==========================================================
  📱 スマホ・タブレット（画面幅 768px 以下）の時の追従スタイル
  （縦向き・横向きどちらでも追従するように指定をまとめる）
========================================================== */
@media (max-width: 768px) {
  .phone-banner.is-fixed {
    bottom: 0;        /* 🛠️ スマホ時は縦・横どちらでも画面の一番下にピタッとくっつける */
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
  }
}

/* 🛠️ 求人エリア等に到達して非表示になるときのスタイル */
.phone-banner.is-hide {
  opacity: 0;
  transform: translateY(150%); /* 画面の下へ隠す */
  pointer-events: none;
}

  /* 🛠️ このクラスがついた時に、下に隠れながら消えるようにします */
@media (max-width: 768px) and (orientation: portrait) {
  .phone-banner.is-hide {
    opacity: 0;
    transform: translateY(100%); /* 画面の下側にはみ出させて隠す */
    pointer-events: none;        /* 消えている間はクリックできないようにする */
  }
}

/* パソコン時のホバーエフェクト */
.phone-banner:hover {
  opacity: 0.8;
}

/* 電話アイコン */
.phone-icon {
  width: 40px;
  height: 40px;
  color: #ffffff;
  flex-shrink: 0;             /* スマホでアイコンが潰れない設定 */
}

@media screen and (orientation: landscape) and (max-height: 600px) {
  .phone-icon {
    width: 24px;              /* 横画面時はアイコンを小さく */
    height: 24px;
  }
}

@media (max-width: 768px) {
  .phone-icon {
    width: 32px;
    height: 32px;
  }
}

/* テキスト全体の枠 */
.phone-text {
  display: flex;
  flex-direction: column;     /* 縦に並べる */
  gap: 4px;
  text-align: left;
  min-width: 0;
}

/* 1行目：キャッチコピー */
.main-text {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

@media screen and (orientation: landscape) and (max-height: 600px) {
  .main-text {
    font-size: 12px;           /* 横画面時は文字サイズを少し縮小 */
  }
}

@media (max-width: 768px) {
  .main-text {
    font-size: 14px;
  }
}

/* 2行目：サブテキスト */
.sub-text {
  margin: 0;
  font-size: 14px;
  color: #e0e0e0;
}

@media screen and (orientation: landscape) and (max-height: 600px) {
  .sub-text {
    display: none;            /* 縦幅（高さ）を極力短くするため、横画面時は非表示にする */
  }
}

@media (max-width: 768px) {
  .sub-text {
    font-size: 11px;
  }
}

/* 3行目：電話番号 */
.phone-number {
  text-align: left;
  font-size: 1.7rem;
  font-weight: bold;
  margin: 0;
}

@media screen and (orientation: landscape) and (max-height: 600px) {
  .phone-number {
    font-size: 1.2rem;         /* 横画面時は電話番号サイズを調整 */
  }
}

@media (max-width: 768px) {
  .phone-number {
    font-size: 1.4rem;
  }
}

/**********ハンバーガーメニュー***************/
/**********ハンバーガーメニュー***************/
/* ==========================================
   ナビゲーション全体の基準エリア
   ========================================== */
.nav_area {
  position: relative;
}

@media screen and (max-width: 480px) {
  .nav_area {

  }
}

/* ==========================================
   ハンバーガーボタン本体（右上固定）
   ========================================== */
.menu {
  position: fixed !important;
  top: 40px;
  right: 20px;
  left: auto !important;
  width: 61px;
  height: 12px;
  z-index: 9999;
  text-shadow: 1px 1px 0px #b8d0d6;
  display: block;
  cursor: pointer;
}

@media screen and (max-width: 480px) {
  .menu {
    top: 25px;
    right: 15px;
    transform: scale(0.8);
  }
}

@media screen and (max-height: 500px) {
  .menu {
    top: 15px;
    right: 15px;
    transform: scale(0.8);
  }
}

/* ハンバーガーアイコンの線（共通） */
.menu__line {
  background: #000;
  display: block;
  height: 2px;
  position: absolute;
  transition: transform .3s;
  width: 100%;
}

@media screen and (max-width: 480px) {
  .menu__line {

  }
}

/* 下側の線 */
.menu__line--bottom {
  bottom: 0;
}

@media screen and (max-width: 480px) {
  .menu__line--bottom {

  }
}

/* PC時の「menu」テキスト */
.hum_p {
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  margin: 0;
  display: block;
}

@media screen and (max-width: 480px) {
  .hum_p {
    display: none;
  }
}

@media screen and (max-height: 500px) {
  .hum_p {
    display: none;
  }
}

/* 開いたときの変形（上線） */
.menu__line--top.active {
  top: 4px;
  transform: rotate(45deg);
}

@media screen and (max-width: 480px) {
  .menu__line--top.active {

  }
}

/* 開いたときの変形（下線） */
.menu__line--bottom.active {
  bottom: 6px;
  transform: rotate(135deg);
}

@media screen and (max-width: 480px) {
  .menu__line--bottom.active {

  }
}

/* ==========================================
   メニュー背景・全画面カバーエリア
   ========================================== */
.gnav {
  background: rgba(192, 244, 255, 0.95);
  display: none;
  position: fixed;
  z-index: 98;
  margin: 0;
  top: 0 !important;
  left: 0 !important;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

  /*==================タブレット（770px）======================*/
@media screen and (max-width: 770px) {
  .gnav {
    margin: 0;
    width: 100%;
  }
}

/* ==========================================
   メニューを包む内側コンテナ（配置調整）
   ========================================== */
.gnav__wrap {
  width: 100%;
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px 40px;
  box-sizing: border-box;
}

@media screen and (max-width: 480px) {
  .gnav__wrap {
    padding: 60px 15px 30px;
  }
}

@media screen and (max-height: 500px) {
  .gnav__wrap {
    align-items: flex-start; /* 縦幅が狭いときは上揃えにする */
    padding: 50px 15px 30px;
  }
}

/* ==========================================
   メニューリスト全体（ul）
   ========================================== */
ul.gnav__menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 400px;
}

@media screen and (max-width: 480px) {
  ul.gnav__menu {
    height: auto !important;
    margin-top: 0 !important;
  }
}

/* リスト各項目（li） */
.gnav__menu__item {
  width: 100%;
  text-align: center;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 480px) {
  .gnav__menu__item {
    margin-bottom: 0.8rem;
  }
}

@media screen and (max-height: 500px) {
  .gnav__menu__item {
    margin-bottom: 0.4rem; /* 項目同士の間隔を圧縮 */
  }
}

/* リンクボタン（a） */
.gnav__menu__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #000;
  padding: 5px;
  transition: .3s;
}

@media screen and (max-width: 480px) {
  .gnav__menu__item a {
    padding: 4px 0 !important;
  }
}

@media screen and (max-height: 500px) {
  .gnav__menu__item a {
    padding: 2px 0 !important;
  }
}

.gnav__menu__item a:hover {
  color: #337ab7;
}

/* ==========================================
   テキスト表記（日本語・英語）
   ========================================== */
.hum_jap {
  font-size: 0.85rem;
  line-height: 1.2;
  margin-bottom: 2px;
  display: block;
}

@media screen and (max-width: 480px) {
  .hum_jap {
    font-size: 0.75rem;
    margin-bottom: 1px !important;
  }
}

@media screen and (max-height: 500px) {
  .hum_jap {
    font-size: 0.7rem;
    margin-bottom: 1px !important;
  }
}

.hum_eng {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.2;
  display: block;
}

@media screen and (max-width: 480px) {
  .hum_eng {
    font-size: 0.95rem;
  }
}

@media screen and (max-height: 500px) {
  .hum_eng {
    font-size: 0.85rem;
  }
}

/************ハンバーガーメニュー終了*******************/
#home {
  min-height: 100vh;
}

#home .page-title {
  text-transform: none;
}

.content {
  margin: auto;
  max-width: 1000px;/*ここで最大幅を表示*/;
  padding: 10px;
}

@media screen and (max-width: 480px) {
  .content {
    max-width: 100%;
  }
}

ul {
  display: flex;
  justify-content: flex-end;
}

.main-nav {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: -80px auto;
  list-style: none;
  position: fixed;
  top: 173px;
  left: 40%;
  z-index: 999;
  display: none;/*ハンバーガーメニューのため非表示*/
}

  /*===================-タブレット(1330px)==============================*/
@media screen and (max-width: 1330px) {
  .main-nav {
    left: 31%;
    top: 222px;
  }
}

.main-nav li {
  margin-left: 32px;
}

.main-nav a {
  color: #274996;
}

.main-nav a :hover {
  color: #0bd;
}

li {
  display: inline;
}

/*--ハンバーガーメニュー.モバイル版に続き有り---*/
#input {
  display: none;
}

.line {
  width: 33px;
  height: 7px;
  background-color: black;
  margin: 3px;
  border-radius: 10px;
}

#content {
  background-color: rgb(248, 244, 244);
  width: 130px;
  height: 150px;
  transform: translateX(-200px);
  z-index: 999;
  position: relative;
}

#input:checked ~ #content {
  transform: translatex(0px);/*通常値に戻す*/
}

.link-1 {
  display: flex;
  flex-flow: column;
  position: relative;
  left: -13px;
  font-size: 1.1rem;
  width: 148px;
  height: 153px;
  background-color: #c9e7ff;
}

.link {
  display: flex;
  flex-flow: column;
  position: relative;
  top: -100px;
  left: -13px;
  font-size: 1.2rem;
}

.link-2 {
  top: -108px;
}

/*** コンテンツ部分の幅 ***/
.contentsAria {
  width: 85%;
  margin: 0 auto;
  max-width: 2300px;
}

@media screen and (max-width: 910px) {
  .contentsAria {
    width: 98%;
  }
}

/*=== スクロールダウン全体の場所 ===*/
.scrolldown {
  position: fixed;
  left: 50%;
  bottom: 10px;
  left: 50px;
  z-index: 999;
}

.fixed {
  position: fixed;
  top: 0;
}

/*=== scrollテキストの描写  ===*/
.scrolldown span {
  /*描画位置 */
  position: absolute;
  left: 10px;
  bottom: 10px;
  /*テキストの形状*/
  color:#274996;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

/*丸の描写*/
.scrolldown ::before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: -4px;
  /*丸の形状*/
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #274996;
  /*丸の動き１.6秒かけて透過し、永遠にループ*/
  animation:
  circlemove 1.6s ease-in-out
  infinite,
  cirlemovehide 1.6s ease-out
  infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/


/*上から下にかけて丸が透過→不透明→透過する*/


/*線の描写*/
.scrolldown ::after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 2px;
  height: 50px;
  background: #274996;
}

/*== 終了 ==*/

/*=== 要素をふわっと出現させる  ===*/
.js-animation {
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: all 1s;
}

.js-animation.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

/*== 終了 ==*/


/* HOME-content  */
.home-content {
  text-align: left;
  margin-top: 20%;
}

@media screen and (max-width: 480px) {
  .home-content {
    position: relative;
  }
}

.home-content h1 {
  font-size: 8rem;
  margin: 50px 50px 0 50px;
  height: 95px;
  left: 47%;
  top: -66px;
}

  /*===================-タブレット(1490px)==============================*/
@media screen and (max-width: 1490px) {
  .home-content h1 {
    left:46%;
  }
}

  /*===================-タブレット(1150px)==============================*/
@media screen and (max-width: 1150px) {
  .home-content h1 {
    font-size:8rem;
  }
}

  /*==================タブレット（900px）======================*/
@media screen and (max-width: 900px) {
  .home-content h1 {
    left: 44%;
  }
}

  /*==================タブレット（720px）======================*/
@media screen and (max-width: 720px) {
  .home-content h1 {
    font-size:6rem;
    left:43%;
    top: -131px;
  }
}

  /*==================タブレット（582px）======================*/
@media screen and (max-width: 582px) {
  .home-content h1 {
    font-size: 5rem;
    width: 80%;
    left:41%;
    top: -71px;
  }
}

@media screen and (max-width: 480px) {
  .home-content h1 {
    position: absolute;
    font-size: 3.5rem;
    width: 80%;
    color: #fff;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    top: 66px;
  }
}

.home-content p {
  font-size: 1rem;
  margin-left: 55px;
}

/* ---------------新着情報------------- */
.top-news {
  width: 70%;
  margin: 12% auto 4%;
  background-color: #e5f6ff;
  box-shadow: 0px 0px 29px 0 #8cafd9;
  padding: 30px; /* 少し余白を広げると高級感が出ます */
  box-sizing: border-box;
}

  /* ==========================================
   レスポンシブ（スマホ対応）
   ========================================== */
@media screen and (max-width: 768px) {
  .top-news {
    width: 90%; /* スマホでは横幅を広く */
    padding: 20px 15px;
    margin: 24% auto 0;
  }
}

.top-news h2 {
  text-align: center;
  margin-bottom: 20px;
}

.top-news h2 {
  text-align: left;
  font-size: 2rem;
  border-bottom: 2px solid #c6ebf9;
  margin-left: 40px;
}

.news-list {
  list-style: none;
  padding: 0 5%; /* 12%は少し広いので、スマホとの兼ね合いで調整 */
  margin: 0 0 30px;
}

.news-list {
  display: flex;
  flex-direction: column;  /* 縦方向に並べる */
}

@media screen and (max-width: 768px) {
  .news-list {
    padding: 0; /* 余白をリセット */
  }
}

.news-list li {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(140, 175, 217, 0.3); /* 軽い区切り線 */
  padding-bottom: 15px;
}

.news-list li {
  display: block;       /* 横並びを解除 */
  clear: both;          /* float が残っていても解除 */
  margin-bottom: 15px;  /* 項目間のスペース */
  font-size: 1.3rem;
  border-bottom: 2px solid #c6ebf9;
}

.news-list li:last-child {
  border-bottom: none;
}

/* リンクエリアをFlexboxに */
.news-list li a {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-decoration: none;
  color: #333;
  transition: opacity 0.3s;
}

@media screen and (max-width: 768px) {
  .news-list li a {
    flex-direction: column; /* 縦並びに変更 */
    gap: 10px;
  }
}

.news-list li a:hover {
  opacity: 0.7;
}

/* サムネイル画像 */
.news-list li .thumb {
  width: 120px;
  height: 80px;
  overflow: hidden;
  border-radius: 6px;
  flex-shrink: 0; /* 画像が潰れないように固定 */
}

@media screen and (max-width: 768px) {
  .news-list li .thumb {
    width: 100%; /* 画像を横いっぱいに */
    height: 150px; /* 高さを少し出す */
  }
}

.news-list li .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキスト部分の並び */
.news-list .date {
  display: block;
  font-size: 14px;
  color: #6091D3; /* 以前使用したアクセントカラーに合わせました */
  margin-bottom: 5px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .news-list .date {
    font-size: 13px;
  }
}

.news-list .title {
  display: block;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}

/* VIEW MORE ボタン（右寄せ） */
.top-news .more {
  border: 1px solid #6091D3;
  width: 200px;
  margin-left: auto;
  margin-right: 0;
  background: #fff;
}

@media screen and (max-width: 768px) {
  .top-news .more {
    width: 100%; /* ボタンを押しやすく全幅に */
  }
}

.top-news .more a {
  display: block;
  padding: 10px;
  text-align: center;
  color: #6091D3;
  text-decoration: none;
  font-weight: bold;
}

/* アーカイブページ */
.news-archive {
  width: 70%;
  margin: 5% auto;
  background-color: #e5f6ff;
  box-shadow: 0px 0px 29px 0 #8cafd9;
  padding: 10px;
}
@media screen and (max-width: 480px) {
  .news-archive {
    width: 93%;
  }
}

.news-archive h1 {
  text-align: left;
  max-width: 90%;
}

/*投稿日時*/
.news-date {
  font-size: 1rem;
}

/* 新着個別ページ */
/* アイキャッチ画像 */
.news-thumbnail img {
  width: 45%;
  height: auto;
  display: block;
  margin-bottom: 30px;
}

.top-news p {
  border: 1px solid #6091D3;
  width: 21%;
  margin-left: auto; /* 左側の余白を自動で最大化 = 右寄せ */
  margin-right: 0;   /* 必要に応じて右端との距離を調整 */
  text-align: center; /* ボタン内のテキストを中央にする場合 */
}

.news-container {
  width: 80%;
  margin: 6% auto;
  background-color: #e5f6ff;
  padding: 2%;
  border-radius: 9px;
}

/*新着情報投稿見出し*/
.news-container h1 {
  text-align: left;
  max-width: 100%;
  margin-top: 5%;
}
@media screen and (max-width: 768px) {
  .news-container h1 {
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 480px) {
  .news-container h1 {
    font-size: 1.3rem;
  }
}

/*新着情報全体*/
.news-container p {
  text-align: left;
}

@media screen and (max-width: 768px) {
  .news-container p {
    text-align: left;
    font-size: 1rem;
  }
}

/*新着情報投稿テキスト*/
.news-content {
  font-size: 1.1rem;
}

/*一覧リンクボタン*/
.back-to-news {
  border: 1px solid #6091D3;
  width: 50%;
  max-width: 82px;
  padding: 0 2% 0 2%;
  font-size: 1rem;
}

/* 新着情報end */




/*===動く文字===*/
.anim {
  font-size:7em;
  color:rgba(105, 124, 230, 0.055);
  animation: flowing 10s linear infinite;
  margin-top: -3%;
}

@media screen and (max-width: 480px) {
  .anim {
    top: -134px;
    position: relative;
  }
}

.ani-2 {
  position: absolute;
  top: -12px;
  width:100%;
  overflow: hidden;
}

.anim-2 {
  font-size:7em;
  color:rgb(105, 124, 230, 0.055);
  animation: anime 13s linear infinite; /* 数字は秒数（速度調節)*/
  transform: translateX(100%);/*初期位置*/
}

.ani-3 {
  position: absolute;
  top: -2px;
  width:100%;
  overflow: hidden;
  z-index: 1;
}

.anim-3 {
  font-size:7em;
  color:rgba(105, 124, 230, 0.055);
  animation: flowing 10s linear infinite;
}

.ani-4 {
  position: absolute;
  top: -130px;
  width:100%;
  overflow: hidden;
}

.anim-4 {
  font-size:7em;
  color:rgb(105, 124, 230, 0.055);
  animation: anime 13s linear infinite; /* 数字は秒数（速度調節)*/
  transform: translateX(100%);/*初期位置*/
}

/*===動く文字終了===*/
.prod {
  position: relative;
  padding: 180px 0 80px;
}

.prod {
  padding: 0;
}

/*=== テキストの左右に線を引く ===*/
.products {
  position: relative;
  display: flex;
  align-items: center;
}

.products:before,
.products:after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #274996;
}

.products:before {
  margin-right: 1rem;
  background: linear-gradient(-90deg, #274996, transparent);
}

.products:after {
  margin-left: 1rem;
  background: linear-gradient(90deg, #274996, transparent);
}

/*===画像を重ねる==*/
.pro p {
  position: absolute;
  left: 165%;
  top: 100px;
  width: 500px;
  font-size: 2rem;
}

.pro p {
  position: static;
  left: 0%;
  text-align: center;
  width: 85%;
  top: -3px;
  font-size: 1.5rem;
}

/*===画像カラム===*/
.square {
  position: relative;
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  background-image: url(images/topImage/jogesuidou.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

@media screen and (max-width: 480px) {
  .square {
    grid-column: 1;
    grid-row: auto;
  }
}

@media screen and (max-width: 480px) {
  .square {
    position: absolute;
    width: 100%;
    height: 132px;
    top: 191px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.square p {
  position: absolute;
  top: 40%;
  left: 50%;
  -webkit-transform : translate(-50%,-50%);
  transform : translate(-50%,-50%);
  width: 90%;
  text-align: center;/*一応BOX内の文字も中央寄せ*/
  color:#fff;
  font-size: 2.5rem;
}

.kyuuhaisui {
  position: relative;
  background-image: url(images/sano-koken.small/hand-1248053_640.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  font-size: 3rem;
}

@media screen and (max-width: 480px) {
  .kyuuhaisui {
    position: absolute;
    height: 132px;
    top: 36px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
  }
}

.kyuuhaisui p {
  position: absolute;
  top: 30%;
  left: 50%;
  -webkit-transform : translate(-50%,-50%);
  transform : translate(-50%,-50%);
  width: 90%;
  text-align: center;
  color:#fff;
  font-size: 2.5rem;
}

.reform {
  position: relative;
  background-image: url(images/sano-koken.small/lime-319950_640.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  font-size: 3rem;
}

@media screen and (max-width: 480px) {
  .reform {
    position: absolute;
    width: 100%;
    height: 132px;
    top: 346px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.reform p {
  position: absolute;
  top: 30%;
  left: 50%;
  -webkit-transform : translate(-50%,-50%);
  transform : translate(-50%,-50%);
  width: 90%;
  text-align: center;
  color:#fff; font-size: 2.5rem;
}

.color_green {
  color: rgb(0 0 0);
}

.reidanbo {
  position: relative;
  background-image: url(images/sano-koken.small/still-life-3097682_640.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  font-size: 3rem;
}

@media screen and (max-width: 480px) {
  .reidanbo {
    position: absolute;
    width: 100%;
    height: 132px;
    top: 501px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.reidanbo p {
  position: absolute;
  top: 30%;
  left: 50%;
  -webkit-transform : translate(-50%,-50%);
  transform : translate(-50%,-50%);
  width: 90%;
  text-align: center;
  color:#fff;
  font-size: 2.5rem;
}

@media screen and (max-width: 900px) {
  .reidanbo p {
    font-size: 2rem;
  }
}

.doboku {
  position: relative;
  background-image: url(images/sano-koken.small/beams-839348_640.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  font-size: 3rem;
}

@media screen and (max-width: 480px) {
  .doboku {
    position: absolute;
    width: 100%;
    height: 132px;
    top: 658px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.doboku p {
  position: absolute;
  top: 30%;
  left: 50%;
  -webkit-transform : translate(-50%,-50%);
  transform : translate(-50%,-50%);
  width: 90%;
  text-align: center;
  color:#fff;
  font-size: 2.5rem;
}

.service {
  position: relative;
  display: flex;
  align-items: center;
  top: 170px;
  font-size: 2.8rem;
}

.service:before,
.service:after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #666;
}

.service:before {
  margin-right: 1rem;
  background: linear-gradient(-90deg, #274996, transparent);
}

.service:after {
  margin-left: 1rem;
  background: linear-gradient(90deg, #274996, transparent);
}

/*********事業内容イラストデザイン**********/

 /* 全体のコンテナ */
.services-section {
  width: 100%;
  max-width: 1000px;
  margin: 6% auto;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px; /* ボタン同士の隙間 */
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
}

@media screen and (max-width: 480px) {
  .services-section {
    padding: 0;
    margin: 29% auto;
  }
}

/* カード全体の共通スタイル */
.service-card {
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
  justify-content: space-between; /* 両端に広げて配置 */
  padding: 15px 20px; /* 内側の余白 */
  border-radius: 60px; /* カプセル型 */
  text-decoration: none;
  background-color: #ffffff;
  border: 2px solid #ccc; /* 各色に応じた外枠線 */
  transition: all 0.3s ease;
  box-sizing: border-box;
}

  /* ==========================================================
  PC用の設定（画面幅が 768px 以上のとき）
   ========================================================== */
@media screen and (min-width: 768px) {
  .service-card {
    padding: 20px 40px; /* PCはさらにゆったり */
    border-radius: 80px;
  }
}

  /* ==========================================================
  【ここを追加】PC用の設定（画面幅が 768px 以上のとき）
   ========================================================== */
@media screen and (min-width: 768px) {
  .service-card {
    padding: 15px 30px; /* PCは左右の余白を広げてゆったりと */
  }
}

/* 各カラーごとの外枠の色 */
.service-card.color-blue {
  border-color: #2b7bb9;
}

.service-card.color-green {
  border-color: #5cb85c;
}

.service-card.color-lightgreen {
  border-color: #a3c68c;
}

.service-card.color-orange {
  border-color: #d98843;
}

.service-card.color-darkblue {
  border-color: #1a62b8;
}

/* ホバー時の動き */
.service-card:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* ==========================================================
  【修正】アイコン部分のスタイル（スマホ基準：丸枠を撤廃）
   ========================================================== */
.service-icon {
  width: 65px;   /* スマホ：イラスト画像の横幅 */
  height: 65px;  /* スマホ：イラスト画像の縦幅 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* 画像が潰れないように固定 */
  /* backgroundやborderなど、丸枠を作る記述をすべて削除しました */
}

  /* PCではイラストをさらに一回り大きく */
@media screen and (min-width: 768px) {
  .service-icon {
    width: 85px;
    height: 85px;
  }
}

@media screen and (min-width: 768px) {
  .service-icon {
    width: 80px;  /* PC：アイコン枠をさらに大きく */
    height: 80px;
  }
}

@media (max-width: 375px) {
  .service-icon {
    width: 42px;
    height: 42px;
  }
}

/* イラスト画像そのものを枠いっぱいに大きく表示 */
.service-icon img {
  width: 100%;   /* 65pxいっぱいに表示 */
  height: 100%;
  object-fit: contain; /* 画像の比率を保つ */
}

@media screen and (min-width: 768px) {
  .service-icon img {
    width: 75%; /* 丸枠の中の画像もさらに大きく */
  }
}

/* テキスト部分のスタイル */
.service-text {
  flex-grow: 1; /* 残りの幅をすべて使う */
  padding-left: 20px;
  color: #333333;
  font-size: 18px; /* 文字を画像に合わせて大きく設定 */
  font-weight: bold;
  line-height: 1.4;
}

@media screen and (min-width: 768px) {
  .service-text {
    padding-left: 30px;
    font-size: 22px;
  }
}

@media screen and (min-width: 768px) {
  .service-text {
    padding-left: 25px; /* アイコンが大きくなった分、テキストとの間隔を広げる */
    font-size: 18px; /* PC：文字を読みやすく大きく */
  }
}

  /* --- スマホ（画面幅が小さい端末）向けの微調整 --- */
@media (max-width: 375px) {
  .service-text {
    font-size: 14px; /* 画面が小さすぎる場合は文字サイズを少し下げる */
    padding-left: 12px;
  }
}

/* 矢印部分のスタイル */
/* 矢印部分のスタイル */
.service-arrow {
  font-size: 18px;        /* 丸の中に収まるよう、少しサイズを調整 */
  font-weight: normal;
  flex-shrink: 0;
  /* ▼ ここから追加・修正するコード ▼ */
  width: 40px;            /* 丸の横幅 */
  height: 40px;           /* 丸の高さ（横幅と揃えて正方形にする） */
  border-radius: 50%;     /* 正方形をきれいな丸にする */
  /* 矢印（➔）を丸の真ん中にぴったり配置する設定 */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  /* 元々あったpadding-rightはズレの原因になるので削除か0にします */
  padding-right: 0;
}

@media screen and (min-width: 768px) {
  .service-arrow {
    font-size: 32px;
  }
}

@media screen and (min-width: 768px) {
  .service-arrow {
    font-size: 24px; /* PC：矢印も大きく */
  }
}

.haisui-circle {
  border: 2px solid #2b7bb9;
  background-color: #2b7bb9;
  color: #fff
}

.suidou-circle {
  border: 2px solid #5cb85c;
  background-color: #5cb85c;
  color: #fff
}

.renovation-circle {
  border: 2px solid #a3c68c;
  background-color: #a3c68c;
  color: #fff
}

.gus-circle {
  border: 2px solid #d98843;
  background-color: #d98843;
  color: #fff
}

.exterior-circle {
  border: 2px solid #1a62b8;
  background-color: #1a62b8;
  color: #fff
}

.color-blue {
  color: #2b7bb9;
}

  /* --- 各カードの配色設定 --- */

  /* 1. 給排水（ブルー） */
@media screen and (max-width: 480px) {
  .color-blue {
    border: 2px solid #2b70c9;
  }
}

.color-green {
  color: #5cb85c;
}

  /* 2. 上・下水道（グリーン） */
@media screen and (max-width: 480px) {
  .color-green {
    border: 2px solid #5cb85c;
  }
}

.color-lightgreen {
  color: #a3c68c;
}

  /* 3. 水廻り（ライトグリーン） */
@media screen and (max-width: 480px) {
  .color-lightgreen {
    border: 2px solid #8cb86c;
  }
}

.color-orange {
  color: #d98843;
}

  /* 4. 漏水（オレンジ） */
@media screen and (max-width: 480px) {
  .color-orange {
    border: 2px solid #e67e22;
  }
}

.color-darkblue {
  color: #1a62b8;
}

  /* 5. エクステリア（ダークブルー） */
@media screen and (max-width: 480px) {
  .color-darkblue {
    border: 2px solid #1a529b;
  }
}

/*===ブログコンテンツ============*/
.sp_br_sekou {
  display: none;
}

@media screen and (max-width: 350px) {
  .sp_br_sekou {
    display: block;
  }
}

.post2 {
  margin-top: 7%;
}

/*==施工実績テキストここから===*/
.title-3 {
  /*position: relative;*/
  display: flex;
  align-items: center;
  top: 170px;
  font-size: 3.5rem;
}

.title-3:before,
.title-3:after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #666;
}

.title-3:before {
  margin-right: 1rem;
  background: linear-gradient(-90deg, #274996, transparent);
}

.title-3:after {
  margin-left: 1rem;
  background: linear-gradient(90deg, #274996, transparent);
}

.ani-skou {
  /*アニメーション*/
  width: 100%;
  overflow: hidden;
  margin-top: -290px;
}

@media screen and (max-width: 900px) {
  .ani-skou {
    margin-top: -262px;
  }
}

.anim-sekou {
  font-size:7em;
  color:rgba(105, 124, 230, 0.055);
  animation: flowing 10s linear infinite;
  margin-top: 4%;
  margin-bottom: 2%;
}

.kiji-title {
  color: #2b61b1;
}

/*流れる画像*/
/* 流れる画像 */
.sekouPic {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 60s infinite linear 0.5s both;
}

.scroll-infinity__item {
  width: calc(100vw / 6);
  height: 250px;
  flex-shrink: 0; /* 画像幅が勝手に縮小するのを防ぐ */
}
@media screen and (max-width: 768px) {
  .scroll-infinity__item {
    width: calc(100vw / 2);
    height: 180px;
  }
}

.scroll-infinity__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 不足していたアニメーションキーフレームの定義 */
@keyframes infinity-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.sekou_itibu {
  text-align: center;
  margin-bottom: 7%;
}

ul.kijiitirannblok {
  display: block;
  padding-left: 0;
}

.kijinaiyou_jisseki {
  font-size: 2rem;
  margin-bottom: 2%;
  text-align: center;
}

@media screen and (max-width: 480px) {
  .kijinaiyou_jisseki {
    font-size: 1.5rem;
  }
}

.kijiitirannblok img {
  width: 100%;
  height: 100%;
  border-radius: 35px;
}

@media screen and (max-width: 900px) {
  .kijiitirannblok img {
    width: 95%;
    height: 80%;
    margin: 0px -7px;
  }
}

.kijiitirannblok:hover img {
  opacity:0.7;
}

.hov :hover {
  opacity:0.7;
}

.blog-content p {
  text-align: left;
  font-size: 1.7rem;
  overflow-wrap: anywhere;
}

.container2 {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  margin-top: -5%;
}

  /*===記事一覧===*/
@media screen and (max-width: 900px) {
  .container2 {
    display: block;
  }
}

/*========求人募集開始========*/
.target-recruit {
  text-align: center;
  margin-bottom: 10%;
}

@media screen and (max-width: 480px) {
  .target-recruit {
    margin-top: 18%;
  }
}

.kyuujin {
  display: flex;
  align-items: center;
  top: 170px;
  font-size: 2rem;
  margin-top: 10%;
}

.kyuujin:before,
.kyuujin:after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #666;
}

.kyuujin:before {
  margin-right: 1rem;
  background: linear-gradient(-90deg, #274996, transparent);
}

.kyuujin:after {
  margin-left: 1rem;
  background: linear-gradient(90deg, #274996, transparent);
}

.ani-k {
  width: 100%;
  overflow: hidden;
  margin-top: -290px;
}

/*=求人募集画像設定=*/
.pic_kyujin {
  width: 80%; /* スマホ時の画像幅 */
  max-width: 400px; /* 縦長画像が大きくなりすぎないよう上限を設定 */
  height: auto;
  border-radius: 50px;
}

@media screen and (min-width: 769px) {
  .pic_kyujin {
    width: 100%; /* PC表示時の横長画像の幅 */
    max-width: 940px; /* 横長画像の最大幅設定 */
  }
}

@media screen and (max-width: 480px) {
  .pic_kyujin {
    width: 97%;
    margin-top: -91px;
  }
}

/*===フッター部分===*/
/*=============フッターお問い合せ==========*/
#footer-flex {
  display:flex;
  justify-content:space-around;
  padding: 1%;
  height: auto;
  background-color: #274996;
  color: #fff;
}

@media screen and (max-width: 1050px) {
  #footer-flex {
    flex-direction: column;
  }
}

@media screen and (max-width: 910px) {
  #footer-flex {
    margin-top: 248px;
  }
}

@media screen and (max-width: 480px) {
  #footer-flex {
    margin-top: 162px;
  }
}

.box-item {
  padding: 3%;
}

.box-item h4 {
  font-size: 2rem;
}

.box-item p {
  text-align: left;
}

.push {
  display: flex;                /* Flexbox（フレックスボックス）を有効化 */
  justify-content: center;     /* 左右の中央揃え */
  align-items: center;
}

@media screen and (max-width: 1050px) {
  .push {
    padding-top: 0;
  }
}

.box-item button {
  padding: 25px;
  width: 100%;
  max-width: 300px;
  font-size: 1.5rem;
  color: #274996;
}

/*=== フッター ナビゲーションスペース ===*/
.footer-2 {
  height: 100px;
}

.footer-nav {
  list-style-type: none;
}

  /* .page-header img {
    left: 10%;
  } */

  /* .box-2 {
    justify-content: center;
    flex-direction: row;
    width: 100%;
  } */
@media screen and (max-width: 1150px) {
  .footer-nav {
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 0;
    list-style: none;
    position: static;
    left: 20%;
    top: 55px;
    margin-left: 0px;/*追加修正*/
  }
}

@media screen and (max-width: 720px) {
  .footer-nav {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 582px) {
  .footer-nav {
    font-size: 1.1rem;
  }
}

.footer-nav a {
  color: #274996;
}

.item-2 {
  padding: 17px;
}

.footer-2 h5 {
  padding: 50px 100px 0 100px;
  font-size: 2.5rem;
  margin-bottom: 0%;
}

.foot {
  text-align: left;
}

/*===コピーライトの位置===*/
.copy {
  font-size: 1rem;
}

@media screen and (max-width: 1150px) {
  .copy {
    top: 75px;
  }
}

@media screen and (max-width: 900px) {
  .copy {
    top: -9px;
    left: 33%;
  }
}

@media screen and (max-width: 720px) {
  .copy {
    left: 33%;
    font-size: 0.9rem;
  }
}

/*===フッターロゴ===*/
.rogo-foot {
  text-align: center;
}

.rogo-foot img {
  display: block;
  width: 32%;
  margin: 6% auto 4%;
}

@media screen and (max-width: 768px) {
  .rogo-foot img {
    width: 54%;
    margin: 11% auto 4%;
  }
}

@media screen and (max-width: 480px) {
  .rogo-foot img {
    width: 90%;
    margin: 11% auto 4%;
  }
}

.pro {
  height: 640px;
  top: 0px;
}

.ani-3 p {
  font-size: 2rem;
  margin-top: 0;
}

@media screen and (max-width: 1330px) {
  .container p {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 480px) {
  .container p {
    font-size: 2rem;
  }
}

@media screen and (max-width: 1150px) {
  .co {
    top: 370px;
  }
}

@media screen and (max-width: 1150px) {
  .toukou_itiran {
    /*サムネイル画像*/
    height: auto;
    display: block;
  }
}

@media screen and (max-width: 720px) {
  .sekou_itibu h3 {
    /*施工実績テキスト*/
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 582px) {
  .topContainer {
    margin-bottom: 50px;
  }
}

  /*========================モバイル版==========================-*/

  /*===カラムをひとつずつ表示する===*/
@media screen and (max-width: 480px) {
  .container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

  /*===事業内容===*/
@media screen and (max-width: 480px) {
  .container {
    width: 97%;
    margin: -126px auto 0;
  }
}

@media screen and (max-width: 480px) {
  .big-bg:before {
    background-size: cover;
    background-position: center;
  }
}

@media screen and (max-width: 480px) {
  .color-blue .service-arrow {
    color: #2b70c9;
  }
}

@media screen and (max-width: 480px) {
  .color-green .service-arrow {
    color: #5cb85c;
  }
}

@media screen and (max-width: 480px) {
  .color-lightgreen .service-arrow {
    color: #8cb86c;
  }
}

@media screen and (max-width: 480px) {
  .color-orange .service-arrow {
    color: #e67e22;
  }
}

@media screen and (max-width: 480px) {
  .color-darkblue .service-arrow {
    color: #1a529b;
  }
}

  /* ==================================モ バ イ ル 版 ===============================================*/
@media screen and (max-width: 480px) {
  .contact_item {
    margin-bottom: 1.6rem;
  }
}

@media screen and (max-width: 480px) {
  .label {
    font-size: 1.5rem;
    margin-bottom: .4rem;
  }
}

@media screen and (max-width: 480px) {
  .label {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 480px) {
  .label_tag {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .label_tag {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  input[type="text"],input[type="email"] {
    padding: .4rem;
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  textarea {
    padding: .4rem;
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  input[type="submit"] {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  input[type="submit"] {
    width: 80%;
    left: 1%;
  }
}

@media screen and (max-width: 480px) {
  .shozai {
    left: 10%;
  }
}

  /*===company===*/
@media screen and (max-width: 480px) {
  .map {
    left: 10%;
    top: -345px;
  }
}

@media screen and (max-width: 480px) {
  .map iframe {
    width: 80%;
    height: 300px;
  }
}

  /*===contact===*/
@media screen and (max-width: 480px) {
  .content-1 h1 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .w_1000 {
    width: 90%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  .contact-3 {
    width: 90%;
  }
}

@media screen and (max-width: 480px) {
  .contact-3 {
    width: 80%;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .heading {
    font-size: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .footer-1 img {
    height: 268px;
  }
}
