@charset "utf-8";
/*
Theme Name:MONOLITH child
Theme URI:https://tcd-theme.com/tcd042
Description:"MONOLITH" is a WordPress theme for architectural design and real estate developers. With a four-part header that makes your company or service look attractive. Everything is designed with precision and calculation. We recommend you to use MONOLITH as it is.
Template: monolith_tcd042
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.17
Text Domain:tcd-monolith
*/

.pc #global_menu > ul > li > a {
    font-size: 16px
}

.pc #global_menu ul ul a {
    font-size: 16px
}

.footer_menu#footer-menu4 li:nth-of-type(2) a {
    color: #00698C;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.is-left {
    text-align: left !important;
}

.heading-border-bottom {
    border-bottom: solid 1px #acacac;
    padding-bottom: 0.5em !important;
    padding-left: 0.5em !important;
}

.frame-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 100%;
    overflow: hidden;
}

.frame-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#project_list li {
    padding: 2px;
}

/*見出し変更*/
.rich_font {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
    font-weight: 100;
}

/* アーカイブページflex OFF と下マージン調整*/
body.single-info #main_col {
    display: block;
}

#archive_catchphrase {
    margin: 0 0 50px 0;
}


/* ===============================
   カスタム2カラムレイアウト（PCのみ）
   MONOLITH + Gutenberg 互換
   使用例: <div class="wp-block-columns columns-70-30">...</div>
   SP時は縦並び（デフォルト）
   =============================== */

@media screen and (min-width: 768px) {

  .wp-block-columns.columns-80-20 {
    display: flex;
    gap: 2rem;
  }

  .wp-block-columns.columns-80-20 > .wp-block-column:first-child {
    width: 80% !important;
    flex: 0 0 80% !important;
    max-width: 80% !important;
    flex-grow: 0 !important;
  }

  .wp-block-columns.columns-80-20 > .wp-block-column:last-child {
    width: 20% !important;
    flex: 0 0 20% !important;
    max-width: 20% !important;
    flex-grow: 0 !important;
  }

  .wp-block-columns.columns-70-30 {
    display: flex;
    gap: 2rem;
  }

  .wp-block-columns.columns-70-30 > .wp-block-column:first-child {
    width: 70% !important;
    flex: 0 0 70% !important;
    max-width: 70% !important;
    flex-grow: 0 !important;
  }

  .wp-block-columns.columns-70-30 > .wp-block-column:last-child {
    width: 30% !important;
    flex: 0 0 30% !important;
    max-width: 30% !important;
    flex-grow: 0 !important;
  }

  .wp-block-columns.columns-30-70 {
    display: flex;
    gap: 2rem;
  }

  .wp-block-columns.columns-30-70 > .wp-block-column:first-child {
    width: 30% !important;
    flex: 0 0 30% !important;
    max-width: 30% !important;
    flex-grow: 0 !important;
  }

  .wp-block-columns.columns-30-70 > .wp-block-column:last-child {
    width: 70% !important;
    flex: 0 0 70% !important;
    max-width: 70% !important;
    flex-grow: 0 !important;
  }

  .wp-block-columns.columns-20-80 {
    display: flex;
    gap: 2rem;
  }

  .wp-block-columns.columns-20-80 > .wp-block-column:first-child {
    width: 20% !important;
    flex: 0 0 20% !important;
    max-width: 20% !important;
    flex-grow: 0 !important;
  }

  .wp-block-columns.columns-20-80 > .wp-block-column:last-child {
    width: 80% !important;
    flex: 0 0 80% !important;
    max-width: 80% !important;
    flex-grow: 0 !important;
  }
}

/* 設備関係のレイアウト*/
.corp-equ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.equ-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* キャプション左寄せ */
  margin: 0;
}

.equ-item .caption {
  margin: 0 0 0.3em 0;
  font-size: 15px;
  font-weight: 500;
  color: #111;
}

.equ-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

/* スマホ時は2列に */
@media screen and (max-width: 767px) {
  .corp-equ-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* 設備関係のテーブルはSP時には改行あり*/
@media screen and (max-width: 767px) {
  .equipment-table,
  .equipment-table td,
  .equipment-table th {
    word-break: break-word;
    white-space: normal;
  }
}

/* ===============================
   Contact Form 7 横2列ラベル・入力欄スタイル
   MONOLITH用・影響範囲限定
   =============================== */

.cf7-table-layout {
  max-width: 860px;
  margin: 0 auto;
  font-family: inherit;
}

.cf7-row {
  display: flex;
  align-items: center;
  margin-bottom: 1.5em;
  flex-wrap: wrap;
}

.cf7-label {
  width: 25%;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  box-sizing: border-box;
}

.cf7-field {
  width: 75%;
  box-sizing: border-box;
}

.cf7-field input[type="text"],
.cf7-field input[type="email"],
.cf7-field input[type="tel"],
.cf7-field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #333;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #fff;
}

.cf7-field textarea {
  height: 120px;
  resize: vertical;
}

.cf7-table-layout .required {
  color: red;
  font-size: 14px;
  margin-left: 0.5em;
}

.cf7-submit {
  text-align: center;
  margin-top: 2em;
}

.cf7-submit input[type="submit"] {
  background-color: #ccc;
  color: #fff;
  padding: 12px 50px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* SP時は縦並び */
@media screen and (max-width: 768px) {
  .cf7-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cf7-label,
  .cf7-field {
    width: 100%;
  }

  .cf7-label {
    margin-bottom: 0.3em;
  }
}

/* ========== フッターメニュー4カラム：全体レイアウト ========== */
#footer_menu.footer_menu_num4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#footer_menu .footer_menu {
  width: 23%; /* 各列幅：4列構成に調整 */
}

/* ========== PC/SP切り替え（レスポンシブ対応） ========== */
@media screen and (max-width: 768px) {
  #footer_menu.footer_menu_num4 {
    flex-direction: column;
  }

  #footer_menu .footer_menu {
    width: 100%;
    margin-bottom: 2em;
  }
}

/* ========== メニュー階層別スタイル ========== */

/* ◆ 親メニュー（1階層目） */
#footer_menu .menu > li {
  font-weight: bold;
  margin-bottom: 0.8em;
}

#footer_menu .menu > li > a {
  margin-left: 0 !important;
  display: inline !important;
  font-weight: bold !important;
  color: #015d85 !important;
}

/* 4列目（menu4）の見出しだけ強制太字（念のため） */
#footer-menu4 > ul > li:first-child {
  font-weight: bold;
}

/* ◆ 子メニュー（sub-menu） */
#footer_menu .sub-menu {
  margin-top: 0.5em;
  padding-left: 1em;
}

#footer_menu .sub-menu li {
  font-weight: normal;
  line-height: 1.8;
  margin-bottom: 0.5em;
}

#footer_menu .sub-menu li a {
  margin-left: 1em;
  font-weight: normal;
}
/* 子メニューのインデントを調整 */
#footer_menu .sub-menu {
  padding-left: 0.5em !important;
}

#footer_menu .sub-menu li {
  margin-left: 0 !important;
}

#footer_menu .sub-menu li a {
  margin-left: 0.2em !important;
    font-size: 1.1;
}