@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: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  color: #42342B;
}
body .l-article .post_content,
body .l-article .post_content p,
body .l-article .post_content li {
  font-size: 14px;
  font-weight: 400;
}
@media screen and (min-width: 959px){
  body .l-article .post_content,
  body .l-article .post_content p,
  body .l-article .post_content li {
    font-size: 16px;
  }
}
.l-article {
  max-width: 100% !important;
}
/* ===== Margin Top（SPはPCの50%）===== */
.mt-8 { margin-top: 4px !important;
}
.mt-16 { margin-top: 8px !important;
}
.mt-24 { margin-top: 12px !important;
}
.mt-32 { margin-top: 16px !important;
}
.mt-40 { margin-top: 20px !important;
}
.mt-48 { margin-top: 24px !important;
}
.mt-64 { margin-top: 32px !important;
}
.mt-80 { margin-top: 40px !important;
}
.mt-100 { margin-top: 50px !important;
}
.mt-120 { margin-top: 60px !important;
}

/* ===== Margin Bottom（SPはPCの50%）===== */
.mb-8 { margin-bottom: 4px !important;
}
.mb-16 { margin-bottom: 8px !important;
}
.mb-24 { margin-bottom: 12px !important;
}
.mb-32 { margin-bottom: 16px !important;
}
.mb-40 { margin-bottom: 20px !important;
}
.mb-48 { margin-bottom: 24px !important;
}
.mb-64 { margin-bottom: 32px !important;
}
.mb-80 { margin-bottom: 40px !important;
}
.mb-100 { margin-bottom: 50px !important;
}
.mb-120 { margin-bottom: 60px !important;
}


/* ===== PC（960px〜）で本来の値に上書き ===== */
@media (min-width: 960px) {

  .mt-8 { margin-top: 8px !important;
  }
  .mt-16 { margin-top: 16px !important;
  }
  .mt-24 { margin-top: 24px !important;
  }
  .mt-32 { margin-top: 32px !important;
  }
  .mt-40 { margin-top: 40px !important;
  }
  .mt-48 { margin-top: 48px !important;
  }
  .mt-64 { margin-top: 64px !important;
  }
  .mt-80 { margin-top: 80px !important;
  }
  .mt-100 { margin-top: 100px !important;
  }
  .mt-120 { margin-top: 120px !important;
  }

  .mb-8 { margin-bottom: 8px !important;
  }
  .mb-16 { margin-bottom: 16px !important;
  }
  .mb-24 { margin-bottom: 24px !important;
  }
  .mb-32 { margin-bottom: 32px !important;
  }
  .mb-40 { margin-bottom: 40px !important;
  }
  .mb-48 { margin-bottom: 48px !important;
  }
  .mb-64 { margin-bottom: 64px !important;
  }
  .mb-80 { margin-bottom: 80px !important;
  }
  .mb-100 { margin-bottom: 100px !important;
  }
  .mb-120 { margin-bottom: 120px !important;
  }
}
.pr-40{
  padding-right: 20px !important;
}
@media screen and (min-width: 959px){
  .pr-40 {
    padding-right: 40px !important;
  }
}
.l-content{
  margin: 0 auto !important;
}
.l-container {
  margin-left: auto;
  margin-right: auto;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.font--en{
  font-family: "Bad Script", cursive;
}
.txt--org{
  color: #9FC5A3;
  font-weight: 500 !important;
}
.txt--white{
  color: #fff;
}
.post_content > :first-child {
  margin-top: 30px !important;
  margin-top: revert !important;
}
.label--org{
  background-color: #9FC5A3;
  color: #fff;
  text-align: center;
  padding: 10px;
  width: 120px;
  border-radius: 30px;
  line-height: 1 !important;
  font-size: 14px;
  margin: 0 0 15px 0 !important;
}
@media screen and (min-width: 959px){
  .label--org {
    font-size: 18px;
    padding: 15px;
    width: 160px;
    margin: 0 0 25px 0 !important;
  }
}
.sp{
  display: block !important;
}
@media screen and (min-width: 959px){
  .sp {
   display: none !important;
  }
}
.label--gry{
  background-color: #A0A0A0;
  color: #fff;
  text-align: center;
  padding: 10px;
  width: 120px;
  border-radius: 30px;
  letter-spacing: 0.18em;
  line-height: 1 !important;
  font-size: 14px;
}
@media screen and (min-width: 959px){
  .label--gry {
    font-size: 18x;
    padding: 15px;
    width: 160px;
  }
}
.wp-block-column .label--org,
.wp-block-column .label--gry {
  margin-bottom: 15px !important;
}
#content {
  padding-top: 0 !important;
}
.post_content>* {
  clear: both;
  margin-bottom: 20px !important;
}
.swell-block-fullWide.c-sec_cta__btn + .swell-block-fullWide {
  margin-top: 0 !important;
}
/* スクロール設定 */
[id^="study-01"]::before {
  content: "";
  display: block;
  height: 100px; /* ← ヘッダーの高さ分調整 */
  margin-top: -100px; /* 同じ値をマイナスにしてズラす */
  visibility: hidden;
}
[id^="study-02"]::before {
  content: "";
  display: block;
  height: 100px; /* ← ヘッダーの高さ分調整 */
  margin-top: -100px; /* 同じ値をマイナスにしてズラす */
  visibility: hidden;
}
[id^="study-03"]::before {
  content: "";
  display: block;
  height: 100px; /* ← ヘッダーの高さ分調整 */
  margin-top: -100px; /* 同じ値をマイナスにしてズラす */
  visibility: hidden;
}

/* margin設定 */



/* inner設定 */
.alignfull > .wp-block-cover__inner-container > *,
.alignfull > .wp-block-group__inner-container > *,
.swell-block-fullWide__inner > * {
  margin-bottom: 0 !important;
}
.c-tabBody__item>*,
.cap_box_content>*,
.faq_a>*,
.swell-block-accordion__body>*,
.swell-block-dl__dd>*,
.swell-block-step__body>*,
.swl-has-mb--s>*,
.wp-block-column>*,
.wp-block-cover__inner-container>*,
.wp-block-group__inner-container>*,
.wp-block-media-text__content>*,
div[class*=is-style-]>* {
  margin-bottom: 0 !important;
}
.c-sec-inner{
  max-width: 1440px !important;
  padding: 80px 20px !important;
  margin: 0 auto;
}
@media screen and (min-width: 959px){
  .c-sec-inner {
    padding: 120px 40px !important;
  }
}
.c-sec-inner__page{
  max-width: 1440px !important;
  padding: 60px 0  60px!important;
  margin: 0 auto;
}
@media screen and (min-width: 959px){
  .c-sec-inner__page{
    padding: 100px 40px 140px!important;
  }
}


/* ボタン */
.wp-block-columns {
  justify-content: center;
}
.wp-block-column .c-sec__btn--wrap{
  flex-grow: 0 !important;
}
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
  flex-basis: auto !important;
  flex-grow: 0 !important;
  width: 100%;
}
.c-sec-btn_01 a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; 
  padding: 14px 56px 14px 28px; 
  background-color: #A9C3A9;
  color: #fff;
  font-size: 16px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 220px;
  height: 50px;
  margin-top: 40px;
  margin-left: auto;
  &::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #fff;
    background-image: url("https://www.daisy.ms-design.site/wp-content/uploads/2025/11/ico_arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
  }
  &:hover {
    background-color: #9BB99A;
    transform: translateY(-2px);

    &::after {
      transform: translateX(3px); 
    }
  }
}
.c-sec__btn02 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #d96a1f;
  border: 2px solid #d96a1f;
  border-radius: 50px;
  background-color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0 #d96a1f; 
  margin: 0 auto 10px;
  cursor: pointer;
  max-width: 300px;
}
@media screen and (min-width: 959px){
  .c-sec__btn02 {
    max-width: 340px;
  }
}
.c-sec__btn02 a {
  width: 100%;
  font-size: 14px;
  color: #9FC5A3;
  text-decoration: none;
  
  padding: 16px 40px;
}
@media screen and (min-width: 959px){
  .c-sec__btn02 a{
    font-size: 16px;
  }
}
.c-sec__btn02 ::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px; 
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #d96a1f;
  background-image: url("https://www.mentalhr.ms-design.site/wp-content/uploads/2025/10/ico_btn_arrow02.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  transition: transform 0.2s ease;
}
.c-sec__btn02:hover {
  transform: translate(3px, 3px); 
  box-shadow: 0 0 0 #b24f12;
}
.c-sec__btn02:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #b24f12;
}
.c-sec__btn02:hover::after {
  transform: translateY(-50%) translateX(6px);
}
.c-sec__btn03 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #fff;
  border-radius: 50px;
  background: linear-gradient(135deg, #e57028 0%, #f39b4a 100%);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0 #EFA377; 
  max-width: 300px;
  margin: 0 auto 10px;
  cursor: pointer;
}
@media screen and (min-width: 959px) {
  .c-sec__btn03 {
    max-width: 340px;
    font-size: 16px;
  }
}
.c-sec__btn03 a {
  position: relative; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  padding: 16px 40px;
  color: #fff;
  
  width: 100%;
  text-decoration: none;
}
@media screen and (min-width: 959px) {
  .c-sec__btn03 a {
    font-size: 16px;
  }
}
.c-sec__btn03 a::after {
  content: "";
  position: absolute;
  right: 27%;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
  transition: transform 0.2s ease;
}
.c-sec__btn03:hover {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 #EFA377;
}
.c-sec__btn03:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #EFA377;
}
.c-sec__btn03:hover a::after {
  transform: translate(3px, -50%);
}

.c-sec__btn04 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #d96a1f;
  border: 2px solid #d96a1f;
  border-radius: 50px;
  background-color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0 #d96a1f;
  max-width: 300px;
  cursor: pointer;
}
@media screen and (min-width: 959px){
  .c-sec__btn04 {
    max-width: 380px;
    font-size: 16px;
    margin-left: auto;
  }
}
.c-sec__btn04 a {
  width: 100%;
  padding: 16px 40px;
  font-size: 14px;
  color: #9FC5A3;
  text-decoration: none;
  
}
@media screen and (min-width: 959px){
  .c-sec__btn04 a{
    font-size: 16px;
  }
}
.c-sec__btn04::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px; 
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #d96a1f;
  background-image: url("https://www.mentalhr.ms-design.site/wp-content/uploads/2025/10/ico_btn_arrow02.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  transition: transform 0.2s ease;
}
.c-sec__btn04:hover {
  transform: translate(3px, 3px); 
  box-shadow: 0 0 0 #b24f12;
}
.c-sec__btn04:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #b24f12;
}
.c-sec__btn04:hover::after {
  transform: translateY(-50%) translateX(6px);
}

.c-sec__btn05 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 1.1rem;
  color: #d96a1f;
  border: 1px solid #d96a1f;
  border-radius: 12px;
  background-color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
  width: 100%;
  margin: 0 auto;
  cursor: pointer;
}
@media screen and (min-width: 959px){
  .c-sec__btn05 {
    max-width: 380px;
    font-size: 16px;
    margin-left: auto;
    width: fit-content;
  }
}
.c-sec__btn05 a{
  color: #9FC5A3;
  
}
.c-sec__btn05::after {
  content: "";
  position: relative;
  top: 1px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #d96a1f;
  transition: transform 0.2s ease;
}
.c-sec__btn05:hover {
  transform: translateY(3px);
  box-shadow: 0 0 0 #f7e6db;
  background-color: #fff8f3;
}
.c-sec__btn05:active {
  transform: translateY(5px);
  box-shadow: none;
}

.c-sec__btn06 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 50px;
  background-color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  max-width: 300px;
  color: #9FC5A3 !important;
  height: 80px;
  border: 1px solid #d96a1f;
}
.c-sec__btn06 ::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px; 
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #d96a1f;
  background-image: url("https://www.mentalhr.ms-design.site/wp-content/uploads/2025/10/ico_btn_arrow02.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  transition: transform 0.2s ease;
}
.c-sec__btn06 :hover::after {
  transform: translateY(-50%) translateX(6px);
}
/* スライダー消去 */
#post_slider .swiper {
  padding: 0 !important;
  margin: 0 !important;
}
.p-postSlider{
  padding: 0 !important;
  margin: 0 !important;
}

 /* =========================
   header
   ========================= */
 .l-header{
  vertical-align: middle;
  display: flex;
  padding: 15px;
}
@media screen and (min-width: 959px){
  .l-header {
    padding: 15px 40px;
    box-shadow: none !important;
  }
}
.l-header .l-header__inner{
  padding: 0;
}
.l-fixHeader{
  padding: 15px 40px;
  background-color: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
.l-fixHeader__inner{
  padding: 0;
}
.wp-block-columns.header-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px !important; 
}
.wp-block-columns.header-btn > .wp-block-column {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 1 auto;
}
.wp-block-columns.header-btn a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
/* =========================
   SPヘッダー用
   最初：透明
   スクロール後：白0.7
   ========================= */
@media (max-width: 959px){
  body:not(.is-spHeader-bg) .l-header {
    background: transparent !important;
    box-shadow: none !important;
    position: fixed !important;
  }
  body.is-spHeader-bg .l-header {
    background: rgba(255, 255, 255, 0.7) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

/* ================================
   header-btn01
   ================================ */

.header-btn01 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 48px;
  border: 2px solid #7B5A43;
  border-radius: 9999px;
  background-color: #fff;
  color: #7B5A43 !important;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  text-align: center;
  width: 220px;
  height: 50px;
}

/* 擬似要素で右にアイコン配置 */
.header-btn01::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5%; /* 右端との距離調整 */
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url("https://www.daisy.ms-design.site/wp-content/uploads/2025/11/ico_open_in_new.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: filter 0.3s ease;
}
.header-btn01:hover {
  transform: translateY(-2px);
}
@media (min-width: 768px) {
  .header-btn01 {
    padding: 10px 56px;
    font-size: 1rem;
  }
  .header-btn01::after {
    right: 28px;
    width: 12px;
    height: 12px;
  }
}
@media (min-width: 1024px) {
  .header-btn01 {
    padding: 12px 64px;
  }
  .header-btn01::after {
    right: 5%;
  }
}

/* ================================
   header-btn02
   ================================ */
.header-btn02 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #7B5A43;
  color: #fff;
  text-decoration: none;
  border-radius: 9999px;
  padding: 8px 18px;
  line-height: 1.3;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  width: 220px;
  height: 50px;
}
.header-btn02:hover {
  transform: translateY(-2px);
}
.header-btn02__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-btn02__icon img {
  width: 18px;
  height: auto;
}
.header-btn02__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: #fff;
}
.header-btn02__main {
  font-size: 1.2rem;
  font-weight: 600;
}
.header-btn02__sub {
  font-size: 0.8rem;
  opacity: 0.9;
}
@media (min-width: 768px) {
  .header-btn02 {
    gap: 8px;
    padding: 10px 24px;
  }
  .header-btn02__icon img {
    width: 20px;
  }
  .header-btn02__main {
    font-size: 1rem;
  }
  .header-btn02__sub {
    font-size: 0.85rem;
  }
}
@media (min-width: 1024px) {
  .header-btn02 {
    padding: 12px 28px;
  }
  .header-btn02__main {
    font-size: 1.05rem;
  }
}
.c-gnav > li:nth-child(3) > a {
  cursor: pointer;
  text-decoration: none;
}
.c-gnav>.menu-item>a .ttl {
  display: block;
  font-size: 1vw;
  color: #42342B;
}
.c-gnav > .menu-item:nth-child(6) > a .ttl {
  background-color: #fff;
  border: 1px solid #7E5E49;
  border-radius: 999px;
  width: 200px;
  height: 50px;
  padding: 5px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.c-gnav > .menu-item:nth-child(6) > a .ttl::after {
  content: "";
  display: inline-block;
  width: 8px; 
  height: 8px;  
  margin-left: 4px;
  background: url("https://www.mentalhr.ms-design.site/wp-content/uploads/2025/09/ico_open_in_new.svg") no-repeat center;
  background-size: contain;
  vertical-align: middle;
}
.c-gnav > .menu-item:nth-child(7) > a .ttl {
  color: #fff;
  background-color: #7E5E49;
  border-radius: 999px;
  width: 200px;
  height: 50px;
  padding: 5px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
}
.l-header .c-gnav > .menu-item:nth-child(6) > a::after,
.l-header .c-gnav > .menu-item:nth-child(7) > a::after {
  content: none !important;
}
.l-header .c-gnav > .menu-item > a {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}
.l-header .c-gnav > .menu-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #9FC5A3;
  transition: all 0.4s ease;
  transform: translateX(-50%);
  opacity: 0;
  top: 80% !important;
}
.l-header .c-gnav > .menu-item > a:hover::after {
  width: 100%;
  opacity: 1;
}
.c-gnav>.menu-item>a:after {
  top: 80% !important;
}


/* ===================
ハンバーガーメニュー
====================== */
/* メニューアイコン（デフォルト時） */
.-menuBtn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  background-color: #9FC5A3;

  &:hover {
    transform: scale(1.05);
  }

  .c-iconBtn__icon {
    position: relative;
    width: 24px;
    height: 2px;
    background-color: #fff;
    display: grid;
    place-items: center;
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;

    &::before,
    &::after {
      content: '';
      position: absolute;
      width: 24px;
      height: 2px;
      background-color: #fff;
      border-radius: 10px;
      transition: transform 0.3s ease, background-color 0.3s ease;
    }

    &::before {
      transform: translateY(-8px);
    }

    &::after {
      transform: translateY(8px);
    }
  }
}

/* メニューアイコン（オープン時） */
[data-spmenu=opened] {
	
	.-menuBtn .c-iconBtn__icon::before {
			transform: rotate(45deg);
	}
	
	.-menuBtn .c-iconBtn__icon {
		background-color: transparent;
	}
	
	.-menuBtn .c-iconBtn__icon::after {
		transform: rotate(-45deg);
	}
}
/* ボタンラベル */
.p-spMenu__closeBtn button{
  position: absolute;
  top: 15px;
  right: 15px;
}
/* メニュー */
.p-spMenu__inner {
  width: 100%;
  height: 100%;
  transform: translateX(0)!important;
  opacity: 0;
  transition: opacity .5s ease-out!important;
}
/* メニュー（オープン時） */
[data-spmenu="opened"] .p-spMenu__inner {
  opacity: 1;
}
/* 既存のメニューを削除 */
.c-widget__title.-spmenu,
.p-spMenu__nav {
  display:none;
}
/* =======================================
   SPメニュー全体（SWELL既存メニューを差し替え）
   ======================================= */
.p-spMenu__inner {
  width: 100%;
  height: 100%;
  transform: translateX(0) !important;
  opacity: 0;
  transition: opacity .5s ease-out !important;
}

/* メニュー（オープン時） */
[data-spmenu="opened"] .p-spMenu__inner {
  opacity: 1;
}

/* SWELL既存のSPメニューを非表示にする */
.c-widget__title.-spmenu,
.p-spMenu__nav {
  display: none;
}

/* =======================================
   スマホナビ（p-spnav）
   ======================================= */
.p-spnav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 40px;
  overflow-y: auto;
}
.p-spnav__list {
  list-style: none;
  padding: 0 !important;
  margin: 0;
  width: 100%;
  max-width: 300px;
}
.p-spnav__list > li {
  border-bottom: 1px solid rgba(123, 90, 67, 0.2);
  text-align: center;
  padding: 14px 0;
}
.p-spnav__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #7b5a43;
  transition: color 0.3s;
}
.p-spnav__list a:hover {
  color: #9fc5a3;
}
.p-spnav__list .en {
  font-family: "Bad Script", cursive;
  font-style: italic;
  font-size: 1.1rem;
  color: #9fc5a3;
}
.p-spnav__list li:nth-child(even) .en {
  color: #D99994;
}
.p-spnav__list .jp {
  font-size: 1.2rem;
  color: #7b5a43;
}
.p-spnav__btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

/* ================================
   Factory（事業所紹介：見出し）
   ================================ */

/* 全体のセンタリング */
.p-spnav__parent {
  padding: 0 24px;
  box-sizing: border-box;
  text-align: center; /* ← これで英字も日本語も中央揃え */
}

/* 英字 */
.p-spnav__parent .en {
  font-family: "Bad Script", cursive;
  font-style: italic;
  font-size: 1.05rem;
  color: #D99994;
  display: block; /* ← 縦並びを維持 */
  margin-bottom: 2px;
}

/* 日本語 */
.p-spnav__parent .jp {
  font-size: 1.2rem;
  color: #7b5a43;
  display: block; /* ← 縦並び */
  margin-top: 0;
}

/* ================================
   サブメニュー（中央寄せ）
   ================================ */

.p-spnav__item--factory .p-spnav__subList {
  list-style: none;
  /* padding: 12px 0;
  margin: 10px auto 0; */
  text-align: center; /* ← 全体中央寄せ */
}

/* 各項目を inline-flex で中央に */
.p-spnav__item--factory .p-spnav__subList li {
  display: inline-flex; /* ← 横幅に合わせて中央に寄る */
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  margin: 6px 0;
}

/* マーカー無効 */
.p-spnav__item--factory .p-spnav__subList li::marker {
  content: "";
}

/* 矢印 */
.p-spnav__item--factory .p-spnav__subList li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid #7b5a43;
  border-bottom: 2px solid #7b5a43;
  transform: rotate(-45deg);
  display: inline-block;
}

/* サブメニューのテキスト */
.p-spnav__item--factory .p-spnav__subList li a {
  font-size: 0.95rem;
  color: #6f5a53;
  text-decoration: none;
  transition: transform .2s ease, color .2s ease;
  cursor: pointer;
}

/* ホバー時 */
.p-spnav__item--factory .p-spnav__subList li a:hover {
  transform: translateX(3px);
  color: #5a4337;
}
/* =======================================
   下部ボタン（文字サイズ調整）
   ======================================= */
.p-spnav__btns .header-btn01 {
  font-size: 0.9rem;
  padding: 10px 18px;
  line-height: 1.3;
}
.p-spnav__btns .header-btn02 {
  padding: 10px 14px;
  line-height: 1.3;
}
.p-spnav__btns .header-btn02__main {
  font-size: 0.95rem;
}
.p-spnav__btns .header-btn02__sub {
  font-size: 0.75rem;
}
.p-spnav__btns .header-btn02__icon img {
  width: 16px;
  height: 16px;
}


/* =========================
   下層ぱんくず
   ========================= */
.p-breadcrumb{
  padding: 8px 20px;
}
@media screen and (min-width: 959px){
  .p-breadcrumb{
   padding: 8px 40px;
 }
}

/* =========================
   footer 基本
   ========================= */

.l-footer {
  background: linear-gradient(
    93.5deg,
    rgba(252, 249, 224, 0.5) 0%,
    rgba(253, 233, 226, 0.5) 52.1%,
    rgba(197, 200, 227, 0.5) 101.28%
  );
  text-align: center;
}

.l-footer__custom {
  padding: 10px 16px 10px;
  max-width: 960px;
  margin: 0 auto;
}
.l-footer__custom-logo {
  margin-bottom: 32px;
}
.l-footer__custom-logo img {
  max-width: 160px;
  height: auto;
  width: 100%;
}
.l-footer__custom-navList {
  list-style: none;
  padding: 0 !important;
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  font-size: 14px;
}

.l-footer__custom-navItem a,
.l-footer__custom-label {
  color: #6f5a53;
  text-decoration: none;
  cursor: pointer;
}

/* =========================
   事業所紹介 共通
   ========================= */

.l-footer__custom-navItem--hasChild {
  position: relative;
}

.l-footer__custom-toggle {
  display: none;
}

/* ラベル + ▼三角 */
.l-footer__custom-label {
  position: relative;
  padding-right: 14px;
}
.l-footer__custom-label::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #6f5a53;
  transform: translateY(-50%);
  transition: transform .3s ease;
}

/* =========================
   SP（〜959px）：アコーディオン
   ========================= */

@media screen and (max-width: 958px) {
  /* サブメニュー：縦に出るシンプルなリスト */
  .l-footer__custom-subList {
    list-style: none;
    font-size: 13px;
    margin: 8px 0 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    display: block;
    transition: max-height .3s ease, opacity .3s ease;
    position: static;
    background: transparent;
  }
  .l-footer__custom-subList li {
    white-space: nowrap;
  }
  .l-footer__custom-subList li a {
    position: relative;
    display: block;
    padding: 6px 0 6px 1.8em;
    color: #6f5a53;
    text-decoration: none;
    text-align: left;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .l-footer__custom-subList li a::before {
    content: "";
    position: absolute;
    left: 0.4em;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #6f5a53;
    border-bottom: 1.5px solid #6f5a53;
    transform: translateY(-50%) rotate(-45deg);
    border-radius: 2px;
  }
  /* タップで開閉 */
  .l-footer__custom-toggle:checked ~ .l-footer__custom-subList {
    max-height: 200px;
    opacity: 1;
  }
  .l-footer__custom-toggle:checked + .l-footer__custom-label::after {
    transform: translateY(-50%) rotate(180deg);
  }
}

/* =========================
   PC（959px〜）：ホバーでポップアップ
   ========================= */

@media screen and (min-width: 959px) {

  .l-footer__custom {
    padding: 30px 20px 0px;
  }

  /* PCではサブメニューをポップアップ表示 */
  .l-footer__custom-subList {
    list-style: none;
    font-size: 12px;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: transparent;
    max-height: none;
    overflow: visible;
    opacity: 0;
    display: none;
  }
  .l-footer__custom-subList li + li {
    margin-top: 4px;
  }
  /* カード風リンク */
  .l-footer__custom-subList li a {
    position: relative;
    display: block;
    padding: 6px 16px 6px 2.2em;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    color: #6f5a53;
    text-decoration: none;
    text-align: right;
    transition: transform .2s ease, color .2s ease, background-color .2s ease;
  }
  /* 左の矢印（PC） */
  .l-footer__custom-subList li a::before {
    content: "";
    position: absolute;
    left: 0.8em;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #6f5a53;
    border-bottom: 1.5px solid #6f5a53;
    transform: translateY(-50%) rotate(-45deg);
    border-radius: 2px;
  }
  /* 親liにホバーしている間は表示 */
  .l-footer__custom-navItem--hasChild:hover .l-footer__custom-subList {
    display: block;
    opacity: 1;
  }
  /* ホバー中：文字だけ少し右＋色を濃く */
  .l-footer__custom-subList li a:hover {
    transform: translateX(3px);
    color: #5a4337;
    background-color: #fdfaf6;
  }
  /* PC時：三角もホバー中だけ回転 */
  .l-footer__custom-navItem--hasChild:hover .l-footer__custom-label::after {
    transform: translateY(-50%) rotate(180deg);
  }
}
/* コピーライト */
.copyright {
  font-size: 0.8rem;
  opacity: 0.9;
  margin: 24px 0 0;
}

/* =========================
   TOPページ
   ========================= */
/* MV */
.mv_logo{
  width: 50%;
  position: absolute;
}
.mv_logo img{
  position: absolute !important;
  top: 6% !important;
  z-index: 2 !important;
  left: -16% !important;
  width: 100% !important;
  max-width: 800px !important;
}
.p-mainVisual__slide{
  padding: 0 20px;
}

/*MVタイトル*/
.p-mainVisual__slideTitle {
  font-size: 28px;
  position: absolute;
  line-height: 2;
  text-align: left;
  left: 3%;
  top: 15%;
  letter-spacing: 0.18em;
  color: #42342B;
} 
@media screen and (min-width: 959px){
  .p-mainVisual__slideTitle {
    font-size: 2.6vw;
    position: absolute;
    left: 5% !important;
    bottom: 15% !important;
  }
}
.p-mainVisual__slideTitle  span{
  font-size: 14px;
  display: block;
  width: 77%;
  font-weight: 300;
  display: inline-block;
  margin-top: 15px;
  line-height: 2;
} 
@media screen and (min-width: 959px){
  .p-mainVisual__slideTitle  span {
    font-size: 1vw;
    width: 100%;
    margin-top: 30px;
  }
}
/* ==========================
   iPad向け メインビジュアル調整
   （横768〜1024pxあたり）
   ========================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* MV全体の高さを少し低めに */
  #top_title_area {
    min-height: 420px;   /* 好きな高さに調整してOK */
  }

  /* 背景画像系（カバー）のトリミングを中央に寄せる */
  #top_title_area .c-cover,
  #top_title_area .p-mainVisual,
  #top_title_area .p-mainVisual__img {
    background-position: center top;
    /* もともと cover ならそのままでもOK */
    background-size: cover;
  }

  /* imgタグで表示されている場合（object-fit対策） */
  #top_title_area img {
    object-position: center top;
  }
}

/* ---------------------------------
  scroll
---------------------------------- */
.p-blogParts.post_content[data-partsid="108"] {
  position: absolute;
  pointer-events: none; /* クリックを邪魔しない。必要なら外す */
  font-family: "Bad Script", cursive;
  left: 10%;
  bottom: 24%;
}
@media screen and (min-width: 959px){
  .p-blogParts.post_content[data-partsid="108"] {
    left: 5%;
  }
}
/* スクロールダウンの位置 */
.scroll {
  position: absolute;
  right: 50%;
  top: 10%;
  writing-mode: vertical-rl;
  color: #42342B;
}

/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #42342B;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}
/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* ---------------------------------
  top-slide
---------------------------------- */
.top-slide {
  --gap: 24px;         /* 画像の間隔（偶数値推奨） */
  --speed: 20s;        /* スクロール速度（大きいほどゆっくり） */
  --edge-fade: 20px;   /* 両端のフェード幅 */

  position: relative;
  overflow: hidden;
  height: var(--height);
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout paint style;
}

/* 両端フェード（軽量・疑似要素版） */
.top-slide::before,
.top-slide::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: var(--edge-fade);
  pointer-events: none;
  z-index: 1;
}
.top-slide::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}
.top-slide::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* トラック全体の動き設定 */
.top-slide__track {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start; /* 均等間隔に整える（ズレ防止） */
  gap: var(--gap);
  white-space: nowrap;
  will-change: transform;
  animation: top-slide-scroll var(--speed) linear infinite;
  animation-delay: .2s; /* 初期フレーム安定 */
}

/* 左流れ */
@keyframes top-slide-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 右流れ */
.top-slide--reverse .top-slide__track {
  animation-name: top-slide-scroll-reverse;
}
@keyframes top-slide-scroll-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.top-slide--reverse {
  margin-top: 40px;
}
/* 各画像設定 */
.top-slide__img {
  height: var(--height);
  width: auto;
  flex: 0 0 auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  transform: translateZ(0);
}

/* スキマ防止（最後のgapを打ち消し） */
.top-slide__track .top-slide__img:last-of-type {
  margin-right: calc(var(--gap) * -1);
}
/* アニメをオフにしたいユーザーへの対応 */
@media (prefers-reduced-motion: reduce) {
  .top-slide__track { animation: none; }
}


/***************************************************
 * Generated by SVG Artista on 10/11/2025, 2:31:02 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/

svg .svg-elem-1 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.6s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.6s;
}

svg.active .svg-elem-1 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-2 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.7s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.7s;
}

svg.active .svg-elem-2 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-3 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
}

svg.active .svg-elem-3 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-4 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s;
}

svg.active .svg-elem-4 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-5 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
}

svg.active .svg-elem-5 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-6 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s;
}

svg.active .svg-elem-6 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-7 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.2000000000000002s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.2000000000000002s;
}

svg.active .svg-elem-7 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-8 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.3s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.3s;
}

svg.active .svg-elem-8 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-9 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.4s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.4s;
}

svg.active .svg-elem-9 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-10 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.5s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.5s;
}

svg.active .svg-elem-10 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-11 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.6s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.6s;
}

svg.active .svg-elem-11 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-12 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.7000000000000002s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.7000000000000002s;
}

svg.active .svg-elem-12 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-13 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.8000000000000003s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.8000000000000003s;
}

svg.active .svg-elem-13 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-14 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.9s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 1.9s;
}

svg.active .svg-elem-14 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-15 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2s;
}

svg.active .svg-elem-15 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-16 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.1s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.1s;
}

svg.active .svg-elem-16 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-17 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.2s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.2s;
}

svg.active .svg-elem-17 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-18 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.3000000000000003s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.3000000000000003s;
}

svg.active .svg-elem-18 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-19 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.4s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.4s;
}

svg.active .svg-elem-19 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-20 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.5s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.5s;
}

svg.active .svg-elem-20 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-21 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.6s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.6s;
}

svg.active .svg-elem-21 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-22 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.7s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.7s;
}

svg.active .svg-elem-22 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-23 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.8000000000000003s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.8000000000000003s;
}

svg.active .svg-elem-23 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-24 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.9000000000000004s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 2.9000000000000004s;
}

svg.active .svg-elem-24 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-25 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.0000000000000004s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.0000000000000004s;
}

svg.active .svg-elem-25 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-26 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.1s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.1s;
}

svg.active .svg-elem-26 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-27 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.2s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.2s;
}

svg.active .svg-elem-27 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-28 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.3000000000000003s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.3000000000000003s;
}

svg.active .svg-elem-28 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-29 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.4000000000000004s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.4000000000000004s;
}

svg.active .svg-elem-29 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-30 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.5000000000000004s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.5000000000000004s;
}

svg.active .svg-elem-30 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-31 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.6s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.6s;
}

svg.active .svg-elem-31 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-32 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.7s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.7s;
}

svg.active .svg-elem-32 {
  fill: rgb(255, 255, 255);
}

svg .svg-elem-33 {
  fill: transparent;
  -webkit-transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.8000000000000003s;
          transition: fill 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) 3.8000000000000003s;
}

svg.active .svg-elem-33 {
  fill: rgb(255, 255, 255);
}




/* h2見出し */
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
  position: absolute;
  display: block;
  pointer-events: none;
  content: "";
  top: -4px;
  left: 0;
  width: 100%;
  height: calc(100% + 4px);
  box-sizing: content-box;
  border-top: none;
  border-bottom: none;
}
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  color: #42342B;
}
.post_content h2{
  font-size: 24px;
  margin: 0 !important;
}
@media screen and (min-width: 959px){
  .post_content h2 {
    font-size: 32px !important;
  }
}
.c-sec__ttl {
  font-weight: 600 !important;
}
@media screen and (min-width: 959px){
  .c-sec__ttl {
    font-weight: 500 !important;
  }
}

/* =========================
   c-sec__ttl01（SVG中央揃え）
   左寄せバージョン
   ========================= */

.c-sec__ttl01 {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 0;         /* 高さの確保 */
  overflow: visible;
}
@media screen and (min-width: 959px){
  .c-sec__ttl01 {
    padding: 80px 0;
  }
}

/* SVG背景：タイトルの中央に揃える */
.c-sec__ttl01::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;                           
  transform: translate(-50%, -50%);   
  width: min(90vw, 800px);
  height: min(90vw, 800px);
  background-image: url("https://www.daisy.ms-design.site/wp-content/uploads/2025/11/img_parts.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1 !important;              
  z-index: -1;
  pointer-events: none;
}

.c-sec__ttl01-en {
  position: absolute;
  top: 50%;
  left: 50%;                            
  transform: translate(-50%, -50%) rotate(-16deg);
  display: block;
  font-family: "Bad Script", cursive;
  font-size: clamp(60px, 20vw, 160px);
  color: #D99994;
  opacity: 0.2;                          
  line-height: 0.9;
  margin: 0;
  text-align: center;                    
  z-index: -1;
}

.c-sec__ttl01-jp {
  position: absolute;
  top: 50%;
  left: 50%;                             
  transform: translate(-50%, -50%);
  display: block;
  font-size: clamp(24px, 6vw, 38px);
  font-weight: 600;
  color: #554C46;
  line-height: 1.4;
  margin: 0;
  text-align: center;
  z-index: 3;
  white-space: nowrap;
}

/* =========================
   c-sec__ttl02（SVG中央揃え）
   右寄せバージョン
   ========================= */

.c-sec__ttl02 {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 0;          
  overflow: visible;
}
@media screen and (min-width: 959px){
  .c-sec__ttl02 {
    padding: 80px 0;
  }
}
.c-sec__ttl02::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;                          
  transform: translate(-50%, -50%);
  width: min(90vw, 800px);
  height: min(90vw, 800px);
  background-image: url("https://www.daisy.ms-design.site/wp-content/uploads/2025/11/img_parts.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1 !important;             
  z-index: -1;
  pointer-events: none;
}
.c-sec__ttl02-en {
  position: absolute;
  top: 50%;
  left: 50%;                         
  transform: translate(-50%, -50%) rotate(-16deg); 
  display: block;
  font-family: "Bad Script", cursive;
  font-size: clamp(60px, 20vw, 160px);
  color: #C4D8C5;                       
  opacity: 0.22;                      
  line-height: 0.9;
  margin: 0;
  text-align: center;                   
  z-index: -1;
}

.c-sec__ttl02-jp {
  position: absolute;
  top: 50%;
  left: 50%;                          
  transform: translate(-50%, -50%);
  display: block;
  font-size: clamp(24px, 6vw, 38px);
  font-weight: 600;
  color: #554C46;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  z-index: 3;
  white-space: nowrap;
}
/* h3見出し */
.post_content h3 {
  font-size: 20px !important;
  margin: 0 !important;
}
@media screen and (min-width: 959px){
  .post_content h3 {
    font-size: 24px !important;
  }
}
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    padding: 0 0 0.8em;
}
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
    background: none !important;
}
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  padding: 0 !important;
}
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  padding: 0 0 .5em;
}
.c-sec__subttl{
  margin: 60px 0 20px 0 !important;
  
  font-weight: 600 !important;
  font-size: 16px !important;
}
@media screen and (min-width: 959px){
  .c-sec__subttl {
    margin: 80px 0 40px 0 !important;
    font-size: 24px !important;
  }
}
.post_content .wp-block-heading{
  background: none;
}
.c-sec__subttl::before {
  content: "" !important;
  width: 35px !important;
  height: 2px !important;
  background: #9FC5A3 !important;
  top: 100% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* h4見出し */
.post_content h4 {
  font-size: 16px !important;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin: 0 0 0.5em;
}
@media screen and (min-width: 959px){
  .post_content h4 {
    font-size: 22px !important;
  }
}
@media screen and (min-width: 959px){
  .post_content>h2 {
    font-size: 20px;
    letter-spacing: 0.18em;
  }
}

/* 見出し幅 */
.post_content>h2 {
  margin-right: -2px;
  margin-left: -2px;
  margin-bottom: 30px;
  font-size: 18px !important;
}
@media screen and (min-width: 959px){
  .post_content>h2 {
    margin-bottom: 60px;
  }
}
.post_content div>:first-child,
.post_content > :first-child {
  margin-top: 0 !important;
}
.post_content h4:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  padding: 0;
  border-left: none;
}


/* p-home-news */
/* ================================
   p-home-news-box：告知バナー（ベタ塗り背景＆横並び数字）
   ================================ */

.p-home-news-box {
  --bg: #D99994;    
  --text: #fff;              
  --radius: 18px;            
  --pad-y: 18px;
  --pad-x: 18px;
  --gap: 20px;
  --badge-size: 120px;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap);
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--radius);
  background-color: var(--bg);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  max-width: 850px;
  margin: 40px auto;
  justify-content: center;
}

/* テキスト部分 */
.p-home-news-box__body {
  flex: 1 1 60%;
  min-width: 240px;
}

.p-home-news-box__catch {
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 4px;
}

.p-home-news-box__lead {
  font-size: 18px !important;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.6;
}

.p-home-news-box__note {
  font-size: 12px;
  opacity: .95;
  margin: 0;
}

/* 丸バッジ部分 */
.p-home-news-box__badge {
  flex: 0 0 auto;
  width: var(--badge-size);
  height: var(--badge-size);
  border-radius: 50%;
  background: #fff;
  text-align: center;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #D99994;
}

.p-home-news-box__badge-title {
  display: block;
  font-size: 16px;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

/* 数字と単位を横並び */
.p-home-news-box__badge-count {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15em;
}

.p-home-news-box__badge-num {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.1;
}

.p-home-news-box__badge-unit {
  font-size: 1rem;
}

/* --- タブレット以上 --- */
@media (min-width: 959px) {
  .p-home-news-box {
    --radius: 20px;
    --pad-y: 22px;
    --pad-x: 28px;
    --gap: 24px;
    --badge-size: 136px;
  }
  .p-home-news-box__catch { font-size: 1.05rem; }
  .p-home-news-box__lead  { font-size: 1.2rem; }
  .p-home-news-box__note  { font-size: 1rem; }
  .p-home-news-box__badge-title {
    font-size: 18px;
  }
  .p-home-news-box__badge-num{
    font-size: 50px;
  }
  .p-home-news-box__catch {
    font-size: 24px !important;
  }
  .p-home-news-box__lead {
  font-size: 24px !important; 
  }
  .p-home-news-box__note {
    font-size: 16px;
  }
  .p-home-news-box {
    justify-content: space-between;
  }
}

.p-home-news__info {
  max-width: 1000px !important;
  width: 100% !important;
  margin: 40px auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media screen and (min-width: 959px){
  .p-home-news__info {
    margin: 60px auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
.swell-block-fullWide.alignfull.p-home-news__info {
  max-width: 1000px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
}
.p-home-news__info ul {
  border: none !important;
}
.p-home-news__info ul li {
  border-bottom: solid 1px #F1DDDB !important;
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 auto !important;
  flex-flow: row-reverse !important;
}
.p-home-news__info ul li a{
  color: #42342B;
}
@media screen and (min-width: 959px){
  .p-home-news__info ul li {
    gap: 40px !important;
  }
}
.p-home-news__info ul li time{
  font-family: "Bad Script", cursive;
  min-width: 80px;
  font-size: 18px;
}
@media screen and (min-width: 959px){
  .p-home-news__info ul li time{
    min-width: 100px;
    font-size: 24px;
  }
}
@media screen and (min-width: 959px){
  .wp-block-latest-posts__post-title{
    font-size: 18px;
  }
}
.p-home-news__wrap{
  margin: 60px 0 0 !important;
}
@media screen and (min-width: 959px){
  .p-home-news__wrap{
    margin: 100px 0 0 !important;
  }
}
.p-home-news__wrap--box01{
  border: 2px solid #9FC5A3;
  padding: 25px 15px !important;
  border-radius: 20px;
}
@media screen and (min-width: 959px){
  .p-home-news__wrap--box01{
    padding: 50px 25px !important;
    border-radius: 40px;
  }
}
.p-home-news__box--gray{
  border: 1px solid #A09188;
  padding: 15px 20px !important;
  border-radius: 20px;
}
@media screen and (min-width: 959px){
  .p-home-news__box--gray {
    padding: 30px 40px !important;
    border-radius: 40px;
  }
}
.p-home-news__cont{
  justify-content: space-between !important;
  gap: 15px !important;
  display: flex;
  flex-wrap: wrap !important;
  flex-direction: column;
}
.p-home-news__wrap--box02 {
  position: relative;
  border: 1.5px solid #d96a1f;
  border-radius: 40px;
  padding: 20px;
  background-color: #fff;
  margin: 0 auto 40px;
  box-sizing: border-box;
}
.p-home-news__wrap--img {
  width: 100%;
  margin-bottom: 20px;
  max-width: 550px;
}
.p-home-news__wrap--img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.p-home-news__cont > .wp-block-column:last-child {
  width: 100%;
}
@media screen and (min-width: 959px) {
  .p-home-news__wrap--box02 {
    padding: 30px;
  }
  .p-home-news__cont {
    align-items: center;
    justify-content: flex-start;
    gap: 40px !important;
    flex-wrap: nowrap !important;
    flex-direction: row;
  }
  .p-home-news__wrap--img {
    flex: 0 0 46% !important;
    margin-bottom: 0;
  }
  .p-home-news__cont > .wp-block-column:last-child {
    flex: 1;
  }
}
.p-blogParts.post_content[data-partsid="460"] {
  position: absolute;
  bottom: 15%;
  right: 5%;
}
@media screen and (min-width: 959px) {
  .p-blogParts.post_content[data-partsid="460"]  {
    right: 8%;
    bottom: 10%;
  }
}
.p-blogParts.post_content[data-partsid="460"] svg {
  width: 90.27083333333333vw;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media screen and (min-width: 800px) {
  .p-blogParts.post_content[data-partsid="460"] svg  {
    width: 46.27083333333333vw;
  }
}
/* ===============================
   p-home-about
   =============================== */

.p-home-about_img img{
  width: 100%;
  max-width: 480px;

}
.p-home-about_ex {
  display: grid !important;
  gap: 16px !important;
  color: #6f5a53 !important;
  font-family: "Zen Maru Gothic","Hiragino Sans",sans-serif !important;
}

.p-home-about_ex__item {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* ▼ タイトル（左に丸ぽち） */
.p-home-about_ex__title {
  font-size: 20px !important;
  letter-spacing: 0.05em !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  position: relative !important;
  padding-left: 22px !important;
}

.p-home-about_ex__title::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
}

/* ▼ 1番目の丸ぽち：FFEBAE */
.p-home-about_ex__item:nth-child(1) .p-home-about_ex__title::before {
  background: #FFEBAE !important;
}

/* ▼ 2番目の丸ぽち：FDE9E2 */
.p-home-about_ex__item:nth-child(2) .p-home-about_ex__title::before {
  background: #FDE9E2 !important;
}

/* ▼ 3番目の丸ぽち：C5C8E4 */
.p-home-about_ex__item:nth-child(3) .p-home-about_ex__title::before {
  background: #C5C8E4 !important;
}

.p-home-about_ex__lead {
  font-size: 15px !important;
  margin-top: 4px !important;
}

.p-home-about_ex__text {
  font-size: 14px !important;
  line-height: 1.9 !important;
}

/* PCサイズ調整 */
@media (min-width: 768px) {
  .p-home-about_ex {
    gap: 24px !important;
  }
  .p-home-about_ex__title {
    font-size: 22px !important;
  }
  .p-home-about_ex__lead {
    font-size: 16px !important;
  }
  .p-home-about_ex__text {
    font-size: 15px !important;
  }
}

.p-home-about__wrap .wp-block-column:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; 
  align-items: flex-end;     
}

/* ===============================
   p-home-office
   =============================== */
.p-home-office__box{
  background-color: #FFFDEF;
  padding: 24px;
  border-radius: 30px;
  max-width: 1080px;
  margin: auto;
}
.p-home-office__box .wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (min-width: 959px){
  .p-home-office__box .wp-block-image img {
     max-width: 465px;
  }
}


/* ===============================
   p-home-instagram
   =============================== */

/* =====================================
   Instagram セクション レイアウト調整
   HTML・ボタンの見た目はそのまま
===================================== */

/* SP（〜781px）はブロック表示のまま */
@media (max-width: 781px) {
  .p-home-Instagram__wrap {
    display: block !important;   /* 念のため */
  }
}

/* PC（782px〜）：テキストと画像を横並びにする */
@media (min-width: 782px) {
  .p-home-Instagram__wrap {
    display: flex !important;        /* 横並び */
    flex-wrap: nowrap;
    align-items: center;             /* 縦位置そろえる */
    column-gap: 40px;                /* 左右のすきま */
  }

  /* 左カラム（テキスト側） */
  .p-home-Instagram__wrap > .wp-block-column:first-child {
    flex: 0 0 65%;
    max-width: 65%;
  }

  /* 右カラム（スマホ画像側） */
  .p-home-Instagram__wrap > .wp-block-column:last-child {
    flex: 0 0 35%;
    max-width: 35%;
    text-align: center;
  }

  /* スマホ画像のサイズだけ少し整える（見た目用） */
  .p-home-Instagram__wrap > .wp-block-column:last-child img {
    max-width: 220px;
    height: auto;
  }
}
/* PC以上では margin を消す（＝SPだけ余白がつく） */
@media (min-width: 782px) {
  .p-home-Instagram__wrap > .wp-block-column:last-child {
    margin-top: 0 !important;
  }
}

/* 通常状態（SP）で余白を付ける */
.p-home-Instagram__wrap > .wp-block-column:last-child {
  margin-top: 40px !important; /* ← 好きな値でOK */
}
   /* ===============================
   横スクロールギャラリー本体
   =============================== */

.p-home-Instagram__gallery {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  width: 100% !important;
  padding-bottom: 8px !important;
  -webkit-overflow-scrolling: touch;
}

.p-home-Instagram__track {
  display: inline-flex !important;
  gap: 24px !important;
  width: max-content !important;  /* ←常に画面より長くする */
}

.p-home-Instagram__item {
  width: 240px !important;
  height: 260px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #ddd;
}

.p-home-Instagram__item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 24px !important;
}

/* =====================================
   ★左端に短いスクロールバー（疑似バー）
   ===================================== */

.p-home-Instagram__fakebar {
  width: 80px;          /* ← 好きな長さに変更OK */
  height: 4px;
  background: #86AD8F;
  border-radius: 99px;
  margin-top: 6px;
}

/* ===============================
   p-home-qa
   =============================== */
.p-home-qa__wrap {
  display: grid;
  gap: 16px;
  max-width: 800px;
  margin: auto;
}

.p-home-qa {
  display: block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* パネル（高さはJSで制御） */
.p-home-qa__panel {
  overflow: hidden;
  min-height: 0;
  height: 0;
}

/* 質問 */
.p-home-qa__q {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  cursor: pointer;
  padding: 14px 40px 14px 56px;
  color: #6f5a53;
  font-size: 15px;
  line-height: 1.8;
  border-bottom: 1px solid rgba(111, 90, 83, .25);
  list-style: none;
  background: transparent;
}

.p-home-qa__q::-webkit-details-marker {
  display: none;
}

/* 左のQ */
.p-home-qa__q::before {
  content: "Q";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-54%);
  font-family: "Bad Script", cursive;
  font-style: italic;
  font-size: 30px;
  color: #6f5a53;
  opacity: .9;
}

/* 右の三角（clip-pathで滑らか回転） */
.p-home-qa__q::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 12px;
  height: 10px;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform .35s cubic-bezier(.25, .8, .25, 1);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #6f5a53;
  clip-path: polygon(50% 100%, 0 0, 100% 0); /* ▼ */
}

/* ▲：.is-open だけで回転（[open]には依存しない） */
.p-home-qa.is-open .p-home-qa__q::after {
  transform: translateY(-50%) rotate(180deg);
}

/* 回答（背景なし） */
.p-home-qa__a {
  position: relative;
  padding: 16px 20px 20px 56px;
  background: transparent;
  color: rgba(111, 90, 83, .85);
  font-size: 14px;
  line-height: 1.9;
}

.p-home-qa__a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(111, 90, 83, .2);
}

.p-home-qa__a::after {
  content: "A";
  position: absolute;
  left: 20px;
  top: 14px;
  font-family: "Bad Script", cursive;
  font-style: italic;
  font-size: 30px;
  color: #6f5a53;
  opacity: .6;
}

@media (min-width: 1024px) {
  .p-home-qa__wrap {
    gap: 24px;
  }

  .p-home-qa__q {
    font-size: 17px;
    padding: 18px 50px 18px 64px;
  }

  .p-home-qa__q::before {
    left: 24px;
  }

  .p-home-qa__q::after {
    right: 20px;
  }

  .p-home-qa__a {
    font-size: 16px;
    padding: 18px 24px 22px 64px;
  }
}







/* ======================================================
   Q&Aデザイン（p-home-qa）左揃えスタイル
   ====================================================== */

.p-home-qa {
  max-width: 900px;
  margin: 0 auto;
}

/* 各項目 */
.p-home-qa .swell-block-accordion__item {
  border: none;
  margin: 0 0 22px;
  padding: 0;
}

/* ---------------------------------------
   質問タイトル行（Q とテキスト）
--------------------------------------- */
.p-home-qa .swell-block-accordion__title {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 14px;
  padding: 14px 0;
  cursor: pointer;
  background: transparent;
  border: none;
  justify-content: flex-start; /* ★ 左揃え */
}

/* Qマーク */
.p-home-qa .swell-block-accordion__title::before {
  content: "Q";
  font-family: "Bad Script", "Shippori Mincho", serif;
  font-size: 36px;
  color: #6f5a53;
  flex-shrink: 0;
  margin-left: 0;
}

/* 下線 */
.p-home-qa .swell-block-accordion__title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: #d8cfc0;
}

/* 質問文 */
.p-home-qa .swell-block-accordion__label {
  font-size: 16px;
  color: #4a3d35;
  text-align: left;   /* 左寄せ */
  flex: 1;
}

/* 矢印を右端へ */
.p-home-qa .swell-block-accordion__icon {
  margin-left: auto;   /* ★ 右に寄せる */
  margin-right: 0;
  color: #6f5a53;
  font-size: 14px;
}

/* 開閉状態による矢印切り替え */
.p-home-qa .swell-block-accordion__item[open] .__icon--closed {
  display: none;
}
.p-home-qa .swell-block-accordion__item:not([open]) .__icon--opened {
  display: none;
}

/* ---------------------------------------
   答え部分（A とテキスト）
--------------------------------------- */
.p-home-qa .swell-block-accordion__body {
  padding: 18px 0 16px 0; /* 左に寄せる */
}

/* A と本文を横並び風に */
.p-home-qa .swell-block-accordion__body p {
  position: relative;
  margin: 0;
  padding-left: 42px; /* A の位置 */
  text-align: left;
  font-size: 15px;
  line-height: 1.8;
  color: #6f5a53;
}

/* Aマーク */
.p-home-qa .swell-block-accordion__body p::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 2px;
  font-family: "Bad Script", "Shippori Mincho", serif;
  font-size: 32px;
  color: #6f5a53;
}

/* SP調整 */
@media (max-width: 768px) {
  .p-home-qa {
    padding: 0 16px;
  }
}
/* 矢印の右に余白をつける */
.p-home-qa .swell-block-accordion__icon {
  margin-right: 8px; /* ← お好みで 8〜16px くらいが綺麗 */
}


/* 開いた時の枠線を消す（SWELLデフォの強制枠） */
.p-home-qa .swell-block-accordion__item[open] {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* summary（タイトル部分）のクリック時フォーカス線も消す */
.p-home-qa .swell-block-accordion__title:focus,
.p-home-qa .swell-block-accordion__title:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* アコーディオン内部のフォーカスも全部消す */
.p-home-qa summary:focus,
.p-home-qa summary:focus-visible {
  outline: none !important;
}



/* p-privacypolicy */
/* ============================================
   プライバシーポリシー（p-privacypolicy-list）
   ============================================ */

.p-privacypolicy-list {
  max-width: 960px;
  color: #6f5a53;
  font-size: 15px;
  line-height: 2;
}

/* 冒頭文 */
.p-privacypolicy-list__lead {
  margin-bottom: 32px;
}

/* 各項目 */
.p-privacypolicy-list__section {
  margin-bottom: 28px;
}

/* 見出し（番号付きタイトル） */
.p-privacypolicy-list__heading {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #4a3d35;
  background: none !important;
}

/* 本文 */
.p-privacypolicy-list__section p {
  margin: 10px 0 6px;
}

/* 箇条書き */
.p-privacypolicy-list__section ul {
  margin: 0 0 6px 1.4em;
  padding: 0;
}
.p-privacypolicy-list__section li {
  margin: 0 0 4px;
}

/* SP調整 */
@media (max-width: 768px) {
  .p-privacypolicy-list {
    font-size: 14px;
    line-height: 1.9;
  }
  .p-privacypolicy-list__heading {
    font-size: 16px;
  }
}








/* ===============================
   p-home-voice
   =============================== */

/* 見える枠 */
.p-home-voice__list {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

/* 横に長い帯（2周分入ってる） */
.p-home-voice__track {
  display: inline-flex;
  gap: 24px;
  animation: voiceScrollLeft 30s linear infinite;
  will-change: transform;
}

/* カードデザイン */
.p-home-voice__item {
  width: 280px; /* ← max-width から width に変更 */
  border: 1px solid #BAD8C0;
  border-radius: 14px;
  padding: 24px;
  background: #ffffff;
  color: #6f5a53;
  font-family: "Zen Maru Gothic","Hiragino Sans",sans-serif;
  flex-shrink: 0;
}
@media screen and (min-width: 959px){
  .p-home-voice__item {
    width: 360px; /* ← PCの幅 */
  }
}
.p-home-voice__name {
  font-size: 16px;
  color: #86AD8F;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #BAD8C0;
}

.p-home-voice__text {
  font-size: 14px;
  line-height: 1.9;
  color: #6f5a53;
}

/* 左方向に流れるアニメーション */
@keyframes voiceScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* ============================================
   TOP：利用者さまの声スライダーもフル幅化
   （.js-voice-slider を対象に）
============================================ */
.l-mainContent__inner .js-voice-slider {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden !important;
}

/* PCでもフル幅キープ */
@media (min-width: 960px) {
  .l-mainContent__inner .js-voice-slider {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* =========================
   下層
   ========================= */
/* .l-mainContent__inner {
  margin: 40px auto 0 !important;
}
@media (min-width: 960px) {
  .l-mainContent__inner {
    margin: 80px auto 0 !important;
  }
} */
.post_content ol, .post_content ul {
  padding-left: 0 !important;
}
/* ====================================
   NEWS 一覧（#post_list_tab_1 内だけ反映）
   ==================================== */

/* コンテナ余白（インライン style は消してOK） */
#post_list_tab_1 {
  margin: 80px 0;
}

/* UL 全体 */
#post_list_tab_1 .p-postList {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* タイトル */

/* ================================
   下層ページ共通見出し p-pageTtl01
   ================================ */

.p-pageTtl01 {
  position: relative;
  text-align: center;
  margin: 80px auto 60px;
  padding: 0 0 60px;
  overflow: visible; /* 背景が切れないように */
}

/* h2 本体 */
.p-pageTtl01__inner {
  margin: 0;
  padding: 0;
  border: none;
  background: none !important;
  font-weight: normal;
  line-height: 1.3;
  color: #6f5a53;
  position: relative;
  z-index: 2; /* テキストが背景の上 */
}

/* ------------------------------
   背景SVG（濃さ100%・確実表示）
   ------------------------------ */
.p-pageTtl01::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 480px;
  height: 480px;

  background-image: url("https://www.daisy.ms-design.site/wp-content/uploads/2025/11/img_parts.svg");
  background-repeat: no-repeat;
  background-size: contain;

  /* ★ opacity無し → 元画像そのままの濃さで表示 */
  pointer-events: none;
  z-index: 1;
}

/* 英字 */
.p-pageTtl01__en {
  display: block;
  font-family: "Bad Script", "Shippori Mincho", serif;
  font-size: 72px;
  color: #ddbebe;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  font-weight: 300;
}

/* 日本語 */
.p-pageTtl01__jp {
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: #4c413d;
  position: relative;
  z-index: 2;
}

/* ------------------------------
   SP 調整
   ------------------------------ */
@media (max-width: 768px) {
  .p-pageTtl01 {
    margin: 60px auto 40px;
    padding: 0 0 50px;
  }

  .p-pageTtl01::before {
    width: 300px;
    height: 300px;
  }

  .p-pageTtl01__en {
    font-size: 48px !important;
  }

  .p-pageTtl01__jp {
    font-size: 20px !important;
  }
}

/* ================================
   下層ページ共通（トップ .home 以外）
   ヘッダーをMVの上にかぶせる
================================ */

/* ヘッダーを絶対配置＋背景透明 */
body:not(.home) #header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 100;
}
/* コンテンツ側の「ヘッダーぶんの押し下げ」をゼロに */
body:not(.home) #contents,
body:not(.home) .l-contents,
body:not(.home) .l-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* MV（#top_title_area）を画面最上部からスタートさせる＋
   ヘッダー高さぶんだけ中身を下げて、文字が隠れないようにする */
body:not(.home) #top_title_area {
  margin-top: 0 !important;
  padding-top: 110px;  /* ←ヘッダーの高さに合わせて 100〜130px くらいで微調整 */
}
/* =============================
   下層MVのテキストデザイン調整
============================= */

body:not(.home) .subPageHero {
  text-align: left;
  color: #42342B;
}
/* 上の小タイトル（Factory） */
body:not(.home) .subPageHero__label {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 12px;
  color: #D99994;
  font-family: "Bad Script", cursive;
}
@media (min-width: 959px) {
  body:not(.home) .subPageHero__label  {
    font-size: 20px;
  }
}
/* メインタイトル（事業所紹介） */
body:not(.home) .subPageHero__body {
  font-size: 30px;      /* ← ここ調整してね */
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}
@media (min-width: 959px) {
  body:not(.home) .subPageHero__body {
    font-size: 42px; 
  }
}

/* 下の補足タイトル（―住宅型〜） */
body:not(.home) .subPageHero__sub {
  font-size: 16px;     /* ← ここ調整してね */
  font-weight: 300;
  opacity: 0.9;
  margin-top: 8px;
}
@media (min-width: 959px) {
  body:not(.home) .subPageHero__sub {
    font-size: 22px;  
  }
}
/* MVの高さを整える（PC）*/
@media (min-width: 959px) {
  body:not(.home) #top_title_area {
    height: 380px;  /* ← 好きな高さに変更：350〜450が一般的 */
    overflow: hidden;
  }
}
/* SP版の高さ */
@media (max-width: 958px) {
  body:not(.home) #top_title_area {
    height: 260px;  /* ← スマホ用 */
    overflow: hidden;
  }
}

/* ============================
   下層MVのタイトル位置 共通調整
   （デフォルトタイトル＆HTMLタイトル両方）
============================ */

 body:not(.home) #top_title_area .l-topTitleArea__body {
    padding-left: 20px !important;
    color: #42342B;
  }
@media (min-width: 959px) {
  body:not(.home) #top_title_area .l-topTitleArea__body {
    max-width: 1180px;   /* 横幅そろえ（お好みで） */
    margin: 0 auto;
    padding-left: 60px !important;  /* ← ここが「左側あける」本体 */
  }
}

/* ================================
   下層ページ共通見出し p-pageTtl02
   （英字カラー #9FC5A3）
   ================================ */

.p-pageTtl02 {
  position: relative;
  text-align: center;
  margin: 80px auto 60px;
  padding: 0 0 60px;
  overflow: visible; /* 背景を切らさない */
}

/* h2 本体 */
.p-pageTtl02__inner {
  margin: 0;
  padding: 0;
  border: none;
  background: none !important;
  font-weight: normal;
  line-height: 1.3;
  color: #6f5a53;
  position: relative;
  z-index: 2; /* テキストの前面 */
}
/* ================================
   記事メタ：カテゴリーテキストを茶色に
   ================================ */
.p-articleMetas__termList .c-categoryList__link {
  color: #42342b !important; /* メインの茶色 */
  background: #9FC5A3 !important;
  border: none !important;
}
/* ================================
   記事カテゴリ before（アイコン）の色変更
   ================================ */
.p-articleMetas__termList .c-categoryList__link::before {
  background-color: #9FC5A3 !important;
  color: #9FC5A3 !important;
}
.c-categoryList:before{
  color: #9FC5A3 !important;
}
/* ホバー時（少し濃い茶色にしたい場合） */
.p-articleMetas__termList .c-categoryList__link:hover {
  color: #6f5a53 !important;
}

/* ------------------------------
   背景SVG（濃さそのまま・100%表示）
   ------------------------------ */
.p-pageTtl02::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background-image: url("https://www.daisy.ms-design.site/wp-content/uploads/2025/11/img_parts.svg");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}

/* 英字タイトル（02用） */
.p-pageTtl02__en {
  display: block;
  font-family: "Bad Script", "Shippori Mincho", serif;
  font-size: 72px;
  color: #9FC5A3; /* ★ 02の英字カラー */
  margin-bottom: 10px;
  font-weight: 300;
  position: relative;
  z-index: 2;
}

/* 日本語タイトル */
.p-pageTtl02__jp {
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: #4c413d;

  position: relative;
  z-index: 2;
}

/* ------------------------------
   SP調整
   ------------------------------ */
@media (max-width: 768px) {
  .p-pageTtl02 {
    margin: 60px auto 40px;
    padding: 0 0 50px;
  }

  .p-pageTtl02::before {
    width: 300px;
    height: 300px;
  }

  .p-pageTtl02__en {
    font-size: 48px;
  }

  .p-pageTtl02__jp {
    font-size: 20px;
  }
}

/* 共通 */
/* ============================================
   TOPページのスライダーだけインナー制限を解除
============================================ */
.l-mainContent__inner .no-inner,
.l-mainContent__inner .top-slide--reverse {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden; /* はみ出し防止 */
}

/* PC時もフル幅キープ */
@media (min-width: 960px) {
  .l-mainContent__inner .no-inner,
  .l-mainContent__inner .top-slide--reverse {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media screen and (min-width: 959px) {
  body.-sidebar-off .l-article {
    margin-top: 0 !important;
  }
}
.-frame-on .p-breadcrumb,
.c-infoBar + .p-breadcrumb,
.c-infoBar + [data-barba=container] > .p-breadcrumb,
.l-topTitleArea + .p-breadcrumb {
    display: none !important;
}
.l-mainContent__inner > .c-pageTitle[data-style="b_bottom"] {
  padding: 0 20px  !important;
  font-weight: 600;
}
.l-mainContent__inner{
  padding: 0 20px !important;
  margin: 0 auto;
}
.l-mainContent__inner>.post_content {
  margin: 2em 0;
  padding: 0 !important;
}
@media screen and (min-width: 959px){
  .l-mainContent__inner>.post_content {
    margin: 3em 0;
  }
}
@media not all and (min-width: 960px) {
  .swell-block-fullWide__inner.l-article, .swell-block-fullWide__inner.l-container {
      --swl-fw_inner_pad: 0;
      padding: 0 15px 0;
  }
}
.c-pageTitle[data-style=b_bottom] .c-pageTitle__inner {
  border-bottom: 1px solid var(--color_main);
  float: left;
  margin-bottom: -1px;
  padding: 0 0 0.65em !important;
  font-weight: 400 !important;
}
.c-pageTitle[data-style=b_bottom] {
    border-bottom: 1px solid #9FC5A3;
}
.c-postTitle{
  
  font-weight: 500;
}
.c-pageTitle{
  font-size: 24px !important;
  font-weight: 500;
}
@media screen and (min-width: 959px){
  .c-pageTitle{
    font-size: 32px !important;
  }
}
@media (min-width: 600px) {
  .swell-block-column {
      --clmn-w: var(--clmn-w--tab, 100%);
  }
}

/* p-about */
/* ======================================
   代表あいさつ p-about__greeting
   ====================================== */

.p-about__greeting-wrap {
  color: #6f5a53;
  font-size: 14px;
  line-height: 1.9;
}

/* -----------------------------
   WordPressブロック初期化
----------------------------- */
.p-about__greeting-wrap .wp-block-columns {
  margin: 0;
  gap: 0;
}
.p-about__greeting-wrap .wp-block-column {
  padding: 0;
}

/* ======================================
   ★ PC（min-width:959px）で横並びにする
   ====================================== */
@media (min-width: 959px) {
  /* SWELL のデフォルトレイアウトを強制的に上書き */
  .p-about__greeting-wrap.swell-block-columns > .swell-block-columns__inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 40px;
  }

  /* 左：写真側 */
  .p-about__greeting-wrap .swell-block-column:first-child {
    flex: 0 0 260px !important;
    max-width: 260px !important;
  }

  /* 右：テキスト側 */
  .p-about__greeting-wrap .swell-block-column:last-child {
    flex: 1 1 auto !important;
    max-width: none !important;
  }

  /* 写真のサイズ（PC） */
  .p-about__greeting-wrap figure.wp-block-image {
    width: 260px !important;
    height: 260px !important;
    margin: 0 0 28px;
  }
}

/* ======================================
   共通：写真エリア
   ====================================== */

.p-about__greeting-wrap figure.wp-block-image {
  overflow: hidden;
}

.p-about__greeting-wrap figure.wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 役職 */
.p-about__greeting-wrap p.font--jp.mgt10 {
  margin: 0 0 6px;
  font-size: 14px;
}

/* 名前 */
.p-about__greeting-wrap p.font--jp:last-of-type {
  margin: 0;
  font-size: 14px;
}
.p-about__greeting-wrap span.fnt26 {
  font-size: 20px;
  font-weight: 500;
}

/* ======================================
   共通：テキストエリア
   ====================================== */

.p-about__greeting-ttl {
  margin: 0 0 20px;
  font-size: 20px !important;
  line-height: 1.6;
  font-weight: 600;
  color: #D99994;
}
@media (max-width: 768px) {
  .p-about__greeting-ttl {
    width: 100%;
    font-size: 24px !important;
  }
}

.p-about__greeting-wrap .swell-block-column:last-child p {
  margin: 0;
}

.p-about__greeting-wrap .swell-block-column:last-child p.mgt20 {
  margin-top: 20px;
}


/* p-company */
.p-company__ttl {
  margin: 40px 0 20px!important;
}
@media (min-width: 1024px) {
  .p-company__ttl {
    margin: 80px 0 40px!important;
  }
}
.p-company__ttl h2{
  font-weight: 500 !important;
}
.p-company__introduction {
  margin: 40px auto;
  font-size: 16px;
  line-height: 1.8;
  box-sizing: border-box;
}

.p-company__list {
  width: 100%;
}

.p-company__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
}

/* 一番上の線なし */
.p-company__row:first-child dd {
  border-top: none;
}

/* 🔸 ddの下だけ下線 */
.p-company__row dd {
  border-bottom: 1px solid rgba(223, 102, 32, 0.3);
  padding-bottom: 16px; /* 下線と文字の間の余白 */
  margin: 0;
  
}

/* dtの設定 */
.p-company__row dt {
  font-weight: 700;
  color: #9FC5A3;
  letter-spacing: 0.05em;
  
}

/* 💻 PC */
@media (min-width: 768px) {
  .p-company__introduction {
    margin: 80px auto;
  }

  .p-company__row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
  }

  .p-company__row dt {
    width: 20%;
    min-width: 120px;
    font-weight: 600;
  }

  .p-company__row dd {
    width: 80%;
    padding-left: 10px;
    padding-bottom: 16px;
  }
}

.wp-block-columns.p-home-company__cont-wrap > .wp-block-column {
  width: 50%;
  border: 2px solid #9FC5A3;
  padding: 30px;
  box-sizing: border-box;
  background-color: #fff;
}
@media (max-width: 768px) {
  .wp-block-columns.p-home-company__cont-wrap > .wp-block-column {
    width: 100%;
  }
}

.p-company__introduction {
  position: relative;
}
.p-company__introduction::before {
  content: "";
  position: absolute;
  background: url(https://www.mentalhr.ms-design.site/wp-content/uploads/2025/09/img_logo_bg.svg) no-repeat center center / contain;
  z-index: -1;
  pointer-events: none;
  right: -4%;
  width: 220px;
  height: 100%;
  bottom: -20%;
}

/* p-about-factory */

/* =========================================
   TOP MV ＋ そわかテキスト
   p-factory-top__wrap
   （SPベース ＋ min-width でPC）
   ========================================= */

/* 共通：コンテナ */
.p-factory-top__wrap {
  max-width: 1200px;
  margin: 0 auto 80px;
  box-sizing: border-box;
}

/* 上の建物画像 */
.p-factory-top__wrap .swell-block-column:first-child figure {
  margin: 0;
}
.p-factory-top__wrap .swell-block-column:first-child img {
  display: block;
  width: 100%;
  height: auto;
}

/* 下のそわかブロック（SP 基準：縦並び） */
.p-factory-top__wrap .swell-block-column:last-child {
  margin-top: 20px;
}

/* 内側のカラム（ロゴ＋テキスト） */
.p-factory-top__wrap .swell-block-column:last-child .wp-block-columns {
  margin: 0 !important;
  padding: 0 !important;
}

/* ロゴの画像サイズ（SP 共通） */
.p-factory-top__wrap .swell-block-column:last-child .wp-block-column:first-child img {
  width: 150px;
  height: auto;
  display: block;
}

/* テキスト（SP 共通） */
.p-factory-top__wrap .swell-block-column:last-child .wp-block-column:last-child p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: #42342b;
  text-align: left;
}

/* =========================================
   PC レイアウト（769px〜）
   ========================================= */
@media (min-width: 769px) {

  /* ロゴ＋テキストを横並びにして、近づける */
  .p-factory-top__wrap .swell-block-column:last-child .wp-block-columns {
    display: flex;
    align-items: center;
    column-gap: 40px;
    justify-content: flex-start;
  }

  /* それぞれのカラムから余計な指定を消す */
  .p-factory-top__wrap .swell-block-column:last-child .wp-block-column {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 左：ロゴ側（幅を決めて縮める） */
  .p-factory-top__wrap .swell-block-column:last-child .wp-block-column:first-child {
    flex: 0 0 auto !important;     /* SWELL の flex-basis を上書き */
    max-width: 220px;              /* ← ロゴの最大幅 */
  }
  .p-factory-top__wrap .swell-block-column:last-child .wp-block-column:first-child img {
    width: 100%;
  }

  /* 右：テキスト側（幅を決めて離れすぎを防止） */
  .p-factory-top__wrap .swell-block-column:last-child .wp-block-column:last-child {
    flex: 0 0 auto !important;
    max-width: 700px;              /* ← テキストブロックの最大幅 */
  }
  .p-factory-top__wrap .swell-block-column:last-child .wp-block-column:last-child p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
  }
}



/* ======================================
   事業内容カード p-about-business__wrap
   ====================================== */

/* セクション全体 */
.p-about-business__wrap {
  row-gap: 40px;          /* スマホ縦並び時の上下間 */
}

/* 各カード：wp-block-column をカード化 */
.p-about-business__wrap .wp-block-column {
  background: #fff8e5;          /* カードのクリーム色 */
  padding: 28px 24px 32px;
  box-sizing: border-box;
  color: #6f5a53;
  font-size: 14px;
  line-height: 1.9;
  border-radius: 4px;
  height: 100%;
  border-radius: 20px;
}

/* 画像 */
.p-about-business__wrap .wp-block-column figure.wp-block-image {
  margin: 0 0 20px;
  background: #c8c8c8;          /* 万が一画像が無い場合の背景 */
  overflow: hidden;
}

.p-about-business__wrap .wp-block-column figure.wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 見出し */
.p-about-business__wrap .wp-block-column > p.font--jp:first-of-type {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
  color: #6f5a53;
}

/* 説明文 */
.p-about-business__wrap .wp-block-column > p.font--jp.mgt20,
.p-about-business__wrap .wp-block-column > p.font--jp:last-of-type {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

/* ======================================
   PC（min-width:959px）だけ横並び
   ====================================== */
@media (min-width: 959px) {

  /* SWELL デフォルトの2カラムを中央に寄せる */
  .p-about-business__wrap {
    justify-content: center;   /* カード2枚を中央寄せ */
    column-gap: 60px;          /* カード間の横の距離 */
  }

  /* カード幅をそろえる */
  .p-about-business__wrap .wp-block-column {
    max-width: 360px;
  }
}

/* ================================
   連携先タグ p-about-lignment
   ================================ */

/* 全体 */

/* リスト */
.p-about-lignment {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

/* タグ本体 */
.p-about-lignment__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px 15px 14px;
  background: #efdede;
  border-radius: 10px;
  color: #6f5a53;
  font-size: 14px;
  line-height: 1.6;
  box-sizing: border-box;
}

/* アイコン丸 */
.p-about-lignment__icon {
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アイコン画像 */
.p-about-lignment__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* テキスト */
.p-about-lignment__label {
  white-space: nowrap;
}

/* ======================================
   ⭐ SP（～958px）：1列固定
   ====================================== */
@media (max-width: 958px) {
  .p-about-lignment__item {
    width: 100%; /* ←1列 */
    max-width: 500px;
  }
  .p-about-lignment {
    justify-content: center;
  }
}

/* ======================================
   ⭐ PC（959px～）：4列固定
   ====================================== */
@media (min-width: 959px) {
  .p-about-lignment {
    justify-content: space-between;
  }

  .p-about-lignment__item {
    width: calc((100% - (16px * 3)) / 4);
    max-width: 300px;
  }
}
/* ================================
   会社情報 p-about-company
   ================================ */

.p-about-company {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  color: #6f5a53;
}

.p-about-company__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 1行（タイトル＋内容） */
.p-about-company__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #C4D8C5; /* 薄いライン */
}

/* 左側タイトル */
.p-about-company__title {
  width: 22%;
  font-weight: 600;
  text-align: left;
  color: #6f5a53;
}

/* 右側テキスト */
.p-about-company__text {
  width: 75%;
  text-align: left;
  line-height: 1.8;
  color: #6f5a53;
}

/* ================================
   SP調整
   ================================ */
@media (max-width: 768px) {
  .p-about-company__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .p-about-company__title,
  .p-about-company__text {
    width: 100%;
  }
}


/* ============================
   ご利用者さまの声 p-voice-message
   ============================ */

/* 全体の横幅・余白 */
.p-voice-message {
  max-width: 1100px;
  margin: 0 auto;
}

/* ★SWELLのレイアウトを上書きしてグリッドにする */
.p-voice-message .swell-block-columns__inner {
  display: grid !important;
  grid-template-columns: 1fr;   /* SP：1列 */
  gap: 20px;
}

/* 各カード */
.p-voice-message .swell-block-column {
  background: #ffffff;
  border: 1px solid #d7e8d4;       /* うすいグリーン枠 */
  border-radius: 10px;
  padding: 16px 18px 18px;
  box-sizing: border-box;
  color: #6f5a53;
}

/* タイトル（お名前） */
.p-voice-message .swell-block-column .wp-block-heading {
  font-size: 13px;
  font-weight: 600;
  color: #88b48b;                  /* タイトルのグリーン */
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d7e8d4;
}

/* テキスト部分 */
.p-voice-message .swell-block-column p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}

/* ========== レスポンシブ(min-width) ========== */
/* PC（959px〜）：3列 */
@media (min-width: 959px) {
  .p-voice-message .swell-block-columns__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* p-factory */
/* =====================================
   施設の特長ブロック（HTML変更なし）
   ===================================== */

.p-factory-features__wrap {
  position: relative;
  background: 
    radial-gradient(circle at 0 0, rgba(252, 233, 233, 0.28), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(252, 233, 233, 0.18), transparent 60%),
    #fdf8f2;
  padding: 20px;
  border-radius: 26px;
  margin: 30px 0;
  overflow: hidden;
}

/* 内側：SP縦並び */
.p-factory-features__wrap .swell-block-columns__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 画像 */
.p-factory-features__wrap img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* -------------------------------------
   英語行（● + テキスト 縦中央揃え）
-------------------------------------- */
.p-factory-features__wrap p:first-of-type {
  display: inline-flex;
  align-items: center;     /* ← 高さが真ん中に揃う！ */
  gap: 6px;
  font-family: "Bad Script", cursive;
  color: #d29a9a;
  font-size: 16px;
  margin-bottom: 4px;
  padding-left: 0;
}

.p-factory-features__wrap p:first-of-type::before {
  content: "●";
  font-size: 10px;
  line-height: 1;
  color: #d29a9a;
  position: static;
}

/* 見出し */
.p-factory-features__wrap h3 {
  font-size: 22px;
  color: #c06d6d;
  margin: 0 0 14px;
  line-height: 1.6;
  font-weight: 600;
}

/* 本文 */
.p-factory-features__wrap p:last-of-type {
  font-size: 14px;
  color: #6f5a53;
  line-height: 2;
  margin: 0;
}

/* =====================================
   PCレイアウト（画像 → テキスト）上揃え
   ===================================== */
@media (min-width: 960px) {

  .p-factory-features__wrap {
    padding: 50px 60px;
  }

  .p-factory-features__wrap::before {
    top: 14px;
    left: 40px;
    font-size: 40px;
  }

  .p-factory-features__wrap .swell-block-columns__inner {
    flex-direction: row;
    align-items: flex-start;   /* ← 上揃えに変更！！ */
    gap: 50px;
  }

  .p-factory-features__wrap .swell-block-column:first-child {
    flex: 0 0 420px; /* 画像幅 */
  }

  .p-factory-features__wrap .swell-block-column:last-child {
    flex: 1;
  }

  .p-factory-features__wrap h3 {
    font-size: 26px;
  }
}

/* =====================================
   ⭐逆バージョン（画像右 / テキスト左）
   HTML に class="-rev" を付けるだけ！
   ===================================== */

.p-factory-features__wrap.-rev::before {
  left: auto;
  right: 26px; /* 番号も右上に */
}

@media (min-width: 960px) {

  .p-factory-features__wrap.-rev .swell-block-columns__inner {
    flex-direction: row-reverse;  /* ← 画像右／テキスト左 */
    align-items: flex-start;      /* ← 上揃え */
  }

  .p-factory-features__wrap.-rev .swell-block-column:first-child {
    flex: 0 0 420px;
  }
}

/* =========================================
   サービスカード p-factory-service__wrap
   （SWELLリッチカラム + インナー1400px対応）
   ========================================= */

/* 外枠（上下余白＋中央寄せだけ） */
.p-factory-service__wrap {
  max-width: 1400px;        /* ← ここでインナー幅管理してOK */
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

/* ★ カラムインナーをグリッド化して列数を制御する */
.p-factory-service__wrap .swell-block-columns__inner {
  display: grid !important;               /* SWELLのflexを上書き */
  grid-template-columns: 1fr;             /* SP：1列 */
  gap: 24px;                              /* カード同士の間隔 */
}

/* タブレット：2列 */
@media (min-width: 640px) {
  .p-factory-service__wrap .swell-block-columns__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* PC：3列 */
@media (min-width: 960px) {
  .p-factory-service__wrap .swell-block-columns__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ----------------------------------------
   各カード（.swell-block-column）
---------------------------------------- */

.p-factory-service__wrap .swell-block-column {
  background: #f3faf6;
  border-radius: 24px;
  overflow: hidden;
  padding-bottom: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* 画像 */
.p-factory-service__wrap figure {
  margin: 0;
}

.p-factory-service__wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px 24px 0 0;  /* 上だけ角丸 */
}

/* 左揃え位置の基準 */
:root {
  --service-card-padding: 20px; /* ← 左右余白ここでまとめて調整できる */
}

/* タイトル（1. 食事・生活支援） */
.p-factory-service__wrap .wp-block-heading {
  margin: 14px var(--service-card-padding) 6px;
  font-size: 16px;
  font-weight: 700;
  color: #4a3d35;
  line-height: 1.6;
  padding-left: 18px;
  margin-top: 16px !important;
}

/* リスト（テキスト部分） */
.p-factory-service__wrap .wp-block-list {
  margin: 0 var(--service-card-padding);
  padding-left: 1.1em;       /* ・の位置を自然に */
  font-size: 13px;
  line-height: 1.9;
  color: #6f5a53;
}

/* li 同士の余白 */
.p-factory-service__wrap .wp-block-list li + li {
  margin-top: 2px;
}

/* =========================================
   入居までの流れ p-factory-flow__list
   SP（デフォルト）
   ========================================= */

.p-factory-flow__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
}

/* 各ステップ */
.p-factory-flow__item {
  position: relative;
  padding: 18px 0;
}

/* カード本体（SPは縦並び） */
.p-factory-flow__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 18px;
  border-radius: 24px;
  border: 1px solid #f3d1c9;
  background: #fffaf4;
  box-sizing: border-box;
}

/* STEP（SPは横並び） */
.p-factory-flow__step {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: auto;
  color: #dd9a8f;
  font-family: "Bad Script", "Shippori Mincho", serif;
}

.p-factory-flow__stepLabel {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.p-factory-flow__stepNum {
  font-size: 36px;   /* SP 少し大きめ */
  line-height: 1;
}

/* テキスト部分 */
.p-factory-flow__body {
  flex: 1;
  color: #6f5a53;
}

.p-factory-flow__ttl {
  margin: 4px 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #d87f76;
}

.p-factory-flow__txt {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

/* ▼ 下向き三角 */
.p-factory-flow__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  border-width: 8px 7px 0 7px;
  border-style: solid;
  border-color: #e6b5a8 transparent transparent transparent;
}

.p-factory-flow__item:last-child::after {
  content: none;
}

/* =========================================
   PC（769px〜）min-width
   ========================================= */
@media (min-width: 769px) {

  .p-factory-flow__card {
    flex-direction: row;
    align-items: center; /* ← 上揃え */
    gap: 28px;
    padding: 26px 30px;
  }

  .p-factory-flow__step {
    display: block;
    text-align: center;
    min-width: 110px;  /* 数字が綺麗に収まる幅 */
  }

  .p-factory-flow__stepLabel {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
  }

  .p-factory-flow__stepNum {
    display: block;
    font-size: 50px;  /* ★ PC大きく */
  }

  .p-factory-flow__ttl {
    font-size: 18px;
    margin-bottom: 10px;
  }
}



/* =========================================
   料金表 p-factory-price（線なし）
   ========================================= */

/* 外枠カード */
.p-factory-price {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 18px 28px;
  background: #fffaf4;
  border-radius: 32px;
  box-sizing: border-box;
}

.p-factory-price ul{
  padding: 0;
}

/* リスト */
.p-factory-price__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各行（SPデフォルト：縦並び） */
.p-factory-price__row {
  padding: 18px 6px;
  border-top: 1px solid #dfeede;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.p-factory-price__row:first-child {
  border-top: none;
}

.p-factory-price__row:last-child {
  border-bottom: 1px solid #dfeede;
}

/* ラベル */
.p-factory-price__label {
  font-size: 16px;
  font-weight: 600;
  color: #81b88a;
}

/* 金額 */
.p-factory-price__value {
  font-size: 15px;
  color: #5a4b45;
}

/* 小注記 */
.p-factory-price__noteInline {
  font-size: 12px;
}

/* 下部注意書き（左寄せ） */
.p-factory-price__note {
  margin: 18px 0;
  font-size: 12px;
  line-height: 1.8;
  color: #6f5a53;
  text-align: left;
}

/* =========================================
   PC min-width（左右きれいに揃える）
   ========================================= */
@media (min-width: 769px) {

  .p-factory-price {
    padding: 40px 80px 36px;
  }

  /* ラベルと金額を横並び */
  .p-factory-price__row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
  }

  /* ラベル幅を固定して揃える */
  .p-factory-price__label {
    font-size: 18px;
    flex: 0 0 180px;
  }

  .p-factory-price__value {
    font-size: 16px;
    white-space: nowrap;
  }

  .p-factory-price__note {
    margin-top: 22px;
    text-align: left;
  }
}



/* =========================================
   アクセス  p-factory-access__wrap
   ========================================= */

/* 外側カード */
.wp-block-columns.p-factory-access__wrap {
  margin: 0 auto;
  background: #fffaf4;
  border-radius: 32px;
  box-sizing: border-box;
}

/* カラム共通：余白リセット */
.p-factory-access__wrap .wp-block-column {
  margin: 0;
}

/* 見出し */
.p-factory-access__wrap h3.wp-block-heading {
  font-size: 22px;
  margin: 0 0 18px;
  color: #42342b;
}

/* テキスト */
.p-factory-access__wrap p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: #42342b;
}

/* Googleマップ iframe */
.p-factory-access__wrap iframe {
  width: 100%;
  max-width: 100%;
  height: 260px;
  border: 0;
  border-radius: 24px;
  display: block;
}

/* =========================================
   PC（min-width: 960px〜）
   横並びレイアウトを CSS Grid で作る
   ========================================= */
@media (min-width: 960px) {

  /* ★ ここで Grid にするので、flex 周りの競合が起きない */
  .wp-block-columns.p-factory-access__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); /* 左:右 ≒ 1:2 */
    column-gap: 40px;
    align-items: start;
  }

  .p-factory-access__wrap h3.wp-block-heading {
    font-size: 26px;
  }

  .p-factory-access__wrap p {
    font-size: 15px;
  }

  .p-factory-access__wrap iframe {
    height: 360px;
  }
}



/* =========================================
   Instagram 横スクロール
   （ネイティブのバーを1本だけ緑色に）
========================================= */

.swell-block-columns.p-factory-Instagram__sc {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;  /* 下に少し余白だけつける */
}

/* 中身を横並びに（カードは横に流れる） */
.p-factory-Instagram__sc .swell-block-columns__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  min-width: max-content;
}

/* カード幅 */
.p-factory-Instagram__sc .swell-block-column {
  flex: 0 0 260px; /* 好きな幅に調整してOK */
}

/* カード見た目 */
.p-factory-Instagram__sc figure {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #dddedf;
}

.p-factory-Instagram__sc img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

/* ⭐ ネイティブのスクロールバーの色だけ変える */
/* Chrome / Edge / Safari */
.swell-block-columns.p-factory-Instagram__sc::-webkit-scrollbar {
  height: 6px;              /* バーの太さ */
}

.swell-block-columns.p-factory-Instagram__sc::-webkit-scrollbar-track {
  background: #eeeae2;      /* レールの色 */
}

.swell-block-columns.p-factory-Instagram__sc::-webkit-scrollbar-thumb {
  background: #9fc5a3;      /* ★ 緑のバー */
  border-radius: 999px;
}

/* Firefox 用（対応範囲は少なめ） */
.swell-block-columns.p-factory-Instagram__sc {
  scrollbar-width: thin;
  scrollbar-color: #9fc5a3 #eeeae2;
}

/* ヒントテキストはそのまま or ちょい調整したければ */
.p-factory-Instagram__sc .c-scrollHint {
  font-size: 11px;
  color: #6f5a53;
  bottom: -4px; /* お好みで上下微調整 */
}