@charset "UTF-8";
/* =========================================================
   KOTOTSUGI — main.css
   設計：FLOCSS Object/Project レイヤー（p-）× BEM
   各ページ固有のセクション・パターン
========================================================= */

/* =========================================================
   p-hero（TOP）
========================================================= */
.p-hero {
  position: relative;
  background: var(--rust);
  height: calc(100vh + 300px);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0px 20px 40px;
  overflow: hidden;
  margin-top: -150px;
  margin-bottom: 150px;
}

.p-hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-hero__eyebrow {
  color: var(--white);
  letter-spacing: 0.5em;
  font-size: 15px;
  margin-bottom: 30px;
  padding-left: 0.5em;
}

.p-hero__logo {
  display: flex;
  justify-content: center;
}

.p-hero__logo .c-logo {
  width: clamp(280px, 44vw, 560px);
}

.p-hero__cta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 44px;
}

.p-hero__socials {
  display: flex;
  gap: 26px;
  margin-top: 30px;
}

.p-hero__socials a {
  width: 30px;
  height: 30px;
  color: var(--white);
  opacity: 0.92;
  transition:
    opacity 0.25s,
    transform 0.25s;
}

.p-hero__socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.p-hero__socials svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* =========================================================
   p-about
========================================================= */
.p-about {
  position: relative;
  background: var(--paper);
  padding: 30px 0 150px;
  overflow: visible;
}

.p-about__arch {
  position: absolute;
  left: 0;
  top: -300px;
  width: 100%;
  height: 300px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.p-about__arch svg {
  width: 100%;
  height: 100%;
  display: block;
}

.p-about__arch path {
  fill: var(--paper);
}

.p-about__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.p-about__title {
  font-size: 34px;
  color: var(--rust);
  margin-bottom: 22px;
}

.p-about__lead {
  color: var(--rust);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.p-about__leadEn {
  font-family: "Monoton", cursive;
  font-size: 24px;
  color: var(--rust);
  line-height: 1.2;
  margin: 10px 0 6px;
}

.p-about__leadSub {
  font-family: "Monoton", cursive;
  font-size: 11px;
  color: var(--rust);
  opacity: 0.7;
  letter-spacing: 0.02em;
  margin-bottom: 60px;
}

.p-about__list {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.p-about__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: start;
}

.p-about__num {
  font-family: "Monoton", cursive;
  font-size: 38px;
  color: var(--rust);
  line-height: 1;
}

.p-about__itemTitle {
  font-size: 19px;
  font-weight: 700;
  color: var(--rust);
  margin-bottom: 8px;
}

.p-about__itemText {
  color: var(--rust);
  font-size: 15.5px;
}

.p-about__deco {
  position: absolute;
  z-index: 1;
}

.p-about__deco--circle {
  right: 9%;
  top: 120px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-about__deco--circle::after {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cream);
}

.p-about__deco--tape {
  right: 3%;
  top: 60px;
  width: 130px;
  height: 46px;
  background: var(--taupe);
  transform: rotate(-18deg);
  opacity: 0.85;
}

/* =========================================================
   p-mission（ピン留め：左固定・右スライド）
========================================================= */
.p-mission {
  position: relative;
  height: 280vh;
  background: var(--paper);
}

.p-mission__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.p-mission__left {
  flex: 0 0 42%;
  background: var(--gray);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(30px, 4vw, 70px);
}

.p-mission__wv {
  font-family: "Monoton", cursive;
  font-size: clamp(26px, 2.6vw, 40px);
  color: var(--white);
  margin-bottom: 14px;
}

.p-mission__wvJp {
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  opacity: 0.95;
}

.p-mission__wvEn {
  font-family: "Monoton", cursive;
  font-size: 10px;
  color: var(--white);
  opacity: 0.6;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

.p-mission__logo {
  margin-top: 40px;
}

.p-mission__logo .c-logo {
  width: clamp(220px, 26vw, 360px);
}

.p-mission__right {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.p-mission__slides {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding: 8vh clamp(34px, 5vw, 80px) 14vh;
  will-change: transform;
}

.p-mission__slide {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-mission__title {
  font-family: "Monoton", cursive;
  font-size: clamp(34px, 4vw, 56px);
  color: var(--rust);
}

.p-mission__label {
  color: var(--rust);
  font-weight: 700;
  margin-top: 18px;
  font-size: 16px;
}

.p-mission__statement {
  color: var(--rust);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: 0.06em;
  line-height: 1.95;
  margin-top: 8vh;
}

.p-mission__statement + .p-mission__statement {
  margin-top: 1.4em;
}

/* =========================================================
   p-navy（背景帯）＋ p-portfolio / p-pack
========================================================= */
.p-navy {
  background: var(--navy);
  color: var(--white);
  padding: 120px 0;
}

.p-portfolio {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

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

.p-portfolio__track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.p-portfolio__track::-webkit-scrollbar {
  display: none;
}

.p-portfolio__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.p-portfolio__item {
  flex: 0 0 auto;
  width: 340px;
  aspect-ratio: 1 / 0.97;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  user-select: none;
  position: relative;
}

.p-portfolio__item-label {
  position: absolute;
  bottom: 0;
  font-family: "Monoton", cursive;
  font-size: 20px;
  color: var(--white);
  opacity: 0.55;
}

.p-portfolio__ctrl {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.p-portfolio__side {
  flex: 0 0 240px;
  padding-top: 10px;
}

.p-portfolio__heading {
  font-family: "Monoton", cursive;
  font-size: 34px;
  color: var(--white);
  margin-bottom: 14px;
}

.p-portfolio__jp {
  font-weight: 700;
  margin-bottom: 34px;
}

.p-pack {
  margin-top: 60px;
}

.p-pack__head {
  max-width: 760px;
}

/* 見出し・説明のまとまり */
.p-pack__title {
  font-family: "Monoton", cursive;
  font-size: 34px;
  color: var(--white);
  margin-bottom: 12px;
}

.p-pack__jp {
  font-weight: 700;
  margin-bottom: 26px;
}

.p-pack__desc {
  max-width: 640px;
  line-height: 1.9;
}

.p-pack__lsh {
  font-family: "Monoton", cursive;
  font-size: 22px;
  color: var(--white);
  opacity: 0.9;
  margin-top: 40px;
}

.p-pack__lshSub {
  font-family: "Monoton", cursive;
  font-size: 11px;
  opacity: 0.55;
  line-height: 1.5;
  margin-top: 8px;
  max-width: 560px;
}

.p-pack__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 60px;
}

.p-pack__card {
  background: var(--paper);
  color: var(--ink);
  padding: 38px 34px;
}

.p-pack__pk {
  font-family: "Monoton", cursive;
  font-size: 24px;
  color: var(--navy);
}

.p-pack__pkJp {
  font-weight: 700;
  font-size: 18px;
  margin: 6px 0 26px;
}

.p-pack__small {
  font-size: 14.5px;
  line-height: 1.8;
}

.p-pack__feat {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 14.5px;
}

.p-pack__feat svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.p-pack__note {
  font-size: 13px;
  color: #777;
  margin-top: 4px;
}

.p-pack__priceLabel {
  margin-top: 24px;
  font-size: 14px;
}

.p-pack__price {
  font-size: 40px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.p-pack__price small {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.p-pack__compare {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

.p-pack__card .c-btn {
  margin-top: 30px;
  width: 100%;
  justify-content: center;
}

/* =========================================================
   p-service
========================================================= */
.p-service {
  background: var(--paper);
  padding: 130px 0;
}

.p-service__title {
  font-family: "Monoton", cursive;
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 12px;
}

.p-service__jp {
  font-weight: 700;
  margin-bottom: 30px;
}

.p-service__desc {
  margin-bottom: 60px;
}

.p-service__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.p-service__card {
  border: 1px solid #cfcabd;
  background: transparent;
  padding: 34px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 330px;
}

.p-service__cardTitle {
  font-family: "Monoton", cursive;
  font-size: 19px;
  color: var(--navy);
  line-height: 1.1;
}

.p-service__cardTitleJp {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.p-service__icon {
  width: 96px;
  height: 96px;
  margin: 8px 0;
}

.p-service__cardText {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  margin-top: auto;
}

/* =========================================================
   p-process（タイトル固定 ＋ 工程横スライド）
========================================================= */
.p-process {
  position: relative;
  background: var(--paper);
  padding: 90px 0 150px;
  overflow: hidden;
}

.p-process__layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.p-process__main {
  flex: 1;
  min-width: 0;
  order: 1;
}

.p-process__panel {
  flex: 0 0 auto;
  order: 2;
  width: 597px;
  background: var(--navy);
  color: var(--white);
  padding: 46px 44px;
  will-change: width;
}

.p-process__panelTitle {
  font-family: "Monoton", cursive;
  font-size: 34px;
  color: var(--white);
  opacity: 0.9;
}

.p-process__panelJp {
  font-weight: 700;
  margin: 10px 0 26px;
}

.p-process__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 14px;
  align-items: stretch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.p-process__track::-webkit-scrollbar {
  display: none;
}

.p-process__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.p-process__step {
  flex: 0 0 270px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid #e0dccf;
  padding: 30px 28px;
  user-select: none;
  display: flex;
  flex-direction: column;
}

.p-process__num {
  font-family: "Monoton", cursive;
  font-size: 30px;
  color: var(--rust);
  opacity: 0.85;
}

.p-process__stepHead {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 6px 0 14px;
}

.p-process__stepHead h3 {
  font-size: 20px;
  font-weight: 700;
}

.p-process__icon {
  width: 80px;
  height: 54px;
}

.p-process__stepText {
  font-size: 14.5px;
  color: #555;
}

.p-process__ctrl {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

/* =========================================================
   p-news（TOP内）
========================================================= */
.p-news {
  background: var(--paper);
  padding: 30px 0 140px;
}

.p-news__grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 30px;
  align-items: start;
}

.p-news__head {
  align-self: start;
}

/* グリッド子要素（左カラム） */
.p-news__list {
  min-width: 0;
}

/* グリッド内オーバーフロー防止 */
.p-news__title {
  font-family: "Monoton", cursive;
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 10px;
}

.p-news__jp {
  font-weight: 700;
  margin-bottom: 26px;
}

.p-news__item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  border-bottom: 1px solid #d8d4ca;
}

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

.p-news__date {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
  white-space: nowrap;
}

.p-news__txt {
  flex: 1;
  font-size: 15px;
  color: #444;
}

.p-news__go {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  flex: 0 0 auto;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
}

.p-news__go::after {
  content: "";
  border-left: 8px solid var(--white);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 3px;
  transition: border-color 0.3s;
}

.p-news__item:hover .p-news__go {
  background: var(--white);
}

.p-news__item:hover .p-news__go::after {
  border-left-color: var(--navy);
}

/* =========================================================
   p-contact
========================================================= */
.p-contact {
  position: relative;
  background: var(--paper);
  padding: 60px 0 140px;
  overflow: hidden;
}

.p-contact__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}

.p-contact__title {
  font-family: "Monoton", cursive;
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 12px;
}

.p-contact__jp {
  font-weight: 700;
  margin-bottom: 28px;
}

.p-contact__body {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink);
}

.p-contact__enBig {
  font-family: "Monoton", cursive;
  font-size: 26px;
  color: var(--navy);
  line-height: 1.3;
  margin: 34px 0 6px;
  max-width: 560px;
}

.p-contact__enSub {
  font-family: "Monoton", cursive;
  font-size: 11px;
  color: var(--navy);
  opacity: 0.6;
  line-height: 1.5;
  max-width: 520px;
}

.p-contact__cta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 46px;
}

.p-contact__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.p-contact__shape {
  position: absolute;
}

.p-contact__shape--navy {
  right: 18%;
  top: 120px;
  width: 130px;
  height: 64px;
  background: var(--navy);
  transform: rotate(28deg);
}

.p-contact__shape--taupe {
  right: 6%;
  top: 200px;
  width: 78px;
  height: 160px;
  background: var(--taupe);
  transform: rotate(14deg);
}

.p-contact__shape--hex {
  right: 30%;
  top: 230px;
  width: 110px;
  height: 120px;
}

/* =========================================================
   p-pageHead（下層ページ見出し帯）
========================================================= */
.p-pageHead {
  background: var(--navy);
  color: var(--white);
  padding: 160px 0 70px;
  text-align: center;
}

.p-pageHead__en {
  font-family: "Monoton", cursive;
  font-size: clamp(36px, 6vw, 58px);
  color: var(--white);
  line-height: 1;
  opacity: 0.95;
}

.p-pageHead__jp {
  font-weight: 700;
  font-size: 16px;
  margin-top: 18px;
  letter-spacing: 0.1em;
}

.p-pageHead__lead {
  max-width: 680px;
  margin: 22px auto 0;
  opacity: 0.9;
  font-size: 15px;
}

/* =========================================================
   p-plan（料金一覧）
========================================================= */
.p-plan__intro {
  max-width: var(--content-maxw);
  margin: 0 auto 50px;
  text-align: center;
  color: #555;
}

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

.p-plan__groupHead {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
}

.p-plan__groupEn {
  font-family: "Monoton", cursive;
  font-size: 26px;
  color: var(--navy);
}

.p-plan__groupJp {
  font-weight: 700;
  font-size: 15px;
  color: var(--rust);
}

.p-plan__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.p-plan__table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  text-align: left;
}

.p-plan__table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.p-plan__table tbody tr:nth-child(even) {
  background: var(--paper-2);
}

.p-plan__table tbody tr:hover {
  background: #efe9df;
}

.p-plan__code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  color: #888;
  white-space: nowrap;
  width: 140px;
}

.p-plan__item {
  font-weight: 500;
}

.p-plan__amount {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  text-align: right;
  width: 180px;
}

.p-plan__unit {
  font-size: 12px;
  color: #888;
  font-weight: 500;
  margin-left: 2px;
}

.p-plan__note {
  font-size: 13px;
  color: #888;
  margin-top: 18px;
  line-height: 1.8;
}

.p-plan__cta {
  text-align: center;
  margin-top: 30px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   p-newsList（お知らせ一覧）
========================================================= */
.p-newsList {
  max-width: var(--maxw);
  margin: 0 auto;
}

.p-newsList__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.p-newsList__filterItem {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 40px;
  color: #777;
  transition: 0.25s;
}

.p-newsList__filterItem:hover,
.p-newsList__filterItem.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.p-newsList__row {
  display: grid;
  grid-template-columns: 150px 120px 1fr 36px;
  gap: 22px;
  align-items: center;
  padding: 24px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}

.p-newsList__row:first-child {
  border-top: 1px solid var(--line);
}

.p-newsList__row:hover {
  background: var(--paper-2);
}

.p-newsList__date {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}

.p-newsList__cat {
  justify-self: start;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--rust);
  padding: 4px 12px;
  border-radius: 40px;
}

.p-newsList__ttl {
  font-weight: 500;
}

.p-newsList__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-newsList__arrow::after {
  content: "";
  border-left: 7px solid var(--navy);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

.p-newsList__row:hover .p-newsList__arrow {
  background: var(--navy);
}

.p-newsList__row:hover .p-newsList__arrow::after {
  border-left-color: #fff;
}

/* =========================================================
   p-single（お知らせ個別）
========================================================= */
.p-single {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.p-single__main {
  min-width: 0;
}

.p-single__title {
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.5;
  font-weight: 700;
  margin: 14px 0 24px;
}

.p-single__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--gray);
  border-radius: 8px;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-single__thumb span {
  font-family: "Monoton", cursive;
  color: var(--navy);
  opacity: 0.45;
}

.p-single__share {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}

.p-single__share span {
  font-size: 13px;
  font-weight: 700;
  color: #888;
}

.p-single__share a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-single__share svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.p-single__nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 40px;
}

.p-single__nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--rust);
}

.p-single__nav a:hover {
  text-decoration: underline;
}

.p-single__sidebar {
  min-width: 0;
}

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

.p-single__sideTitle {
  font-family: "Monoton", cursive;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 16px;
}

.p-single__sideList li {
  border-bottom: 1px solid var(--line);
}

.p-single__sideList li a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  transition: color 0.25s;
}

.p-single__sideList li a:hover {
  color: var(--rust);
}

/* =========================================================
   #Responsive（Project レイヤー：768 / 390）
========================================================= */
@media (max-width: 768px) {
  .p-hero {
    padding: 100px 20px 40px;
  }

  .p-about__arch {
    top: -150px;
    height: 150px;
  }

  .p-about__item {
    grid-template-columns: 60px 1fr;
    gap: 12px;
  }

  .p-about__deco--circle {
    right: 4%;
    width: 66px;
    height: 66px;
  }

  .p-about__deco--tape {
    right: 2%;
    width: 100px;
  }

  .p-mission {
    height: auto;
  }

  .p-mission__sticky {
    position: relative;
    height: auto;
    flex-direction: column;
  }

  .p-mission__left {
    flex: none;
    padding: 70px 24px;
  }

  .p-mission__right {
    min-height: auto;
  }

  .p-mission__slides {
    position: relative;
    transform: none !important;
    padding: 40px 24px;
  }

  .p-mission__slide {
    min-height: auto;
    padding: 34px 0;
  }

  .p-mission__slide:first-child {
    padding-top: 0;
  }

  .p-mission__statement {
    margin-top: 20px;
  }

  .p-portfolio {
    flex-direction: column;
  }

  .p-portfolio__main {
    width: 100%;
    flex: none;
  }

  .p-portfolio__item {
    width: min(80vw, 360px);
  }

  .p-portfolio__side {
    flex: none;
    order: -1;
    padding-top: 0;
    padding-bottom: 8px;
  }

  .p-pack__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .p-service__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-process__layout {
    flex-direction: column;
    gap: 30px;
  }

  .p-process__panel {
    order: 0;
    width: 100% !important;
    padding: 34px 26px;
  }

  .p-process__main {
    order: 1;
    width: 100%;
  }

  .p-process__step {
    flex: 0 0 80vw;
  }

  .p-news__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .p-news__item {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .p-contact__shapes {
    opacity: 0.5;
  }

  .p-contact__shape--navy {
    right: 6%;
  }

  .p-contact__shape--taupe {
    right: 2%;
  }

  .p-contact__shape--hex {
    right: 20%;
  }

  .p-pageHead {
    padding: 130px 0 56px;
  }

  /* plan */
  .p-plan__code {
    display: none;
  }

  .p-plan__table {
    font-size: 14px;
  }

  .p-plan__amount {
    width: auto;
  }

  /* news list */
  .p-newsList__row {
    grid-template-columns: 1fr 32px;
    grid-template-areas: "meta arrow" "ttl arrow";
    gap: 6px 14px;
  }

  .p-newsList__date {
    grid-area: meta;
  }

  .p-newsList__cat {
    grid-row: 1;
    justify-self: start;
  }

  .p-newsList__ttl {
    grid-area: ttl;
  }

  .p-newsList__arrow {
    grid-area: arrow;
  }

  .p-single {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 390px) {
  .p-hero__logo .c-logo {
    width: 78vw;
  }

  .p-hero__cta {
    gap: 16px;
  }

  .p-about__inner {
    padding: 0 var(--pad);
  }

  .p-service__grid {
    grid-template-columns: 1fr;
  }

  .p-portfolio__heading,
  .p-pack__title,
  .p-service__title,
  .p-news__title,
  .p-contact__title {
    font-size: 28px;
  }
}
