@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
*/

/*
var(--youko-background-color-opacity)
*/
body {
  --youko-text-color: #333;
  --youko-background-color: #f5f5f5;
  --youko-background-color-opacity: #f1ece8b0;
  --youko-background-color2: #c4c6d1;
  --youko-accent-color: #9d7c9238;
  --youko-white-color: #fff;
  --youko-gray-color: #333;
}

.grecaptcha-badge {
  visibility: hidden;
}

    /* スクロール時のヘッダースタイル */
    .scrolled {
    color: var(--youko-text-color);
    transition: all 0.3s ease-in-out;
    }

/* キーフレームアニメーションを定義 */
@keyframes borderAnimation {
  0% {
    width: 0; /* アニメーションの開始時点で幅を0に設定 */
  }
  100% {
    width: 100%; /* アニメーションの終了時点で幅を100%に設定 */
  }
}



    /* 通常のコンテンツスタイル */
    body {
      margin: 0;
      padding: 0;
    height: 120vh;
    }

/************************************
** font
************************************/

.archive-title,
.home .timeline-label,
.home .blog-in h2,
.entry-title:not(.works-title) {
  font-family: 'Poiret One', cursive;
  font-size: 30px !important;
  font-weight: 400;
}

.navi .item-label,
.menu-item,
.sidebar h2,
.sidebar h3,
button.btn,
.home .more {
  font-family: 'Poiret One', cursive;
}

/************************************
** リセット
************************************/

#list a:hover,
.a-wrap:hover,
.navi-in a:hover {
  background-color: initial;
  opacity: .5;
}

.a-wrap:hover {
  background-color: transparent;
}

.header-container,
#footer {
  background-color: transparent;
}

.main,
.sidebar {
  background-color: var(--youko-background-color);
}

a {
  position: relative;
  display: inline-block;
  color: initial;
  text-decoration: none;
}

.breadcrumb span {
  display: none;
}

.article h2 {
  background-color: var(--youko-accent-color);
}

.article h3 {
  border-right: none;
  border-top: none;
  border-bottom: none;
}

body.home {
  text-align: justify;
}

body {
  --sb-size: 8px;
  letter-spacing: 2px;
  outline: none;
  font-family: "Noto Sans JP", "YakuHanJP", sans-serif !important;
  background-color: var(--youko-background-color);
  color: var(--youko-text-color);
  scrollbar-color: var(--youko-text-color) var(--youko-background-color);
}

body::-webkit-scrollbar {
  width: var(--sb-size)
}

body::-webkit-scrollbar-track {
  background: var(--youko-background-color);
  border-radius: 20px;
}

body::-webkit-scrollbar-thumb {
  background: var(--youko-text-color);
  border-radius: 20px;

}

.content-in {
  justify-content: center;
}

.entry-title,
.archive-title {
  font-size: 40px;
  margin: 35px 0;
  line-height: 1.5;
}

.entry-title.works-title {
  font-size: 30px !important;
  font-weight: 400;
}

hr {
  color: var(--youko-text-color);
}

.sidebar h2,
.sidebar h3 {
  border-bottom: solid 1px;
}

.info-list-item-content-link {
  transition: all 0.3s ease-in-out;
}

a:hover {
  opacity: 0.7;
    transition: .3s;
}

.toc a:hover,
.home .more a:hover,
.info-list-item-content-link:hover {
  text-decoration: none;
  color: var(--youko-text-color);
}

.toc a::after,
.footer-bottom-content a::after,
.navi-in a::after,
.info-list-item-content a::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

.toc a::after,
.navi-in a::after,
.info-list-item-content a::after {
  background: var(--youko-text-color);
}

.home .navi-in a::after,
.footer-bottom-content a::after {
  background: var(--youko-white-color);
}

.toc a:hover::after,
.footer-bottom-content a:hover::after,
.navi-in a:hover::after,
.info-list-item-content a:hover::after {
  transform: scale(1, 1);
}

.widget_recent_entries ul li a:hover,
.widget_categories ul li a:hover,
.widget_archive ul li a:hover,
.widget_pages ul li a:hover,
.widget_meta ul li a:hover,
.widget_rss ul li a:hover,
.widget_nav_menu ul li a:hover,
.widget_block ul li a:hover,
.cat-link:hover {
  background-color: var(--youko-text-color);
  color: var(--youko-white-color);
  transition: all 0.3s ease-in-out;
}
.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  line-height: 1.5;
  letter-spacing: 4px;
}

/************************************
** グローバルメニュー
************************************/
.navi {
  background-color: initial;
}

.navi-in>ul li {
  width: 160px;
}

.fixed-header {
  box-shadow: none;
}

.is-header-fixed .header-container .logo {
  width: 200px;
}

.home .logo {
  display: none;
}

.site-name-text-link {
  padding: 0;
}

.navi-in a {
  font-size: 36px;
}

/************************************
** トップページ
************************************/
body.home {
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  z-index: -100;
}

#footer,
body.home {
  background-image: url(/wp-content/uploads/2023/09/background-pc-3.jpg);
}

.footer-bottom-logo img {
  filter: invert(100%);
}

.footer-bottom-bottom.wrap a {
  color: var(--youko-white-color);
}


.home .navi-in a {
  color: var(--cocoon-white-color);
}

.home .article h2,
.contact-form h2 {
  font-size: 30px;
}

.top-in {
  margin: 0 auto;
}

.title img {
  margin: auto;
  width: calc(80% - 10%);
  filter: invert(100%);
}

body.home main article.top {
  height: 210vh;
}

body.home article.top .intro1,
body.home article.top .intro2 {
  position: relative;
  width: 100%;
  z-index: 1;
  opacity: 1;
  color: var(--youko-white-color);

}

body.home article.top .intro1 {
  height: 90vh;
}

body.home article.top .intro2 {
  height: 120vh;
}

body.home article.top .intro1 .title,
.intro2-in {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -moz-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  -o-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
}

.intro1 .title {
  text-align: center;
  width: 50vw;
}

.intro2 .intro2-in {
  width: 100%;
}

.home .profile-contents {
  width: calc(100% - 40%);
  margin: 0 auto 8rem auto;
}

.home .profile-contents img {
  border-radius: 100%;
}

.prof-txt {
  width: calc(100% - -90%);
  padding: calc(10% - 50px);
}


.home .intro2-in h3 {
  margin-bottom: 7rem;
}

.home .intro3 {
  width: 100%;
  background-color: var(--youko-background-color);
  padding: 10rem 0;
}

.home .intro3 .website {
  margin-bottom: 9rem;
}

.home .intro3 .website-in,
.home .intro3 .siryou-in {
  width: calc(100% - 25%);
  padding: calc(10% - 50px);
  margin: 0 auto;
}

.home .intro3 .siryou .is-layout-flex:nth-of-type(1) {
  flex-direction: row-reverse;
}

.home .intro4 {
  width: 100%;
  background-color: var(--youko-background-color2);
}

.home .intro4 .blog-in {
  width: calc(100% - 50%);
  margin: 0 auto;
  padding: 2rem;
}

.home .widget-entry-cards .a-wrap {
  margin: 25px auto;
  max-width: 350px;
}

.home .display-none {
  display: block;
  text-align: right;
}


.home .main-txt h1 {
  font-weight: 400;
  font-size: 20px !important;
}

body.home .is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: initial;
  margin-left: initial;
  margin-right: initial;
}

.home .more {
  position: relative;
  padding: 0;
  text-align: right;
  color: var(--youko-gray-color);
  text-decoration: none;
  outline: none;
  margin-top: 2rem !important;
  font-size: 25px;
}

.home .more a {
  padding: 0 50px 0 10px;
}

.home .more a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0%;
  width: 120px;
  height: 1px;
  background: var(--youko-gray-color);
  transition: all .3s;
}

.home .more a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 15px;
  height: 1px;
  background: var(--youko-gray-color);
  transform: rotate(35deg);
  transition: all .3s;
}

.home .more a:hover::before {
  right: -5%;
}

.home .more a:hover::after {
  right: -5%;
}

/* timeline */

.home .timeline {
  width: 100%;
  display: table;
  table-layout: fixed;
  border-top: 1px solid var(--youko-white-color);
}

.home .timeline-item {
  display: table-cell;
  vertical-align: top;
  border-bottom: 0;
  border-left: 0;
  position: relative;
  padding: 20px 10px 30px 10px;
  letter-spacing: 2px;
}

.home .timeline-item:first-child::before {
  width: 0;
  height: 0;
}

.home .timeline-item:before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 10px;
  height: 10px;
  content: '';
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  border-radius: 100%;
  background-color: var(--youko-white-color);
}

.home .timeline-label {
  position: absolute;
  top: -60px;
  left: 0;
  -webkit-transform: translateX(-50%) translateY(-120%);
  transform: translateX(-50%) translateY(-120%);
  text-align: center;
  font-size: 1.8rem !important;
}

.home .timeline-label,
.home .timeline-content {
  display: block;
  max-width: 70%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  text-align: left;
}

.home .timeline-content {
  margin-top: 10px;
  font-size: 12px;
}

body.home .is-layout-constrained>*+* {
  margin-block-start: 0;
  margin-block-end: 0;
}

.home .header-container,
.home .main,
.home .sidebar,
.home .footer {
  background-color: initial;
}

.home .entry-title,
.home .article-header,
.home .entry-header,
.home .new-entry-card-update-date,
.post-724 .date-tags,
.post-14570 .date-tags,
.post-120 .date-tags {
  display: none;
}

.home .main {
  padding: 0;
  border: 0;
  border-radius: 0;
  position: initial;
}

.home .intro3,
.home .intro4,
body.home .article,
.home .wp-block-image {
  margin-bottom: 0;
}

.home .entry-content,
.home .content {
  margin-top: 0;
  margin-bottom: 0;
}

.home .article h3 {
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: none;
  font-size: 20px;
  text-align: center;
  padding: initial;
  line-height: initial;
}

.home .article h2 {
  padding: initial;
  background-color: initial;
  border-radius: initial;
  text-align: center;
  line-height: initial;
}

/************************************
** footer
************************************/

#footer {
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -100;
}

.footer {
  margin-top: initial;
  padding: initial;
}

.footer-bottom {
  margin-top: initial;
  padding: initial;
}

.footer-bottom-logo {
  float: initial;
  bottom: 0;
  position: initial;
}

.footer-bottom-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 20rem;
  padding-bottom: 0.5rem;
  color: var(--youko-white-color);
}

.footer-bottom-content {
  text-align: right;
}

.copyright {
  margin-top: 0;
}


/************************************
** sidebar
************************************/

.entry-title,
.archive-title {
  margin: 2rem auto;
}

.sidebar .widget_categories ul li a {
  padding: 10px;
  text-align: center;
  margin: 0 auto;
  width: 250px;
  border: solid 1px;
  border-radius: 100px;
}

.sidebar .widget-entry-cards .a-wrap {
  padding: 0;
  line-height: 2;
  margin-bottom: 10px;
  text-align: left;
}

.sidebar li.cat-item {
  margin-bottom: 1rem;
}

.sidebar .card-thumb img {
  width: 120px;
  height: 100%;
}

.sidebar h2,
.sidebar h3 {
  border-bottom: solid 1px;
  margin-bottom: 1.5rem;
}

.sidebar .widget-entry-card {
  font-size: 12px;
  display: flex;
  margin-bottom: 1.2rem;
}

.card-arrow .card-content {
  margin-right: 0;
  margin: auto 0
}

.widget-entry-card-content {
  margin-left: 0;
}

.font-awesome-5 .card-arrow .a-wrap::after {
  display: none;
}

.card-title-bold .card-title {
  text-align: left;
  margin: 0;
  font-weight: 500;
  padding: 0 10px;
}

.widget-entry-cards figure {
  min-width: 120px;
}

/************************************
** blogcard
************************************/
.pagination-next,
.entry-card-snippet {
  display: none;
}

.page-numbers {
  border: none;
  border-radius: 50%;
  line-height: 44px;
}

.search-edit,
input[type='submit'],
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select {
  border-radius: 10px;
  font-size: 14px;
}

input[type='submit'] {
  background-color: var(--youko-text-color);
  color: var(--youko-white-color);
  padding: 0.7rem 5rem;
  border: none;
  letter-spacing: 2px;
  line-height: 2;
}

.search-box {
  margin: 1em 0 0;
}

#list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

#list a {
  margin: 0 auto 2.5% auto;
  width: 43%;
}

.entry-card-wrap {
  text-decoration: none;
  display: flex;
  color: var(--cocoon-text-color);
  transition: all 0.3s ease-in-out;
}

.entry-card,
.related-entry-card {
  position: relative;
  height: 100%;
}

.entry-card-thumb {
  width: 100%;
}

.entry-card-thumb,
.widget-entry-card-thumb,
.related-entry-card-thumb,
.carousel-entry-card-thumb {
  float: none;
  margin-top: 0;
  position: initial;
}

.entry-card .entry-card-thumb,
.related-entry-card .related-entry-card-thumb {
  position: relative;
}

#list .card-thumb img {
  width: 100%;
  margin-bottom: 7px;
}

.eye-catch .cat-label,
.cat-link,
.cat-label {
  position: initial;
  border: 1px solid var(--youko-text-color);
  font-size: 11px;
  color: var(--cocoon-text-color);
  background-color: transparent;
  padding: 4px 10px;
  margin: 0;
  text-align: center;
  border-radius: 100px;
}

.entry-categories-tags {
  margin-bottom: 0;
}

.entry-categories-tags>div {
  margin-bottom: 0;
}

.entry-categories-tags .tax-icon {
  margin-right: 0;
}

.entry-categories-tags .tax-icon:before {
  content: '';
}

.cat-link:hover {
  opacity: initial;
}

.entry-card-content {
  margin-left: 0;
}

.entry-card-title,
.related-entry-card-title {
  line-height: 1.7;
  margin: 10px 0 5px 0;
  font-size: 16px;
}

.entry-card-meta,
.related-entry-card-meta {
  position: initial;
  line-height: initial;
  margin-top: 7px;
}

.date-tags .fa-clock,
.date-tags .fa-history,
.entry-card-meta .fa-clock,
.entry-card-meta .fa-history,
.related-entry-card-meta .fa-clock,
.related-entry-card-meta .fa-history,
.widget-entry-card-meta .fa-clock,
.widget-entry-card-meta .fa-history {
  display: none;
}

.entry-card-content,
.related-entry-card-content {
  padding-bottom: 0;
}

.info-list.is-style-frame-border {
  border: none;
}

.info-list {
  padding: 0;
}

.info-list-item {
  padding: 10px 0 14px 0;
}

.info-list-item-categorys .entry-category {
  border-radius: 50px;
}

.info-list-item:first-child {
  padding-top: 0;
}

/************************************
** blog記事詳細
************************************/
.date-tags {
  margin-bottom: 2em;
}

.type-post .entry-title {
  font-family: inherit !important;
  font-size: 30px !important;
  margin: 10px 0;
  padding: 0;
}

.blogcard-footer {
  display: none;
}

.blogcard {
  display: flex;
  border: none;
}

.blogcard-thumbnail {
  float: none;
  width: 40%;
}

.blogcard-content {
  margin-left: 0;
}

.pager-post-navi a .iconfont {
  color: var(--youko-text-color);
}

.eye-catch-caption {
  display: none;
}
.product-item-box {
  border: none;
  background-color: var(--youko-white-color);
}

.timeline {
  width: 96%;
  max-width: 940px;
  margin: 28px auto;
}

.timeline-list-item {
  display: flex;
  line-height: 1.5;
  font-size: 90%;
}

.timeline-list-item .date {
  width: 16%;
  margin-top: -13px;
  font-weight: bold;
  font-family: 'Quicksand', sans-serif;
  font-size: 30px;
  color: var(--accent1-color);
}

.timeline-list-item .tcontent {
  position: relative;
  width: 84%;
  padding: 0 20px 25px 30px;
  border-left: 1px solid #aaaaaa;
}

.timeline-list-item .tcontent::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 20px;
  height: 20px;
  background-image: linear-gradient(90deg, rgba(255, 188, 48, 1), rgba(255, 163, 48, 1) 50%, rgba(255, 137, 48, 1));
  border-radius: 10px;
}

.timeline-item:before {
  background: #f8c678;
  top: 22px;
  width: 17px;
  height: 17px;
  left: 103px;
}

.timeline-item-content {
  border-left: 3px rgba(25, 25, 25, .12) solid;
}

.timeline-box {
  border: initial;
}

.timeline-item-label {
  color: rgba(25, 25, 25, .7);
}

@media screen and (max-width: 480px) {
  .timeline-item-content {
    border-left: initial;
  }

  .timeline>li.timeline-item {
    border-left: 3px rgba(25, 25, 25, .12) solid;
  }

  .timeline-item:before {
    left: -10px;
  }
}

.timeline li:nth-child(1):before {
  opacity: 0.5;
  animation: timeline_circle 1.5s infinite;
}

@keyframes timeline_circle {
  100% {
    opacity: 1;
    transform: scale(1.3, 1.3);
  }
}

.award {
  margin: auto;
  flex: 1;
}

.toc-widget-box {
  margin-top: 3em;
}

.nwa .toc {
  padding: 0;
}

.toc-center {
  margin: auto;
}

.toc,
.toc-widget-box {
  border: none;
  padding: 2em;
  background: var(--youko-white-color);
}

.toc .toc-list {
  padding-left: 0;
}

.article ol li {
    margin: 0.8em;
}

@keyframes slide {
  100% {
    opacity: 1;
    padding-left: 1.2%;
  }
}

.toc ol li:before {
  opacity: .4;
  animation: slide 1.5s infinite;
  font-family: "Font Awesome 5 Free" !important;
  content: "\f138";
  position: absolute !important;
  left: -0.5em !important;
  color: var(--youko-accent-color);
  font-weight: 900;
}

.toc ol {
  list-style: none;
}

.toc ol li {
  font-weight: 700;
  line-height: 1.5;
  padding: 0 0 0 1.4em;
  position: relative;
}

.toc li {
  margin: .8em;
}

.toc li li {
  font-weight: 400;
  padding-top: .5em;
  margin-top: 0 !important;
}

.toc_list li {
  margin-top: -5% !important;
}

@media screen and (min-width:834px) {
  .toc_list li {
    /*PCでは目次のh2同士の間隔は抑えめに*/
    margin-top: -1.8% !important;
  }
}

.sns-share-buttons {
  justify-content: center;
  gap: 3%;
}

.sns-share-buttons a .button-caption,
.sns-share-buttons a .share-count {
  display: none;
}

.sns-share-buttons.sns-buttons .sns-button {
  flex: 0 0 50px;
  width: 50px;
  max-width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sns-share-buttons.sns-buttons .sns-button .social-icon {
  line-height: 1;
}

/**************************
サービス
***************************/
.s-txt {
  text-align: center;
}

.s-txt.ywrap {
  margin: 5rem auto;
}

.ywrap.s-txt h2 {
  background-color: initial;
  margin: 0 0 6px 0;
  padding: 0;
}

body #post-724 .is-layout-constrained>*+* {
  margin-block-start: 0;
  margin-block-end: 0;
}

.tab-content {
  display: none;
}

.swrap {
  margin: 5rem 0;
}

.tab-wrap h1 {
  margin: 2rem 0;
  text-align: center;
}

ul li.tab-switch,
ol li.tab-switch {
  padding-left: 0;
  margin: 0;
}

.tab-wrap ul {
  padding-left: 0;
}

.tab-wrap ul:first-child {
  display: flex;
}

.tab-switch {
  width: 200px;
  text-align: center;
  list-style: none;
  cursor: pointer;
}


.tab-content ul {
  background: transparent;
}

.tab-content.show {
  display: block;
}

.tab-switchi .show:has(span) {
  color: var(--youko-text-color);
  transition: all 0.8s;
}


.tab-switchi li {
  padding: 20px 0;
}

.tab-switchi h2 {
  padding: 0;
  background-color: initial;
}

.tab-wrap h3 {
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: none;
  font-size: 22px;
  padding: 0;
  min-width: 250px;
  margin: auto;
}

.tab-txt {
  border-bottom: 1px solid var(--youko-text-color);
  display: flex;
  padding: 35px 10px;
}

.tab-txt ul,
.tab-txt p {
  width: 100%;
}

.inblock {
  display: block;
  width: 100%;
}

.tab-txt .article ul li {
  margin: 0.2em;
  display: flex;
}

body #post-724 .is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: initial;
  margin-left: initial;
  margin-right: initial;
}

.sub {
  display: flex;
  justify-content: space-around;
}

ul.tab-switchi {
  padding-bottom: 1px;
  border-bottom: 1px solid var(--youko-text-color);
  color: var(--youko-background-color2);
}

.tab-wrap h4,
.tab-wrap h5 {
  border-top: none;
  border-bottom: none;
  margin: 0;
  padding: 0;
}

.tab-wrap h5 {
  font-size: 17px;
}

.flex-wrap {
  display: flex;
  width: 100%;
}

.wp-block-group .tab-content,
.tab-wrap .article ul,
.tab-switchi,
.wp-block-group .tab-txt {
  margin: 0 !important;
}

/**************************
works
***************************/
.type-works .entry-card-snippet,
.type-works .entry-card-meta,
.type-works .admin-pv {
  display: none;
}

.works-header .eye-catch-wrap {
  margin: 2.5rem 0 3.5rem;
}

.works .ywrap {
  width: 100%;
}

figure.eye-catch {
  width: 100%;
}

.works .eye-catch img {
  width: 100%;
  display: block;
}

.list-works {
  display: flex;
  flex-flow: wrap;
  margin: auto;
  justify-content: space-around;
  align-items: center;
  gap: 5%;
}

.list-works.ywrap {
  margin: 5rem auto 0 auto;
}

.list-works .entry-card {
  margin: auto;
  position: relative;
  line-height: 0;
  width: 300px;
  height: 170px;
  overflow: hidden;
}

.list-works .entry-card-wrap {
  width: 300px;
  text-align: center;
}

.list-works .a-wrap {
  padding: 0;
  margin-bottom: 5%;
  overflow: hidden;
  display: block;
}

.list-works .card-thumb img {
  width: 300px;
  height: 170px;
  object-fit: cover;
  display: block;
}

.list-works .entry-card-thumb {
  width: auto;
  margin-right: 0;
  position: relative;
}

.list-works .entry-card-content {
  position: static;
  margin: 0;
  padding: 0;
}

.list-works .entry-card-thumb .cat-label,
.blog .entry-card-thumb .cat-label {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  border: none;
  background-color: var(--youko-background-color);
  color: var(--cocoon-text-color);
  border-radius: 0 0 10px 0;
  border-top-left-radius: 0;
  opacity: 0.7;
  padding: 5px 12px;
  font-size: 11px;
  line-height: 1.2;
  margin: 0;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  pointer-events: none;
}

.list-works .entry-card-categorys .entry-category,
.blog .entry-card-categorys .entry-category {
  display: none;
}

.blog #list .entry-card-content {
  padding-top: 0;
}

.blog #list .entry-card-title {
  margin-top: 0;
}

.blog #list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 7%;
  row-gap: 2.5rem;
}

.blog #list>.entry-card-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.blog #list>.entry-card-wrap .entry-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.list-works .entry-card-title {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: .3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(245, 245, 245, 0.9);
  margin: 0;
  font-size: 14px;
  font-weight: initial;
  z-index: 3;
  line-height: 1.7;
}

.list-works .entry-card-title:hover {
  opacity: 1;
}

.works-header .date-tags,
.sns-share-message {
  display: none;
}

.ywrap {
  width: calc(100% - 15%);
  margin: auto;
}

.works-entry-content {
  margin-bottom: 5rem;
}

/************************************
** contact-form
************************************/
.ywrap.c-form {
  margin: 5rem auto;
}

.contact-form {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: var(--youko-background-color-opacity);
  text-align: center;
  padding: 9.5rem 0;
}

.contact-form p {
  margin: 2.5rem 0;
}

.cform {
  margin: 3rem auto;
  width: calc(100% - 20%);
}

.cform ul {
  display: flex;
  list-style: none;
  padding-left: 0;
}

.cform ul li {
  width: 100%;
  margin-left: 0;
}

.cform li.ttl {
  width: 40%;
}

.cform input[type="text"] {
  width: 100%;
}

.cform input[type='submit'],
.cform-sub {
  margin: auto;
  text-align: center;
}

.cmark {
  color: #e53900;
}

button.btn {
  background-color: var(--youko-text-color);
  color: var(--youko-white-color);
  padding: 0.2rem 5rem;
  border: none;
  letter-spacing: 2px;
  line-height: 2;
}

.btn,
.ranking-item-link-buttons a,
.btn-wrap>a,
.wp-block-freeform .btn-wrap>a {
  font-weight: 400;
  border-radius: 20pc;
  font-size: 25px;
}


/************************************
** loading
************************************/
#loader {
  position: fixed;
  display: flex;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  background: var(--youko-background-color);
  z-index: 9999;
  animation: loader-failsafe 0.2s ease 3s forwards;
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

@keyframes loader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.spinner {
  margin: 100px auto 0;
  width: 90px;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner>div {
  width: 15px;
  height: 15px;
  margin: 0 3px;
  background-color: var(--youko-gray-color);
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {

  0%,
  80%,
  100% {
    -webkit-transform: scale(0)
  }

  40% {
    -webkit-transform: scale(1.0)
  }
}

@keyframes sk-bouncedelay {

  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}


/*画面遷移時のフェード*/
#container {
  opacity: 0;
  transition: all 1.4s;
  animation: container-failsafe 0.2s ease 3s forwards;
}

#container.fade-in {
  opacity: 1;
}

@keyframes container-failsafe {
  to {
    opacity: 1;
  }
}

.fade-in::after {
  opacity: 1;
}


/*===========================================================*/
/* その他のページ */
/*===========================================================*/
.posts-not-found {
  margin: 2rem 0;
}

/* TOPへ戻るボタン */
.go-to-top-button {
  background-color: initial;

  width: 60px;
  height: 60px;
}

.go-to-top {
  right: 20px;
  bottom: 20px;
}

.go-to-top:after {
  content: 'TOP';
  font-size: 15px;
  position: absolute;
  right: 10px;
  bottom: 0;
}

/*===========================================================*/
/* トップページ アニメーション*/
/*===========================================================*/

/* 時差読み込み */

.first-anime {
  transform: translateY(15px);
  opacity: 0;
  transition: all 1.0s;
  transition-delay: .6s;
}

.second-anime {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.5s;
  transition-delay: 1.2s;
}

.slow-fade {
  opacity: 0;
  transition: all 1.0s;
  transition-delay: .6s;
  animation: slow-fade-failsafe 0.2s ease 3.2s forwards;
}

#container.fade-in .first-anime,
#container.fade-in .second-anime,
#container.fade-in .slow-fade {
  transform: translateY(0);
  opacity: 1;
}

@keyframes slow-fade-failsafe {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* スクロールインでの読み込み */
.fade-in {
  opacity: 0;
  transition: all 1.0s;
  transition-property: opacity, transform;
}

.fade-in-up {
  opacity: 0;
  transition: all .6s;
  transition-delay: .5s;
  transform: translateY(20px);
}

.scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}


/*========= 1文字ずつ出現させるためのCSS ===============*/

.eachTextAnime span {
  opacity: 0;
}

.eachTextAnime.appeartext span {
  animation: text_anime_on 1s ease-out forwards;
}

@keyframes text_anime_on {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  body {
    font-size: 80% !important;
  }

  main.main, div.sidebar {
    padding-top: 70px;
  }

  body.home,
  body.home::before,
  #footer::before {
    background-image: url(/wp-content/uploads/2023/09/background-sp-3.jpg);
  }

  body.home::before,
  #footer::before {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -10;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    content: "";
  }

  /* SPナビゲーション */

  .logo-menu-button img {
    filter: invert(100%);
    padding: 5px 0;
  }

  .logo-menu-button {
    min-width: initial;
  }

  .menu-header {
    background: var(--youko-gray-color);
    position: fixed;
    width: 100%;
    height: 52px;
  }

  .menu {
    list-style: none;
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    margin-top: 52px;
    padding: 0 0 10px 0;
    clear: both;
    background: var(--youko-gray-color);
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
  }

  /* Hamburger menu button */
  .menu-btn:checked~.menu {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  /* Hamburger menbu text */
  .menu a {
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 25px !important;
    text-transform: capitalize;
    color: #ddd;
    opacity: 0;
    transition: 0.5s;
  }

  .menu li {
    border-top: 1px solid rgb(75, 75, 75);
    padding: 15px 0;
    margin: 0 54px;
    opacity: 0;
    transition: 0.5s;
  }

  .menu-btn:checked~.menu a,
  .menu-btn:checked~.menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  }

  .menu-btn {
    display: none;
  }

  .mobile-menu-buttons .menu-icon {
    display: inline-block;
    width: auto;
    position: relative;
    cursor: pointer;
    padding: 24px 14px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  .mobile-menu-buttons .menu-button {
    position: unset;
  }

  .navicon {
    background: #ddd;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  .navicon:before,
  .navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #ddd;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  .navicon:before {
    top: 9px;
  }

  .navicon:after {
    bottom: 9px;
  }

  /* Hamburger Menu Animation Start */
  .menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
  }

  .menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
  }

  .menu-btn:checked~.menu-icon:not(.steps) .navicon:before {
    top: 0;
  }

  .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    bottom: 0;
  }

  .menu-btn:checked~.menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  /* Hamburger Menu Animation End */

  /* Navbar Container */
  .navtext-container {
    width: 100%;
    height: 52px;
    position: absolute;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Navbar Text */
  .navtext {
    position: absolute;
    text-transform: uppercase;
    color: #ddd;
    letter-spacing: 3px;
    font-size: 20px;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
  }

  .mobile-header-menu-buttons {
    box-shadow: none;
  }

  li.search-menu-button.menu-button,
  span.menu-caption {
    display: none !important;
  }

  .mobile-menu-buttons {
    font-size: 35px;
  }

  .home .display-none {
    display: none;
  }

  .mobile-menu-buttons {
    background: transparent;
  }

  .menu-content {
    height: 100vh;
  }

  body.home main article.top {
    height: 310vh;
  }

  body.home article.top .intro1 {
    height: 100vh;
  }

  body.home article.top .intro2 {
    height: 210vh;
  }

  body.home article.top .intro1 .title,
  .intro2-in {
    width: calc(100% - 50px);
  }

  .home .profile-contents.is-layout-flex {
    display: block;
  }

  .home .profile-contents {
    width: calc(100% - 50px);
  }

  .home .profile-contents img {
    width: calc(100% - 50%);
    margin: auto;
  }

  .home .profile-contents .wp-block-image {
    margin-bottom: 2rem;
  }

  .home .prof-txt {
    width: 100%;
  }

  .home .award {
    width: calc(100% - 50px);
  }

  .wp-block-group.timeline-item.is-layout-constrained.wp-block-group-is-layout-constrained:first-child {
    display: none;
  }

  .home .timeline-item {
    display: flex;
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid var(--youko-white-color);
  }

  .home .timeline-label {
    position: absolute;
    top: 10px;
    left: 20px;
    -webkit-transform: initial;
    transform: initial;
    text-align: initial;
    font-size: initial;
  }

  .home .timeline h3 {
    margin-bottom: 1rem;
    font-size: 20px !important;
  }

  .home .timeline-content {
    width: calc(100% - 120px);
    margin-right: 0 !important;
    -webkit-transform: initial;
    transform: initial;
  }

  .home .timeline-item:before {
    background-color: initial;
  }

  .home .timeline-item:last-child {
    border-bottom: 1px solid var(--youko-white-color);
  }

  .website .is-layout-flex,
  .siryou .is-layout-flex,
  .intro4 .is-layout-flex {
    display: block;
  }

  .home .more {
    margin: 1rem !important;
  }

  .home .intro2-in h3 {
    margin-bottom: 3rem;
  }

  .home .intro3 .website,
  .home .intro3 .siryou {
    width: calc(100% - 50px);
  }

  .home .intro3 .website-in,
  .home .intro3 .siryou-in {
    width: 100%;
    margin: 2rem auto;
  }

  .home .intro3 {
    padding: 5rem 0;
  }

  .home .intro4 .blog-in {
    width: calc(100% - 50px);
    margin: auto;
  }

  .intro4 figure.wp-block-image.size-large.fade-in.scroll-in:first-child {
    display: none;
  }

  .intro4 .widget-entry-cards.card-large-image .card-content {
    font-size: 80%;
  }

  .footer-bottom-bottom {
    display: block;
  }

  .footer-bottom-logo .logo-image {
    margin-bottom: 1rem;
  }


  .ywrap {
    width: 100%;
    text-align: justify;
  }

  /* サービスSP */


  .tab-txt {
    display: block;
    width: 100%;
  }

  .s-txt.ywrap {
    margin: 5rem auto;
  }

  .flex-wrap {
    display: block;
  }

  .entry-title,
  .article h2 {
    margin-bottom: 1rem;
  }


  .content {
    margin: auto;
  }

  .list-works {
    display: block;
  }

  .list-works .entry-card-wrap {
    width: 300px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .list-works .a-wrap {
    margin-bottom: 15%;
  }

  .cform {
    width: 100%;
  }

  .cform ul {
    display: block;
    margin-bottom: 1rem;
  }

  .cform li.ttl {
    width: 100%;
  }

  #list {
    display: block;
  }

  #list a {
    margin: 0 auto 2.5% auto;
    width: 100%;
  }

  .blog #list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4%;
  }

  .blog #list>.entry-card-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  #sidebar-scroll {
    display: none;
  }

  .article ul,
  .article ol {
    padding-left: 0;
  }

  .blogcard {
    gap: 5px;
  }

  .blogcard-content {
    width: 60%;
    margin-left: 0;
  }

  .blogcard-thumbnail {
    float: none;
    width: 40%;
    margin: auto;
  }

  body.home,
  #footer {
    background-size: initial;
    background: none;
  }

  main.main,
  div.sidebar {
    margin: 0;
  }

  .page-numbers {
    width: 34px;
    height: 34px;
    line-height: 34px;
  }

  .home .more a:hover::before {
    right: -10%;
  }

  .home .more a:hover::after {
    right: -10%;
  }

  .entry-title,
  .archive-title {
    font-size: 30px;
  }


}


/*480px以下*/
@media screen and (max-width: 480px) {
  /* カテゴリラベルを保持し、サムネイル画像のみサイズ制御 */
  .entry-card-thumb img,
  .card-thumb img,
  .list-works .card-thumb img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto;
  }
  
  .blog #list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .blog #list>.entry-card-wrap {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .is-style-information-box::before,
  .is-style-question-box::before,
  .is-style-alert-box::before,
  .is-style-memo-box::before,
  .is-style-comment-box::before,
  .is-style-ok-box::before,
  .is-style-ng-box::before,
  .is-style-good-box::before,
  .is-style-bad-box::before,
  .is-style-profile-box::before,
  .information-box::before,
  .question-box::before,
  .alert-box::before,
  .information::before,
  .question::before,
  .alert::before,
  .memo-box::before,
  .comment-box::before,
  .common-icon-box::before {
    top: 1.2em;
  }

  .is-style-information-box,
  .is-style-question-box,
  .is-style-alert-box,
  .is-style-memo-box,
  .is-style-comment-box,
  .is-style-ok-box,
  .is-style-ng-box,
  .is-style-good-box,
  .is-style-bad-box,
  .is-style-profile-box,
  .information-box,
  .question-box,
  .alert-box,
  .information,
  .question,
  .alert,
  .memo-box,
  .comment-box,
  .common-icon-box {
    padding: 35px 20px 20px;
  }

  .is-style-info-box, .info-box, .sp-info, .info {
    padding: 15px 15px 15px 25px;
  }

  .article ul, .article ol {
    padding-left: 26px;
  }

  .post-120 .cform ul, .post-120 .cform ol {
    padding-left: 0;
  }
}
