@charset "UTF-8";

/********** base **********/
/* ========================================
    初期設定
    ======================================== */
/* variables */
:root {
  --color-primary: #151515;
  --color-secondary: #1F3A8A;
  --white: #fff;
  --black: #000;

}

:root {
  --font-primary: "noto sans jp", "serif";
  --font-secondary: "poppins", "serif";
}



body {
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-primary);
  color: var(--color-primary);
  font-weight: 400;
  line-height: 1.5;
  font-size: 15px;
  padding-top: 80px;
}

@media (max-width: 1080px) {
  body {
    padding-top: 70px;
  }
}

.section-ttl {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  display: flex;
  flex-direction: column-reverse;
  gap: 5px;
  line-height: 1.2;
}

.section-ttl span {
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-secondary);
  letter-spacing: 0.1em;
  font-weight: 600;
}


/* ========================================
    コンテナ幅
    ======================================== */
.contents {
  padding: 120px 0 0 0;

}

@media (max-width: 600px) {
  .contents {
    padding: 80px 0 0 0;
  }
}

.container-sm {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(800px + 32px);
}

.container-md {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(940px + 32px);
}

.container {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(1080px + 32px);
}

.container-lg {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(1200px + 32px);
}

.container-xl {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(85vw + 32px);
}

@media screen and (max-width: 600px) {
  .container-xl {
    max-width: calc(100vw + 32px);
  }
}

/* ========================================
    共通
    ======================================== */
.m-grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .m-grid-3-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
}

@media (max-width: 600px) {
  .m-grid-3-col {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
}

.m-grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (max-width: 600px) {
  .m-grid-2-col {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
}

/* ========================================
    ヘッダー
    ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 1);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s;
}

@media (max-width: 1080px) {
  .header {
    height: 70px;
  }
}
@media (max-width: 768px) {
  .header {
    background:none;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 40px;
}

@media (max-width: 1080px) {
  .header__inner {
    padding: 0 20px;
    justify-content: space-between;
  }
}

@media screen and (max-width: 600px) {
  .header__inner {
    padding: 0 10px;
    padding-right: 18px;
  }
}

.header__logo {
  width: 200px;
}

.header__logo img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .header__logo {
    width: 150px;
  }
}

.header__nav {
  margin-left: auto;
  margin-right: 40px;
}

@media (max-width: 1080px) {
  .header__nav {
    display: none;
  }
}

.header__nav-list {
  display: flex;
  gap: 30px;
}

.header__nav-item a {
  font-weight: 500;
  font-size: 15px;
  color: var(--color-primary);
  transition: color 0.3s;
}

.header__nav-item a:hover {
  color: var(--color-secondary);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 1080px) {
  .header__cta {
    display: none;
  }
}

.header__tel {
  display: flex;
  flex-direction: column;
  text-align: right;
  color: var(--color-secondary);
}

.header__tel-label {
  font-size: 11px;
  font-weight: 700;
  text-align: justify;
}

.header__tel-number {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-secondary);
  line-height: 1;
}

/* 共通ボタン */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-secondary);
  transition: 0.3s;
  text-align: center;
}

.m-btn-wrap {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .m-btn-wrap {
    margin-top: 30px;
  }
}

.m-btn--contact {
  background: var(--color-secondary);
  color: var(--white);
  font-size: 14px;
}

.m-btn--contact:hover {
  opacity: 0.8;
}

/* ハンバーガーメニュー */
.header__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  background: var(--color-secondary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  transition: 0.3s;
}

@media (max-width: 1080px) {
  .header__hamburger {
    display: block;
  }
}

.header__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 10px;
  transition: 0.3s;
  border-radius: 2px;
}

.header__hamburger span:nth-child(1) {
  top: 13px;
}

.header__hamburger span:nth-child(2) {
  top: 19px;
}

.header__hamburger span:nth-child(3) {
  top: 25px;
}

.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ========================================
    フッター
    ======================================== */
/* ========================================
    メインビジュアル
    ======================================== */
.mainV {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 600px;
  background: #f5f5f5;
  overflow: hidden;
}

@media (max-width: 1080px) {
  .mainV {
    height: calc(100vh - 70px);
  }
}

.mainV__inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.mainV__slider {
  width: 100%;
  height: 100%;
}

.mainV__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 100%;
}

.mainV__img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mainV__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .mainV__img {
    width: 100%;
  }
}

.mainV__content {
  position: absolute;
  top: 60%;
  left: 5%;
  transform: translateY(-10%);
  z-index: 10;
}

@media (max-width: 768px) {
  .mainV__content {
    top: 65%;
    transform: translateY(0%);
    left: 5%;
    max-width: none;
  }
}

.mainV__title {
  margin-bottom: 30px;
}

.mainV__title-main {
  display: block;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}


.mainV__sub {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  color: var(--color-primary);
  font-weight: 500;
}
@media screen and (max-width: 600px) {
  .mainV__title-main,
	.mainV__sub{
    color:#fff;
  }
}

/* ========================================
    ナビゲーションドロワー
    ======================================== */
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 999;
  transition: right 0.3s;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) and (max-width: 1080px) {
  .drawer {
    width: 35%;
    right: -35%;
  }
}

.drawer.is-active {
  right: 0;
}

.drawer__nav-list {
  text-align: center;
  margin-bottom: 40px;
}

.drawer__nav-item {
  margin-bottom: 30px;
}

.drawer__nav-item a {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

@media screen and (max-width: 600px) {
  .drawer__nav-item a {
    font-size: 16px;
  }
}

.drawer__cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 300px;
}

.drawer__tel {
  text-align: center;
  color: var(--color-secondary);
}

.drawer__tel-label {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}

.drawer__tel-number {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-secondary);
}

/* ========================================
    投稿一覧ページ
    ======================================== */
/* ========================================
    投稿詳細ページ
    ======================================== */
.m-post-main img {
  object-fit: contain;
  width: auto;
  height: auto;
  margin-bottom: 20px;
}

.m-post-main p {
  margin-bottom: 20px;
  line-height: 2;
}

@media (max-width: 600px) {
  .m-post-main p {
    font-size: 14px;
  }
}

.m-post-main a {
  display: inline-block;
  margin-bottom: 20px;
  color: #00AFED;
  text-decoration: underline;
}

.m-post-main h1 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .m-post-main h1 {
    font-size: 28px;
  }
}

.m-post-main h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .m-post-main h2 {
    font-size: 22px;
  }
}

.m-post-main h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .m-post-main h3 {
    font-size: 18px;
  }
}

/* ========================================
    トップページ
    ======================================== 
*/
.top-about {
  padding: 120px 0;
  padding-bottom: 0;
  background: #fff;
}

@media (max-width: 768px) {
  .top-about {
    padding: 80px 0;
    padding-bottom: 0;
  }
}

@media (max-width: 600px) {
  .top-about {
    padding-top: 50px;
  }
}

@media (max-width: 600px) {
  .top-about .container-xl {
    padding: 0;
  }
}

.top-about__tagline {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 50px;
  letter-spacing: 0.1em;
  text-align: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .top-about__tagline {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: left;
  }
}

.top-about__box {
  background: #f8f7f2;
  padding: 80px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1080px) {
  .top-about__box {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .top-about__box {
    padding: 60px 20px;
  }
}

.top-about__head {
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.top-about__label {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-secondary);
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.top-about__label::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--color-primary);
}

.top-about__body {
  display: flex;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 1080px) {
  .top-about__body {
    flex-direction: column;
    gap: 40px;
  }
}

.top-about__img {
  width: 45%;
  flex-shrink: 0;
}

@media (max-width: 1080px) {
  .top-about__img {
    width: 100%;
  }
}

.top-about__img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.top-about__content {
  flex-grow: 1;
}

.top-about__title {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--color-primary);
}

.top-about__title span {
  color: var(--color-secondary);
}

.top-about__text {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 40px;
}

.top-about__bg-text {
  font-size: clamp(60px, 12vw, 150px);
  font-weight: 400;
  font-family: var(--font-secondary);
  color: rgba(0, 0, 0, 0.03);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
  text-align: right;
  margin-top: -40px;
}

@media (max-width: 768px) {
  .top-about__bg-text {
    margin-top: -20px;
    text-align: left;
  }
}

/* ========================================
    業務内容
    ======================================== */
.top-business {
  padding-top: 120px;
  background: #fff;
}

@media (max-width: 1080px) {
  .top-business {
    padding-top: 80px;
  }
}

@media (max-width: 600px) {
  .top-business__inner.container-xl {
    padding: 0 20px;
  }
}

.top-business__head {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 60px;
}

@media (max-width: 1080px) {
  .top-business__head {
    display: block;
    margin-bottom: 40px;
  }
}

.top-business__tagline {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  padding-bottom: 2px;
}

@media (max-width: 1080px) {
  .top-business__tagline {
    margin-top: 20px;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .top-business__head {
    margin-bottom: 10px;
  }
}

.top-business__body {
  display: flex;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1080px) {
  .top-business__body {
    flex-direction: column;
    gap: 40px;
  }
}

.top-business__content {
  flex: 1;
}

@media (max-width: 1080px) {
  .top-business__content {
    width: 100%;
  }
}

.top-business__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #eee;
}

@media (max-width: 600px) {
  .top-business__list {
    display: block;
    border-top: none;
  }
}

.top-business__item {
  border-bottom: 1px solid #eee;
  padding: 30px;
  cursor: pointer;
  transition: 0.3s;
}

@media (min-width: 601px) {
  .top-business__item:nth-child(odd) {
    border-right: 1px solid #eee;
    padding-left: 0;
  }

  .top-business__item:nth-child(even) {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .top-business__item {
    padding: 20px 0;
    border-right: none;
  }
}

.top-business__item-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-business__item-head {
  position: relative;
  padding-right: 30px;
}

.top-business__item-head::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--color-primary);
  border-right: 1px solid var(--color-primary);
  transform: translateY(-50%) rotate(45deg);
  transition: 0.3s;
}

.top-business__item.is-active .top-business__item-head::after {
  right: -5px;
}

.top-business__item-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  transition: 0.3s;
}

.top-business__item-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

@media (min-width: 1081px) {
  .top-business__item:hover .top-business__item-title {
    color: var(--color-secondary);
  }
}

.top-business__item-img {
  width: 100%;
  margin-top: 10px;
}

.top-business__item-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.top-business__img-wrap {
  width: 45vw;
  flex-shrink: 0;
  position: sticky;
  top: 150px;
}

.top-business__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.top-business__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.top-business__img img.is-animating {
  opacity: 0;
}

.top-business .m-btn-wrap {
  margin-top: 80px;
  text-align: center;
}

@media (max-width: 1080px) {
  .top-business .m-btn-wrap {
    margin-top: 40px;
  }
}

/* ========================================
    当事務所の特徴
    ======================================== */
.top-feature {
  position: relative;
  overflow: hidden;
  margin-top: 120px;
  padding: 100px 0;
  background: #f9f9f9;
}

.top-feature__accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.top-feature__accent img {
  width: 100%;
  height: auto;
}

.top-feature__inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .top-feature {
    padding: 60px 0;
    margin-top: 60px;
  }
}

.top-feature__head {
  margin-bottom: 60px;
  text-align: center;
}

@media (max-width: 768px) {
  .top-feature__head {
    margin-bottom: 40px;
    text-align: left;
  }
}

.top-feature__head .section-ttl {
  align-items: center;
}

@media (max-width: 768px) {
  .top-feature__head .section-ttl {
    align-items: flex-start;
  }
}

.top-feature__item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.top-feature__item:last-child {
  margin-bottom: 0;
}

.top-feature__item:nth-child(even) {
  flex-direction: row-reverse;
}

@media (max-width: 1080px) {
  .top-feature__item {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .top-feature__item {
    flex-direction: column !important;
    gap: 20px;
    margin-bottom: 40px;
  }
}

.top-feature__img {
  width: 45%;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .top-feature__img {
    width: 100%;
  }
}

.top-feature__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.top-feature__content {
  flex: 1;
}

.top-feature__num {
  font-size: 80px;
  font-weight: 500;
  font-family: var(--font-secondary);
  color: #ebebeb;
  line-height: 1;
  margin-bottom: 5px;
}

@media screen and (max-width: 600px) {
  .top-feature__num {
    font-size: 60px;
  }
}

.top-feature__num::after {
  display: none;
}

.top-feature__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-primary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .top-feature__title {
    font-size: 18px;
  }
}

.top-feature__text {
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .top-feature__text {
    font-size: 14px;
  }
}

/* ========================================
    料金案内（新デザイン）
    ======================================== */
.top-price {
  padding: 120px 0;
  background: #fff;
  overflow: hidden;
}

@media (max-width: 768px) {
  .top-price {
    padding: 60px 0;
  }
}

.top-price__box {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
}

@media (max-width: 1080px) {
  .top-price__box {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .top-price__box {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

.top-price__content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.top-price__head {
  margin-bottom: 30px;
}

.top-price__text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.top-price .m-btn-wrap {
  margin-top: 0;
}

.top-price__img {
  width: 55%;
  flex-shrink: 0;
  position: relative;
}

@media (max-width: 768px) {
  .top-price__img {
    width: 100%;
  }
}

.top-price__img::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  right: 30px;
  bottom: 30px;
  background: #f8f7f2;
  border-radius: 0;
  z-index: 1;
}

.top-price__img-inner {
  position: relative;
  z-index: 2;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
}

.top-price__img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
    お問い合わせ（バナー）
    ======================================== */
.top-contact {
  padding: 0;
  background: var(--color-secondary);
}

.top-contact__banner {
  padding: 100px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .top-contact__banner {
    padding: 60px 0;
  }
}

.top-contact__content {
  background: #fff;
  padding: 60px 80px;
  width: 100%;
  max-width: 900px;
  text-align: center;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .top-contact__content {
    padding: 40px 20px;
  }
}

.top-contact__head {
  margin-bottom: 20px;
}

.top-contact__head .section-ttl {
  align-items: center;
}

.top-contact__text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .top-contact__text {
    font-size: 14px;
  }
}

.top-contact .m-btn-wrap {
  margin-top: 0;
}

/* ========================================
    投稿リスト（共通）
    ======================================== */
.m-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.m-post-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.m-post-card:hover {
  opacity: 0.8;
}

.m-post-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 20px;
}

.m-post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.m-post-card:hover .m-post-card__img img {
  transform: scale(1.05);
}

.m-post-card__content {}

.m-post-card__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.m-post-card__date {
  font-size: 13px;
  font-family: var(--font-secondary);
  color: #888;
}

.m-post-card__cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-secondary);
  background: #f0f4ff;
  padding: 2px 8px;
  border-radius: 2px;
}

.m-post-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .m-post-card__title {
    font-size: 15px;
  }
}

/* ========================================
    トップページ 各投稿セクション
    ======================================== */
.top-news,
.top-column {
  padding: 120px 0;
  background: #f8f7f2;
}

@media (max-width: 768px) {

  .top-news,
  .top-column {
    padding: 80px 0;
  }
}

.top-column {
  padding-top: 0;
}

.top-news__head,
.top-column__head {
  margin-bottom: 60px;
}

@media (max-width: 768px) {

  .top-news__head,
  .top-column__head {
    margin-bottom: 40px;
  }
}

.top-news .m-btn-wrap,
.top-column .m-btn-wrap {
  margin-top: 60px;
}

/* 共通パーツ: もっと見るボタン */
.m-btn-more {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px 70px 15px 40px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-secondary);
  color: var(--color-primary);
  transition: 0.3s;
  position: relative;
  min-width: 220px;
  justify-content: center;
}

.m-btn-more::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateX(0) translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--color-secondary);
  border-radius: 50%;
  transition: 0.3s ease;
}

.m-btn-more::before {
  content: "";
  position: absolute;
  right: 37px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateX(0) translateY(-50%) rotate(45deg);
  z-index: 1;
  transition: 0.3s ease;
}

.m-btn-more:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.m-btn-more:hover::after {
  transform: translateX(10px) translateY(-50%);
}

.m-btn-more:hover::before {
  transform: translateX(10px) translateY(-50%) rotate(45deg);
}

/* ========================================
    下層ページ
    ======================================== */
/* 下層ページ共通 MV */
.page-mv {
  position: relative;
  width: 100%;
  height: 400px;
  background: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-mv {
    height: 300px;
  }
}

@media screen and (max-width: 600px) {
  .page-mv {
    height: 240px;
  }
}

.page-mv__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  z-index: 1;
}

.page-mv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .page-mv__img {
    width: 100%;
  }
}

.page-mv__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.page-mv__inner {
  height: 100%;
  position: relative;
}

.page-mv__title {
  padding: 60px 80px 60px 0;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 10;
}

@media (max-width: 768px) {
  .page-mv__inner {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-mv__title {
    width: 100%;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
  }
}

.page-mv__title-sub {
  display: block;
  font-size: 14px;
  color: var(--color-secondary);
  font-weight: 700;
}

.page-mv__title-main {
  display: block;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  font-family: var(--font-primary);
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

/* 下層セクションヘッド */
.m-section-head {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media screen and (max-width: 600px) {
  .m-section-head {
    margin-bottom: 10px;
  }
}

.m-section-head__title {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.m-section-head__title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--color-secondary);
}

/* ヘルパー */
.u-text-small {
  font-size: 13px;
  color: #888;
}

.u-text-center {
  text-align: center;
}

.u-align-center {
  align-items: center;
}

.u-justify-center {
  justify-content: center;
}

.bg-light {
  background-color: #f9f9f9;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* 共通テーブル */
.m-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .m-table-wrap {
    overflow-x: visible;
  }
}

.m-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

@media (max-width: 600px) {
  .m-table {
    min-width: auto;
  }
}

.m-table th,
.m-table td {
  padding: 15px 20px;
  border: 1px solid #eee;
  text-align: left;
}

.m-table th {
  background: #f4f7ff;
  font-weight: 700;
  color: var(--color-secondary);
  width: 50%;
}

@media (max-width: 600px) {
  .m-table th {
    width: 50%;
  }
}

.m-table td {
  background: #fff;
}

@media (max-width: 600px) {

  .m-table th,
  .m-table td {
    padding: 10px 8px;
    font-size: 13px;
  }
}

/* 料金ページ */
.p-price {
  padding: 80px 0;
}

@media screen and (max-width: 600px) {
  .p-price {
    padding: 50px 0;
  }
}

.p-price__intro {
  margin-bottom: 80px;
  line-height: 2;
  font-size: 16px;
    text-align: left;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 600px) {
  .p-price__intro {
    font-size: 14px;
    margin-bottom: 56px;
  }
}

.p-price__item {
  margin-bottom: 80px;
}

@media screen and (max-width: 600px) {
  .p-price__item {
    margin-bottom: 40px;
  }
}

.p-price__item:last-child {
  margin-bottom: 0;
}

.p-price__item-desc {
  margin-bottom: 15px;
}

.p-price__notes {
  margin-top: 100px;
  background: #fff;
  border: 2px solid #eee;
  padding: 40px;
  border-radius: 8px;
}

@media screen and (max-width: 600px) {
  .p-price__notes {
    margin-top: 64px;
  }
}

.p-price__notes-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-price__notes-title::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
}

.p-price__notes-text {
  margin-top: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

@media (max-width: 600px) {
  .p-price__notes {
    padding: 30px 20px;
  }
}

/* 事業所案内ページ */
.p-office__message-inner .m-section-head {
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .p-office__message-inner .m-section-head {
    margin-bottom: 24px;
  }
}

.p-office__message-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .p-office__message-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.p-office__message-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
}

@media screen and (max-width: 600px) {
  .p-office__message-img {
    aspect-ratio: 1 / 1;
  }
}

.p-office__message-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.p-office__message-lead {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.8;
}

@media screen and (max-width: 600px) {
  .p-office__message-lead {
    font-size: 18px;
  }
}

.p-office__message-text {
  line-height: 2;
}

.p-office__message-text p {
  margin-bottom: 1em;
}

.p-office__message-text p:last-child {
  margin-bottom: 0;
}

.p-office__profile-inner {
  margin-top: 20px;
}

.p-office__profile-name-block {
  margin-bottom: 24px;
}

.p-office__profile-name-ja {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

@media (max-width: 600px) {
  .p-office__profile-name-ja {
    font-size: 18px;
  }
}

.p-office--outline .m-table-wrap {
  margin-top: 20px;
}

.p-office__map-wrap {
  margin-top: 24px;
}

.p-office__map-iframe {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}

.p-office__map-iframe iframe {
  display: block;
  width: 100%;
  height: 400px;
}

@media (max-width: 600px) {
  .p-office__map-iframe iframe {
    height: 300px;
  }
}

.p-office__map-link {
  margin-top: 16px;
  text-align: center;
}

.p-office__map-link a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.p-office__map-link a:hover {
  text-decoration: none;
}

/* ご依頼の流れ */
.p-flow__list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-flow__item {
  display: flex;
  gap: 30px;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.p-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 60px;
  width: 2px;
  height: 40px;
  background: #ddd;
}

.p-flow__num {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-secondary);
  font-family: var(--font-secondary);
  line-height: 1;
  flex-shrink: 0;
}

.p-flow__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.p-flow__text {
  line-height: 1.8;
}

@media screen and (max-width: 600px) {
  .p-flow__text {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .p-flow__item {
    flex-direction: column;
    gap: 15px;
    padding: 30px 20px;
  }

  .p-flow__item:not(:last-child)::after {
    left: 30px;
  }

  .p-flow__num {
    font-size: 28px;
  }

  .p-flow__title {
    font-size: 18px;
  }
}

/* リストスタイル */
.m-list-dot {
  margin-bottom: 20px;
}

.m-list-dot li {
  position: relative;
  padding-left: 1.5em;
  line-height: 1.8;
}

.m-list-dot li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

/* 業務内容ページ */
.p-business {
  padding: 80px 0 120px;
}

@media (max-width: 768px) {
  .p-business {
    padding: 60px 0 80px;
  }
}

.p-business__nav {
  background: #f8f8f8;
  padding: 20px 0;
  margin-bottom: 80px;
  position: sticky;
  top: 80px;
  z-index: 100;
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .p-business__nav {
    margin-bottom: 30px;
  }
}

@media (max-width: 1080px) {
  .p-business__nav {
    top: 70px;
  }
}

.p-business__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 30px;
}

@media (max-width: 600px) {
  .p-business__nav-list {
    gap: 10px 20px;
  }
}

.p-business__nav-item a {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  transition: 0.3s;
  position: relative;
  padding-left: 15px;
}

.p-business__nav-item a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 40%;
  width: 5px;
  height: 5px;
  border-right: 2px solid var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  transform: rotate(45deg);
}

.p-business__nav-item a:hover {
  color: var(--color-secondary);
}

.p-business__item {
  margin-bottom: 120px;
  scroll-margin-top: 150px;
}

@media (max-width: 768px) {
  .p-business__item {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
  }
}

@media screen and (max-width: 600px) {
  .p-business__item {
    margin-bottom: 40px;
  }
}

.p-business__item:last-child {
  margin-bottom: 0;
}

.p-business__item-inner {
  display: flex;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .p-business__item-inner {
    flex-direction: column;
    gap: 20px;
  }
}

@media screen and (max-width: 600px) {
  .p-business__item-inner {
    gap: 14px;
    align-items: flex-start;
  }
}

.p-business__item:nth-child(even) .p-business__item-inner {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .p-business__item:nth-child(even) .p-business__item-inner {
    flex-direction: column;
  }
}

.p-business__item-img {
  flex: 0 0 45%;
}

.p-business__item-img img {
  width: 100%;
  aspect-ratio: 1 / 0.7;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.p-business__item-body {
  flex: 1;
}

.p-business__item-text {
  line-height: 2;
  font-size: 16px;
  margin-bottom: 30px;
}

@media (max-width: 600px) {
  .p-business__item-text {
    font-size: 15px;
    line-height: 1.8;
  }
}

.p-business__item-text p {
  margin-bottom: .75em;
}

/* ========================================
    プライバシーポリシー
    ======================================== */
.policy {
  padding-top: 100px;
  padding-bottom: 100px;
}

.policy__title {
  font-size: 24px;
  margin-bottom: 40px;
}

.policy__content {
  line-height: 1.75;
}

.policy__content .wp-block-heading {
  font-size: 20px;
  margin-top: 30px;
}

.policy__content .wp-block-spacer {
  height: 40px !important;
}

.policy__content .wp-block-list {
  padding: 20px 0;
  list-style: disc;
  margin-left: 1em;
}

.policy__content p,
.policy__content a,
.policy__content li {
  margin-top: 1em;
}

/* ========================================
    お問い合わせ
    ======================================== */
.contact {
  padding: 120px 0;
}

@media (max-width: 600px) {
  .contact {
    padding: 80px 0;
  }
}

.contact__info {
  font-size: 16px;
  text-align: center;
  line-height: 2;
  font-weight: 500;
}

@media (max-width: 600px) {
  .contact__info {
    font-size: 14px;
    text-align: left;
  }
}

.contact__form {
  margin-top: 60px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.form-unit {
  width: 100%;
  margin-bottom: 30px;
}

.form-unit__head {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 15px;
}

.m-required::after {
  content: "*";
  color: #E60012;
  font-size: 13px;
  border-radius: 2px;
  padding: 2px 8px;
}

.form-unit__input,
.form-unit__textarea,
.form-unit__input-wrap,
.form-unit__textarea-wrap {
  width: 100%;
  height: auto;
  padding: 12px 15px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s;
}

.form-unit__input-wrap,
.form-unit__textarea-wrap {
  background: #f9f9f9;
  border-color: #eee;
  min-height: 48px;
}

.form-unit__textarea-wrap {
  min-height: 150px;
  white-space: pre-wrap;
}

.form-unit__input:focus,
.form-unit__textarea:focus {
  outline: none;
}

.form-unit__textarea {
  height: 200px;
}

.form-unit__radio {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  margin-top: 10px;
}

.form-unit__radio .wpcf7-list-item {
  margin: 0;
}

.form-unit__radio label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-unit__radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  position: relative;
}

.form-unit__radio input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--color-secondary);
  border-radius: 50%;
}

.form-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 2px;
  margin: 0;
  cursor: pointer;
  position: relative;
}

.form-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 12px;
  border-right: 2px solid var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

.form-consent {
  margin-top: 60px;
  margin-bottom: 40px;
  text-align: center;
}

.form-consent label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
}

.form-unit__policy-link {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: 500;
}

.wpcf7-submit,
.wpcf7-previous {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  appearance: none;
}

.wpcf7-submit {
  background: var(--color-secondary);
  color: #fff;
  border: none;
}

.wpcf7-previous {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #ddd;
  margin-top: 20px;
}

.wpcf7-submit:hover,
.wpcf7-previous:hover {
  opacity: 0.8;
}

.form-submit-wrap {
  margin-top: 60px;
}

.wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 15px !important;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

.wpcf7-not-valid-tip {
  color: #E60012;
  font-size: 13px;
  display: block;
  margin-top: 5px;
}

@media (max-width: 600px) {
  .contact__form {
    margin-top: 40px;
  }

  .form-unit {
    margin-bottom: 20px;
  }

  .form-unit__input,
  .form-unit__textarea {
    font-size: 16px;
  }

  .form-consent {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
  }

  .wpcf7-submit,
  .wpcf7-previous {
    max-width: 100%;
  }
}

.wpcf7-spinner {
  display: none;
}

/* ========================================
    フッター
    ======================================== */
.footer {
  background: #f8f8f8;
  padding: 80px 0 40px;
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }
}

.footer__content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

@media (max-width: 1080px) {
  .footer__content {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }
}

.footer__info {
  max-width: 400px;
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
  flex: 1;
}

@media (max-width: 1080px) {
  .footer__right {
    align-items: flex-start;
  }
}

.footer__logo {
  width: 200px;
  margin-bottom: 20px;
}

.footer__logo img {
  width: 100%;
  height: auto;
}

.footer__office-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer__address {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

.footer__nav {}

.footer__nav-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
  list-style: none;
  padding: 0;
}

@media (max-width: 1080px) {
  .footer__nav-list {
    justify-content: flex-start;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .footer__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

.footer__nav-item a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding-right: 20px;
}

.footer__nav-item a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--color-primary);
  border-right: 1.5px solid var(--color-primary);
  transform: translateY(-50%) rotate(45deg);
  transition: 0.3s;
}

.footer__nav-item a:hover {
  color: var(--color-secondary);
}

.footer__nav-item a:hover::after {
  border-color: var(--color-secondary);
  right: -5px;
}

/* LINEボタン共通（必要に応じてユーティリティへ） */
.m-line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #06c755;
  color: #fff !important;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.m-line-btn::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('../img/common/line-icon.webp') no-repeat center center;
  background-size: contain;
  margin-right: 10px;
}

.m-line-btn:hover {
  opacity: 0.8;
}

.footer__bottom {
  border-top: 1px solid #ddd;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

.footer__sub-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.footer__sub-item a {
  font-size: 12px;
  color: #888;
  text-decoration: none;
}

.footer__sub-item a:hover {
  text-decoration: underline;
}

.footer__copyright {
  font-size: 12px;
  color: #aaa;
  font-family: var(--font-secondary);
}

/* ========================================
    ページネーション
    ======================================== */
.m-pagination {
  margin-top: 60px;
  margin-bottom: 120px;
}

@media (max-width: 600px) {
  .m-pagination {
    margin-top: 40px;
    margin-bottom: 80px;
  }
}

.m-pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.m-pagination .page-numbers a,
.m-pagination .page-numbers span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s;
  border-radius: 50%;
}

.m-pagination .page-numbers .prev,
.m-pagination .page-numbers .next {
  position: relative;
}

.m-pagination .page-numbers .prev::before,
.m-pagination .page-numbers .next::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.m-pagination .page-numbers .prev::before {
  left: 50%;
  transform: translate(-30%, -50%) rotate(-135deg);
}

.m-pagination .page-numbers .next::before {
  left: 50%;
  transform: translate(-70%, -50%) rotate(45deg);
}

.m-pagination .page-numbers .current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.m-pagination .page-numbers a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

@media (max-width: 600px) {

  .m-pagination .page-numbers a,
  .m-pagination .page-numbers span {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
}

/* ========================================
    カテゴリナビ
    ======================================== */
.m-category-nav {
  margin-bottom: 60px;
}

@media (max-width: 600px) {
  .m-category-nav {
    margin-bottom: 40px;
  }
}

.m-category-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  padding: 0 0 20px;
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .m-category-nav__list {
    gap: 20px;
    padding-bottom: 15px;
  }
}

@media (max-width: 600px) {
  .m-category-nav__list {
    gap: 15px;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .m-category-nav__list::-webkit-scrollbar {
    display: none;
  }
}

.m-category-nav__item a {
  font-size: 15px;
  font-weight: 700;
  color: #888;
  text-decoration: none;
  transition: 0.3s;
}

@media (max-width: 600px) {
  .m-category-nav__item a {
    font-size: 14px;
  }
}

.m-category-nav__item a:hover,
.m-category-nav__item.is-active a {
  color: var(--color-secondary);
}

/* ========================================
    投稿詳細（共通）
    ======================================== */
.p-single,
.p-single-column {
  margin-bottom: 120px;
}

@media (max-width: 600px) {

  .p-single,
  .p-single-column {
    margin-bottom: 80px;
  }
}

.p-single__head {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.p-single__title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  margin-top: 10px;
}

.p-single__eye-catch {
  margin-bottom: 40px;
  aspect-ratio: 1 / 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.p-single__eye-catch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-single__footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

/* 記事本文コンテンツの基本スタイル */
.m-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 20px;
  padding-left: 15px;
  border-left: 4px solid var(--color-secondary);
}

.m-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 15px;
}

.m-content p {
  margin-bottom: 1.5em;
  line-height: 1.8;
}

.m-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5em;
}

/* ========================================
    2カラムレイアウト
    ======================================== */
.l-2-col {
  display: flex;
  gap: 60px;
}

.l-2-col__main {
  flex: 1;
  min-width: 0;
}

.l-2-col__side {
  width: 320px;
  flex-shrink: 0;
}

@media (min-width: 1081px) {
  .l-2-col__side {
    position: sticky;
    top: 100px;
    height: fit-content;
  }
}

@media (max-width: 1080px) {
  .l-2-col {
    flex-direction: column;
    gap: 80px;
  }

  .l-2-col__side {
    width: 100%;
  }
}

/* ========================================
    サイドバー
    ======================================== */
.p-sidebar__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.p-sidebar__list {
  list-style: none;
  padding: 0;
}

.p-sidebar__item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.p-sidebar__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.p-sidebar__card {
  display: flex;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.p-sidebar__card:hover {
  opacity: 0.8;
}

.p-sidebar__card-img {
  width: 120px;
  aspect-ratio: 1 / 0.7;
  flex-shrink: 0;
  overflow: hidden;
}

.p-sidebar__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-sidebar__card-body {
  flex: 1;
  min-width: 0;
}

.p-sidebar__card-date {
  font-size: 12px;
  color: #888;
  display: block;
  margin-bottom: 5px;
}

.p-sidebar__card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
    ユーティリティ
    ======================================== */
.u-pc-only {
  display: block;
}

@media (max-width: 600px) {
  .u-pc-only {
    display: none;
  }
}

.u-sp-only {
  display: none;
}

@media (max-width: 600px) {
  .u-sp-only {
    display: block;
  }
}

.u-text-center {
  text-align: center;
}

.u-text-left {
  text-align: left;
}

.u-text-right {
  text-align: right;
}

.u-noscroll {
  overflow: hidden;
}

/*# sourceMappingURL=main.css.map */