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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* smooth */
html {
    scroll-behavior: smooth;
}

/* ヘッダー画像 */
  .page-id-34 .appeal {
  background-image: url('https://craneplus.co.jp/wp/wp-content/uploads/2026/02/background_06.jpg');
  background-position: center center;
  background-size: cover;
}
  .page-id-36 .appeal {
  background-image: url('https://craneplus.co.jp/wp/wp-content/uploads/2026/02/background_05.jpg');
  background-position: center center;
  background-size: cover;
}
  .page-id-39 .appeal {
  background-image: url('https://craneplus.co.jp/wp/wp-content/uploads/2026/02/background_07.jpg');
  background-position: center center;
  background-size: cover;
}

/*  */
.header-container{
	padding: 15px 0px;
    font-weight: bold;
}
/* 固定ページ日付非表示 */
.page .date-tags {
display: none;
}

/* contents header h1 */
.entry-title{
	font-size: 42px;
	margin-top: -230px;
    margin-bottom: 230px;
    color: white;
    text-shadow: 0 0 8px black;
	text-align: center;
    letter-spacing: 0.1em;
}
.type-post .entry-title{
	font-size: 42px;
    margin-top: -230px;
    margin-right: -350px;
    margin-bottom: 150px;
    color: white;
    text-shadow: 0 0 8px black;
    text-align: center;
    letter-spacing: 0.1em;
}
.blog-title{
    font-size: 42px;
    margin-top: -200px;
    margin-right: -350px;
    margin-bottom: 150px;
    color: white;
    text-shadow: 0 0 8px black;
    text-align: center;
    letter-spacing: 0.1em;
}
.article h2 {
  position: relative;
  width: 100%;
  padding: 20px 0 24px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  background: #fff;
  border-bottom: 2px solid #333;  /* 下線だけ */
}
.article h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #333; /* 下線の色と合わせる */
}

.article h3 {
  position: relative;
  display: block;
  width: 100%;
  padding: 1em 0.5em;
  margin: 40px 0;
  font-size: 24px;
  font-weight: 700;
  border: none;
}

.article h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: #dfe0df;
  z-index: -1;
}

/* contents */

.entry-content{
	max-width: 1000px;
	margin: 0 auto;
}
  .page-id-19 .entry-content {
	max-width: 100%;
}

/* sns share */
.button-caption{
  display: none;
}
.sns-share-buttons a {
  border-radius: 50%;
  margin: 5px;
}
#main .sns-share a {
  height: 35px;
  width: 35px;
  margin-bottom: 0.5em;
}
.sns-share-buttons {
  justify-content: center;
}
.social-icon {
  font-size: 15px;
}

/* contactform 全体 */
.custom-contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* フォームグループ */
.custom-contact-form .form-group {
  margin-bottom: 24px;
}

/* ラベル */
.custom-contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #402e32; /* サブカラー2 */
}

/* 必須マーク */
.custom-contact-form .required {
  font-size: 0.8em;
  background: #E37411;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* 入力欄共通 */
.custom-contact-form input,
.custom-contact-form select,
.custom-contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fff;
}

/* フォーカス時 */
.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
  border-color: #007860; /* サブカラー1 */
  box-shadow: 0 0 0 3px rgba(0,120,96,0.15);
  outline: none;
}

/* テキストエリア */
.custom-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* 送信ボタン */
.custom-contact-form .form-submit {
  text-align: center;
  margin-top: 30px;
}

.custom-contact-form input[type="submit"] {
  background: #E37411; /* メインカラー */
  color: #ffffff;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

/* ホバー */
.custom-contact-form input[type="submit"]:hover {
  background: #c85f0f;
}


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

}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	/* contents header h1 */
	.entry-title {
		font-size: 28px;
		margin-top: -250px;
		margin-bottom: 150px;
		color: white;
		text-shadow: 0 0 8px black;
		text-align: center;
		letter-spacing: 0.1em;
	}
	.type-post .entry-title{
	font-size: 28px;
		margin-top: -230px;
		margin-bottom: 150px;
		margin-right: 0;
		color: white;
		text-shadow: 0 0 8px black;
		text-align: center;
		letter-spacing: 0.1em;
}
	.blog-title{
		font-size: 42px;
		margin-top: -200px;
		margin-right: 0;
		margin-bottom: 150px;
		color: white;
		text-shadow: 0 0 8px black;
		text-align: center;
		letter-spacing: 0.1em;
	}
}

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

}
