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

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

li,
dd {
  list-style-type: none;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

img {
  border: none;
  vertical-align: bottom;
}

a {
  cursor: pointer;
  text-decoration: none;
}

/* === color === */

/* === font-family === */

/* === レイアウト === */

/* === ブレークポイント === */

/* === logo用font === */

/* === box-shadow === */

/* === pxをremに変換 === */

body {
  background: rgb(251, 250, 245);
  color: #333;
  font-family: "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

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

a {
  color: inherit;
  display: block;
  height: 100%;
  width: 100%;
}

/* loading */

.loading {
  align-items: center;
  background: #fff;
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 555;
}

.dot-pulse {
  --uib-size: 40px;
  --uib-speed: 1.3s;
  --uib-color: black;
  align-items: center;
  display: flex;
  height: calc(var(--uib-size) * 0.27);
  justify-content: space-between;
  position: relative;
  width: var(--uib-size);
}

.dot-pulse__dot,
.dot-pulse::before,
.dot-pulse::after {
  background-color: var(--uib-color);
  border-radius: 50%;
  content: "";
  display: block;
  height: calc(var(--uib-size) * 0.18);
  transform: scale(0);
  width: calc(var(--uib-size) * 0.18);
}

.dot-pulse::before {
  animation: pulse var(--uib-speed) ease-in-out infinite;
}

.dot-pulse__dot {
  animation: pulse var(--uib-speed) ease-in-out calc(var(--uib-speed) * 0.125) infinite both;
}

.dot-pulse::after {
  animation: pulse var(--uib-speed) ease-in-out calc(var(--uib-speed) * 0.25) infinite;
}

/* End of loading */

.l-wrapper {
  overflow: hidden;
}

.l-header {
  /* 背景カラーを薄く指定 */
  background: rgba(251, 250, 245, 0.4);
  display: block;
  height: 100px;
  left: 0;
  padding: 0.5rem 0;
  position: fixed;
  top: -100px;
  width: 100%;
  z-index: 100;
}

.l-header.animated {
  top: 0;
  /* アニメーションが適用されるスタイル */
  animation-duration: 1s;
  animation-delay: 1.5s;
  animation-name: fadeInDown;
}

.l-header__inner {
  align-items: center;
  display: flex;
  height: 100%;
  padding: 0 2.5rem;
}

.logo {
  font-family: "Lora", serif;
  font-size: 2.625rem;
  margin-right: auto;
  transition: all 0.5s ease 0s;
}

/* === ヘッダーナビ === */

.p-header-nav__list {
  display: flex;
}

.p-header-nav-list__item {
  font-size: 1.125rem;
}

.p-header-nav-item__link {
  /*はみ出る要素を隠す*/
  overflow: hidden;
  padding: 0.75rem 3.75rem; /*テキストの基点とするためrelativeを指定*/
  position: relative;
}

.p-header-nav-item__link span {
  /*X方向に-50% ※中央寄せにするため*/ /*ブロック要素にして透過なし、テキスト折り返しなし*/
  display: block;
  left: 50%;
  opacity: 1; /*絶対配置でテキストの位置を決める*/
  position: absolute;
  top: 0;
  transform: translate(-50%, 0); /*アニメーションの指定*/
  transition: all 0.5s;
  white-space: nowrap; /*差し替わるテキストの設定*/
}

.p-header-nav-item__link span:nth-child(2) {
  /*X方向に-50% Y方向に-100%*/
  color: #844d1f;
  opacity: 0.01;
  transform: translate(-50%, -100%);
}

/*hoverするとテキストが入れ替わる設定*/

.p-header__nav .p-header-nav-list__item:hover span:nth-child(1) {
  opacity: 0.01; /*透過0に*/
  transform: translate(-50%, -100%); /*X方向に-50% Y方向に-100%*/
}

.p-header__nav .p-header-nav-list__item:hover span:nth-child(2) {
  opacity: 1; /*不透明に*/
  transform: translate(-50%, 0); /*X方向に-50% Y方向に0*/
}

/* === ドロワー内のlogo === */

.l-drawer .logo {
  color: #fff;
  display: inline-block;
}

.l-footer {
  background: #e9cb97;
  height: 6.25rem;
  width: 100%;
}

.l-footer__inner {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 1.25rem 2.5rem;
}

.c-copyright__text {
  color: #333;
  font-size: 0.875rem;
}

.l-section {
  padding: 6rem 0;
  width: 100%;
}

/* service */

.l-service-section {
  /* バランス調整 */
  padding-top: 6.25rem;
}

/* works */

.l-works-section {
  /* バランス調整 */
  padding-top: 6.25rem;
}

/* profile */

/* contact */

.l-section__inner {
  box-sizing: content-box;
  margin-left: auto;
  margin-right: auto; /* 最大幅1200px */
  max-width: 1100px;
  padding: 0 2.5rem;
}

/* service */

/* works */

/* profile */

/* contact */

.l-contact-section__inner {
  display: flex;
  gap: 4%;
  justify-content: center;
}

.l-mv {
  height: calc(100vh - 100px);
  margin-top: 100px;
}

.l-mv__inner {
  padding: 0 1rem;
}

.p-mv__content {
  align-items: center;
  animation: bg-change 8s ease infinite;
  background-image: linear-gradient(45deg, #844d1f 0%, #e9cb97 46%, #fbfaf5 100%);
  background-size: 200% 200%;
  display: flex;
  height: calc(100vh - 200px);
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 95%;
}

.c-mv__lead {
  font-size: 4.375rem;
  font-weight: bold;
  line-height: 1.1;
  white-space: nowrap;
}

.c-mv__text {
  font-size: 0.875rem;
  margin-top: 0.25rem;
  white-space: nowrap;
}

/* === background-color 時間で変更 === */

.l-concept__block {
  padding-top: 7.5rem;
  width: 100%;
}

.l-concept__inner {
  box-sizing: content-box;
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto; /* 最大幅1200px */
  max-width: 1100px;
  padding: 0 2.5rem;
}

.p-concept__content {
  padding: 1.5rem;
  position: relative;
  width: 67%; /* 「」部分 */
}

/* .p-concept__content::before,
.p-concept__content::after {
  content: "";
  height: 1.875rem;
  position: absolute;
  width: 1.875rem;
}

.p-concept__content::before {
  border-left: solid 0.0625rem #844d1f;
  border-top: solid 0.0625rem #844d1f;
  left: 0;
  top: 0;
}

.p-concept__content::after {
  border-bottom: solid 0.0625rem #844d1f;
  border-right: solid 0.0625rem #844d1f;
  bottom: 0;
  right: 0;
} */

.c-concept__lead {
  font-size: clamp(1.875rem, 2.8125vw, 2.25rem);
}

.c-concept__text {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.p-concept__img {
  aspect-ratio: 3/2;
  margin-top: 10rem;
  position: relative;
  width: 40%; /* bg--big */ /* mask 暗くする */
}

.p-concept__img::before {
  background-image: linear-gradient(45deg, #844d1f 0%, #e9cb97 80%, #fbfaf5 100%);
  bottom: -40%;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  right: -70%;
  width: 80%;
  z-index: -1;
}

.p-concept__img::after {
  background: rgba(0, 0, 0, 0.3);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.p-concept__img img {
  -o-object-fit: cover;
  object-fit: cover;
}

.l-drawer {
  background: rgba(0, 0, 0, 0.8);
  height: 100%;
  padding: 0.5rem 1rem;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: all 0.5s ease;
  width: 100%;
  z-index: 200;
  /*ロード中のチラつき防止*/
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

.l-drawer.is-active {
  transform: translateX(0%);
}

.p-drawer__nav {
  margin-top: 20vw;
}

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

.p-drawer-list__item {
  border-bottom: 0.0625rem solid #fff;
  color: #fff;
  font-size: 1.125rem;
  line-height: 1;
  padding: 0.5rem;
}

.p-drawer-list__item:not(:first-child) {
  margin-top: 1.5rem;
}

.p-drawer-item__link {
  transition: color 0.5s;
}

/* === sns === */

.p-sns__list {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.p-sns-list__item {
  height: auto;
  width: 1.25rem;
}

.l-archive-page__mv {
  margin-top: 100px;
}

.l-archive-page-mv__inner {
  box-sizing: content-box;
  margin-left: auto;
  margin-right: auto; /* 最大幅1200px */
  max-width: 75rem;
  padding: 0 2.5rem;
}

.l-single-page__mv {
  margin-top: 100px;
  padding-top: 6.25rem;
}

.l-single-page-mv__inner {
  margin-left: auto;
  margin-right: auto; /* 最大幅1200px */
  max-width: 72.5rem; /* 左右のpaddingをfront-pageより余分に40px追加
  （フルページ画像 横のscroll分） */
  padding: 0 3.75rem;
}

.c-section-title {
  /* 文字が滑らかに表示 */
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
  display: inline-block;
  font-size: 4.375rem;
  font-weight: bold;
  height: 4.375rem;
  line-height: 1;
  margin-top: 15px;
  transition: 0.5s cubic-bezier(0.37, 0, 0.63, 1);
  transition-property: -webkit-clip-path;
  transition-property: clip-path;
  transition-property: clip-path, -webkit-clip-path;
}

.c-section-title.is-animated {
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
}

.c-btn {
  font-size: 1.125rem;
  margin: 5rem auto 0;
  max-width: 100%;
  position: relative;
  width: 15rem;
}

.c-btn__link {
  align-items: center;
  background: #844d1f;
  color: #fff;
  display: flex;
  justify-content: center;
  padding: 1rem;
  transition: all 0.3s ease 0s;
}

.c-btn__link::after {
  border: solid 1px #fff;
  content: "";
  display: block;
  height: calc(100% - 4px);
  left: 2px; /*絶対配置で線の位置を決める*/
  position: absolute;
  top: 2px; /*アニメーションの指定*/
  transition: all 0.3s ease 0s;
  width: calc(100% - 4px);
}

.c-tag {
  background: #e9cb97;
  border-radius: 0.25rem;
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}

.c-scroll {
  bottom: 3.125rem;
  font-family: YuGothic, "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  font-size: 0.875rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  writing-mode: vertical-rl;
}

.c-scroll::after {
  animation: scroll 1.5s infinite;
  background-color: #333;
  bottom: -115px;
  content: "";
  display: inline-block;
  height: 6.25rem;
  position: absolute;
  right: 50%;
  transform: translateX(-50%);
  width: 0.0625rem;
}

/* === scroll animation === */

.c-section-lead {
  margin-top: 2rem;
}

.c-section-lead span {
  display: inline-block;
}

.c-section-lead a {
  text-decoration: underline;
  transition: all 0.3s ease 0s;
}

/* contact-lead */

.c-page-head__title {
  font-size: 4.375rem;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 1rem;
}

.p-works__block {
  margin-top: 5rem;
}

.p-card__list {
  -moz-column-gap: 8%;
  column-gap: 8%;
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  row-gap: 2.5rem;
}

.p-card-list__item {
  background: #fff;
  border: solid 0.0625rem #844d1f;
  width: 46%;
}

.p-card-list__item article {
  height: 100%;
  width: 100%;
}

.p-card-item__head {
  aspect-ratio: 3/2;
  background: #e9cb97;
  border-bottom: solid 0.0625rem #844d1f;
  overflow: hidden;
  width: 100%;
}

.p-card-item__head img {
  transition: 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-card-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
}

.p-card-item__title {
  font-size: 1.125rem;
  font-weight: bold;
}

.p-tag__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.p-contact-lead__block {
  width: 38%;
}

.p-form {
  margin-top: 5rem;
  width: 58%;
}

/* input 初期設定上書き */

[type="text"],
[type="email"],
[type="tel"],
textarea {
  /* reset */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  background-color: transparent;
  background-image: none;
  border: solid 1px #333;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.03), 0px 0px 16px 0px rgba(0, 0, 0, 0.03), 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  height: 100%;
  padding: 0.5rem; /* 上書き */
  width: 100%;
}

textarea {
  height: 12.5rem; /* 縦方向にサイズが変更されることを許可 */
  resize: vertical;
}

[type="submit"] {
  /* reset */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  background-image: none;
  border: none;
  color: inherit;
  font-family: inherit;
  height: 100%; /* 上書き */
  width: 100%;
}

.p-contact__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.p-contact-list__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.p-contact-item__term {
  font-weight: bold;
}

.p-contact-term__inline {
  background: #fff;
  border: solid 1px currentColor;
  border-radius: 0.5rem;
  color: #844d1f;
  display: inline-block;
  font-size: 0.75rem;
  line-height: 1;
  margin-left: 0.5rem;
  padding: 0.125rem 0.25rem;
  vertical-align: baseline;
}

.p-contact-bottom__block {
  margin-top: 2rem;
}

.p-privacy__text {
  align-items: center;
  cursor: pointer;
  display: flex;
}

.p-checkbox-input {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px; /* チェックボックスの見ため */
}

.p-checkbox-input + span {
  background: #fff;
  border: solid 1px #333;
  display: block;
  height: 1.25rem;
  margin-right: 0.5rem;
  width: 1.25rem;
}

.p-checkbox-input:checked + span {
  position: relative;
}

.p-checkbox-input:checked + span::before {
  background: #844d1f;
  content: "";
  display: block;
  height: 0.875rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.875rem;
}

.p-recaptcha__info {
  margin-top: 0.5rem;
  font-size: 0.625rem;
}

.p-recaptcha__info a {
  display: inline;
  text-decoration: underline;
  color: #844d1f;
}

/*reCAPTCHAのロゴを非表示*/
.grecaptcha-badge {
  visibility: hidden;
}

/* cf7 上書き*/
.wpcf7-list-item {
  margin-left: 0;
}

.wpcf7-list-item > label {
  display: flex;
  align-items: center;
}

input[type="checkbox" i] {
  background-color: #fff;
  /* cursor: default; */
  appearance: auto;
  box-sizing: border-box;
  margin: 0px 8px 0px 0px;
  height: 1.25rem;
  width: 1.25rem;
  /* padding: initial; */
  border: solid 1px #333;
  border-radius: 0;
}

/* 送信するボタン */

.p-submit-btn__wrapper {
  margin: 5rem auto 0;
  max-width: 100%;
  width: 15rem;
}

.p-submit-btn {
  align-items: center;
  background: #844d1f;
  border: solid 1px currentColor;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1.125rem;
  justify-content: center;
  padding: 1rem;
  transition: 0.3s ease 0s;
}

/* キーボード操作"以外"でフォーカスされた際はoutlineを消す */

:focus:not(:focus-visible) {
  outline: 0;
}

/* キーボード操作でのフォーカス */

:focus-visible {
  outline: solid 2px orange;
}

/* チェックボックスへのキーボード操作でのフォーカス */

.p-checkbox-input:focus-visible ~ span {
  outline: solid 2px orange;
}

.p-sns__fixed {
  background: #844d1f;
  border-radius: 0.5rem 0 0 0.5rem;
  display: none;
  height: 11.5rem;
  padding: 1.5rem 0.5rem;
  position: fixed;
  right: 0;
  top: 30%;
  width: 2.375rem;
  z-index: 150;
}

.p-sns__text {
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  writing-mode: vertical-rl;
}

.p-sns__items {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.p-sns__item {
  height: auto;
  width: 1.25rem;
}

.p-sns-item__link {
  transition: all 0.3s ease 0s;
}

/* トップへ戻るボタン */

.p-to-top {
  bottom: 2.125rem;
  height: 2rem;
  position: fixed;
  right: 0.25rem;
  width: 2rem;
}

.p-service__list {
  display: flex;
  flex-direction: column; /* 上下余白 */
  gap: 3.75rem;
  margin-top: 5rem;
}

.p-service-list__item article {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.p-service-item__img {
  position: relative;
  width: 40%;
  /* aspect-ratio: 1 / 1; */
}

/* .p-service-item__img::after {
  background: rgba(0, 0, 0, 0.05);
  content: "";
  display: block;
  position: absolute;
  inset: 0;
} */

.p-service-item__img img {
  -o-object-fit: cover;
  /* height: 100%; */
  object-fit: cover;
}

.p-service-item__body {
  display: flex;
  flex: 1 0;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}

.p-service-item__title {
  font-size: 2rem;
  font-weight: bold;
}

.p-service-item__text {
  line-height: 1.5;
}

.p-profile-card {
  background: #fff;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.03), 0px 0px 16px 0px rgba(0, 0, 0, 0.03), 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 2rem;
  margin: 5rem auto 0;
  max-width: 40rem;
  padding: 1.5rem;
  position: relative;
}

.p-profile-card::before {
  background: #844d1f;
  content: "";
  display: block;
  height: 3rem;
  position: absolute;
  right: 0.25rem;
  top: -1.375rem;
  transform: rotate(-45deg);
  width: 1px;
}

.p-profile-card::after {
  background: #844d1f;
  bottom: -1.375rem;
  content: "";
  display: block;
  height: 3rem;
  left: 0.25rem;
  position: absolute;
  transform: rotate(-45deg);
  width: 1px;
}

.p-profile__img {
  aspect-ratio: 1/1;
  width: 35%;
}

.p-profile-card__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-profile-card__item {
  display: flex;
}

.p-profile-card__term {
  font-weight: bold;
}

/* .p-profile-card__desc { mainのリンク} */

.p-profile-card__desc a {
  text-decoration: underline;
  transition: all 0.3s ease 0s;
}

.p-profile-card__desc span {
  display: inline-block;
}

.p-profile-card__info {
  font-size: 0.875rem;
  margin-top: 1rem;
}

.p-drawer-icon {
  cursor: pointer;
  position: fixed;
  right: 1rem;
  top: 1.25rem;
  transition: all 0.3s ease;
  z-index: 300;
}

/* .p-drawer-icon.is-active { ドロワーアイコンがバツの時カラー変更} */

.p-drawer-icon.is-active .p-drawer-icon__bar1 {
  top: 0.5rem;
  transform: rotate(-45deg);
}

.p-drawer-icon.is-active .p-drawer-icon__bar2 {
  display: none;
}

.p-drawer-icon.is-active .p-drawer-icon__bar3 {
  top: 0.5rem;
  transform: rotate(45deg);
}

.p-drawer-icon.is-active .p-drawer-icon__bar {
  background: #fff;
}

.p-drawer-icon__bars {
  background: transparent;
  display: block;
  height: 1.25rem;
  position: relative;
  width: 1.375rem;
}

.p-drawer-icon__bar {
  background: #844d1f;
  content: "";
  display: block;
  height: 0.125rem;
  position: absolute;
  transition: background-color 0.5s;
  width: 1.375rem;
}

.p-drawer-icon__bar1 {
  left: 0;
  top: 0;
}

.p-drawer-icon__bar2 {
  top: 0.5625rem;
}

.p-drawer-icon__bar3 {
  top: 1.1875rem;
}

.p-page-head__block {
  align-items: center;
  background-image: linear-gradient(45deg, #844d1f 0%, #e9cb97 46%, #fbfaf5 100%);
  background-size: 200% 200%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
}

.p-works-archive__block {
  margin-top: 5rem;
}

.p-work-card__info {
  font-size: clamp(0.75rem, 1.093vw, 0.875rem);
  white-space: nowrap;
}

.p-work-card {
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* scrollの基準 */
  position: relative;
}

.p-work-card__head {
  /* === スクロールバー非表示 === */
  -ms-overflow-style: none;
  aspect-ratio: 3/2;
  border: solid 0.0625rem #844d1f;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.03), 0px 0px 16px 0px rgba(0, 0, 0, 0.03), 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
  overflow-y: scroll; /* IE, Edge 対応 */
  scrollbar-width: none;
  width: 100%; /* Firefox 対応 */
}

.p-work-card__head::-webkit-scrollbar {
  display: none; /* Chrome, Safari 対応 */
}

.c-img-scroll {
  display: block;
  height: auto;
  position: absolute;
  right: -1.5625rem;
  top: 10%;
  width: auto;
}

.c-img-scroll p {
  font-family: YuGothic, "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  font-size: 0.875rem;
  position: relative;
  writing-mode: vertical-rl;
}

.c-img-scroll p::before {
  background-color: #333;
  bottom: -115px;
  content: "";
  display: block;
  height: 6.25rem;
  position: absolute;
  right: 50%;
  transform: translateX(-50%);
  width: 0.0625rem;
}

.c-img-scroll p::after {
  background-color: #333;
  bottom: -115px;
  content: "";
  display: block;
  height: 1rem;
  position: absolute;
  right: 35%;
  transform: rotate(30deg);
  width: 0.0625rem;
}

.p-work-card__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
}

.p-work-card__title span {
  display: inline-block;
  font-size: 2.25rem;
  padding-bottom: 0.25rem;
  position: relative;
}

.p-work-card__title span::after {
  background: #844d1f;
  bottom: 0;
  content: "";
  display: block;
  height: 0.0625rem;
  left: 0;
  position: absolute;
  width: 100%;
}

.p-work-card__name {
  font-size: 1.5rem;
}

/* 担当範囲 制作期間 Basic dl.dt.dd*/

.p-work-card__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-work-card-list__item {
  display: flex;
  line-height: 1;
}

.p-work-card__term {
  flex: 0 0 5rem;
}

/* Basic認証 */

@media screen and (min-width: 768px) {
  .logo:hover {
    opacity: 0.7;
  }

  .p-service-list__item article {
    align-items: center;
  }

  .l-profile-section {
    background: linear-gradient(to right, #e9cb97, #e9cb97 88%, rgb(251, 250, 245) 88%, rgb(251, 250, 245) 100%); /* バランス調整 */
    padding-top: 6.25rem;
  }

  .p-concept__content {
    min-width: 31.25rem;
  }

  .c-btn__link:hover {
    background: #e9cb97;
    color: #333;
  }

  .c-btn__link:hover::after {
    border-color: #fff;
    height: calc(100% - 8px);
    left: 4px;
    top: 4px;
    width: calc(100% - 8px);
  }

  .c-section-lead a:hover {
    opacity: 0.7;
  }

  .p-card-item__link:hover .p-card-item__head img {
    transform: scale(1.02);
  }

  .p-submit-btn:hover {
    background: #e9cb97;
    color: #333;
  }

  .p-sns-item__link:hover {
    opacity: 0.7;
  }

  .p-profile-card__term {
    /* 横幅固定 */
    flex: 0 0 5.5rem;
  }

  .p-profile-card__desc a:hover {
    opacity: 0.7;
  }

  .p-drawer-icon {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .l-header {
    height: 60px;
    top: -60px;
  }

  /* .l-header.animated {
    top: 0;
  } */

  .l-header__inner {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.75rem;
  }

  .p-header__nav {
    display: none;
  }

  .l-section {
    padding: 3rem 0;
  }

  .l-service-section {
    padding: 1.875rem 0;
  }

  .l-works-section {
    padding: 1.875rem 0;
  }

  .l-profile-section {
    background: #e9cb97;
    padding: 2.5rem 0;
  }

  .l-section__inner {
    padding: 0 1rem;
  }

  .l-contact-section__inner {
    display: block;
  }

  .l-mv {
    height: calc(100vh - 60px);
    margin-top: 60px;
  }

  .l-mv__inner {
    padding: 0;
  }

  .p-mv__content {
    height: calc(100vh - 120px);
    padding: 0.5rem;
    width: 100%;
  }

  .c-mv__lead {
    font-size: 2.5rem;
  }

  .c-mv__text {
    font-size: 0.75rem;
  }

  .l-concept__block {
    padding: 3.75rem 0;
  }

  .l-concept__inner {
    padding: 0 1rem;
  }

  .p-concept__content {
    padding: 0.75rem;
    width: 85%;
  }

  .c-concept__lead {
    font-size: clamp(1.25rem, 2.8125vw, 1.875rem);
  }

  .c-concept__text {
    font-size: 1rem;
    margin-top: 1.5rem;
  }

  .l-archive-page__mv {
    margin-top: 60px;
  }

  .l-archive-page-mv__inner {
    padding: 0 1rem;
  }

  .l-single-page__mv {
    margin-top: 60px;
    padding-top: 2.5rem;
  }

  .l-single-page-mv__inner {
    padding: 0 1.875rem;
  }

  .c-section-title {
    font-size: 3rem;
    height: 3rem;
  }

  .c-btn {
    font-size: 1rem;
    margin-top: 2.5rem;
  }

  .c-page-head__title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }

  .p-card__list {
    flex-direction: column;
    /*gap: 1.5rem;*/
    margin-left: auto;
    margin-right: auto;
    max-width: 30rem;
  }

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

  .p-contact-lead__block {
    width: 100%;
  }

  .p-form {
    width: 100%;
  }

  .p-submit-btn__wrapper {
    margin-top: 2.5rem;
  }

  .p-submit-btn {
    font-size: 1rem;
  }

  .p-sns__fixed {
    display: none;
  }

  .p-service__list {
    gap: 1.875rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 30rem;
  }

  .p-service-list__item article {
    display: block;
  }

  .p-service-item__img {
    width: 100%;
    /* aspect-ratio: 15 / 10; */
  }

  .p-service-item__body {
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .p-service-item__title {
    font-size: 1.5rem;
  }

  .p-profile-card {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
    width: 35rem;
    max-width: 100%;
  }

  .p-profile__img {
    width: 90%;
    margin: 0 auto;
    max-width: 30rem;
  }

  .p-profile-card__item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .p-profile-card__item:not(:first-child) {
    position: relative;
  }

  .p-profile-card__item:not(:first-child)::before {
    background: #844d1f;
    content: "";
    display: block;
    height: 0.0625rem;
    left: 0;
    position: absolute;
    top: -0.75rem;
    width: 100%;
  }

  .p-profile-card__info {
    margin-top: 1.5rem;
  }

  .p-work-card__body {
    padding: 1rem;
  }

  .p-work-card__title span {
    font-size: 1.25rem;
  }

  .p-work-card__name {
    font-size: 1.125rem;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.5);
  }
}

@keyframes bg-change {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
