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


/* ヘッダー全体を画面いっぱいの高さにする */
.minimal-header {
    display: flex;
    justify-content: center; /* 左右中央 */
    align-items: center;     /* 上下中央 */
    min-height: 100vh;      /* 画面の高さ100% */
    /*background-color: #f9f9f7; /* 背景色（ご提案画像に近い色） */
    margin: 0;
    padding: 0;
}

/* コンテンツの整列 */
.header-content {
    text-align: center;
}

/* ロゴのスタイル */
.site-logo h1 {
    font-family: "Playfair Display", serif; /* セリフ体 */
    font-size: 3rem;
    letter-spacing: 0.3em;
    margin-bottom: 120px;
    text-transform: uppercase;
}

.site-logo .tagline {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: #666;
    margin-bottom: 40px;  /*ロゴとメニューの間隔 */
}

.tagline {
    margin-top: 40px;  /*ロゴとメニューの間隔 */
}

/* メニューのスタイル */
.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 25px; /* メニュー項目間の隙間 */
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.main-navigation a:hover {
    opacity: 0.5;
}

/* モバイル対応：縦並びにする場合 */
@media (max-width: 767px) {
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
}


/* ロゴ画像を50%のサイズにする */
.site-logo h1 img.logo {
    width: 180px;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .site-logo h1 img.logo {
        width: 240px;
        height: auto;
        margin: 0 auto;
    }
}

.logo-header img {
    width: 80px;
    height: auto;
}

.logo {
    text-align: right;
}

/* ナビ全体（中央寄せ・上に重ねるならposition調整） */
.main-navigation {
  display: flex;
  justify-content: center;
  margin-top: 80px;  /*好きに調整 */
}

/* ulのリセット＋横並び */
.main-navigation .menu ul {
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* liは余白なし */
.main-navigation .menu li {
  margin: 0;
  padding: 0;
}

/* ボタンデザイン */
.main-navigation .menu a {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 240px;
  height: 44px;
  padding: 0 24px;

  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.15);
  color: #777;

  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;

  transition: all 0.25s ease;
  box-sizing: border-box;
}

/* hover */
.main-navigation .menu a:hover {
  background: #fff;
  color: #000;
}

/* 現在ページ */
.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {
  background: rgba(255, 255, 255, 0.25);
}

/* スマホ */
@media (max-width: 767px) {
  .main-navigation .menu ul {
    flex-direction: column;
    align-items: center;
  }

  .main-navigation .menu a {
    width: 220px !important;
    min-width: auto;
  }
}

/* -------------------------
   works
------------------------- */
.barravento-works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 32px;
}

.barravento-work-card {
  background: #fff;
  padding: 24px;
}

.barravento-work-thumb {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eaeaea;
  margin-bottom: 20px;
}

.barravento-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.barravento-work-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.barravento-work-card h2 span {
  font-weight: 400;
}

/* -------------------------
   development
------------------------- */
.barravento-development-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.barravento-dev-card {
  background: #fff;
  padding: 24px;
}

.barravento-dev-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.5;
}

.barravento-dev-dir {
  color: #666;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* -------------------------
   contact
------------------------- */
.barravento-contact a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   WORKS 3列化 + 文字サイズ調整
========================= */

/* コンテンツ幅を少し広めに使う */
.ktzw-custom-page-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* WORKS一覧を3列に */
.barravento-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

/* カード */
.barravento-work-card {
  background: #fff;
  padding: 18px;
  box-sizing: border-box;
}

/* サムネイル */
.barravento-work-thumb {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #fff;
  margin-bottom: 14px;
}

.barravento-work-thumb img {
  /*width: 300px;*/
  object-fit: cover;
  display: block;
}

/* 作品タイトル */
.barravento-work-card h2 {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.barravento-work-card h2 span {
  font-weight: 400;
}

/* 本文 */
.barravento-work-card p {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.7;
  color: #333;
  word-break: break-word;
}

/* セクション見出しも少し整える */
.barravento-section h1 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* In Development も少し小さめに */
.barravento-development-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.barravento-dev-card {
  background: #fff;
  padding: 18px;
  box-sizing: border-box;
}

.barravento-dev-card h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.5;
}

.barravento-dev-card p {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.8;
}

.barravento-dev-dir {
  color: #666;
}

/* タブレット */
@media (max-width: 1024px) {
  .barravento-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .barravento-development-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ */
@media (max-width: 767px) {
  .ktzw-custom-page-in {
    padding: 0 16px;
  }

  /* ★ここを2列に */
  .barravento-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .barravento-development-list {
    grid-template-columns: 1fr;
  }

  /* カード少し詰める */
  .barravento-work-card {
    padding: 12px;
  }

  .barravento-work-card h2 {
    font-size: 12px;
    line-height: 1.4;
  }

  .barravento-work-card p {
    font-size: 10px;
    line-height: 1.6;
  }
}

/* =========================
   ABOUTエリア フォント調整
========================= */

/* セクション余白 */
.ktzw-about {
  margin-bottom: 56px;
}

/* 見出し */
.ktzw-about h1 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* 本文 */
.ktzw-about .ktzw-mt20 p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.9;
  color: #333;
}

/* クライアント一覧は少し詰める */
.ktzw-about:nth-of-type(2) .ktzw-mt20 p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* カラムっぽく並べる（PCだけ） */
@media (min-width: 768px) {
  .ktzw-about:nth-of-type(2) .ktzw-mt20 {
    column-count: 2;
    column-gap: 40px;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .ktzw-about {
    margin-bottom: 40px;
  }

  .ktzw-about h1 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .ktzw-about .ktzw-mt20 p {
    font-size: 13px;
    line-height: 1.8;
  }

  .ktzw-about:nth-of-type(2) .ktzw-mt20 p {
    font-size: 12px;
  }
}

.footer-bottom {
    margin-top: 0 !important;
}

.tagline {
    margin: 0 !important;
}

.ktzw-page-header{
    margin-top: 24px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 29px;
    text-align: center;
}
.ktzw-page-header-title{
	font-size: 32px;
    line-height: 1.4;
    letter-spacing: 0.8em;
    text-transform: uppercase;
    font-weight: bold;
}


/* =========================
   404 Page
========================= */
.ktzw-404 {
  padding: 56px 20px 80px;
  background: #f7f7f8;
}

.ktzw-404__inner {
  max-width: 960px;
  margin: 0 auto;
}

.ktzw-404__hero {
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 20px;
  padding: 100px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.ktzw-404__code {
  font-size: 72px;
  line-height: 1;
  font-weight: 700;
  color: #cfcfd4;
  margin-bottom: 16px;
}

.ktzw-404__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.4;
  color: #222;
}

.ktzw-404__text {
  margin: 16px auto 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.9;
  color: #666;
}

.ktzw-404__actions {
  margin-top: 24px;
  text-align: center;
}

.ktzw-404__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: .25s ease;
}

.ktzw-404__btn--primary {
  background: #222;
  color: #fff !important;
}

.ktzw-404__btn--primary:hover {
  opacity: .85;
}

.ktzw-404__search {
  margin-top: 40px;
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.ktzw-404__section-title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.5;
  color: #222;
}

.ktzw-404__search-box form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ktzw-404__search-box input[type="search"],
.ktzw-404__search-box input[type="text"] {
  flex: 1 1 280px;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d8d8dd;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
}

.ktzw-404__search-box input[type="submit"],
.ktzw-404__search-box button {
  height: 48px;
  padding: 0 20px;
  border: none;
  border-radius: 10px;
  background: #222;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.ktzw-404__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.ktzw-404__card {
  display: block;
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 18px;
  padding: 22px 20px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}

.ktzw-404__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}

.ktzw-404__card-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
}

.ktzw-404__card-text {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

@media screen and (max-width: 768px) {
  .ktzw-404 {
    padding: 40px 16px 56px;
  }

  .ktzw-404__hero {
    padding: 36px 20px;
  }

  .ktzw-404__code {
    font-size: 56px;
  }

  .ktzw-404__title {
    font-size: 24px;
  }

  .ktzw-404__text {
    font-size: 15px;
    line-height: 1.8;
  }

  .ktzw-404__grid {
    grid-template-columns: 1fr;
  }
}

.work-award {
  display: block;
  font-size: 11px;
  color: #777;
  margin-top: 6px;
  line-height: 1.4;
}