@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.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/************************************
** 並び替え投稿一覧用
************************************/
/* .post-grid {
  display: grid;
  gap: 30px;
  margin: 30px 0;
}

.post-item {
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
} */

.post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.post-item {
  width: calc(33.333% - 13.333px); /* 3列 */
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .post-item {
    width: 100%; /* スマホは1列 */
  }
}

/* カラム数別にスタイル */
.post-grid.columns-1 {
  grid-template-columns: repeat(1, 1fr);
}
.post-grid.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
.post-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
.post-grid.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.post-item .thumb-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
/*   max-width: 200px; /* 必要に応じて調整 */ */
  margin-left: auto;
  margin-right: auto;
}

.post-item img {
  max-width: 100%;
  height: auto;
}

.centered-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 0;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* TOP */
.top_kv {
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}
.top_kv_inner {
  text-align: center;
}
.top_kv h1 {
  font-size: 60px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
}
.top_kv h1 strong {
  color: #1e73be;
}
.top_kv p {
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  margin-top: 20px;
}
@media screen and (min-width:769px) {
  .top_kv {
    min-height: 600px;
    padding-top: 200px;
  }
  .top_kv_inner {
    max-width: 1000px;
    margin: 0 auto;
  }
}
@media screen and (max-width:768px) {
  .top_kv_inner {
    padding: 60px 20px;
  }
  .top_kv h1 {
    font-size: 10.0vw;
  }
  .top_kv p {
    font-size: 4.0vw;
  }
}

.entry-content h2:first-child {
  margin-top: 0!important;
}

@media screen and (max-width:768px) {
  .home .cf h2 {
    font-size: 12.0vw!important;
  }
}

/*** Table ***/
.table-1, .table-1 table {
    width: 100%;
}
.table-1 th, .table-1 td,
.table-1 table th, .table-1 table td {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.15em;
    padding: 30px 20px;
    text-align: left;
    vertical-align: top;
    border: none;
    border-bottom: 1px solid #dddddd;
}
.table-1 > thead > tr > th,
.table-1 table > thead > tr > th {
    font-weight: bold;
    background-color: #eee;
}
.table-1 > tbody > tr > th,
.table-1 table > tbody > tr > th {
    font-weight: bold;
}
.table-1 small {
    font-size: 80%;
}
.table-1.text-left th, .table-1.text-left td,
.table-1 table.text-left th, .table-1 table.text-left td {
    text-align: left;
}
.table-1 td p:not(:last-child),
.table-1 table td p:not(:last-child) {
    margin-bottom: 10px;
}
@media screen and (max-width:768px) {
    .table-1, .table-1 th, .table-1 td {
        display: block;
    }
    .table-1 th {
        border: none;
        padding-bottom: 10px;
    }
    .table-1 td {
        padding-top: 0;
    }
}

.contant-content h2 {
  font-size: 34px;
  background: none;
  color: #1e73be;
  text-align: center;
  position: relative;
}
.contant-content h2::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 50px;
  margin-left: -25px;
  height: 2px;
  background-color: #1e73be;
}
.contant-content h2:not(:first-child) {
  margin-top: 60px;
}
.contant-content p {
  font-size: 16px;
  text-align: center;
  line-height: 2;
}
.contant-content .wp-block-contact-form-7-contact-form-selector p {
  text-align: left;
}
.contant-content .cocoon-block-caption-box.not-nested-style>.box-label {
  background-color: #1e73be;
  border: none;
  font-size: 15px;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
}
.contant-content .box-content {
  padding: 20px;
}
.contant-content .box-content p {
  text-align: left;
  line-height: 1.7;
}
.contant-content input[type=submit] {
  max-width: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: #1e73be;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}
@media screen and (min-width:769px) {
  .contant-content {
    max-width: 1000px;
    margin: 0 auto;
  }
  .contant-content .wp-block-contact-form-7-contact-form-selector {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Footer SNS */
.footer-bottom-sns {
  display: flex;
    padding-left: 0;
}
.footer-bottom-sns li {
  display: block;
}
.footer-bottom-sns li:not(:last-child) {
  margin-right: 10px;
}
.footer-bottom-sns li a {
  display: block;
  background-color: rgba(255,255,255,20%);
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 5px;
}
.footer-bottom-sns li a:hover {
  opacity: 0.8;
}
@media screen and (min-width:769px) {
  .footer-bottom-logo {
    display: flex;
    align-items: center;
  }
}
@media screen and (max-width:768px) {
  .footer-bottom-sns {
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
  }
}
