@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/*全体*/

#content {
  margin-top: 0;
}

.main {
  padding-top: 0;
}

.entry-content {
  margin-top: 0;
}

.entry-content > *,
.demo .entry-content p {
  margin-top: 0;
}

.cstm-h1 {
  margin-top: 1.4em;
}

article.type-page .entry-title {
  display: none;
}

.page .date-tags {
  display: none;
}

.navi-in .current-menu-item a {
  background: #b6b4cf;
}

.main {
  background: #e3e3d9;
}

div.content-block {
  margin: 25px 0px;
  background: #ffffff;
  padding: 25px;
}

div.content-block h2 {
  background: none;
  color: #00125d;
  padding: 0;
  /*margin: 1em 0;*/
}

.title-center {
  text-align: center;
  color: #00125d;
}

.cstm-h1,
.cstm-h2 {
  text-align: center;
  color: #00125d;
}

div.content-block dt,
div.content-block dd {
  border-bottom: solid 1px;
}

/*ボックスメニュー*/
div.top-gall a.box-menu {
  background: #00125d;
}

.box-menus {
  justify-content: center;
}

.box-menu:hover {
  box-shadow:
    inset 2px 2px 0 0 #e50011,
    2px 2px 0 0 #e50011,
    2px 0 0 0 #e50011,
    0 2px 0 0 #e50011;
}

div.top-gall a.box-menu,
div.top-gall .box-menu-icon {
  color: #ffffff;
}

/*フッターメニュー*/

.footer-bottom {
  margin-top: 12px;
}

#navi-footer {
  margin-bottom: 24px;
}

#navi-footer a:hover {
  color: #777777;
  background: none;
}

/*モバイルメニュー*/
.search-menu-button.menu-button,
.navi-menu-button.menu-button {
  background-color: #00125d;
  color: #ffffff;
  height: 75px;
  padding-top: 20px;
}

.logo-menu-button.menu-button {
  background-color: #00125d;
  height: 75px;
}

.logo-menu-button img {
  max-height: 75px;
}

/* モバイルスライドメニュー */

#navi-menu-content {
  background: rgba(0, 18, 93, 0.5);
}

.menu-drawer a {
  color: #ffffff;
}

.menu-close-button {
  text-align: left;
}

.fa-times:before {
  content: '\f100';
  margin-left: 1.5em;
  font-size: 0.5em;
}

div#sb_instagram h3 {
  border: none;
}

/*新着一覧*/
div.newposts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

div.newposts .post-date {
  display: block;
}

.new-entry-cards .display-none {
  display: block;
  text-align: right;
}

div.box-newpost {
  background: #ffffff;
  margin: 1em 0;
  padding: 1em;
}

div.insta-wrap {
  border-bottom: solid 1px;
  margin: 1em 0;
  padding: 1em;
}

div.insta-txt {
  text-align: center;
}

div.sns-icon-wrap {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  max-width: 80%;
  margin: 2em auto;
}

p.sns-txt {
  text-align: center;
  color: #00125d;
  text-shadow: 1px 1px #cccccc;
  font-size: 1.5em;
  font-weight: bold;
}

.tcenter {
  text-align: center;
}

table.kyujin {
  margin: 0px auto;
}

.none {
  display: none;
}

/*必要ならばここにコードを書く*/

.box-menu {
  width: 16.666%!important;
}
.single-post #content::before {
  content: url(/wp-content/uploads/2026/05/header-image_news.png);
  display: block;
  width: 100%;
  text-align: center;
}
.single-post .type-post {
  margin: 25px 0px;
  padding: 25px;
  background: #fff;
}
.single-post .type-post .entry-title {
  border-bottom: solid 3px #516ab6;
  font-size: 24px;
  font-weight: bold;
  color: #00125d;
}
.wpcf7 form.sent .wpcf7-response-output {
  margin-top: -2em;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  div.content-block dt,
  div.content-block dd {
    width: 100%;
  }
  div.content-block dt {
    background: #cccccc;
  }

  main.main {
    padding: 0;
  }
  #content {
    margin-top: 30px;
  }
.box-menu {
  width: 50%!important;
}
}

/*480px以下*/
@media screen and (max-width: 480px) {
  div.content-block dt,
  div.content-block dd {
    width: 100%;
  }
  div.content-block dt {
    background: #cccccc;
  }

  main.main {
    padding: 0 1px;
  }
  #content {
    margin-top: 50px;
    padding-top: 20px;
  }
  div.sns-icon-wrap {
    /*display: block;*/
  }
}
