@charset "UTF-8";

/*
Theme Name: baliterrace-coco
Theme URI: https://baliterrace-coco.com/
Author: BIS
Author URI: 
Description: Baliterrace Coco 用カスタムテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baliterrace-coco
Copyright: 2025 BIS
Tested up to: 6.9
Requires PHP: 8.2.12
*/

* {
  box-sizing: border-box;
  /* outline: solid 1px red; */
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}
html,
body {
  height: 100%;
  margin: 0;
}
body,
a {
  color: #444 !important;
  font-size: 16px;
}
a:hover,
button:hover {
  opacity: 0.7;
  cursor: pointer;
}
img {
  width: 100%;
}
.l-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
#page_top a:hover {
  opacity: 1;
}

/* header */
.cl-Header {
  position: fixed;
  width: 100%;
  height: 150px;
  z-index: 900;
  background-color: #fff;
}
.cl-Header.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  height: 120px;
  box-shadow: 2px 2px 4px rgba(241, 241, 241, 0.5);
}
.cl-Header.fixed .cl-Header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}
.cl-Header.fixed .site-logo {
  width: 100px;
}
.cl-Header.fixed .site-logo img {
  padding-top: 0;
}
.cl-Header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  transition: all 0.2s ease;
}
.cl-Header-left {
  display: flex;
  align-items: center;
}
.site-logo {
  width: 120px;
  transition: all 0.2s ease;
}
.site-logo img {
  padding-top: 10px;
}
.column-logo {
  max-width: 350px;
  width: 100%;
  transition: all 0.2s ease;
}
.cl-Header-right .search-form {
  display: flex;
  align-items: center;
}
.search-text {
  margin: 0;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  background: #f5f5f5;
  height: 40px;
  width: 230px;
  padding: 8px;
}
.search-btn {
  background: #34494a;
  color: #fff;
  padding: 8px;
  width: 40px;
  height: 40px;
  border: none;
}

/* nav */
.cl-Header-Menu-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  gap: 20px;
}
.cl-Header-hamburger,
.cl-Header-Menu-list_sp {
  display: none;
}

/* Main */
.cl-Main {
  margin-bottom: 80px;
  padding-top: 150px;
}
.cl-Main .cl-Inner {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  gap: 20px;
}
.cl-Main .cl-Content {
  flex: 1 1 0; /* flex-grow:1; flex-shrink:1; flex-basis:0 */
  min-width: 0;
}
.cl-Main .cl-Sidebar {
  max-width: 330px;
  width: 100%;
}
h2.title {
  font-weight: bold;
}

/* index-slider */
.cl-Index-slider a {
  display: block;
  width: 100%;
}
.cl-Index-slider h2 {
  font-size: 20px;
  line-height: 1.5;
}
.cl-Index-slider .visual {
  position: relative;
}
.cl-Index-slider .category {
  font-family: "游ゴシック", "sans-selif";
  font-weight: bold;
  background: #34494a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 30px;
  font-size: 14px;
}
.cl-Index-slider .thumb {
  margin-bottom: 10px;
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  display: block;
}
.cl-Index-slider .date {
  font-family: "游ゴシック", "sans-selif";
  font-size: 15px;
}

/* Column-list */
.cl-Column-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  margin-bottom: 50px;
}
.cl-Column-list-item {
  flex: 1 1 calc(50% - 10px);
  min-width: calc(50% - 10px);
  max-width: calc(50% - 10px);
}
.cl-Column-list-item p.title {
  font-weight: bold;
}
.cl-Column-list-item a {
  display: block;
  height: 100%;
}
.cl-Column-list-item .visual {
  position: relative;
}
.cl-Column-list-item .category {
  font-family: "游ゴシック", "sans-selif";
  font-weight: bold;
  background: #34494a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  padding: 7px 15px;
  font-size: 12px;
}
.cl-Column-list-item h2 {
  font-size: 16px;
  line-height: 1.5;
}
.cl-Column-list-item .date {
  font-family: "游ゴシック", "sans-selif";
  font-size: 14px;
}
.cl-Column-list-item .thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  margin-bottom: 10px;
}
.btn_more {
  background-color: #34494a;
  color: #fff;
  padding: 10px 50px;
  margin: 0 auto;
  font-size: 16px;
  display: flex;
  justify-content: center;
  border-radius: 0;
  line-height: 1.75;
  border: none;
}

/* cl-Sidebar */
.cl-Sidebar h3 {
  border-top: solid 3px #34494a;
  font-size: 20px;
  font-weight: bold;
  color: #34494a;
  margin-bottom: 10px;
  padding-top: 5px;
}
.cl-Sidebar .category {
  padding: 4px 14px;
  font-size: 12px;
  color: #fff;
  background-color: #34494a;
  font-family: "游ゴシック", "sans-selif";
  font-weight: bold;
}
.cl-Sidebar-ranking {
  margin-bottom: 60px;
}
.cl-Sidebar-ranking-item {
  margin-bottom: 15px;
}
.cl-Sidebar-ranking-item a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cl-Sidebar-ranking-item .visual {
  position: relative;
}
.cl-Sidebar-ranking-item .ranking {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 14px;
  font-size: 16px;
  color: #fff;
  background-color: #34494a;
  font-family: "游ゴシック", "sans-selif";
  font-weight: bold;
}
.cl-Sidebar-ranking-item .thumb {
  width: 150px;
  height: 100px;
  object-fit: cover;
}
.cl-Sidebar-ranking-item .date {
  font-family: "游ゴシック", "sans-selif";
  font-size: 13px;
}
.cl-Sidebar-ranking-item .title {
  font-weight: bold;
  font-size: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.6;
}
.cl-Sidebar-recommend {
  margin-bottom: 60px;
}

.cl-Sidebar-ranking {
  margin-bottom: 60px;
}
.cl-Sidebar-recommend-item {
  margin-bottom: 15px;
}
.cl-Sidebar-recommend-item a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cl-Sidebar-recommend-item .visual {
  position: relative;
}
.cl-Sidebar-recommend-item .category {
  position: absolute;
  top: 0;
  left: 0;
}
.cl-Sidebar-recommend-item .thumb {
  width: 150px;
  height: 100px;
  object-fit: cover;
}
.cl-Sidebar-recommend-item .title {
  font-weight: bold;
  font-size: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.6;
}
.cl-Sidebar-recommend-item .date {
  font-family: "游ゴシック", "sans-selif";
  font-size: 13px;
}
ul.cl-Sidebar-keyword-item {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.5;
}
.cl-Sidebar-keyword-item li a {
  border-bottom: 1px dotted #444;
  font-size: 14px;
}

/* scroll_fair_btn */
.cl-scroll_fair_btn {
  position: fixed;
  right: 0;
  bottom: 130px;
  z-index: 99;
}
.cl-scroll_fair_btn a {
  padding: 10px;
  height: 100%;
  background-color: #34494a;
  display: block;
}
.cl-scroll_fair_btn a:hover {
  opacity: 1;
}
.cl-scroll_fair_btn span {
  color: #fff;
  display: flex;
  align-items: center;
  border: solid 1px #fff;
  padding: 5px 10px;
}
.cl-scroll_fair_btn img {
  width: 20px;
  margin-right: 10px;
}

/* 記事ページ */
.cl-breadcrumb-list {
  padding: 0 20px;
  margin-bottom: 10px;
}
.cl-breadcrumb-list li,
.cl-breadcrumb-list a {
  font-size: 12px;
}
.cl-breadcrumb-list li {
  white-space: normal;
  display: inline;
}
.s-Main {
  font-size: 16px;
  margin-bottom: 90px;
}
.s-Main-mainvisual .thumb {
  margin-bottom: 10px;
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}
.s-Main-mainvisual .title {
  font-size: 22px;
  line-height: 1.5;
}
.s-Main-mainvisual .date {
  font-family: "游ゴシック", "sans-selif";
  font-size: 15px;
}
.s-Main-mainvisual .visual {
  position: relative;
}
.s-Main-mainvisual .category {
  font-family: "游ゴシック", "sans-selif";
  font-weight: bold;
  background: #34494a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 30px;
  font-size: 14px;
}
.s-Main-share_icon-top ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.s-Main-share_icon-top ul li {
  margin-left: 10px;
}
.s-Main-share_icon-top {
  margin-bottom: 20px;
}
.s-Main-description {
  margin-bottom: 20px;
}
.s-Main-index {
  margin-top: 30px;
  margin-bottom: 50px;
}
.s-Main-index .title {
  border-top: solid 3px #34494a;
  font-size: 20px;
  font-weight: bold;
  color: #34494a;
  margin-bottom: 20px;
  padding: 5px 0 0 0;
}
/* .s-Main-index .lead {
  padding: 0 10px;
  background: transparent;
  border-left: solid 5px #34494a;
  line-height: 1.5;
  margin-bottom: 10px;
}
.s-Main-index .lead a {
  font-size: 18px;
  font-weight: bold;
} */
/* .s-Main-index ul li {
  list-style-type: disc;
  list-style-position: inside;
} */
.s-Main-index ul {
  margin-bottom: 20px;
  line-height: 1.6;
}
/* .s-Main-content .title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
} */
.s-Main-content {
  margin-bottom: 60px;
}
.s-Main-content p {
  margin-bottom: 20px;
  letter-spacing: 0.07em;
  line-height: 1.6;
}
.s-Main-content .wp-block-image {
  margin-bottom: 20px;
}

.s-Main-content .box-icon {
  position: absolute;
  top: -13px;
  left: -13px;
  background: #9cbbb9;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.s-Main-content .box-icon img {
  width: 33px;
}
.s-Main-content .blog-card .thumb {
  max-width: 230px;
  width: 100%;
  height: 150px;
  margin-bottom: 20px;
}
.s-Main-content .blog-card .thumb img {
  object-fit: cover;
  height: 100%;
}
.s-Main-content .blog-card {
  border: solid 1px #ddd;
  margin: 40px 0 20px;
  padding: 30px;
  position: relative;
}
.s-Main-content .blog-card .inner {
  display: flex;
  gap: 20px;
}
.s-Main-content .blog-card p {
  margin-bottom: 0;
}
.s-Main-content .blog-card p.title {
  font-weight: bold;
  font-size: 18px;
}
.s-Main-content .index {
  margin-bottom: 40px;
}
.s-Main-content .index p.title {
  border-top: solid 3px #34494a;
  font-size: 20px;
  font-weight: bold;
  color: #34494a;
  margin: 0;
  padding: 5px 0 0 0;
}
.s-Main-content .index .my-toc {
  line-height: 1.6;
}
.s-Main-content .index .toc-level-3 {
  padding: 0 10px;
  background: transparent;
  border-left: solid 5px #34494a;
  line-height: 1.5;
  margin-bottom: 10px;
  margin-top: 30px;
}
.s-Main-content .index .toc-level-3 a {
  font-size: 18px;
  font-weight: bold;
}
.s-Main-content .index .toc-level-4 {
  list-style-type: disc;
  list-style-position: inside;
}
.s-Main-content .wp-block-quote {
  background-color: #f5f5f5;
  margin: 0 0 20px;
  padding: 40px;
}
.s-Main-content .wp-block-quote p {
  margin: 0;
}
.s-Main-content p > .title {
  border-top: solid 3px #34494a;
  font-size: 20px;
  font-weight: bold;
  color: #34494a;
  margin-bottom: 10px;
  padding-top: 5px;
}
.s-Main-content h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}
.s-Main-content h4 {
  padding: 0 10px;
  background: transparent;
  border-left: solid 5px #34494a;
  line-height: 1.5;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 18px;
}
.s-Main-share_icon-bottom {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.s-Main-share_icon-bottom ul {
  display: flex;
  gap: 10px;
}
.s-Main-share_icon-bottom p {
  font-family: "游ゴシック", "sans-selif";
}
.s-Main-share_icon-bottom ul img {
  width: 50px;
}

.s-Main-related-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.s-Main-related-item {
  flex: 1 1 calc(50% - 10px);
  min-width: calc(50% - 10px);
  max-width: calc(50% - 10px);
}
.s-Main-related h3.title {
  border-top: solid 3px #34494a;
  font-size: 20px;
  font-weight: bold;
  color: #34494a;
  margin-bottom: 20px;
  padding: 5px 0 0 0;
}
.s-Main-related-item h2 {
  font-size: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.s-Main-related-item .thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  margin-bottom: 10px;
}
.s-Main-related-item .date {
  font-family: "游ゴシック", "sans-selif";
  font-size: 14px;
}
.s-Main-related-item .visual {
  position: relative;
}
.s-Main-related-item .category {
  font-family: "游ゴシック", "sans-selif";
  font-weight: bold;
  background: #34494a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  padding: 7px 15px;
  font-size: 12px;
}

/* カテゴリ一覧 */
.cl-category-title {
  font-size: 24px;
  text-align: center;
  font-weight: bold;
}

/* ページネーション */
.page-numbers {
  font-size: 14px;
  padding: 10px 13px;
  border: solid 1px #b0b0b0;
}
.page-numbers.current {
  background-color: #e0e0e0;
  border: solid 1px #e0e0e0;
  color: #fff;
}

/* 404 */
.cl-Main .cl-404 h1 {
  text-align: center;
}
.cl-Main .cl-404 {
  text-align: center;
  font-size: 20px;
  margin-top: 80px;
}

/* footer */
.cl-Footer {
  margin-top: auto;
}
.cl-Footer-info {
  background-color: #fff;
  background-image: url("/asset/img/bg_common_01.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0;
  padding: 60px 0;
}
.cl-Footer-info-inner {
  line-height: 1.6;
}
.footer-logo {
  width: 220px;
  display: inline-block;
  margin-bottom: 30px;
}
.cl-Footer-info {
  text-align: center;
}
.footer-address {
  font-size: 14px;
  margin-bottom: 30px;
}
.footer-link a {
  font-size: 13px;
  display: block;
}
.cl-Footer-copy {
  color: #fff;
  text-align: center;
  background-color: #577574;
  background-image: url("/asset/img/bg_common_01.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  font-size: 12px;
  padding: 20px 10px;
}
.cl-Footer-copy a {
  font-size: 12px;
  color: #fff !important;
}
.cl-Footer-copy .sns-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cl-Footer-copy .sns-icon a {
  display: flex;
  align-items: center;
}
.cl-Footer-copy-inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
}
.cl-Footer-copy-inner .left {
  margin-right: auto;
}
.cl-Footer-copy-inner .center {
  margin: 0 auto;
}
.cl-Footer-copy-inner .right {
  margin-left: auto;
}
.cl-Footer-copy .sns-icon img {
  width: 20px;
}

.cl-Wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*768px以下*/
@media screen and (max-width: 768px) {
  /*必要ならばここにコードを書く*/
  html {
  scroll-padding-top: 70px;
}
  .cl-Main {
    padding-top: 70px;
  }
  .cl-Header.fixed {
    height: 62px;
  }
  .cl-Header.fixed .site-logo {
    max-width: 80px;
    width: 100%;
  }
  .site-logo {
    transition: none;
  }
  .cl-Header.fixed .column-logo {
    margin-left: auto;
    margin-right: auto;
  }
  .column-logo {
    transition: none;
  }
  .column-logo img {
    padding-right: 15px;
  }
  .cl-Header-right {
    display: none;
  }
  .cl-Header-left {
    width: 100%;
    justify-content: space-between;
  }
  .cl-Header-inner {
    transition: none;
  }
  .cl-Header.fixed .cl-Header-inner {
    padding-right: 10px;
    padding-left: 10px;
  }

  /* ハンバーガー表示 */
  .cl-Header-hamburger {
    display: block;
    width: 40px;
    border: none;
    background: #34494a;
    padding: 10px;
    opacity: 1 !important;
  }
  .cl-Header-hamburger span {
    display: block;
    height: 2px;
    width: 20px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.4s;
  }
  /* バツ印に変化するスタイル */
  .cl-Header-hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .cl-Header-hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .cl-Header-hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* メニュー非表示 */
  .cl-Header-Menu-Nav {
    position: fixed;
    top: 62px;
    right: 0;
    width: 100%; /* メニュー幅はお好みで */
    max-width: 100%; /* 最大幅 */
    height: 100vh;
    background: #fff;
    transform: translateX(100%); /* ← 画面外へ */
    transition: transform 0.3s ease; /* アニメーション */
    z-index: 9999;
  }
  .cl-Header-Menu-Nav.is-open {
    border-top: solid 1px #f5f5f5;
    transform: translateX(0);
  }
  .cl-Header-Menu-list_sp {
    padding: 10px 20px 0;
    font-size: 22px;
    font-weight: bold;
    display: block;
  }
  .cl-Header-Menu-list_sp a {
    font-weight: bold;
    font-size: 22px;
  }
  .cl-Header-Menu-list {
    padding-top: 0;
  }

  /* メニュー内の検索窓のデザイン */
  .cl-Header-Menu-search {
    padding: 15px 20px;
  }
  .cl-Header-Menu-search .search-form {
    display: flex;
    padding: 6px 10px;
    border-radius: 4px;
  }
  .cl-Header-Menu-search input {
    border: none;
    outline: none;
    flex: 1;
  }
  .cl-Header-Menu-list {
    flex-direction: column;
    align-items: baseline;
    gap: 5px;
  }
  .cl-Header-Menu-list a {
    font-size: 18px;
  }
  .cl-Main .cl-Content{
    margin-bottom: 60px;
  }
  .cl-Main .cl-Inner {
    flex-direction: column;
  }
  .cl-Column-list-item {
    min-width: 100%;
    width: 100%;
  }
  .cl-Column-list {
    margin-bottom: 30px;
  }
  .cl-Main .cl-Sidebar {
    max-width: 100%;
  }
  .cl-Footer-copy-inner {
    flex-direction: column;
  }
  .sns-icon.left {
    margin: 0 0 15px;
  }
  .cl-Footer-copy {
    padding-bottom: 100px;
  }
  .cl-scroll_fair_btn {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
  }
  .cl-scroll_fair_btn a {
    padding: 15px;
  }
  .cl-scroll_fair_btn span {
    justify-content: center;
    padding: 10px 15px;
  }
  .scroll_btn a {
    bottom: 95px !important;
  }
  .cl-breadcrumb-list li:last-child {
    white-space: normal;
    flex-basis: 100%; /* 改行して次の行に行く */
  }
  .s-Main-related-item {
    min-width: 100%;
    width: 100%;
  }
  .s-Main-content .blog-card{
    padding: 20px;
  }
  .s-Main-content .blog-card .inner {
    flex-direction: column;
  }
  .s-Main-content .blog-card .thumb {
    max-width: 100% !important;
  }
  .s-Main-content .blog-card p.title {
    margin-bottom: 20px;
  }
}

/* slick */
.dots-class button {
  display: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  padding: 0;
  border: none;
  background-color: transparent;
}

.dots-class {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.dots-class li {
  width: 5px;
  height: 5px;
  background-color: #789291;
  border: 1px solid #789291;
  border-radius: 50%;
  margin-right: 10px;
  cursor: pointer;
  transition: background-color 0.5s ease;
}
.dots-class li.slick-active {
  background-color: #34494a;
}
.dots-class li:hover {
  background-color: #34494a;
}
.dots-class li:last-child {
  margin-right: 0;
}

/* 追記分*/

.no-posts {
  text-align: center;
  font-size: 20px;
  margin: 0 auto;
}
