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

/************************************
** グローバル設定
************************************/
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #fdf5e6;
}

/************************************
** ヘッダー画像調整
************************************/
/* ロゴ画像 */
.logo-image img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ヘッダー画像の親要素 */
.header-image {
  margin: 0;
  padding: 0;
  background: none;
  text-align: left;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ヘッダー画像本体 */
.header-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* ヘッダーコンテナ */
#header,
.header-container {
  width: 100%;
  max-width: 100%;
  background-color: transparent !important;
  margin: 0;
  padding: 0;
}

/************************************
** レスポンシブ（スマホ対応）
************************************/
@media screen and (max-width: 1200px) {
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .header-container,
  .navi,
  #sp_bottom_menu,
  footer,
  .main,
  .wrap,
  .container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
  }
}

@media screen and (max-width: 1023px) {
  /* 必要に応じて記述 */
}

@media screen and (max-width: 834px) {
  /* 必要に応じて記述 */
}

@media screen and (max-width: 767px) {
  .post-content,
  .entry-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media screen and (max-width: 480px) {
  #header {
    width: 100%;
    max-width: 100%;
    background-image: url(https://paru-wandering.com/wp-content/uploads/2025/07/850-1000.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: auto;
    overflow-x: hidden;
  }

  .header-image img {
    width: 100%;
    height: auto;
	margin: 0 !important;
    padding: 0 !important;
  }
}

/************************************
** 背景・その他の装飾
************************************/
.wrap,
.container,
.main,
.content {
  background-color: transparent !important;
  box-shadow: none !important;
}

.article {
  background-color: #f9f5e6 !important;
}

.sidebar {
  background-color: #fdf5e6;
}

/* === ヘッダーの上下余白を完全になくす === */

.header-container,
.header-in,
.logo-image,
.siteHeader_logo,
.header-image,
.logo,
.site-title {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
}

/* img のインライン隙間防止 */
.header-image img,
.logo-image img,
.siteHeader_logo img {
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
