@charset "UTF-8";

body {
   font-family: 'Noto Sans JP', sans-serif;
   color: #233438;
}

article.post ul {
   list-style: disc;
   padding-left: 1.5rem;
   margin-bottom: 1.5rem;
}

article.post ol {
   list-style: static;
   padding-left: 1.5rem;
   margin-bottom: 1.5rem;
}

article.post ol>li::marker,
article.post ul>li::marker {
   padding-left: 1rem;
}

article.post ul>li {
   margin-bottom: 8px;
}

/* single  */
.has-sidebar .site-content {
   display: flex;
   justify-content: space-between;
   gap: 6rem;
   padding: 10rem 15px 0;
   box-sizing: border-box;
}

.has-sidebar .sidebar-area {
   min-width: 260px;
}

.content-area {
   width: 100%;
   max-width: calc(100% - 260px);
}

.site-content .hentry {
   margin-bottom: 2rem;
}

.entry-header {
   font-family: "Noto Sans JP";
   margin-bottom: 1em;
}

.cat-name {
   min-width: 150px;
   display: inline-block;
   text-align: center;
   font-size: 15px;
   letter-spacing: 0px;
   color: #FFFFFF;
   padding: 0.2em 1.5em;
   line-height: 1.8em;
   background: #233438;
   border-radius: 5px;
}

.entry-date {
   text-align: left;
   font-size: 16px;
   line-height: 1.5;
   color: #233438;
}

.post-thumbnail {
   font-size: 0;
   margin: 2rem 0;
}

.entry-content {
   margin-bottom: 2em;
}

@media screen and (max-width: 1180px) {
   .has-sidebar .site-content {
      gap: 2.5rem;
   }
}

@media screen and (max-width: 780px) {
   .has-sidebar .site-content {
      display: block;
      width: 85.7vw;
      gap: 0;
      padding: 8rem 0 0;
   }

   .content-area {
      width: 100%;
      max-width: max-content;
      margin-left: auto;
      margin-right: auto;
   }

   .site-content .hentry {
      margin-bottom: 2rem;
   }

   .entry-header {
      margin-bottom: 1.4em;
   }

   .cat-name {
      min-width: 39.5vw;
      font-size: 4vw;
      padding: 0.5em 0em;
      line-height: 1;
   }

   .entry-date {
      font-size: 4.2vw;
      margin: 0 0 2.6vw;
   }

   .post-thumbnail {
      margin: 4vw 0;
   }
}

/* ------------------------------------------------ */
/* head */
/* ------------------------------------------------ */
.entry-header h1 {
   text-align: left;
   font-size: clamp(1.438rem, 1.229rem + 0.43vw, 1.75rem);
   font-weight: bold;
   line-height: 1.8em;
   letter-spacing: 0px;
   color: #233438;
   margin: 0.5em 0;
}

.entry-content h2 {
   color: #233438;
   font-weight: bold;
   font-size: clamp(1.188rem, 1.062rem + 0.26vw, 1.375rem);
   line-height: 1.85;
   border-bottom: 1px solid #D1D5DA;
   padding-bottom: 0.75rem;
   margin: 2.5rem 0 0.75rem;
}

.entry-content h3 {
   color: #233438;
   font-size: 17px;
   font-weight: bold;
   line-height: 1.6;
   background: #f0f1f3;
   border-radius: 5px;
   padding: 0.6em 1em 0.5em;
   margin-bottom: 1em;
   margin-top: 2.5em;
}

@media screen and (max-width: 780px) {
   .entry-header h1 {
      font-size: clamp(1.188rem, 1.022rem + 0.74vw, 1.375rem);
      line-height: 1.4;
      margin: 2.6vw 0;
   }

   .entry-content h2 {
      font-size: clamp(1.188rem, 1.132rem + 0.25vw, 1.25rem);
      line-height: 1.4;
   }

   .entry-content h3 {
      font-size: 4.4vw;
      line-height: 1.5;
      padding: 2.9vw 3.6vw 2.6vw;
      margin: 4vw 0;
   }

   .entry-content p+h3 {
      margin-top: 9vw;
   }
}

/* ------------------------------------------------ */
/* paragraph */
/* ------------------------------------------------ */

.entry-content p {
   font-size: 1rem;
   line-height: 1.85;
   margin-bottom: 1.4rem;
   word-break: break-all;
}

.entry-content a {
   display: inline-block;
   width: 100%;
   word-break: break-all;
}

.entry-content p+p {
   margin: 1.8em 0 1.4em;
}

@media screen and (max-width: 780px) {
   .entry-content p {
      font-size: 1rem;
      line-height: 1.75;
      margin: 2.6vw 0 3.9vw;
   }

   .entry-content p+p {
      margin: 2.6vw 0 3.9vw;
   }

}

/* ------------------------------------------------ */
/* index list */
/* ------------------------------------------------ */

.entry-content .index-content {
   background: #f7f8f8;
   border-radius: 10px;
   padding: 28px 35px;
   margin-bottom: 1.5em;
}

.entry-content .index-content h2 {
   text-align: left;
   font-size: 20px;
   font-weight: bold;
   letter-spacing: 0px;
   color: #233438;
   margin-bottom: 0.3em;
   margin-top: 0em;
   border: none;
}

.entry-content .index-list {
   padding: 0;
   margin: 0;
}

.entry-content .index-list li {
   text-align: left;
   font-size: 16px;
   line-height: 2;
   letter-spacing: 0px;
   color: #233438;
   position: relative;
   display: block;
   padding-left: 1.3em;
}

.entry-content .index-list li::before {
   position: absolute;
   display: block;
   content: "";
   width: 1.1em;
   height: 2em;
   left: 0;
   top: 0;
   background-image: url(../images/icon_arrow_down.svg);
   background-size: 1em;
   background-position: left center;
   background-repeat: no-repeat;
}

@media screen and (max-width: 780px) {
   .entry-content .index-content {
      padding: 7.2vw 5.2vw;
      margin-bottom: 12vw;
   }

   .entry-content .index-content h2 {
      font-size: 5.2vw;
      line-height: 1.2;
      margin: 0 0 0.5em;
   }

   .entry-content .index-list li {
      font-size: 4.1vw;
   }
}

/* ------------------------------------------------ */
/*  other-article */
/* ------------------------------------------------ */

.card-link {
   border-radius: 5px;
   overflow: hidden;
   border: 1px solid #D1D5DA;
   display: flex;
   justify-content: space-between;
}

.longcard-img {
   width: 38%;
}

.blogcard-content {
   display: flex;
   font-size: 19px;
   font-weight: bold;
   line-height: 1.6;
   width: 61%;
   align-items: center;
   padding: 1em;
   letter-spacing: 0;
}

@media screen and (max-width: 780px) {
   .card-link {
      display: block;
   }

   .longcard-img {
      width: 100%;
   }

   .longcard-img img {
      width: 100%;
   }

   .blogcard-content {
      font-size: 4.4vw;
      line-height: 1.5;
      width: 100%;
   }
}

/* ------------------------------------------------ */
/* other */
/* ------------------------------------------------ */

.wp-block-column {
   margin-bottom: 0;
}

figcaption a {
   display: block;
   color: #0394CA;
   text-decoration: underline;
}

.entry-content p mark {
   position: relative;
   display: inline-block;
   font-weight: bold;
   font-size: 16px;
   z-index: auto;
   background-color: none !important;
}

.entry-content p mark::after {
   position: absolute;
   left: 0;
   bottom: 0rem;
   display: block;
   content: "";
   width: 100%;
   height: 1em;
   background-color: #FFFF7C;
   z-index: -1;
}


/* .reference-link {
   display: block;
   color: #0394CA;
   text-decoration: underline;
} */


/* ------------------------------------------------ */
/* blockquote */
/* ------------------------------------------------ */
blockquote {
   position: relative;
   z-index: auto;
   border: 1px solid #D1D5DA;
   border-radius: 5px;
   padding: 23px 68px;
}

blockquote::after,
blockquote::before {
   position: absolute;
   display: block;
   width: 20px;
   height: 20px;
   z-index: 1;
   background-image: url(../images/icon_quote.svg);
   background-repeat: no-repeat;
   background-size: contain;
   background-position: center center;
}

blockquote::before {
   content: "";
   left: 15px;
   top: 15px;
   transform: rotateZ(180deg);
}

blockquote::after {
   content: "";
   right: 15px;
   bottom: 15px;
   top: auto;
   left: auto;
}

.entry-content blockquote p {
   font-size: 18px;
   font-weight: bold;
   line-height: 1.6;
   color: #233438;
   margin-bottom: 0.5em;
}

blockquote cite {
   font-size: 17px;
   line-height: 1.5;
   color: #AAAAAA;
   margin-bottom: 0.5em;
}

@media screen and (max-width: 780px) {
   blockquote {
      padding: 6vw 10vw;
   }

   blockquote::after,
   blockquote::before {
      width: 4.1vw;
      height: 4vw;
   }

   blockquote::before {
      left: 4vw;
      top: 4vw;
   }

   blockquote::after {
      right: 4vw;
      bottom: 4vw;
   }

   .entry-content blockquote p {
      font-size: 4.7vw;
      margin-bottom: 0.5em;
   }

   blockquote cite {
      font-size: 4.3vw;
      margin-bottom: 0.5em;
   }
}


/* ------------------------------------------------ */
/* contact */
/* ------------------------------------------------ */

.entry-content .contact {
   width: 100%;
   text-align: center;
   background: #DFF8F9;
   border-radius: 10px;
   padding: 1.5em;
   margin-top: 2em;
   margin-bottom: 4em;
}

.entry-content .contact>h2 {
   font-size: 20px;
   font-weight: bold;
   line-height: 1.5;
   color: #233438;
   margin-bottom: 0.5em;
   border: none;
}

.entry-content .contact>p {
   font-size: 16px;
   line-height: 1.5;
   color: #233438;
}

.entry-content .contact>a {
   display: inline-block;
   width: 100%;
   max-width: 320px;
   color: #FFFFFF;
   font-size: 20px;
   font-weight: bold;
   line-height: 1.5;
   padding: 1em;
   background: #03C6CA;
   border-radius: 5px;
}

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

   .entry-content .contact {
      border-radius: 0;
      padding: 2.2em 1.5em;
      width: 100vw;
      margin: 0 calc(50% - 50vw);

   }

   .entry-content .contact>h2 {
      font-size: 5.2vw;
      line-height: 1.5;
      margin-bottom: 1em;
   }

   .entry-content .contact>p {
      font-size: 4.2vw;
      line-height: 1.5;
   }

   .entry-content .contact>a {
      font-size: 5.2vw;
      line-height: 1.5;
      padding: 1em 1.7em
   }
}



/* ------------------------------------------------ */
/* Related-post */
/* ------------------------------------------------ */

.Related-post {
   margin-bottom: 2rem;
   overflow-x: hidden;
}

.Related-post-title {
   color: #233438;
   font-size: 28px;
   font-weight: bold;
   line-height: 1.4;
   text-align: center;
   margin: 2em auto 1em;
}

.post-list {
   display: flex;
   margin-bottom: 1.5rem;
}

.post-item {
   width: 100%;
   max-width: calc(33.33% - 1em);
   padding: 0 0 0.5em;
   border: 1px solid #D1D5DA;
   border-radius: 5px;
   margin: 0 2% 0 0;
   box-sizing: border-box;
}

.Related-post .entry-header {
   margin-bottom: 0;
}

.Related-post .post-thumbnail {
   margin: 0;
   overflow: hidden;
}

.Related-post a {
   display: block;
   min-height: 266px;
}

.Related-post .post-thumbnail img {
   transition-duration: 0.3s;
}

.Related-post .cat-name {
   display: block;
   width: 91%;
   line-height: 1.5;
   padding: 0.3em 0;
   margin: 0.5em auto;
   border-radius: 5px;
   transition-duration: 0.3s;
}

.Related-post .entry-title {
   width: 91%;
   min-height: 5em;
   color: #233438;
   font-size: 15px;
   font-weight: bold;
   line-height: 1.4;
   margin: 0 auto 0.5em;
}

.Related-post .entry-meta {
   width: 91%;
   text-align: right;
   margin: 0 auto;
   display: flex;
   justify-content: flex-end;
}

.Related-post .posted-date {
   color: #233438;
   font-size: 15px;
   line-height: 1.4;

}

.swiper-button-prev,
.swiper-rtl .swiper-button-next,
.swiper-button-next,
.swiper-rtl .swiper-button-prev,
swiper-pagination-fraction {
   display: none;
}

.Related-post .swiper-wrapper {
   height: auto;
}

@media screen and (max-width: 767px) {
   .Related-post {
      margin-bottom: 3rem;
      position: relative;
      text-align: center;
   }

   .post-item.swiper-slide {
      width: 100%;
      max-width: none;
      min-width: 100%;
      margin: 0;
   }

   .swiper-pagination-fraction {
      position: static !important;
      display: inline-block;
      border: 2px solid #233438;
      border-radius: 5px;
      font-size: 4.7vw;
      font-weight: bold;
      line-height: 1.2;
      letter-spacing: 0.1em;
      padding: 2.4vw 4.2vw;
   }

   .swiper-button-next,
   .swiper-button-prev {
      top: auto;
      bottom: 1.6%;
      color: #333;
      transform: scale(1, 1.5);
      font-weight: bold;
      border: 2px solid #233438;
      border-radius: 5px;
      font-size: 4vw;
      line-height: 1;
      padding: 0.4vw 4.2vw;
      height: 7.5vw;
   }

   .swiper-button-prev:after,
   .swiper-rtl .swiper-button-next:after,
   .swiper-button-next:after,
   .swiper-rtl .swiper-button-prev:after {
      content: none;
   }

   .swiper-button-next:hover,
   .swiper-button-prev:hover,
   .swiper-pagination-fraction:hover {
      background-color: #EEEEEE;
   }
}

/* sns button */

.addtoany_header {
   margin: 0 0 16px;
   color: #233438;
   font-size: 28px;
   line-height: 1.4;
   font-weight: bold;
   text-align: center;
}

.a2a_kit {
   line-height: 50px;
   margin: 0 auto 4em;
   display: block;
   text-align: center;
}

.addtoany_list a {
   padding: 0 8px;
   width: auto;
}

.addtoany_content {
   text-align: center;
}

@media screen and (max-width: 780px) {
   .a2a_kit {
      display: flex;
      justify-content: space-between;
      max-width: 320px;
   }

   .addtoany_list a {
      padding: 0;
   }
}

/* sidebar  */
.widget_posts_wrap {
   margin-bottom: 0rem;
}

.widget-title-pop {
   font-weight: bold;
   font-size: 18px;
   line-height: 1.5;
   color: #FFFFFF;
   text-align: center;
   padding: 0.3em 0;
   background: #03C6CA;
}

.widget-area-pop li {
   margin: 1em 0;
   padding: 1rem 1rem 1rem 0;
   border-bottom: 1px solid #D1D5DA;
}

.widget-area-pop li:last-child {
   border-bottom: none;
}

.widget-area-pop li a {
   display: flex;
   justify-content: space-between;
}

.pop-posts-thumbnail {
   min-width: 75px;
   height: 75px;
   margin: 0 10px 0 0;
}

.pop-posts-thumbnail img {
   width: 75px;
   height: 75px;
   object-fit: cover;
}

.pop-posts-text {
   width: 100%;
   font-weight: bold;
   font-size: 15px;
   line-height: 1.5;
   color: #233438;
   word-break: break-all;
}

.widget-title {
   font-weight: bold;
   font-size: 18px;
   line-height: 1.5;
   color: #233438;
   text-align: center;
   padding: 0.3em 0;
   background: #D1D5DA;
}

.recent-posts-text {
   width: 100%;
   font-size: 15px;
   line-height: 1.5;
   color: #233438;
}

.recent-posts-text .post-date {
   display: block;
   width: 100%;
   font-size: 14px;
   line-height: 1.5;
   color: #233438;
   margin-top: 0.5em;
   text-align: right;
}

.widget-area li {
   margin: 1em 0;
   padding-bottom: 1em;
   border-bottom: 1px solid #D1D5DA;
}

.widget-area li:last-child {
   border-bottom: none;
}

@media screen and (max-width: 780px) {
   .has-sidebar .sidebar-area {
      width: 100%;
      border: none;
      padding-top: 0rem;
   }

   .widget-title-pop {
      margin-top: 0;
   }

   .pop-posts-text {
      width: 100%;
   }
}


/* ------------------------------------------------ */
/* ページごとのスタイル */
/* ------------------------------------------------ */

.case {
   padding-bottom: 0;
}

.site-content.case {
   padding-bottom: 7.5rem;

   & .client-name {
      color: #777F81;
      font-size: 1.0625rem;
      font-weight: 400;
      line-height: 1;
   }

   & .entry-content {
      & h2.wp-block-heading {
         margin-bottom: 1.25rem;

         &:has(+ h3.wp-block-heading) {
            margin-bottom: 1.5rem;
            border-bottom: none;
            padding-bottom: 0;
         }
      }

      & h3.wp-block-heading {
         font-size: clamp(1.063rem, 1.007rem + 0.25vw, 1.125rem);
         margin-top: 0;
         letter-spacing: 0.06rem;
      }

      & h4.wp-block-heading {
         width: 100%;
         margin: 0.75rem 0;
         display: inline-flex;
         align-items: center;
         justify-content: flex-start;
         column-gap: 0.5em;
         flex-wrap: nowrap;
         font-size: 1rem;
         font-weight: 700;

         &::before {
            content: "・";
            font-weight: 700;
         }

         &+p {
            padding-left: 1.5rem;
         }
      }
   }

   & .widget-area-pop {
      & .widget-title {
         color: #ffffff;
         background: rgba(61, 177, 177, 0.90);
      }

      & ul li {
         margin: 0;

         a {
            align-items: center;
         }
      }
   }

   & .related-post {
      & .related-post-title {
         color: #233438;
         font-size: 28px;
         font-weight: bold;
         line-height: 1.4;
         text-align: center;
         margin: 2em auto 1em;
      }

      & .post-list {
         display: grid;
         grid-template-columns: repeat(3, 1fr);
         align-items: stretch;
         gap: 2rem;

         & .post-item {
            display: inline-block;
            width: 100%;
            max-width: max-content;
            margin: 0;
            padding: 0;
            background: #FFFFFF;
            border-radius: 10px;
            overflow: hidden;
            border: none;

            & a {
               display: inline-block;
               width: 100%;
               height: auto;

               &:hover {
                  & .post-thumbnail img {
                     transform: scale(1.05);
                  }
               }
            }

            & .post-thumbnail {
               width: 100%;
               height: 100%;
               max-height: 180px;
               margin: 0;
               overflow: hidden;

               & img {
                  height: 100%;
                  object-fit: cover;
                  transition-property: all;
                  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
                  transition-delay: 75ms;
                  transition-duration: 500ms;
               }
            }

            & .post-metabox {
               display: block;
               height: 100%;
               padding: 1.25rem 1rem 1.5rem;

               & .post-title {
                  height: 100%;
                  font-size: 1rem;
                  font-weight: 600;
                  margin-bottom: 0.75rem;
               }

               & .client-name {
                  color: #777F81;
                  font-size: 0.875rem;
                  font-weight: 500;
               }
            }
         }


      }
   }

   & .addtoany_content_bottom {
      margin-top: 2.5rem;
      padding-top: 1.75rem;
      border-top: 2px solid #233438;
   }
}

@media screen and (max-width: 780px) {
   .site-content.case {
      & .entry-content h4.wp-block-heading+p {
         padding-left: 1rem;
      }

      & .sidebar-area {
         margin: 0;
         padding: 0;
      }

      & .widget-area-pop {
         & .widget-title {
            margin-bottom: 0.5rem;
         }
      }

      & .related-post {
         display: none;
      }
   }
}

.entry-excerpt {
   padding-bottom: 1.55rem;
   margin-bottom: 1.75rem;
   border-bottom: 2px solid #233438;
}

.entry-excerpt,
.entry-content p {
   color: #233438;
   font-size: 1rem;
   font-weight: 400;
   line-height: 1.65;
   letter-spacing: 0.0315rem;
}

.post-thumbnail {
   width: 100%;

   & img {
      width: 100%;
      height: auto;
      object-fit: cover;
   }
}

.wp-block-image.size-large {
   margin: 1.55rem 0;
}

.wp-block-separator {
   margin: 2.5rem 0;
}

.wp-block-buttons.cta-case {
   width: 100%;
   padding: 2.5rem 0 1.75rem;

   & .wp-block-button {
      width: 100%;
      text-align: center;

      & .wp-block-button__link {
         display: inline-block;
         width: 100%;
         max-width: 320px;
         padding: 1.25rem;
         color: #ffffff;
         font-size: 1.125rem;
         font-weight: 500;
         background-color: #233438;
         border: 2px solid #233438;
         border-radius: 8px;
         letter-spacing: 0.05em;
         transition: all 0.25s ease-in-out;

         &:hover {
            color: #233438;
            background-color: transparent;
         }
      }
   }
}

/* 段落内のマーカー線 */
.marker-green {
   background: linear-gradient(transparent 60%, rgba(65, 214, 214, 0.26) 60%);
}