@charset "UTF-8";
@font-face {
  font-family: "Pecita";
  src: url("../font/Pecita/Pecita.woff2") format("woff2"), url("../font/Pecita/Pecita.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}


html {
  overflow-y: scroll; /* 常にスクロールバー枠を確保 */
}


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

body {
  margin: 0;
  color: #222;
  background: #ebe7df;
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.l-container {
  max-width: none;
  width: 100%;
  padding: 60px 100px;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  gap: 8px;
  white-space: nowrap;
}
.c-btn--primary {
  background: #c23a41;
  color: #fff;
}
.c-btn--accent {
  background: #ffc022;
  color: #fff;
}
.c-btn--light {
  background: #fff;
  color: #222;
}
.c-btn--ghost {
  position: relative;
  background: #fff;
  color: #222;
  border-color: #fff;
}
.c-btn--ghost::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid #fff;
  border-radius: inherit;
  pointer-events: none;
}
.c-btn--ghost--lg {
  padding: 18px 22px;
  border-radius: 999px;
}

.c-sectionHead {
  margin: 0 0 24px;
}
.c-sectionHead__en {
  position: relative;
  display: inline-block;
  margin: 0;
  color: #c23a41;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 56px;
  line-height: 1;
  z-index: 1;
}
.c-sectionHead__en::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  background: url("../images/aomori.svg") no-repeat center/contain;
  z-index: -1;
  pointer-events: none;
}
.c-sectionHead__jp {
  margin: 8px 0 0;
  font-weight: 700;
  z-index: 1;
  position: relative; /* ← これが必須 */
}
.c-sectionHead--white .c-sectionHead__en,
.c-sectionHead--white .c-sectionHead__jp {
  color: #fff;
  z-index: 1;
}

.l-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ebe7df;
  height: 100px;
}
.l-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
}
.l-header__logo img {
  height: 50px;
  width: auto;
}
.l-header__nav {
  display: flex;
  gap: 12px;
}
.l-header__burger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  position: relative;
}
.l-header__burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #222;
}
.l-header__burger span:nth-child(1) {
  top: 14px;
}
.l-header__burger span:nth-child(2) {
  top: 21px;
}
.l-header__burger span:nth-child(3) {
  top: 28px;
}

.p-fv {
  padding: 20px 20px 0px;
}
.p-fv__inner {
  position: relative;
}
.p-fv__gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  height: 850px;
}
.p-fv__shot {
  border-radius: 30px;
  overflow: hidden;
}
.p-fv__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-fv__copy {
  margin-top: 24px;
  position: relative;
}
.p-fv__bgword {
  position: absolute;
  left: 50%;
  top: 75%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}
.p-fv__title {
  margin: 0;
  font-size: 40px;
}
.p-fv__lead {
  margin: 12px 0 0;
  font-size: 18px;
}
.p-fv__news{
  position: absolute;
  right: 10%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;

  /* 追加：カプセル枠を親へ */
  border: 1px solid #222;
  border-radius: 999px;
  padding: 14px 18px;
  background: #ebe7df; /* 必要なら #fff でもOK */
}

.p-fv__newsLabel {
  margin: 0;
  font-weight: 900;
  color: #c23a41;
  letter-spacing: 0.1em;
}
.p-fv__newsItem{
  border: 0;
  padding: 0;
  min-width: 0;              /* はみ出し防止 */
  display: flex;
  gap: 14px;
  align-items: center;
}

.p-fv__newsDate {
  font-weight: 700;
}
.p-fv__newsText {
  text-decoration: underline;
}

.p-about__intro {
    font-size: 24px;
    line-height: 2.5;
    margin: 80px 120px;
    text-align: center;
    font-weight: bold;
}

.p-about__panel {
  margin-top: 28px;
  background: #c23a41;
  border-radius: 40px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.8fr;
  gap: 28px;
  align-items: center;
}
.p-about__reasonEn {
  margin: 0;
  color: #ffc022;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  font-family: Pecita;
}
.p-about__reasonJp {
  margin: 18px 0 0;
  color: #fff;
  font-weight: 700;
}
.p-about__reasonBig {
  margin: 6px 0 18px;
  color: #fff;
  font-size: 40px;
  font-weight: 900;
}
.p-about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.p-about__tag {
  display: inline-block;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 24px;
}
.p-about__tag::before {
  content: "#";
  color: #FFC022;
  font-weight: 900;
  margin-right: 6px;
}
.p-about__ceoImg {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 180px;
  object-fit: cover;
}
.p-about__ceoRole {
  margin: 10px 0 0;
  color: #ffc022;
  font-weight: 700;
  font-size: 13px;
}
.p-about__ceoName {
  margin: 4px 0 0;
  color: #fff;
  font-weight: 900;
}
.p-about__panelLeft, .p-about__ceo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.p-about__ceo {
  align-items: center;
  text-align: center;
}

.p-service {
  position: relative;
  background: #ebe7df;
  overflow: hidden;
}
.p-service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.p-service__more {
  margin-top: 26px;
  text-align: right;
}
.p-service > .l-container {
  position: relative;
  z-index: 1;
}

.p-service .c-sectionHead__en,
.p-service .c-sectionHead__jp {
  position: relative;
  z-index: 1;
}

.p-serviceCard {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  min-height: 650px;
  border: 1px solid #ccc;
  background: #fff;
}
.p-serviceCard__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-serviceCard__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0) 0%, rgba(34, 34, 34, 0.55) 55%, rgba(34, 34, 34, 0.85) 100%);
  color: #fff;
}
.p-serviceCard__en {
  margin: 0;
  color: #fffaad;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.1;
}
.p-serviceCard__jp {
  margin: 8px 0 0;
  font-weight: 900;
  font-size: 20px;
  z-index: 2;
}
.p-serviceCard__text {
  margin: 8px 0 0;
  opacity: 0.95;
  z-index: 2;
}

/* =========================
   SERVICE内：紹介カード（ドウソコ）
========================= */
.p-serviceCase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  padding: 28px 32px;
  margin-bottom: 60px;
}

/* --- text side --- */
.p-serviceCase__title {
  margin: 0 0 8px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #c23a41;
}

.p-serviceCase__sub {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.p-serviceCase__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.9;
  color: #444;
  max-width: 34em;
}

.p-serviceCase__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  color: #111;
  text-decoration: none;
  transition: 0.2s ease;
}
.p-serviceCase__btn:hover {
  transform: translateY(-1px);
}

/* --- visual side --- */
.p-serviceCaseVisual {
  position: relative;
  min-height: 320px; /* ←高さ足りなくて切れるの防止 */
}

/* phones箱：いま右に飛ばしすぎなので、内側へ */
.p-serviceCaseVisual__phones {
  position: absolute;
  top: 50%;
  right: -40px; /* ←ここが大事（まず控えめ） */
  width: 640px;
  height: 420px;
  transform: translateY(-55%); /* ←上に上げすぎない */
  pointer-events: none;
}

/* 3枚とも同じ傾きに統一（理想） */
.p-serviceCaseVisual__phone {
  transform: rotate(-12deg);
}

/* 3枚を “箱の中で” ちゃんとズラす */
/* 位置だけ違う（重なり順も調整） */
.p-serviceCaseVisual__phone--1 {
  width: 340px;
  left: 150px;
  top: 40px;
  z-index: 3;
}

.p-serviceCaseVisual__phone--2 {
  width: 320px;
  right: 30px;
  top: -80px; /* 上に見切れさせる */
  z-index: 2;
}

.p-serviceCaseVisual__phone--3 {
  width: 240px;
  right: -40px; /* 右に見切れ */
  bottom: -10px; /* 下に少し見切れ */
  z-index: 1;
  opacity: 0.95;
}

/* =========================
   responsive
========================= */
@media (max-width: 900px) {
  .p-serviceCase {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .p-serviceCaseVisual {
    min-height: 220px;
  }
  .p-serviceCaseVisual__phone {
    width: 220px;
  }
  .p-serviceCaseVisual__phone--1 {
    right: 90px;
    top: 24px;
  }
  .p-serviceCaseVisual__phone--2 {
    right: 10px;
    top: 4px;
  }
  .p-serviceCaseVisual__phone--3 {
    right: 44px;
    bottom: -52px;
  }
}
@media (max-width: 640px) {
  .p-serviceCase__title {
    font-size: 36px;
  }
  .p-serviceCaseVisual {
    min-height: 200px;
  }
  .p-serviceCaseVisual__bg {
    clip-path: polygon(50% 0%, 100% 0%, 100% 80%, 70% 100%, 45% 100%);
  }
  .p-serviceCaseVisual__phone {
    width: 180px;
  }
}

.p-case__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.p-case__more {
  margin: 30px 0;
  text-align: right;
}

.p-caseCard {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
}
.p-caseCard__thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.p-caseCard__meta {
  padding: 18px 18px 22px;
}
.p-caseCard__company {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #222;
  font-weight: 700;
  font-size: 13px;
}
.p-caseCard__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eee;
  display: inline-block;
}
.p-caseCard__title {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.5;
}
.p-caseCard__cat {
  margin: 10px 0 0;
  color: #ccc;
  font-size: 13px;
  font-weight: 700;
}

.p-topics {
  position: relative;
  padding: 80px 0;
  margin-bottom: 250px;
  /* 奥：赤いカード */
  /* 手前：白いカード */
}
.p-topics__wrap {
  position: relative;
  border-radius: 40px;
  overflow: visible;
}
.p-topics__left {
  position: relative;
  width: 62%;
  background: #c23a41;
  border-radius: 0 40px 40px 0;
  padding: 100px 60px;
  z-index: 1;
}
.p-topics__right {
  position: absolute;
  top: 30%;
  right: 0;
  width: 68%;
  background: #fff;
  border-radius: 40px 0 0 40px;
  padding: 50px 40px 60px;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  /* 分割用の名残りは不要 */
  border-left: 1px solid #ccc;
}

.p-topicRow {
  display: grid;
  /* date | badge | title | arrow */
  grid-template-areas: "date  .     .     arrow" "badge badge title arrow";
  row-gap: 8px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid #ccc;
}
.p-topicRow__date {
  grid-area: date;
  color: #ccc;
  font-weight: 900;
  font-size: 14px;
}
.p-topicRow__badge {
  grid-area: badge;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c23a41;
  color: #c23a41;
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}
.p-topicRow__title {
  grid-area: title;
  margin: 0;
  font-size: 18px;
  transform: translateY(-10px);
}
.p-topicRow__arrow {
  grid-area: arrow;
  justify-self: end;
  width: 44px;
  height: 44px;
  display: inline-block;
}

.p-contact__box {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.p-contact__en {
  margin: 0;
  color: #c23a41;
  font-weight: 900;
  font-size: 72px;
  letter-spacing: 0.12em;
}
.p-contact__jp {
  margin: 10px 0 0;
  font-weight: 900;
}
.p-contact__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.l-footer {
  background: #ebe7df;
}
.l-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 80px;
  row-gap: 14px;
  align-items: start;
}
.l-footer__logo {
  grid-column: 1/2;
  grid-row: 1/4;
  align-self: end;
}
.l-footer__logo img {
  max-height: none;
  width: min(520px, 65vw);
  height: auto;
  display: block;
}
.l-footer__nav {
  grid-column: 2/3;
  grid-row: 1/2;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 14px 36px;
  font-weight: 900;
  justify-content: end;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.l-footer__nav a {
  white-space: nowrap;
}
.l-footer__privacy {
  grid-column: 2/3;
  grid-row: 2/3;
  justify-self: end;
  font-size: 12px;
  color: #666;
  text-decoration: none;
}
.l-footer__privacy:hover {
  opacity: 0.7;
  text-decoration: underline;
}
.l-footer__info {
  grid-column: 2/3;
  grid-row: 3/4;
  justify-self: end;
  text-align: left;
  margin-top: 10px;
}
.l-footer__company {
  margin: 0;
  font-weight: 900;
}
.l-footer__addr {
  margin: 8px 0 0;
  font-size: 12px;
}
.l-footer__copy {
  display: block;
  margin-top: 10px;
  color: #666;
  font-weight: 900;
  font-size: 12px;
}
@media (max-width: 768px) {
  .l-footer__inner {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }
  .l-footer__logo {
    grid-column: 1;
    grid-row: auto;
    align-self: start;
  }
  .l-footer__logo img {
    width: min(360px, 85vw);
  }
  .l-footer__nav {
    grid-column: 1;
    justify-content: start;
    grid-template-columns: repeat(2, auto);
    gap: 12px 22px;
  }
  .l-footer__privacy {
    grid-column: 1;
    justify-self: start;
  }
  .l-footer__info {
    grid-column: 1;
    justify-self: start;
  }
}


@media (max-width: 1000px) {
  .c-sectionHead__en {
    font-size: 44px;
  }
  .p-fv__gallery {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .p-fv__shot {
    height: 320px;
  }
  .p-about__panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .p-service__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .p-case__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .p-topics__wrap {
    grid-template-columns: 1fr;
  }
  .l-footer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .l-footer__info {
    text-align: left;
  }
}
@media (max-width: 768px) {
  .l-header {
    height: 80px;
  }
  .l-header__nav {
    display: flex;           /* ← none をやめる */
    gap: 10px;
    align-items: center;
  }

  .l-header__nav .c-btn {
    display: none;           /* ← CTAだけ隠す */
  }

  .c-menuBtn {
    display: inline-flex;    /* 念のため */
  }
  .l-header__burger {
    display: block;
  }
  .p-fv__bgword {
    font-size: 72px;
  }
  .p-fv__title {
    font-size: 30px;
  }
  .p-fv__newsItem {
    min-width: 0;
    align-items: flex-start;
  }
}

.p-pageHero__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-pageHero__en {
  margin: 0;
  color: #c23a41;
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 84px;
  line-height: 1.1;
}
.p-pageHero__jp {
  margin: 0;
  color: #c23a41;
  font-weight: 700;
  font-size: 22px;
}


.c-breadcrumb {
  margin-top: 150px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 18px;
  justify-content: flex-end;
}
.c-breadcrumb__link {
  color: #c23a41;
}
.c-breadcrumb__sep {
  color: #222;
}
.c-breadcrumb__current {
  color: #222;
}
@media (max-width: 768px) {
  .c-breadcrumb {
    font-size: 14px;
    justify-content: flex-end; /* ← これを追加！ */
    text-align: right;         /* 念のため追加 */
    margin-top: 60px;
  }
}

.p-aboutPage__figure {
  max-width: 360px;
  margin-left: auto;   /* ← これが右寄せの正体 */
  margin-right: 0;
}
.p-aboutPage__figure img {
  width: 100%;
  aspect-ratio: 360/260;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .p-aboutPage__figure {
    max-width: 100%;
    margin: 0 auto;    /* 中央寄せ */
  }
}

.c-menuBtn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.c-menuBtn img {
  width: 44px;
  height: 44px;
  display: block;
}

.c-menuOverlay {
  position: fixed;
  inset: 0;
  background: #ebe7df;
  z-index: 9999;
}

.c-menuOverlay__inner {
  height: 100%;
  display: flex;
}

.c-menuOverlay__media {
  width: 465px;
  height: 100%;
  overflow: hidden;
}
.c-menuOverlay__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-menuOverlay__panel {
  flex: 1;
  position: relative;
  padding: 240px 240px 60px 230px;
}

.c-menuOverlay__close {
  position: absolute;
  top: 28px;
  right: 35px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.c-menuOverlay__close img {
  width: 44px;
  height: 44px;
  display: block;
}

.c-menuOverlay__cta {
  position: absolute;
  top: 301px;
  right: 187px;
  display: grid;
  gap: 10px;
}

.c-menuOverlay__nav {
  display: grid;
  gap: 36px;
}

.c-menuOverlay__link {
  font-weight: 700;
  font-size: 20px;
  color: #222;
  text-decoration: none;
}

.c-menuOverlay__sub {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}
.c-menuOverlay__sub a {
  font-size: 14px;
  color: #222;
  text-decoration: none;
}

/* SP：左画像なし、CTAは上に */
@media (max-width: 1200px) {
  .c-menuOverlay__panel {
    padding: 240px 60px;
  }
 }

/* SP：左画像なし、CTAは上に */
@media (max-width: 1080px) {
  .c-menuOverlay__panel {
    padding: 240px 40px;
  }
  .c-menuOverlay__cta{
    right: 100px;
  }
 }

/* SP：左画像なし、CTAは上に */
@media (max-width: 930px) {
  .c-menuOverlay__panel {
    padding: 240px 30px;
  }
  .c-menuOverlay__cta{
    right: 70px;
  }
 }




/* SP：左画像なし、CTAは上に */
@media (max-width: 1000px) {
  .c-menuOverlay__media {
    display: none;
  }
  .c-menuOverlay__panel {
    padding: 90px 20px 40px;
  }
  .c-menuOverlay__cta {
    position: static;
    margin: 20px 0 30px;
  }
  .c-menuOverlay__close {
    right: 20px;
  }
  .c-menuOverlay__nav{
    text-align: center;
  }
    .p-contact__box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .p-contact__actions {
    align-items: stretch;
  }
  .p-contact__en {
    font-size: 56px;
  }
  .p-topicRow {
    gap: 8px;
  }
}


/* SPだけ：メニュー内のCTAを「会社概要（最後のリンク）」の下へ */
@media (max-width: 1000px) {

  /* panel内を縦並びにして order が効く状態にする */
  .c-menuOverlay__panel{
    display: flex;
    flex-direction: column;
  }

  /* メニュー（リンク群）を先に */
  .c-menuOverlay__nav{
    order: 1;
  }

  /* CTA（資料DL/お問い合わせ）を最後に */
  .c-menuOverlay__cta{
    order: 2;
    margin-top: 28px;   /* 好みで調整 */
  }
}




@media (max-width: 1000px) {
  .c-menuOverlay__close {
    top:18px ;
  }
}

.p-pageTitle__left {
  position: relative;
  padding-left: 0;
}
.p-pageTitle__decor {
  width: 88px;
  height: 85px;
  display: block;
  margin-bottom: 10px;
}
.p-pageTitle__en {
  margin: 0;
  font-family: "Gabarito", sans-serif;
  font-weight: 700;
  font-size: 84px;
  letter-spacing: 0.1em;
  color: #c23a41;
  line-height: 1.2;
}
.p-pageTitle__jp {
  margin: 10px 0 0;
  font-weight: 700;
  font-size: 22px;
  color: #222;
}
@media (max-width: 768px) {
  .p-pageTitle {
    padding:0px;
  }
  .p-pageTitle__en {
    font-size: 56px;
  }

  .l-container{
    padding: 40px 60px;
  }
}

.p-newsList__items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.p-newsList__item {
  border-bottom: 1px solid #ccc;
}
.p-newsList__link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;
}
.p-newsList__date {
  color: #ccc;
  font-weight: 700;
  font-size: 16px;
  width: 105px;
  flex: 0 0 auto;
}
.p-newsList__cat {
  border: 1px solid #c23a41;
  color: #c23a41;
  border-radius: 14px;
  height: 28px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 auto;
  min-width: 110px;
}
.p-newsList__title {
  font-weight: 700;
  font-size: 18px;
  color: #222;
  flex: 1 1 auto;
}
.p-newsList__arrow {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
}
.p-newsList__arrow img {
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 768px) {
  .p-newsList__link {
    gap: 12px;
  }
  .p-newsList__date {
    width: auto;
    font-size: 14px;
  }
  .p-newsList__arrow {
    margin-left: auto;
    width: 56px;
    height: 56px;
  }
  .p-newsList__title {
    width: 100%;
    font-size: 16px;
  }
  .p-newsList__cat{
    font-size: 12px;
  }
  .p-about__intro{
    font-size: 14px;
    margin: 0px;
  }
}

/* Pagination（Figmaの丸） */
.c-pagination {
  margin-top: 60px;
}
.c-pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}
.c-pagination li {
  margin: 0;
  padding: 0;
}
.c-pagination a,
.c-pagination span {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: "Gabarito", sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
}
.c-pagination .current {
  background: #c23a41;
  color: #fff;
}
.c-pagination a {
  background: transparent;
  color: #c23a41;
  border: 2px solid rgba(194, 58, 65, 0.25);
}

.contact {
  padding: 60px 0;
}

.contact__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact__lead {
  margin: 40px 0 60px;
  text-align: center;
  line-height: 1.8;
}

/* フォーム */
.contact-form__item {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}

.contact-form__item label {
  font-size: 14px;
  margin-bottom: 8px;
}

.contact-form__item input,
.contact-form__item textarea {
  border: 1px solid #ccc;
  padding: 14px;
  font-size: 14px;
  border-radius: 4px;
}

.contact-form__item textarea {
  min-height: 160px;
  resize: vertical;
}

/* ボタン */
.contact-form__btn {
  text-align: center;
  margin-top: 40px;
}

.contact-form__btn button {
  background: #C23A41;
  color: #fff;
  padding: 16px 60px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.3s;
  border-radius: 9999px;
}

.contact-form__btn button:hover {
  opacity: 0.8;
}

/* =====================
 CONTACT PAGE
===================== */
.p-contactHero {
  padding: 140px 0 120px;
  background: #f3eee4;
}

.p-contactHero__title span {
  font-size: 56px;
  font-weight: 700;
  color: #c83c3c;
}

.p-contactHero__title small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
}

.p-documents {
  padding: 120px 0;
}

.p-document {
  display: flex;
  gap: 60px;
  margin-bottom: 100px;
}

.p-document__img img {
  border-radius: 16px;
}

.p-document__body h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.p-document__body p {
  line-height: 1.8;
  margin-bottom: 24px;
}

.p-contactCta {
  background: #f3eee4;
  padding: 120px 0;
}

.p-contactCta__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-contact {
  color: #222;
}

/* ===== HERO ===== */
.p-contactHero {
  padding: 140px 0 120px;
  background: #ebe7df;
}
.p-contactHero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.p-contactHero__title span {
  display: inline-block;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #c23a41;
}
.p-contactHero__title small {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .p-contactHero {
    padding: 110px 0 80px;
  }
  .p-contactHero__title span {
    font-size: 40px;
  }
}

/* ===== DOCUMENT LIST ===== */
.p-documents {
  padding: 110px 0;
}
.p-documents__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .p-documents {
    padding: 80px 0;
  }
}

.p-document {
  display: grid;
  grid-template-columns: 58% 1fr;
  gap: 56px;
  align-items: center;
}
.p-document + .p-document {
  margin-top: 90px;
  padding-top: 90px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.p-document__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.p-document__body h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
}
.p-document__body p {
  line-height: 1.9;
  margin-bottom: 22px;
  color: #666;
}
@media (max-width: 768px) {
  .p-document {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .p-document + .p-document {
    margin-top: 60px;
    padding-top: 60px;
  }
  .p-document__body h2 {
    font-size: 20px;
  }
}

/* ===== BUTTON（簡易） ===== */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.c-btn--red {
  background: #c23a41;
  color: #fff;
}
.c-btn--yellow {
  background: #ffc022;
  color: #fff;
}

/* ===== BOTTOM CTA ===== */
.p-contactCta {
  padding: 120px 0;
  background: #ebe7df;
}
.p-contactCta__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 22px;
}
.p-contactCta__text h2 {
  font-size: 40px;
  letter-spacing: 0.08em;
  color: #c23a41;
  margin-bottom: 12px;
}
.p-contactCta__text p {
  line-height: 1.9;
  color: #666;
  font-weight: 600;
}
.p-contactCta__btns {
  display: grid;
  gap: 12px;
}
.p-contactCta__btns .c-btn {
  width: 100%;
  height: 46px;
}
@media (max-width: 768px) {
  .p-contactCta {
    padding: 90px 0;
  }
  .p-contactCta__inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px;
  }
  .p-contactCta__text h2 {
    font-size: 32px;
  }
}


.p-comingSoon__ttl {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.p-comingSoon__text {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
}


.p-servicePage__content {
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center;     /* 縦中央（高さがあれば） */
  min-height: 60vh;        /* 画面の真ん中感を出す */
}

.p-comingSoon {
  text-align: center;      /* 文字自体も中央揃え */
}


/* 必須ラベル */
.contact-form__required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;

  color: #fff;
  background-color: #C23A41; /* ブランドに合わせて調整OK */
  border-radius: 9999px;

  vertical-align: middle;
  letter-spacing: 0.05em;
}

.contact-form__label {
  display: inline-flex;
  align-items: center;
}
/* チェックボックスグループ */
.contact-form__checks {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.contact-form__check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


/* プライバシーポリシーリンク */
.contact-form__policyLink {
  color: inherit;              /* 周囲の文章と同色 */
  text-decoration: underline;  /* 下線だけ付ける */
  text-underline-offset: 2px;  /* 下線を少し下げて上品に */
}

.contact-form__policyLink:hover {
  opacity: 0.7;
}


/* プライバシーポリシー注意文だけ中央寄せ */
.contact-form__note {
  text-align: center;
}


/* お名前（姓・名）の横並び */
.contact-form__row2 {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2分割 */
  gap: 12px;
  width: 100%; /* ← これが重要 */
}

/* 中のinputは幅100% */
.contact-form__row2 input {
  width: 100%;
}


@media (max-width: 768px) {
  .l-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 22px;
    justify-items: center;
    text-align: center;
  }

  /* ✅ PCのgrid配置（row/column）を全部リセット */
  .l-footer__logo,
  .l-footer__nav,
  .l-footer__privacy,
  .l-footer__info {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  /* ✅ 並び順（ロゴ → ナビ → プライバシー → 会社情報） */
  .l-footer__logo { order: 1; }
  .l-footer__nav { order: 2; justify-content: center; grid-template-columns: repeat(2, auto); gap: 12px 22px; }
  .l-footer__privacy { order: 3; }
  .l-footer__info { order: 4; text-align: center; }

  .l-footer__logo img {
    margin: 0 auto;
    width: min(360px, 85vw);
  }

    .l-footer__logo {
    margin-bottom: 30px; /* ← まずは18px。好みで 24〜36px までOK */
  }
}


/* single本文だけ幅を絞って中央に */
.p-single__inner{
  max-width: 900px;   /* 好みで 640〜820 */
  margin: 0 auto;
}

/* 文字は左揃えのまま */
.p-single__article{
  text-align: left;
}

/* スマホの左右余白 */
@media screen and (max-width: 780px){
  .p-single__inner{
    max-width: 100%;
  }
}


/* ===== メニューボタン：初期は ☰ だけ表示、× は隠す ===== */
.c-menuBtn--close { display: none; }

/* メニューOPEN中は ☰ を隠して × を表示 */
body.is-menuOpen .c-menuBtn--open { display: none; }
body.is-menuOpen .c-menuBtn--close { display: inline-flex; }

/* 開いてる間は背面スクロール停止 */
body.is-menuOpen { overflow: hidden; }

/* ヘッダーは常に最前面 */
.l-header { z-index: 10000; }

/* overlayはヘッダーの下から表示（ヘッダーは残る） */
.c-menuOverlay{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  top: 100px;              /* headerの高さ（SPはJSで問題ないなら80にしてもOK） */
  background: #ebe7df;
  z-index: 9999;           /* headerより下 */
}
@media (max-width: 768px){
  .c-menuOverlay{ top: 80px; }
}


/* 1200px以下：NEWSをフローに戻して被りを防ぐ */
@media (max-width: 1200px){
  .p-fv__news{
    position: static;         /* ✅ absolute解除 */
    right: auto;
    margin-top: 16px;

    display: flex;
    align-items: center;
    gap: 14px;

    justify-content: flex-end; /* ✅ 右寄せ感は維持 */
  }

  .p-fv__newsItem{
    min-width: 0;             /* ✅ はみ出し防止 */
    width: min(680px, 100%);  /* ✅ PC寄りの見た目を維持しつつ縮む */
  }
}


.p-fv__news{
  z-index: 5;
}

.p-fv__newsItem{
  position: relative;
  z-index: 6;
}



.p-service .p-case__more .c-btn--light{
  position: relative; /* ← ::before を載せるため必須 */
}


/* 矢印付きボタン（文字は中央、▶は右端） */
.c-btn--withArrow{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 260px;
  padding: 14px 56px; /* 左右同じ＝文字は中央 */
  font-weight: 900;
}

/* ラベル */
.c-btn--withArrow .c-btn__label{
  letter-spacing: 0.08em;
}

/* 右端の矢印（画像） */
.c-btn--withArrow .c-btn__arrow{
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform .2s ease, opacity .2s ease;
}

.c-btn--withArrow .c-btn__arrow img{
  width: 14px;   /* ← 好みで 12〜16px */
  height: auto;
  display: block;
}

/* hoverで“進む感” */
.c-btn--withArrow:hover .c-btn__arrow{
  transform: translateY(-50%) translateX(4px);
  opacity: .9;
}

/* 外側に1pxラインを出す共通スタイル */
.c-btn--outline{
  position: relative;
}

.c-btn--outline::before{
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid #fff;
  border-radius: inherit;
  pointer-events: none;
}


/* ドウソコボタン（左アイコン＋右テキスト） */
.p-serviceCase__btn--dousoko{
  display: inline-flex;
  align-items: center;
  gap: 14px;

  padding: 0;                 /* pillをやめる */
  border: none;
  background: transparent;

  font-weight: 900;
  font-size: 16px;
  color: #111;
}

.p-serviceCase__btnIcon{
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.p-serviceCase__btnIcon img{
  width: 64px;
  height: 64px;
  display: block;
}

/* hover：ちょい気持ちよく */
.p-serviceCase__btn--dousoko:hover .p-serviceCase__btnIcon{
  transform: translateY(-1px);
}
.p-serviceCase__btn--dousoko:hover{
  opacity: .9;
}

@media (max-width: 640px){
  .p-serviceCase__btnIcon,
  .p-serviceCase__btnIcon img{
    width: 56px;
    height: 56px;
  }
  .p-serviceCase__btn--dousoko{
    font-size: 15px;
    gap: 12px;
  }
}

/* 1000px以下：TOPICSを縦並びに（重なり解除） */
@media (max-width: 1000px) {

  .p-topics{
    margin-bottom: 0; /* ← 250px の余白が邪魔なら解除（必要に応じて） */
    padding: 60px 0;
  }

  .p-topics__wrap{
    /* wrap自体はそのままでOK */
  }

  /* 左（赤）を全幅に */
  .p-topics__left{
    width: auto;
    border-radius: 40px;     /* 右だけ丸い→全体丸く */
    padding: 60px 28px 40px; /* SP寄りに詰める */
    text-align: center;      /* 見出し/一覧へ を中央に */
    margin: 0 40px;
  }

  /* 右（白）をフローに戻して下へ */
  .p-topics__right{
    position: static;        /* ✅ absolute解除 */
    width: auto;         
    margin-top: 20px;        /* 赤の下に間隔 */
    border-radius: 40px;     /* 左だけ丸い→全体丸く */
    border-left: 0;          /* 名残り消す */
    padding: 28px 22px 32px; /* 余白調整 */
    margin: 20px 40px 0px;
  }

  /* 一覧へボタンを中央に置く */
  .p-topics__left .c-btn{
    margin: 18px auto 0;
  }
  .p-about__intro{
    font-size: 16px;
  }
}


@media (max-width: 480px) {
  .p-contact__en{
    font-size: 30px;
  }
  .p-contact__jp{
    font-size: 14px;
  }
  .p-topicRow__title{
    font-size: 14px;
  }
  .p-topicRow__badge{
    font-size: 10px;
  }
  .p-topicRow__date{
    font-size: 12px;
  }
  .p-about__reasonBig{
    font-size: 32px;
  }
  .p-about__tag{
    font-size: 16px;
  }
  .c-btn--withArrow {
      min-width: 200px;
}
  .p-case__more{
    text-align: center;   /* ← 中央寄せ */
  }
}

/* プライバシーポリシー全体 */
.p-policy {
  max-width: 880px;     /* ← 読みやすい横幅 */
  margin: 0 auto;       /* ← 中央寄せ */
  text-align: left;     /* ← 左書き */
}

/* 見出し */
.p-policy__title {
  margin-top: 48px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

/* 本文 */
.p-policy p,
.p-policy li {
  line-height: 1.9;
  font-size: 15px;
}

/* 箇条書き */
.p-policy ul {
  padding-left: 1.2em;
}

.p-case__comingSoon {
  margin-top: 40px;
  padding: 40px 20px;
  text-align: center;
  border: 1px dashed #ccc;
  background: #f9f9f9;
}

.p-case__comingSoonText {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.p-case__comingSoonSub {
  font-size: 14px;
  color: #666;
}

/* ✅ 行全体クリック用（見た目は一切変えない） */
.p-topicRow{
  position: relative;
}

.p-topicRow__hit{
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  text-indent: -9999px; /* アクセシビリティ的にラベルは aria-label でOK */
}


/* =========================
  Service Page（service.php 用）
  ※ p-serviceUnit 版（縦積み：参考ページ風）
========================= */

/* Main Visual */
.p-servicePage__visual { padding: 24px 0 0; }
.p-servicePage__figure { margin: 0; border-radius: 16px; overflow: hidden; }
.p-servicePage__figure img { width: 100%; height: auto; display: block; }

/* Intro */
.p-servicePage__intro { padding: 32px 0 8px; }
.p-servicePage__introTtl { margin: 0 0 10px; font-size: 24px; line-height: 1.4; }
.p-servicePage__introText { margin: 0; opacity: .9; line-height: 1.9; }

/* Cards */
.p-servicePage__cards { padding: 24px 0 8px; }


/* =========================
  Service Unit（縦積み）
========================= */
.p-serviceUnit{
  border-top: 1px solid rgba(0,0,0,.08);
  text-align: center;
}
.p-serviceUnit:first-child{
  border-top: none;
}

.p-serviceUnit__head{
  margin-bottom: 22px;
}

.p-serviceUnit__en{
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: .10em;
  opacity: .9;
}

.p-serviceUnit__jp{
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
}



/* 画像 */
.p-serviceUnit__hero{
  max-width: 900px;
  margin: 0 auto 22px;
}
.p-serviceUnit__hero img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* 本文 */
.p-serviceUnit__body{
  max-width: 860px;
  margin: 0 auto;
}
.p-serviceUnit__text{
  margin: 0;
  line-height: 2;
  opacity: .95;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;   /* ← これを追加 */
}



/* アンカー飛び：固定ヘッダーで見出しが隠れるのを防ぐ */
#sns, #recruit, #web{
  scroll-margin-top: 120px;
}

/* SP */
@media (max-width: 900px) {
  .p-serviceUnit__jp { font-size: 22px; }
  .p-serviceUnit{ padding: 56px 0; }
  .p-serviceUnit__hero{ margin-bottom: 18px; }
}


/* =========================
   FLOW TEXT
========================= */
.p-flow-text {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.p-flow-text__inner {
  width: 100%;
  overflow: hidden;
}

.p-flow-text__track {
  display: flex;
  width: max-content;
  animation: flowText 25s linear infinite;
}

.p-flow-text__track span {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff; /* ← 白文字 */
  white-space: nowrap;
  padding-right: 60px;
}


/* animation */
@keyframes flowText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
