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

/************************************
** 全体設定
************************************/
.main-title {
  color: red;
}

/************************************
** h2〜h4 タイトルサイズ & 行間 (768px以下)
************************************/
@media screen and (max-width: 768px) {
  h2 {
    font-size: 22px !important;
    line-height: 1.5 !important;
  }

  h3 {
    font-size: 20px !important;
    line-height: 1.5 !important;
  }

  h4 {
    font-size: 17px !important;
    line-height: 1.5 !important;
  }

  .wp-block-column {
    line-height: 1.5 !important;
  }
}

/************************************
** ページタイトル (.entry-title)非表示 (768px以下)
************************************/
@media screen and (max-width: 768px) {
  .page .entry-title {
    display: none !important;
  }
}

/************************************
** モバイルメニュー設定
************************************/
@media screen and (max-width: 768px) {
  .slicknav_menu {
    background-color: #FEF6EF !important;
  }

  .slicknav_nav {
    background-color: #FEF6EF !important;
  }

  .slicknav_nav li a {
    color: #7C596A !important;
  }

  .slicknav_nav li a:hover,
  .slicknav_nav li a:active {
    background-color: #EEDCCD !important;
    color: #7C596A !important;
  }

  .slicknav_btn,
  .slicknav_btn * {
    background-color: #F3E9E0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }


  .slicknav_menutxt {
    color: #7C596A !important;
    font-weight: bold;
  }

  .slicknav_icon-bar {
    background-color: #7C596A !important;
  }
}

.slicknav_btn {
  border: 1px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/************************************
** モバイル時ロゴ非表示
************************************/
@media screen and (max-width: 768px) {
  #header-in {
    display: none !important;
  }
}

/************************************
** 私の想い レイアウト調整
************************************/
@media screen and (max-width: 768px) {
  .wp-block-columns > .wp-block-column:first-child,
  .wp-block-columns > .wp-block-column:last-child {
    display: none !important;
  }

  .wp-block-columns > .wp-block-column:nth-child(2) {
    flex-basis: 100% !important;
  }
}

/************************************
** 画像サイズ調整
************************************/
@media screen and (max-width: 768px) {
  img {
    width: 60% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }
}

/************************************
** Lianjeについて、活動紹介 余白
************************************/
@media screen and (max-width: 768px) {
  .custom-card h2 {
    margin-bottom: 0.8em !important;
  }

  .custom-card p {
    margin-bottom: 1.2em !important;
  }
}

/************************************
** FV調整
************************************/
@media screen and (max-width: 768px) {
  #appeal {
    aspect-ratio: 1 / 0.76;
    overflow: hidden;
  }

  #appeal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/************************************
** contactfoam
************************************/
.wpcf7 input[type="submit"] {
  background-color: #E3E2F8 !important;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 0; /* 必要なら角丸設定を調整 */
  transition: background-color 0.3s ease;
}
form.wpcf7-form input[type="submit"].wpcf7-submit {
  color: #444444!important;
}
