@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, input, button, select, textarea,
h1, h2, h3, h4, h5, h6,
.gnavi__item a, .p-globalNavi a,
.c-btn, .wp-block-button__link {
    font-family: 'Shippori Mincho', serif !important;
}

/*見出し2背景カラーベージュ*/
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    background: #e8e3d6;
}

/*パンくず背景*/
.p-breadcrumb.-bg-on {
    background: #e8e3d6;
}

/* グローバルメニュー サブメニュー背景カラー */
.c-gnav .sub-menu {
    color: #2b2121;
    background: rgba(243, 241, 234, 0.5); 
    backdrop-filter: blur(4px); 
}
.c-gnav .sub-menu a:hover {
    background-color: rgba(255, 255, 255, 0.3); 
}

/*フッター右 ウィジェットエリアボタンカラー*/
#custom_html-5 .is-style-btn_line a:hover {
    background-color: #e8e3d6;
    border-color: transparent;
    color: #072e28 !important;
}

/*縦書き*/

.is-vertical-text {
writing-mode: vertical-rl;
-webkit-writing-mode: vertical-rl;
-ms-writing-mode: vertical-rl;
text-orientation: upright;
letter-spacing: 0.1em;  
}

/* h2縦書きに余白をしっかり持たせる */
.is-vertical-text h2 {
  margin-left: 8rem; 
  margin-bottom: 0;
}

/* 段落と段落の間隔も同様に広げたい場合 */
.is-vertical-text p {
  margin-right: 1.5rem; /* 段落同士の間隔 */
}

/* 伸びるホバーリンク */
/* リンク全体のベース設定 */
.stylish-line-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em; 
  text-decoration: none;
  color: #072e28; 
  transition: opacity 0.3s ease;
}

/* 左側のラインのスタイル */
.stylish-line-link::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px; 
  background-color: #072e28; 
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* ホバー時の動き */
.stylish-line-link:hover::before {
  width: 40px; 
}

.stylish-line-link:hover {
  opacity: 0.75; 
}

/* メインビジュアルのテキスト層を左下寄せにする */
.p-mainVisual .p-mainVisual__textLayer {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding-bottom: 56px !important;
  padding-left: 10% !important; /* 左側の余白（数値で微調整できます） */
  box-sizing: border-box;
}

/* ブログパーツ内のフルワイド余白をリセット */
.p-mainVisual .p-blogParts .swell-block-fullWide {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* グループブロックと中身を左揃えにする */
.p-mainVisual .mv-bottom-left,
.p-mainVisual .mv-bottom-left .wp-block-group__inner-container,
.p-mainVisual .mv-bottom-left > *,
.p-mainVisual .mv-bottom-left .wp-block-group__inner-container > * {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

@media (max-width: 768px) {
  .p-mainVisual .p-mainVisual__textLayer {
    padding-bottom: 44px !important;
    padding-left: 5% !important; /* スマホ側の左余白 */
  }
}