/* color設定 */
:root {
  --color_white: #ffffff;
  --color_black: #1f1f1f;
  --color_lightglay: #f3f2ef;
  --color_darkglay: #dedede;
}
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 1px;
  background-color: var(--color_lightglay);
  color: var(--color_black);
}
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/wp-content/uploads/2025/11/bg-sunflower@2x-8.png) no-repeat
    right 100px;
  pointer-events: none;
  z-index: -1;
}
.l-contents__inner:last-child {
  padding-bottom: 0;
}

.c-meta__item--author {
  display: none;
}
/* br*/
.br-sp {
  display: none;
}
.br-tab {
  display: none;
}
.br-pc {
  display: block;
}
/* 基本設定 */
a:hover img {
  opacity: 0.6;
  filter: alpha(opacity=60);
  transition: all 0.5s;
}
p,
a,
li {
  font-weight: 500;
}
.pt_0 {
  padding-top: 0 !important;
}
.pt_10 {
  padding-top: 10px !important;
}
.pb_0 {
  padding-bottom: 0 !important;
}
.pb_10 {
  padding-bottom: 10px !important;
}
.mt_0 {
  margin-top: 0 !important;
}
.mb_0 {
  margin-bottom: 0 !important;
}
.mr_0 {
  margin-right: 0 !important;
}
.ml_0 {
  margin-left: 0 !important;
}
.mt_10 {
  margin-top: 10px !important;
}
.mb_10 {
  margin-bottom: 10px !important;
}
.z_0 {
  z-index: 0;
}
.z_1 {
  z-index: 1;
}
.p_ab {
  position: absolute;
}
.p_rel {
  position: relative;
}
.d_flex {
  display: flex;
}
.d_flex.f_wrap {
  flex-wrap: wrap;
}
.inline_b {
  display: inline-block;
}
.js_sb {
  justify-content: space-between;
}
.js_fs {
  justify-content: flex-start;
}
.of_hd {
  overflow: hidden;
}
.border_pink {
  border-bottom: 2px solid #ed7780 !important;
}
.mincho {
  font-family: "Zen Antique Soft", serif;
}
.maru {
  font-family: "Zen Maru Gothic", serif;
}
.smb-panels__item__action > a:focus:after {
  outline: none;
  outline-offset: 0px;
}
.tate {
  writing-mode: vertical-rl;
}
/* 基本設定 終わり*/
/* アイコン */
.svg-inline--fa {
  margin-right: 4px;
}
.c-page-top .svg-inline--fa {
  margin-right: 0;
}
.p-global-nav--hover-extend-underline .c-navbar__item.cta:hover > a:after {
  width: 0;
}
/* アイコン 終わり*/
/* ボタン */
a.smb-btn {
  background-color: #fff;
  position: relative;
  transition: 0.25s;
  color: var(--color_white) !important;
  z-index: 2;
  padding: 1.4rem;
  min-width: 424px;
  background: linear-gradient(
    -90deg,
    #fe8e40 0%,

    /* ← 中間を少し明るくしてコントラストUP */ #f77466 100%
  );
  background-size: 200% 100%;
  border: none;
  border-radius: 5px;
}
a.smb-btn:hover {
  color: #fff !important;
  box-shadow: none;
  background-position: 100% 0;
  filter: brightness(100%);
  transition: all 0.4s ease;
}
/* 白ボタン */
.btn-wh a.smb-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 3rem;
  transition: 0.25s;
  color: var(--wp--preset--color--sm-accent) !important;
  z-index: 2;
  padding: 1.4rem;
  min-width: 424px;
  background: initial;
  background-color: var(--color_white) !important;
}
.btn-wh .smb-btn::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 14px;
  background-image: url("/wp-content/uploads/2025/11/ico-arrow-or.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  transition: transform 0.3s ease;
}

/* 矢印 */
.btn-arrow .smb-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 3rem;
}
.btn-arrow .smb-btn__label,
.btn-wh .smb-btn__label {
  display: inline-block;
  text-align: center;
}
.btn-arrow .smb-btn::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 14px;
  background-image: url("/wp-content/uploads/2025/11/ico-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  transition: transform 0.3s ease;
}
/* ホバー時に右へスライド */
.btn-arrow .smb-btn:hover::after,
.btn-wh .smb-btn:hover::after {
  transform: translate(6px, -50%);
}
/* グローバルナビ */
.c-site-branding__title .custom-logo {
  width: auto;
  height: 80px;
}
.p-global-nav .c-navbar__item > a {
  color: var(--color_black);
}
.p-global-nav .c-navbar__item > a:hover {
  color: var(--wp--preset--color--sm-accent);
}
.l-1row-header .c-fluid-container {
  padding-right: 0;
}
[data-scrolled="false"]
  .l-header--sticky-overlay-colored-lg
  .p-global-nav
  .c-navbar__item
  > a {
  color: var(--color_black);
}
[data-scrolled="false"]
  .l-header--sticky-overlay-colored-lg
  .p-global-nav
  .c-navbar__item.header_cta
  > a {
  color: var(--color_white);
}
.p-global-nav .c-navbar__item.header_cta > a {
}
.p-global-nav .c-navbar__item.tel > a {
  font-size: 1rem;
}
.p-global-nav .c-navbar__item.contact > a {
  font-weight: 500;
}
ul#menu-g_nav {
  height: 100px;
}
li.header_cta.tel::after {
  content: "";
  width: 1px;
  height: 90%;
  position: absolute;
  top: 50%;
  left: 0;
  background-color: #fff;
  transform: translateY(-50%);
}
.p-global-nav .c-navbar__item[aria-haspopup="true"]:before {
  display: none;
}
li.g_nav_sab {
  border-bottom: 1px solid #ffffff80;
}
.p-global-nav .c-navbar__item.header_cta > a:hover {
  opacity: 0.9;
  transition: 0.5s;
}
#menu-item-30 a {
  background-color: #fff;
  position: relative;
  transition: 0.25s;
  color: var(--color_white) !important;
  z-index: 2;
  background: linear-gradient(
    -90deg,
    #fe8e40 0%,

    /* ← 中間を少し明るくしてコントラストUP */ #f77466 100%
  );
  background-size: 200% 100%;
  border: none;
  border-bottom-left-radius: 5px;
  padding: 1.8rem;
  margin-left: 20px;
}
#menu-item-30 a span {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#menu-item-30 a span::before {
  content: "";
  display: block;
  width: 41px; /* ← アイコンサイズ調整 */
  height: 28px;
  background-image: url("/wp-content/uploads/2025/11/ico-mail.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 10px; /* テキストとの間隔 */
}
#menu-item-30 a:hover {
  color: #fff !important;
  box-shadow: none;
  background-position: 100% 0;
  filter: brightness(100%);
  transition: all 0.4s ease;
}
/* サブメニュー */
.p-global-nav .c-navbar__submenu {
  background: linear-gradient(
    -90deg,
    #fe8e40 0%,
    /* ← 中間を少し明るくしてコントラストUP */ #f77466 100%
  ) !important;
  background-size: 200% 100% !important;
  border-radius: 5px;
  top: 80px !important;
}
.p-global-nav .c-navbar__submenu:hover {
  background-position: 100% 0 !important;
  filter: brightness(100%) !important;
  transition: all 0.4s ease !important;
}
@media (max-width: 1280px) {
  [data-scrolled="false"]
    .l-header--sticky-overlay-colored-lg
    .p-global-nav
    .c-navbar__item
    > a {
    color: #fff;
    padding-right: 15px;
    padding-left: 15px;
  }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  .l-1row-header__branding {
    max-width: 250px;
  }
}
@media (max-width: 1024px) {
  .c-drawer {
    background: linear-gradient(
      -90deg,
      #f77466 0%,
      /* ← 中間を少し明るくしてコントラストUP */ #fe8e40 100%
    );
  }
  ul#menu-sp_nav {
    display: flex;
    flex-wrap: wrap;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
  }
  ul#menu-sp_nav li {
    width: 100%;
    font-size: 1rem;
    padding: 1em 0;
  }
  ul#menu-sp_nav li a {
    font-weight: 700;
  }
  ul#menu-sp_nav li.w_100 {
    width: 100%;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    position: relative;
  }
  ul#menu-sp_nav li.w_100::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  ul#menu-sp_nav li.sp_menu_cta {
    text-align: center;
    background-color: #fff;
    color: var(--wp--preset--color--sm-accent);
  }
  ul#menu-sp_nav li.sp_menu_cta.tel {
    font-family: "EB Garamond";
    font-size: 1.4rem;
  }
  ul#menu-sp_nav li.sp_menu_cta.con {
    font-family: "Zen Antique Soft";
    font-size: 1.2rem;
  }
  ul#menu-sp_nav li.sp_menu_cta {
    text-align: center;
    background-color: #fff;
    color: var(--wp--preset--color--sm-accent);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 10px;
    line-height: 1;
  }
  ul#menu-sp_nav li.sp_menu_cta a svg {
    display: block;
    margin-right: 0;
    width: 100%;
    font-size: 1.1rem;
    margin-bottom: 7px;
  }
  .c-hamburger-btn {
    width: 60px;
    height: 60px;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    background: linear-gradient(
      -90deg,
      #fe8e40 0%,
      /* ← 中間を少し明るくしてコントラストUP */ #f77466 100%
    );
    background-size: 200% 100%;
    border: none;
    border-bottom-left-radius: 5px;
  }
  .c-hamburger-btn__bar {
    height: 2px !important;
    border-radius: 30px;
    background-color: var(--color_white) !important;
  }
  .c-hamburger-btn[aria-expanded="true"]
    > .c-hamburger-btn__bars
    > .c-hamburger-btn__bar:nth-of-type(2) {
    background-color: initial !important;
  }
  .c-hamburger-btn__label {
    display: block;
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.03em;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: var(--color_white);
  }
  ul#menu-sp_nav li::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--color_white);
    position: absolute;
    bottom: 0;
    left: 0;
  }
  #menu-item-93 {
    background-color: var(--color_white);
    color: var(--color_black) !important;
    text-align: center;
    margin-top: 1rem;
    border-radius: 5px;
    display: flex !important;
    align-items: center; /* アイコンと文字を縦中央揃え */
    justify-content: center;
    gap: 8px; /* アイコンと文字の間に余白 */
    padding: 0.5rem 0;
  }
  #menu-item-93::before {
    content: "";
    display: inline-block;
    width: 27px;
    height: 20px;
    background-image: url(/wp-content/uploads/2025/11/ico-mail-bk.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  #menu-item-1300 {
    background-color: var(--color_white);
    color: var(--color_black) !important;
    text-align: center;
    margin-top: 1rem;
    border-radius: 5px;
    padding: 0.5rem 0;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.03em;
  }
  .tel-number {
    font-optical-sizing: auto;
    font-size: 1.4rem;
  }
  .smb-btn__label.tel {
    font-size: 0.8rem;
  }
}
/* グローバルナビ終わり */
/* 下層ページヘッダー */
.c-page-header {
  padding-bottom: 0 !important;
}
h1.c-page-header__title {
  text-align: center !important;
  font-size: clamp(1.2rem, 0.909rem + 1.45vw, 2rem);
}
.c-page-header,
.works-template-default .c-page-header {
  height: 300px !important; /* ← 高さを固定 */
}
.c-page-header[data-has-image="true"] {
  height: unset;
}
.c-page-header[data-has-image="true"] .c-page-header__content {
  color: unset;
}
.c-page-header__bgimage > img,
.c-page-header__bgimage > picture > img {
  display: none;
}
.page-header.smb-section-with-bgimage figure {
  left: 8vw; /* 左の余白を少し開ける */
  width: calc(100vw - 8vw);
  overflow: hidden; /* ← はみ出た部分を隠す */
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.page-header .page-header-img img {
  width: 100%;
  height: 520px;
  object-fit: cover; /* ← トリミングしてフィット */
  object-position: center 35%; /* ← 中央を基準にトリミング */
  display: block;
}

/* ページヘッダータイトル */
.page-id-19 .c-page-header__title::before,
.page-id-21 .c-page-header__title::before,
.page-id-173 .c-page-header__title::before,
.page-id-175 .c-page-header__title::before,
.page-id-23 .c-page-header__title::before,
.page-id-77 .c-page-header__title::before,
.post-type-archive-works .c-page-header__title::before,
.works-template-default .c-page-header__title::before,
.blog .c-page-header__title::before,
.post-template-default .c-page-header__title::before,
.archive.category .c-page-header__title::before {
  display: block;
  font-size: clamp(2rem, 1.273rem + 3.64vw, 4rem);
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #ffa801 0%, #f77466 50%, #e41600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.page-id-19 .c-page-header__title::before {
  content: "COMPANY";
}
.page-id-21 .c-page-header__title::before {
  content: "HIMAWARI";
}
.page-id-173 .c-page-header__title::before {
  content: "SUNFLOWER";
}
.page-id-175 .c-page-header__title::before {
  content: "RECRUIT";
}
.page-id-23 .c-page-header__title::before {
  content: "CONTACT";
}
.page-id-77 .c-page-header__title::before {
  content: "PRIVACY POLICY";
}
.blog .c-page-header__title::before,
.post-template-default .c-page-header__title::before,
.archive.category .c-page-header__title::before {
  content: "NEWS";
}
.p-breadcrumbs-wrapper {
  background: linear-gradient(-90deg, #f77466 0%, #fe8e40 100%);
  width: fit-content;
  margin-right: 0;
  padding-inline: 1rem;
  border-radius: 5px;
  color: var(--color_white);
}
/* プライバシーポリシー */
#privacy h3 {
  margin-bottom: 10px !important;
  padding-left: 10px;
  border-left: solid 3px var(--wp--preset--color--sm-accent);
  font-weight: 700;
}

/*--- お問い合わせフォーム ---*/
/* SP版の確認画面ボタンボタン余白 */
.smf-action .smf-button-control__control {
  margin-bottom: 20px;
}

/* 投稿(シンプル)のSPレスポンシブ */
@media screen and (max-width: 639px) {
  .c-entries--simple .c-entry-summary__content {
    display: block;
  }

  .c-entries--simple .c-entry-summary__figure {
    float: inherit;
    width: 100%;
    margin-bottom: 20px;
  }
}
/*--------------------  汎用 -------------------- */
h2.title-heading {
  font-size: clamp(1.8rem, 1.364rem + 2.18vw, 3rem);
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #ffa801 0%, #f77466 50%, #e41600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* Firefox用 */
  color: transparent;
}
h2.title-heading--accent {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.title-subheading {
  font-size: clamp(2rem, 1.273rem + 3.64vw, 4rem);
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #ffa801 0%, #f77466 50%, #e41600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* Firefox用 */
  color: transparent;
}
h3.title-heading {
  font-size: clamp(1.4rem, 1.182rem + 1.09vw, 2rem);
}
h4.title-heading {
  font-size: clamp(1.2rem, 0.982rem + 1.09vw, 1.8rem);
}
/* 追従バナー */
.banner-wrap {
  position: fixed;
  top: 77%;
  right: 0;
  z-index: 1000;
}
.banner-wrap img {
  width: 296px;
}
/* テーブル */
.table table,
.table tbody {
  display: block;
  width: 100%;
}
.table tr {
  display: flex;
  flex-wrap: wrap;
}
.table figure.wp-block-table tr td:first-child {
  width: 30%;
  text-align: left;
  vertical-align: middle;
  font-weight: 700 !important;
  color: var(--color_black);
  border-bottom: 1px solid var(--color_darkglay) !important;
  padding: 1.2rem;
}
.table figure.wp-block-table tr td {
  border: none !important;
  border-bottom: 1px solid var(--color_darkglay) !important;
  display: block;
  vertical-align: middle !important;
}
.table figure.wp-block-table tr:first-child {
  border-top: none;
}
.table figure tr td:last-child {
  width: 70%;
  padding: 1.2rem;
}
@media screen and (max-width: 640px) {
  .table figure.wp-block-table tr td:first-child,
  .table figure tr td:last-child {
    width: 100%;
  }
  .table figure.wp-block-table tr td:first-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .table figure.wp-block-table tr td:first-child {
    padding: 1rem;
    vertical-align: middle !important;
  }
  .table figure tr td:last-child {
    padding: 0 1rem 1rem;
  }
}
/*--------------------  topページ -------------------- */
.main-visual {
  background-image: linear-gradient(-90deg, #f1ebc8, #ffdebd);
  position: relative;
  min-height: 105vh; /* 画面高さの90%を基準に */
  display: flex;
  align-items: center;
}
.main-visual::after {
  content: "";
  position: absolute;
  bottom: -50px; /* 高さは調整 */
  left: 0;
  width: 100%;
  height: 380px;
  background: url("/wp-content/uploads/2025/10/wave.svg") no-repeat top center;
  background-size: cover; /* 幅いっぱいに広げる */
}
/* 親要素のレイアウトを右寄せに変更 */
.main-visual .smb-section__contents-wrapper {
  display: flex !important;
  justify-content: flex-end !important;
}
/* スライダー本体 */
.main-visual .smb-spider-slider {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%); /* 縦中央揃え */
  width: 65%; /* ← 大きめに */
  max-width: 1200px;
  aspect-ratio: auto !important;
  z-index: 2;
}
/* 液体シェイプは外枠固定 */
.smb-spider-slider__figure-wrapper {
  -webkit-mask-image: url("/wp-content/uploads/2025/10/shape.svg");
  mask-image: url("/wp-content/uploads/2025/10/shape.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  overflow: hidden;
}

.main-wrap {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%); /* 縦中央揃え */
  left: 3%;
}
.main-visual__heading {
  background-color: var(--color_white);
  width: fit-content;
  padding: 0 1.2em;
  border-radius: 5px;
  margin-left: 0 !important;
  margin-right: auto; /* ← 自動で右側に余白を取る（左寄せの決め手） */
  text-align: left; /* ← テキスト方向を明示的に左揃え */
}
.main-wrap .main-visual__heading:nth-child(2) {
  margin-left: 6em !important;
}
.main-visual__text {
  color: var(--color_white);
  font-size: clamp(1.8rem, 0.709rem + 5.45vw, 4.8rem);
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #ffa801 0%, #f77466 50%, #e41600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* Firefox用 */
  color: transparent;
  margin-top: 0 !important;
}

.bbs {
  align-items: center;
  display: flex;
  /*overflow: hidden;*/
  white-space: nowrap;
  width: 100%;
  padding-top: 2rem;
}
.bbs ul {
  animation: flowing 120s linear infinite;
  transform: translateX(100%);
  margin: 0;
  padding: 0;
}
.bbs ul li {
  display: inline-block;
  padding-right: 60px;
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(2.4rem, 0.218rem + 10.91vw, 8.4rem);
  color: var(--color_darkglay);
  opacity: 0.4;
}
@keyframes flowing {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}
/* ひまわりホールディングスについて */
.about-column {
  background-color: var(--color_white);
}
.about-column .wp-block-column {
  padding: 5rem 3rem;
  position: relative;
}
.about-section .lead,
.recruit-section .lead {
  font-size: clamp(1.2rem, 1.127rem + 0.36vw, 1.4rem);
  font-weight: 700;
}
/* 左上の番号を自動で表示 */
.about-column .wp-block-column::before {
  position: absolute;
  top: -35px;
  left: 20px;
  font-size: clamp(6.4rem, 6.036rem + 1.82vw, 7.4rem);
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #ffa801 0%, #f77466 50%, #e41600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* Firefox用 */
  color: transparent;
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
  opacity: 0.2;
}
/* 各カラムごとに番号を指定 */
.about-column .wp-block-column:nth-of-type(1)::before {
  content: "01";
}

.about-column .wp-block-column:nth-of-type(2)::before {
  content: "02";
}

.about-column .wp-block-column:nth-of-type(3)::before {
  content: "03";
}
.about-column h4 {
  font-size: clamp(1.6rem, 1.455rem + 0.73vw, 2rem);
}
.about-column .icon img {
  height: 140px;
}
.about-column.is-layout-flex {
  gap: 0;
}
.about-column .wp-block-column:not(:last-child) {
  border-right: 1px solid #fe8e40; /* 線の色・太さ */
}
.business-section .wp-block-column {
  color: var(--color_white);
}
.business-section .smb-section__background {
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}
.business-section .business-photo img,
.facility-section .facility-card img,
.support-section .support-photo img {
  border-radius: 5px;
}
.business-section .wp-block-columns.is-layout-flex,
.message-section .wp-block-columns.is-layout-flex,
.recruit-section .wp-block-columns.is-layout-flex,
.facility-card .wp-block-columns.is-layout-flex,
.support-section .wp-block-columns.is-layout-flex,
.care-facility-section .wp-block-columns.is-layout-flex {
  gap: 80px;
}
.business-section .midashi {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
/* スライダー全体 */
.slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 0 !important;
}
/* スライドを横に並べて無限スクロール */
.slider {
  display: flex;
  width: max-content;
  animation: scroll-right 30s linear infinite;
}
ul.slider {
  padding: 0;
  display: flex;
}
.slider li {
  list-style-type: none;
}
.slide {
  width: 20vw;
  /* ← 5枚表示に変更 */
  flex-shrink: 0;
}
.slide img {
  display: block;
  width: 95%;
  height: auto;
  border-radius: 5px;
}
.slide:nth-child(even) {
  margin-top: 60px; /* 任意の高さ */
}
/* アニメーション */
@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
/* お問い合わせ */
.contact-section {
  background-color: var(--color_white);
  border-radius: 5px;
  padding: 3rem !important;
  margin-top: 6rem;
}
.btn-contact .smb-btn__label {
  display: inline-flex; /* 横並び配置 */
  align-items: center; /* 縦位置を中央に */
  gap: 8px;
}
.btn-contact .smb-btn__label::before {
  content: "";
  display: inline-block;
  width: 27px; /* アイコンのサイズ調整 */
  height: 20px;
  background-image: url("/wp-content/uploads/2025/11/ico-mail.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.telnumber {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.03em;
}
.telnumber a {
  text-decoration: none;
  transition: color 0.4s ease;
}
.telnumber a:hover {
  color: var(--wp--preset--color--sm-accent);
}
.tel-link {
  text-decoration: none;
  color: inherit; /* 元の色を維持 */
  display: inline-flex;
  align-items: center;
  gap: 0 !important;
}
.hana-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  line-height: 1;
  margin-top: -18px;
}
.hana-block .hana {
  font-size: 1.2rem;
  margin-bottom: 0;
  line-height: 1;
}
.tel-prefix,
.hana-block .num {
  font-size: clamp(2rem, 1.636rem + 1.82vw, 3rem); /* ← 好みで調整 */
  line-height: 1;
}
.telnumber-small {
  font-size: clamp(1rem, 0.927rem + 0.36vw, 1.2rem);
  margin-right: -8px;
}
.business-hours {
  margin-top: 1rem !important;
}

/* 代表挨拶 */
.name {
  margin-top: 5px !important;
}
/* 求人情報 */
.recruit-img img {
  height: 640px;
  object-fit: cover; /* ← 画像をトリミングして枠にフィット */
  object-position: top; /* ← 中央を基準に表示（左右上下も指定可） */
  border-radius: 5px;
  display: block;
}
.recruit-column,
.care-facility-column {
  margin: 4rem 0 !important;
}
.recruit-section .title-subheading {
  margin-top: 3rem !important;
}
.recruit-section .smb-panels__item__title,
.recruit-section .smb-panels__item__content,
.care-facility-section .smb-panels__item__title,
.care-facility-section .smb-panels__item__content {
  text-align: left !important;
}
.recruit-section .smb-panels__item__figure img,
.care-facility-section .smb-panels__item__figure img {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  height: auto;
}
.recruit-section .smb-panels__item,
.care-facility-section .smb-panels__item {
  box-shadow: none;
  border-radius: 5px;
}
.recruit-section h3.smb-panels__item__title {
  font-size: 1.6rem;
}
.recruit-section h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem !important;
}
.recruit-section .smb-panels__item__content,
.care-facility-section .smb-panels__item__content {
  font-weight: 500;
}
.recruit-section .recruit-tag {
  background-color: var(--color_white);
  border-radius: 5px;
  padding: 1rem 0;
  font-size: 3rem;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.03em;
  display: grid;
  place-items: center; /* 横・縦とも中央揃え */
  min-height: 4vh;
}
.recruit-section .recruit-tag p {
  font-size: clamp(1.6rem, 1.455rem + 0.73vw, 2rem);
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #ffa801 0%, #f77466 50%, #e41600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.recruit-section .smb-buttons {
  margin-top: 4rem;
}
.recruit-section .smb-section__background {
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
}
/* フッター */
.l-footer.l-footer--footer-2 {
  background-color: var(--color_black) !important;
  color: var(--color_white);
  margin-top: 6rem;
}
.l-footer--footer-2 .l-footer__body {
  border-top: none;
}
.l-footer--footer-2 .l-footer__header {
  padding-bottom: 0;
  padding-top: 0;
}
.l-footer__branding .c-site-branding.c-site-branding--has-logo {
  display: none !important;
}
.l-footer--footer-2 .l-footer__footer {
  background-color: var(--color_black);
  padding-top: 0;
}
.l-footer__footer .c-row {
  justify-content: right !important;
}
/* ▼ メニュー項目の横並び設定 */
#menu-footer1 {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}
#menu-footer1 li {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  white-space: nowrap;
  margin: 0;
}
#menu-footer1 li a:hover {
  color: var(--wp--preset--color--sm-accent);
  text-decoration: none;
}
/* ページトップ */
#page-top {
  border-radius: 50px !important;
  background: linear-gradient(-90deg, #f77466 0%, #fe8e40 100%) !important;
  bottom: 10px !important;
  right: 10px !important;
}
.c-page-top a {
  color: var(--color_white);
}
#page-top svg.svg-inline--fa {
  margin-right: 0 !important;
}
/*--------------------  下層ページ -------------------- */
.bg-himawari-left {
  position: absolute;
  left: 0 !important;
  bottom: 0;
}
.bg-himawari-top-right {
  position: absolute;
  right: 0 !important;
  top: 0;
  z-index: -1;
}
.bg-himawari-left img {
  width: 40%;
}

.bg-himawari-center-left {
  position: absolute;
  left: 0 !important;
  top: 20%;
  width: 100%;
}
.bg-himawari-center-left img {
  width: 30%;
}
.bg-himawari-bottom-right {
  position: absolute;
  bottom: 0 !important;
  right: 0;
  z-index: -1;
}
/* 会社概要 */
.bg-rounded {
  background-color: var(--color_white);
  border-radius: 5px;
  padding: 3rem;
}
.map iframe {
  border-radius: 5px;
}
/* ひまわり */
.himawari-concept .slider-wrapper {
  margin-top: 80px !important;
}
.facility-card {
  background-color: var(--color_white);
}
.facility-card img {
  width: 100% !important;
  height: 390px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
.facility-card h3 {
  font-size: clamp(1.3rem, 1.045rem + 1.27vw, 2rem);
}
/* サンフラワー */
.support-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.support-section .support-flow.wp-block-columns.is-layout-flex {
  gap: 40px; /* カラム間の間隔 */
}
.support-step {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* 内部要素の高さを揃える */
}
.support-step .circle {
  flex: 1; /* これで各ブロックを同じ高さに */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--color_white);
  border-radius: 5px;
  overflow: hidden;
  padding: 2.8rem 2rem;
  box-sizing: border-box;
}
.support-step .circle p {
  font-size: clamp(1rem, 0.927rem + 0.36vw, 1.2rem);
  font-weight: 700;
  margin-top: auto; /* テキストを下に寄せる場合 */
}
.support-step .circle img {
  width: auto; /* ← 統一サイズ（好みで調整可） */
  height: 140px; /* ← 高さも統一 */
  object-fit: contain; /* ← 画像が歪まないように */
  margin: 0 auto 20px; /* ← 中央寄せ＋下に余白 */
  display: block;
}
.merit-column h4 {
  color: var(--color_white);
  padding-top: 3rem;
}
.merit-column .bg-rounded h4 {
  color: var(--color_black);
  padding-top: 0;
}
.merit-tbl__wrapper table td {
  border: solid 1px var(--color_black) !important;
}
.merit-tbl__wrapper {
  overflow: hidden !important;
  overflow-x: auto !important;
}
/* 基本の枠線設定（外枠は黒） */
.merit-tbl__wrapper table {
  border-collapse: collapse;
  width: 100%;
  min-width: 650px;
  border: 1px solid var(--color_black) !important;
}

.merit-tbl__wrapper table th,
.merit-tbl__wrapper table td {
  border: 1px solid var(--color_black) !important;
  padding: 12px;
}

/* ← 項目と詳細の間（縦線）だけ白に上書き */
.merit-tbl__wrapper table th:first-child {
  border-right: 1px solid var(--color_white) !important;
}

.merit-tbl__wrapper.wp-block-table thead {
  border-bottom: none !important;
  background-color: var(--color_black);
}
.wp-block-table td,
.wp-block-table th {
  border: solid 1px var(--color_white) !important;
}
.merit-tbl__wrapper table td {
  background-color: var(--color_white);
}
.scroll {
  display: none;
}
/* カード全体のラッパー */
.recruit-column,
.care-facility-column {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important; /* ← 各カラムの高さを揃える */
}

/* 各カラム */
.recruit-column .wp-block-column,
.care-facility-column .wp-block-column {
  display: flex !important;
  flex-direction: column !important;
}

/* Snow Monkeyのラッパー（これが効かないと高さ揃わない） */
.recruit-column .wp-block-snow-monkey-blocks-panels,
.care-facility-column .wp-block-snow-monkey-blocks-panels {
  display: flex !important;
  flex: 1 1 auto !important;
}

/* c-row */
.recruit-column .c-row,
.care-facility-column .c-row {
  display: flex !important;
  flex: 1 1 auto !important;
  height: 100% !important;
}

/* c-row__col */
.recruit-column .c-row__col,
.care-facility-column .c-row__col {
  display: flex !important;
  flex: 1 1 auto !important;
  height: 100% !important;
}
/* 本文部分 */
.recruit-column .smb-panels__item__body,
.care-facility-column .smb-panels__item__body {
  flex: 1 1 auto !important;
  padding: 20px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important; /* ← 上ぞろえ */
  align-items: flex-start !important; /* ← 左寄せ（中央揃え解除） */
}

/* smb-panels__item（中身全体） */
.recruit-column .smb-panels__item,
.care-facility-column .smb-panels__item {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  background-color: var(--color_white);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}
/* パネルの矢印を完全に非表示にする（全パターン対応） */
.smb-panels__item--block-link,
.smb-panels__item--horizontal,
.smb-panels__item--vertical {
  cursor: auto !important;
}

.care-facility-section .map {
  margin-top: 4rem;
}

/* 求人情報 */
.page-id-175 .recruit-section .title-subheading {
  margin-top: 0 !important;
}
/* お問い合わせ */
.smf-form--simple-table .smf-item__col--label {
  padding-right: var(--_padding1);
  border-bottom: none;
  font-weight: 900;
  padding: 1.4rem;
}
.smf-form--simple-table .smf-item__col--controls {
  border-bottom: 1px solid var(--color_black);
  padding: 0 1.4rem 1.4rem;
  display: flex;
  align-items: center;
}
.smf-form--simple-table .smf-item__controls {
  width: 100%; /* 親にフィットさせる */
  max-width: 100%;
  box-sizing: border-box;
}
.smf-form--simple-table .smf-item {
  padding: 0 !important;
}
.smf-item__description {
  background: linear-gradient(-90deg, #fe8e40 0%, #f77466 100%);
  width: fit-content;
  padding: 0.5em 0.8em;
  color: var(--color_white);
  border-radius: 5px;
}
@media (min-width: 640px) {
  .smf-form--simple-table .smf-item__col--label {
    flex: 0 0 14em;
    max-width: 14em;
    padding-bottom: 0;
    padding-right: var(--_padding1);
    border-bottom: 1px solid var(--color_darkglay);
    font-weight: 900;
    padding: 0 1.4rem 1.4rem;
    margin-bottom: 1.4rem;
  }
  .smf-form--simple-table .smf-item__col--controls {
    flex: 1 1 calc(100% - 14em);
    max-width: calc(100% - 14em);
    border-bottom: 1px solid var(--color_darkglay);
    padding: 0 1.4rem 1.4rem;
    margin-bottom: 1.4rem;
  }
}
/* ボタンの基本スタイル */
/* グラデ背景をボタン本体に適用 */
.smf-button-control__control {
  display: inline-block;
  min-width: 424px;
  height: 60px;
  color: var(--color_white) !important;
  background: linear-gradient(
    -90deg,
    #fe8e40 0%,
    /* ← 中間を少し明るくしてコントラストUP */ #f77466 100%
  ) !important;
  background-size: 200% 100% !important;
  transition: all 0.4s eas !important;
  border: none !important;
  border-radius: 5px !important;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1rem !important;
}
/* ホバー時のエフェクト */
.smf-button-control__control:hover {
  color: #fff !important;
  box-shadow: none;
  background-position: 100% 0 !important;
  filter: brightness(100%) !important;
  transition: all 0.4s ease !important;
}
.smf-button-control__control::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 14px;
  background-image: url("/wp-content/uploads/2025/11/ico-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  transition: transform 0.3s ease;
}
/* ホバー時に右へスライド */
.smf-button-control__control:hover::after {
  transform: translate(6px, -50%);
}
/* お知らせ */
.c-entries--simple .c-entry-summary__figure {
  border-radius: 5px;
}
.c-entry-summary__term {
  background: linear-gradient(
    -90deg,
    #fe8e40 0%,
    /* ← 中間を少し明るくしてコントラストUP */ #f77466 100%
  ) !important;
}
/*--------------------  レスポンシブ -------------------- */
@media screen and (max-width: 1400px) {
  /* ひまわりホールディングスについて */
  .business-section .wp-block-column {
    padding: 0 1rem;
  }
}
@media screen and (max-width: 1200px) {
  .main-visual .smb-spider-slider {
    position: relative; /* スマホでは通常フローに戻す */
    transform: translateY(-60%); /* ← 少し上に移動（調整可） */
    width: 100%;
  }
  .main-wrap {
    position: relative;
    top: -15%;
    left: auto;
    text-align: center;
  }
  .main-visual {
    background-image: linear-gradient(-90deg, #f1ebc8, #ffdebd);
    position: relative;
    min-height: auto;
  }
  .main-wrap .main-visual__heading:nth-child(2) {
    margin-left: 0 !important;
  }
  body::before,
  .bg-himawari-top-right,
  .bg-himawari-center-left,
  .bg-himawari-bottom-right {
    opacity: 0.3; /* ←ここで画像だけ透明度調整 */
  }
  .slide {
    width: 40vw;
    flex-shrink: 0;
  }
  .slide img {
    display: block;
    width: 95%;
    height: auto;
    border-radius: 15px;
  }
}
@media screen and (max-width: 1024px) {
  /* br */
  .br-pc {
    display: none;
  }
  .br-sp {
    display: none;
  }
  .br-tab {
    display: block;
  }
  .text-left-sp {
    text-align: left !important;
  }

  /* フッター */
  #menu-footer1 .c-row__col {
    flex: 0 0 var(--_item-width);
    max-width: 60% !important;
    padding-left: calc(var(--_gap) * 0.5);
  }
  #menu-footer1 {
    display: block !important;
  }
  #menu-footer1 li {
    margin: 1em 0 !important;
  }
  /* 会社概要 */
  .company-section .wp-block-columns,
  .jobdetail-section .wp-block-columns {
    width: auto;
    flex-direction: column !important;
  }
  /* ひまわりホールディングスについて */
  .btn-wh a.smb-btn,
  a.smb-btn {
    min-width: 300px;
  }
  .facility-card .wp-block-columns.is-layout-flex,
  .support-section .wp-block-columns.is-layout-flex {
    gap: 40px;
  }
  .support-section .support-flow.wp-block-columns.is-layout-flex {
    gap: 20px;
  }
  .support-step .circle {
    padding: 1.4rem;
  }
  /* サンフラワー */
  .support-step .circle img {
    height: 100px;
  }
}
@media screen and (max-width: 820px) {
  .main-visual::after {
    height: 180px;
  }
  .main-visual .smb-spider-slider {
    position: relative; /* スマホでは通常フローに戻す */
    transform: translateY(-50%); /* ← 少し上に移動（調整可） */
  }
  .main-wrap {
    position: relative;
    top: -10%;
    left: auto;
    text-align: center;
  }
  /* ひまわりホールディングスについて */
  .business-section .wp-block-columns,
  .about-section .wp-block-columns,
  .construction-section .wp-block-columns {
    width: auto;
    flex-direction: column !important;
  }
  .about-column .wp-block-column:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #fe8e40;
  }

  .recruit-section .recruit-tag-column.wp-block-columns.is-layout-flex {
    gap: 20px !important;
  }
}
@media screen and (max-width: 781px) {
  .main-wrap {
    position: relative;
    top: -10%;
    left: auto;
    text-align: center;
  }
  .wp-block-columns.column-reverse {
    flex-direction: column-reverse !important;
  }
  .support-step .circle {
    width: 60%;
  }
}

@media screen and (max-width: 640px) {
  /* br */
  .br-sp {
    display: inline-block !important;
    width: 100%;
  }
  .br-tab {
    display: none;
  }
  .br-pc {
    display: none;
  }
  .main-wrap {
    position: relative;
    top: 5%;
    left: auto;
    text-align: center;
  }
  .main-visual__heading {
    margin-top: 0.5em !important;
  }
  .c-site-branding__title .custom-logo {
    width: 180px;
    height: auto;
  }
  .about-column .wp-block-column {
    padding: 2rem;
  }
  .contact-section {
    padding: 3rem 1.5rem !important;
  }
  .recruit-img img {
    height: 360px;
    object-fit: cover; /* ← 画像をトリミングして枠にフィット */
    object-position: top; /* ← 中央を基準に表示（左右上下も指定可） */
    border-radius: 5px;
    display: block;
  }
  .recruit-section .wp-block-columns.is-layout-flex {
    gap: 20px;
  }
  .recruit-section .recruit-tag {
    padding: 1.4rem 1.4rem;
  }
  .recruit-section .smb-buttons {
    margin-top: 2rem;
  }
  /* フッター */
  .l-footer.l-footer--footer-2 {
    padding-bottom: 180px;
  }
  /* 下層ページヘッダー */
  .page-header .page-header-img img {
    width: 100%;
    height: auto;
    object-fit: cover; /* ← トリミングしてフィット */
    object-position: center 35%; /* ← 中央を基準にトリミング */
    display: block;
  }
  .c-page-header,
  .works-template-default .c-page-header {
    height: 340px !important; /* ← 高さを固定 */
  }
  /* 汎用 */
  .bg-rounded {
    background-color: var(--color_white);
    border-radius: 5px;
    padding: 1rem;
  }
  .btn-arrow .smb-btn::after {
    width: 24px;
  }
  /* 追従バナー */
  .banner-wrap {
    position: fixed;
    top: auto;

    bottom: 0;
    z-index: 10000;
  }
  .banner-wrap img {
    width: 296px;
  }
  #page-top {
    display: none;
  }
  /* ひまわり */
  .himawari-concept .slider-wrapper {
    margin-top: 20px !important;
  }
  .himawari-logo img,
  .sunflower-logo img {
    width: 240px;
  }
  /* サンフラワー */
  .support-step .circle {
    width: 100%;
  }
  .scroll {
    display: block;
    color: var(--color_white);
  }
  /* お問い合わせ */
  .smf-button-control__control {
    min-width: 100%;
  }
  .smf-action .smf-button-control + .smf-button-control {
    margin-left: 0;
  }
}
@media screen and (max-width: 548px) {
  .main-wrap {
    position: relative;
    top: 20%;
    left: auto;
    text-align: center;
  }
}
@media screen and (max-width: 360px) {
  .main-visual .smb-spider-slider {
    position: relative; /* スマホでは通常フローに戻す */
    transform: translateY(-50%); /* ← 少し上に移動（調整可） */
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }
  .main-visual__heading {
    padding: 0 0.8em;
  }
}
/* スマホ横向き対応 */
@media screen and (orientation: landscape) and (max-height: 500px) {
  /* 追従バナー */
  .banner-wrap {
    position: fixed;
    top: auto;

    bottom: 20%;
    z-index: 1000;
  }
}
@media screen and (max-height: 500px) and (orientation: landscape) {
  body::before {
    background: url(/wp-content/uploads/2025/11/bg-sunflower@2x-8.png) no-repeat
      right;
  }
}
