@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;
}

/************************************
** CONTACT PAGE (Contact Form 7)
************************************/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #CCCCCC;
  border-radius: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  color: #1A1A1A;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease;
}

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

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

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

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

/************************************
** 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;
  }

  .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;
  }
}

/* reCAPTCHA バッジを非表示（フッターにプライバシーリンクで代替） */
.grecaptcha-badge {
  visibility: hidden;
}
