@charset "UTF-8";@import "kiso.css";

html {
  font-size: 100%;
}

a[href^=tel] {
  text-decoration: none;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  /* 強調をなくす */
}

a:hover {
  text-decoration: none;
}

img,
svg {
  vertical-align: middle;
}

img {
  max-width: 100%;
}

:where(:any-link, button, [type=button], [type=reset], [type=submit], label[for], select, summary, [role=tab], [role=button]) {
  cursor: pointer;
}

:where(button, [type=button], [type=reset], [type=submit]) {
  touch-action: manipulation;
}

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

input[type=text] {
  font-size: 1rem;
  /* = calc(16 * var(--to-rem)) */
}

textarea {
  field-sizing: content;
}

body {
  font-family: var(--base-font-family);
  font-weight: var(--fw-regular);
  color: var(--color-text);
}

html {
  box-sizing: border-box;
  /* Prevent adjustments of font size after orientation changes in iOS */
  word-break: normal;
  tab-size: 4;
  text-size-adjust: 100%;
}

*,
::before,
::after {
  /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
  box-sizing: border-box;
  background-repeat: no-repeat;
}

::before,
::after {
  text-decoration: inherit;
  /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
  vertical-align: inherit;
}

* {
  padding: 0;
  /* Reset `padding` and `margin` of all elements */
  margin: 0;
}

/* # =================================================================
     # General elements
     # ================================================================= */
hr {
  /* Show the overflow in Edge and IE */
  height: 0;
  overflow: visible;
  /* Add the correct box sizing in Firefox */
  color: inherit;
  /* Correct border color in Firefox. */
}

details,
main {
  display: block;
  /* Render the `main` element consistently in IE. */
}

summary {
  display: list-item;
  /* Add the correct display in all browsers */
}

small {
  font-size: 80%;
  /* Set font-size to 80% in `small` elements */
}

[hidden] {
  display: none;
  /* Add the correct display in IE */
}

abbr[title] {
  /* Remove the bottom border in Chrome 57 */
  /* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: none;
}

a {
  background-color: transparent;
  /* Remove the gray background on active links in IE 10 */
}

a:active,
a:hover {
  outline-width: 0;
  /* Remove the outline when hovering in all browsers */
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  /* Specify the font family of code elements */
}

pre {
  font-size: 1em;
  /* Correct the odd `em` font sizing in all browsers */
}

b,
strong {
  font-weight: bolder;
  /* Add the correct font weight in Chrome, Edge, and Safari */
}

/* https://gist.github.com/unruthless/413930 */
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  /* Correct border color in all Chrome, Edge, and Safari. */
  text-indent: 0;
  border-color: inherit;
  /* Remove text indentation in Chrome, Edge, and Safari */
}

iframe {
  border-style: none;
}

/* # =================================================================
     # Forms
     # ================================================================= */
input {
  border-radius: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
  /* Correct the cursor style of increment and decrement buttons in Chrome */
}

[type=search] {
  appearance: textfield;
  appearance: none;
  /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px;
  /* Correct the outline style in Safari */
}

[type=search]::-webkit-search-decoration {
  appearance: none;
  /* Remove the inner padding in Chrome and Safari on macOS */
}

textarea {
  overflow: auto;
  resize: vertical;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold;
  /* Restore the font weight unset by the previous rule */
}

button {
  overflow: visible;
  /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

button,
select {
  text-transform: none;
  /* Firefox 40+, Internet Explorer 11- */
}

/* Apply cursor pointer to button elements */
button,
[type=button],
[type=reset],
[type=submit],
[role=button] {
  cursor: pointer;
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type=button],
[type=reset],
[type=submit] {
  appearance: button;
  /* Correct the inability to style clickable types in iOS */
}

button,
input,
select,
textarea {
  appearance: none;
  background-color: transparent;
  border-style: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline-width: 0;
}

/* Style select like a standard input */
select {
  appearance: none;
}

select::-ms-expand {
  display: none;
  /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentcolor;
  /* Internet Explorer 11+ */
}

legend {
  /* Correct the color inheritance from `fieldset` elements in IE */
  display: table;
  /* Correct the text wrapping in Edge and IE */
  /* Correct the text wrapping in Edge and IE */
  max-width: 100%;
  /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit;
  /* Correct the text wrapping in Edge and IE */
  white-space: normal;
  border: 0;
  /* Correct the text wrapping in Edge 18- and IE */
}

::-webkit-file-upload-button {
  font: inherit;
  color: inherit;
  /* Correct the inability to style clickable types in iOS and Safari */
  appearance: button;
  /* Change font properties to `inherit` in Chrome and Safari */
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

/* # =================================================================
     # Specify media element style
     # ================================================================= */
img {
  border-style: none;
  /* Remove border when inside `a` element in IE 8/9/10 */
}

/* Add the correct vertical alignment in Chrome, Firefox, and Opera */
progress {
  vertical-align: baseline;
}

/* # =================================================================
     # Accessibility
     # ================================================================= */
/* Specify the progress cursor of updating elements */
[aria-busy=true] {
  cursor: progress;
}

/* Specify the pointer cursor of trigger elements */
[aria-controls] {
  cursor: pointer;
}

/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
[aria-disabled=true] {
  cursor: default;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove default padding */
ul,
ol {
  padding: 0;
  list-style: "";
}

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

@property --root-font-size {
  syntax: "<length>";
  inherits: false;
  initial-value: 16px;
}
@font-face {
  font-family: "Local Noto Sans JP";
  src: local("Noto Sans JP");
}
:root {
  /* inner */
  --inner: min(1080px, 100%);
  --inner-sp: min(500px, 100%);
  --padding-inner: calc(20 * var(--to-rem));
  /* z-index */
  --z-index-header: 900;
  /* color */
  --color-white: #fff;
  --color-text: #16324f;
  --color-black: #000;
  --color-gray: #f0f0f0;
  --color-border-gray: #aaaaaf;
  --color-accent: #178cb3;
  --color-primary: #0a2a63;
  --color-secondary: #00f;
  --color-orange: #de8430;
  /* WEB LOID brand tokens */
  --c-navy: #0a1f47;
  --c-navy-deep: #071233;
  --c-navy-title: #16365e;
  --c-heading: #14304f;
  --c-body-gray: #4d5057;
  --c-line: #04c72c;
  --c-line-dark: #03c147;
  --c-script: #2b93c0;
  --c-footer-bg: #f9f5ee;
  --c-footer-link: #605a5e;
  /* font-weight */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  /* font-family */
  --base-font-family: "Local Noto Sans JP", "Noto Sans JP", sans-serif;
  --title-font-family: "Lato", sans-serif;
  --ff-serif: "Noto Serif JP", serif;
  --ff-script: "Dancing Script", cursive;
  --to-rem: calc(tan(atan2(1px, var(--root-font-size))) * 1rem);
  /* transition duration */
  --duration: 0.3s;
  /* header height */
  --header-height: calc(80 * var(--to-rem));
  /* spacing tokens (4px / 8px base — AI制作プラン規約 2026-06-21確定)
     原則:
     - 余白は感覚で決めず、必ずこのトークンから選ぶ
     - 13px / 27px / 43px 等の中途半端な値は禁止
     - margin より親要素の flex/grid + gap を優先
     - 近い関係は小さく、違うグループは大きく
     - セクション全体に余白、要素を詰め込みすぎない
     詳細正本: data/policies/ai-production-plan/style-guide-v1.md §3, §3.5 */
  --space-0: 0;
  --space-1: calc(4 * var(--to-rem));
  --space-2: calc(8 * var(--to-rem));
  --space-3: calc(12 * var(--to-rem));
  --space-4: calc(16 * var(--to-rem));
  --space-5: calc(24 * var(--to-rem));
  --space-6: calc(32 * var(--to-rem));
  --space-7: calc(40 * var(--to-rem));
  --space-8: calc(48 * var(--to-rem));
  --space-9: calc(56 * var(--to-rem));
  --space-10: calc(64 * var(--to-rem));
  --space-11: calc(80 * var(--to-rem));
  --space-12: calc(96 * var(--to-rem));
  --space-13: calc(120 * var(--to-rem));
  --space-14: calc(160 * var(--to-rem));
}
@media (width <= 1000px) {
  :root {
    --to-rem: calc(100vw / 1000);
  }
}
@media (width <= 767px) {
  :root {
    --to-rem: calc(tan(atan2(1px, var(--root-font-size))) * 1rem);
  }
}
@media (width <= 375px) {
  :root {
    --to-rem: calc(100vw / 375);
  }
}
@media screen and (width <= 767px) {
  :root {
    --header-height: calc(64 * var(--to-rem));
  }
}

.l-header {
  position: sticky;
  top: 0;
  z-index: var(--z-index-header);
}

/* 普通のコーディング用コンテナ。
   - 1000px超: max-width 1120px（8の倍数・スタイルガイド 1080〜1200 内）で中央寄せ
   - 1000px以下: 幅 100% のまま液体スケール（--to-rem 追従で padding も比例縮小）
   - 767px以下: SP は 500px 上限で読み物幅に（社長指示 2026-06-25）
   横 padding は最大 40px（≤50px 厳守）。 */
.l-inner {
  width: 100%;
  max-width: 1120px;
  padding-inline: var(--space-7);
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .l-inner {
    max-width: 500px;
    padding-inline: var(--padding-inner);
  }
}

/* ============================================================
   レイアウト機構（社長指示 2026-07-05）
   --to-rem の切替は global/_variables.scss が一元管理する。
   - 1000px超 : --to-rem = 1px（固定＝普通のコーディング。.l-inner の max-width で中央寄せ）
   - 1000px以下: --to-rem = 100vw / 1000（液体。1000px境界で実寸px連続）
   - 767px以下 : SPレイアウト（375px以下でさらに液体）
   ここでは body の共通装飾のみを持たせ、--to-rem は上書きしない。
   ============================================================ */
body {
  overflow-x: clip;
  font-family: var(--base-font-family);
  font-weight: var(--fw-regular);
  color: var(--c-navy);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

.l-top {
  overflow-x: clip;
}

.c-arrow {
  display: inline-block;
  font-size: calc(14 * var(--to-rem));
  line-height: 1;
}

.c-deco {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.c-deco--hibiscus {
  width: calc(48 * var(--to-rem));
  height: calc(48 * var(--to-rem));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg%3E%3Cpath d='M32 32c-3-10-1-24 4-24s7 14 4 24z' fill='%23f2716f'/%3E%3Cpath d='M32 32c8-7 22-9 24-4s-8 15-18 14z' fill='%23f4837f' transform='rotate(72 32 32)'/%3E%3Cpath d='M32 32c8-7 22-9 24-4s-8 15-18 14z' fill='%23ee6a67' transform='rotate(144 32 32)'/%3E%3Cpath d='M32 32c8-7 22-9 24-4s-8 15-18 14z' fill='%23f4837f' transform='rotate(216 32 32)'/%3E%3Cpath d='M32 32c8-7 22-9 24-4s-8 15-18 14z' fill='%23ee6a67' transform='rotate(288 32 32)'/%3E%3Ccircle cx='32' cy='32' r='6' fill='%23f7c948'/%3E%3C/g%3E%3C/svg%3E");
}

.c-deco--island {
  width: calc(150 * var(--to-rem));
  height: calc(74 * var(--to-rem));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 96'%3E%3Cpath d='M18 78c0-26 30-46 82-46s82 20 82 46z' fill='%237fc9a6'/%3E%3Cpath d='M40 78c0-16 26-30 60-30s60 14 60 30z' fill='%236bbd97'/%3E%3Cpath d='M96 34c-2-14 6-22 6-22s2 12-2 22z' fill='%23429e77'/%3E%3Cpath d='M100 30c8-8 20-8 20-8s-8 10-18 12z' fill='%234da882'/%3E%3Cpath d='M100 30c-8-8-20-8-20-8s8 10 18 12z' fill='%234da882'/%3E%3C/svg%3E");
}

.c-deco--coral {
  width: calc(70 * var(--to-rem));
  height: calc(96 * var(--to-rem));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 110'%3E%3Cg fill='none' stroke='%23e79b86' stroke-width='7' stroke-linecap='round'%3E%3Cpath d='M40 108V40'/%3E%3Cpath d='M40 70C40 46 22 44 18 24'/%3E%3Cpath d='M40 60c0-22 18-26 22-44'/%3E%3Cpath d='M40 84c0-14-12-18-16-30'/%3E%3Cpath d='M40 80c0-12 12-16 16-28'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
}

.c-deco--plant {
  width: calc(150 * var(--to-rem));
  height: calc(130 * var(--to-rem));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 160'%3E%3Cg%3E%3Cpath d='M10 160C10 90 60 40 120 30 80 60 60 110 70 160z' fill='%232f8f5e'/%3E%3Cpath d='M-10 160C0 100 40 70 100 70 60 90 40 120 45 160z' fill='%233da06d' opacity='.9'/%3E%3Cpath d='M0 160c6-40 30-70 70-84-28 26-40 54-38 84z' fill='%23246f4a'/%3E%3Cg transform='translate(70 118)'%3E%3Cpath d='M20 22c-8-6-6-20 4-24s20 4 18 14-14 16-22 10z' fill='%23f6d24a'/%3E%3Ccircle cx='19' cy='16' r='6' fill='%23f39c3d'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.c-deco--plant-flip {
  scale: -1 1;
}

.c-ghost-button {
  display: inline-flex;
  gap: var(--space-2);
  align-items: center;
  justify-content: center;
  height: calc(52 * var(--to-rem));
  padding-inline: var(--space-5);
  font-size: calc(16 * var(--to-rem));
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--c-navy-title);
  text-decoration: none;
  white-space: nowrap;
  background-color: var(--color-white);
  border-radius: 999px;
  box-shadow: 0 calc(3 * var(--to-rem)) calc(10 * var(--to-rem)) rgba(20, 60, 100, 0.12);
  transition: opacity var(--duration);
}

@media (any-hover: hover) {
  .c-ghost-button:hover {
    opacity: 0.85;
  }
}
.c-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.c-heading__en {
  font-family: var(--ff-script);
  font-size: var(--heading-en-size, calc(22 * var(--to-rem)));
  font-weight: 600;
  line-height: 1;
  color: var(--heading-en-color, var(--c-script));
}

.c-heading__ja {
  font-family: var(--ff-serif);
  font-size: var(--heading-ja-size, calc(32 * var(--to-rem)));
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading-ja-color, var(--c-heading));
  letter-spacing: var(--heading-ja-ls, 0.04em);
}
@media screen and (max-width: 767px) {
  .c-heading__ja {
    font-size: var(--heading-ja-size-sp, calc(26 * var(--to-rem)));
  }
}

.c-line-badge {
  position: relative;
  flex: 0 0 auto;
  width: var(--badge-size, calc(24 * var(--to-rem)));
  height: var(--badge-size, calc(24 * var(--to-rem)));
  background-color: var(--color-white);
  border-radius: 50%;
}
.c-line-badge::after {
  position: absolute;
  inset: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--badge-label-size, calc(5.5 * var(--to-rem)));
  font-weight: var(--fw-bold);
  color: var(--color-white);
  content: "LINE";
  background-color: var(--c-line-dark);
  border-radius: 42%;
}

.c-line-button {
  --badge-size: calc(24 * var(--to-rem));
  display: inline-flex;
  gap: var(--space-2);
  align-items: center;
  justify-content: center;
  height: calc(44 * var(--to-rem));
  padding-inline: var(--space-4);
  font-size: calc(14 * var(--to-rem));
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
  background-color: var(--c-line-dark);
  border-radius: 999px;
  box-shadow: 0 calc(3 * var(--to-rem)) calc(6 * var(--to-rem)) rgba(0, 150, 90, 0.28);
  transition: opacity var(--duration);
}

.c-line-button--lg {
  --badge-size: calc(24 * var(--to-rem));
  height: calc(52 * var(--to-rem));
  padding-inline: var(--space-5);
  font-size: calc(16 * var(--to-rem));
  background-color: var(--c-line);
}

.c-line-button--cta {
  --badge-size: calc(28 * var(--to-rem));
  --badge-label-size: calc(7 * var(--to-rem));
  gap: var(--space-3);
  height: calc(56 * var(--to-rem));
  padding-inline: var(--space-6);
  font-size: calc(16 * var(--to-rem));
  background-color: #06c34a;
  box-shadow: 0 calc(6 * var(--to-rem)) calc(16 * var(--to-rem)) rgba(0, 120, 60, 0.3);
}

@media (any-hover: hover) {
  .c-line-button:hover {
    opacity: 0.9;
  }
}
.c-logo {
  display: inline-flex;
  gap: var(--space-2);
  align-items: center;
  font-family: var(--ff-serif);
  font-size: calc(22 * var(--to-rem));
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--c-navy);
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.c-logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(32 * var(--to-rem));
  height: calc(32 * var(--to-rem));
  font-family: var(--base-font-family);
  font-size: calc(17 * var(--to-rem));
  color: var(--color-white);
  background: linear-gradient(135deg, #0a2a63, #1666b0);
  border-radius: calc(8 * var(--to-rem));
}

.c-logo--footer {
  color: var(--c-navy-deep);
}

.c-news-card {
  display: flex;
  flex-direction: column;
}

.c-news-card__thumb {
  inline-size: 100%;
  aspect-ratio: 16/9;
  overflow: clip;
  border-radius: calc(8 * var(--to-rem));
}

.c-news-card__thumb img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
}

.c-news-card__meta {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-block-start: var(--space-3);
}

.c-news-card__tag {
  padding: var(--space-1) var(--space-2);
  font-size: calc(12 * var(--to-rem));
  font-weight: var(--fw-bold);
  color: #6b8299;
  background-color: var(--color-white);
  border-radius: calc(4 * var(--to-rem));
}

.c-news-card__date {
  font-size: calc(13 * var(--to-rem));
  color: #97a1ac;
}

.c-news-card__title {
  margin-block-start: var(--space-3);
  font-size: calc(16 * var(--to-rem));
  font-weight: var(--fw-bold);
  line-height: 1.6;
  color: #16324f;
}

.c-pill-button {
  display: inline-flex;
  gap: var(--space-2);
  align-items: center;
  justify-content: center;
  height: calc(48 * var(--to-rem));
  padding-inline: var(--space-5);
  font-size: calc(15 * var(--to-rem));
  font-weight: var(--fw-bold);
  line-height: 1;
  color: #123a68;
  text-decoration: none;
  white-space: nowrap;
  background-color: var(--color-white);
  border-radius: 999px;
  box-shadow: 0 calc(4 * var(--to-rem)) calc(14 * var(--to-rem)) rgba(30, 80, 120, 0.1);
  transition: opacity var(--duration);
}

@media (any-hover: hover) {
  .c-pill-button:hover {
    opacity: 0.85;
  }
}
.c-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: var(--space-6);
  text-align: center;
  background-color: var(--color-white);
  border-radius: calc(16 * var(--to-rem));
  box-shadow: 0 calc(4 * var(--to-rem)) calc(16 * var(--to-rem)) rgba(30, 60, 90, 0.08);
}
@media screen and (max-width: 767px) {
  .c-service-card {
    padding: var(--space-5);
  }
}

.c-service-card__icon {
  width: calc(96 * var(--to-rem));
  height: calc(96 * var(--to-rem));
}

.c-service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.c-service-card__title {
  margin-block-start: var(--space-4);
  font-size: calc(20 * var(--to-rem));
  font-weight: var(--fw-bold);
  color: #1c3f6e;
}
@media screen and (max-width: 767px) {
  .c-service-card__title {
    font-size: calc(18 * var(--to-rem));
  }
}

.c-service-card__body {
  margin-block-start: var(--space-3);
  font-size: calc(16 * var(--to-rem));
  line-height: 1.8;
  color: #46484d;
}

.c-service-card__link {
  padding-block-start: var(--space-5);
  margin-block-start: auto;
  font-size: calc(14 * var(--to-rem));
  font-weight: var(--fw-bold);
  color: #123a68;
  text-decoration: none;
}

.c-work-card {
  display: flex;
  flex-direction: column;
}

.c-work-card__thumb {
  inline-size: 100%;
  aspect-ratio: 16/9;
  overflow: clip;
  border-radius: calc(8 * var(--to-rem));
  box-shadow: 0 calc(5 * var(--to-rem)) calc(14 * var(--to-rem)) rgba(30, 70, 110, 0.1);
}

.c-work-card__thumb img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
}

.c-work-card__tag {
  align-self: flex-start;
  padding: var(--space-1) var(--space-2);
  margin-block-start: var(--space-3);
  font-size: calc(12 * var(--to-rem));
  font-weight: var(--fw-bold);
  color: #6b8299;
  background-color: var(--color-white);
  border-radius: calc(4 * var(--to-rem));
  box-shadow: 0 calc(1 * var(--to-rem)) calc(3 * var(--to-rem)) rgba(0, 0, 0, 0.05);
}

.c-work-card__title {
  margin-block-start: var(--space-2);
  font-size: calc(18 * var(--to-rem));
  font-weight: var(--fw-bold);
  color: #16324f;
}

.c-work-card__desc {
  margin-block-start: var(--space-2);
  font-size: calc(15 * var(--to-rem));
  line-height: 1.7;
  color: #5b6672;
}

.p-footer {
  background-color: var(--c-footer-bg);
}

.p-footer__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  align-items: flex-start;
  padding-block: var(--space-11);
}
@media screen and (max-width: 767px) {
  .p-footer__inner {
    flex-direction: column;
    gap: var(--space-8);
    padding-block: var(--space-10);
  }
}

.p-footer__brand {
  flex: 0 0 auto;
  width: calc(240 * var(--to-rem));
}
@media screen and (max-width: 767px) {
  .p-footer__brand {
    width: 100%;
  }
}

.p-footer__tagline {
  margin-block-start: var(--space-3);
  font-size: calc(14 * var(--to-rem));
  line-height: 1.7;
  color: #5f5a56;
}

.p-footer__nav {
  display: flex;
  flex: 1;
  gap: var(--space-6);
  justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .p-footer__nav {
    flex-wrap: wrap;
    gap: var(--space-6) var(--space-8);
    justify-content: flex-start;
  }
}

.p-footer__head {
  font-size: calc(14 * var(--to-rem));
  font-weight: var(--fw-bold);
  color: #1a2b4a;
}

.p-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-block-start: var(--space-3);
  list-style: none;
}

.p-footer__links li {
  font-size: calc(14 * var(--to-rem));
  line-height: 1.6;
  color: var(--c-footer-link);
}

.p-footer__links a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--duration);
}

@media (any-hover: hover) {
  .p-footer__links a:hover {
    opacity: 0.6;
  }
}
.p-footer__copy {
  flex: 0 0 100%;
  margin-block-start: var(--space-6);
  font-size: calc(13 * var(--to-rem));
  color: #8a807a;
  text-align: center;
}

.p-footer__coral {
  right: calc(24 * var(--to-rem));
  bottom: calc(24 * var(--to-rem));
  width: calc(60 * var(--to-rem));
  height: calc(74 * var(--to-rem));
}
@media screen and (max-width: 767px) {
  .p-footer__coral {
    display: none;
  }
}

.p-header {
  height: var(--header-height);
  background-color: #fefefe;
  box-shadow: 0 calc(1 * var(--to-rem)) calc(14 * var(--to-rem)) oklch(from var(--color-black) l c h/6%);
}

.p-header__inner {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  height: inherit;
}

.p-header__logo {
  flex: 0 0 auto;
}

.p-header__nav {
  flex: 1;
}
@media screen and (max-width: 767px) {
  .p-header__nav {
    display: none;
  }
}

.p-header__nav-list {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  justify-content: flex-end;
}

.p-header__nav-item a {
  font-size: calc(14 * var(--to-rem));
  font-weight: var(--fw-medium);
  line-height: 1;
  color: #1a2b4a;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: opacity var(--duration);
}

@media (any-hover: hover) {
  .p-header__nav-item a:hover {
    opacity: 0.6;
  }
}
.p-header__cta {
  flex: 0 0 auto;
}

@media screen and (max-width: 767px) {
  .p-header__cta--pc {
    display: none;
  }
}

/* ===== ハンバーガー（SP のみ） ===== */
.p-header__hamburger {
  position: relative;
  z-index: 1000;
  display: none;
  flex: 0 0 auto;
  width: calc(44 * var(--to-rem));
  height: calc(44 * var(--to-rem));
  margin-inline-start: auto;
  cursor: pointer;
  background-color: transparent;
  border: none;
}
@media screen and (max-width: 767px) {
  .p-header__hamburger {
    display: block;
  }
}

.p-header__hamburger span {
  position: absolute;
  left: 50%;
  display: block;
  width: calc(26 * var(--to-rem));
  height: calc(2 * var(--to-rem));
  background-color: var(--c-navy);
  transition: top var(--duration), opacity var(--duration), rotate var(--duration);
  translate: -50% 0;
}
.p-header__hamburger span:nth-of-type(1) {
  top: calc(15 * var(--to-rem));
}
.p-header__hamburger span:nth-of-type(2) {
  top: calc(22 * var(--to-rem));
}
.p-header__hamburger span:nth-of-type(3) {
  top: calc(29 * var(--to-rem));
}

.p-header__hamburger.is-open span:nth-of-type(1) {
  top: calc(22 * var(--to-rem));
  rotate: 45deg;
}
.p-header__hamburger.is-open span:nth-of-type(2) {
  opacity: 0;
}
.p-header__hamburger.is-open span:nth-of-type(3) {
  top: calc(22 * var(--to-rem));
  rotate: -45deg;
}

/* ===== ドロワー（SP のみ） ===== */
.p-header__drawer {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 990;
  display: none;
  padding-block: var(--space-5);
  overflow-y: auto;
  background-color: #eff5f8;
}

.p-header__drawer-list {
  display: flex;
  flex-direction: column;
}

.p-header__drawer-item {
  border-block-end: calc(1 * var(--to-rem)) solid var(--color-white);
}

.p-header__drawer-item a:not(.c-line-button) {
  display: block;
  padding: var(--space-4) var(--space-6);
  font-size: calc(16 * var(--to-rem));
  font-weight: var(--fw-bold);
  color: var(--c-navy);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.p-header__drawer-item--cta {
  padding: var(--space-6) var(--space-6) 0;
  border-block-end: none;
}

.p-header__drawer-item--cta a {
  justify-content: center;
}

.p-top-about {
  padding-block: var(--space-12);
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  .p-top-about {
    padding-block: var(--space-10);
  }
}

.p-top-about__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media screen and (max-width: 767px) {
  .p-top-about__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    justify-items: center;
    text-align: center;
  }
}

.p-top-about__portrait {
  position: relative;
  grid-row: 1;
  grid-column: 1;
  inline-size: calc(320 * var(--to-rem));
  aspect-ratio: 3/4;
  overflow: clip;
  border-radius: calc(8 * var(--to-rem));
  box-shadow: 0 calc(8 * var(--to-rem)) calc(22 * var(--to-rem)) rgba(20, 50, 80, 0.16);
}
@media screen and (max-width: 767px) {
  .p-top-about__portrait {
    inline-size: min(320 * var(--to-rem), 70%);
  }
}

.p-top-about__portrait img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
}

.p-top-about__nameplate {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  padding: var(--space-2) var(--space-4);
  color: #fff;
  text-align: start;
  background: linear-gradient(90deg, rgba(20, 58, 96, 0.92), rgba(30, 86, 138, 0.82));
}

.p-top-about__role {
  display: block;
  font-size: calc(12 * var(--to-rem));
  opacity: 0.85;
}

.p-top-about__name {
  display: block;
  font-size: calc(18 * var(--to-rem));
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
}

.p-top-about__name-en {
  display: block;
  font-family: var(--ff-script);
  font-size: calc(14 * var(--to-rem));
  opacity: 0.9;
}

.p-top-about__body {
  grid-row: 1;
  grid-column: 2;
}
@media screen and (max-width: 767px) {
  .p-top-about__body {
    grid-column: 1;
  }
}

.p-top-about__text {
  margin-block-start: var(--space-5);
  font-size: calc(16 * var(--to-rem));
  line-height: 1.9;
  color: #4d5057;
}

.p-top-about__text p + p {
  margin-block-start: var(--space-4);
}

.p-top-about__quote {
  grid-column: 1/-1;
  padding-inline-start: var(--space-5);
  border-inline-start: calc(3 * var(--to-rem)) solid var(--color-primary);
}
@media screen and (max-width: 767px) {
  .p-top-about__quote {
    padding-inline-start: 0;
    text-align: center;
    border-inline-start: none;
  }
}

.p-top-about__quote-text {
  font-family: var(--ff-serif);
  font-size: calc(20 * var(--to-rem));
  font-weight: 600;
  line-height: 1.9;
  color: #22314c;
}

.p-top-about__link {
  display: inline-block;
  margin-block-start: var(--space-5);
  font-size: calc(15 * var(--to-rem));
  font-weight: var(--fw-bold);
  color: #173365;
  text-decoration: none;
}

.p-top-about__coral {
  inset-block-start: calc(-16 * var(--to-rem));
  inset-inline-end: calc(-8 * var(--to-rem));
  rotate: 8deg;
}
@media screen and (max-width: 767px) {
  .p-top-about__coral {
    display: none;
  }
}

.p-top-cta {
  position: relative;
  overflow: clip;
  background: linear-gradient(168deg, #33a9dd 0%, #1f80c3 55%, #1b72b6 100%);
}

.p-top-cta__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--space-13);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-top-cta__inner {
    padding-block: var(--space-11);
  }
}

.p-top-cta__en {
  font-family: var(--ff-script);
  font-size: calc(22 * var(--to-rem));
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
}

.p-top-cta__heading {
  margin-block-start: var(--space-2);
  font-family: var(--ff-serif);
  font-size: calc(32 * var(--to-rem));
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 767px) {
  .p-top-cta__heading {
    font-size: calc(26 * var(--to-rem));
  }
}

.p-top-cta__sub {
  max-width: calc(640 * var(--to-rem));
  margin-block-start: var(--space-4);
  margin-inline: auto;
  font-size: calc(16 * var(--to-rem));
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.p-top-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block-start: var(--space-7);
}

.p-top-cta__tel {
  margin-block-start: var(--space-5);
  font-size: calc(18 * var(--to-rem));
  font-weight: var(--fw-bold);
  color: #fff;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.p-top-cta__tel-ico {
  margin-inline-end: var(--space-2);
  font-size: calc(14 * var(--to-rem));
}

.p-top-cta__plant {
  inset-block-end: 0;
  z-index: 1;
}

.p-top-cta__plant--l {
  inset-inline-start: calc(-4 * var(--to-rem));
  width: calc(150 * var(--to-rem));
  height: calc(130 * var(--to-rem));
}
@media screen and (max-width: 767px) {
  .p-top-cta__plant--l {
    width: calc(110 * var(--to-rem));
    height: calc(96 * var(--to-rem));
  }
}

.p-top-cta__plant--r {
  inset-inline-end: 0;
  width: calc(140 * var(--to-rem));
  height: calc(128 * var(--to-rem));
}
@media screen and (max-width: 767px) {
  .p-top-cta__plant--r {
    display: none;
  }
}

.p-top-fv {
  position: relative;
  display: flex;
  align-items: center;
  min-block-size: calc(600 * var(--to-rem));
  padding-block: var(--space-13);
  overflow: clip;
}
@media screen and (max-width: 767px) {
  .p-top-fv {
    min-block-size: calc(540 * var(--to-rem));
    padding-block: var(--space-11);
  }
}

.p-top-fv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-top-fv__inner {
  position: relative;
  z-index: 1;
}

.p-top-fv__scrim {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: calc(24 * var(--to-rem));
  z-index: 1;
  width: calc(560 * var(--to-rem));
  height: calc(360 * var(--to-rem));
  pointer-events: none;
  background: radial-gradient(ellipse 62% 55% at 40% 46%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.4) 46%, rgba(255, 255, 255, 0) 76%);
  filter: blur(calc(6 * var(--to-rem)));
  translate: 0 -50%;
}
@media screen and (max-width: 767px) {
  .p-top-fv__scrim {
    inset-inline-start: calc(-24 * var(--to-rem));
    width: calc(420 * var(--to-rem));
    height: calc(320 * var(--to-rem));
    background: radial-gradient(ellipse 74% 62% at 44% 42%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 82%);
  }
}

.p-top-fv__content {
  position: relative;
  z-index: 2;
  max-width: calc(640 * var(--to-rem));
}

.p-top-fv__title {
  font-family: var(--ff-serif);
  font-size: calc(40 * var(--to-rem));
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-navy-title);
  letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
  .p-top-fv__title {
    font-size: calc(28 * var(--to-rem));
  }
}

.p-top-fv__lead {
  margin-block-start: var(--space-5);
  font-size: calc(16 * var(--to-rem));
  font-weight: var(--fw-medium);
  line-height: 1.9;
  color: #10395f;
}

.p-top-fv__actions {
  display: flex;
  gap: var(--space-4);
  margin-block-start: var(--space-7);
}
@media screen and (max-width: 767px) {
  .p-top-fv__actions {
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
  }
}

.p-top-news {
  padding-block: var(--space-12);
  background-color: #f5f9fd;
}
@media screen and (max-width: 767px) {
  .p-top-news {
    padding-block: var(--space-10);
  }
}

.p-top-news__inner {
  position: relative;
}

.p-top-news__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-block-start: var(--space-7);
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-top-news__cards {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-block-start: var(--space-6);
  }
}

.p-top-news__more {
  display: flex;
  justify-content: center;
  margin-block-start: var(--space-7);
}

.p-top-service {
  padding-block: var(--space-12);
  background-color: #fefefe;
}
@media screen and (max-width: 767px) {
  .p-top-service {
    padding-block: var(--space-10);
  }
}

.p-top-service__inner {
  position: relative;
}

.p-top-service__lead {
  max-width: calc(640 * var(--to-rem));
  margin-block-start: var(--space-4);
  font-size: calc(16 * var(--to-rem));
  line-height: 1.9;
  color: var(--c-body-gray);
}
@media screen and (max-width: 767px) {
  .p-top-service__lead {
    max-width: none;
  }
}

.p-top-service__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
  margin-block-start: var(--space-7);
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-top-service__cards {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-block-start: var(--space-6);
  }
}

.p-top-service__hibiscus {
  inset-block-start: calc(-8 * var(--to-rem));
  inset-inline-end: calc(24 * var(--to-rem));
}
@media screen and (max-width: 767px) {
  .p-top-service__hibiscus {
    display: none;
  }
}

.p-top-service__island {
  inset-block-end: calc(-16 * var(--to-rem));
  inset-inline-start: calc(-8 * var(--to-rem));
}
@media screen and (max-width: 767px) {
  .p-top-service__island {
    display: none;
  }
}

.p-top-works {
  padding-block: var(--space-12);
  background: linear-gradient(180deg, #f4fbfd 0%, #ebf6fa 100%);
}
@media screen and (max-width: 767px) {
  .p-top-works {
    padding-block: var(--space-10);
  }
}

.p-top-works__inner {
  position: relative;
}

.p-top-works__lead {
  margin-block-start: var(--space-4);
  font-size: calc(16 * var(--to-rem));
  line-height: 1.9;
  color: #566472;
}

.p-top-works__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-block-start: var(--space-7);
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-top-works__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    margin-block-start: var(--space-6);
  }
}

.p-top-works__more {
  display: flex;
  justify-content: center;
  margin-block-start: var(--space-7);
}

.p-top-works__coral {
  inset-block-start: calc(-16 * var(--to-rem));
  inset-inline-start: calc(-8 * var(--to-rem));
  scale: 1.1;
}
@media screen and (max-width: 767px) {
  .p-top-works__coral {
    display: none;
  }
}

:root {
  --clip-triangle-top: polygon(50% 0, 100% 100%, 0 100%);
  --clip-triangle-bottom: polygon(0 0, 100% 0, 50% 100%);
  --clip-triangle-right: polygon(0 0, 100% 50%, 0 100%);
  --clip-triangle-left: polygon(0 50%, 100% 0, 100% 100%);
  --clip-triangle-lower-left: polygon(0 0, 100% 100%, 0 100%);
  --clip-triangle-upper-left: polygon(0 0, 100% 0, 0 100%);
  --clip-triangle-lower-right: polygon(100% 0, 100% 100%, 0 100%);
  --clip-triangle-upper-right: polygon(0 0, 100% 0, 100% 100%);
}

@media (width <= 767px) {
  [data-only-device=md] {
    display: none;
  }
}

@media (width >= 768px) {
  [data-only-device=sm] {
    display: none;
  }
}

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  white-space: nowrap;
  border: 0;
}

.u-text__marker {
  background: linear-gradient(transparent 75%, var(--color-orange) 75%);
}

.u-text__inline-block {
  display: inline-block;
}

.u-text__indent {
  padding-inline-start: 1em;
  text-indent: -1em;
}