@charset "UTF-8";

/********** base **********/
/* ========================================
    初期設定
    ======================================== */
/* variables */
:root {
  --color-primary: #151515;
  --color-secondary: #D6D6D6;
  --white: #fff;
  --black: #000;
  --beige: #FFFEFC;
  --bg-works: #F8F8F8;
}

:root {
  --font-primary: "noto sans jp", "serif";
  --font-secondary: "roboto", "serif";
  --font-serif: "noto serif jp", "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;
  overflow-x: hidden;
}

/* TOPページ以外のコンテンツ位置調整 */
body:not(.home) {
  padding-top: 160px;
}

@media screen and (max-width: 600px) {
  body:not(.home) {
    padding-top: 80px;
  }
}

.section-ttl {
  display: flex;
  flex-direction: column;
}

.section-ttl__en {
  font-family: var(--font-secondary);
  font-size: clamp(26px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: 0.05em;
}

.section-ttl__ja {
  font-family: var(--font-primary);
  font-size: 16px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-ttl__ja::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-color: var(--color-secondary);
  border-radius: 50%;
}

@media screen and (max-width: 600px) {
  .section-ttl__ja::before {
    width: 8px;
    height: 8px;
  }
}


/* ========================================
    コンテナ幅
    ======================================== */

.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: 768px) {
  .container-xl {
    max-width: calc(90vw + 32px);
  }
}

@media screen and (max-width: 600px) {
  .container-xl {
    max-width: 100%;
  }
}


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

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

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

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

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

/* ========================================
    ヘッダー
    ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  pointer-events: none;
  /* 透明エリアのクリックを背後に通す */
}

.header__logo,
.header__nav,
.header__hamburger {
  pointer-events: auto;
  /* ロゴとナビゲーションはクリック可能に */
}

.header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 3% 4% 5%;
}

.header__logo {
  width: 17vw;
  min-width: 160px;
  max-width: 230px;
  position: relative;
  z-index: 110;
}

.header__logo-link {
  display: block;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s;
}

.header__logo-link:hover {
  opacity: 0.7;
}

.header__logo-link img,
.header__logo-link picture {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.header__nav {
  transition: opacity 0.3s, visibility 0.3s;
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-list a {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s;
}

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

.header__nav-item {
  position: relative;
}

.header__sub-menu {
  position: absolute;
  top: 0;
  right: calc(100% + 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.header__nav-item:hover .header__sub-menu {
  opacity: 1;
  visibility: visible;
}

.header__sub-menu a {
  font-family: var(--font-primary);
  font-size: 11px;
  line-height: 1.2;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s;
}

.header__sub-menu a:hover {
  opacity: 0.7;
}

.header__hamburger {
  display: none;
  position: relative;
  z-index: 110;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__hamburger span {
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--color-primary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

.header.is-open .header__hamburger span:nth-child(1) {
  top: 24px;
  transform: translateX(-50%) rotate(45deg);
}

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

.header.is-open .header__hamburger span:nth-child(3) {
  top: 24px;
  transform: translateX(-50%) rotate(-45deg);
}

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

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    background-color: var(--white);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .header.is-open .header__nav {
    opacity: 1;
    visibility: visible;
  }

  .header__nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 120px 0;
  }

  .header__nav-list a {
    font-size: 16px;
  }

  .header__sub-menu {
    display: none;
    /* モバイルではサブメニューを簡易化するか非表示にする */
  }

  .header__inner {
    padding: 3% 4% 5%;
  }
}

@media (max-width: 600px) {
  .header__inner {
    padding: 3% 4% 5%;
  }

  .header__nav-list a {
    font-size: 15px;
  }
}

/* ========================================
    フッター
    ======================================== */
.footer {
  background: var(--color-primary);
  color: var(--white);
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer a:hover {
  opacity: 0.7;
}

.footer__main {
  padding: 80px 0 48px;
}

@media (max-width: 600px) {
  .footer__main {
    padding: 64px 0 40px;
  }
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .footer__brand,
  .footer__links {
    flex: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__links {
    gap: 32px;
  }
}

.footer__brand {
  height: auto;
}

.footer__logo {
  display: block;
  width: 240px;
  max-width: 100%;
  margin: 0 0 32px;
}

@media (max-width: 600px) {
  .footer__logo {
    width: 200px;
    margin-bottom: 24px;
  }
}

.footer__logo img,
.footer__logo picture {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.footer__company {
  display: grid;
  gap: 16px;
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
}

.footer__company-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 24px;
}

@media (max-width: 600px) {
  .footer__company-row {
    grid-template-columns: 64px 1fr;
    column-gap: 16px;
  }
}

.footer__company-term {
  margin: 0;
  font-weight: 400;
  opacity: 0.9;
}

.footer__company-desc {
  margin: 0;
  opacity: 0.9;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 80px;
}

@media (max-width: 600px) {
  .footer__nav-list {
    columns: 2;
    column-gap: 32px;
  }
}

.footer__nav-list li {
  break-inside: avoid;
  margin: 0 0 24px;
}

.footer__nav-list a {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .footer__nav-list a {
    font-size: 11px;
  }
}

.footer__sns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.footer__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

@media (max-width: 600px) {
  .footer__sns {
    gap: 16px;
  }

  .footer__sns-link {
    width: 44px;
    height: 44px;
  }
}

.footer__sns-link svg,
.footer__sns-link img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer__bottom {
  padding: 0 0 32px;
}

.footer__bottom-inner {
  display: flex;
  justify-content: center;
}

.footer__copyright {
  font-size: 11px;
  opacity: 0.8;
}

/* ========================================
    メインビジュアル
    ======================================== */
.mainV {
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  pointer-events: none;
  /* 下の要素をクリック可能にする */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  z-index: 1;
}

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

.main {
  position: relative;
  z-index: 10;
  background-color: var(--white);
}

.mainV__inner {
  width: 100%;
}

.mainV__layers {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

/* 初期表示：画面中央のキャッチコピー */
.mainV__catchline {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  text-align: center;
  pointer-events: auto;
  /* キャッチコピー周辺は必要ならクリック可能に */
}

.mainV__catchline-ja {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4.5vw, 48px);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}

.mainV__catchline-en {
  font-family: var(--font-secondary);
  font-size: clamp(10px, 1.8vw, 14px);
  font-weight: 300;
  color: var(--color-primary);
  opacity: 0.7;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}

/* スクロールダウンアニメーション */
.mainV__scroll {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
  /* スクロールダウン表示周辺を必要ならクリック可能に */
}

.mainV__scroll-text {
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: 300;
  color: var(--color-primary);
  letter-spacing: 0.3em;
  opacity: 0.6;
}

.mainV__scroll-line {
  width: 1px;
  height: 80px;
  background: rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.mainV__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  animation: scroll-line 2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
  }

  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* 5枚の画像を収めるエリア（画面の約60%）・はみ出し可 */
/* メインビジュアル内ではスタックのはみ出しを表示 */
.mainV .mainV__inner {
  overflow: visible;
}

.mainV__stack {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72vmin;
  height: 50.4vmin;
  margin-left: -36vmin;
  margin-top: -25.2vmin;
  z-index: 1;
  overflow: visible;
}

.mainV__layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
}

.mainV__stack .mainV__layer--02 {
  z-index: 2;
}

.mainV__stack .mainV__layer--03 {
  z-index: 3;
}

.mainV__stack .mainV__layer--04 {
  z-index: 4;
}

.mainV__stack .mainV__layer--05 {
  z-index: 5;
}

.mainV__layer--06 {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
}

.mainV__layer img,
.mainV__layer picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1/.56;
}

/* ========================================
    ナビゲーションドロワー
    ======================================== */
/* ========================================
    投稿一覧ページ
    ======================================== */
/* ========================================
    投稿詳細ページ
    ======================================== */
.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;
  }
}

/* ========================================
    トップページ
    ======================================== 
*/
/* 背景固定表示用 */
.m-bg-accent {
  position: relative;
  z-index: 1;
}

.m-gb-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  z-index: -1;
}

.m-bg-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: translateZ(0);
}

/* １つ目の背景固定用 */
.m-bg-accent--01,
.m-gb-inner--01 {
  min-height: 100vh;
}

@media (max-width: 600px) {
  .m-bg-img {
    position: absolute;
    width: 100%;
  }

  .m-bg-accent--01,
  .m-gb-inner--01 {
    min-height: fit-content;
  }
}

.m-bg-img--01 {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%), url("../img/top/about-bg.webp");
}

.top-about {
  position: relative;
  overflow: hidden;
}

.top-about__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100vh;
  color: var(--white);
  padding: 96px 0;
}

@media (max-width: 600px) {
  .top-about__content {
    min-height: auto;
    padding: 64px 0;
  }
}

.top-about__sub-ttl {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 500;
}

.top-about__ttl {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 48px;
}

.top-about__text {
  font-size: 16px;
  line-height: 2;
  max-width: 600px;
}

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

@media (max-width: 600px) {
  .top-about__sub-ttl {
    font-size: 16px;
  }

  .top-about__ttl {
    font-size: 22px;
    margin-bottom: 32px;
  }

  .top-about__text {
    font-size: 14px;
  }
}

/* ========================================
    下層ページ
    ======================================== */
.p-page__ttl {
  text-align: left;
  font-size: clamp(24px, 4vw, 36px);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 48px;
  position: relative;
  padding-bottom: 24px;
}

.p-page__ttl::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background-color: var(--color-primary);
}

.p-page__tagline {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  margin-top: -32px;
  margin-bottom: 64px;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 600px) {
  .p-page__ttl {
    font-size: 22px;
    margin-bottom: 32px;
    padding-bottom: 16px;
  }

  .p-page__tagline {
    font-size: 13px;
    margin-top: -24px;
    margin-bottom: 40px;
  }
}

/* ========================================
    IRODORI 100 バナー
    ======================================== */
.p-irodori-banner {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  margin-bottom: 64px;
  background-color: var(--color-primary);
  overflow: hidden;
  color: var(--white);
  transition: opacity 0.3s;
}

.p-irodori-banner:hover {
  opacity: 0.8;
}

@media (max-width: 600px) {
  .p-irodori-banner {
    margin-bottom: 40px;
  }
}

.p-irodori-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.p-irodori-banner__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  transition: 0.3s;
}

.p-irodori-banner:hover .p-irodori-banner__bg::after {
  background: rgba(0, 0, 0, 0.4);
}

.p-irodori-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.p-irodori-banner:hover .p-irodori-banner__bg img {
  transform: scale(1.01);
}

.p-irodori-banner__content {
  position: relative;
  z-index: 2;
  padding: 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 280px;
}

@media (max-width: 1080px) {
  .p-irodori-banner__content {
    padding: 48px;
    min-height: 240px;
  }
}

@media (max-width: 600px) {
  .p-irodori-banner__content {
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
    min-height: auto;
  }
}

.p-irodori-banner__left {
  max-width: 600px;
}

.p-irodori-banner__label {
  font-family: var(--font-secondary);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .p-irodori-banner__label {
    font-size: 11px;
    margin-bottom: 8px;
  }
}

.p-irodori-banner__ttl {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .p-irodori-banner__ttl {
    font-size: 28px;
    margin-bottom: 16px;
  }
}

.p-irodori-banner__text {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .p-irodori-banner__text {
    font-size: 13px;
  }
}

.p-irodori-banner__right {
  margin-left: auto;
}

@media (max-width: 600px) {
  .p-irodori-banner__right {
    margin-left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
}

.p-irodori-banner__link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
}

.p-irodori-banner__link-text {
  font-family: var(--font-secondary);
  font-size: 13px;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .p-irodori-banner__link-text {
    font-size: 12px;
  }
}

.p-irodori-banner__link-icon {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid var(--white);
}

.p-irodori-banner__link-icon::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--white);
  border-right: 1px solid var(--white);
}

.p-irodori-banner__link-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 9px;
  height: 1px;
  background-color: var(--white);
  transform: rotate(-45deg);
  transform-origin: top right;
}

/* ========================================
    実績詳細
    ======================================== */
.p-works-detail {
  padding-bottom: 40px;
}



.p-works-detail__head {
  margin-bottom: 64px;
}

.p-works-detail__thumb {
  margin-bottom: 40px;
}

.p-works-detail__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.p-works-detail__ttl {
  text-align: left;
  font-size: clamp(22px, 3.5vw, 30px);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

.p-works-detail__date {
  display: block;
  text-align: left;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: #999;
  margin-bottom: 16px;
}

@media screen and (max-width: 600px) {
  .p-works-detail {
    padding-top: 20px;
    padding-bottom: 0px;
  }

  .p-works-detail__head {
    margin-bottom: 48px;
  }

  .p-works-detail__thumb {
    margin-bottom: 24px;
  }

  .p-works-detail__ttl {
    font-size: 20px;
  }

  .p-works-detail__date {
    margin-bottom: 12px;
  }
}

/* ========================================
    投稿詳細
    ======================================== */
.p-post-detail {
  padding-bottom: 120px;
}

.p-post-detail__head {
  margin-bottom: 64px;
}

.p-post-detail__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.p-post-detail__date {
  display: block;
  text-align: left;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: #999;
}

.p-post-detail__cat {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 500;
  border-radius: 2px;
}

.p-post-detail__ttl {
  text-align: left;
  font-size: clamp(22px, 3.5vw, 30px);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.p-post-detail__thumb {
  margin-bottom: 40px;
}

.p-post-detail__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.p-post-detail__body {
  margin-bottom: 80px;
}

.p-post-detail__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.p-post-detail__nav-links {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
}

.p-post-detail__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-secondary);
  font-size: 14px;
  transition: opacity 0.3s;
}

.p-post-detail__nav-item:hover {
  opacity: 0.7;
}

.p-post-detail__nav-item--prev .p-post-detail__nav-arrow {
  width: 40px;
  height: 1px;
  background-color: var(--color-primary);
  position: relative;
}

.p-post-detail__nav-item--prev .p-post-detail__nav-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-left: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

.p-post-detail__nav-item--next .p-post-detail__nav-arrow {
  width: 40px;
  height: 1px;
  background-color: var(--color-primary);
  position: relative;
}

.p-post-detail__nav-item--next .p-post-detail__nav-arrow::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-135deg);
  width: 8px;
  height: 8px;
  border-left: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

.p-post-detail__nav-item--spacer {
  flex: 1;
}

@media screen and (max-width: 600px) {
  .p-post-detail {
    padding-top: 50px;
    padding-bottom: 80px;
  }

  .p-post-detail__head {
    margin-bottom: 48px;
  }

  .p-post-detail__ttl {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .p-post-detail__nav {
    gap: 48px;
  }

  .p-post-detail__nav-links {
    padding: 16px 0;
  }

  .p-post-detail__nav-item {
    font-size: 12px;
  }

  .p-post-detail__nav-item--prev .p-post-detail__nav-arrow,
  .p-post-detail__nav-item--next .p-post-detail__nav-arrow {
    width: 24px;
  }
}

/* ========================================
    プライバシーポリシー
    ======================================== */
.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;
}

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

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

.p-contact__info {
  font-size: 14px;
  text-align: center;
  line-height: 2;
}

@media (max-width: 600px) {
  .p-contact__info {
    font-size: 13px;
  }
}

.p-contact__form {
  margin-top: 64px;
  width: 100%;
}

.form-unit {
  width: 100%;
  margin-bottom: 2em;
}

.form-unit__head {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
}

.m-required::after {
  content: "必須";
  color: red;
  font-size: 10px;
  margin-left: 2px;
  border-radius: 4px;
  padding: 0 5px;
}

.form-unit__input,
.form-unit__input-wrap {
  width: 100%;
  height: auto;
  padding: 8px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  border-radius: 4px;
  font-size: 16px;
}

.form-unit__textarea,
.form-unit__textarea-wrap {
  width: 100%;
  padding: 8px;
  height: 210px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  border-radius: 4px;
  font-size: 16px;
}

.form-unit__radio {
  margin-top: 20px;
}

.form-unit__date {
  width: 40%;
  height: 70px;
  padding: 8px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  border-radius: 4px;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .form-unit__date {
    width: 50%;
    height: 54px;
  }
}

.wpcf7-list-item {
  display: block;
  margin-left: 0;
  margin-right: 20px;
}

.wpcf7-submit,
.form__submit {
  text-align: center;
  display: block;
  width: 100%;
  max-width: 430px;
  margin: 40px auto 0;
  padding: 20px;
  border-radius: 4px;
  border: 1px solid var(--color-secondary);
  background-color: var(--white);
  color: var(--color-secondary);
  transition: 0.3s;
  cursor: not-allowed;
}

.wpcf7-submit:not(:disabled),
.form__submit:not(:disabled) {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--white);
  cursor: pointer;
}

.wpcf7-submit:not(:disabled):hover,
.form__submit:not(:disabled):hover {
  opacity: 0.7;
}

.wpcf7-radio {
  -webkit-appearance: button !important;
  appearance: button !important;
  display: flex;
}

.wpcf7-radio input:hover,
.wpcf7-radio label:hover {
  cursor: pointer;
}

.wpcf7-response-output {
  border-color: transparent !important;
  text-align: center !important;
}

input[type=radio] {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #555;
  position: relative;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateY(-2px);
}

input[type=radio]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #555;
  transform: translate(-50%, -50%);
}

.form-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #555;
  position: relative;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateY(-2px);
}

.form-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 25%;
  width: 5px;
  height: 10px;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  transform: rotate(45deg) translate(-50%, -50%);
}

.form-unit__policy-link {
  border-bottom: 1px solid #555;
}

@media screen and (max-width: 768px) {
  .form-unit__policy-link {
    font-size: 15px;
  }
}

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

input.wpcf7-form-control.wpcf7-previous {
  display: block;
  margin: 0 auto;
}

/* ========================================
    CTAセクション
    ======================================== */
.p-cta {
  padding: 120px 0;
  background-color: var(--bg-works);
  text-align: center;
}

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

.p-cta__head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-cta__head .section-ttl__ja {
  justify-content: center;
}

.p-cta__text {
  margin-top: 32px;
  line-height: 2;
  font-size: 15px;
}

@media (max-width: 600px) {
  .p-cta__text {
    font-size: 14px;
    margin-top: 24px;
  }
}

.p-cta__btns {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 32px;
}

@media (max-width: 768px) {
  .p-cta__btns {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

.p-cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  padding: 32px 24px;
  background-color: var(--white);
  border: 1px solid var(--color-secondary);
  text-decoration: none;
  color: var(--color-primary);
  transition: 0.3s;
}

.p-cta__btn:hover {
  opacity: 0.7;
}

.p-cta__btn--tel {
  cursor: pointer;
}

.p-cta__btn-label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.p-cta__btn-num {
  font-size: 28px;
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1;
}

.p-cta__btn-text {
  font-size: 18px;
  font-family: var(--font-secondary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .p-cta__btn {
    padding: 24px 16px;
  }

  .p-cta__btn-num {
    font-size: 24px;
  }

  .p-cta__btn-text {
    font-size: 16px;
  }
}

/* ========================================
    サンクスページ
    ======================================== */
.p-thanks {
  padding: 160px 0 120px;
  text-align: center;
  padding-top: 0;
}

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

.p-thanks__head {
  margin-bottom: 64px;
}

.p-thanks .section-ttl {
  align-items: center;
}

.p-thanks .section-ttl__ja {
  justify-content: center;
}

.p-thanks .m-btn-view__text {
  font-family: var(--font-primary);
  font-weight: 500;
}

.p-thanks__message {
  margin-bottom: 48px;
  line-height: 2;
}

.p-thanks__message p {
  margin-bottom: 1.5em;
}

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

.p-thanks__btn {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

/* NEWS */
.p-news {
  padding: 184px 0 96px;
}

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

.p-news__inner {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

@media screen and (max-width: 1080px) {
  .p-news__inner {
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .p-news__inner {
    flex-direction: column;
    gap: 32px;
  }
}

.p-news__head {
  width: 20%;
  min-width: 160px;
}

@media screen and (max-width: 768px) {
  .p-news__head {
    width: 100%;
  }
}

.p-news__head {
  margin-bottom: 40px;
}

.p-news__body {
  flex: 1;
}

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

.p-news__item {
  border-bottom: 1px solid #E6E6E6;
}

.p-news__item:first-child {
  border-top: 1px solid #E6E6E6;
}

.p-news__link {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 0;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

@media screen and (max-width: 768px) {
  .p-news__link {
    gap: 16px;
    padding: 24px 0;
  }
}

@media screen and (max-width: 600px) {
  .p-news__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
  }
}

.p-news__link:hover {
  opacity: 0.6;
}

.p-news__date {
  font-family: var(--font-secondary);
  font-size: 16px;
  color: #999;
  flex-shrink: 0;
}

.p-news__title {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 600px) {
  .p-news__title {
    white-space: normal;
  }
}

/* PRODUCT */
.p-product {
  padding: 96px 0 120px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .p-product {
    padding: 64px 0 80px;
  }
}

.p-product__head {
  margin-bottom: 64px;
}

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

.p-product__head {
  margin-bottom: 64px;
}

.p-product__body {
  position: relative;
}

.p-product__main-img {
  width: 65%;
  aspect-ratio: 1.6 / 1;
  background-color: #f7f7f7;
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  .p-product__main-img {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 600px) {
  .p-product__main-img {
    width: 80%;
  }
}

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

.p-product__flex-content {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  margin-bottom: 96px;
}

@media screen and (max-width: 1080px) {
  .p-product__flex-content {
    gap: 40px;
    margin-bottom: 64px;
  }
}

@media screen and (max-width: 768px) {
  .p-product__flex-content {
    flex-direction: column-reverse;
    gap: 40px;
  }
}

.p-product__info {
  width: 45%;
  text-align: left;
  margin-top: 80px;
}

@media screen and (max-width: 1080px) {
  .p-product__info {
    margin-top: 40px;
  }
}

@media screen and (max-width: 768px) {
  .p-product__info {
    width: 100%;
    margin-top: 0;
  }
}

.p-product__sub-ttl {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 500;
  margin-bottom: 16px;
}

.p-product__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-primary);
}

.p-product__btn {
  display: flex;
  justify-content: flex-start;
  margin-top: 32px;
}

@media screen and (max-width: 768px) {
  .p-product__btn {
    justify-content: flex-end;
    margin-top: 24px;
  }
}

/* Common View More Button */
.m-btn-view {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-primary);
  transition: 0.3s;
}

.m-btn-view:hover {
  opacity: 1;
  /* Opacity is replaced by line animation */
}

.m-btn-view:hover .m-btn-view__line {
  width: 60px;
  margin-right: -12px;
}

.m-btn-view:hover .m-btn-view__circle {
  background-color: var(--color-secondary);
}

.m-btn-view__text {
  font-family: var(--font-secondary);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.m-btn-view__line {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-primary);
  margin: 0 8px;
  transition: 0.4s ease;
  position: relative;
  z-index: 2;
  /* サークルの前面に配置 */
}

.m-btn-view__circle {
  display: block;
  width: 40px;
  height: 40px;
  background-color: #E6E6E1;
  border-radius: 50%;
  transition: 0.4s ease;
  position: relative;
  z-index: 1;
  /* ラインの背後に配置 */
}

/* Sub Images Layout */
.p-product__sub-imgs {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.p-product__sub-img {
  width: 65%;
  aspect-ratio: 1.5 / 1;
}

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

.p-product__sub-img--01 {
  z-index: 2;
  position: relative;
  margin-bottom: -60px;
}

.p-product__sub-img--02 {
  align-self: flex-start;
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .p-product__sub-img {
    width: 40%;
  }

  .p-product__sub-img--01 {
    margin-bottom: -40px;
  }
}

/* Reverse Layout */
.p-product__body--reverse .p-product__main-img {
  margin-left: auto;
}

.p-product__body--reverse .p-product__flex-content {
  flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
  .p-product__body--reverse .p-product__flex-content {
    flex-direction: column-reverse;
  }
}

.p-product__body--reverse .p-product__sub-imgs {
  align-items: flex-start;
}

.p-product__body--reverse .p-product__sub-img--02 {
  align-self: flex-end;
}

.p-product__body--reverse .p-product__btn {
  justify-content: flex-end;
}

/* WORKS */
.p-works {
  padding: 96px 0 120px;
  background-color: var(--beige);
  overflow: hidden;
  padding-top: 0;
}

@media screen and (max-width: 768px) {
  .p-works {
    padding: 64px 0 80px;
  }
}

.p-works__head,
.p-facilities__head {
  margin-bottom: 64px;
}

@media screen and (max-width: 768px) {

  .p-works__head,
  .p-facilities__head {
    margin-bottom: 40px;
  }
}

.p-works__head,
.p-facilities__head,
.p-about__head,
.p-company__head,
.p-contact__head {
  margin-bottom: 64px;
}

@media (max-width: 600px) {

  .p-works__head,
  .p-facilities__head,
  .p-about__head,
  .p-company__head,
  .p-contact__head {
    margin-bottom: 40px;
  }
}

.p-works__body {
  position: relative;
}

/* Works List (Reusable) */
.p-works-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-works-list__item {
  width: 100%;
}

.p-works-list__link {
  display: block;
  text-decoration: none;
  color: var(--color-primary);
  transition: opacity 0.3s;
}

.p-works-list__link:hover {
  opacity: 0.7;
}

.p-works-list__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: #f7f7f7;
  margin-bottom: 16px;
  overflow: hidden;
}

.p-works-list__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.p-works-list__link:hover .p-works-list__img img {
  transform: scale(1.05);
}

.p-works-list__info {
  text-align: left;
}

.p-works-list__cat {
  display: inline-block;
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
  font-family: var(--font-secondary);
}

.p-works-list__ttl {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

.p-works__btn {
  display: flex;
  justify-content: flex-end;
  margin-top: 48px;
}

@media screen and (max-width: 768px) {
  .p-works__btn {
    margin-top: 32px;
  }
}

/* FACILITIES */
.p-facilities {
  padding: 96px 0 120px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .p-facilities {
    padding: 64px 0 80px;
  }
}

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

.p-facilities-list__item {
  width: 100%;
}

.p-facilities-list__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: var(--beige);
  margin-bottom: 16px;
  overflow: hidden;
}

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

.p-facilities-list__ttl {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  font-weight: 600;
}

.p-facilities-list__text {
  font-size: 13px;
  line-height: 1.8;
  margin: 8px 0 0;
}

/* ABOUT US */
.p-about {
  padding: 184px 0;
  background-color: var(--white);
}

@media screen and (max-width: 768px) {
  .p-about {
    padding: 80px 0;
  }
}

.p-about__head {
  margin-bottom: 120px;
}

@media screen and (max-width: 768px) {
  .p-about__head {
    margin-bottom: 64px;
  }
}

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

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

.p-about__catch {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4.5vw, 42px);
  line-height: 1.5;
  font-weight: 500;
}

.p-about__body {
  display: flex;
  align-items: flex-start;
  gap: 100px;
}

@media screen and (max-width: 1080px) {
  .p-about__body {
    gap: 60px;
  }
}

@media screen and (max-width: 768px) {
  .p-about__body {
    flex-direction: column-reverse;
    gap: 48px;
  }
}

.p-about__main {
  flex: 1;
  padding-left: 0%;
}

@media screen and (max-width: 1080px) {
  .p-about__main {
    padding-left: 0;
  }
}

.p-about__text p {
  font-size: 15px;
  line-height: 2.2;
  margin-bottom: 48px;
}

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

.p-about__signature {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media screen and (max-width: 768px) {
  .p-about__signature {
    margin-top: 48px;
  }
}

.p-about__role {
  font-size: 13px;
  margin-bottom: 12px;
}

.p-about__signature-img {
  width: 180px;
}

.p-about__signature-img img {
  width: 100%;
  height: auto;
}

.p-about__img {
  flex-basis: 380px;
  flex-shrink: 0;
}

@media screen and (max-width: 1080px) {
  .p-about__img {
    flex-basis: 320px;
  }
}

@media screen and (max-width: 768px) {
  .p-about__img {
    flex-basis: auto;
    width: 100%;
    position: static;
  }
}

.p-about__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* TOP SLIDER */
.p-top-slider {
  padding: 120px 0;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .p-top-slider {
    padding: 64px 0;
  }
}

.p-top-slider__wrap {
  overflow: hidden;
}

.p-top-slider__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-top-slider__item {
  width: 28vw;
  /* calc(100vw / 3.5) */
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .p-top-slider__item {
    width: 45vw;
    /* calc(100vw / 2.2) */
  }
}

/* クローン用の小さなスライダー */
.p-top-slider--small {
  padding: 80px 0;
}

@media screen and (max-width: 768px) {
  .p-top-slider--small {
    padding: 40px 0;
  }
}

.p-top-slider--small .p-top-slider__item {
  width: 20vw;
}

@media screen and (max-width: 768px) {
  .p-top-slider--small .p-top-slider__item {
    width: 35vw;
  }
}

.p-top-slider__item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* COMPANY */
.p-company {
  padding: 120px 0;
  background-color: var(--white);
  position: relative;
}

@media screen and (max-width: 768px) {
  .p-company {
    padding: 80px 0;
    overflow: hidden;
  }
}

.p-company__head {
  margin-bottom: 64px;
  text-align: left;
}

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

.p-company__head .section-ttl__ja {
  justify-content: flex-start;
}

.p-company__inner {
  position: relative;
}

.p-company__left {
  position: absolute;
  top: 10%;
  left: 0;
  width: 18vw;
  height: 60%;
  z-index: 1;
}

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

.p-company__right {
  width: 100%;
}

.p-company__body {
  max-width: 780px;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .p-company__body {
    max-width: 100%;
  }
}

.p-company-list {
  margin: 0;
  max-width: 100%;
}

.p-company-list__row {
  display: flex;
  padding: 16px 0;
}

@media screen and (max-width: 600px) {
  .p-company-list__row {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
    padding: 24px 0;
  }
}

.p-company-list__term {
  flex: 0 0 160px;
  text-align: left;
  font-weight: 500;
  color: var(--color-primary);
}

@media screen and (max-width: 600px) {
  .p-company-list__term {
    flex-basis: auto;
    text-align: left;
  }
}

.p-company-list__desc {
  flex: 1;
  text-align: left;
  padding-left: 32px;
  margin: 0;
  line-height: 1.8;
}

@media screen and (max-width: 600px) {
  .p-company-list__desc {
    padding-left: 0;
    text-align: left;
  }
}

.p-company__map {
  margin-top: 80px;
  max-width: 780px;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .p-company__map {
    margin-top: 48px;
    max-width: 100%;
  }
}

.p-company__map-inner {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #eee;
}

.p-company__map-inner iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
}

.p-company__map-text {
  margin-top: 16px;
  font-size: 14px;
  text-align: right;
  color: #666;
}

/* Pagination */
.m-pagination {
  margin-top: 64px;
}

.m-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 16px;
}

.m-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-secondary);
  border-radius: 50%;
  text-decoration: none;
  color: var(--color-primary);
  font-family: var(--font-secondary);
  font-size: 14px;
  transition: 0.3s;
}

.m-pagination .page-numbers:hover:not(.current) {
  background-color: var(--color-secondary);
  color: var(--white);
}

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

.m-pagination .page-numbers.prev,
.m-pagination .page-numbers.next {
  width: auto;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

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

  .m-pagination ul.page-numbers {
    gap: 8px;
  }

  .m-pagination .page-numbers {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .m-pagination .page-numbers.prev,
  .m-pagination .page-numbers.next {
    padding: 0 12px;
    font-size: 11px;
  }
}

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

span.u-pc-only,
a.u-pc-only {
  display: inline;
}

@media (max-width: 600px) {

  .u-pc-only,
  span.u-pc-only,
  a.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;
}

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