@charset "UTF-8";
/*!
 * ress.css • v4.0.0
 * MIT License
 * github.com/filipelinhares/ress
 */
/* # =================================================================
   # Global selectors
   # ================================================================= */

   body {
     background-color: #000; /* 背景色を黒に設定 */
    color: #fff; /
   }


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

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

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

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


/* アニメーション対象の初期状態 */
.fade-in {
  opacity: 0;
  transform: translateY(30px); /* 少し下に配置 */
  transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

/* 画面内に入ったときの状態 */
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* # =================================================================
     # General elements
     # ================================================================= */
hr {
  height: 0;
  /* Add the correct box sizing in Firefox */
  overflow: visible;
  /* Show the overflow in Edge and IE */
  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] {
  /* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  border-bottom: none;
  /* Remove the bottom border in Chrome 57 */
}

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 {
  text-indent: 0;
  /* Remove text indentation in Chrome, Edge, and Safari */
  border-color: inherit;
  /* Correct border color in all Chrome, Edge, and Safari. */
}

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

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

[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] {
  outline-offset: -2px;
  /* Correct the outline style in Safari */
  -webkit-appearance: textfield;
  /* Correct the odd appearance in Chrome and Safari */
}

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

textarea {
  overflow: auto;
  /* Internet Explorer 11+ */
  resize: vertical;
  /* Specify textarea resizability */
}

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] {
  color: inherit;
  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] {
  -webkit-appearance: button;
  /* Correct the inability to style clickable types in iOS */
}

/* Remove the default button styling in all browsers */
button,
input,
select,
textarea {
  border-style: none;
  background-color: transparent;
}

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

/* Style select like a standard input */
select {
  -webkit-appearance: none;
  /* Chrome 41+ */
  -moz-appearance: none;
  /* Firefox 36+ */
}

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

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

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

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

/* # =================================================================
     # 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;
}

html {
  font-size: 100%;
}

body {
  font-family: "Montserrat", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  color: #333;
  letter-spacing: 0.05em;
  font-size: 15px;
  font-size: 0.9375rem;
}
@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
    font-size: 0.875rem;
  }
}

a {
  transition: 0.3s;
  text-decoration: none;
  color: #391e88;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 250px;
  vertical-align: bottom;
}

::-moz-selection {
  color: #fff;
  background-color: #391e88;
}

::selection {
  color: #fff;
  background-color: #391e88;
}

.video {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@-webkit-keyframes scrollDownLine {
  0% {
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
  50% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
  50.1% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
  }
  100% {
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
  }
}
@keyframes scrollDownLine {
  0% {
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
  50% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
  50.1% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
  }
  100% {
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
  }
}
.l-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.l-header {
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px; /* 標準の高さを86pxから100pxに変更 */
  padding: 0 30px;
  transition: all 0.3s;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .l-header {
    height: 80px; /* スマートフォン表示時の高さを64pxから80pxに変更 */
    padding: 0 15px;
  }
}
.l-header.is-active {
  height: 80px; /* スクロール時の高さを64pxから80pxに変更 */
  background-color: #000000;
}
@media screen and (max-width: 768px) {
  .l-header__logo {
    width: 120px;
  }
}

.l-footer {
  padding: 60px 30px;
  background-color: #120e19;
}

.l-footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .l-footer-nav__list {
    justify-content: flex-start;
    margin-bottom: -10px;
  }
}
.l-footer-nav__item {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e9e1d1;
  font-size: 12px;
  font-size: 0.75rem;
}
@media screen and (max-width: 768px) {
  .l-footer-nav__item {
    margin-bottom: 10px;
  }
}
.l-footer-nav__item:not(:last-child) {
  margin-right: 10px;
}
.l-footer-nav__link {
  line-height: 1;
  padding: 5px;
  color: #fff;
}
.l-footer-nav__link:hover {
  text-decoration: none;
  opacity: 0.8;
}

.c-copyright {
  margin-top: 30px;
  text-align: center;
  font-size: 10px;
  font-size: 0.625rem;
  color: #fff;
  font-weight: 700;
}
.c-copyright__link {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}
.c-copyright__link:hover {
  text-decoration: none;
  opacity: 0.8;
}

.l-contents--page-recruit {
  background-image: url(img/bg-geometry.png);
  /* Background pattern from Toptal Subtle Patterns */
  background-repeat: repeat;
  
}
@media screen and (max-width: 768px) {
  .l-contents--page-recruit {
    background-size: 50%;
  }
}

.l-section {
  padding: 70px 0;
  background-color:#100f0f;
}
    margin: 0 50px 0 0px;
@media screen and (max-width: 768px) {
  .l-section {
    padding: 40px 0;
  }
}

.c-heading-primary {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 2.00rem;
  margin: 0 10px 0 0px;
  color:#ffffff;
  
}

.c-heading-primary01 {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 2.00rem;
  margin: 0 20px 0 0px;
  color:#000000;
  
}






@media screen and (max-width: 768px) {
  .c-heading-primary {
    font-size: 30px;
    font-size: 1.875rem;
  
  }
}
.c-heading-primary--white {
  color: #fff;
  
}

.c-heading-primary__sub {
  display: block;
  text-
  margin-top: 5px;
  letter-spacing: 0.05em;
  font-size: 13px;
  font-size: 0.8125rem;
  color: #ffffff;

}

.c-heading-secondary {
  font-weight: bold;
  line-height: 1;
  color: #564d70;
  font-size: 32px;
  font-size: 2rem;
}
@media screen and (max-width: 768px) {
  .c-heading-secondary {
    font-size: 24px;
    font-size: 1.5rem;
  }
}

/* === ボタン共通スタイル変更 === */
.c-btn {
  /* --- 既存のスタイル（色は例です。元の指定に合わせてください） --- */
  display: inline-block; /* skew適用のため */
  padding: 0.8em 2.5em; /* パディングは微調整が必要な場合があります */
  background: linear-gradient(to right, #0b0b10 0%, #1c1c24 25%, #5c5c66 50%, #b08a30 75%, #7a5a1f 100%); /* ゴールドグラデ */
  color: #fff;           /* 例: 元の文字色 */
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* transformとbox-shadowもトランジション対象に */
  text-align: center;
  position: relative; /* 必要に応じて */
  overflow: hidden; /* 必要に応じて */

  /* --- 斜めにするスタイルを追加 --- */
  transform: skewX(-15deg); /* 傾ける角度（例: -15度） */
}

/* ボタン内のテキスト要素などの傾きを元に戻す */
/* ボタンの直接の子要素が span や a の場合を想定 */
.c-btn > *,
.c-btn a > * { /* ボタンがaタグで、その中にspanなどがある場合も考慮 */
  display: inline-block; /* skew適用のため */
  transform: skewX(15deg); /* ボタンと逆の角度で傾きを戻す */
  position: relative; /* 必要に応じて */
  z-index: 1; /* 必要に応じて */
}

/* ホバー時のスタイル */
.c-btn:hover {
  background: linear-gradient(to right, #121219 0%, #252533 25%, #787884 50%, #c9a248 75%, #8e6724 100%); /* ゴールドグラデ（ホバー） */
  /* --- ホバー時の追加効果（任意） --- */
  transform: skewX(-15deg) translateY(-3px); /* 少し上に移動 */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* 影を少し濃く */
}

/* ニュース欄専用: グラデ廃止・白背景・斜め解除 */
.c-btn--news-white {
  background: #ffffff !important;
  color: #ffffff !important; /* ボタンの基準色は白（背景との関係） */
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
  transform: skewX(-15deg) translateX(5px) !important; /* 斜めのまま右へ移動 */
}
.c-btn--news-white > *,
.c-btn--news-white a > * {
  transform: skewX(15deg) !important; /* 子要素は逆傾きで文字を垂直に戻す */
  color: #000000 !important; /* ボタン内の文字は黒に */
  text-shadow: none !important;
}
.c-btn--news-white:hover,
.c-btn--news-white:focus {
  background: #fafafa !important; /* ホバー時は薄いグレー */
  transform: skewX(-15deg) translateX(5px) translateY(-3px) !important; /* 傾き＋右移動＋上移動 */
  box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}

/* --- 特定のボタンを除外する場合（例: ページトップボタン） --- */
/* ページトップボタンのリンク自体に skew を適用しない */
.c-page-top__link {
  /* 必要であればここにスタイルを追加 */
}
/* ページトップボタンのアイコンには skew を適用しない */
.c-page-top__link .c-page-top__icon {
   transform: none !important; /* skewXを強制的に解除 */
}
/* ページトップボタンのホバー効果も調整 */
.c-page-top__link:hover {
  transform: none; /* skewXを解除 */
  box-shadow: none; /* 影を解除 */
  /* 元のホバー効果があればここに追加 */
}

/* --- ハンバーガーメニューボタンは対象外にする --- */
.c-btn-menu {
  transform: none !important; /* skewXを強制的に解除 */
}
.c-btn-menu:hover {
  transform: none !important; /* skewXを強制的に解除 */
  /* 元のホバー効果があればここに追加 */
}
.c-btn-menu__line {
  transform: none !important; /* skewXを強制的に解除 */
}

.c-page-top {
  position: fixed;
  right: 45px;
  bottom: 45px;
  z-index: 100;
  display: none; /* JSでスクロール時に表示 */
}

.c-page-top__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  color: #391e88; /* アイコンの色に反映される */
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.c-page-top__link:hover {
  background-color: #391e88;
  color: #ffffff;
}

.c-page-top__icon {
  width: 24px;
  height: 24px;
}
@media screen and (max-width: 768px) {
  .c-page-top {
    right: 20px;
    bottom: 20px;
  }
}
.c-page-top__link {
  display: block;
  width: 50px;
  height: 50px;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  color: #391e88;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  border-radius: 50%;
}
.c-page-top__link:hover {
  opacity: 0.8;
}
@media screen and (max-width: 768px) {
  .c-page-top__link:hover {
    opacity: 1;
  }
}

.c-label-category {
  font-weight: bold;
  display: block;
  width: 80px;
  padding: 2px 10px;
  text-align: center;
  color: #333;
  border-radius: 20px;
  background-color: #e8e8e8;
  font-size: 12px;
  font-size: 0.75rem;
}
@media screen and (max-width: 768px) {
  .c-label-category {
    padding: 2px 8px;
    font-size: 11px;
    font-size: 0.6875rem;
  }
}

.logo {
  line-height: 1;
}
.logo__img {
  display: block;
}

.c-media {
  display: flex;
}
@media screen and (max-width: 768px) {
  .c-media {
    display: block;
  }
}
.c-media__img-wrapper {
  flex: 0 1 40%;
  margin-right: 50px;
}
@media screen and (max-width: 768px) {
  .c-media__img-wrapper {
    margin-right: 0;
    margin-bottom: 20px;
  }
}
.c-media__img {
  width: 100%;
  height: auto;
}
.c-media__body {
  flex: 1;
}
.c-media__title {
  margin-bottom: 20px;
  font-size: 24px;
  font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
  .c-media__title {
    line-height: 1.2;
    margin-bottom: 15px;
    text-align: center;
    font-size: 18px;
    font-size: 1.125rem;
  }
}









.c-table01 {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}
.c-table01 tr {
  border-bottom: solid 1px #ddd;
}
.c-table01 th,
.c-table01 td {
  padding: 30px 10px;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .c-table01 th,
.c-table01 td {
    display: block;
    padding: 0;
  }
}
.c-table01 th {
  width: 20%;
}
@media screen and (max-width: 768px) {
  .c-table01 th {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 5px;
  }
}
@media screen and (max-width: 768px) {
  .c-table01 td {
    margin-bottom: 20px;
  }
}
.c-table01 p:not(:last-child) {
  margin-bottom: 10px;
}
.c-table01 ul {
  margin-left: 20px;
}

.c-form__item:not(:last-child) {
  margin-bottom: 30px;
}
.c-form__title {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
.c-form__note {
  font-weight: normal;
  margin-left: 5px;
  font-size: 12px;
  font-size: 0.75rem;
}
.c-form__require {
  margin-left: 10px;
  color: #391e88;
  font-size: 12px;
  font-size: 0.75rem;
}
@media screen and (max-width: 768px) {
  .c-form__radio {
    display: block;
  }
}
.c-form__radio:not(:last-child) {
  margin-right: 35px;
}
@media screen and (max-width: 768px) {
  .c-form__radio:not(:last-child) {
    margin-right: 0;
    margin-bottom: 5px;
  }
}
.c-form input[type=radio] {
  margin-right: 5px;
  border: 1px solid #333;
  border-radius: 50%;
}
.c-form__input, .c-form__select {
  width: 300px;
  padding: 8px;
  border: solid 1px #aaa;
  border-radius: 5px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .c-form__input, .c-form__select {
    width: 100%;
  }
}
.c-form input[type=tel] {
  width: 200px;
}
@media screen and (max-width: 768px) {
  .c-form input[type=tel] {
    width: 100%;
  }
}
.c-form__textarea {
  min-width: 600px;
  min-height: 200px;
  padding: 8px;
  resize: both;
  border: solid 1px #aaa;
  border-radius: 5px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .c-form__textarea {
    width: 100%;
    min-width: 100%;
  }
}
.c-form__btn {
  margin-top: 50px;
  text-align: center;
}

.p-breadcrumb {
  position: sticky;
  top: 64px;
  z-index: 1;
  padding: 8px 0;
  list-style: none;
  background-color: #f0f0f0;
}
@media screen and (max-width: 768px) {
  .p-breadcrumb {
    padding: 5px 0;
  }
}
.p-breadcrumb__list {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.p-breadcrumb__item {
  display: inline;
  list-style: none;
  text-transform: uppercase;
  font-size: 12px;
  font-size: 0.75rem;
}
@media screen and (max-width: 768px) {
  .p-breadcrumb__item {
    font-size: 11px;
    font-size: 0.6875rem;
  }
}
.p-breadcrumb__item::after {
  padding: 0 0.5em;
  content: ">";
  color: #555;
}
.p-breadcrumb__item:last-child:after {
  content: "";
}

.p-breadcrumb:before,
.p-breadcrumb:after {
  content: "";
  display: table;
}

@media screen and (max-width: 768px) {
  .p-global-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    opacity: 0;
    background-image: linear-gradient(135deg, #000, #111);
  }
  .p-global-nav.is-show {
    visibility: visible;
    opacity: 1;
  }
}
.p-global-nav__list {
  display: flex;
  padding-left: 30px;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .p-global-nav__list {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 0;
  }
}
.p-global-nav__item {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  font-size: 0.875rem;
}
@media screen and (max-width: 960px) {
  .p-global-nav__item {
    font-size: 12px;
    font-size: 0.75rem;
  }
}
@media screen and (max-width: 768px) {
  .p-global-nav__item {
    margin-bottom: 20px;
    font-size: 16px;
    font-size: 1rem;
  }
}
.p-global-nav__item:not(:last-child) {
  margin-right: 25px;
}
@media screen and (max-width: 768px) {
  .p-global-nav__item:not(:last-child) {
    margin-right: 0;
  }
}
.p-global-nav__link {
  position: relative;
  display: inline-block;
  color: #fff;
}
.p-global-nav__link::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  display: block;
  width: 0;
  height: 1px;
  content: "";
  transition: width 0.3s;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .p-global-nav__link::after {
    display: none;
  }
}
.p-global-nav__link:hover {
  text-decoration: none;
}
.p-global-nav__link:hover::after {
  width: 100%;
}

.c-btn-menu {
  display: none;
}
@media screen and (max-width: 768px) {
  .c-btn-menu {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 5px;
    cursor: pointer;
    text-align: center;
    opacity: 0.9;
    border: none;
    outline: none;
    background: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 12px;
    font-size: 0.75rem;
  }
}
.c-btn-menu__line {
  position: relative;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  transition: all 0.4s;
  border-radius: 4px;
  background-color: #fff;
}
.c-btn-menu__line::before, .c-btn-menu__line::after {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  transition: inherit;
  border-radius: 4px;
  background-color: inherit;
}
.c-btn-menu__line::before {
  top: -8px;
}
.c-btn-menu__line::after {
  top: 8px;
}
.c-btn-menu.is-active .c-btn-menu__line {
  background-color: transparent;
}
.c-btn-menu.is-active .c-btn-menu__line::before, .c-btn-menu.is-active .c-btn-menu__line::after {
  top: 0;
  background-color: #fff;
}
.c-btn-menu.is-active .c-btn-menu__line::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.c-btn-menu.is-active .c-btn-menu__line::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.swiper-container {
  padding-bottom: 30px;
  width: 100%;

}

.swiper-button-next::after,
.swiper-button-prev::after {
  position: absolute;
  top: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: block;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #bcb3d6;
  font-size: 32px;
  font-size: 2rem;
}

.swiper-button-next::after {
  content: "\f105";
}

.swiper-button-prev::after {
  content: "\f104";
}

.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0;
  text-align: right;
}

.swiper-pagination-bullet-active {
  background: #ffffff;
}

.p-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.p-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  animation: heroFade 35s infinite ease-in-out;
  z-index: 0;
}

.p-hero__bg.bg1 { background-image: url(img/top.jpg), url(img/top.png); animation-delay: 0s; }
.p-hero__bg.bg2 { background-image: url(img/main02.jpg), url(img/main02.png); animation-delay: 7s; }
.p-hero__bg.bg3 { background-image: url(img/grace03.jpg), url(img/grace03.png); animation-delay: 14s; }
.p-hero__bg.bg4 { background-image: url(img/grace04.jpg), url(img/grace04.png); animation-delay: 21s; }
.p-hero__bg.bg5 { background-image: url(img/grace05.jpg), url(img/grace05.PNG); animation-delay: 28s; }
.p-hero__bg.bg6 { background-image: url(img/lm.jpg), url(img/lm.png); animation-delay: 34s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}

/* テキストのスタイル（前面に出す） */
.p-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* ← 縦方向の中央配置！ */
  height: 100%;
  padding: 0 30px;
  text-align: center;
  color: #fff;
}

.p-hero__title {
  font-size: 3rem;
  font-weight: bold;
  animation: fadeInUp 1.5s ease-out forwards;
  opacity: 0;
}

.p-hero__title--initial {
  color: #8B0000; /* 濃い赤 */
}

.p-hero__subtitle {
  margin-top: 20px;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  animation: fadeInUp 2s ease-out 0.5s forwards;
  opacity: 0;
}

/* テキストフェードイン用アニメーション */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .p-hero {
    height: 70vh;
  }

  .p-hero__title {
    font-size: 2rem;
  }

  .p-hero__subtitle {
    font-size: 1rem;
  }
}


.p-hero__scroll {
  z-index: 2; /* ← 背景より上に表示 */
  position: absolute;
  right: 20px;
  bottom: 0;
  color: #fff;
  padding: 10px 10px 90px;
  letter-spacing: 0.2em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  writing-mode: vertical-lr;
  font-size: 0.75rem;
}

.p-hero__scroll::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  background: #fff;
  animation: scrollDownLine 1.5s infinite;
}

@media screen and (max-width: 768px) {
  .p-hero__scroll {
    right: 5px;
    padding: 10px 10px 60px;
  }
  .p-hero__scroll::after {
    height: 50px;
  }
}

.p-message {
  margin-bottom: 30px;
  text-align: center;
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-size: cover, cover;
}
.p-message__heading {
  font-weight: bold;
  line-height: 1;
  display: inline-block;
  margin-bottom: 40px;
  font-size: 40px;
  font-size: 2.5rem;
}
@media screen and (max-width: 768px) {
  .p-message__heading {
    line-height: 1.5;
    font-size: 32px;
    font-size: 2rem;
  }
}
.p-message__underline {
  background: linear-gradient(transparent 70%, #f5f534 0%);
}

.p-contact {
  padding: 80px 0;
  text-align: center;
  background-color: #000000;
}
@media screen and (max-width: 768px) {
  .p-contact {
    padding: 60px 0;
  }
}
.p-contact__heading {
  margin-bottom: 30px;
}
.p-contact__body {
  margin-bottom: 20px;
}

.p-news-list__list {
  list-style: none;
}
.p-news-list__item {
  display: flex;
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .p-news-list__item {
    display: block;
  }
}
.p-news-list__item:not(:last-child) {
  margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
  .p-news-list__item:not(:last-child) {
    margin-bottom: 30px;
  }
}
.p-news-list__heading {
  display: flex;
}
@media screen and (max-width: 768px) {
  .p-news-list__heading {
    justify-content: center; /* 日付とカテゴリラベルも中央揃えにする場合 */
  }
}
@media screen and (max-width: 768px) {
  .p-news-list__heading {
    margin-bottom: 3px;
  }
}
.p-news-list__body {
  flex: 1;
}
@media screen and (max-width: 768px) {
  .p-news-list__body {
    text-align: center; /* スマホ表示時にお知らせ本文を中央揃えにする */
  }
}
.p-news-list__link {
  color: #fff4f4;
}
.p-news-list__date {
  margin-right: 20px;
}
.p-news-list__label {
  margin-right: 20px;
}

.p-news-list-wrapper__inner {
  max-width: 780px;
}
.p-news-list-wrapper__body {
  margin-bottom: 40px;
}

.article-wrapper__inner {
  max-width: 750px;
}

.p-post {
  background-color: #fff;
}
.p-post__head {
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .p-post__head {
    margin-bottom: 20px;
  }
}
.p-post__title {
  line-height: 1.5;
  font-size: 32px;
  font-size: 2rem;
}
@media screen and (max-width: 768px) {
  .p-post__title {
    font-size: 22px;
    font-size: 1.375rem;
  }
}
.p-post__info {
  display: flex;
  margin-top: 10px;
}
.p-post__date {
  margin-right: 10px;
  font-size: 13px;
  font-size: 0.8125rem;
}
.p-post__body {
  margin-bottom: 40px;
}
.p-post__body > h3 {
  position: relative;
  line-height: 1.6;
  font-weight: bold;
  color: #393636;
  margin-top: 60px;
  margin-bottom: 20px;
  padding-left: 20px;
  font-size: 24px;
  font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
  .p-post__body > h3 {
    margin-top: 40px;
    font-size: 18px;
    font-size: 1.125rem;
  }
}
.p-post__body > h3::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 6px;
  height: 100%;
  border-radius: 3px;
  background-color: #391e88;
}
.p-post__body > h3:first-child {
  margin-top: 0;
}
.p-post__body > h4 {
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 18px;
  font-size: 1.125rem;
}
@media screen and (max-width: 768px) {
  .p-post__body > h4 {
    font-size: 17px;
    font-size: 1.0625rem;
  }
}
.p-post__body > p {
  margin-bottom: 30px;
  font-size: 16px;
  font-size: 1rem;
}
@media screen and (max-width: 768px) {
  .p-post__body > p {
    font-size: 15px;
    font-size: 0.9375rem;
  }
}
.p-post__body > p:last-child {
  margin-bottom: 0;
}
.p-post__sns {
  margin-bottom: 40px;
}
.p-post__pager__home {
  text-align: center;
}

.p-sns-share__item {
  display: inline-block;
  vertical-align: bottom;
  margin-top: 5px;
  margin-right: 2px;
}
.p-sns-share__item:last-child {
  margin-right: 0;
}
.p-sns-share iframe {
  vertical-align: middle;
}

.fa-hatena::before {
  font-family: Verdana;
  font-weight: bold;
  content: "B!";
  letter-spacing: -0.05em;
}

.p-post-pager {
  margin-bottom: 20px;
}
.p-post-pager__list {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #b8aed5;
  border-bottom: 1px solid #b8aed5;
}
.p-post-pager__item {
  flex: 0 1 50%;
  margin: 15px 0;
}
.p-post-pager__item:not(:last-child) {
  border-right: 1px solid #b8aed5;
}
.p-post-pager__item--prev .post-pager__link {
  padding: 10px 20px 10px 40px;
}
.p-post-pager__item--prev .post-pager__link::before {
  left: 10px;
  content: "\f0d9";
}
.p-post-pager__item--next .post-pager__link {
  padding: 10px 40px 10px 20px;
}
.p-post-pager__item--next .post-pager__link::before {
  right: 10px;
  content: "\f0da";
}
.p-post-pager__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 10px 20px;
  text-decoration: none;
  color: #391e88;
  font-size: 14px;
  font-size: 0.875rem;
}
@media screen and (max-width: 768px) {
  .p-post-pager__link {
    font-size: 12px;
    font-size: 0.75rem;
  }
}
.p-post-pager__link:hover {
  text-decoration: none;
  background-color: #f9f7ff;
}
.p-post-pager__link::before {
  position: absolute;
  top: 50%;
  font-family: "Font Awesome 5 Free";
  font-size: 1.4rem;
  font-weight: 900;
  display: block;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #391e88;
}
.p-post-pager__home {
  text-align: center;
  text-transform: uppercase;
}

.pagination {
  display: flex;
  justify-content: center;
}
.pagination__page {
  font-weight: bold;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: #f1ebf8;
  font-size: 20px;
  font-size: 1.25rem;
}
.pagination__link {
  color: #fff;
  background-image: linear-gradient(135deg, #7633a4, #250d65);
}
.pagination__link:hover {
  text-decoration: none;
  opacity: 0.9;
}

.p-pagination {
  display: flex;
  justify-content: center;
}
.p-pagination__page {
  font-weight: bold;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: #f1ebf8;
  font-size: 20px;
  font-size: 1.25rem;
}
.p-pagination__link {
  color: #fff;
  background-image: linear-gradient(135deg, #7633a4, #250d65);
}
.p-pagination__link:hover {
  text-decoration: none;
  opacity: 0.9;
}

.p-news__inner {
  display: flex;
  max-width: 950px;
}
@media screen and (max-width: 768px) {
  .p-news__inner {
    display: block;
  }
}
.p-news__heading {
  margin-right: 50px;
}
@media screen and (max-width: 768px) {
  .p-news__heading {
    margin-right: 0;
    margin-bottom: 30px;
    text-align: center;
    
  }
}
.p-news__body {
  flex: 1;
  color: #ffffff;
}

.p-service__heading {
  text-align: center;
  margin-bottom: 100px;
}
.p-service__body {
  margin-bottom: 30px;
}
.p-service__link {
  text-align: center;
}

/* 全体のスタイル変更 */


.p-works--full {
  position: relative;
  width: 100vw;
  margin: 0;
  padding: 100px 0;
  overflow: hidden;
  z-index: 0;
}

/* 背景画像と暗さのフィルターをつける */
.p-works--full::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/ceo.jpg');  /* ←お好きな画像に変更 */
  background-size: cover;
  background-position: center;
  filter: brightness(50%) contrast(110%);
  z-index: 1;
}

/* サイドの斜め背景 */
.p-works__side-bg {
  position: absolute;
  top: 0;
  width: 8vw;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, #180030, #100020);
}

.p-works__side-bg.left {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%);
}

.p-works__side-bg.right {
  right: 0;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
}

/* コンテンツ中央 */
.p-works__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.p-works__desc {
  max-width: 800px;
  color: #fff;
  text-align: center;
}

.p-works__text p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}



.p-company {
  text-align: center;
  padding: 0;
}
.p-company__inner {
  padding: 100px 0;
  max-width: 1300px;
  background-image: url(img/bg-circle.png), url(img/bg-face.png);
  background-position: center center, center center;
  background-size: contain;
}
@media screen and (max-width: 768px) {
  .p-company__inner {
    padding: 60px 0;
    background-image: url(img/sp_bg-circle.png);
    background-position: center center;
    background-size: 375px;
  }
}
.p-company__heading {
  margin-bottom: 30px;
}
.p-company__body {
  margin-bottom: 30px;
}

.p-recruit-message {
  text-align: center;
}
.p-recruit-message__heading {
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 0 15px;
  color: #391e88;
}
@media screen and (max-width: 768px) {
  .p-recruit-message__heading {
    margin: 20px 0;
  }
}
.p-recruit-message__title {
  line-height: 1;
  margin-bottom: 10px;
  font-size: 72px;
  font-size: 4.5rem;
}
@media screen and (max-width: 768px) {
  .p-recruit-message__title {
    line-height: 1.2;
    font-size: 48px;
    font-size: 3rem;
  }
}
.p-recruit-message__subtitle {
  font-size: 32px;
  font-size: 2rem;
}
@media screen and (max-width: 768px) {
  .p-recruit-message__subtitle {
    font-size: 18px;
    font-size: 1.125rem;
  }
}
.p-recruit-message__body {
  margin-bottom: 40px;
  font-size: 16px;
  font-size: 1rem;
}
@media screen and (max-width: 768px) {
  .p-recruit-message__body {
    font-size: 15px;
    font-size: 0.9375rem;
  }
}
.p-recruit-message__img-wrapper img {
  -webkit-clip-path: polygon(0 15%, 100% 0, 100% 85%, 0% 100%);
  clip-path: polygon(0 15%, 100% 0, 100% 85%, 0% 100%);
}

@media screen and (max-width: 768px) {
  .p-recruit {
    padding: 0;
  }
}
.p-recruit__inner {
  display: flex;
}
@media screen and (max-width: 768px) {
  .p-recruit__inner {
    flex-direction: column-reverse;
  }
}
.p-recruit__desc {
  
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  color: #ffffff;

  padding: 70px 40px;
 
}
.p-recruit__heading {

  text-align: center;
}
.p-recruit__img-wrapper {
  width: 50%;
  background-image: url(img/top.jpg), url(img/top.png);
  background-position: center center;
  background-size: cover;
  margin: 0  80px 0 0px;
}
@media screen and (max-width: 768px) {
  .p-recruit__img-wrapper {
    width: 100%;
    height: 200px;
    margin-top: 50px; 
  }
}
.p-recruit__body {
  margin-bottom: 30px;
}

/* ▼▼▼ 複製した新しい会社概要セクションのスタイル ▼▼▼ */
/* .p-company-profile (旧 .p-recruit) */
@media screen and (max-width: 768px) {
  .p-company-profile {
    padding-top: 80px; /* 背景画像(セクション上部)の上の余白を30pxから50pxに広げる */
  }
}

.p-company-profile__inner {
  display: flex;
}
@media screen and (max-width: 768px) {
  .p-company-profile__inner {
    flex-direction: column-reverse; /* スマホでは画像が上、テキストが下になるように */
    align-items: center; /* 子要素（画像ラッパーと説明ブロック）を中央揃え */
  }
}

.p-company-profile__desc {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  color: #ffffff; /* 文字色は元の .p-recruit に依存 */
  padding: 70px 40px; /* パディングは元の .p-recruit に依存 */
}
@media screen and (max-width: 768px) {
  .p-company-profile__desc {
    padding: 20px 25px 50px 5px; /* 上下20px, 右25px, 下50px, 左5px に変更して少し左寄せに見せる */
    text-align: center; /* テキストコンテンツ内の要素を中央揃え */
  }
  .p-company-profile__text p:first-child { /* 「正規代理店」のテキスト */
    font-size: 1.1rem; /* フォントサイズを少し大きくする (例: 1.1rem) */
  }
}

.p-company-profile__heading {
  text-align: left; /* PC表示時は左寄せに変更 */
}
@media screen and (max-width: 768px) {
  .p-company-profile__heading { /* スマホ表示時 */
    text-align: center; /* 中央揃えを維持（画像は非表示だが念のため） */
  }
  .p-company-profile__heading img {
    display: none; /* スマホ表示時に画像を非表示にする */
  }
}
/* PC表示時に画像に左マージンを追加して、下のテキストのインデントと合わせる */
@media screen and (min-width: 769px) {
  .p-company-profile__heading h2 img { /* h2の中のimgをより明確に指定 */
    margin-left: 1em; /* 全角スペース1文字分程度のインデント */
  }
}

.p-company-profile__image-wrapper { /* 旧 .p-recruit__img-wrapper */
  width: 50%;
  background-image: url(img/wakos111.PNG); /* ← 新しいセクション用の背景画像に変更してください */
  background-position: center center;
  background-size: cover;
  margin: 0 0 0 80px; /* 画像が右側に来るようにマージン調整 (PC) */
}
@media screen and (max-width: 768px) {
  .p-company-profile__image-wrapper {
    width: 100%;
    height: 200px; /* スマホ時の高さを指定 */
    margin: 0 0 15px 0; /* 2. 画像とテキスト間のマージンを狭くする */
  }
}

.p-company-profile__body {
  margin-bottom: 30px; /* 元の .p-recruit__body に依存 */
}

.p-company-profile__btn {
  /* text-align: center; PC表示時の中央揃え指定を削除 */
}

@media screen and (min-width: 769px) { /* PC表示時 */
  .p-company-profile__btn {
    text-align: left; /* ボタンコンテナ内の要素を左寄せ */
    padding-left: 1em;  /* ボタンを、上のロゴやインデントされたテキストと視覚的に揃えるための調整 */
  }
}
/* ▲▲▲ 複製した新しい会社概要セクションのスタイル ▲▲▲ */



.p-service-list .c-media:not(:last-child) {
  margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
  .p-service-list .c-media:not(:last-child) {
    margin-bottom: 40px;
  }
}

.p-works-list .c-card__img {
  border: 1px solid #ececec;
}

.p-greeting {
  padding: 100px 0 70px;
  background-image: url(/img/bg-circle.png), url(/img/bg-face.png);
  background-position: center -20px, center 40px;
}
@media screen and (max-width: 768px) {
  .p-greeting {
    padding: 60px 0 60px;
    background-image: url(/img/sp_bg-circle.png);
    background-position: center -20px;
    background-size: 375px;
  }
}
.p-greeting__heading {
  margin-bottom: 30px;
  text-align: center;
}
.p-greeting__message {
  margin-bottom: 160px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .p-greeting__message {
    margin-bottom: 60px;
  }
}

.p-company-info__heading {
  text-align: center;
  margin-bottom: 30px;
}
.p-company-info__table {
  margin-bottom: 60px;
}

.p-access__map {
  margin-bottom: 5px;
}
.p-access__map iframe {
  height: 400px;
  vertical-align: bottom;
}
@media screen and (max-width: 768px) {
  .p-access__map iframe {
    height: 240px;
  }
}
.p-access__map-link {
  font-size: 14px;
  font-size: 0.875rem;
}

.p-job-list {
  padding-top: 0;
}
.p-job-list__heading {
  margin-bottom: 30px;
  text-align: center;
}
.p-job-list__name {
  margin-bottom: 30px;
  text-align: center;
  font-size: 24px;
  font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
  .p-job-list__name {
    margin-bottom: 20px;
    font-size: 16px;
    font-size: 1rem;
  }
}
.p-job-list__detail {
  padding: 60px 95px;
  border: 1px solid #b067cf;
  border-radius: 6px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .p-job-list__detail {
    padding: 30px 20px;
  }
}
.p-job-list__table {
  margin-bottom: 50px;
}
@media screen and (max-width: 768px) {
  .p-job-list__table {
    margin-bottom: 40px;
  }
}
.p-job-list__link {
  text-align: center;
}
.p-job-list__link-note {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-size: 0.75rem;
}

.p-company-video__heading {
  margin-bottom: 40px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .p-company-video__heading {
    margin-bottom: 30px;
  }
}

.p-contact-form__inner {
  max-width: 780px;
}
.p-contact-form__lead {
  margin-bottom: 40px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .p-contact-form__lead {
    margin-bottom: 30px;
  }
}
.p-contact-form__body {
  padding: 90px;
  background-color: #f7f7f7;
}
@media screen and (max-width: 768px) {
  .p-contact-form__body {
    padding: 30px;
  }
}

.u-center {
  text-align: center !important;
}

.u-text-bold {
  font-weight: bold !important;
}

.u-text-big {
  font-size: 1.5em;
}

.u-sp-only {
  display: none;
}
@media screen and (max-width: 768px) {
  .u-sp-only {
    display: block;
  }
}

/*# sourceMappingURL=style.css.map */



/* --- p-works セクション背景を強化（改名版）--- */
.p-works {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #1b1b1b, #2b2b2b);
  overflow: hidden;
}

.p-works::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 20%, transparent 80%);
  animation: worksRotateBg 60s linear infinite;
  z-index: 0;
}

@keyframes worksRotateBg {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

/* --- 見出しに下線と装飾 --- */
.p-works__heading {
  position: relative;
  font-size: 2.5rem;
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
  font-weight: bold;
}

.p-works__heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #ffd700, #9c27b0);
  margin: 10px auto 0;
  border-radius: 10px;
}

/* --- 説明テキストをフェードアップ --- */
.p-works__desc {
  animation: worksFadeUp 1.5s ease-out both;
  text-shadow: 0 2px 5px rgba(0,0,0,0.4);
  color: #eee;
  text-align: center;
  margin-bottom: 40px;
  font-size: 1rem;
}

@keyframes worksFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.c-works-card-wrapper--col3 .c-works-card {
  opacity: 0;
  transform: translateY(40px);
  animation: worksCardFadeUp 1s ease-out forwards;
}

.c-works-card-wrapper--col3 .c-works-card:nth-child(1) {
  animation-delay: 0.3s;
}
.c-works-card-wrapper--col3 .c-works-card:nth-child(2) {
  animation-delay: 0.6s;
}
.c-works-card-wrapper--col3 .c-works-card:nth-child(3) {
  animation-delay: 0.9s;
}

@keyframes worksCardFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* --- p-contact セクション背景とアニメーション強化 --- */
.p-contact {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #2a2a2a, #1e1e1e);
  overflow: hidden;
}

.p-contact::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 20%, transparent 80%);
  animation: contactRotateBg 60s linear infinite;
  z-index: 0;
}

@keyframes contactRotateBg {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

.p-contact__heading {
  position: relative;
  font-size: 2.5rem;
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
  font-weight: bold;
}

.p-contact__heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #ffd700, #9c27b0);
  margin: 10px auto 0;
  border-radius: 10px;
}

.p-contact__body {
  animation: contactFadeUp 1.5s ease-out both;
  text-shadow: 0 2px 5px rgba(0,0,0,0.4);
  color: #eee;
  text-align: center;
  margin-bottom: 40px;
  font-size: 1rem;
}

.p-contact__text {
  margin-bottom: 30px; /* ← ここで下に余白ができます */
  color: #fff;
}

.p-contact__text00 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 30px; /* ← ここで下に余白ができます */
  color: #fff;
}

@keyframes contactFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s ease;
}

.line-flash {
  position: relative;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #7f00ff, #8e2de2); /* パープルの縦筋 */
  animation: flashLoop 1.2s ease-in-out infinite;
  box-shadow: 0 0 0 transparent;
}

@keyframes flashLoop {
  0% {
    transform: translateY(100%);
    opacity: 0;
    box-shadow: 0 0 0 transparent;
  }
  20% {
    opacity: 1;
  }
  50% {
    transform: translateY(0%);
    opacity: 1;
    box-shadow: 0 0 20px rgba(143, 0, 255, 0.6); /* パープルの光 */
  }
  80% {
    opacity: 1;
    box-shadow: 0 0 40px rgba(143, 0, 255, 0.8); /* 発光強調 */
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
    box-shadow: 0 0 0 transparent;
  }
}

body.loaded #loader {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  height: 0;
}



.advantage-heading-section {
  background-color: #000;
  padding: 60px 20px 40px;
  text-align: center;
}



.advantage-section {
  position: relative;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.advantage-side-bg {
  display: none;
}

.advantage-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  z-index: 1;
  position: relative;
}

.advantage-card {
  position: relative;
  height: clamp(260px, 32vw, 360px);
  background-size: cover;
  background-position: center;
  clip-path: polygon(6% 0%, 100% 0, 94% 100%, 0% 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  overflow: hidden;
  margin: 0;
  z-index: 1;
}

.advantage-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.advantage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.82) 100%);
  z-index: 1;
}

.advantage-content {
  position: absolute;
  z-index: 2;
  color: #fff;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  align-items: center;
}

.advantage-num {
  display: none;
}

.advantage-title {
  margin-bottom: 0;
  color: #fff;
  font-family: inherit;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.advantage-title-en {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.advantage-title-jp {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.4;
  opacity: 0.9;
}

.advantage-content .c-btn {
  width: auto;
  min-width: 0;
  padding: 12px 26px;
  font-size: 14px;
  letter-spacing: 0.1em;
  align-self: center;
  background: linear-gradient(to right, #0b0b10 0%, #1c1c24 25%, #5c5c66 50%, #b08a30 75%, #7a5a1f 100%);
  background-size: 200% auto; /* 背景を広めに取りホバーで流れるようにする */
  background-position: left center;
  border-radius: 0;
}

/* 共通ボタンスタイルを適用 */
.c-btn {
  display: inline-block;
  font-weight: bold;
  line-height: 1.4;
  width: 180px;
  padding: 12px 0;
  transition: 0.3s;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 0px;
  background-image: linear-gradient(to right, #0b0b10 0%, #1c1c24 25%, #5c5c66 50%, #b08a30 75%, #7a5a1f 100%);
  background-size: 200% auto;
  font-size: 14px;
}

.c-btn:hover {
  background-position: right center;
  opacity: 0.9;
}

@media screen and (max-width: 1024px) {
  .advantage-wrapper {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
  .advantage-side-bg.left, .advantage-side-bg.right {
    display: none;
  }
  .advantage-card {
    clip-path: polygon(6% 0%, 100% 0, 94% 100%, 0% 100%);
    border-radius: 0;
    height: 300px;
  }
}

@media screen and (max-width: 600px) {
  .advantage-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
  }
  .advantage-card {
    height: 220px;
    clip-path: polygon(6% 0%, 100% 0, 94% 100%, 0% 100%);
  }
}

.p-sns-banner {
  position: relative;
  height: 250px;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

/* サイドグラデーション */
.p-sns-banner__side-bg {
  position: absolute;
  top: 0;
  width: 8vw;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, #180030, #100020);
}
.p-sns-banner__side-bg.left {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%);
}
.p-sns-banner__side-bg.right {
  right: 0;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
}

/* カラムラップ */
.p-sns-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* カラム本体 */
.p-sns-banner__card {
  position: relative;
  background-size: cover;
  background-position: center;
  clip-path: polygon(8% 0%, 100% 0, 92% 100%, 0% 100%);
  overflow: hidden;
  transition: transform 0.6s ease;
}

.p-sns-banner__card:hover {
  transform: scale(1.05);
}

/* 背景画像（サンプル） */
.card--facebook {
  background-image: url('img/facebookokok.png');
}
.card--instagram {
  background-image: url('img/insta.png');
}

/* オーバーレイ：通常は暗い、ホバーで明るく */
.p-sns-banner__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color 0.5s ease;
  z-index: 1;
}

.p-sns-banner__card:hover .p-sns-banner__overlay {
  background-color: rgba(0, 0, 0, 0.1);
}

/* テキスト部分 */
.p-sns-banner__content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

.p-sns-banner__card:hover .p-sns-banner__content {
  transform: translateY(-50%) scale(1.05);
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .p-sns-banner__inner {
    grid-template-columns: 1fr;
  }
  .p-sns-banner__card {
    clip-path: none;
    height: 125px;
  }
  .p-sns-banner {
    height: auto;
  }
}


/* お問い合わせセクションのボタンスタイル調整 */
.p-contact__btn-wrapper {
  display: flex;
  justify-content: center; /* ボタン群を中央揃え */
  gap: 20px; /* PC表示時のボタン間の隙間 */
  margin-top: 30px; /* 上のテキストとの間隔 */
}

.p-contact__link .c-btn {
  /* ボタン自体のスタイルは既存の .c-btn を継承 */
  /* 必要であればここで個別の調整も可能 */
  width: auto; /* ボタンの幅を内容に合わせる場合や、固定幅を指定する場合 */
  min-width: 180px; /* ボタンの最小幅（任意） */
}

/* レスポンシブ対応 (スマートフォン) */
@media screen and (max-width: 768px) {
  .p-contact__btn-wrapper {
    flex-direction: column; /* 縦並びに変更 */
    align-items: center; /* ボタンを中央揃えに */
    gap: 15px; /* スマートフォン表示時のボタン間の隙間 */
  }
  .p-contact__link {
    /* スマホ時のボタンラッパーの幅と中央揃え */
    width: 100%; /* スマホではボタンのラッパーを幅いっぱいに */
    max-width: 260px; /* ボタンの最大幅を調整（例: 300px から 260px に変更） */
    text-align: center; /* ボタン内のテキストを中央に */
  }

  /* レスポンシブ時のテキストサイズ調整 */
  .p-contact__text00 p,
  .p-contact__text p {
    font-size: 0.9rem; /* テキストのフォントサイズを小さく (例: 14px -> 12.6px 相当) */
  }
  .p-contact__postal-code {
    display: none; /* スマホ表示時に郵便番号を非表示にする */
  }

  .p-contact__link .c-btn {
    width: 100%; /* ボタンをラッパーの幅いっぱいに広げる */
  }
}

/* --- 動画ローディング画面のスタイル --- */
#video-loader {
  /* 画面全体を覆う設定 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999; /* 他の要素より必ず手前に表示 */

  /* 動画を中央に配置するためのFlexbox設定 */
  display: flex;
  justify-content: center;
  align-items: center;

  /* 背景を黒に設定 */
  background-color: #000;

  /* フェードアウトのためのトランジション */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* JSでこのクラスが付与されると、ローダーが非表示になる */
#video-loader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* クリックイベントを透過させる */
}

#loading-video {
  /* 動画のサイズを小さめに設定 */
  width: 400px; /* PCでの基本幅 */
  max-width: 90%; /* スマホで画面からはみ出ないように */
  height: auto; /* アスペクト比を維持 */
  border-radius: 8px; /* 少し角を丸くする */
}

/* ニュース欄の特定ボタンを白背景にするユーティリティ */
.c-btn--white {
  background: #ffffff !important;
  color: #ffffff !important; /* 文字を白に */
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,0.25); /* 白文字でも輪郭で視認性を確保 */
}
.c-btn--white:hover,
.c-btn--white:focus {
  background: #fafafa !important;
  color: #ffffff !important;
}

/* ニュースCTA下の説明文を白にする */
.c-news-cta-note {
  color: #ffffff !important;
}

/* ニュースCTAの説明文を太字にする */
.c-news-cta-note {
  font-weight: 700 !important;
}

/* ニュース欄 CTA 上の吹き出し */
.p-news__cta {
  position: relative;
  padding-top: 18px; /* 吹き出しの分だけ上部に余白を確保 */
  text-align: center;
}
.c-bubble {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #e53935; /* 赤系で目立たせる（受付中） */
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  white-space: nowrap;
}
.c-bubble--shaken {
  background: #1e88e5; /* オプション: 受付中は青でも可。必要なら変えてください */
}

/* 吹き出しの下に表示する三角ポップ */
.c-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #e53935; /* デフォルトは赤 */
}
.c-bubble--shaken::after {
  border-top-color: #1e88e5; /* shakenバージョンは青 */
}

/* ボタンと下の文言を少し上に移動して配置を詰める */
.p-news__cta {
  /* 元のインライン margin-top を抑えて近づける */
  margin-top: 0.35em !important;
  padding-top: 10px; /* 吹き出しのスペースを若干縮小 */
}
.p-news__cta .c-btn {
  display: inline-block;
  transform: skewX(-15deg) translate(24px, -4px); /* 右＆少し上へ */
}
.p-news__cta .c-btn--news-white {
  width: 200px;
  background: #ffffff;
  color: #0b0b10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-transform: none;
  letter-spacing: 0;
}
.p-news__cta .c-btn--news-white:hover,
.p-news__cta .c-btn--news-white:focus {
  background: #f4f4f4;
  color: #0b0b10;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}
.p-news__cta .c-btn--news-white > *,
.p-news__cta .c-btn--news-white a > * {
  transform: skewX(15deg) translateX(2px);
}
.p-news__cta .c-news-cta-note {
  color: #ffffff !important; /* 白に固定 */
  font-weight: 700;
  font-size: 1rem;
  transform: translateY(-4px);
  margin-top: 0.1em !important; /* 若干の隙間を残す */
}

@media screen and (max-width: 768px) {
  /* モバイル時はCTAを下げて余白を確保 */
  .p-news__cta {
    margin-top: 2em !important;
    padding-top: 34px;
    border-top: none;
  }
  .p-news__cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    border-top: 1px dashed rgba(255, 255, 255, 0.55); /* 短め・やや濃い破線 */
  }
  .p-news__cta .c-btn {
    transform: skewX(-15deg) translate(20px, 12px);
  }
  .p-news__cta .c-news-cta-note {
    transform: translateY(10px);
    margin-top: 0.55em !important;
  }
}
