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



/* 追加したスタイル */
.app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.app-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.2s;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.app-card h3 {
  margin-top: 0;
  font-size: 20px;
  font-weight: bold;
}

.app-card p {
  color: #555;
  margin-bottom: 16px;
}

.app-buttons {
  display: flex;
  gap: 10px;
}

.btn-detail,
.btn-demo {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

.btn-detail {
  background: #4a90e2;
}

.btn-demo {
  background: #50c878;
}

.btn-detail:hover {
  background: #357ab8;
}

.btn-demo:hover {
  background: #3da765;
}

/* app詳細 */

.app-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.app-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.app-lead {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
}

.app-hero-buttons {
  margin: 20px 0;
  display: flex;
  gap: 12px;
}

.app-demo-btn,
.app-github-btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: 0.2s;
}

.app-demo-btn {
  background: #4a90e2;
}

.app-demo-btn:hover {
  background: #357ab8;
}

.app-github-btn {
  background: #333;
}

.app-github-btn:hover {
  background: #000;
}

.app-screenshot {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.app-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.app-feature-card {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.app-feature-card h3 {
  margin-top: 0;
}

.app-tech-list,
.app-release-notes,
.app-roadmap {
  padding-left: 20px;
  line-height: 1.8;
}

/* キャッチコピー */
.hero-section {
  text-align: center;
  padding: 80px 20px;
  background: #f7f9fc;
  border-radius: 12px;
  margin-bottom: 40px;
}

.hero-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-sub {
  font-size: 18px;
  color: #555;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}

.hero-btn.primary {
  background: #4a90e2;
  color: #fff;
}

.hero-btn.primarytwo {
  background: #e5e7eb;
  color: #333;
}

.hero-btn.primary:hover {
  background: #357ab8;
}

.hero-btn.secondary {
  height: 60px;
  background: #e5e7eb;
  color: #333;
}

.hero-btn.secondary:hover {
  background: #d4d6da;
}

/* キャッチコピー End */

/* アプリカード3つ */
.top-app-section {
  margin: 60px 0;
  text-align: center;
}

.top-section-title {
  font-size: 28px;
  margin-bottom: 24px;
}

.top-app-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.top-app-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.top-app-thumb {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.top-app-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  background: #4a90e2;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.top-app-btn:hover {
  background: #357ab8;
}

.top-app-more {
  margin-top: 24px;
}

.top-app-more-btn {
  padding: 12px 24px;
  background: #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.top-app-more-btn:hover {
  background: #d4d6da;
}


/* アプリカード3つ End */

/* 作品一覧カード */
.portfolio-section {
  margin: 60px 0;
  text-align: center;
}

.portfolio-title {
  font-size: 28px;
  margin-bottom: 24px;
}

.portfolio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.portfolio-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.portfolio-thumb {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.portfolio-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  background: #4a90e2;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.portfolio-btn:hover {
  background: #357ab8;
}

/* 作品一覧カード End */

/* About セクション */
.about-section {
  margin: 60px 0;
  padding: 40px 20px;
  background: #f7f9fc;
  border-radius: 12px;
  text-align: center;
}

.about-title {
  font-size: 28px;
  margin-bottom: 20px;
}

.about-text {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-buttons {
  margin-top: 20px;
}

.about-btn {
  padding: 12px 24px;
  background: #4a90e2;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.about-btn:hover {
  background: #357ab8;
}

/* About セクション End */

/* セクション間の余白を統一 */
.hero-section,
.top-app-section,
.portfolio-section,
.wp-block-latest-posts,
.about-section {
  margin-bottom: 60px;
}

/* 見出しデザイン統一 */
.top-section-title,
.portfolio-title,
.about-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 3px solid #4a90e2;
  display: inline-block;
}

/* 全体の左右余白を調整（スマホで見やすく） */
body {
  padding-left: 12px;
  padding-right: 12px;
}

/* カードの統一デザイン */
.top-app-card,
.portfolio-card,
.wp-block-latest-posts__list li {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #fff;
  padding: 16px;
}

