@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){
  /*必要ならばここにコードを書く*/
}


.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list li {
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}
.news-date {
  color: #999;
  font-size: 0.9em;
  margin-right: 10px;
}


.member-profile {
  max-width: 600px;
  margin: 0 auto;
  padding: 1em;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.member-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.member-details {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.member-details li {
  margin-bottom: 0.5em;
}

.member-sns a {
  display: inline-block;
  margin-right: 1em;
}

/* メンバー詳細ページの横幅をCocoonと同じに調整 */
body.single-member #main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 30px;
}

/* カスタム投稿タイプ member の投稿ページにCocoonと同じ幅を適用 */
body.single-member #main,
body.single-member .main,
body.single-member #content,
body.single-member .content {
  max-width: 1080px !important;
  margin: 0 auto !important;
  padding: 0 30px !important;
  box-sizing: border-box;
}
/* コンタクトフォーム用 */
.contact-form {
  background: #ffffff; /* 背景白 */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  font-size: 1rem;
}

.contact-form input[type="file"] {
  margin-top: 0.5rem;
}

.contact-form input[type="checkbox"],
.contact-form input[type="radio"] {
  margin-right: 0.5rem;
}

.contact-form [type="submit"] {
  background: #000;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form [type="submit"]:hover {
  background: #444;
}
