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

/************************************
** 子テーマ用のスタイルを書く
************************************/
:root {
  --color-com: #f8b62b;
  --color-theme: #29483D;
  --color-theme-pale: #eaf1ed;
  --color-theme-light: #f5f8f5;
  --color-darkgray: #333;
  --color-lightgray: #ccc;

  --content-width: 1240px;
  --page-content-width: 1080px;
  --content-gutter: 20px;
}

/* cocoon
------------------------------------------------------------*/
.sidebar h2,
.sidebar h3 {
  font-size: 16px;
  font-weight: 600;
}

.pagination-next {
  display: none;
}

body.home,
body.page-template-default {
  background: #fff;
}

body.home footer,
body.page-template-default footer {
  margin-top: 0;
}

.home .content.cf,
.page-template-default .content.cf {
  margin: 0;
}

.home .content .main,
.page-template-default .content .main,
.page-template-default .content .wrap {
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
}

.home img,
.page-template-default img {
  vertical-align: top;
}

.body.single-works .entry-content .wp-block-image {
  margin-bottom: 0.5em;
}

@media screen and (max-width: 834px) {
  body.blog .content.cf {
    margin-top: 24px;
  }
}

/* header */
.header-container {
  /* background-color: rgba(255, 255, 255, 0); */
  background-color: var(--color-theme-light);
}

@media screen and (min-width: 1024px) {
  .header-container {
    box-shadow: 0px 0px 5px darkgrey;
  }
}

.home .header-container {
  /* background-color: rgba(255, 255, 255, 0); */
  background-color: var(--color-theme-light);
}

.home .header-container.fixed-header {
  background-color: rgba(255, 255, 255, 0.8);
}

/* sp */
/* .home .mobile-menu-buttons {
  background-color: var(--color-theme);
} */

/* logo */
.site-logo-image {
  max-height: 40px !important;
}

.navi {
  background-color: transparent;
}

.navi-in a {
  font-size: 15px;
  font-weight: 600;
}

.navi-in a:hover {
  background-color: transparent;
}

.navi-in>ul li {
  height: 50px;
  line-height: 50px;
}

.menu-header.menu-pc li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.menu-header.menu-pc li a::after {
  position: absolute;
  bottom: 1px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: var(--color-darkgray);
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

.menu-header.menu-pc li a:hover::after {
  transform: scale(1, 1);
}

/* mobile menu */
.navi-menu-content {
  left: auto;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateX(101%);
}

.menu-drawer li {
  border-bottom: 1px solid #ccc;
}

.menu-drawer a {
  padding: 12px 6px;
}

.mobile-header-menu-buttons .logo-menu-button .menu-button-in {
  margin-left: 20px;
  margin-right: auto;
}

/* footer */
.footer {
  background-color: var(--color-theme);
  color: #fff;
}

.footer-bottom-logo {
  float: none;
  position: static;
}

.footer-bottom {
  margin: 0;
}

.footer-bottom-content {
  float: none;
  text-align: center;
}

.navi-footer-in>.menu-footer {
  margin: 20px 0;
  justify-content: center;
}

.footer .copyright {
  font-size: 12px;
  margin: 0;
}

/* layout */
.inner,
.page_inner {
  padding: 0 var(--content-gutter);
}

.pc {
  display: none;
}

.d-inline-block {
  display: inline-block;
}

@media screen and (max-width: 767px) {
  .sp-center {
    text-align: center;
  }
}

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }

  .pc {
    display: block;
  }

  .inner {
    width: 100%;
    max-width: calc(var(--content-width) + var(--content-gutter) * 2);
    margin: auto;
  }

  .page_inner {
    width: 100%;
    max-width: calc(var(--page-content-width) + var(--content-gutter) * 2);
    margin: auto;
  }

  .pc-center {
    text-align: center;
  }
}

@media screen and (min-width: 1100px) {
  .d--flex {
    display: flex;
    gap: 100px;
  }

  .items--center {
    align-items: center;
  }

  .row--reverse {
    flex-direction: row-reverse;
  }

  .col--30 {
    width: 30%;
  }

  .col--40 {
    width: 40%;
  }

  .col--50 {
    width: 50%;
  }

  .col--60 {
    width: 60%;
  }

  .col--70 {
    width: 70%;
  }
}

/* animation
------------------------------------------------------------*/
/* フェードイン */
.fade-in {
  opacity: 0;
  transform: translate(-30px, -30px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out, filter 1.2s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translate(0, 0);
  filter: blur(0);
}

/* link
------------------------------------------------------------*/
.site-body-container a {
  color: #0012DA;
  text-decoration: underline;
}

.site-body-container a:hover {
  color: #0012DA;
  text-decoration: none;
}

/* button
------------------------------------------------------------*/
/* more btn */
.more-btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 220px;
  padding: 15px 50px;
  border: 1px solid #000;
  border-radius: 0;
  color: #333;
  background-color: transparent;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
}

.more-btn:hover {
  color: #fff;
}

.more-btn::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #000;
  z-index: -1;
  transition: .3s;
}

.more-btn:hover::before {
  width: 100%;
}

.more-btn__caption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.more-btn__caption::before {
  content: '';
  position: absolute;
  display: block;
  width: 70px;
  height: 1px;
  bottom: 50%;
  right: -35px;
  border-bottom: solid 1px #000;
}


.more-btn__caption::after {
  content: '';
  position: absolute;
  display: block;
  width: 12px;
  height: 1px;
  background: #000;
  bottom: calc(50% + 5px);
  right: -35px;
  transform: rotate(45deg);
}

.more-btn:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

@media screen and (max-width: 767px) {
  .more-btn {
    min-width: 220px;
    padding: 12px 50px;
    font-size: 14px;
  }
}

/* default button */
.btn-primary {
  display: block;
  width: fit-content;
  font-size: 14px;
  padding-left: 1rem;
  padding-right: 1rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  color: rgb(255, 255, 255);
  background-color: #000;
  border-radius: 4px;
  transition-duration: 0.3s;
}

.btn-primary:hover {
  color: rgb(255, 255, 255);
  text-decoration: none;
  opacity: 0.8;
}

.btn-sm {
  font-size: 12px;
  padding: 0.25rem 1rem;
}

/* figure
------------------------------------------------------------*/
.thum_figure {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.thum_figure::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.thum_figure img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}

a:hover .thum_figure img {
  transform: scale(1.07);
}

.thum_figure::after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transition: opacity .25s;
}

a:hover .thum_figure::after {
  opacity: 0.1;
}

/* --------------------------------
  footer Contact
-------------------------------- */
.footer_contact {
  position: relative;
  width: 100%;
  padding: 100px 20px;
  background: var(--color-theme-light);
  box-sizing: border-box;
}

.footer_contact__inner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.footer_contact__heading {
  padding-top: 5px;
  padding-right: 70px;
}

.footer_contact__lead {
  margin: 0 0 42px;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: 0.08em;
}

.footer_contact__border {
  width: 1px;
  min-height: 100%;
  background: #d2d2ce;
}

.footer_contact__body {
  padding-left: 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer_contact__tel {
  margin-top: 42px;
}


.footer_contact__tel-label,
.footer_contact__mail-label {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: #777;
}

.footer_contact__tel-number {
  display: inline-block;
  color: #222;
  font-family:
    Arial,
    "Helvetica Neue",
    sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer_contact__tel-number:hover {
  color: #222;
  opacity: 0.7;
}

.footer_contact__hours {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #777;
}

.footer_contact__hours span {
  margin-left: 4px;
}

@media screen and (max-width: 768px) {
  .footer_contact {
    padding: 70px 20px;
  }

  .footer_contact__inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer_contact__heading {
    padding-top: 0;
    padding-right: 0;
  }

  .footer_contact__lead {
    margin-bottom: 35px;
    font-size: 14px;
    line-height: 2;
  }

  .footer_contact__border {
    width: 100%;
    height: 1px;
    min-height: 1px;
    background: transparent;
  }

  .footer_contact__body {
    padding-left: 0;
  }

  .footer_contact__tel {
    margin-top: 35px;
  }

  .footer_contact__tel-label,
  .footer_contact__mail-label {
    font-size: 14px;
  }

  .footer_contact__tel-number {
    font-size: 32px;
  }

  .footer_contact__hours {
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .footer_contact {
    padding: 50px 20px;
  }

  .footer_contact__tel-number {
    font-size: 28px;
  }
}

/* --------------------------------
  footer banner
-------------------------------- */
.footer_banner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.footer_banner_item {
  position: relative;
  height: 160px;
  flex: 1;
}

.footer_banner_item a {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
}

.footer_banner_item_img {
  display: block;
  width: 100%;
  height: 160px;
  position: relative;
  z-index: -2;
  overflow: hidden;
}

.footer_banner_item_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}

a:hover .footer_banner_item_img img {
  transform: scale(1.07);
}

.footer_banner_item_body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  color: #fff;
  padding: 0 40px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 50%, transparent 80%);
}

.footer_banner_item_body .text--jp {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

.footer_banner_item_body .text--en {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer_banner_item .text--c {
  display: block;
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 11px;
  font-weight: 400;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .footer_banner {
    flex-direction: row;
  }

  .footer_banner_item {
    flex: 1 1 0%;
  }
}

/* --------------------------------
  footer widgit
-------------------------------- */

.footer_catch {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer_title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.footer_text {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 24px;
}

.footer_text_sm {
  font-size: 12px;
  line-height: 1.7;
}

@media screen and (min-width: 768px) {
  .footer_catch {
    font-size: 14px;
  }

  .footer_title {
    font-size: 24px;
  }

  .footer_text {
    font-size: 14px;
  }

  .footer_text_sm {
    font-size: 12px;
  }
}

.footer .menu li a {
  width: 100%;
  font-size: 14px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.7em 1em;
}

.footer .menu li a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* --------------------------------
  ページヘッダー
-------------------------------- */
.page_header {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 462;
  position: relative;
  overflow: hidden;
}

.page_header .image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: opacity 1.5s ease 0s;
}

.page_header .image img {
  width: 100%;
  height: auto;
}


.page_header .overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transition: opacity 1.5s ease 0s;
}

.page_company.page_header .overlay {
  background: rgba(0, 0, 0, 0);
}

.page_header .headline {
  width: 100%;
  color: #fff;
  text-align: center;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.page_header .headline--en {
  font-size: 24px;
  font-family: "Times New Roman", Times, "Yu Mincho", "游明朝", "游明朝体", "Hiragino Mincho Pro", serif;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
}

.page_header .headline--jp {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.page_header .text--c {
  display: block;
  position: absolute;
  bottom: 5px;
  right: 10px;
  z-index: 3;
  font-size: 11px;
  font-weight: 400;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .page_header {
    aspect-ratio: 1740 / 670;
  }

  .page_header .headline--en {
    font-size: 50px;
  }

  .page_header .headline--jp {
    font-size: 18px;
  }

  .page_header .text--c {
    font-size: 12px;
  }
}
/* --------------------------------
  カスタム投稿カテゴリ
-------------------------------- */
/* サイドバー非表示 */
.tax-works_category .content .main {
  margin: 0;
  width: 100%;
}

.tax-works_category .sidebar {
  display: none;
}

.tax-works_category .content-in {
  display: block;
}

/* --------------------------------
  カスタム投稿アーカイブ archive-works
-------------------------------- */
.post-type-archive-works .content {
  margin-top: 0;
}

/* サイドバー非表示 */
.post-type-archive-works .content .main {
  margin: 0;
  width: 100%;
}

.post-type-archive-works .sidebar {
  display: none;
}

.post-type-archive-works .content-in {
  display: block;
}

/* 1カラムのフルワイド */
.post-type-archive-works .content-in {
  width: 100%;
}

.post-type-archive-works .content-in .main {
  padding: 0;
}

/* --------------------------------
  カスタム投稿ページ single-works
-------------------------------- */
/* 投稿日・更新日の非表示 */
.single-works .article-header .date-tags {
  display: none;
}

/* SNSボタン、関連記事、カテゴリタグを全て非表示 */
.single-works .article-footer {
  display: none;
}

/* SNSボタンの非表示 */
.single-works .sns-share {
  display: none;
}

.single-works .sns-follow {
  display: none;
}

/* 関連記事の非表示 */
.single-works .under-entry-content {
  display: none;
}

/* パンくずの非表示 */
.single-works .breadcrumb {
  display: none;
}

/* 見出しカラー *//*
.single-works .article h2 {
  background-color: var(--color-theme-pale);
}

.single-works .article h3 {
  border-left-color: var(--color-theme);
  border-right-color: var(--color-theme-pale);
  border-top-color: var(--color-theme-pale);
  border-bottom-color: var(--color-theme-pale);
}

.single-works .article h4,
.single-works .article h5,
.single-works .article h6 {
  border-color: var(--color-theme-pale);
}

/* --------------------------------
  カスタム投稿共通
-------------------------------- */
.default_header {
  width: 100%;
  height: auto;
  min-height: 9rem;
  background: var(--color-theme-pale);
  position: relative;
}

.default_header .headline {
  width: 100%;
  color: #000;
  text-align: center;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.default_header .headline--jp {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 2px;
}

@media screen and (min-width: 768px) {
  .default_header .headline--jp {
    font-size: 32px;
  }
}

.post-type-archive-works .main_container {
  padding: 40px 0;
}

.archive_intro {
  padding: 0;
  margin: 0 0 40px;
}

.archive_intro_text {
  line-height: 2;
  margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
  .archive_intro {
    margin: 0 0 60px;
  }
}

.works_posts_lists {
  margin: 0;
  padding: 0;
  list-style: none;
}

.works_post_list {
  margin: 0 0 20px;
}

.works_post_list_link {
  width: 100%;
  text-decoration: none;
  color: #333;
}

.works_post_list_link:hover {
  text-decoration: none;
  color: #333;
}

.works_post_list_thum {
  width: 100%;
  margin-bottom: 15px;
}

.works_post_list_header {
  width: 100%;
}

.works_post_list_body {
  width: 100%;
  padding: 5px 0 10px;
}

.works_post_list_footer {
  width: 100%;
}

.works_post_list_title,
.works_post_list_excerpt {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #333;
}

.works_post_category_list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.works_post_category_text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  line-height: 1;
  background: var(--color-theme-light);
  color: #000;
  padding: 4px;
}

.works_post_list_footer .btn-primary {
  margin: 0 0 0 auto;
}

@media screen and (min-width: 768px) {
  .works_posts_lists {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 64px;
  }

  .works_post_list {
    flex: 0 0 calc((100% - 1 * 40px) / 2);
    /* flex: 0 0 calc((100% - 2 * 30px) / 3); */
    margin: 0;
  }

  .works_post_list_link {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .works_post_list_body {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .works_post_list_title,
  .works_post_list_excerpt {
    font-size: 16px;
  }

}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}