/* -------- 共通 -------- */

:root {
  --base-orange: rgb(228, 149, 82);
  /* #e49552 */
  --base-green: rgb(132, 192, 134);
  /* #84c086 */
  --base-blue: rgb(3, 110, 184);
  /* #036eb8 */
  --base-white: rgb(255, 255, 255);
  /* #ffffff */
  --accent-orange: rgb(237, 114, 81);
  /* #ed7251 */
  --bg-main: rgb(248, 248, 248);
  /* #f8f8f8 - オフホワイト（メイン背景） */
  --bg-section: rgb(250, 250, 250);
  /* #fafafa - セクション区切り用 */
  --bg-card: rgb(244, 244, 244);
  /* #f4f4f4 - カードやボックス用 */
  --bg-light-yellow: rgb(255, 248, 220);

  --text-title: rgb(85, 85, 85);
  /* #333333 - 通常の本文テキスト用 */
  --text-main: rgb(51, 51, 51);
  /* #333333 - 通常の本文テキスト用 */
  --text-subtle: rgb(102, 102, 102);
  /* #666666 - 補足・控えめなテキスト用 */
  --text-button: rgba(0, 0, 0, 0.87);
  /* テキストボタン用 */
  --line-gray: rgb(204, 204, 204);
  /* #cccccc - 区切り線・装飾用 */
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  height: 100%;
  overscroll-behavior: none;
  overflow-x: hidden;
}

section,.entry {
  width: 95%;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

h2,
h3,
p,
a {
  color: var(--text-main);
  font-family: "Noto Sans JP", sans-serif;
}

h2 {
  margin: 20px auto 32px;
  font-size: 20px;
  text-align: center;
  color: var(--text-title);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  display: block;
  -webkit-tap-highlight-color: transparent;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.dec-head {
  color: var(--accent-orange);

}

/* -------- ヘッダー -------- */
header {
  width: 100%;
  background-color: var(--bg-light-yellow);
}

/* オーバーレイ背景 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s;
  z-index: 50;
}

/* 表示状態 */
.overlay.active {
  opacity: 1;
  visibility: visible;
}

.top_fixed-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  box-shadow: 0px -2px 10px -5px #777777;
  background-color: var(--base-white);
  z-index: 50;
  will-change: transform;
  transition: background-color 0.3s ease;
}

.width_control {
  width: 95%;
  max-width: 1280px;
  height: 70px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top_fixed-box.scrolled {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  margin: 0 0 0 10px;
}

h1 img {
  width: 160px;
}

/* ---- ナビゲーション ---- */
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ハンバーガーアイコン */
.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  display: block;
  margin-right: 20px;
  z-index: 1000;
}

.hamburger span {
  background: var(--text-main);
  position: absolute;
  height: 3px;
  width: 100%;
  left: 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

/* ハンバーガー開閉アニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

/* ナビゲーションメニュー */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 95%;
  max-width: 350px;
  height: 400px;
  background: var(--base-white);
  transition: 0.3s;
  z-index: 200;
  margin-top: 4px;
  padding: 12px;
  border-radius: 30px 0 0 30px;
  box-shadow: -2px 0px 13px -9px #333333;
}

.nav-menu.active {
  right: 0;
}

.nav-logo {
  width: 130px;
  margin: 4px auto 0;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 50px auto 0;
}

.nav-menu li {
  margin: 32px 0;
}

.nav-menu a.n-link {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-main);
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 1.2px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a img {
  width: 26px;
  margin-right: 14px;
}

.nav-menu .nav-sns_ul {
  display: flex;
  justify-content: space-between;
  width: 180px;
  margin: 0 auto;
  padding: 22px 0 0;
}

.nav-menu li.nav-sns_li {
  margin: 0;
}

.nav-sns_li a img {
  margin: 0;
  width: 30px;
}


/* ---- カルーセルスライダー ---- */
.slider {
  position: relative;
  margin-top: 70px;
}

.swiper-container {
  overflow: hidden;
  height: 100%;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: -20px;
}

.swiper-button-prev,
.swiper-button-next {
  display: none;
}


.swiper-pagination-bullet-active {
  background: var(--swiper-pagination-color, var(--accent-orange));
}



/* -------- トップページ -------- */
/* ---- サービスの診療科目 ---- */

/* =============================
   Top Page Search Form
============================= */
.top-search-area {
  padding: 40px 20px;
  background: var(--bg-card);
  text-align: center;
}

.search-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.search-field {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--line-gray);
  border-radius: 6px;
  font-size: 16px;
}

.search-submit {
  padding: 12px 24px;
  background-color: var(--base-orange);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.search-submit:hover {
  background-color: var(--accent-orange);
}


.tp-sec_01 article {
  margin: 40px auto 0;
  max-width: 430px;
  min-height: 159px;
}

.tp-sec_01 .content-wrap {
  width: 100%;
  margin: 0 auto;
  border: var(--base-orange) 2px solid;
  border-radius: 10px;
}

.tp-sec_01 .img-wrap {
  width: 70%;
  margin: 0 auto;
}

.tp-sec_01 h3 {
  text-align: center;
  margin: 0;
}

.tp-sec_01 .flex-box {
  width: 100%;
  max-width: 430px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  column-gap: 2%;
  margin: 0 auto 32px;
}

.tp-sec_01 a {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 600;
}

.real-estate-services,
.construction-example {
  border: var(--base-orange) 2px solid;
  border-radius: 10px;
}

/* -- 家電サービス -- */
.home-appliance-service h3 {
  width: 220px;
  margin: 0 auto;
  padding: 3px 0 2px;
  border-radius: 17px 17px 0 0;
  color: var(--base-white);
  background-color: var(--base-orange);
}

.content-wrap.has {
  padding: 16px;
  border: var(--base-orange) 2px solid;
}

.has_ul {
  padding-left: 10px;
  display: flex;
  flex-flow: column;
  row-gap: 20px;
}

.has_li {
  padding-left: 24px;
}

.has_li a {
  position: relative;
  font-size: 18px;
  color: var(--base-orange);
}

.has_li a::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -24px;
  width: 20px;
  height: 20px;
  background: url(../images/top/list-arrow_orange.svg) no-repeat center;
  background-size: 20px 20px;
}


/* -- 住宅サービス -- */
.housing-services h3 {
  width: 220px;
  margin: 0 auto;
  padding: 3px 0 2px;
  border-radius: 17px 17px 0 0;
  color: var(--base-white);
  background-color: var(--base-green);
}

.content-wrap.hs {
  padding: 16px;
  border: var(--base-green) 2px solid;
}

.hs .img-wrap img {
  margin-top: 20px;
  padding-bottom: 20px;
}

.hs_ul {
  padding-left: 10px;
  display: flex;
  flex-flow: column;
  row-gap: 20px;
}

.hs_li {
  padding-left: 24px;
}

.hs_li a {
  position: relative;
  font-size: 18px;
  color: var(--base-green);
}

.hs_li a::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -24px;
  width: 20px;
  height: 20px;
  background: url(../images/top/list-arrow_green.svg) no-repeat center;
  background-size: 20px 20px;
}

.hs_li span {
  font-size: 14px;
}

/* -- 不動産サービス -- */
.real-estate-services {
  width: 49%;
}

.real-estate-services h3 {
  margin: 2px 2px 0 2px;
  padding: 4px 0;
  border-radius: 7px 7px 0 0;
  color: var(--base-white);
  background-color: var(--base-orange);
}

.res_ul {
  width: 100%;
  max-width: 160px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 14px;
}

.res_li {
  margin-bottom: 16px;
}

.res_li a {
  position: relative;
  font-size: 12px;
  color: var(--base-orange);
}

.res_li a::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -14px;
  width: 12px;
  height: 12px;
  background: url(../images/top/list-arrow_orange.svg) no-repeat center;
  background-size: 12px 12px;
}



/* -- 施工事例 -- */
.construction-example {
  width: 49%;
}

.construction-example h3 {
  margin: 2px 2px 0 2px;
  padding: 4px 0;
  border-radius: 7px 7px 0 0;
  color: var(--base-white);
  background-color: var(--base-orange);
}


.ce_ul {
  width: 100%;
  max-width: 160px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 14px;
}

.ce_li {
  margin-bottom: 16px;
}

.ce_li a {
  position: relative;
  font-size: 12px;
  color: var(--base-orange);
}

.ce_li a::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -14px;
  width: 12px;
  height: 12px;
  background: url(../images/top/list-arrow_orange.svg) no-repeat center;
  background-size: 12px 12px;
}

/* ---- ニューウェーブ独自のサービス ---- */
.tp-sec_02 {
  background-color: #FDEADA;
  width: 100%;
  max-width: initial;
}

.service-wrap {
  max-width: 400px;
  margin: 0 auto 52px;
  border-radius: 10px;
}

.service-wrap .image_01 {
  background-image: url(../images/top/section-02_1.png);
}

.service-wrap .image_02 {
  background-image: url(../images/top/section-02_2.jpg);
}

.service-wrap .image_03 {
  background-image: url(../images/top/section-02_3.png);
}

.service-wrap .image_01,
.service-wrap .image_02,
.service-wrap .image_03 {
  width: calc(100% - 40px);
  height: 140px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--base-white);
  background-size: 250px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 0px 1px 3px rgba(74, 35, 0, 0.16);
}

.service-wrap .image_01 a,
.service-wrap .image_02 a,
.service-wrap .image_03 a {
  display: block;
  width: 100%;
  height: 100%;
}

.service-wrap h3 {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0;
  letter-spacing: 1.6px;
}


.service-wrap p.s-text {
  font-size: 12px;
  margin: 0;
  padding: 0 20px 12px;
  line-height: 24px;
  letter-spacing: 1.6px;
  border-radius: 0 0 10px 10px;
}

p.service-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  letter-spacing: 1.6px;
}

.service-btn a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  padding: 16.5px 30px;
  background-color: var(--base-white);
  /* border: 1px solid var(--text-button); */
  border-radius: 50px;
  box-shadow: 0px 1px 3px rgba(74, 35, 0, 0.16);
}

.service-btn a::after {
  content: '';
  display: block;
  background-image: url(../images/common/arrow_black.svg);
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 19.25px;
  right: 20px;
  width: 8px;
  height: 12px;
  background-size: 14px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.service-btn a span {
  margin-top: 1px;
  padding-right: 8px;
}


/* ---- 会員様サービス ---- */

.tp-sec_03 .flex-box {
  display: flex;
  justify-content: space-between;
}

.individual,
.corporation {
  width: 49%;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.16);
}


/* ---- キャンペーン情報 ---- */

.campaign_ul {
  margin: 0 auto;
  padding: 0;
  width: 90%;
}

.campaign_li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-gray);
}

.object-wrap {
  display: flex;
  align-items: center;
}

.li_tag {
  width: 64px;
  padding: 4px 2.2px 4px 5.8px;
  color: var(--base-white);
  background-color: var(--accent-orange);
  text-align: center;
  font-size: 10px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  letter-spacing: 3px;
  border-radius: 3px;
}

.object-wrap p {
  margin: 0;
}

.li_date {
  font-size: 12px;
  padding-left: 6px;
  padding-right: 20px;
  letter-spacing: .8px;
}

.campaign_text {
  margin: 10px 0 0;
  padding: 4px;
  font-size: 14px;
  letter-spacing: 1px;
}

/* ---- お知らせ ---- */

.notice_ul {
  margin: 0 auto;
  padding: 0;
  width: 90%;
}

.notice_li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-gray);
}

.notice_text {
  margin: 10px 0 0;
  padding: 4px;
  font-size: 14px;
  letter-spacing: 1px;
}


/* ---- 会社概要 ---- */
.tp-sec_06 {
  width: 100%;
  padding-bottom: 0;
}

.tp-sec_06 .flex-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: 0 auto;
}

.fb-img_01 {
  width: 61%;
}

.fb-img_02 {
  width: 36%;
}

.company-overview {
  padding-top: 36px;
}

.co-box_01,
.co-box_02 {
  margin: 0 auto;
  padding-left: 5%;
}

.co-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
}

.co-wrap h3 {
  display: flex;
  width: 50px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--base-blue);
}

.co-wrap p {
  display: flex;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--base-blue);
}

.google-map {
  width: 100%;
  margin: 0 auto;
  background-color: var(--bg-light-yellow);
}

.google-map iframe {
  width: 100%;
}


/* ---- SNS ---- */
.tp-sec_07 {
  background-color: var(--bg-light-yellow);
  width: 100%;
}

.tp-sec_07 h2 {
  display: none;
}

.sns_ul {
  width: 55%;
  max-width: 192.5px;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
  padding: 10px 0 0;
}

.sns_li {
  width: 19%;
}

/* -------- フッター -------- */
footer {
  width: 100%;
  margin: 0 auto;
  background-color: var(--bg-light-yellow);
}

.footer_ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 95%;
  margin: 0 auto;
  padding: 0 0 30px;
}

.footer_li a {
  width: 95%;
  background-color: var(--base-orange);
  color: var(--base-white);
}

.footer_li a::after {
  background-image: url('../images/common/arrow_white.svg');
}

footer .copyright {
  width: 100%;
  margin: 0;
  padding: 12px 0;
  text-align: center;
  color: var(--base-white);
  background-color: var(--base-orange);
}







/* -------- PC版 -------- */
@media (min-width: 1024px) {

  /* -------- 共通 -------- */
  section,.entry {
    max-width: 1024px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  h2 {
    margin: 30px auto 40px;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 1.2px;
    width: initial;
  }

  /* ------ ナビゲーション ------ */
  .top_fixed-box {
    height: 90px;
  }

  .width_control {
    height: 90px;
  }

  h1 img {
    width: 200px;
  }

  .hamburger {
    display: none;
  }

  .nav-menu {
    position: initial;
    width: initial;
    max-width: inherit;
    height: initial;
    background: initial;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }

  .nav-menu ul {
    display: flex;
    column-gap: 32px;
    padding: 0;
    margin: 0;
  }


  .nav-menu li {
    margin: auto 0;
  }

  .nav-menu a {
    padding: 8px;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease, opacity 0.3s ease;
    position: relative;
    opacity: 0.8;
  }

  .nav-menu a:hover {
    color: var(--accent-orange);
    opacity: 1;
  }

  .nav-menu a::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 16px;
    height: 16px;
    background: url('../images/common/nav_ui-icon.svg') no-repeat center;
    background-size: contain;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-menu a:hover::before {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }


  /* ------ ヘッダー ------ */
  .slider {
    width: 100%;
    max-width: 1150px;
    margin-top: 90px;
    margin-right: auto;
    margin-left: auto;
    padding: 28px 0 36px;
  }

  .swiper-horizontal>.swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: 10px;
  }

  .swiper-container {
    border-radius: 30px;
    position: relative;
    z-index: 1;
  }

  .nav-logo,
  .nav-menu .nav-sns_ul,
  .n-link img {
    display: none;
  }


  /* ------ スライダーカルーセル ------ */
  .swiper-button-prev,
  .swiper-button-next {
    display: block;
    color: var(--text-subtle);
    width: initial;
  }

  .swiper-button-prev {
    left: -50px;
  }

  .swiper-button-next {
    right: -50px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.2rem;
  }

  /* ---- サービスの診療科目 ---- */
  .tp-sec_01 .pc_flex-box {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
  }

  .tp-sec_01 article {
    max-width: inherit;
    margin-top: 36px;
  }

  .tp-sec_01 h3 {
    font-size: 22px;
  }

  .home-appliance-service h3,
  .housing-services h3 {
    width: 300px;
    padding: 10px 0 10px;
    border-radius: 10px 10px 0 0;
  }

  .home-appliance-service,
  .housing-services {
    width: 47%;
  }

  .tp-sec_01 .content-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: initial;
  }

  .tp-sec_01 .img-wrap {
    width: 30%;
  }

  .tp-sec_01 .flex-box {
    max-width: 1280px;
    justify-content: space-between;
    column-gap: inherit;
  }

  /* ---- 家電サービス ---- */
  .has_ul {
    width: 60%;
    row-gap: 20px;
  }

  .has_li a {
    font-size: 18px;
  }

  .has_li a:hover {
    opacity: 0.65;
    transition: opacity 0.3s;
  }

  /* ---- 住宅サービス ---- */
  .hs_ul {
    width: 60%;
    row-gap: 20px;
  }

  .hs_li a {
    font-size: 18px;
  }

  .hs_li a:hover {
    opacity: 0.65;
    transition: opacity 0.3s;
  }

  .hs_li span {
    font-size: 14px;
  }

  /* ---- 不動産サービス ---- */
  .real-estate-services {
    width: 47%;
  }

  .real-estate-services h3 {
    margin: 4px 4px 0 4px;
    padding: 10px 0;
  }

  .res_li {
    margin-bottom: initial;
  }

  .res_li a {
    font-size: 18px;
  }

  .res_li a::after {
    left: -20px;
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
  }

  .res_li a:hover {
    opacity: 0.65;
    transition: opacity 0.3s;
  }

  .res_ul {
    max-width: initial;
    margin: 30px 0;
    padding-left: 44px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 16px;
  }


  /* ---- 施工事例 ---- */
  .construction-example {
    width: 47%;
  }

  .construction-example h3 {
    margin: 4px 4px 0 4px;
    padding: 10px 0;
  }

  .ce_li {
    margin-bottom: initial;
  }

  .ce_li a {
    font-size: 18px;
  }

  .ce_li a::after {
    left: -20px;
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
  }

  .ce_li a:hover {
    opacity: 0.65;
    transition: opacity 0.3s;
  }

  .ce_ul {
    max-width: initial;
    margin: 30px 0;
    padding-left: 44px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 16px;
  }

  /* ---- ニューウェーブ独自のサービス ---- */
  .tp-sec_02 {
    background-color: #FDEADA;
  }

  .tp-sec_02 .pc_flex-box {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px;
  }

  .service-wrap {
    width: 32%;
    margin: 0;
  }

  .service-wrap h3 {
    margin: 28px 0;
    font-size: 20px;
    font-weight: 500;
  }

  .service-wrap h3.height-ctl {
    font-size: 18px;
  }


  .service-wrap .image_01,
  .service-wrap .image_02,
  .service-wrap .image_03 {
    width: initial;
  }

  .service-wrap p.s-text {
    padding-right: 0;
    padding-left: 0;
    letter-spacing: 1.6px;
    font-size: 16px;
    line-height: 32px;
    min-height: 190px;
  }

  p.service-btn {
    font-size: 14px;
  }

  .tp-sec_02 .service-btn a:hover {
    background-color: var(--base-orange);
    color: var(--base-white);
    transition: 0.3s ease;
  }

  .tp-sec_02 .service-btn a:hover::after {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  /* ---- 会員様サービス ---- */
  .tp-sec_03 .flex-box {
    display: flex;
    justify-content: space-between;
    width: 700px;
    margin: 0 auto;
  }

  .individual a,
  .corporation a {
    transition: opacity 0.5s ease;
  }

  .individual a:hover,
  .corporation a:hover {
    opacity: 0.65;
  }


  /* ---- キャンペーン情報/お知らせ　横並び調整 ---- */
  .campaign_ul {
    width: 100%;
  }

  .campaign_li,
  .notice_li {
    display: flex;
    align-items: center;
    padding: 24px 0;
  }

  .li_date {
    font-size: 14px;
  }

  .li_tag {
    width: 71px;
    font-size: 11px;
    padding: 7px 6.4px 7px 8.6px;
  }

  .campaign_text,
  .notice_text {
    font-size: 16px;
    margin-top: 0;
    margin-left: 14px;
    letter-spacing: 2px;
  }

  .notice_ul {
    width: 100%;
  }

  /* ---- 会社概要 ---- */
  .tp-sec_06 {
    width: 100%;
    max-width: initial;
    margin: 0 auto;
    padding-bottom: 0;
  }

  .tp-sec_06 .flex-box {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 20px;
  }

  .company-overview {
    display: flex;
    width: 95%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 64px;
    padding-bottom: 40px;
  }

  .co-box_01,
  .co-box_02 {
    margin: 0;
    padding: 0;
  }

  .co-box_01 {
    margin-right: 40px;
  }

  .co-wrap h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .6px;
  }

  .co-box_01 p {
    margin-left: 16px;
  }

  .co-wrap p {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .google-map iframe {
    height: 500px;
  }

  /* ---- SNS ---- */
  .sns_ul {
    max-width: 230px;
  }

  .sns_li {
    width: 45px;
  }


  /* ---- フッター ---- */
  .tp-sec_07 {
    max-width: initial;
  }

  .footer_ul {
    display: flex;
    justify-content: space-around;
    max-width: 973px;
  }

  .footer_li a {
    width: 200px;
    margin: 0;
    padding: 14px 0;
    background-color: var(--base-orange);
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    color: var(--base-white);
    border: 2px solid transparent;
    transition: all 0.3s;
  }

  .footer_li a:hover {
    width: 200px;
    margin: 0;
    padding: 14px 0;
    border: solid var(--accent-orange) 2px;
    font-weight: 600;
    color: var(--accent-orange);
    background-color: transparent;
  }

}




/* =====================================
   ENTRY（記事本文） レスポンシブ対応
===================================== */


.page-content {

  margin: 0 auto;
  padding: 100px 0 0;
  width: 100%;
  box-sizing: border-box;
}

.page-content h1 {
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  padding: 1.2em 0;
  margin: 0 0 0 0;
  position: relative;
  color: var(--base-white);
  background: linear-gradient(135deg, var(--base-orange), var(--accent-orange));
  overflow: hidden;
  animation: fadeUp 1s ease-out;
}

.page-content h1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  animation: slideIn 0.6s ease-out;
}

.page-content h1::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background-color: rgba(255,255,255,0.4);
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  0% { height: 0; }
  100% { height: 100%; }
}

@media (max-width: 768px) {

  .page-content {

  margin: 0 auto;
  padding: 50px 0 0;
  width: 100%;
  box-sizing: border-box;
  }  
  .page-content h1 {
    font-size: 26px;
    margin-bottom: 0px;
  }
  .page-content h1::after {
    width: 60px;
    height: 3px;
  }
}

.entry {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-main);
  line-height: 1.8;
  font-size: 16px;
}

.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
  color: var(--text-title);
  margin: 2.5em 0 1em;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.entry h1 {
  font-size: 28px;
  border-left: 4px solid var(--accent-orange);
  border-bottom: none;
  color: var(--base-white);
  padding-left: 12px;
}

.entry h2 {
  font-size: 24px;
  border-left: 4px solid var(--base-orange);
  padding-left: 10px;
}

.entry h3 {
  font-size: 20px;
  border-left: 3px solid var(--base-green);
  padding-left: 8px;
}

.entry h4 { font-size: 18px; }
.entry h5 { font-size: 16px; }
.entry h6 { font-size: 14px; color: var(--text-subtle); }

.entry p {
  margin: 0 0 1.2em;
  letter-spacing: 0.4px;
}

.entry ul,
.entry ol {
  padding-left: 1.5em;
  margin: 1.2em 0;
}

.entry ul li::before {
  content: "●";
  color: var(--base-orange);
  margin-right: 8px;
  font-size: 12px;
}

.entry ol {
  list-style: decimal;
}

.entry li {
  margin-bottom: 0.8em;
}

.entry blockquote {
  border-left: 4px solid var(--accent-orange);
  padding: 1em;
  margin: 2em 0;
  background-color: #fffaf5;
  color: var(--text-subtle);
  font-style: italic;
}

.entry img {
  max-width: 100%;
  height: auto;
  margin: 1.5em auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.entry a {
  color: var(--base-blue);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.entry a:hover {
  opacity: 0.7;
}

/* =====================================
   Gutenberg .wp-block-* 対応
===================================== */
.entry .wp-block-paragraph {
  margin: 0 0 1.2em;
  line-height: 1.8;
  font-size: 16px;
}

.entry .wp-block-heading {
  margin: 2.5em 0 1em;
  font-weight: bold;
  text-align: left;
}

.entry .wp-block-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin: 1.5em 0;
}

.entry .wp-block-quote {
  border-left: 4px solid var(--accent-orange);
  background: #fffaf5;
  padding: 1em;
  margin: 2em 0;
  font-style: italic;
  color: var(--text-subtle);
}

.entry .wp-block-list {
  margin: 1.2em 0;
  padding-left: 1.5em;
}

.entry .wp-block-list li {
  margin-bottom: 0.8em;
}

.entry .wp-block-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 14px;
}

.entry .wp-block-table th,
.entry .wp-block-table td {
  border: 1px solid var(--line-gray);
  padding: 12px;
  text-align: left;
}

.entry .wp-block-table th {
  background-color: var(--bg-card);
}

.entry .wp-block-code,
.entry .wp-block-preformatted {
  background: #f2f2f2;
  padding: 12px;
  font-family: monospace;
  border-radius: 4px;
  overflow-x: auto;
}

.entry .wp-block-button__link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  background-color: var(--base-orange);
  color: var(--base-white);
  font-weight: bold;
  text-align: center;
  transition: background 0.3s;
}

.entry .wp-block-button__link:hover {
  background-color: var(--accent-orange);
}

.entry .wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2em 0;
}

.entry .wp-block-gallery .wp-block-image {
  flex: 1 1 calc(33.333% - 8px);
}

/* =====================================
   TABLE（スマホ対応：th/tdを縦並び）
===================================== */
.entry table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 14px;
}

.entry th,
.entry td {
  border: 1px solid var(--line-gray);
  padding: 12px;
  text-align: left;
}

.entry th {
  background-color: var(--bg-card);
}

@media (max-width: 768px) {
  .entry table,
  .entry thead,
  .entry tbody,
  .entry th,
  .entry td,
  .entry tr {
    display: block;
    width: 100%;
  }

  .entry thead {
    display: none;
  }

  .entry tr {
    margin-bottom: 1.5em;
    border: 1px solid var(--line-gray);
    padding: 12px;
    background-color: var(--bg-card);
  }

  .entry td {
    position: relative;
    padding-left: 50%;
    text-align: left;
    background-color: var(--base-white);
    border: none;
    border-bottom: 1px solid var(--line-gray);
  }

  .entry td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    top: 12px;
    font-weight: bold;
    color: var(--text-subtle);
    white-space: nowrap;
  }
}

/* =====================================
   RESPONSIVE ADJUSTMENTS
===================================== */
@media (max-width: 768px) {
  .entry h1 { font-size: 24px; }
  .entry h2 { font-size: 20px; }
  .entry h3 { font-size: 18px; }
  .entry p, .entry li { font-size: 15px; }
}



.top-news-section {
  margin: 60px auto;
  padding: 40px 20px;
  background-color: var(--bg-card);
  border-radius: 8px;
}

.top-news-section h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--base-orange);
}

.post-list {
  margin: 0 auto 20px;
  max-width: 640px;
}

.post-list li {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
}

.post-list .post-date {
  width: 120px;
  color: var(--text-subtle);
  font-size: 14px;
  flex-shrink: 0;
}

.list-link {
  text-align: right;
  margin-top: 10px;
  font-size: 14px;
}

.list-link a {
  color: var(--base-blue);
  text-decoration: underline;
}

.list-link a:hover {
  opacity: 0.7;
}
