/**************************************************************
【共有設定】
**************************************************************/
/* =================================================
   SPのみpadding
================================================= */

@media screen and (max-width: 767px) {
    .SP_pr60 {
        padding-right: 60px !important;
    }
    .SP_pl60 {
        padding-left: 60px !important;
    }
}

/* =================================================
   改行制御
================================================= */

/* PCでは改行しない */
.TB_br,
.SP_br {
  display: none;
}

/* スマホ */
@media (max-width: 767px) {
  .SP_br {
    display: inline;
  }
}

/* タブレット＋スマホ */
@media (max-width: 1024px) {
  .TB_br {
    display: inline;
  }
}


/* =================================================
   共通設定
================================================= */

/* Elementorボタン */
.elementor-button {
  line-height: 1.4;
}

/* 打ち消し線 */
.del {
  text-decoration: line-through;
}


/* =================================================
   コピーライト
================================================= */

#copyright span {
  display: block;
  max-width: 1700px;
  height: 60px !important;
  margin: 0 auto;
  padding: 0 !important;
  line-height: 60px !important;
  text-align: center !important;
}


/**************************************************************
【ボックス設定】
**************************************************************/

/* =================================================
   黒ラインボックス
================================================= */

/* 中央寄せ */
.framebox01 {
  display: inline-block;
  margin: auto;
  padding: 10px;
  border: 1px solid #000;
}

/* 左寄せ */
.framebox02 {
  display: inline-block;
  padding: 10px;
  border: 1px solid #000;
  background: #fff;
}


/* =================================================
   白抜きタブ風ボックス
================================================= */

.framebox03 {
  display: inline-block;
  margin: auto;
  padding: 10px 40px;
  color: #fff;
  background: #142e6a;
  border-radius: 0 0 20px 20px;
  line-height: 1.2em;
}

/* 中央寄せ */
.framebox01,
.framebox02,
.framebox03,
.center {
  text-align: center;
}

/**************************************************************
【メニュー設定】
**************************************************************/

/* =================================================
   メニューコンテナ
================================================= */

.menu_box01 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
}


/* =================================================
   ボタンラッパー
================================================= */

.menu_box01 .inner {
  flex: 1 1 calc(33.333% - 40px);
  min-width: 200px;
  box-sizing: border-box;
}


/* =================================================
   メニューボタン
================================================= */

.menu_btn01 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  color: #5c71a4 !important;
  background-color: #fff;
  border: 3px solid #5c71a4;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.menu_btn01:hover {
  color: #142e6a !important;
  background-color: #eaf2fa;
  border: 3px solid #5c71a4;
  text-decoration: none !important;
}

/* ボタン画像 */
.menu_btn01 img {
  width: 84px;
  height: 70px;
  margin-right: 25px;
  object-fit: contain;
}

/* ボタン文字 */
.menu_btn01 span {
  font-size: 18px;
  font-weight: bold;
}

/* =================================================
   レスポンシブ
================================================= */

/* タブレット */
@media (max-width: 1024px) {
  .menu_box01 .inner {
    flex: 1 1 calc(50% - 20px);
  }
}

/* スマホ */
@media (max-width: 768px) {
  .menu_box01 .inner {
    flex: 1 1 100%;
  }
}


/**************************************************************
【バナー・ボタン設定】
**************************************************************/

/* =================================================
   中央寄せボタン
================================================= */

.button01 {
  display: flex;
  justify-content: center;
}

/* ボタン本体 */
.button01 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 70px;
  padding: 10px 20px;
  color: #142e6a;
  background: #fff;
  border: 1px solid #142e6a;
  border-radius: 70px;
  font-size: 17px;
  line-height: 70px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button01 a:hover {
  color: #fff !important;
  background: #142e6a;
  text-decoration: none;
}


/**************************************************************
【テーブル設定】
**************************************************************/

/* 横スクロール解除 */
.post_content .s_table {
  overflow: unset !important;
  white-space: normal !important;
}

/* =================================================
   tbl01
================================================= */

table.tbl01 {
  width: 100%;
  margin: 0 auto 40px;
}

table.tbl01 th {
  width: 30%;
  padding: 10px;
  background: #eaf0f7;
  font-weight: bold;
  word-break: break-word;
}

table.tbl01 td {
  padding-left: 1em;
  word-break: break-word;
}

/**************************************************************
【テーブル：スマホ】
**************************************************************/

@media screen and (max-width: 767px) {
  table.last td:last-child {
    width: 90%;
  }

  table.tbl01 {
    width: 90%;
    padding-right: 10px;
  }

  table.tbl01 th,
  table.tbl01 td {
    display: block;
    width: 100%;
    text-align: center;
    border-bottom: none;
  }

  /* ① 役員：代表取締役の下に線 */
  table.tbl01 tbody tr:nth-child(2) td:last-child {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
  }

  /* ② 役員：2人目の取締役の下に線 */
  table.tbl01 tbody tr:nth-child(3) td:last-child {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
  }

  /* ③ テーブル最下部に線 */
  table.tbl01 tbody tr:last-child td:last-child {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
  }

}


/**************************************************************
【テーブル：タブレット】
**************************************************************/

@media screen and (min-width: 768px) and (max-width: 1024px) {

  table.tbl01 th,
  table.tbl01 td {
    display: table-cell;
    padding-left: 25px;
    text-align: left;
  }
}


/**************************************************************
【その他設定】
**************************************************************/

/* =================================================
   リスト
================================================= */

li {
  margin-bottom: 0.6em;
  line-height: 1.8;
}


/* 装飾なしリスト */
ul.none-list {
  margin: 0;
  list-style: none !important;
}


/* =========================
   PC/TB専用サイドバナー
========================= */

.side_bnr {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.bnr_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background-color: #142e6a;
  padding: 10px;
  border-radius: 12px 0 0 12px;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 500;
  width: 50px;
}

/* 2番目だけ色変更 */
.bnr_item:nth-child(2) {
  background-color: #88794d;
}

/* Hover */
.bnr_item:nth-child(1):hover {
  background-color: #5c71a4;
  color: #fff;
}

.bnr_item:nth-child(2):hover {
  background-color: #ceb486;
  color: #fff;
}

/* アイコン */
.bnr_icon {
  font-size: 20px;
  margin-bottom: 8px;
}

/* 縦書き */
.bnr_item span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}

/* スマホでは非表示 */
@media (max-width: 768px) {
  .side_bnr {
    display: none;
  }
}


/* =================================================
   footer
================================================= */

/* ロゴ＋住所 */
#footer_inner {
  text-align: left;
}

/* メニュー */
#footer_nav {
  text-align: left;
}

/* コピーライト */
#copyright {
  text-align: center;
}

/* =================================================
   追加フッターメニュー
================================================= */

.common-footer {
  margin: 20px 0 0;
  padding: 20px 0;
  background: #f1f1f1;
  font-size: 14px;
  text-align: center;
}

/* リンク */
.common-footer a {
  margin: 0 12px;
  color: #777;
  text-decoration: none;
}

.common-footer a:hover {
  text-decoration: underline;
}

/* スマホ */
@media (max-width: 768px) {

  .common-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: center;
  }

  .common-footer a {
    display: block;
    margin: 0;
  }
}



/**************************************************************
【総合ページ専用】
**************************************************************/

/* =================================================
   WrapperLink　ホバーエフェクト
================================================= */

.hover-box01 {
  transition: background-color 0.4s ease;
}

.hover-box01:hover {
  background-color: #eaf2fa;
}


/* =================================================
   カードリンク
================================================= */

.card-link,
.card-link02 {
  position: relative;
  overflow: hidden;
}

/* フィルター */
.card-link::after,
.card-link02::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: 0.3s;
}

/* Hover */
.card-link:hover::after {
  background: rgba(255, 255, 255, 0.25);
}

.card-link02:hover::after {
  background: rgba(255, 255, 255, 0.4);
}

/**************************************************************
【コンタクト問い合わせ】
**************************************************************/

/* コンタクトステップ現在地を表示 */
.contact-step{
 display:flex;
 justify-content:space-between;
 margin-bottom:50px;
}

.contact-step div{
 width:80px;
 height:80px;
 border-radius:50%;
 background:#9db2cf;
 color:#fff;
 display:flex;
 align-items:center;
 justify-content:center;
}

.contact-step .active{
 background:#173f7a;
}

/* フォーム */
.form-row{
    display:flex;
    border-top:1px solid #ddd;
    padding:25px 0;
}
.form-row2{
    display:flex;
    border:0;
    padding:25px 0;
}

.form-title{
    width:260px;
    flex-shrink:0;
    font-size:24px;
    font-weight:700;
    color:#0d3d7c;
}

.form-content{
    flex:1;
}

.form-content input,
.form-content textarea,
.form-content select{
    width:100%;
    border:1px solid #d5d5d5;
    padding:12px;
}

.form-content textarea{
    min-height:220px;
}

.required{
    display:inline-block;
    background:#e94b5a;
    color:#fff;
    font-size:12px;
    padding:4px 8px;
    margin-left:10px;
    border-radius:3px;
}

.required-cond{
    display:inline-block;
    background:#1e73be;
    color:#fff;
    font-size:12px;
    padding:4px 8px;
    margin-left:10px;
    border-radius:3px;
}

.zip-row{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
}

.zip-row .wpcf7-form-control-wrap{
    width:auto;
}

.zip1{
    width:80px !important;
}

.zip2{
    width:100px !important;
}

.submit-wrap{
    text-align:center;
}

.submit-wrap .wpcf7-submit{
    width:300px !important;
    height:60px;
    line-height:60px;
    padding:0 !important;
    background:#142e6a !important;
    color:#fff !important;
    border:none !important;
    cursor:pointer;
    text-align:center;
    vertical-align:middle;
}

/* PCでのiframeを全幅にする */
.privacy-row .form-title{
    display:none;
}

.privacy-row .form-content{
    width:100%;
    flex:none;
}

.privacy-row iframe{
    width:100%;
    height:300px;
    border:1px solid #ddd;
}

/* ==========================
   スマホ用
   ========================== */
@media (max-width:767px){

    /* ステップ */
    .contact-step{
        margin-bottom:30px;
    }

    .contact-step div{
        width:60px;
        height:60px;
        font-size:14px;
    }

    /* フォームを縦並び */
    .form-row,
    .form-row2{
        display:block;
        padding:15px 0;
    }

    .form-title{
        width:100%;
        font-size:18px;
        margin-bottom:10px;
    }

    .form-content{
        width:100%;
    }

    .form-content input,
    .form-content textarea,
    .form-content select{
        font-size:16px; /* iPhone拡大防止 */
        padding:10px;
    }

    .form-content textarea{
        min-height:150px;
    }

    /* 必須バッジ */
    .required,
    .required-cond{
        font-size:11px;
        padding:3px 6px;
        margin-left:6px;
    }

    /* 郵便番号 */
    .zip-row{
        flex-wrap:nowrap;
        gap:5px;
    }

    .zip1{
        width:70px !important;
    }

    .zip2{
        width:90px !important;
    }

    /* 送信ボタン */
    .submit-wrap .wpcf7-submit{
        width:100% !important;
        max-width:320px;
        height:55px;
        line-height:55px;
        font-size:16px;
    }

    /* ラジオボタン */
    .wpcf7-list-item{
        display:block;
        margin:0 0 8px 0;
    }

    /* チェックボックス */
    .form-content .wpcf7-list-item{
        display:block;
        margin-bottom:8px;
    }
}