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

/************************************
** 子テーマ用のスタイルを書く
************************************/
.entry-title {
  display: none;
}
.wrap,
.content-in,
#main.main,
.entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: transparent !important;
}
.article {
  max-width: 100% !important;
  margin: 0 !important;
  background-color: transparent !important;
  padding-top: 60px !important;
  padding-bottom: 40px !important;
}
.page-id-7 .article {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.smartslider3-wordpress-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}
.n2-ss-slider-wrapper {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}
#content.content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}
h2 {
  background-color: transparent !important;
  color: #333333 !important;
  padding: 0 !important;
  font-size: 36px !important;
  font-family: 'Acme', sans-serif !important;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #732125;
  text-align: center !important;
  margin-bottom: 40px !important;
  margin-top: 120px !important;
}
.wp-block-heading {
  margin-top: 120px !important;
}
.header-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
	background: transparent !important;
backdrop-filter: none;
}
.wp-block-heading.has-text-align-center {
  font-family: 'Acme', sans-serif !important;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #732125;
}
.philosophy-wrap {
  position: relative;
  background-color: #ffffff;
  padding: 60px 100px;
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  border: 2px solid #732125;
  border-radius: 0;
}
.illust-top-right {
  position: absolute;
  top: 35%;
  right: 120px;
  transform: translateY(-80%);
  width: 120px;
}
.illust-bottom-left {
  position: absolute;
  bottom: 35%;
  left: 120px;
  transform: translateY(80%);
  width: 120px;
}
body {
  font-size: 14px !important;
  font-family: 'Sawarabi Gothic', sans-serif !important;
}
.wp-block-paragraph {
  text-align: center !important;
  line-height: 2 !important;
  margin-bottom: 0.3em !important;
  margin-top: 0 !important;
}
.works-carousel-wrap {
  position: relative;
  overflow: visible;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 60px;
  display: flex;
  justify-content: center;
}
.works-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  justify-content: center;
}
.works-card {
  position: relative !important;
  min-width: 350px;
  max-width: 350px;
  flex-shrink: 0;
  display: block !important;
}
.works-card img {
  width: 100%;
  display: block;
}
.works-card-content {
  position: absolute !important;
  bottom: 4%;
  left: 10%;
  right: 10%;
}
.works-card-text {
  font-size: 14px !important;
  line-height: 1.5;
  color: #555;
  word-break: break-all;
}
.works-card-title {
  font-family: 'Acme', sans-serif !important;
  font-size: 14px !important;
  margin: 0 0 4px !important;
  text-decoration: none !important;
  border: none !important;
  padding: 0 !important;
  color: #333 !important;
  background: none !important;
  display: none !important;
}
.works-prev,
.works-next {
  display: none !important;
}
.more-works-wrap {
  text-align: center;
  margin: 40px auto;
}
.more-works-btn {
  display: inline-block;
  border: 2px solid #732125;
  padding: 10px 40px;
  color: #333 !important;
  text-decoration: none !important;
  font-family: 'Acme', sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
}
.more-works-btn:hover {
   background-color: #732125;
  color: #fff !important;
}
.contact-wrap {
  max-width: 560px;
  margin: 60px auto;
  padding: 0 40px;
  position: relative;
}
.contact-handwriting {
  font-family: 'Shadows Into Light', cursive !important;
  font-size: 28px;
  color: #333;
  margin-bottom: 0;
  margin-left: -60px;
  margin-top: 0;
  position: relative;
  top: 40px;
  text-align: left !important;
  transform: rotate(-10deg);
  display: inline-block;
}
.contact-arrow {
  width: 60px;
  display: block;
  margin-left: 40px;
  margin-top: -10px;
  margin-bottom: 10px;
}
.contact-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 32px 32px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  text-decoration: none !important;
  color: #333 !important;
}
.contact-card-top {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.contact-card-left {
  flex-shrink: 0;
  margin-right: auto;
  padding-left: 6%;
  margin-top: -40px;
}
.contact-logo {
  width: 160px;
}
.contact-card-right {
  flex-shrink: 0;
  margin-right: 17%;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 2;
  font-family: 'Acme', sans-serif !important;
}
.contact-list li {
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.contact-list span {
  font-size: 16px;
  font-weight: bold;
}
.contact-email {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 18px;
  color: #333 !important;
  text-decoration: none !important;
  margin-top: 0;
  font-weight: bold;
  font-family: 'Acme', sans-serif !important;
}
.contact-clip {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 60px;
}
.contact-check {
  width: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
.contact-andmore {
  font-family: 'Acme', sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-align: right;
  margin: 0;
  white-space: nowrap;
}
.footer-privacy {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #b08060;
  text-decoration: none !important;
  margin-bottom: 8px;
  margin-top: 160px;
}
.footer-rights p {
  font-size: 11px;
  color: #b08060;
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px;
}
.footer-center {
  text-align: center !important;
  width: 100% !important;
}
.textwidget.custom-html-widget {
  text-align: center !important;
}
.footer-bottom-logo,
.source-org.copyright {
  display: none !important;
}
.footer-bottom-content {
  justify-content: center !important;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 720px;
  margin: 40px auto;
  padding: 0 40px;
}
.works-grid-card {
  position: relative;
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
}
.works-grid-card img {
  width: 100%;
  display: block;
}
.works-grid-content {
  position: absolute;
  bottom: 4%;
  left: 10%;
  right: 10%;
}
.works-grid-text {
  font-size: 12px !important;
  line-height: 1.5;
  color: #555;
  word-break: break-all;
}
.page-id-228 .entry-title {
  display: block !important;
  font-family: 'Acme', sans-serif !important;
  font-size: 36px !important;
  color: #333333 !important;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #732125;
  text-align: center !important;
  margin-bottom: 20px !important;
}
#footer,
.footer {
  background-color: #f5ede0 !important;
}
.author-link,
.author-name,
.post-author {
  display: none !important;
}
.footer-left,
.footer-right {
  display: none !important;
}
.footer-body {
  justify-content: center !important;
  text-align: center !important;
}
.widget_custom_html {
  text-align: center !important;
  width: 100% !important;
}
.footer-meta {
  display: none !important;
}
.work-detail-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
}
.work-detail-intro {
  border: 2px solid #732125;
  padding: 40px;
  text-align: center;
  margin-bottom: 60px;
  line-height: 2;
}
.work-detail-tagline {
  background-color: #ffffff;
  padding: 8px 16px;
  font-size: 13px;
  margin: 0;
}
.work-detail-tagline-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.work-detail-illust {
  width: 80px;
  flex-shrink: 0;
}
.work-detail-section {
  margin-bottom: 60px;
}
.work-detail-heading {
  font-family: 'Acme', sans-serif !important;
  font-size: 24px !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
  margin-bottom: 20px !important;
  margin-top: 0 !important;
}
.work-check {
  width: 24px;
  vertical-align: middle;
  margin-right: 8px;
}
.work-detail-logo {
  text-align: center;
  margin: 20px 0;
}
.work-detail-logo img {
  width: 200px;
}

.work-detail-images {
  margin-top: 20px;
}
.work-detail-images a {
  display: block;
  margin-bottom: 20px;
}
.work-detail-images img {
  width: 100%;
  display: block;
}
a.works-card {
  text-decoration: none !important;
  color: inherit !important;
}
.work-detail-tagline {
  background-color: #ffffff;
  padding: 8px 16px;
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
}
.page-id-234 .entry-title{
  display: block !important;
  font-family: 'Acme', sans-serif !important;
  font-size: 36px !important;
  color: #333333 !important;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #732125;
  text-align: center !important;
  margin-bottom: 20px !important;
}
.page-id-272 .entry-title{
  display: block !important;
  font-family: 'Acme', sans-serif !important;
  font-size: 36px !important;
  color: #333333 !important;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #732125;
  text-align: center !important;
  margin-bottom: 20px !important;
}
.page-id-279 .entry-title{
  display: block !important;
  font-family: 'Acme', sans-serif !important;
  font-size: 36px !important;
  color: #333333 !important;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #732125;
  text-align: center !important;
  margin-bottom: 20px !important;
}
.page-id-261 .entry-title{
  display: block !important;
  font-family: 'Acme', sans-serif !important;
  font-size: 36px !important;
  color: #333333 !important;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #732125;
  text-align: center !important;
  margin-bottom: 20px !important;
}
.page-id-340 .entry-title{
  display: block !important;
  font-family: 'Acme', sans-serif !important;
  font-size: 36px !important;
  color: #333333 !important;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #732125;
  text-align: center !important;
  margin-bottom: 20px !important;
}
.page-id-346 .entry-title{
  display: block !important;
  font-family: 'Acme', sans-serif !important;
  font-size: 36px !important;
  color: #333333 !important;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #732125;
  text-align: center !important;
  margin-bottom: 20px !important;
}
.navi-in a,
.mobile-menu-buttons .menu-button {
  font-family: 'Acme', sans-serif !important;
}


/* スマホ用を隠す */
.slider-sp {
  display: none;
}


  /* メニュー消す */
  .navi{
    display: none;
  }

  /* ハンバーガー表示 */
  .mobile-menu-buttons{
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
  }
/* =========================
ヘッダー調整
========================= */

/* ヘッダー全体 */
.header-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: transparent !important;
  backdrop-filter: none;

  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* スクロール前のヘッダー背景を完全透過 */
#header,
#header-container,
.header,
.header-container,
.header-in,
.header-container-in{
  background: transparent !important;
}

/* スクロール後だけ背景を付ける */
body.scrolled .header-container,
body.scrolled .header-container-in{
  background: rgba(245,237,224,0.9) !important;
  backdrop-filter: blur(10px);
}

/* 内側 */
.header-container-in{
  height: 80px;
  min-height: 80px !important;

  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: 1200px;
  margin: 0 auto;

  padding: 0 40px !important;
  box-sizing: border-box;
}

/* ロゴ */
.logo-header{
  margin: 0 !important;
  padding: 0 !important;
}

.logo-image{
  max-height: 52px;
  width: auto;
}

/* PCメニュー */
.navi{
  display: block;
}

/* ハンバーガー初期状態 */
.mobile-menu-buttons{
  display: flex !important;

  position: absolute;
  top: 50%;
  right: 40px;

  transform: translateY(-50%);

  opacity: 0;
  visibility: hidden;
  transition: 0.3s;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* スクロール後ハンバーガー表示 */
body.scrolled .mobile-menu-buttons{
  opacity: 1;
  visibility: visible;
}

/* 検索ボタン消す */
.search-menu-button{
  display: none !important;
}

/* ページがヘッダーに隠れない */
body{
  padding-top: 80px;
}
/* =========================
スクロール後
========================= */

/* 初期状態ではハンバーガー隠す */
.mobile-menu-buttons{
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

/* 初期状態では通常メニュー表示 */
.navi{
  opacity: 1;
  visibility: visible;
  transition: 0.3s;
}

/* スクロール後 */
body.scrolled .navi{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Cocoonヘッダー背景を完全透過 */
#header-container,
.header-container,
.header-container-in,
#navi,
.navi{
  background-color: transparent !important;
  background: transparent !important;
}

/* スクロール後ハンバーガー表示 */
body.scrolled .mobile-menu-buttons{
  opacity: 1;
  visibility: visible;
}

/* =========================
1200px以下
========================= */

@media screen and (max-width: 1200px){

 /* PCメニュー */
.navi{
  display: block;
  background: transparent !important;
}

/* メニュー内部も透過 */
.navi-in,
.navi-in > ul,
.navi-in > ul li,
.navi-in a{
  background: transparent !important;
}
  /* ハンバーガー表示 */
  .mobile-menu-buttons{
    display: flex !important;
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* メニュー文字消す */
  .menu-caption{
    display: none !important;
  }

  /* ロゴ中央化防止 */
  .header-container-in{
    justify-content: space-between !important;
  }

}
/* スクロール後も完全透過 */
body.scrolled .header-container,
body.scrolled .header-container-in{
  background: transparent !important;
  backdrop-filter: none !important;
}

}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

@media screen and (min-width: 769px) {
  .half-size-pc {
    width: 50% !important;
    display: block;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .slider-pc {
    display: none;
  }
  .slider-sp {
    display: block;
  }
  .philosophy-wrap {
    padding: 40px 24px;
  }
  .illust-top-right,
  .illust-bottom-left {
    position: static;
    transform: none;
    display: block;
    margin: 16px auto;
    width: 100px;
  }
  .n2-ss-slider-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .works-carousel-wrap {
    margin-left: -40px !important;
    margin-right: -40px !important;
    width: calc(100% + 80px) !important;
    padding: 0 !important;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  .works-carousel {
    justify-content: flex-start;
    padding: 0 !important;
  }
  .works-card {
    min-width: 240px !important;
    max-width: 240px !important;
  }
  .works-card-text {
    font-size: 10px !important;
  }
  .contact-wrap {
    max-width: none !important;
    width: auto !important;
    margin-left: -40px !important;
    margin-right: -40px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }
  .contact-card {
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 0 !important;
  }
  .contact-card-top {
    justify-content: space-between;
    align-items: flex-start;
  }
  .contact-card-left {
    padding-left: 5%;
    margin-right: 0;
    padding-top: 20px;
  }
  .contact-card-right {
    max-width: 50% !important;
    margin-right: 10% !important;
  }
  .contact-list {
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.4;
  }
  .contact-list li {
    white-space: normal;
    font-size: 18px !important;
  }
  .contact-andmore {
    white-space: nowrap !important;
    font-size: 16px !important;
    margin-top: -20px !important;
    margin-bottom: 0 !important;
    display: block !important;
    margin-left: auto !important;
    width: fit-content !important;
  }
  .contact-email {
    font-size: 16px !important;
    white-space: nowrap;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    padding: 4px 0 !important;
  }
  .contact-clip {
    width: 36px;
  }
  .contact-handwriting {
    margin-left: 0 !important;
    padding-left: 10% !important;
    top: 40px;
  }
  .contact-arrow {
    display: block !important;
    margin-left: 20% !important;
    padding-left: 0;
  }
  .contact-logo {
    width: 120px;
  }
  .works-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 30px;
  }
	.work-detail-wrap {
    padding: 0 2% !important;
  }
	.work-detail-intro {
    padding: 20px;
  }
  .work-detail-tagline-wrap {
    flex-direction: column-reverse;
    align-items: center;
  }
	 .work-detail-intro p {
    text-align: left !important;
  }
  .work-detail-intro br {
    display: none !important;
  }
.page-id-234 .entry-title {
    font-size: 24px !important;
    white-space: nowrap !important;
  }
.page-id-272 .entry-title {
    font-size: 24px !important;
    white-space: nowrap !important;
  }
	.work-detail-illust {
    width: 96px;
    margin-top: -30px;
  }
	.header-search {
    display: none !important;
  }
	  .logo-menu-button {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
  .menu-button .menu-caption {
    display: none !important;
  }
}