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

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


#container {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
}

#main {
  flex: 1 1 65%;
}

#sidebar {
  flex: 1 1 30%;
}

/* 通知エリアのスタイル調整 */
.message-box,
.notice-area,
#info-message {
  font-size: 1.3em;
  padding: 2.5em 1em;
  margin-bottom: 1.2em;
  background-color: #fdf3d1;
  text-align: center;
  line-height: 1.5;
}



/* ===============================
   スマホ表示用ヘッダー調整
   =============================== */
@media screen and (max-width: 768px) {
  .logo img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
    max-width: 100%;
  }

  .site-header {
    height: auto !important;
    width: 100% !important;
    padding: 1em;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .site-header {
    background-color: #f8f8f8; /* お好みで */
    padding: 1.5em 1em;
    height: auto !important;
    width: 100% !important;
    display: block;
  }

  .logo img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  #header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1em 0;
    min-height: 100px;
    background-color: #f8f8f8; /* お好みで */
  }

  #header .logo img {
    width: 120px;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  #header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.5em 0 !important;
    min-height: 100px !important;
    background-color: #f8f8f8 !important;
  }

  .custom-logo {
    width: 120px !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
  }
}