@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================
  共通
========================================== */
/* body {
  font-family: 'ReadableNumberSerif', 'Cormorant Garamond', 'Freight', 'Noto Sans JP', 'YuMincho', 'Yu Mincho', serif;
} */

html {
  scroll-behavior: smooth;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* ベースフォント設定（CSS変数） */
:root {
  --serif: 'Bodoni 72', 'Didot', 'Times New Roman', serif;
  --jp-serif: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans CJK JP', sans-serif;
}
/* 本文（段落・リスト等）への適用 */
body, p, li, td, th, input, textarea {
  font-family: var(--sans) !important;
  color: var(--dark);
}
/* 見出し・英字装飾のフォント調整 */
h1, h2, h3, h4, h5, h6,
.c-secTitle,
.is-style-section_ttl,
.p-breadcrumb__item,
.p-mainVisual__slideBtn,
.font-serif {
  font-family: 'Bodoni 72', 'Didot', 'Times New Roman', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif !important;
  font-weight: 400 !important;
  text-transform: none !important;
}
/* 英字装飾・ラベル用共通クラス（見出しフォント適用） */
.font-serif,
.is-style-serif {
  font-family: 'Bodoni 72', 'Didot', 'Times New Roman', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif !important;
}
/* 数字フォント設定 */
.num {
  font-family: "Noto Serif JP", serif !important;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
  font-feature-settings: inherit;
  font-variant-numeric: inherit;
}
/* グローバルナビゲーションのフォント設定 */
.c-gnav a,
.c-gnav__link,
.l-header__gnav a {
  font-family: 'Bodoni 72', 'Didot', 'Times New Roman', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em;
  padding: 0 14px !important;
}
.c-gnav>.menu-item>a .ttl {
  font-size: 1rem;
}
/* フッターナビゲーションのフォント設定 */
.l-footer__nav a,
.l-footer__foot .copyright {
  font-family: 'Bodoni 72', 'Didot', 'Times New Roman', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em;
}
/* ヘッダー */
[data-scrolled=true] .l-fixHeader[data-ready],
.l-fixHeader__inner {
  height: 4rem;
}
.c-pageTitle {
  font-size: 2em;
}
/* 子メニューのテキスト位置調整 */
.c-gnav .sub-menu a {
  padding-left: 2.2em !important;
  position: relative;
}
/* 矢印アイコンの位置固定 */
.c-gnav .sub-menu a::before {
  position: absolute !important;
  left: 0.8em !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* SELECTED MEDIAページを2ページ目以降で非表示 */
.paged .is-paged-hide {
  display: none !important;
}

/* contactページのみフッターCTA非表示 */
.page-id-50 #before_footer_widget {
  display: none !important;
}

/* 投稿ページのパンくずリストの最後（現在の記事タイトル）を表示する */
.single .p-breadcrumb__item:last-child > span.p-breadcrumb__text {
  display: inline-flex !important;
}


/* worksリストの日付のみ削除 */
[class*="works"] .p-postList__meta {
  display: none !important;
}
/* works詳細の日付のみ削除 */
[class*="works"] .p-articleMetas__times {
  display: none !important;
}

/* NEWSとWORKSの記事詳細ページで著者情報を非表示にする */
.single-post .l-articleBottom__section,
.single-works_item .l-articleBottom__section {
  display: none !important;
}

/* NEWSとWORKSの記事詳細ページで記事下ブログパーツ（MailPoetフォーム）を非表示 */
/* デフォルト投稿（NEWS）および WORKS 詳細ページで MailPoet フォームを非表示 */
.single-post .mailpoet_form,
.single-works_item .mailpoet_form {
  display: none !important;
}

/* ウィジェットの下余白削除 */
.c-widget .textwidget>:not(:last-child) {
  margin-bottom: 0!important;
}


/* ==========================================
  PC
========================================== */
/* ヘッダーのMakokataokaテキストリンク非表示 */
.sp-header-center-text {
  display: none !important;
}

/* スマホ専用エリアのリンクタップ判定を前面に引き上げる */
.sp_only .wp-block-group {
  position: relative;
  z-index: 2;
}
.sp_only a {
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
}

/* TOP_FV */
.fv_intro {
  font-size: 0.9rem;
  margin: 3rem 0 10px;
}
.fv_maintxt {
  font-size: 4rem;
  margin-bottom: 2.5rem;
}
.fv_subtxt_jp {
  font-size: 1.5rem;
  line-height: 2;
  padding-bottom: 1.2em;
}
.fv_subtxt_en {
  font-size: 1.5em!important;
  margin-bottom: 1em;
  /* font-style: italic; */
}

/* TOPサービスh2ホバー */
.top_service-ttl a {
  position: relative !important;
  display: inline-block !important;
  text-decoration: none !important;
  transition: opacity 0.3s ease !important;
}
.top_service-ttl a::after {
  content: '' !important;
  position: absolute !important;
  bottom: -3px !important;
  left: 0 !important;
  width: 100% !important;
  height: 1px !important;
  background-color: #44524a !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.top_service-ttl a:hover::after {
  transform: scaleX(1) !important;
}
.top_service-ttl a:hover {
  opacity: 0.8 !important;
}

/* TOP_insta */
#sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_follow_btn a {
  vertical-align: bottom;
}
/* TOP_contactボタン */
.contact_btn a {
  border-radius: 0;
  color: #fff!important;
}
.is-style-clmn-border>.swell-block-columns__inner>.swell-block-column {
  border: 1px solid #937553;
  background-color: #F2EFE7;
}

/* PROFILE アコーディオン */
.wp-block-accordion-heading__toggle-icon {
  align-items: center;
  display: inline-block;
  height: 1.2em;
  width: 1.2em;
  padding-left: 10px;
  font-size: 1.4rem;
}

/* 投稿リストtitle背景縦幅調整 */
.p-postList.-type-card .p-postList__item {
  display: flex !important;
  flex-direction: column !important;
}
.p-postList.-type-card .p-postList__link {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
}
.p-postList.-type-card .p-postList__body {
  background-color: #e2ded4;
  padding: 10px;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}
.p-postList.-type-card .p-postList__meta {
  margin-top: auto !important;
  padding-top: 10px !important;
}
.p-postList.-type-card .p-postList__title {
  font-size: 0.9rem;
  margin: 0 !important;
  line-height: 1.4;
}

/* wellbeing_media */
.media_jp {
  font-size: 1rem;
}
.media_more {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background-image: url('http://2021101417510610257604.onamaeweb.jp/makokataoka/wp-content/uploads/2026/08/AdobeStock_1673739434-scaled.jpeg') !important;
  background-size: cover !important;
  position: relative !important;
}
.swell-block-column.media_more a {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  color: inherit !important;
  text-decoration: none !important;
}
.media_bg {
  background-color: #F2EFE7;
  padding: 1em;
}
.swell-block-column:has(.media_bg) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}
.swell-block-column:has(.media_bg) .wp-block-image {
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
}
.swell-block-column .media_bg {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  margin-top: 0 !important;
}
.media_bg .wp-block-group__inner-container {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
/* ブロック中のテキスト：改行と余白調整 */
.media_bg .wp-block-heading {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  font-size: 1.3rem !important;
  line-height: 1.3 !important;
}
.media_bg p.wp-block-paragraph {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.5 !important;
  word-break: break-all !important;
}

/* Aboutアンカーリンク ストップ位置 */
#profile,
#project {
  scroll-margin-top: 140px !important;
}

/* works下margin */
.works-columns-mb {
  margin-bottom: 60px !important;
}

/* JOURNAL下の著者情報表示調整 */
.p-authorBox {
  background-color: #f7f7f7;
}
.p-authorBox__l img {
  border-radius: 5px !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}
.p-authorBox__l {
  flex-basis: 150px !important;
}

/* footer周り */
.l-footer__foot, .l-footer__widgetArea {
  padding-bottom: 0!important;
  padding-top: 0!important;
}
.l-footer .copyright {
  margin-bottom: 10px !important;
}

/* JOURNAL(コラム) */
.-type-list h3.p-postList__title {
  font-size: 18px;
  font-weight: 600 !important;
}

/* footer直前の余白削除 */
.w-beforeFooter {
  margin: 0 auto 3em;
  overflow: hidden;
}
#content.l-content.l-container{
  margin-bottom: 0;
}

/* ==========================================
  スマホ
========================================== */
@media screen and (max-width: 767px) {
  /* TOP_FV */
  .fv_intro {
    font-size: 0.8rem!important;
    margin: 4rem 0 5px;
  }
  .fv_maintxt {
    font-size: 2.5rem!important;
  }
  .fv_subtxt {
    font-size: 1rem;
  }
  .fv_subtxt_jp {
    font-size: 1.1rem!important;
    line-height: 2;
    padding-bottom: 1.2em;
  }
  .fv_subtxt_en {
    font-size: 1.3em!important;
    /* font-style: italic; */
  }

  /* TOP_セクション用見出し */
  .home h2.is-style-section_ttl {
    font-size: 2.1rem!important;
  }
  .home h3.is-style-section_ttl {
    font-size: 1.6rem!important;
  }
  .home p {
    font-size: 1rem;
  }

  /* ハンバーガーメニューフォント設定 */
  .p-spMenu__body .c-widget__title,
  .p-spMenu__nav a {
    font-family: 'Bodoni 72', 'Didot', 'Times New Roman', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.1em;
  }

  /* サブメニュー（WELL BEING, YOGAなど）の見た目微調整 */
  .p-spMenu__nav .sub-menu a {
    font-size: 0.9em; /* 親メニューより少しだけ小ぶりに見せたい場合 */
  }

  /* 投稿リストtitle背景 */
  .p-postList__body {
    min-height: 5rem;
    padding: 10px 5px;
  }
  .p-postList .p-postList__title {
    font-size: 1rem!important;
  }

  .swell-block-columns.com_area {
    --swl-clmn-mrgn--x: 0.6rem!important;
    --swl-clmn-mrgn--y: 0.8rem!important;
    --swl-clmn-pddng: 0!important;
  }

  /* footer直前CTA */
  .home h2.f_contact {
    font-size: 1.6rem!important;
  }
  h2.f_contact {
    font-size: 1.6rem!important;
  }

  /* フッターメニューの各項目（aタグ）の高さと並びを整える */
  .p-fixNav__item a,
  .p-fixBtnList__item a {
    height: auto !important;          /* 高さを自動にして上下の詰まりを解消 */
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  /* <li>側に付いているメールアイコン（::before）の調整 */
  .p-fixNav__item.icon-mail::before,
  .p-fixBtnList__item.icon-mail::before {
    font-size: 20px !important;
    line-height: 1 !important;
    margin-bottom: 2px !important;
    display: block !important;
    height: auto !important;
  }
  /* 元々の不要な空の <i> タグがあれば非表示 */
  .p-fixNav__item a i,
  .p-fixBtnList__item a i {
    display: none !important;
  }
  /* 文字部分（Menu / Contactなど）の行高さ・サイズを収める */
  .p-fixNav__item a span,
  .p-fixBtnList__item a span,
  .p-fixBtnList__label,
  .p-fixNav__label {
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  /* Aboutページ */
  .btn_about a {
    padding: 10px 5px;
    font-size: 0.8em;
  }

  /* JOURNAL(コラム) */
  .journal .p-postList__body {
    padding: 0 5px;
  }
  .p-authorBox__desc {
    width: 100%;
    text-align: left;
  }
}


/* SWELL標準のスマホ判定幅(タブレット含) */
@media screen and (max-width: 960px) {
  .l-header__inner {
    position: relative !important;
  }
  /* スクロール前は非表示 */
  .sp-header-center-text {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 999 !important;
    color: #F2EFE7 !important;
    font-size: 1.3rem !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
  }
  /* 100px以上スクロールした時：表示 */
  .sp-header-center-text.is-active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* TOP_FV */
  .fv_intro {
    font-size: 0.8rem!important;
    margin: 4rem 0 5px;
  }
  .fv_maintxt {
    font-size: 2.5rem!important;
  }
  .fv_subtxt {
    font-size: 1rem;
  }
  .fv_subtxt_jp {
    font-size: 1.1rem!important;
    line-height: 2;
    padding-bottom: 1.2em;
  }
  .fv_subtxt_en {
    font-size: 1.3em!important;
    /* font-style: italic; */
  }


  /* Aboutアンカーリンクストップ位置 */
  #profile,
  #project {
    scroll-margin-top: 80px !important;
  }

  .pd-l-20 {
    padding-left: 20px!important;
  }

  .home h2.is-style-section_ttl.focus-zen {
    font-size: 0.7rem!important;
  }
  /* フッターナビ非表示 */
  /* .l-footer__nav {
    display: none;
  } */
}