/* ===================================
   株式会社琉繕 追加スタイル
   ロゴカラー: #1aae9e (ティールグリーン)
   =================================== */

/* --- ロゴ横並び --- */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-icon {
  width: auto !important;
  height: 54px !important;
  max-width: none;
}
.logo-text-img {
  width: auto !important;
  height: 24px !important;
  max-width: none;
}
.header__logo {
  width: auto !important;
}
.header-sp__logo .logo-icon {
  height: 36px !important;
}
.header-sp__logo .logo-text-img {
  height: 16px !important;
}

/* --- お問い合わせフォームbox上余白 --- */
.p-contact-sec01 .sub-contact__box {
  margin-top: 3rem;
}
.footer__logo {
  width: auto !important;
}
.footer .logo-icon {
  height: 44px !important;
  filter: brightness(0) invert(1);
}
.footer .logo-text-img {
  height: 18px !important;
  filter: brightness(0) invert(1);
}

/* --- Page Top ボタン丸く --- */
.page-top a {
  background: #1aae9e !important;
  border-radius: 50% !important;
  width: 5rem;
  height: 5rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.page-top .page-top__img {
  margin: 0;
}
.page-top span {
  display: none;
}

/* --- お問い合わせ 2カラム SP対応 --- */
@media screen and (max-width: 768px) {
  .contact-flex {
    grid-template-columns: 1fr !important;
  }
}

/* --- 固定バナー非表示 --- */
.header__banner {
  display: none !important;
}

/* --- SPヘッダー --- */
.header-sp {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none !important;
}
.header-sp__top {
  height: 6rem !important;
  padding: 0 1.2rem !important;
  border: none !important;
}
/* ハンバーガー */
.hamburger {
  width: 5rem !important;
  height: 5rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0 !important;
}
.hamburger__lineArea {
  width: 2.4rem;
  height: 1.6rem;
  position: relative;
  margin-bottom: 0 !important;
}
.hamburger span {
  background-color: #1aae9e !important;
  height: 2px !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  position: absolute !important;
}
.hamburger__lineTop { top: 0 !important; }
.hamburger__lineCenter { top: 50% !important; transform: translateY(-50%); }
.hamburger__lineBottom { bottom: 0 !important; top: auto !important; }
.open .hamburger__lineTop { top: 1.7vw !important; }
.open .hamburger__lineBottom { top: 1.7vw !important; bottom: auto !important; }

/* --- SP固定ボタン --- */
.sp_cta {
  display: none !important;
}
@media screen and (max-width: 767px) {
  .sp_cta {
    display: flex !important;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 20;
    height: 60px;
    align-items: center;
    padding: 6px;
    gap: 5px;
  }
  .sp_cta a {
    display: block;
    height: 100%;
    text-align: center;
    width: 50%;
    font-size: 16px;
    padding: 15px 0 10px 14px;
    font-weight: 700;
    color: #fff;
    position: relative;
    border-radius: 7px;
    border: 1px solid;
    background: #1aae9e;
    border-color: #fff;
  }
  .sp_cta a:last-child {
    background: #fccd2a !important;
    color: #333 !important;
    border-color: #fff !important;
  }
  .sp_cta a::before {
    position: absolute;
    content: "";
    background-image: url(../img/common/tel-white.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: 1.2rem;
    left: 1.7rem;
    width: 1.8rem;
    height: 1.8rem;
  }
  .sp_cta a:last-child::before {
    background-image: url(../img/common/mail.svg);
    top: 1rem;
    left: 1.7rem;
    width: 2rem;
    height: 2rem;
    filter: brightness(0);
  }
  .sp_cta a span {
    font-weight: 700;
  }
}

/* --- ヘッダー電話アイコン (SVG直接緑に変更済み) --- */

/* --- 会社概要テーブル下padding調整 --- */
.p-company-sec02__cont {
  padding-bottom: 0 !important;
}
.p-company-sec02 .map {
  padding-bottom: 5rem;
}

/* --- カテゴリボタン active --- */
.category-button.active {
  background: #1aae9e !important;
  color: #fff !important;
}

/* --- ヘッダーナビ間隔 --- */
.header__list .header__item {
  margin-left: 2.2rem !important;
}

/* --- ヘッダーInstaアイコン (ナビ内に配置) --- */

/* --- フッター色修正 --- */
.footer {
  background: #2a3a2e !important;
  color: #fff !important;
}
.footer .footer-inner {
  color: #fff;
}
.footer__address {
  color: #fff !important;
}
.footer__address span {
  color: #fff !important;
}
.footer__link {
  color: #fff !important;
}
.footer__link:hover {
  color: #1aae9e !important;
}
.footer__link.head {
  color: #1aae9e !important;
  font-weight: 700;
}
.footer__copyright {
  background: #1e2e22 !important;
  color: #fff !important;
}
.footer-sns a img {
  filter: brightness(0) invert(1);
}
.page-top a {
  background: #1aae9e !important;
}

/* --- フッターCONTACTセクション (footer_top) --- */
.footer_top {
  background: #f2faf6 !important;
}
.footer_top .c-heading01 {
  color: #333 !important;
}
.footer_top .c-heading01 span {
  color: #1aae9e !important;
}
.footer_text {
  color: #555 !important;
}
.footer_flex {
  border-top-color: #ccc !important;
}
.footer_flex .left,
.footer_flex .right {
  background-color: #fff !important;
}
.footer_flex .tel {
  color: #1aae9e !important;
}
.footer_flex .tel_text .text01,
.footer_flex .tel_text .text02 {
  color: #555 !important;
}
.footer_top .mail {
  background: #1aae9e !important;
  border-color: #1aae9e !important;
  color: #fff !important;
}
.footer_top .mail:hover {
  background: #15998a !important;
}
.footer_top .map iframe {
  border-radius: 8px;
}

/* --- SP CTA (モバイル下固定) --- */
.sp_cta a {
  background: #1aae9e !important;
}
.sp_cta a:nth-child(2) {
  background: #fccd2a !important;
  color: #333 !important;
}
.sp_cta a:nth-child(4) {
  background: #e85d3a !important;
}

/* --- ページカバー --- */
.l-page-cover {
  background-color: #1aae9e !important;
}

/* --- 薄い黄色 → 薄い黄緑に変更 --- */
.sub-bg,
.p-contact-sec01 {
  background-color: #f4fbf7 !important;
}

/* --- MV キャッチコピー --- */
.home-mv__catch {
  text-align: center;
}
.home-mv__catch img {
  max-width: 80%;
  margin: 0 auto;
}

/* --- about section --- */
.about .grid-col02_text span {
  color: #1aae9e;
  font-weight: 700;
}

/* --- greeting section --- */
.greeting .grid-col02_text span {
  color: #1aae9e;
}

/* --- guide-detail h2 --- */
.guide-detail .detail h2 {
  color: #1aae9e;
}

/* --- happiness-grid --- */
.happiness-grid-item h3 {
  color: #1aae9e;
}

/* --- about_ttl span --- */
.about_ttl span {
  color: #1aae9e;
}

/* --- 実績紹介カード --- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}
@media screen and (max-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media screen and (max-width: 480px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}
.works-card {
  display: block;
  background: #fff;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.works-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.works-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.works-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.works-card:hover .works-card__img img {
  transform: scale(1.05);
}
.works-card__body {
  padding: 1.5rem;
}
.works-card__cat {
  display: inline-block;
  background: #1aae9e;
  color: #fff;
  font-size: 1.1rem;
  padding: 0.3rem 1rem;
  border-radius: 3px;
  margin-bottom: 0.8rem;
}
.works-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
}

/* --- 実績紹介シングルページ --- */
.works-single__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}
.works-single__cat {
  display: inline-block;
  background: #1aae9e;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.3rem 1.2rem;
  border-radius: 3px;
}
.works-single__content {
  line-height: 2;
  font-size: 1.5rem;
}
.works-single__content img {
  margin: 2rem 0;
  border-radius: 0.5rem;
}

/* --- こんな症状チェックリスト --- */
.trouble-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.trouble-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #f0e0d0;
}
.trouble-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  min-width: 3.5rem;
  height: 3.5rem;
  background: #e85d3a;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 900;
  border-radius: 5px;
  margin-top: 0.2rem;
}
.trouble-checklist h5,
.detail_optional .trouble-checklist h5 {
  font-size: 2.0rem !important;
  font-weight: 700 !important;
  color: #d35400 !important;
  background: #fff8e8 !important;
  border: none !important;
  border-left: none !important;
  padding: 0.4rem 1rem !important;
  margin: 0 0 0.5rem 0 !important;
  border-radius: 4px;
  display: inline-block;
}
.trouble-checklist p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #333;
}
@media screen and (max-width: 768px) {
  .trouble-checklist {
    grid-template-columns: 1fr;
  }
}

/* --- ご依頼の流れ (flow07) --- */
.flow07 {
  padding-left: 0;
  margin: 4rem auto 0;
  max-width: 90rem;
}
.flow07 > li {
  list-style-type: none;
  display: flex;
}
.flow07 > li:not(:last-child) {
  margin: 0 0 50px;
}
.flow07 > li .icon07 {
  width: 90px;
  min-width: 90px;
  box-sizing: border-box;
  padding: 20px 10px 10px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background: #1aae9e;
  border-radius: 5px 5px 0 0;
  position: relative;
  line-height: 125%;
  margin: 0;
  font-size: 1.4rem;
}
.flow07 > li .icon07 .num {
  display: block;
  font-size: 2.4rem;
}
.flow07 > li .icon07::after {
  content: " ";
  width: 0;
  height: 0;
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-top: 20px solid #1aae9e;
  position: absolute;
  bottom: -20px;
  left: 0;
}
.flow07 > li .flow07__content {
  display: flex;
  gap: 2rem;
  padding: 0 0 0 30px;
  width: calc(100% - 120px);
}
.flow07 > li .flow07__img {
  width: 20rem;
  min-width: 20rem;
  border-radius: 7px;
  overflow: hidden;
}
.flow07 > li .flow07__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flow07 > li .flow07__text {
  flex: 1;
}
.flow07 > li .flow07__text dt {
  padding: 0 0 8px;
  margin: 0 0 15px;
  font-size: 2rem;
  font-weight: bold;
  color: #1aae9e;
  border-bottom: 4px solid #ddd;
  position: relative;
}
.flow07 > li .flow07__text dt::after {
  content: "";
  width: 20%;
  height: 4px;
  position: absolute;
  bottom: -4px;
  left: 0;
  background-color: #1aae9e;
}
.flow07 > li .flow07__text dd {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2;
  color: #555;
}
@media screen and (max-width: 767px) {
  .flow07 > li .icon07 {
    width: 65px;
    min-width: 65px;
    padding: 12px 5px 8px;
    font-size: 1.1rem;
  }
  .flow07 > li .icon07 .num {
    font-size: 1.8rem;
  }
  .flow07 > li .icon07::after {
    border-left: 32.5px solid transparent;
    border-right: 32.5px solid transparent;
    border-top: 14px solid #1aae9e;
    bottom: -14px;
  }
  .flow07 > li .flow07__content {
    flex-direction: column;
    padding-left: 15px;
    gap: 1rem;
  }
  .flow07 > li .flow07__img {
    width: 100%;
    min-width: auto;
    aspect-ratio: 16/9;
  }
  .flow07 > li .flow07__text dt {
    font-size: 1.6rem;
  }
}

/* --- お知らせ詳細 padding --- */
.sub-single__box {
  padding: 6rem 4rem !important;
  background: #fff;
}
@media screen and (max-width: 768px) {
  .sub-single__box {
    padding: 4vw 3vw !important;
  }
}

/* --- works/topicsアーカイブ padding --- */
.sub-archive__box {
  padding: 6rem 4rem 10rem !important;
}
@media screen and (max-width: 768px) {
  .sub-archive__box {
    padding: 4vw 3vw 8vw !important;
  }
}

/* --- detail_optional h5 大きく --- */
.detail_optional h5 {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  padding: 12px 15px !important;
  background: #f2faf6 !important;
  border-left: 4px solid #1aae9e;
}

/* --- program__pdf ボタン非表示 (service/painting) --- */
.program__pdf {
  display: none !important;
}

/* --- 3枚横並び画像ギャラリー --- */
.service-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.service-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}
@media screen and (max-width: 768px) {
  .service-gallery {
    gap: 0.8rem;
  }
}

/* --- 事業内容 link-grid調整（TOP影響なし） --- */
.guide-detail .link-item__body {
  border-color: #1aae9e !important;
}
.guide-detail .link-grid .link-item:nth-child(1),
.guide-detail .link-grid .link-item:nth-child(3) {
  margin-top: 0 !important;
}
.guide-detail .link-grid .link-item {
  margin-top: 0 !important;
}
.guide-detail .program__list {
  margin-bottom: 4rem;
}

/* --- contact LINE調整 --- */
.contact-line-info {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #555;
  white-space: nowrap;
  margin-top: 0.5rem;
}

/* --- wave background → 薄い黄緑 --- */
.wave01::before {
  background: #eef8f2 !important;
}