/*
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 {
  }
}





/* PCフッターの背景色・文字色 */
#footer {
  background-color: #f5fffa;
    color: #000000;
}
/* スマホフッターの背景色・文字色 */
@media (max-width: 767px) {
  .sp #footer {
    background-color: #dddddd;
    color: #000000;
  }
}

#footer_info_area {
  background-color: ;
  color: ;
}
@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: #3a72ba;
color: #FFFFFF; }
/* スマホヘッダーの背景色・文字色 */
@media (max-width: 767px) {
#header {
background-color: #3a72ba;
color: #FFFFFF; }
}

#post_content {
background-color: #3a72ba;
color: #FFFFFF;}

#footer_info_area {
background-color: #3a72ba;
color: #FFFFFF;}


/* PCフッターの背景色・文字色 */
#footer {
background-color: #3a72ba;
color: #FFFFFF;}
/* スマホフッターの背景色・文字色 */
@media (max-width: 767px) {
.sp #footer {
background-color: #3a72ba;
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: 30px;
}
/* グローバルメニュー 半透明ホバー 完全版 */
#global_menu li:hover > a {
  opacity: 0.7 !important;
  transition: opacity 0.3s ease !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;
}