/*
Theme Name:MONAD child
Theme URI:https://tcd-theme.com/tcd110
Description:WordPressテーマ「MONAD」の子テーマ
Template:monad_tcd110
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/*
  ここから下にCSSを追記してください。
*/


/*---トップタイルバナーはじまり--*/
.mosaic {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1200px;
  margin: 50px auto 20px;
  font-family:
    Palatino, "Yu Kyokasho", "游教科書体", "UD デジタル 教科書体 N", "游明朝",
    "游明朝体", "Hiragino Mincho Pro", "Meiryo", serif;
}
.mosaic figure {
  margin: 0 0 10px 0;
  overflow: hidden;
  position: relative;
}
.mosaic a:hover {
  opacity: 0.7;
  transition: opacity 1s;
}
.mosaic a:hover img {
  transition: 0.3s;
  transform: scale(1.05);
}
.mosaic figure::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.1;
}
.mosaic img {
  vertical-align: bottom;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m_left {
  width: 45%;
  height: 560px;
}
.ml01 {
  height: 60%;
  border-radius: 20px 0 0 0;
}
.ml02 {
  height: 40%;
  border-radius: 0 0 0 20px;
}
.m_center {
  width: 20%;
  height: 560px;
}
.mc01 {
  height: 70%;
}
.mc02 {
  height: 30%;
}
.m_right {
  width: 32%;
  height: 560px;
}
.mr01 {
  height: 50%;
  border-radius: 0 20px 0 0;
}
.mr02 {
  height: 50%;
  border-radius: 0 0 20px 0;
}
.mosaic h3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  width: 100%;
  text-align: center;
  color: #fff;
  z-index: 1;
  font-size: 2rem;
  text-shadow: 1px 2px 5px #3f3f3f;
  margin: 0;
  line-height: 1.2;
}
.mosaic h3 small {
  font-size: 1rem;
}
.mc02 h3 {
  /*font-size: 1.2rem;*/
}
.arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: block;
  border: solid 2px #fff;
  border-radius: 99px;
  width: 30px;
  height: 30px;
  z-index: 1;
}
.arrow::after {
  content: "";
  background-image: url(img/icon-arrow-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  width: 17px;
  height: 17px;
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
}
.mosaic a:hover .arrow::after {
  animation: hoverArrow 1s ease-in-out;
}
@keyframes hoverArrow {
  0% {
    opacity: 1;
    left: 50%;
  }
  50% {
    opacity: 0;
    left: 100%;
  }
  50.01% {
    opacity: 0;
    left: 0%;
  }
  100% {
    opacity: 1;
    left: 20%;
  }
}
@media screen and (max-width: 768px) {
  .mosaic {
    display: block;
    margin: 20% 5%;
    margin: 20% 5% -70px;
  }
  .mosaic figure {
  }
  .mosaic a:hover {
  }
  .mosaic a:hover img {
  }
  .mosaic figure::after {
  }
  .mosaic img {
  }
  .m_left {
    width: 100%;
    height: 330px;
  }
  .mosaic a {
  }
  .m_left a:first-child {
  }
  .m_left a:last-child {
  }
  .ml01 {
    border-radius: 20px 20px 0 0;
  }
  .ml02 {
    border-radius: initial;
  }
  .m_center {
    display: flex;
    width: 100%;
    height: 140px;
    margin: 20px 0 10px;
  }
  .m_center a:first-child {
    width: 40%;
  }
  .m_center a:last-child {
    width: 60%;
    margin: 0 0 0 10px;
  }
  .mc01 {
    height: 100%;
  }
  .mc02 {
    height: 100%;
  }
  .m_right {
    width: 100%;
    height: 200px;
    display: flex;
  }
  .m_right a:first-child {
  }
  .m_right a:last-child {
    margin: 0 0 0 10px;
  }
  .mr01 {
    height: initial;
    border-radius: 0 0 0 20px;
  }
  .mr02 {
    height: initial;
  }
  .mosaic h3 {
    font-size: 1rem;
  }
  .mosaic h3 small {
  }
  .ml01 h3 {
    font-size: 2rem;
  }
  .ml02 h3 {
    font-size: 1.4rem;
  }
  .mc02 h3 {
  }
  .arrow {
    right: 10px;
    bottom: 5px;
  }
  .arrow::after {
  }
  .mosaic a:hover .arrow::after {
  }
}

/*---------------
お問い合わせフォーム 基本デザイン
-----------------------------------*/
/* 送信完了・エラーメッセージ */
.wpcf7-response-output {
  background-color: #ffffff;
  margin: 0 auto !important;
  max-width: 500px;
  padding: 0px 0px !important;
  text-align: center;
  width: 90%;
  font-size: 12px !important;
}

/* フォーム全体のコンテナ */
.contact_box {
  background-color: #ffffff;
  margin: 0 auto;
  min-width: 80%;
}

/* 入力欄（テキスト・メールなど） */
.contact_box input {
  border: solid 1px #888888;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  padding: 10px;
}

/* プルダウンメニュー */
.contact_box select {
  font-size: 16px;
  min-width: 50%;
  padding: 10px 20px;
}

/* お問い合わせ内容（テキストエリア） */
.contact_box textarea {
  font-size: 16px;
  min-width: 90%;
  padding: 10px 20px;
}

/* フォームの項目名（左側） */
.contact_box th {
  background: #ffffff;
  border: solid 1px #d7d7d7;
  color: #444444;
  font-size: 16px;
  padding: 30px 10px;
  text-align: left;
  vertical-align: middle;
  width: 30%;
}

/* フォームの入力側（右側） */
.contact_box td {
  border: solid 1px #d7d7d7;
  font-size: 13px;
  padding: 20px 20px;
  vertical-align: middle;
}

/* 必須ラベル（赤） */
.haveto {
  background: #ef7575 !important;
  border-radius: 2px !important;
  color: #ffffff !important;
  font-size: 12px !important;
  margin-right: 8px !important;
  padding: 2px 6px !important;
  display: inline-block !important;
  font-weight: normal !important;
  line-height: 1.2 !important;
  position: relative;
  bottom: 1px;
}

/* 任意ラベル（青） */
.any {
  background: #93c9ff !important;
  border-radius: 2px !important;
  color: #ffffff !important;
  font-size: 12px !important;
  margin-right: 8px !important;
  padding: 2px 6px !important;
  display: inline-block !important;
  font-weight: normal !important;
  line-height: 1.2 !important;
}

/* 送信ボタン */
#formbtn {
  background: #e8918c;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin: 0 auto;
  padding: 1em 0 2.3em 0;
  width: 60%;
}

#formbtn:hover {
  opacity: 0.8;
  transition: all 0.2s ease-out 0s;
}

/* プレースホルダーの色 */
input::placeholder,
textarea::placeholder {
  color: #cccccc;
}

/* 個人情報保護 同意チェック */
.privacy-check {
  margin: 25px auto 15px;
  text-align: center;
  font-size: 13px;
}

/*-----------------------------------
スマホ対応（レスポンシブ）
-----------------------------------*/
@media (max-width: 900px) {
  .contact_box {
    width: 90%;
  }
  .contact_box input,
  .contact_box textarea,
  .contact_box select {
    width: 100%;
  }
  #formbtn {
    width: 90%;
  }
}

@media (max-width: 500px) {
  .contact_box th,
  .contact_box td {
    border-top: none !important;
    display: block;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* 必須・任意のサイズ微調整 */
  .contact_box .haveto,
  .contact_box .any {
    font-size: 10px;
    padding: 2px 5px;
  }
}

/* ロゴ（SNSアイコン）を右側に寄せるレイアウト */
.footer-logo-sns-row {
    display: flex;
    justify-content: flex-end; /* 右寄せに設定 */
    align-items: center;
    max-width: 100%;
    padding: 10px 0;
}

/* ロゴの並びと間隔 */
.footer-sns-wrapper {
    display: flex;
    gap: 15px; /* アイコン同士の隙間 */
}

/* アイコンのサイズ調整 */
.footer-sns-wrapper img {
    width: 35px; /* アイコンの大きさ */
    height: auto;
    display: block;
    transition: opacity 0.3s;
}

/* マウスを置いた時のエフェクト */
.footer-sns-wrapper img:hover {
    opacity: 0.7;
}

@media (max-width: 767px) {

  /* サブメニューに擬似アイコン */
  #drawer_menu .sub-menu li > a::before {
    content: "└";
    margin-right: 8px;
    color: rgba(255,255,255,0.5);
  }

}

@media (max-width: 767px) {

  /* 3階層目だけ右にずらす */
  #drawer_menu .sub-menu .sub-menu li > a {
    padding-left: 50px !important;
  }

}

/* PCヘッダーの背景色・文字色 */
#header {
background-color: #00a6be;
color: #FFFFFF; }
/* スマホヘッダーの背景色・文字色 */
@media (max-width: 767px) {
#header {
background-color: #00a6be;
color: #FFFFFF; }
}

#post_content {
background-color: #00a6be;
color: #FFFFFF;}

#footer_info_area {
   
background-color: #00a6be;
color: #FFFFFF;}


/* PCフッターの背景色・文字色 */
#footer {
background-color: #00a6be;
color: #FFFFFF;}
/* スマホフッターの背景色・文字色 */
@media (max-width: 767px) {
.sp #footer {
background-color: #00a6be;
color: #FFFFFF;}
}
/* PCヘッダーメニューの文字色 */
#global_menu > ul > li > a {
color: #ffffff; /* 白 */
}
/* SPヘッダーメニューの文字色 */
@media (max-width: 767px) {
#global_menu > ul > li > a {
color: #ffffff;} /* 白 */
}


/* ハンバーガーメニューを白色に */
#drawer_menu_button span {
  background-color: #ffffff !important;
}

/* 電話番号を白色に */
#header_tel .tel {
  color: #ffffff !important;
}

/* 電話番号ホバー時も白のまま */
#header_tel .tel:hover {
  color: #ffffff !important;
}

.home .top_slider {
  margin-top: 0px;
}

/* PCヘッダーメニューの文字色 */
#global_menu > ul > li > a {
  color: #ffffff;
}

/* hover時の文字色 */
#global_menu a:hover,
#global_menu li:hover > a,
#global_menu .current-menu-item > a,
#global_menu .current-menu-parent > a {
  color: #ffffff !important;
}


/* グローバルメニュー オンマウスで白文字 */
#global_menu a:hover,
#global_menu li:hover > a,
#global_menu .current-menu-item > a,
#global_menu .current-menu-parent > a {
  color: #ffffff !important;
}




/* グローバルメニュー オンマウスで白文字 */
#global_menu a:hover,
#global_menu li:hover > a,
#global_menu .current-menu-item > a,
#global_menu .current-menu-parent > a {
  color: #ffffff !important;
}

/* サブメニュー文字色修正 */
#global_menu .sub-menu li a {
  color: #333333 !important;
}

#global_menu .sub-menu li a:hover {
  color: #00a6be !important;
}