@charset "utf-8";

:root {
  --header-height: 90px;
}

@media (min-width: 1200px) {
  :root {
    --header-height: 120px;
  }
}

.c-link-button--pink {
  --link-button-color: #eedcdd;
}

.c-link-button--green {
  --link-button-color: #aabca2;
}

/* ========================================
   Reset CSS (simple)
======================================== */

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

/* margin / padding reset */
/*html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
  color: #403A36;
}
*/

/* body */
body {
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
  -webkit-text-size-adjust: 100%;
}

/* list */
ul,
ol {
  list-style: none;
}

/* link */
a {
  color: inherit;
  text-decoration: none;
}

/* image */
img,
picture {
  max-width: 100%;
  display: block;
}

/* form */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* button */
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* table */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* textarea */
textarea {
  resize: vertical;
}

/* iframe */
iframe {
  border: 0;
}

body,html {
  color:#403A36;
  font-family: "M PLUS 1 Code", monospace;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  background: #F7F0E6;
  overflow-x: clip;
}

html {
  padding-top: var(--header-height);
}

/* ========================================
   Common link button
======================================== */

.c-link-button {
  --link-button-color: #e99411;
  --link-button-radius: 14px;

  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  width: fit-content;
  max-width: 100%;
  min-height: 72px;
  margin: 15px auto;
  padding: 10px 10px 12px;
  overflow: hidden;

  color: #403a36;
  font-size: clamp(1.2rem, 1.8vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  text-decoration: none;

  border-radius: var(--link-button-radius);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;

  transition:
  color 0.3s ease,
  transform 0.3s ease;
}

/* 最初は下線だけ */
.c-link-button::before {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background-color: var(--link-button-color);
  border-radius: 0;

  transition:
  height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
  border-radius 0.35s ease;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* 矢印 */
.c-link-button__icon {
  flex: 0 0 auto;
  width: 1.35em;
  height: 1.35em;
  color: currentColor;

  transition: transform 0.3s ease;
}

/*
 * SVG内に固定色が入っていても、
 * CSS側からcurrentColorを適用
 */
.c-link-button__icon path,
.c-link-button__icon polygon,
.c-link-button__icon rect,
.c-link-button__icon circle {
  fill: currentColor;
}

/* テキスト */
.c-link-button__label {
  min-width: 0;
  white-space: nowrap;
}

/* hover・キーボード操作・タップ中 */
.c-link-button:hover,
.c-link-button:focus-visible {
  color: #fff;
  box-shadow: 10px 10px 0px 0px rgba(200, 112, 1, 0.4);
}

.c-link-button:active {
  transform: translate(7px, 7px);
  box-shadow: 0 0 0 0 rgba(200, 112, 1, 0.4);
  transition-duration: 0.05s;
}

/* 下線を上まで広げてボタン化 */
.c-link-button:hover::before,
.c-link-button:focus-visible::before,
.c-link-button:active::before {
  height: 100%;
  border-radius: var(--link-button-radius);
}

/* 矢印を少し右へ */
.c-link-button:hover .c-link-button__icon,
.c-link-button:focus-visible .c-link-button__icon,
.c-link-button:active .c-link-button__icon {
  transform: translateX(6px);
}

/* キーボードフォーカス */
.c-link-button:focus-visible {
  outline: 3px solid rgb(233 148 17 / 30%);
  outline-offset: 4px;
}

/* 横幅いっぱいにしたい場合 */
.c-link-button--wide {
  width: 100%;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .c-link-button {
    min-height: 62px;
    padding: 23px 10px;
    font-size: clamp(1rem, 5vw, 1.75rem);
  }

  .c-link-button__icon {
    width: 1.25em;
    height: 1.25em;
  }
}

@media (max-width: 400px) {
  .c-link-button {
    min-height: 62px;
    padding: 8px 10px 10px;
    font-size: clamp(1rem, 4vw, 1.75rem);
  }

  .c-link-button__icon {
    width: 1.25em;
    height: 1.25em;
  }
}

/* ========================================
   simple button
======================================== */


.link-button-2 {
  --link-button-color: #e99411;
  --link-button-radius: 14px;
  background-color: var(--link-button-color);
  border-radius: var(--link-button-radius);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 72px;
  margin: 30px 0;
  padding: 10px 14px 12px;
  overflow: hidden;
  font-size: clamp(1rem, 2vw, 2.3rem);
  font-weight: 300;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--link-button-radius);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
  color 0.2s ease,
  background-color 0.2s ease,
  transform 0.15s ease,
  box-shadow 0.15s ease;
  color: #fff;
  box-shadow: 10px 10px 0px 0px rgba(200, 112, 1, 0.4);
}

@media (max-width: 767.98px) {
  .link-button-2 {
    width: fit-content;
    min-width: 300px;
    max-width: 100%;
    min-height: 72px;
    font-size: clamp(1rem, 2vw, 2.3rem);
  }
}

.link-button-2 svg {
  display: block;
  width: 42px;
  height: 34px;
  color: #fff;
  filter: drop-shadow(0 1px 1px rgb(64 58 54 / 20%));
}

.link-button-2 span {
  margin-left: 10px;
}

.link-button-2:hover {
 opacity: 0.9;
}

.link-button-2:active {
  opacity: 1;
  transform: translate(10px, 10px);
  box-shadow: 0 0 0 0 rgba(200, 112, 1, 0.4);
  transition-duration: 0.05s;
}

/* ==================================================
  汎用：情報リスト
================================================== */
.c-info-list {
  --info-list-color: #f4dab4;
  --info-list-label-width: 30%;
  --info-list-column-gap: clamp(24px, 3vw, 48px);
  --info-list-row-gap: 30px;

  width: 100%;
  margin: 0;
}

/* カラーバリエーション */
.c-info-list--orange {
  --info-list-color: #f4dab4;
}

.c-info-list--pink {
  --info-list-color: #eedcdd;
}

/* 1行 */
.c-info-list__row {
  display: grid;
  grid-template-columns:
  minmax(220px, var(--info-list-label-width))
  minmax(0, 1fr);
  column-gap: var(--info-list-column-gap);
  align-items: stretch;
}

.c-info-list__row + .c-info-list__row {
  margin-top: var(--info-list-row-gap);
}

/* 項目名 */
.c-info-list__term {
  display: flex;
  align-items: center;
  min-height: 70px;
  margin: 0;
  padding: 20px 26px;
  font-size: clamp(1.15rem, 1vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;

  background-color: var(--info-list-color);
}

/* 内容 */
.c-info-list__description {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 20px 0;

  font-size: clamp(1.05rem, 1.25vw, 1.65rem);
  font-weight: 300;
  line-height: 1.8;

  overflow-wrap: anywhere;
}

/* リンク */
.c-info-list__description a {
  transition: opacity 0.2s ease;
}

.c-info-list__description a:hover,
.c-info-list__description a:focus-visible {
  opacity: 0.65;
}


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

  .c-info-list {
    --info-list-row-gap: 28px;
  }

  .c-info-list__row {
    display: block;
  }

  .c-info-list__term {
    min-height: 60px;
    padding: 20px 28px;

    font-size: clamp(1.15rem, 5vw, 1.6rem);
  }

  .c-info-list__description {
    display: block;
    min-height: 0;
    padding: 22px 28px 0;

    font-size: clamp(1rem, 4.6vw, 1.45rem);
    line-height: 1.9;
  }
}

/* ==================================================
  サイトローディング
================================================== */
.c-site-loader {
  --loader-orange: #e99411;
  --loader-wave-height: clamp(70px, 8vw, 110px);
  --liquid-y: 100dvh;

  position: fixed;
  z-index: 99999;
  inset: 0;

  display: none;
  overflow: hidden;

  width: 100%;
  height: 100vh;
  height: 100dvh;

  background-color: #fff;
  opacity: 1;
  visibility: visible;

  transition:
  opacity 0.65s ease,
  visibility 0.65s ease;
}

/* JSが表示対象と判定した場合だけ表示 */
html.is-loading .c-site-loader {
  display: block;
}

/* ローディング中はページスクロールを止める */
html.is-loading,
html.is-loading body {
  overflow: hidden;
}

/* フェードアウト */
.c-site-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/* ------------------------------
  ロゴとパーセンテージ
------------------------------ */
.c-site-loader__brand {
  position: absolute;
  z-index: 3;
  top: 47%;
  left: 50%;

  width: min(68vw, 720px);

  transform: translate(-50%, -50%);
}

.c-site-loader__brand-layer {
  display: grid;
  justify-items: center;
  gap: clamp(25px, 4vw, 45px);

  width: 100%;
}

/* カラー版 */
.c-site-loader__brand-layer--base {
  position: relative;
}

/* 白版 */
.c-site-loader__brand-layer--white {
  position: absolute;
  inset: 0;

  /*
   * JSから液面位置に応じて変更
   * 最初は全体を隠す
   */
  clip-path: inset(100% 0 0 0);
  pointer-events: none;
}

.c-site-loader__logo {
  display: block;
  width: 100%;
  height: auto;
}

.c-site-loader__percentage {
  margin: 0;

  color: #111;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.c-site-loader__brand-layer--white
.c-site-loader__percentage {
  color: #fff;
}


/* ------------------------------
  オレンジジュース
------------------------------ */
.c-site-loader__liquid {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;

  /*
   * 画面の高さ＋波の高さを確保
   * JSで上下へ動かす
   */
  height:
  calc(
    100vh
    + var(--loader-wave-height)
  );
  height:
  calc(
    100dvh
    + var(--loader-wave-height)
  );

  transform: translate3d(
    0,
    var(--liquid-y),
    0
  );

  will-change: transform;
}

.c-site-loader__waves {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;

  overflow: hidden;
  height: var(--loader-wave-height);
}

/*
 * SVG自体を画面幅の2倍にして、
 * 半分ずらすことでループさせる
 */
.c-site-loader__wave {
  position: absolute;
  top: 0;
  left: 0;

  display: block;
  width: 200%;
  height: 100%;

  will-change: transform;
}

.c-site-loader__wave--back {
  opacity: 0.72;

  animation:
  loader-wave-back
  10s
  linear
  infinite;
}

.c-site-loader__wave--front {
  animation:
  loader-wave-front
  7s
  linear
  infinite;
}

/* 波より下の液体本体 */
.c-site-loader__liquid-body {
  position: absolute;
  z-index: 1;
  top: calc(var(--loader-wave-height) - 1px);
  right: 0;
  bottom: 0;
  left: 0;

  background-color: var(--loader-orange);
}

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

  .c-site-loader {
    --loader-wave-height: 72px;
  }

  .c-site-loader__brand {
    top: 46%;
    width: min(82vw, 520px);
  }

  .c-site-loader__brand-layer {
    gap: 28px;
  }

  .c-site-loader__percentage {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {

  .c-site-loader__wave {
    animation: none;
  }

  .c-site-loader {
    transition-duration: 0.2s;
  }
}


/* ------------------------------
  波の動き
------------------------------ */
@keyframes loader-wave-front {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes loader-wave-back {
  from {
    transform: translate3d(-50%, 8px, 0);
  }

  to {
    transform: translate3d(0, 8px, 0);
  }
}


/* ==================================================
  2ページ目以降のページ読込進捗
================================================== */
.c-page-progress {
  position: fixed;
  z-index: 100000;
  top: 0;
  right: 0;
  left: 0;

  height: 5px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
  opacity 0.2s ease,
  visibility 0.2s ease;
}

.c-page-progress.is-active {
  opacity: 1;
  visibility: visible;
}

.c-page-progress.is-complete {
  opacity: 0;
  visibility: hidden;
}

.c-page-progress__bar {
  width: var(--page-progress, 0%);
  height: 100%;

  background-color: #e99411;

  transition: width 0.22s ease-out;
  will-change: width;
}

@media (prefers-reduced-motion: reduce) {

  .c-page-progress,
  .c-page-progress__bar {
    transition-duration: 0.01ms;
  }
}


/* ========================================
   Header
======================================== */

.l-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: #F7F0E6;
}

.l-header .navbar {
  background-color: inherit;
}

.l-header__inner {
  padding: 0;
}

/* ロゴとハンバーガーが入る上段 */
.l-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  width: 100%;
  height: 90px;
  padding-right: 24px;
  padding-left: 24px;
}

/* メニュー部分 */
.l-global-nav {
  flex-basis: 100%;
  width: 100%;
}

.l-header__logo {
  display: flex;
  align-items: center;
  width: min(60vw, 300px);
  margin: 0;
  padding: 0;
}

.l-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}


/* ========================================
   Toggle button
======================================== */

.l-header__toggle {
  width: 64px;
  height: 64px;
  margin-left: auto;
  padding: 0;
  color: #e99411;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.l-header__toggle:focus {
  box-shadow: 0 0 0 3px rgb(233 148 17 / 25%);
}

.l-header__toggle-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.l-header__toggle-icon--close {
  display: none;
}

/* aria-expandedの値でSVGを切り替え */
.l-header__toggle[aria-expanded="true"]
.l-header__toggle-icon--open {
  display: none;
}

.l-header__toggle[aria-expanded="true"]
.l-header__toggle-icon--close {
  display: block;
}


/* ========================================
   Mobile navigation
   lg未満：991.98px以下
======================================== */

@media (max-width: 1199.98px) {
  .l-global-nav {
    flex: 0 0 100vw;
    width: 100vw;
    max-width: none;

    /* containerの中央位置から画面端まで広げる */
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }

  .l-global-nav .navbar-nav {
    width: 100%;
  }
  .l-global-nav .nav-item {
    width: 100%;
  }

  .l-global-nav .nav-item:nth-child(odd) {
    background-color: #f4dab4;
  }

  .l-global-nav .nav-item:nth-child(even) {
    background-color: #eedcdd;
  }

  .l-global-nav .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 15px 52px;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 300;
    line-height: 1.2;
    white-space: nowrap;
  }

  .l-global-nav .nav-link:hover,
  .l-global-nav .nav-link:focus {
    background-color: rgb(255 255 255 / 18%);
  }

  /* activeのときだけ表示 */
  .l-global-nav__current-icon {
    display: none;
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    margin-right: 0;
    margin-left: 0;
    color: #e99411;
  }

  .l-global-nav .nav-link.active
  .l-global-nav__current-icon {
    display: block;
  }

  /*
   * モバイルメニューではお問い合わせを通常メニューとして表示。
   * メールアイコンは非表示。
   */
  .l-global-nav__mail-icon {
    display: none;
  }
}


/* ========================================
   Desktop navigation
   lg以上：992px以上
======================================== */

@media (min-width: 1200px) {
  .l-header__inner {
    flex-wrap: nowrap;
    min-height: 120px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .l-header__bar {
    flex: 0 0 auto;
    width: auto;
    height: 100px;
    margin-right: clamp(24px, 3vw, 48px);
    padding: 0;
  }

  .l-global-nav {
    flex: 1 1 auto;
    width: auto;
    height: 100px;
    justify-content: flex-end;
  }

  .l-global-nav .navbar-nav {
    gap: clamp(20px, 3vw, 32px);
    width: auto;
    height: 100%;
    margin-left: auto;
  }

  .l-global-nav .nav-item {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .l-global-nav .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
    font-size: clamp(1.4rem, 2vw, 2.25rem);
    font-weight: 300;
    line-height: 1;
    white-space: nowrap;
  }

  .l-global-nav .nav-link:not(.l-global-nav__contact)::after {
    position: absolute;
    right: 0;
    bottom: 30px;
    left: 0;
    height: 2px;
    content: "";
    background-color: #e99411;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.25s ease;
  }

  .l-global-nav .nav-link:not(.l-global-nav__contact):hover::after,
  .l-global-nav .nav-link:not(.l-global-nav__contact):focus::after,
  .l-global-nav .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left center;
  }

  .l-global-nav__current-icon {
    display: none;
  }

  /* お問い合わせボタン */
  .l-global-nav__contact-item {
    margin-left: clamp(0px, 1vw, 18px);
  }

  .l-global-nav .l-global-nav__contact {
    flex-direction: column;
    justify-content: center;
    width: clamp(170px, 14vw, 160px);
    height: 90px;
    padding: 5px 20px;
    font-size: 18px!important;
    line-height: 1.3;
    background-color: #f4dab4;
    border-radius: 12px;
    transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  }

  .l-global-nav .l-global-nav__contact:hover,
  .l-global-nav .l-global-nav__contact:focus {
    background-color: #f0c989;
    transform: translateY(-2px);
  }

  .l-global-nav__mail-icon {
    display: block;
    width: 42px;
    height: 34px;
    margin-bottom: 8px;
    color: #fff;
    filter: drop-shadow(0 1px 1px rgb(64 58 54 / 20%));
  }
}

@media (min-width: 1200px) {
  .l-header__logo {
    width: clamp(250px, 22vw, 390px);
  }

  .l-global-nav .navbar-nav {
    gap: clamp(18px, 2vw, 32px);
  }

  .l-global-nav .nav-link {
    font-size: clamp(1.90rem, 1.55vw, 2.25rem);
  }
}


/* ========================================
   Animation accessibility
======================================== */

@media (prefers-reduced-motion: reduce) {
  .l-global-nav .nav-link::after,
  .l-global-nav .l-global-nav__contact {
    transition: none;
  }
}


/* ========================================
   ヒーローmovie
======================================== */

.movie {
  background: #ccc;
  width: 95vw;
  height: 83vh;
  padding: 0 30px 0 30px;
}


@media (min-width: 767.98px) and (max-width:1199.98px) {
  .movie {
    width: 95vw;
    height: 55vh;
  }
}


/* ==================================================
  TOP：コンセプトムービー
================================================== */
.movie {
  --movie-text-color: #ffffff;

  position: relative;
  isolation: isolate;

  width: 95vw;
  height: clamp(
    560px,
    calc(100svh - var(--header-height) - 28px),
    900px
  );

  margin-right: auto;
  margin-left: auto;
  padding: 0;
  overflow: hidden;

  background-color: #ccc;
}

/* ------------------------------
  動画
------------------------------ */
.movie__video {
  position: absolute;
  z-index: 0;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}

/*
 * 動画によって文字が読みにくい場合用。
 * 不要ならbackgroundをtransparentに変更。
 */
.movie::after {
  position: absolute;
  z-index: 1;
  inset: 0;

  content: "";
  background-color: rgb(255 255 255 / 5%);
  pointer-events: none;
}

/* ------------------------------
  キャッチ・矢印
------------------------------ */
.movie__content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  padding: 40px;
}

.movie__catch {
  margin: 0;

  color: var(--movie-text-color);
  font-family: "Julius Sans One", sans-serif;
  font-size: clamp(3rem, 5.7vw, 6.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-align: center;
  white-space: nowrap;

  text-shadow:
  0 1px 5px rgb(255 255 255 / 25%);
}

.movie__catch span {
  display: inline;
}

/* ------------------------------
  下矢印
------------------------------ */
.movie__scroll {
  position: absolute;
  bottom: clamp(28px, 5vh, 65px);
  left: 50%;

  display: grid;
  place-items: center;

  width: clamp(55px, 6vw, 82px);
  height: clamp(55px, 6vw, 82px);

  color: var(--movie-text-color);

  transform: translateX(-50%);
  transition:
  color 0.2s ease,
  opacity 0.2s ease;
}

.movie__scroll-icon {
  display: block;
  width: 100%;
  height: auto;

  animation:
  movie-scroll-arrow 1.8s
  cubic-bezier(0.45, 0, 0.55, 1)
  infinite;
}

.movie__scroll:hover,
.movie__scroll:focus-visible {
  color: #e99411;
}

.movie__scroll:focus-visible {
  outline: 3px solid rgb(233 148 17 / 45%);
  outline-offset: 6px;
  border-radius: 6px;
}

@keyframes movie-scroll-arrow {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

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

  .movie {
    height: clamp(
      500px,
      calc(100svh - var(--header-height) - 24px),
      720px
    );
  }

  .movie__catch {
    font-size: clamp(3rem, 6vw, 5rem);
  }
}

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

  .movie {
    width: calc(100% - 24px);

    height: clamp(
      560px,
      calc(100svh - var(--header-height) - 20px),
      900px
    );
  }

  .movie__video {
    /*
     * スマホ動画内で見せたい位置に合わせて調整
     * 左寄せなら left center など
     */
    object-position: center center;
  }

  .movie__content {
    padding: 30px 18px;
  }

  .movie__catch {
    font-size: clamp(3rem, 13vw, 5.2rem);
    line-height: 1.25;
    white-space: normal;
  }

  .movie__catch span {
    display: block;
  }

  .movie__scroll {
    bottom: 32px;
    width: 62px;
    height: 62px;
  }
}



/* ========================================
   About
======================================== */

.p-about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding: 120px 0 30px;
  background-color: #f7f0e6;
}

@media (max-width: 1199.98px) {
  .p-about {
    padding: 90px 0 30px;
  }
}

/* コンテンツを背景装飾より手前へ */
.p-about__container {
  position: relative;
  z-index: 2;
}

.p-about__row {
  position: relative;
}


/* ========================================
   Background shapes
======================================== */

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

.p-about__shape {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  opacity: 0.3;
  will-change: transform;

  transform:
  translate3d(
    var(--parallax-x, 0px),
    var(--parallax-y, 0px),
    0
  )
  rotate(var(--shape-rotate, 0deg));
}

/* モバイル：オレンジ */
.p-about__shape--orange {
  --shape-rotate: 7deg;

  top: 170px;
  left: -26vw;
  width: 140vw;
}

/* モバイル：ピンク */
.p-about__shape--pink {
  --shape-rotate: -6deg;

  top: 524px;
  right: -16vw;
  width: 156vw;
}

/* モバイル：グリーン */
.p-about__shape--green {
  --shape-rotate: -10deg;

  top: 122px;
  right: 7vw;
  width: 41vw;
}

/* ==================================================
  汎用：オーガニック背景
================================================== */
.c-organic-bg {
  --organic-orange-width: 100%;
  --organic-orange-top: 50%;
  --organic-orange-left: 50%;
  --organic-orange-translate-x: -50%;
  --organic-orange-translate-y: -50%;
  --organic-orange-rotate: 0deg;

  --organic-green-width: 38%;
  --organic-green-top: 10%;
  --organic-green-left: 50%;
  --organic-green-translate-x: -50%;
  --organic-green-translate-y: 0;
  --organic-green-rotate: 0deg;

  position: relative;
  isolation: isolate;
  padding: 50px 0;
}

.c-organic-bg__shape {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.4;
}

/* オレンジの背景 */
.c-organic-bg__shape--orange {
  top: var(--organic-orange-top);
  left: var(--organic-orange-left);
  z-index: 0;
  width: var(--organic-orange-width);

  transform:
  translate(
    var(--organic-orange-translate-x),
    var(--organic-orange-translate-y)
  )
  rotate(var(--organic-orange-rotate));
}

/* グリーンの背景 */
.c-organic-bg__shape--green {
  top: var(--organic-green-top);
  left: var(--organic-green-left);
  z-index: 1;
  width: var(--organic-green-width);

  transform:
  translate(
    var(--organic-green-translate-x),
    var(--organic-green-translate-y)
  )
  rotate(var(--organic-green-rotate));
}

/* 写真やテキストなど、背景より前に出す内容 */
.c-organic-bg__content {
  position: relative;
  z-index: 2;
}


/* ========================================
   Heading
======================================== */

.p-about__heading {
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
  line-height: 1.15;
}

.p-about__heading span {
  display: block;
}

.p-about__heading-en {
  color: #e99411;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.p-about__heading-ja {
  margin-top: 4px;
  color: #5a4033;
  font-size: clamp(1.7rem, 5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}


/* ========================================
   Text
======================================== */

.p-about__copy {
  position: relative;
  z-index: 2;
}

.p-about__text {
  font-size: clamp(1rem, 4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.8;
}

.p-about__text p {
  margin-bottom: 30px;
}

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


/* ========================================
   Photos
======================================== */

.p-about__visual {
  position: relative;
  z-index: 3;
}

.p-about__photo-stage {
  position: relative;
  min-height: 415px;
}

@media (max-width: 400px) {

  .p-about__photo-stage {
    position: relative;
    min-height: 350px;
  }

}

.p-about__photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 10px;
  will-change: transform;

  transform: translate3d(
    0,
    var(--parallax-y, 0px),
    0
  );
}

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

/* 青い服の写真 */
.p-about__photo--blue {
  top: 0px;
  right: 0;
  width: 68%;
  aspect-ratio: 1.42 / 1;
}

/* 黄色い服の写真 */
.p-about__photo--yellow {
  top: 160px;
  left: 0;
  width: 65%;
  aspect-ratio: 1.4 / 1;
}

.p-about__link-button {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-right: 0;
  margin-left: auto;
}


/* ========================================
   Tablet
======================================== */

@media (min-width: 768px) and (max-width: 1199.98px) {
  .p-about {
    padding-top: 80px;
  }

  .p-about__text {
    max-width: 700px;
    line-height: 2.0;
    font-weight: 700;
  }

  .p-about__photo--blue {
    right: 5%;
    width: 49%;
  }

  .p-about__photo--yellow {
    top: 230px;
    left: 5%;
    width: 56%;
  }

  .p-about__shape--orange {
    top: 196px;
    left: -2vw;
    width: 80vw;
  }

  .p-about__shape--pink {
    top: 588px;
    right: -12vw;
    width: 113vw;
  }

  .p-about__shape--green {
    right: 29%;
    width: 29vw;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .p-about__photo-stage {
    min-height: 500px;
  }
}

@media (min-width: 993px) and (max-width: 1199px) {
  .p-about__photo-stage {
    min-height: 600px;
  }
}

/* ========================================
   Desktop
   xl以上：1200px〜
======================================== */

@media (min-width: 1200px) {
  .p-about {
    min-height: 760px;
    padding: 105px 0 135px;
  }

  .p-about__copy {
    padding-right: clamp(20px, 3vw, 54px);
  }

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

  .p-about__heading-en{
    font-size: clamp(2.45rem, 3.4vw, 3rem);
  }
  .p-about__heading-ja {
    font-size: clamp(2.45rem, 3vw, 3rem);
  }

  .p-about__text {
    max-width: 620px;
    font-size: clamp(1rem, 1.35vw, 1.3rem);
    line-height: 2.3;
    font-weight: 700;
  }

  .p-about__text p {
    margin-bottom: 36px;
  }

  .p-about__visual {
    margin-top: 0;
  }

  .p-about__photo-stage {
    min-height: 570px;
  }

  .p-about__photo--blue {
    top: 35px;
    right: -3%;
    width: 62%;
  }

  .p-about__photo--yellow {
    top: 238px;
    left: 1%;
    width: 62%;
  }

/* 全画面共通：右寄せ */
.p-about__link-button {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-right: 0;
  margin-left: auto;
}

/* PC */
@media (min-width: 1200px) {
  .p-about__link-button {
    margin-top: -5px;
    font-size: 1.8vw;
  }
}

/* PC：オレンジ */
.p-about__shape--orange {
  --shape-rotate: 7deg;

  top: 205px;
  left: -4vw;
  width: min(65vw, 1100px);
}

/* PC：ピンク */
.p-about__shape--pink {
  --shape-rotate: -5deg;

  top: 24px;
  right: -13vw;
  width: min(66vw, 1070px);
}

/* PC：グリーン */
.p-about__shape--green {
  --shape-rotate: -8deg;

  top: 74px;
  right: auto;
  left: 28%;
  width: min(25vw, 360px);
}
}

/*動きを無効化したい時用*/
@media (prefers-reduced-motion: reduce) {
  [data-parallax] {
    transform: none !important;
    will-change: auto;
  }
}


/* ========================================
   Motion accessibility
======================================== */

@media (prefers-reduced-motion: reduce) {
  .p-about__shape,
  .p-about__photo,
  .p-about__link {
    transition: none;
    transform: none;
  }
}


/* ========================================
   Service / Profile
======================================== */

.p-service-profile {
  --service-bg: #fffaf3;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 90px;
  background-color: #f7f0e6;
  margin-top: 2.5vw;
}

/*
 * 大きな白い有機的な背景
 */
.p-service-profile::before {
  position: absolute;
  z-index: -1;
  top: -3%;
  left: -8%;
  width: 116%;
  height: 97%;
  content: "";
  background-color: var(--service-bg);

  border-radius:
  40% 59% 40% 50%
  /
  66% 32% 41% 46

  transform: rotate(-2deg);
  transform-origin: center;
}

.p-service-profile__container {
  position: relative;
  z-index: 1;
}


/* ========================================
   Heading
======================================== */

.p-service-profile__heading {
  display: flex;
  justify-content: center;
  margin-bottom: 52px;
}

.p-service-profile__heading img {
  display: block;
  max-height: 6vw;
}


/* ========================================
   Layout
======================================== */

.p-service-profile__row {
  row-gap: 50px;
  margin-left: 60px;
}

.p-service-profile__visual,
.p-service-profile__content {
  position: relative;
}


/* ========================================
   Photo
======================================== */

.p-service-profile__photo {
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgb(64 58 54 / 8%);
}

.p-service-profile__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1.43 / 1;
  object-fit: cover;
}


/* ========================================
   Scroll reveal
======================================== */

[data-scroll-reveal] {
  opacity: 0;
  transform: translate3d(-110px, 0, 0);

  transition:
  opacity 0.85s ease,
  transform 1s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: opacity, transform;
}

[data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}


/* ========================================
   Text
======================================== */

.p-service-profile__content {
  display: flex;
  flex-direction: column;
}

.p-service-profile__text {
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-weight: 700;
  line-height: 2;
}

.p-service-profile__text p {
  margin-bottom: 34px;
}

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

.p-service-profile__contact-link {
  color: #e99411;
  transition: opacity 0.2s ease;
}

.p-service-profile__contact-link:hover,
.p-service-profile__contact-link:focus {
  opacity: 0.7;
}


/* ========================================
   Common link placement
======================================== */

.p-service-profile__link {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 38px;
  margin-right: 0;
  margin-left: auto;
}


/* ========================================
   Mobile
======================================== */

@media (max-width: 767.98px) {
  .p-service-profile {
    padding: 58px 0 80px;
  }

  .p-service-profile::before {
    top: 0;
    left: -20%;
    width: 126%;
    height: 97%;

    border-radius:
    58% 42% 54% 46%
    /
    32% 24% 38% 30%;;

    transform: rotate(-1deg);
  }

  .p-service-profile__heading {
    margin-bottom: 38px;
  }

  .p-service-profile__heading img {
    max-height: 14vw;
  }

  .p-service-profile__row {
    row-gap: 48px;
    margin-left: 0;
  }

  .p-service-profile__text {
    padding: 0 14px;
    font-size: clamp(1rem, 4.5vw, 1.3rem);
    line-height: 1.85;
  }

  .p-service-profile__text p {
    margin-bottom: 32px;
  }

  .p-service-profile__link {
    margin-top: 34px;
  }

  [data-scroll-reveal] {
    transform: translate3d(-70px, 0, 0);
  }
}


/* ========================================
   Tablet
======================================== */

@media (min-width: 768px) and (max-width: 1199.98px) {
  .p-service-profile {
    padding: 80px 0 100px;
  }

  .p-service-profile::before {
    top: 0;
    left: -10%;
    width: 120%;
    height: 97%;

    border-radius:
    58% 42% 54% 46%
    /
    32% 24% 38% 30%;;
  }

  .p-service-profile__visual {
    padding-right: 36px;
    padding-left: 36px;
  }

  .p-service-profile__content {
    padding-right: 36px;
    padding-left: 36px;
  }

  .p-service-profile__text {
    font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  }
}

.p-service-profile__row {
  margin-left: 0;
}


/* ========================================
   Desktop
======================================== */

@media (min-width: 1200px) {
  .p-service-profile {
    min-height: 760px;
    padding: 100px 0 86px;
  }

  .p-service-profile::before {
    top: 1%;
    left: -4%;
    width: 108%;
    height: 91%;

    border-radius:
    40% 22% 32% 28%
    /
    12% 15% 18% 17%;

    transform: rotate(1deg);
  }

  .p-service-profile__heading {
    margin-bottom: 68px;
  }

  .p-service-profile__visual {
    padding-right: clamp(30px, 4vw, 64px);
  }

  .p-service-profile__content {
    padding-left: clamp(30px, 4vw, 64px);
  }

  .p-service-profile__text {
    font-size: clamp(1rem, 1.4vw, 1.4rem);
    line-height: 1.9;
  }

  .p-service-profile__text p {
    margin-bottom: 42px;
  }

  .p-service-profile__link {
    margin-top: 22px;
    font-size: clamp(1.45rem, 2.1vw, 1.7rem);
  }
}


/* ========================================
   Motion accessibility
======================================== */

@media (prefers-reduced-motion: reduce) {
  [data-scroll-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}


/* ========================================
   Works
======================================== */

.p-service-profile--works {
  --service-bg: #f8e8ec;
  margin-top: 2vw;
}

/*
 * SERVICE/PROFILEとは少し違う形にする
 */
.p-service-profile--works::before {
  top: 1%;
  left: -7%;
  width: 114%;
  height: 94%;

  border-radius:
  48% 52% 44% 56%
  /
  24% 30% 26% 34%;

  transform: rotate(-1deg);
}

/* 文章とリンク */
.p-service-profile__content--works {
  position: relative;
}

/* リンク内の補足文 */
.p-service-profile__link-note {
  display: block;
  margin-top: 3px;
  font-size: 0.72em;
  line-height: 1.2;
}

.works-main-image {
  margin-top: 50px;
}


@media (max-width: 767.98px) {
  .p-service-profile--works {
    padding-bottom: 70px;
  }

  .p-service-profile--works::before {
    top: 0;
    left: -17%;
    width: 134%;
    height: 97%;

    border-radius:
    54% 46% 48% 52%
    /
    33% 17% 32% 23%;

    transform: rotate(0deg);
  }

  .p-service-profile--works
  .p-service-profile__heading {
    margin-bottom: 52px;
  }

  .p-service-profile__content--works {
    padding-right: 14px;
    padding-left: 14px;
  }

  .p-service-profile--works
  .p-service-profile__link {
    width: 100%;
    margin-top: 32px;
  }

  .p-service-profile--works
  .p-service-profile__visual {
    margin-top: 0;
  }

  .p-service-profile__link-note {
    font-size: 0.66em;
  }
}


@media (min-width: 768px) and (max-width: 1199.98px) {
  .p-service-profile--works::before {
    left: -12%;
    width: 124%;
    height: 97%;

    border-radius:
    52% 48% 46% 54%
    /
    89% 32% 45% 15%;
  }

  .p-service-profile--works
  .p-service-profile__visual {
    margin-top: 10px;
  }
}


@media (min-width: 1200px) {
  .p-service-profile--works::before {
    top: 3%;
    left: -5%;
    width: 110%;
    height: 91%;

    border-radius:
    47% 53% 45% 55%
    /
    27% 23% 31% 25%;

    transform: rotate(-1deg);
  }

  .p-service-profile__content--works {
    order: 1;
    padding-right: clamp(30px, 4vw, 64px);
    padding-left: 0;
  }

  .p-service-profile__visual--works {
    order: 2;
    padding-right: 0;
    padding-left: clamp(30px, 4vw, 64px);
  }

  .p-service-profile--works
  .p-service-profile__link {
    margin-top: 24px;
    margin-right: auto;
    margin-left: 0;
  }
}


[data-scroll-reveal="right"] {
  opacity: 0;
  transform: translate3d(110px, 0, 0);
}

[data-scroll-reveal="right"].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 767.98px) {
  [data-scroll-reveal="right"] {
    transform: translate3d(70px, 0, 0);
  }

  [data-scroll-reveal="right"].is-visible {
    transform: translate3d(0, 0, 0);
  }
}

/* ========================================
   News
======================================== */

.p-news {
  --news-decoration-width: 290px;
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding: 86px 0 120px;
  background-color: #fff8ed;
  margin-top: 6vw;
}

.p-news__container {
  position: relative;
  z-index: 2;
}


/* ========================================
   Decoration
======================================== */

.p-news__decoration {
  position: absolute;
  z-index: 0;
  top: 20px;
  right: 5vw;
  display: block;
  width: var(--news-decoration-width);
  max-width: none;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  transform: rotate(-9deg);
}


/* ========================================
   Heading
======================================== */

.p-news__heading {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.p-news__heading img {
  display: block;
  max-height: 6vw;
  width: auto;
}


/* ========================================
   News list
======================================== */

.p-news__list {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.p-news__item {
  border-bottom: 2px solid #f4dab4;
}

.p-news__link {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 44px);
  padding: 20px clamp(20px, 6vw, 120px);

  transition:
  background-color 0.25s ease,
  color 0.25s ease;
}

.p-news__date {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 40px;
  padding: 5px 10px;
  font-size: clamp(1rem, 1.3vw, 1.4rem);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  background-color: #f4dab4;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.p-news__title {
  margin: 0;
  font-size: clamp(1.3rem, 1.3vw, 1.4rem);
  font-weight: 300;
  line-height: 1.5;
}


/* hover */
.p-news__link:hover,
.p-news__link:focus-visible {
  background-color: rgb(244 218 180 / 20%);
}

.p-news__link:hover .p-news__title,
.p-news__link:focus-visible .p-news__title {
  color: #e99411;
}

.p-news__link:focus-visible {
  outline: 3px solid rgb(233 148 17 / 25%);
  outline-offset: -3px;
}


@media (max-width: 767.98px) {
  .p-news {
    --news-decoration-width: 200px;

    padding: 60px 0;
  }

  .p-news__decoration {
    top: -55px;
    right: 5%;
    width: 30%;
  }

  .p-news__heading {
    margin-bottom: 3px;
  }

  .p-news__heading img {
    max-height: 14vw;
  }

  .p-news__list {
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-news__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
  }

  .p-news__date {
    min-width: 127px;
    min-height: 40px;
    padding: 10px 15px;
    font-size: clamp(1rem, 4vw, 1rem);
  }

  .p-news__title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    line-height: 1.5;
  }
}


@media (min-width: 768px) and (max-width: 1199.98px) {
  .p-news {
    --news-decoration-width: 270px;
    padding-top: 100px;
  }

  .p-news__decoration {
    top: -80px;
    right: 6%;
  }

  .p-news__list {
    padding-right: 36px;
    padding-left: 36px;
  }

  .p-news__link {
    padding-right: 30px;
    padding-left: 30px;
  }
}


@media (min-width: 1200px) {
  .p-news {
    --news-decoration-width: clamp(250px, 18vw, 330px);
    padding: 60px 120px 80px 120px;
  }

  .p-news__decoration {
    top: -70px;
    right: 10%;
  }

  .p-news__heading img {
    max-height: 6vw;
  }
}


/* ========================================
   Blog
======================================== */

.p-blog {
  padding: 76px 0 100px;

  /*
   * bodyの背景色をそのまま使うため
   * background-colorは指定しない
   */
}

.p-blog__container {
  position: relative;
}


/* ========================================
   Heading
======================================== */

.p-blog__heading {
  display: flex;
  justify-content: center;
  margin-bottom: 66px;
}

.p-blog__heading img {
  display: block;
  width: min(62vw, 340px);
  height: auto;
}


/* ========================================
   Card
======================================== */

.p-blog__card {
  overflow: hidden;
  border: 2px solid #f4dab4;
  border-radius: 18px;
}


/* ========================================
   Thumbnail
======================================== */

.p-blog__visual {
  padding: 48px 48px 0;
}

.p-blog__thumbnail {
  display: block;
  overflow: hidden;
  border-radius: 18px;
}

.p-blog__thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;

  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-blog__thumbnail:hover img,
.p-blog__thumbnail:focus-visible img {
  transform: scale(1.04);
}


/* ========================================
   Content
======================================== */

.p-blog__content {
  padding: 54px 48px 70px;
}

.p-blog__title-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}

.p-blog__date {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  min-width: 140px;
  min-height: 50px;
  padding: 8px 22px;

  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;

  background-color: #f4dab4;
  border-radius: 12px;
}

.p-blog__title {
  margin: 0;
  font-size: clamp(1.9rem, 5.8vw, 2.7rem);
  font-weight: 400;
  line-height: 1.35;
}

.p-blog__title a {
  transition: color 0.2s ease;
}

.p-blog__title a:hover,
.p-blog__title a:focus-visible {
  color: #e99411;
}


/* ========================================
   Excerpt
======================================== */

.p-blog__excerpt {
  display: -webkit-box;
  overflow: hidden;

  margin: 0;

  font-size: clamp(1.15rem, 4.6vw, 1.65rem);
  font-weight: 300;
  line-height: 1.9;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}


/* ========================================
   More link
======================================== */

.p-blog__more {
  display: inline-flex!important;
  margin-top: 34px;
  font-size: clamp(1.4rem, 5.2vw, 2rem);
}



@media (max-width: 767.98px) {
  .p-blog {
    padding: 62px 0 0;
  }

  .p-blog__heading {
    margin-bottom: 46px;
  }

  .p-blog__heading img {
    max-height: 14vw;
    width: auto;
  }

  .p-blog__card {
    margin-right: 18px;
    margin-left: 18px;
    border-radius: 16px;
  }

  .p-blog__visual {
    padding: 48px 36px 0;
  }

  .p-blog__thumbnail {
    border-radius: 16px;
  }

  .p-blog__content {
    padding: 58px 36px 64px;
  }

  .p-blog__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .p-blog__date {
    min-width: 133px;
    min-height: 47px;
    font-size: clamp(0.5rem, 5vw, 1.75rem);
  }

  .p-blog__title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .p-blog__excerpt {
    font-size: clamp(1.1rem, 4vw, 1.55rem);
    line-height: 1.5;
    -webkit-line-clamp: 7;
  }

  .p-blog__more {
    margin-top: 28px;
  }
}


@media (max-width: 400px) {
  .p-blog__card {
    margin-right: 10px;
    margin-left: 10px;
  }

  .p-blog__visual {
    padding: 32px 24px 0;
  }

  .p-blog__content {
    padding: 18px 24px 38px;
  }
}


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

  .p-blog__heading img {
    display: block;
    max-height: 6vw;
    width: auto;
  }

  .p-blog {
    padding: 80px 0 0;
  }

  .p-blog__card {
    margin-right: 24px;
    margin-left: 24px;
  }

  .p-blog__visual {
    padding: 50px 52px 0;
  }

  .p-blog__content {
    padding: 60px 52px 72px;
  }

  .p-blog__excerpt {
    font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  }
}


@media (min-width: 1200px) {
  .p-blog {
    padding: 82px 0 10px;
  }

  .p-blog__heading {
    margin-bottom: 70px;
  }

  .p-blog__heading img {
    width: auto;
    max-height: 6vw;
  }

  .p-blog__card {
    border-radius: 16px;
  }

  .p-blog__visual {
    padding: 20px 32px 20px 56px;
  }

  .p-blog__thumbnail {
    border-radius: 16px;
  }

  .p-blog__content {
    padding: 30px 56px 30px 30px;
  }

  .p-blog__title-row {
    margin-bottom: 24px;
  }

  .p-blog__title {
    font-size: clamp(1.65rem, 2.2vw, 2.3rem);
  }

  .p-blog__excerpt {
    font-size: clamp(1.05rem, 0.3vw, 1.55rem);
    line-height: 1.8;
    -webkit-line-clamp: 3;
  }

  .p-blog__more {
    margin-top: 30px;
    font-size: clamp(1.5rem, 2vw, 2rem);
  }
}

.l-footer {
  --footer-bg-main: #ffebca;
  --footer-bg-top: #f7f1e8;
  --footer-bg-bottom: #e7ced8;
  --footer-deco: rgba(160, 178, 133, 0.25);

  overflow: hidden;
}

/* ------------------------------
  お問い合わせエリア
------------------------------ */
.l-footer__contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  /* 図形より上にある薄い背景色 */
  background-color: var(--footer-bg-top);

  /* コンテンツが黄色背景の中に入るように余白を確保 */
  padding: 275px 20px 80px;
}

/* 黄色の山型背景 */
.l-footer__contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-color: var(--footer-bg-main);

  clip-path: polygon(
    0 290px,
    12% 215px,
    47% 150px,
    91% 215px,
    100% 275px,
    100% 100%,
    0 100%
  );
}

/* 半透明グリーンの装飾 */
.l-footer__deco {
  position: absolute;
  top: 96px;
  left: 50%;
  z-index: 1;
  display: block;
  width: 185px;
  height: 110px;
  background-color: var(--footer-deco);
  border-radius: 81% 21% 94% 15% / 58% 58% 64% 21%;
  transform: translateX(-50%) rotate(33deg) skewX(3deg);
  pointer-events: none;
}

.l-footer__contact-inner {
  position: relative;
  z-index: 2;

  width: min(100%, 720px);
  margin-inline: auto;
  text-align: center;
}

.l-footer__logo {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin-inline: auto;
}

.l-footer__catch {
  margin-top: 28px;
  color: #4d4642;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 500;
  line-height: 1.6;
}


/* ------------------------------
  SNS・コピーライトエリア
------------------------------ */
.l-footer__bottom {
  position: relative;
  z-index: 2;

  padding: 50px 20px 46px;
  background-color: var(--footer-bg-bottom);
  text-align: center;
}

.l-footer__copyright {
  margin: 38px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

.sns-icon {
  width: 20%;
  margin: 0 auto;
}

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

  .l-footer__contact {
    padding: 250px 24px 70px;
  }

  .l-footer__contact::before {
    clip-path: polygon(0 191px, 47% 145px, 100% 174px, 100% 100%, 0 100%);
  }

  .l-footer__deco {
    top: 125px;
    width: 150px;
    height: 98px;
  }

  .l-footer__logo {
    width: min(80%, 350px);
  }

  .l-footer__catch {
    margin-top: 28px;
    font-size: clamp(18px, 4vw, 30px);
  }

  .l-footer__bottom {
    padding: 58px 20px 55px;
  }

  .l-footer__copyright {
    margin-top: 38px;
    font-size: 13px;
  }
  .sns-icon {
    width: 30%;
  }
}

@media (max-width:400px) {
  .l-footer__catch {
    font-size: clamp(16px, 2.2vw, 36px);
  }

  .l-footer__logo {
    width: min(80%, 300px);
  }

  .sns-icon {
    width: 35%;
  }
}

/* ------------------------------
  ページタイトル
------------------------------ */

.p-titile__heading {
  margin-bottom: 10px;
}

.p-titile__heading img{
  max-width: 270px;
  margin: 5px auto;
}

@media (max-width:400px) {
  .p-titile__heading img{
    max-width: 180px;
  }
}


/* ==================================================
  ABOUT：ブランドキャッチ
================================================== */
.p-about-brand {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.p-about-brand__container {
  position: relative;
  max-width: 1320px;
}


/* ------------------------------
  レイアウト
------------------------------ */
.p-about-brand__row {
  position: relative;
}

.p-about-brand__content {
  position: relative;
  z-index: 2;
}

/* ------------------------------
  本文
------------------------------ */
.p-about-brand__description {
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  font-weight: 700;
  line-height: 1.75;
}
@media (min-width:768px) and (max-width:991.98px){
  .p-about-brand__description {
    font-size: clamp(1.25rem, 1.45vw, 1.3rem);
    font-weight: 700;
    line-height: 1.75;
    width: 570px;
    margin: 0 auto;
  }
}

.p-about-brand__description p {
  margin: 0 0 38px;
}

@media (min-width:992px) and (max-width:1199.98px){
  .p-about-brand__description p {
    margin: 0 0 45px;
  }
}

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

/* ------------------------------
  ブランドキャッチ
------------------------------ */
.p-about-brand__catch {
  margin-top: 38px;
  line-height: 1.1;
}

@media (min-width:768px) and (max-width:991.98px){
  .p-about-brand__catch {
    width: 570px;
    margin: 38px auto 50px auto;
  }
}

.p-about-brand__catch p {
  margin: 0;
}

.p-about-brand__catch-en {
  color: #e99411;
  font-size: clamp(2.5rem, 4.3vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.p-about-brand__catch-ja {
  margin-top: 6px !important;
  color: #5a4033;
  font-size: clamp(2.25rem, 3.8vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* ------------------------------
  大きなみかんマーク
------------------------------ */
.p-about-brand__visual {
  position: relative;
  z-index: 1;
  margin-top: 0;
  text-align: center;
}

.p-about-brand__symbol {
  display: block;
  width: min(72vw, 680px);
  max-width: none;
  height: auto;
  margin: 0 auto;
}


@media screen and (min-width: 1200px) {

  .p-about-brand {
    padding: 0 0 90px;
  }

  .p-about-brand__row {
    min-height: 620px;
  }

  .p-about-brand__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 620px;
    padding: 10px 0 35px;
  }

  .p-about-brand__description {
    max-width: 650px;
  }

  .p-about-brand__catch {
    margin-top: 23px;
    white-space: nowrap;
  }

  .p-about-brand__visual {
    position: absolute;
    right: 0;
    bottom: -90px;
    width: 55%;
    margin-top: 0;
  }

  .p-about-brand__symbol {
    width: min(52vw, 760px);
    margin: 0 0 0 auto;
    transform: translateX(12%);
  }
}


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

  .p-about-brand {
    padding-top: 0;
  }

  .p-about-brand__container {
    padding-right: 40px;
    padding-left: 40px;
  }

  .p-about-brand__description {
    font-size: clamp(1rem, 4vw, 1.35rem);
    line-height: 1.75;
  }

  .p-about-brand__description p {
    margin-bottom: 20px;
  }

  .p-about-brand__catch {
    margin-top: 34px;
  }

  .p-about-brand__catch-en {
    font-size: clamp(1.7rem, 5.5vw, 3rem);
  }

  .p-about-brand__catch-ja {
    font-size: clamp(1.5em, 5vw, 2.7rem);
  }

  .p-about-brand__visual {
    margin-top: 35px;
  }

  .p-about-brand__symbol {
    width: min(76vw, 460px);
  }
}

/* ==================================================
  ABOUT：ロゴマークについて
================================================== */
.p-about-logo {
  overflow: hidden;
  padding: 80px 0 110px;
}

.p-about-logo__content {
  position: relative;
  z-index: 3;
}

.p-about-logo__logo {
  display: block;
  width: min(100%, 540px);
  height: auto;
  margin-bottom: 55px;
}

.p-about-logo__text {
  max-width: 650px;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  line-height: 1.85;
}

.p-about-logo__text p {
  margin: 0 0 38px;
}

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

.p-about-logo__link {
  margin-top: 48px;
}

/* ------------------------------
  写真エリア
------------------------------ */
.p-about-logo__visual {
  --organic-orange-width: 125%;
  --organic-orange-top: 57%;
  --organic-orange-left: 54%;
  --organic-orange-translate-x: -50%;
  --organic-orange-translate-y: -50%;
  --organic-orange-rotate: 2deg;

  --organic-green-width: 47%;
  --organic-green-top: 4%;
  --organic-green-left: 72%;
  --organic-green-translate-x: -50%;
  --organic-green-translate-y: 0;
  --organic-green-rotate: -4deg;

  display: flex;
  align-items: flex-end;
  min-height: 650px;
  padding: 190px 0 65px 40px;
}

.p-about-logo__photo {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 8px;
}

@media screen and (min-width: 992px) {

  .p-about-logo {
    padding-top: 60px;
  }

  .p-about-logo__content {
    padding-right: 15px;
  }

  .p-about-logo__visual {
    margin-right: -60px;
  }
}

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

  .p-about-logo {
    padding: 60px 0 80px;
  }

  .p-about-logo__logo {
    width: min(100%, 520px);
    margin: 0 auto 45px;
  }

  .p-about-logo__text {
    max-width: none;
    font-size: clamp(1rem, 4vw, 1.35rem);
    line-height: 1.75;
  }

  .p-about-logo__text p {
    margin-bottom: 38px;
  }

  .p-about-logo__link {
    margin-top: 42px;
  }

  .p-about-logo__visual {
    --organic-orange-width: 120%;
    --organic-orange-top: 57%;
    --organic-orange-left: 50%;
    --organic-orange-rotate: 4deg;

    --organic-green-width: 43%;
    --organic-green-top: 2%;
    --organic-green-left: 67%;
    --organic-green-rotate: -8deg;

    min-height: auto;
    margin-top: 30px;
    padding: 130px 24px 110px;
  }

  .p-about-logo__photo {
    width: 100%;
    border-radius: 10px;
  }
}

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

  .p-about-logo {
    padding-top: 45px;
  }

  .p-about-logo__logo {
    margin-bottom: 38px;
  }

  .p-about-logo__visual {
    --organic-orange-width: 132%;
    --organic-green-width: 44%;

    margin-top: 18px;
    padding: 120px 18px 100px;
  }
}


/* ==================================================
  汎用みかん左側
================================================== */

.mikan-container {
  margin: 20px 0 100px 0;
}

/*みかんの調整*/
.mikan-text-wrap {
  --organic-orange-width: 119%;
  --organic-orange-top: 60%;
  --organic-orange-left: 41%;
  --organic-green-width: 41%;
  --organic-green-left: 79%;
}

.mikan-text {
  max-width: 650px;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  line-height: 1.85;
  padding: 100px 0 0 0;
}

.mikan-text p {
  margin: 0 0 38px;
}

.mikan-text a{
  margin: 0 1rem;
  color: #e99411;;
}

.mikan-text a:hover{
  opacity: 0.7;
}

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

  /*みかんの調整*/
  .mikan-text-wrap {
    --organic-orange-width: 133%;
    --organic-orange-top: 47%;
    --organic-orange-left: 34%;
    --organic-green-width: 38%;
    --organic-green-left: 80%;
  }

  .mikan-text {
    max-width: 450px;
    font-size: clamp(1.2rem, 1.6vw, 1.4rem);
    font-weight: 700;
    line-height: 1.85;
    padding: 74px 0 0 0;
    margin: 0 auto;
  }
}


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

  /*みかんの調整*/
  .mikan-text-wrap {
   --organic-orange-width: 80%;
   --organic-orange-top: 52%;
   --organic-orange-left: 50%;
   --organic-green-width: 38%;
   --organic-green-left: 80%;
 }

}

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

  /*みかんの調整*/
  .mikan-text-wrap {
   --organic-orange-width: 90%;
   --organic-orange-top: 53%;
   --organic-orange-left: 50%;
   --organic-green-width: 60%;
   --organic-green-left: 80%;
 }

 .mikan-text {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  padding: 10px 0 0 0;
}

}

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

  /*みかんの調整*/
  .mikan-text-wrap {
   --organic-orange-width: 130%;
   --organic-orange-top: 55%;
   --organic-orange-left: 38%;
   --organic-green-width: 57%;
   --organic-green-left: 80%;
 }

 .mikan-text {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  padding: 40px 0 0 0;
}

}

/* ==================================================
  ボイスサンプル用アコーディオン
================================================== */

.voice_toggle {
  color: #fff;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 15px 0;
  background-color: #E99411;
  -webkit-border-radius: 5px;
          border-radius: 5px;
}

.voice_toggle__icon {
  flex: 0 0 auto;
}

.voice_toggle__icon-svg {
  color: #FFF;
  display: block;
  width: 20px;
  height: 20px;
}

.voice_toggle__icon-svg--open {
  display: none;
}

.voice_toggle[aria-expanded="true"] .voice_toggle__icon-svg--closed {
  display: none;
}

.voice_toggle[aria-expanded="true"] .voice_toggle__icon-svg--open {
  display: block;
}

.voice_wrap {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 0.4s ease,
    opacity 0.3s ease;
}

.voice_wrap.is-open {
  opacity: 1;
}

.voice_wrap[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {

  .voice_wrap {
    transition: none;
  }
}



/* ==================================================
  プロフィール
================================================== */
.p-about-profile {
  padding: 100px 0 0;
}

.p-about-profile__row {
  --bs-gutter-x: clamp(40px, 6vw, 90px);

  align-items: flex-start;
}

/* ------------------------------
  見出し
------------------------------ */
.p-about-profile__heading {
  margin-bottom: 55px;
}

.p-about-profile__shoulder {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.25;
}

.p-about-profile__name {
  margin: 0;
  color: #403a36;
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.p-about-profile__name-en {
  margin: 4px 0 0;
  color: #403a36;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-weight: 500;
  line-height: 1.3;
}

/* ------------------------------
  本文
------------------------------ */
.p-about-profile__text {
  max-width: 900px;
  font-size: clamp(1rem, 1vw, 1.3rem);
  font-weight: 300;
  line-height: 1.8;
}

.p-about-profile__text p {
  margin: 0 0 36px;
}

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

/* ------------------------------
  好きな言葉・座右の銘
------------------------------ */
.p-about-profile__notes {
  max-width: 940px;
  margin: 42px 0 0;
}

.p-about-profile__note {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
}

.p-about-profile__note + .p-about-profile__note {
  margin-top: 18px;
}

.p-about-profile__note-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 7px 15px;

  color: #403a36;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;

  background-color: #f4dab4;
  border-radius: 10px;
}

.p-about-profile__note-text {
  margin: 0;
  padding-top: 5px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
}

/* ------------------------------
  写真
------------------------------ */
.p-about-profile__photo {
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
}

.p-about-profile__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

/* ------------------------------
  ボイスサンプル
------------------------------ */
.p-about-profile__voice {
  position: relative;
  margin-top: 58px;
  padding: 36px 38px 30px;

  color: #403a36;
  text-align: center;

  background-color: #eedcdd;
  border-radius: 12px;
}

/* 吹き出しのしっぽ */
.p-about-profile__voice::before {
  position: absolute;
  bottom: 100%;
  left: 24%;
  width: 0;
  height: 0;
  content: "";

  border-right: 16px solid transparent;
  border-bottom: 42px solid #eedcdd;
  border-left: 16px solid transparent;

  transform: skewX(-13deg);
  transform-origin: bottom;
}

.p-about-profile__voice-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
}

.p-about-profile__voice-text {
  margin: 15px 0 25px;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 300;
  line-height: 1.65;
}

/* ブラウザ標準の音声プレイヤー */
.p-about-profile__audio {
  display: block;
  width: 100%;
  min-width: 0;
}

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

  .p-about-profile {
    padding: 55px 0 0;
  }

  .p-about-profile__row {
    --bs-gutter-x: 40px;
  }

  /* 写真・音声と本文の間 */
  .p-about-profile__content {
    margin-top: 45px;
  }

  .p-about-profile__photo {
    width: min(68vw, 360px);
    margin-inline: auto;
    border-radius: 24px;
  }

  .p-about-profile__voice {
    width: 100%;
    max-width: 540px;
    margin: 34px auto 0;
    padding: 25px 24px 22px;
  }

  .p-about-profile__voice::before {
    left: 21%;
    border-right-width: 13px;
    border-bottom-width: 30px;
    border-left-width: 13px;
  }

  .p-about-profile__voice-text {
    margin: 8px 0 20px;
  }

  .p-about-profile__heading {
    margin-bottom: 40px;
  }

  .p-about-profile__shoulder {
    font-size: clamp(1.25rem, 5.6vw, 1.75rem);
  }

  .p-about-profile__name {
    font-size: clamp(3rem, 13vw, 4.7rem);
  }

  .p-about-profile__name-en {
    font-size: clamp(1.05rem, 4.6vw, 1.4rem);
  }

  .p-about-profile__text {
    font-size: clamp(1rem, 4.25vw, 1.25rem);
    line-height: 1.75;
  }

  .p-about-profile__text p {
    margin-bottom: 32px;
  }

  .p-about-profile__notes {
    margin-top: 40px;
  }

  .p-about-profile__note {
    display: block;
  }

  .p-about-profile__note + .p-about-profile__note {
    margin-top: 20px;
  }

  .p-about-profile__note-title {
    width: fit-content;
    min-width: 128px;
    min-height: 0;
    padding: 6px 18px;
  }

  .p-about-profile__note-text {
    margin-top: 9px;
    padding: 0;
    line-height: 1.65;
  }
}

/* ==================================================
  Works
================================================== */

.works-top {
  max-width: 700px;
}

.works-top-text {
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 700;
}

.works-top-text a {
  margin: 0 1rem;
  color: #e99411;
}

.password-wrap {
  font-size: clamp(0.8rem, 1.3vw, 1.2rem);
  text-align: center;
}

/* ==================================================
  WORKS：実務案件一覧
================================================== */
.p-works-list {
  padding: 80px 0 30px;
}

/* ------------------------------
  実績カード
------------------------------ */
.c-work-card {
  height: 100%;
}

.c-work-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* 画像 */
.c-work-card__thumbnail {
  overflow: hidden;
  margin: 0;
  background-color: #d8d8d8;
}

.c-work-card__thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  height: auto;
  object-fit: cover;

  transition:
  transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
  opacity 0.3s ease;
}

/* テキスト部分 */
.c-work-card__body {
  padding-top: 18px;
}

.c-work-card__title {
  margin: 0;
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  font-weight: 700;
  line-height: 1.35;
}

/* タグ一覧 */
.c-work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

/* 年 */
.c-work-card__year {
  margin: 16px 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  font-weight: 300;
  line-height: 1.4;
}

/* hover */
.c-work-card__link:hover
.c-work-card__thumbnail img {
  opacity: 0.9;
  transform: scale(1.035);
}

.c-work-card__link:hover
.c-work-card__title {
  color: #e99411;
}

.c-work-card__title {
  transition: color 0.25s ease;
}

/* キーボード操作 */
.c-work-card__link:focus-visible {
  outline: 3px solid rgb(233 148 17 / 40%);
  outline-offset: 6px;
  border-radius: 4px;
}

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

  .p-works-list {
    padding: 50px 0 30px;
  }

  .c-work-card__body {
    padding-top: 14px;
  }

  .c-work-card__title {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
  }

  .c-work-card__tags {
    gap: 6px;
    margin-top: 10px;
  }

  .c-work-tag {
    min-height: 30px;
    padding: 3px 11px;
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    border-radius: 10px;
  }

  .c-work-card__year {
    margin-top: 8px;
    font-size: clamp(1.1rem, 5vw, 1.45rem);
  }
}

/* ==================================================
  汎用：実績カテゴリタグ
================================================== */
.c-work-tag {
  --work-tag-bg: #f4dab4;
  --work-tag-color: #403a36;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  min-height: 38px;
  padding: 4px 16px;

  color: var(--work-tag-color);
  font-size: clamp(0.95rem, 1.45vw, 1.3rem);
  font-weight: 300;
  line-height: 1.2;

  background-color: var(--work-tag-bg);
  border-radius: 11px;
}

.c-work-tag i {
  flex: 0 0 auto;
  font-size: 0.9em;
  line-height: 1;
}

/* 1：LP */
.c-work-tag--lp {
  --work-tag-bg: #f4dab4;
}

/* 2：Webサイト */
.c-work-tag--web {
  --work-tag-bg: #ffe7a8;
}

/* 3：CMS */
.c-work-tag--cms {
  --work-tag-bg: #b9dcfa;
}

/* 4：バナー */
.c-work-tag--banner {
  --work-tag-bg: #eedcdd;
}

/* 5：動画制作 */
.c-work-tag--movie {
  --work-tag-bg: #c5d5bf;
}

/* 6：ロゴ */
.c-work-tag--logo {
  --work-tag-bg: #d8c9e8;
}

/* 7：印刷物 */
.c-work-tag--print {
  --work-tag-bg: #f7cfb7;
}

/* 8：ECサイト */
.c-work-tag--ec {
  --work-tag-bg: #c9e7df;
}

/* 9：WordPress */
.c-work-tag--wordpress {
  --work-tag-bg: #cbdcea;
}

/* 10：保守・運用 */
.c-work-tag--maintenance {
  --work-tag-bg: #ded8c7;
}


/* ==================================================
  WORKS：コーディング・ソリューション提案
================================================== */
.p-works-coding {
  padding: 90px 0 0;
}

.p-works-coding__heading {
  margin: 0 0 65px;
  color: #e99411;
  font-size: clamp(2rem, 2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

/* ==================================================
  汎用：クライアント実績
================================================== */
.c-client-work {
  border-top: 2px solid #e99411;
}

.c-client-work:last-child {
  border-bottom: 2px solid #e99411;
}

.c-client-work__row {
  min-height: 225px;
  padding: 38px 0;
}

/* ------------------------------
  ロゴ
------------------------------ */
.c-client-work__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 15px 25px;
}

.c-client-work__logo img {
  display: block;
  width: min(100%, 260px);
  max-height: 100px;
  object-fit: contain;
}

/* ------------------------------
  テキスト
------------------------------ */
.c-client-work__content {
  padding-right: 24px;
  padding-left: 20px;
}

.c-client-work__name {
  margin: 0 0 14px;
  color: #000;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.4;
}

.c-client-work__description {
  margin: 0;
  color: #000;
  font-size: clamp(1.05rem, 1.55vw, 1.15rem);
  font-weight: 300;
  line-height: 1.55;
}

.c-client-work__url {
  display: inline-block;
  max-width: 100%;
  margin-top: 3px;

  color: #000;
  font-size: clamp(1rem, 1.45vw, 1.4rem);
  font-weight: 300;
  line-height: 1.5;
  overflow-wrap: anywhere;

  transition:
  color 0.2s ease,
  opacity 0.2s ease;
}

.c-client-work__url:hover,
.c-client-work__url:focus-visible {
  color: #e99411;
  opacity: 0.8;
}

.c-client-work__url:focus-visible {
  outline: 2px solid #e99411;
  outline-offset: 4px;
}

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

  .p-works-coding {
    padding: 60px 0 0;
  }

  .p-works-coding__container {
    padding-right: 38px;
    padding-left: 38px;
  }

  .p-works-coding__heading {
    margin-bottom: 48px;
    font-size: clamp(2rem, 6vw, 2rem);
    line-height: 1.35;
  }

  .c-client-work__row {
    min-height: 0;
    padding: 38px 0 45px;
  }

  .c-client-work__logo {
    min-height: 0;
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .c-client-work__logo img {
    width: min(100%, 260px);
    max-height: 90px;
  }

  .c-client-work__content {
    padding: 0;
  }

  .c-client-work__name {
    margin-bottom: 24px;
    font-size: clamp(1.65rem, 6.5vw, 1.4rem);
    line-height: 1.45;
  }

  .c-client-work__description {
    font-size: clamp(1rem, 4.5vw, 1.4rem);
    line-height: 1.75;
  }

  .c-client-work__url {
    margin-top: 4px;
    font-size: clamp(0.95rem, 4.2vw, 1.25rem);
  }
}


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

  .p-works-coding__container {
    padding-right: 28px;
    padding-left: 28px;
  }

  .p-works-coding__heading {
    font-size: clamp(1.5rem, 4vw, 1.5rem);
  }

  .c-client-work__name {
    font-size: clamp(1.5rem, 6.8vw, 2rem);
  }

  .c-client-work__description {
    font-size: clamp(0.95rem, 4.4vw, 1.2rem);
  }
}


/* ==================================================
  works/サンプル
================================================== */

.p-works-sample__heading {
  margin: 50px 0 30px 0;
  color: #e99411;
  font-size: clamp(2rem, 2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-works-samole__photo {
  display: block;
  width: 1%;
  max-width: none;
  height: auto;
  border-radius: 8px;
}

.p-works-sample__container {
  padding-top: 120px;
}

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

  .p-works-sample__container {
    padding-right: 38px;
    padding-left: 38px;
    padding-top: 90px;
  }

  .p-works-sample__heading {
    margin-bottom: 10px;
    font-size: clamp(2rem, 6vw, 2rem);
    line-height: 1.35;
  }
}

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

  .p-works-sample__container {
    padding-right: 28px;
    padding-left: 28px;
    padding-top: 90px;
  }

  .p-works-coding__heading {
    font-size: clamp(1.5rem, 3vw, 1.5rem);
  }
}


.sample-text-wrap h3 {
  font-size: clamp(2rem, 2vw, 3.4rem);
  font-weight: 700;
}

.sample-text-wrap p {
  font-size: clamp(1.05rem, 1.55vw, 1.15rem);
}


/* ==================================================
  バナーサンプル
================================================== */
.c-banner-sample {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;

  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.c-banner-sample img {
  display: block;
  width: 100%;
  height: auto;

  transition:
  opacity 0.25s ease,
  transform 0.35s ease;
}

.c-banner-sample:hover img {
  opacity: 0.85;
  transform: scale(1.02);
}

.c-banner-sample:focus-visible {
  outline: 3px solid rgb(233 148 17 / 45%);
  outline-offset: 5px;
}


/* ==================================================
  バナー用ライトボックス
================================================== */
.c-banner-lightbox {
  --bs-modal-bg: transparent;
  --bs-modal-border-width: 0;
  --bs-modal-border-radius: 0;
  --bs-modal-box-shadow: none;
}

/* Bootstrap標準の横幅制限を解除 */
.c-banner-lightbox__dialog {
  width: fit-content;
  max-width: min(92vw, 1400px);
  margin-right: auto;
  margin-left: auto;
}

/* 白いモーダル背景をなくす */
.c-banner-lightbox__content {
  width: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* 画像を基準に×を配置 */
.c-banner-lightbox__body {
  position: relative;
  padding: 0;
}

/* 拡大画像 */
.c-banner-lightbox__image {
  display: block;
  width: auto;
  max-width: min(92vw, 1400px);
  max-height: 88dvh;
  height: auto;
  object-fit: contain;
}

/* 右上の閉じるボタン */
.c-banner-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: -50px;

  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;

  background-color: rgb(0 0 0 / 65%);
  border: 0;
  border-radius: 50%;
  opacity: 1;

  -webkit-appearance: none;
  appearance: none;

  transition:
  background-color 0.2s ease,
  transform 0.2s ease;
}

/* バツ印の2本の線 */
.c-banner-lightbox__close::before,
.c-banner-lightbox__close::after {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 55%;
  height: 2px;

  content: "";
  background-color: #fff;
  border-radius: 999px;
  transform-origin: center;
}

.c-banner-lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.c-banner-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.c-banner-lightbox__close:hover {
  background-color: rgb(0 0 0 / 85%);
  transform: scale(1.08);
}

.c-banner-lightbox__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: none;
}

/* 背景の薄い黒 */
.modal-backdrop.show {
  opacity: 0.65;
}


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

  .c-banner-lightbox__dialog {
    max-width: 94vw;
  }

  .c-banner-lightbox__image {
    max-width: 94vw;
    max-height: 86dvh;
  }

  .c-banner-lightbox__close {
    top: -45px;
    right: 8px;

    width: 38px;
    height: 38px;
    padding: 0;
  }
}


/* ==================================================
  WORKS：おまけ
================================================== */
.p-works-extra {
  padding: 85px 0 110px;
  background-color: #eedcdd;
}

.p-works-extra__container {
  max-width: 1100px;
}

.p-works-extra__heading {
  margin: 0 0 45px;
  color: #e99411;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-works-extra__lead,
.p-works-extra__note {
  max-width: 850px;
  margin: 0 auto 38px;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.65;
}

.p-works-extra__note {
  margin-top: 45px;
}

/* ------------------------------
  ギャラリー
------------------------------ */
.p-works-extra__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-works-extra__item {
  min-width: 0;
}

/* ------------------------------
  Instagram
------------------------------ */
.p-works-extra__instagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 60px auto 0;

  color: #000;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;

  transition:
  color 0.2s ease,
  transform 0.2s ease;
}

.p-works-extra__instagram i {
  margin-bottom: 8px;
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 1;
}

.p-works-extra__instagram:hover,
.p-works-extra__instagram:focus-visible {
  color: #e99411;
  transform: translateY(-3px);
}

.p-works-extra__instagram:focus-visible {
  outline: 3px solid rgb(233 148 17 / 45%);
  outline-offset: 6px;
  border-radius: 5px;
}


/* ==================================================
  works-プロセス
================================================== */

.p-works__photo {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
}

.p-works__text {
 max-width: 500px;
}

@media screen and (min-width: 992px) {
  .p-works__text {
   max-width: 600px;
 }
}

@media (max-width: 767.98px) {
  .works-back-button {
    font-size: clamp(1.7rem, 2vw, 2.3rem);
  }
}

/* ==================================================
  works-詳細
================================================== */


.works-datail-text {
  max-width: 650px;
  font-size: clamp(1.4rem, 5vw, 1rem);
  font-weight: 300;
  line-height: 1.5;
  padding: 100px 0 0 0;
}


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

  .works-datail-text {
    max-width: 450px;
    font-size: clamp(1rem, 1vw, 1rem);
    font-weight: 300;
    line-height: 1.85;
    padding: 74px 0 62px 0;
    margin: 0 auto;
  }
}

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

 .works-datail-text {
  font-size: clamp(1rem, 1vw, 1rem);
  padding: 10px 0 62px 0;
}

}

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

 .works-datail-text {
  font-size: clamp(1rem, 1vw, 1rem);
  padding: 40px 0 62px 0;
}

}

/* ==================================================
  WORKS詳細：Webサイトプレビュー
================================================== */
.p-work-site-preview {
  overflow: hidden;
  padding: 80px 0 20px;
}

.p-work-site-preview__devices {
  display: grid;
  grid-template-columns:
  minmax(180px, 0.34fr)
  minmax(0, 1fr);
  gap: clamp(35px, 6vw, 100px);
  align-items: end;

  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
  margin-left: 3%;
}


/* ==================================================
  汎用：端末プレビュー
================================================== */
.c-device-preview {
  position: relative;
  min-width: 0;
}

/*
 * モック画像を通常配置することで、
 * 画像自体の縦横比に合わせて親要素の高さが決まる
 */
.c-device-preview__frame {
  position: relative;
  z-index: 2;

  display: block;
  width: 100%;
  height: auto;

  pointer-events: none;
  user-select: none;
}

/* iframeが見える画面部分 */
.c-device-preview__screen {
  position: absolute;
  z-index: 1;

  top: var(--device-screen-top);
  right: var(--device-screen-right);
  bottom: var(--device-screen-bottom);
  left: var(--device-screen-left);

  overflow: hidden;

  background-color: #fff;
  border-radius: var(--device-screen-radius, 0);
}

/* iframe本体 */
.c-device-preview__iframe {
  position: absolute;
  top: 0;
  left: 0;

  display: block;
  width: 100%;
  height: 100%;

  background-color: #fff;
  border: 0;

  transform-origin: top left;
}


/* ------------------------------
  スマートフォン
------------------------------ */
.c-device-preview--phone {
  /*
   * モック画像に合わせて調整する値
   */
  --device-screen-top: 2.8%;
  --device-screen-right: 7%;
  --device-screen-bottom: 2.8%;
  --device-screen-left: 7%;
  --device-screen-radius: 12% / 6%;

  width: 100%;
  max-width: 290px;
  margin-inline: auto;
}


/* ------------------------------
  ノートPC
------------------------------ */
.c-device-preview--laptop {
  /*
   * モック画像に合わせて調整する値
   */
  --device-screen-top: 11.5%;
  --device-screen-right: 11.2%;
  --device-screen-bottom: 11%;
  --device-screen-left: 11.2%;
  --device-screen-radius: 4px;
  --device-screen-radius: 4px;

  width: 100%;
}


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

  .p-work-site-preview {
    padding: 55px 0 40px;
  }

  .p-work-site-preview__devices {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-left: 0;
  }

  .c-device-preview--phone {
    width: min(76vw, 310px);
    max-width: none;
  }

  .c-device-preview--laptop {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }
}

/* ==================================================
  端末プレビュー：スクロール案内
================================================== */
.c-device-preview__guide {
  position: absolute;
  z-index: 3;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: #fff;
  text-align: center;

  background-color: rgb(0 0 0 / 55%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
  opacity 0.5s ease,
  visibility 0.5s ease;
}

/* 画面内へ入った直後 */
.c-device-preview.is-guide-visible
.c-device-preview__guide {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 案内テキスト */
.c-device-preview__guide-text {
  margin: 0;

  font-size: clamp(1.6rem, 3.5vw, 3.1rem);
  font-weight: 500;
  line-height: 1.3;

  text-shadow:
  0 2px 8px rgb(0 0 0 / 45%);
}

/* 下矢印 */
.c-device-preview__guide-icon {
  display: block;
  width: clamp(52px, 7vw, 100px);
  height: auto;
  margin-top: clamp(12px, 2vw, 24px);

  color: #fff;

  filter:
  drop-shadow(0 2px 5px rgb(0 0 0 / 35%));

  animation:
  device-preview-guide-arrow
  1.1s
  ease-in-out
  infinite;
}

@keyframes device-preview-guide-arrow {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}


/* スマートフォンモック内では少し小さくする */
.c-device-preview--phone
.c-device-preview__guide-text {
  font-size: clamp(1.45rem, 7vw, 2.1rem);
}

.c-device-preview--phone
.c-device-preview__guide-icon {
  width: clamp(50px, 16vw, 76px);
  margin-top: 10px;
}


/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {

  .c-device-preview__guide {
    transition: none;
  }

  .c-device-preview__guide-icon {
    animation: none;
  }

}


/* ==================================================
  汎用：動画埋め込み
================================================== */
.c-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #403a36;
  border-radius: 12px;
}

.c-video iframe,
.c-video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

@media screen and (min-width: 992px) {
  .c-video {
    width: 70%;
    max-width: 960px;
    margin-inline: auto;
  }
}


/* ==================================================
  汎用：正方形ギャラリー
================================================== */
.c-square-gallery {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  overflow: hidden;

  background-color: #e8e8e8;
  border: 0;
  cursor: zoom-in;
}

.c-square-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
  transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
  opacity 0.25s ease;
}

.c-square-gallery:hover img {
  opacity: 0.85;
  transform: scale(1.05);
}

.c-square-gallery:focus-visible {
  outline: 4px solid #e99411;
  outline-offset: 5px;
}

/* 拡大できることを示すアイコン */
.c-square-gallery::after {
  position: absolute;
  right: 10px;
  bottom: 10px;

  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;

  color: #fff;
  font-family: "bootstrap-icons";
  font-size: 18px;
  content: "\F62C";

  background-color: rgb(0 0 0 / 55%);
  border-radius: 50%;
  opacity: 0;

  transition: opacity 0.2s ease;
}

.c-square-gallery:hover::after,
.c-square-gallery:focus-visible::after {
  opacity: 1;
}

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

  .p-works-extra {
    padding: 55px 0 80px;
  }

  .p-works-extra__container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .p-works-extra__heading {
    margin-bottom: 28px;
  }

  .p-works-extra__lead,
  .p-works-extra__note {
    margin-bottom: 25px;
    font-size: clamp(0.95rem, 4vw, 1.2rem);
    line-height: 1.55;
  }

  .p-works-extra__note {
    margin-top: 32px;
  }

  .p-works-extra__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .p-works-extra__instagram {
    margin-top: 45px;
  }

  .c-square-gallery::after {
    right: 7px;
    bottom: 7px;
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}


/* ==================================================
  BLOG：記事詳細
================================================== */
.p-blog-single {
  padding: 40px 0 120px;
}

/*.p-blog-single__container {
  max-width: 1280px;
}*/

.p-blog-single__layout {
  display: grid;
  grid-template-columns:
  minmax(0, 1fr)
  minmax(240px, 290px);
  gap: clamp(45px, 7vw, 95px);
  align-items: start;
}

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

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


/* ==================================================
  ブログ記事
================================================== */
.c-blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-bottom: 16px;
}

/* 日付 */
.c-blog-article__date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 32px;
  padding: 4px 16px;

  font-size: clamp(0.8rem, 1vw, 1rem);
  line-height: 1.2;

  background-color: #f4dab4;
  border-radius: 9px;
}

/* カテゴリー */
.c-blog-article__categories {
  color: #e99411;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
}

.c-blog-article__categories a {
  color: inherit;
  transition: opacity 0.2s ease;
}

.c-blog-article__categories a:hover,
.c-blog-article__categories a:focus-visible {
  opacity: 0.65;
}

/* タイトル */
.c-blog-article__title {
  margin: 0 0 28px;
  padding: 0 0 18px;

  color: #000;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.35;

  border-bottom: 2px solid #e99411;
}

/* 本文 */
.c-blog-article__content {
  color: #403a36;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 300;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.c-blog-article__content > * {
  margin-top: 0;
  margin-bottom: 1.5em;
}

.c-blog-article__content > *:last-child {
  margin-bottom: 0;
}

.c-blog-article__content h2 {
  margin-top: 2.2em;
  padding-bottom: 10px;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 700;
  border-bottom: 2px solid #e99411;
}

.c-blog-article__content h3 {
  margin-top: 2em;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
}

.c-blog-article__content a {
  color: #e99411;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c-blog-article__content img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.c-blog-article__content ul,
.c-blog-article__content ol {
  padding-left: 1.5em;
}

.c-blog-article__content ul {
  list-style: disc;
}

.c-blog-article__content ol {
  list-style: decimal;
}

.c-blog-article__content blockquote {
  padding: 20px 24px;
  background-color: #eedcdd;
  border-left: 5px solid #e99411;
}


/* ==================================================
  記事内ページネーション
================================================== */
.c-post-pagination {
  margin-top: 55px;
}

.c-post-pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* WordPressが出力するリンク */
.c-post-pagination .post-page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 38px;
  min-height: 42px;
  padding: 4px 8px;

  color: #000;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1;

  background-color: transparent;
  border: 1px solid #e99411;

  transition:
  color 0.2s ease,
  background-color 0.2s ease;
}

/* 現在ページ */
.c-post-pagination .post-page-numbers.current {
  color: #fff;
  background-color: #e99411;
}

/* ホバー */
.c-post-pagination a.post-page-numbers:hover,
.c-post-pagination a.post-page-numbers:focus-visible {
  color: #fff;
  background-color: #e99411;
}


/* ==================================================
  ブログサイドバー
================================================== */
.c-blog-sidebar {
  width: 100%;
}

.c-blog-sidebar__section {
  padding: 30px 0;
  border-bottom: 2px solid #e99411;
}

.c-blog-sidebar__section:first-child {
  padding-top: 0;
}

.c-blog-sidebar__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;

  color: #e99411;
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.c-blog-sidebar__heading-icon {
  flex: 0 0 auto;
  width: 56px;
  height: auto;
}

.c-blog-sidebar__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-blog-sidebar__list li + li {
  margin-top: 7px;
}

.c-blog-sidebar__list a {
  color: #e99411;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.5;

  transition:
  color 0.2s ease,
  opacity 0.2s ease;
}

.c-blog-sidebar__list a:hover,
.c-blog-sidebar__list a:focus-visible {
  color: #c87001;
  opacity: 0.75;
}

.c-blog-sidebar__empty {
  font-size: 0.95rem;
}


/* ==================================================
  ブログサイドバー：プロフィール
================================================== */
.c-blog-profile__photo {
  overflow: hidden;
  margin: 0 0 20px;
  border-radius: 24px;
}

.c-blog-profile__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.c-blog-profile__heading {
  margin-bottom: 22px;
}

.c-blog-profile__shoulder {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 700;
  line-height: 1.3;
}

.c-blog-profile__name {
  margin: 0;
  color: #403a36;
  font-size: clamp(2.2rem, 3.3vw, 2.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
}

.c-blog-profile__name-en {
  margin: 3px 0 0;
  color: #000;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.c-blog-profile__text {
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.6;
}

.c-blog-profile__text p {
  margin: 0 0 22px;
}

.c-blog-profile__link {
  display: inline-block;
  font-size: 1rem;
}

.c-blog-profile__link span {
  margin-left: 3px;
  color: #e99411;
}

.c-blog-profile__link:hover span,
.c-blog-profile__link:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ==================================================
  ブログ検索
================================================== */
.c-blog-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  width: 100%;
}

.c-blog-search__input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 7px 12px;

  font-size: 1rem;

  background-color: #fff;
  border: 1px solid #d8d3ce;
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

.c-blog-search__input::placeholder {
  color: #cfcac5;
}

.c-blog-search__input:focus {
  outline: 2px solid rgb(233 148 17 / 35%);
  outline-offset: -2px;
}

.c-blog-search__button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 42px;
  padding: 0;

  color: #403a36;
  font-size: 1.2rem;

  background-color: #e99411;
  border: 0;
  border-radius: 0 8px 8px 0;

  transition:
  color 0.2s ease,
  background-color 0.2s ease;
}

.c-blog-search__button:hover,
.c-blog-search__button:focus-visible {
  color: #fff;
  background-color: #c87001;
}


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

  .p-blog-single {
    padding: 25px 0 80px;
  }

  .p-blog-single__container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .p-blog-single__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 55px;
  }

  /* ------------------------------
    記事
  ------------------------------ */
  .c-blog-article__meta {
    gap: 8px 12px;
    margin-bottom: 15px;
  }

  .c-blog-article__date {
    min-width: 92px;
    min-height: 26px;
    padding: 3px 10px;
    font-size: 0.75rem;
  }

  .c-blog-article__categories {
    font-size: 0.8rem;
  }

  .c-blog-article__title {
    margin-bottom: 28px;
    padding-bottom: 13px;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .c-blog-article__content {
    font-size: clamp(0.95rem, 4vw, 1.15rem);
    line-height: 1.65;
  }

  /* ------------------------------
    ページネーション
  ------------------------------ */
  .c-post-pagination {
    margin-top: 45px;
  }

  .c-post-pagination__list {
    gap: 10px;
  }

  .c-post-pagination .post-page-numbers {
    min-width: 32px;
    min-height: 38px;
    padding: 3px 6px;
    font-size: 1.35rem;
  }

  /* ------------------------------
    サイドバー
  ------------------------------ */
  .p-blog-single__sidebar {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .c-blog-sidebar__section {
    padding: 35px 0;
  }

  .c-blog-sidebar__heading {
    justify-content: center;
    margin-bottom: 24px;
    font-size: clamp(1.6rem, 7vw, 2.3rem);
  }

  .c-blog-sidebar__heading-icon {
    width: 48px;
  }

  .c-blog-sidebar__list {
    padding-right: 6px;
    padding-left: 6px;
  }

  .c-blog-sidebar__list a {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
  }

  /* プロフィール */
  .c-blog-profile__photo {
    width: min(78vw, 360px);
    margin-right: auto;
    margin-left: auto;
  }

  .c-blog-profile__heading,
  .c-blog-profile__text,
  .c-blog-profile__link {
    margin-right: 6px;
    margin-left: 6px;
  }

  .c-blog-profile__shoulder {
    font-size: clamp(1rem, 4.5vw, 1.25rem);
  }

  .c-blog-profile__name {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .c-blog-profile__name-en {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
  }

  .c-blog-profile__text {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }
}


/* ==================================================
  BLOG：一覧
================================================== */
.p-blog-index {
  padding: 70px 0 120px;
}

.p-blog-index__header {
  margin-bottom: 55px;
}

.p-blog-index__heading {
  margin: 0;
  text-align: center;
}

.p-blog-index__heading img {
  display: block;
  width: min(280px, 70vw);
  height: auto;
  margin-inline: auto;
}

.p-blog-index__list {
  display: grid;
  gap: 45px;
}

.p-blog-index__card {
  margin: 0;
}

/* ページ送り */
.p-blog-index__pagination {
  margin-top: 60px;
}

.c-blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.c-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 40px;
  min-height: 40px;
  padding: 5px 10px;

  color: #403a36;
  background-color: transparent;
  border: 1px solid #e99411;

  transition:
  color 0.2s ease,
  background-color 0.2s ease;
}

.c-blog-pagination .page-numbers.current,
.c-blog-pagination a.page-numbers:hover,
.c-blog-pagination a.page-numbers:focus-visible {
  color: #fff;
  background-color: #e99411;
}

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

  .p-blog-index {
    padding: 50px 0 80px;
  }

  .p-blog-index__header {
    margin-bottom: 40px;
  }

  .p-blog-index__list {
    gap: 35px;
  }
}

/*記事一覧を見るボタン*/

.c-blog-sidebar__archive-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  min-width: 170px;
  margin: 25px auto 0;
  padding: 9px 20px;

  color: #403a36;
  text-decoration: none;

  background-color: #f4dab4;
  border: 1px solid #e99411;
  border-radius: 8px;

  transition:
  color 0.2s ease,
  background-color 0.2s ease,
  transform 0.2s ease;
}

.c-blog-sidebar__archive-button:hover,
.c-blog-sidebar__archive-button:focus-visible {
  color: #fff;
  background-color: #e99411;
  transform: translateY(-2px);
}



/* ==================================================
  CONTACT
================================================== */
.p-contact {
  padding: 30px 0 120px;
}

.p-contact__container {
  max-width: 980px;
}

.p-contact__lead {
  margin: 50px 0 60px;
  font-size: clamp(1rem, 1.7vw, 1.5rem);
  line-height: 1.8;
  text-align: center;
}

.p-contact__lead a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.p-contact__form {
  width: 100%;
}

/* ==================================================
  Contact Form 7
================================================== */
.c-contact-form {
  width: 100%;
}

.c-contact-form .form-label {
  display: block;
  margin-bottom: 10px;
  color: #403a36;
  font-size: 1rem;
}

.c-contact-form__required {
  margin-left: 2px;
}

/* CF7が自動生成するラッパー */
.c-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Bootstrap form-controlをベースに調整 */
.c-contact-form .form-control {
  width: 100%;
  min-height: 48px;
  padding: 10px 15px;

  color: #403a36;
  background-color: #fff;
  border-color: #ced4da;
  border-radius: 8px;
}

/* フォーカス時はオレンジ */
.c-contact-form .form-control:focus {
  color: #403a36;
  background-color: #fff;
  border-color: #e99411;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(233 148 17 / 20%);
}

.c-contact-form .form-control::placeholder {
  color: #aaa;
  opacity: 1;
}

/* 内容欄 */
.c-contact-form__textarea {
  min-height: 150px;
  resize: vertical;
}

/* 入力エラー */
.c-contact-form .form-control.wpcf7-not-valid {
  border-color: #dc3545;
}

.c-contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  font-size: 0.875rem;
}

/* 送信ボタン */
.c-contact-form__submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.c-contact-form .c-contact-form__submit {
  min-width: 120px;
  padding: 10px 24px;

  color: #fff;
  font-size: 1rem;

  background-color: #e99411;
  border: 1px solid #e99411;
  border-radius: 8px;
  box-shadow: 0 5px 0 #c97800;

  transition:
  color 0.2s ease,
  background-color 0.2s ease,
  border-color 0.2s ease,
  box-shadow 0.2s ease,
  transform 0.2s ease;
}

.c-contact-form .c-contact-form__submit:hover,
.c-contact-form .c-contact-form__submit:focus-visible {
  color: #fff;
  background-color: #d88400;
  border-color: #d88400;
  transform: translateY(2px);
  box-shadow: 0 3px 0 #b86d00;
}

.c-contact-form .c-contact-form__submit:active {
  transform: translateY(5px);
  box-shadow: none;
}

/* 送信結果メッセージ */
.c-contact-form + .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
  margin: 25px 0 0;
  padding: 14px 18px;
  border-radius: 8px;
}


/* ==================================================
  NEWS：詳細
================================================== */
.p-news-single,
.p-news-archive {
  padding: 80px 0 120px;
}

.p-news-single__header {
  margin:0 auto 40px auto;
  padding-bottom: 20px;
  border-bottom: 2px solid #e99411;
}

.p-news-single__date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 7px 18px;

  font-weight: 600;
  line-height: 1.2;

  background-color: #f4dab4;
  border-radius: 9px;
}

.p-news-single__title {
  margin: 20px 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.4;
}

.p-news-single__content {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
}

.p-news-single__content > * {
  margin-top: 0;
  margin-bottom: 1.5em;
}

.p-news-single__content img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.p-news-single__content a {
  color: #e99411;
  border-bottom: solid 1px #E99411;
}

.p-news-single__others {
  margin-top: 90px;
}

.p-news-single__others-heading {
  display: flex;
  -webkit-justify-content: center;
          justify-content: center;
  margin-bottom: 35px;
  color: #e99411;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  text-align: center;
}

.p-news-single__archive-link,
.p-news__archive-link {
  display: block;
  width: fit-content;
  margin: 35px auto 0;

  color: #e99411;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.p-news-archive__heading {
  margin: 0 0 60px;
  text-align: center;
}

.p-news-archive__heading img {
  width: min(300px, 70vw);
  height: auto;
  margin: 0 auto;
}


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

  .p-news-single,
  .p-news-archive {
    padding: 50px 0 80px;
  }

  .p-news-single__container,
  .p-news-archive__container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .p-news-single__title {
    margin-top: 15px;
  }

  .p-news-single__others {
    margin-top: 65px;
  }
}

/* ==================================================
  WORKS：パスワード認証
================================================== */

.p-works-password-form__input {
    width: 80%;
    min-width: 0;
    height: 42px;
    padding: 7px 12px;
    font-size: 1rem;
    background-color: #fff;
    border: 1px solid #d8d3ce;
    border-right: 0;
    border-radius: 8px 0 0 8px!important;
}

.p-works-password-form__input:focus {
    outline: 2px solid rgb(233 148 17 / 35%);
    outline-offset: -2px;
  }

.p-works-password-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;

  color: #403a36;
  background-color: #e99411;
  border-color: #e99411;
}

.p-works-password-form__submit:hover,
.p-works-password-form__submit:focus-visible {
  color: #fff;
  background-color: #c87001;
}

.p-works-password-form__submit .c-link-button__icon {
  width: 25px;
  height: 25px;
}

.p-works-password-form__error {
  margin: 10px 0 0;
  color: #c62828;
  font-size: 0.95rem;
}

/* ==================================================
  iPhone：モバイルメニューの表示対策
================================================== */
@media screen and (max-width: 1199.98px) {

  .l-header {
    height: auto;
    min-height: var(--header-height);
    overflow: visible;
  }

  .l-header .navbar,
  .l-header__inner {
    overflow: visible;
  }

  .l-global-nav.show,
  .l-global-nav.collapsing {
    max-height: calc(100dvh - var(--header-height));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
