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

/************************************
** RESET & BASE
************************************/
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1A1A1A;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #1A1A1A;
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover {
  color: #555555;
}

/************************************
** TYPOGRAPHY
************************************/
h1, h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  line-height: 1.4;
  color: #1A1A1A;
}

h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.work-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  vertical-align: baseline;
  line-height: 1.4;
}

.work-meta {
  font-size: 0.875rem;
  color: #666666;
  margin-top: 4px;
}

.section-heading {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-align: center;
}

/************************************
** LAYOUT
************************************/
.page-section {
  padding: 80px 10%;
}

.page-section:nth-child(even) {
  background-color: #FAFAFA;
}

.content-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.content-wide {
  max-width: 960px;
  margin: 0 auto;
}

/************************************
** HEADER & NAV
************************************/
.site-name-text {
  font-family: "Noto Serif JP", serif;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A1A1A;
}

.site-name-text a {
  text-decoration: none;
  color: #1A1A1A;
}

.navi-in a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1A1A1A;
}

.navi-in a:hover {
  color: #555555;
}

/* ヘッダーの影を除去 */
.header-container,
.header-container-in {
  box-shadow: none;
}

/* ナビの背景・ボーダーをクリアに */
#navi .navi-in {
  background: transparent;
  border: none;
}

#navi .navi-in > ul > li {
  border: none;
}

#navi .navi-in > ul > li > a {
  padding: 12px 20px;
  background: transparent;
}

#navi .navi-in > ul > li > a:hover {
  background: transparent;
}

/************************************
** HERO / APPEAL AREA
************************************/
.appeal {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.appeal-title {
  font-family: "Noto Serif JP", serif;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A1A1A;
}

.appeal-message {
  font-size: 1rem;
  font-weight: 300;
  color: #333333;
}

/************************************
** HOMEPAGE SECTIONS
************************************/
.home-selected-works {
  padding: 80px 10%;
}

.home-bio-teaser {
  padding: 80px 10%;
  background-color: #FAFAFA;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.home-latest-news {
  padding: 80px 10%;
}

.home-contact-cta {
  padding: 80px 10%;
  text-align: center;
  background-color: #FAFAFA;
}

.cta-button {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid #1A1A1A;
  color: #1A1A1A;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-button:hover {
  background-color: #1A1A1A;
  color: #FFFFFF;
}

/************************************
** WORKS PAGE
************************************/
.works-category {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  border-bottom: 1px solid #E0E0E0;
  padding-bottom: 8px;
  margin-top: 56px;
  margin-bottom: 24px;
}

.works-category:first-child {
  margin-top: 0;
}

.work-entry {
  padding: 48px 0;
  border-bottom: 1px solid #E5E5E5;
}

.work-entry--compact {
  padding: 32px 0;
}

.work-entry:last-child {
  border-bottom: none;
}

.work-description {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-top: 16px;
  color: #333333;
}

.work-premiere {
  font-size: 0.8125rem;
  color: #666666;
  margin-top: 8px;
}

/* iframe (YouTube, SoundCloud etc.) */
.work-entry iframe {
  max-width: 100%;
  margin-top: 24px;
}

/************************************
** BIOGRAPHY PAGE
************************************/
.bio-portrait-full {
  max-width: 480px;
  width: 100%;
  margin-bottom: 40px;
}

.bio-section {
  margin-bottom: 48px;
}

.bio-section h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.cv-download-link {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 32px;
  border: 1px solid #1A1A1A;
  color: #1A1A1A;
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cv-download-link:hover {
  background-color: #1A1A1A;
  color: #FFFFFF;
}

/************************************
** PROJECTS PAGE
************************************/
.project-entry {
  padding: 48px 0;
  border-bottom: 1px solid #E5E5E5;
}

.project-entry:last-child {
  border-bottom: none;
}

.project-tech-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #CCCCCC;
  font-size: 0.75rem;
  color: #666666;
  letter-spacing: 0.05em;
  margin-right: 8px;
  margin-top: 12px;
}

.project-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #1A1A1A;
}

.project-meta {
  font-size: 0.8125rem;
  color: #666666;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

.project-title-en {
  font-family: "Noto Serif JP", serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #666666;
  margin-top: 4px;
}

.project-desc-en {
  margin-top: 8px;
  color: #555555;
}

.project-entry video,
.project-entry img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin-top: 24px;
  background-color: #000000;
}

.project-link {
  text-decoration: none;
  letter-spacing: 0.05em;
}

/************************************
** CONTACT PAGE (Contact Form 7)
************************************/
.contact-field {
  margin-bottom: 28px;
}

.wpcf7 label {
  display: block;
  font-size: 0.875rem;
  color: #333333;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.contact-en {
  margin-left: 6px;
  font-size: 0.8125rem;
  color: #888888;
  letter-spacing: 0.05em;
}

.contact-req {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border: 1px solid #CCCCCC;
  font-size: 0.6875rem;
  color: #666666;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #CCCCCC;
  border-radius: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1A1A1A;
  background: #FFFFFF;
  box-shadow: none;
  outline: none;
  transition: border-color 0.2s ease;
}

.wpcf7 select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333333' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: #1A1A1A;
}

.wpcf7 textarea {
  min-height: 200px;
  resize: vertical;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 .wpcf7-not-valid {
  border-color: #1A1A1A;
}

.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #1A1A1A;
}

.contact-notice {
  margin: 8px 0 24px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: #666666;
}

.wpcf7 input[type="submit"] {
  display: inline-block;
  width: auto;
  padding: 14px 48px;
  border: 1px solid #1A1A1A;
  border-radius: 0;
  background: transparent;
  color: #1A1A1A;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #1A1A1A;
  color: #FFFFFF;
}

.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 12px 16px;
  border: 1px solid #1A1A1A;
  font-size: 0.875rem;
  line-height: 1.7;
}

.contact-sns {
  margin-top: 48px;
  font-size: 0.875rem;
  color: #666666;
}

/************************************
** NEWS PAGE
************************************/
.entry-card-wrap {
  border: none;
  border-bottom: 1px solid #E5E5E5;
  box-shadow: none;
  background: transparent;
}

.entry-card-wrap:first-child {
  border-top: 1px solid #E5E5E5;
}

.entry-card-thumb {
  display: none;
}

.entry-card-content {
  margin-left: 0;
}

.entry-card-title {
  font-size: 1rem;
  font-weight: 400;
}

.entry-card-snippet {
  font-size: 0.875rem;
  color: #666666;
}

/************************************
** FOOTER
************************************/
#footer {
  background: #FFFFFF;
  border-top: 1px solid #E5E5E5;
  padding: 40px 0;
  text-align: center;
}

#footer,
#footer a {
  color: #666666;
  font-size: 0.8125rem;
}

#footer a:hover {
  color: #1A1A1A;
}

.footer-social-icons {
  margin-bottom: 16px;
}

.footer-social-icons a {
  display: inline-block;
  margin: 0 12px;
  text-decoration: none;
  font-size: 1rem;
  color: #666666;
}

.footer-social-icons a:hover {
  color: #1A1A1A;
}

/* Cocoon フッターモバイルボタン非表示 */
.mobile-menu-buttons {
  display: none !important;
}

/************************************
** COCOON OVERRIDES
************************************/
/* 固定ページ: 不要な要素を非表示 */
.page .date-tags,
.page .entry-categories-tags,
.page .author-info,
.page .breadcrumb,
.page .eye-catch,
.page .post-date,
.page .post-update,
.page .post-author,
.page .entry-footer,
.page .under-entry-content,
.page .sns-share,
.page .sns-follow,
.page .related-entries,
.page .comment-area,
.page .toc,
.page .article-footer {
  display: none !important;
}

/* 固定ページ: サイドバーを非表示 */
.page .sidebar,
.page .sidebar-scroll {
  display: none !important;
}

.page .main {
  float: none;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}

.page .content-in {
  display: block;
}

/* フロントページ: .entry-title を非表示 */
.front-page .entry-title,
.home .entry-title {
  display: none !important;
}

/* 投稿ページ（News）: 読了時間を非表示 */
.single .read-time {
  display: none;
}

/* Cocoon テーブル・囲みの影を除去 */
.article,
.entry-card-wrap,
.widget-entry-card-link {
  box-shadow: none;
}

/* コンテンツ幅の調整 */
.page .article {
  padding: 40px 10%;
}

/************************************
** MOBILE (768px以下)
************************************/
@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .page-section {
    padding: 48px 6%;
  }

  .home-selected-works,
  .home-bio-teaser,
  .home-latest-news,
  .home-contact-cta {
    padding: 48px 6%;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wpcf7 input[type="submit"] {
    width: 100%;
  }

  .appeal-title {
    font-size: 1.75rem;
  }

  /* モバイルではPC用ナビを非表示（Cocoonのモバイルメニューを使用） */
  #navi .navi-in {
    display: none;
  }

  /* 作品タイトルのモバイル調整 */
  .work-title {
    font-size: 0.95rem;
    letter-spacing: 0.03em;
  }

  /* セクション見出し */
  .section-heading {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
  }

  /* YouTube/SoundCloud埋め込みの高さ調整 */
  .work-entry iframe {
    height: 200px;
  }

  .work-entry {
    padding: 32px 0;
  }

  .work-entry--compact {
    padding: 24px 0;
  }

  .works-category {
    font-size: 0.75rem;
    margin-top: 40px;
  }

  .page .article {
    padding: 24px 5%;
  }

  .cta-button,
  .cv-download-link {
    padding: 12px 32px;
  }
}

/* カテゴリーラベル「イベント」を非表示（記事下のカテゴリー欄・サムネイル上のラベル・記事カードの表示） */
.entry-categories-tags,
.cat-label,
.entry-category {
  display: none;
}

/* 記事下の SNS フォローボタンは Instagram のみ表示（X / Facebook / SoundCloud / GitHub は非表示） */
.sns-follow-buttons .follow-button:not(.instagram-button) {
  display: none;
}

/* reCAPTCHA バッジを非表示（Contact ページのフォーム下に規約表記あり） */
.grecaptcha-badge {
  visibility: hidden;
}
