@charset "UTF-8";
/* ==========================================================================
  Foundation
========================================================================== */
/* Variables */
:root {
    --color-primary: #00338d;
    --color-accent: #e68a00;
    --color-accent-hover: #d36e10;
    --color-text: #333;
    --color-text-light: #666;
    --color-text-white: #fff;
    --color-background-light: #f5f5f5;
    --color-background-feature: #dbecf8;
    --color-highlight: #d35400;
    --color-gold: #eebf3b;

    --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    --font-handwriting: 'Dancing Script', cursive;

    --width-inner: 1200px;
    --breakpoint-pc: 1280px;
}

/* Reset & Base (必要最低限のリセットのみ要素セレクタを使用) */
/*base*/
html {
  font-size: 62.5%;
  scroll-padding-top: 74px;
}

@media screen and (min-width: 1280px) {
  html {
    scroll-padding-top: 100px;
  }
}

html:focus-within {
  scroll-behavior: auto;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: scroll;
  min-height: 100vh;
  margin: 0;
  color: #1f3133;
  font-family: "Noto Sans JP", serif;
  font-size: 1.5em;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

@media screen and (min-width: 1280px) {
  body {
    font-size: 1.7em;
  }
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

a[href*="tel:"] {
  cursor: pointer;
}

img {
  height: auto;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

ol {
  margin: 0;
  padding-left: 0;
}

input,
select,
textarea {
  padding: 0;
  font-size: 1.5rem;
}

input::-ms-reveal {
  visibility: hidden;
}

input[type=checkbox], input[type=radio], input[type=button], input[type=submit] {
  cursor: pointer;
}

input[type=submit] {
  -webkit-appearance: none;
}

textarea {
  resize: none;
}

button {
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

select {
  cursor: pointer;
}

hr {
  border: none;
  border-top: 1px solid #35383a;
  margin: 1rem 0;
}

rt {
  padding: 0.2rem;
  text-align: center;
}

/* ==========================================================================
  Layout (l-)
========================================================================== */
.l-wrapper {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    background-color: #fff;
}

.l-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  border-bottom: 1px solid #6a778b;
  width: 100%;
  background-color: #fff;
  z-index: 400;
}

.l-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    margin: 0 auto;
    width: 100%;
}

.l-header__nav {
  display: flex;
  gap: 5px;
  position: relative;
}

@media screen and (min-width: 1280px) {
  .l-header__nav {
    gap: 2.5rem;
  }
}

.l-header__support-desk {
  display: none;
}

@media screen and (min-width: 1280px) {
  .l-header__inner {
    height: 10rem;
    margin: 0;
    padding-inline: 4rem;
  }

  .l-header__support-desk {
    display: grid;
    grid-column-gap: 1rem;
    grid-row-gap: .5rem;
  }

  .l-header__support-desk-logo {
    grid-area: 1 / 1 / 2 / 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 100vmax;
    padding: .5rem 1.5rem;
    background-color: #6a778b;
  }

  .l-header__support-desk-bar {
    border-radius: .1rem;
    height: 1.3rem;
    width: .1rem;
    background-color: #fff;
  }

  .l-header__support-desk-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
  }

  .l-header__support-desk-tel {
    grid-area: 1 / 2 / 2 / 3;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
  }

  .l-header__support-desk-caution {
    grid-area: 2 / 1 / 3 / 3;
    font-size: 1.2rem;
    font-weight: 500;
  }

  .l-header__logo {
    height: auto;
    width: 15rem;
  }
}

.l-main {
    width: 100%;

    & > * + * {
      margin-top: 50px;
    }
}
.l-inner {
  padding-inline: 20px;
  margin-inline: auto;

  @media screen and (min-width: 1280px) {
    padding-inline: 0;
    max-width: var(--width-inner);
  }
}
/* ==========================================================================
  Object > Component (c-)
========================================================================== */
/* arrow */
.c-arrow-link {
  display: block;
  padding-right: 30px;
  position: relative;

  &::after {
    content: '';
    display: inline-block;
    height: .8rem;
    width: .8rem;
    position: absolute;
    top: calc(50% - .4rem);
    right: 16px;
    border-right: 1.5px solid #ccc;
    border-top: 1.5px solid #ccc;
    transform: rotate(45deg);
  }
}

.c-arrow-link--second {
  display: block;
  padding-right: 30px;
  position: relative;

  &::after {
  border-color: #000;
  }
}

/* Buttons */
.c-button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color-primary);
  width: 100%;
  border-radius: 2px;
  padding: 10px 15px;
  background-color: #fff;
  color: #1364ef;
}

/* Modifier: Primary (Hero Button) */
.c-button--primary {
  border-color:#e68a2e;
  border-radius: 100vmax;
  background: linear-gradient(to bottom, #ffab40, #ff8f00);
  color: #fff;
  font-weight: bold;
}

.c-button--detail {
  max-width: 300px;
  margin-inline: auto;
}

/* Modifier: Floating (SP Hero Overlay) */
.c-button--floating {
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    text-align: center;
}

/* Modifier: Video Button (Black) */
.c-button--video {
    background: #333;
    color: #fff;
}
.c-button--video::before {
    content: '▶ ';
    font-size: 12px;
    margin-right: 5px;
}

.c-button--video-overlay {
  position: absolute;
  bottom: 8.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5rem 1.6rem;
  width: calc(100% - 1.6rem);
  max-width: 25.4rem;
  border: 1px solid #333;
  border-radius: 100vmax;
  background-color: #333;
  color: #fff;
  line-height: 1.5;
}

.c-button--video-overlay-contact {
  position: fixed;
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2.6rem 2.6rem 0 0;
  width: 19rem;
  z-index: 300;
}

@media screen and (min-width: 768px) {
  .c-button--video-overlay {
    top: max(min(calc(100svh - 8.8rem - 32rem), calc(100% - 8.8rem)), 8rem);
    bottom: auto;
    transform: translate(-50%, -100%);
  }
}

@media screen and (min-width: 1280px) {
  .c-button--video-overlay {
    top: max(min(calc(100svh - 5rem - 55rem), calc(100% - 5rem)), 13rem);
    max-width: 29.2rem;
    font-size: 1.7rem;
  }

  .c-button--video-overlay-contact {
    display: none;
  }
}

/* Modifier: Contact Buttons */
.c-button--icon {
  gap: 8px;
  border-radius: 100vmax;
}

.c-button--mail {
  color: #fff;
}

.c-button--tel {
  border-color: var(--color-text);
  background-color: #fff;
  color: var(--color-text);
}

@media screen and (min-width: 1280px) {
  .c-button--header {
    width: 24rem;
  }
}

@media screen and (max-width: 1279px) {
  .c-button--header-top {
    display: none;
  }
}

/* Section */
.c-section {

  & > * + * {
    margin-top: 15px;
  }

  @media screen and (min-width: 1280px) {
    & > * + * {
      margin-top: 30px;
    }
  }
}

.c-section-header {
  color: #003faa;
  font-weight: bold;
  line-height: 1.4;
}

.c-section-header--contact {
  color: var(--color-text);

  & > .c-section-header__english {
    font-size: 4rem;
  }
}

.c-section-header__english {
  font-size: 50px;
}

/* Icons */
.c-menu-button {
    font-size: 24px;
    color: var(--color-text);
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
}
@media screen and (min-width: 1280px) {
    .c-section-header__english { font-size: 80px;}
    .c-section-header__japanese { font-size: 18px; }

    .c-button--mail,
    .c-button--tel {
        width: 100%;
        margin-bottom: 0;
        font-size: 18px;
        font-weight: 500;
    }
}

.c-button,
.c-hover-brightness,
.c-hover-color-change {
  @media (any-hover: hover) {
    &:hover,
    &.is-hovered {
      transition: 0.15s linear;
    }
  }
}

.c-button,
.c-hover-brightness {
  @media (any-hover: hover) {
    &:hover {
      filter: brightness(120%);
    }
  }
}

.c-hover-color-change {
  @media (any-hover: hover) {
    &:hover {
      color: #ccc;
    }
  }
}

/* ==========================================================================
  Object > Project (p-)
========================================================================== */
/* Logo */
.p-logo {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
}
.p-logo__sub-text {
    font-family: var(--font-handwriting);
    font-size: 16px;
    color: var(--color-primary);
}
@media screen and (min-width: 1280px) {
    .p-logo { font-size: 18px; }
    .p-logo__sub-text { font-size: 20px; }
}

/* Global Nav */
.p-global-nav {
    display: none;
}
@media screen and (min-width: 1280px) {
    .p-global-nav { display: block; }
    .p-global-nav__list {
        display: flex;
        list-style: none;
        gap: 30px;
        align-items: center;
    }
    .p-global-nav__link {
        font-size: 14px;
        font-weight: bold;
        color: var(--color-text);
    }
    .p-global-nav__button {
        background-color: var(--color-accent);
        color: #fff;
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
    }
    .p-global-nav__button:hover { background-color: var(--color-accent-hover); }
}

/* ==========================================================================
   Project: Floating Menu (Hamburger Content)
   ========================================================================== */
/* Overlay (背景の暗幕) */
.p-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
    z-index: 900; /* ヘッダーより上、メニューより下 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.p-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
/* Menu Container (黒いボックス) */
.p-floating-menu {
    position: absolute;
    top: 0;
    right: -5px;
    width: calc(100dvw - 40px); /* 左右余白分引く */
    max-width: 350px; /* PCなどで広がりすぎないように制限 */
    background-color: #111; /* 真っ黒に近いグレー */
    color: #fff;
    border-radius: 16px;
    padding: 60px 30px 30px; /* 上パディングは閉じるボタン用 */
    z-index: 1000; /* 最前面 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
/* Active State */
.p-floating-menu.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
/* Close Button (右上の白い丸) */
.p-floating-menu__close-button {
    position: absolute;
    top: 15px;
    right: 10px;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.p-floating-menu__close-button:active {
    transform: scale(0.9);
}
.p-floating-menu__close-icon {
    font-size: 20px;
    line-height: 1;
    color: #333;
    font-weight: bold;
    margin-top: -2px; /* 視覚調整 */
}
/* Navigation List */

.p-floating-menu__item {
    border-bottom: 1px solid #444; /* 薄いグレーの線 */


}
.p-floating-menu__item:first-child {
    border-top: 1px solid #444;
}

.p-floating-menu__link {
  display: flex;
  padding-block: 20px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s;

  &:hover {
    color: #ccc;
  }
}
/* Top Banner */
/* Badge */
.c-badge {
  height: auto;
  border-radius: 2px;
  padding: 4px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  writing-mode: vertical-rl;

      @media screen and (min-width: 1280px) {
      writing-mode: horizontal-tb;
    }
}
.c-badge--new {
    background: #fff;
    color: #003faa;
}

.p-top-banner {
  position: absolute;
  top: 74px;

  @media screen and (max-width: 1279px) {
    width: 100%;
  }

  @media screen and (min-width: 1280px) {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #003faa;
    padding: 10px;
    margin-top: 74px;
    font-size: 14px;
    flex-direction: column;
    position: fixed;
    top: 21rem;
    right: 0;
    margin-top: 0;
    border: .2rem solid #fff;
    border-right: none;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    z-index: 100;
  }

}



.p-top-banner__text {
  font-weight: bold;
      color: #fff;


      @media screen and (min-width: 1280px) {
  writing-mode: vertical-rl;
    }

}

.p-top-banner__content {
    display: none;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  @media screen and (min-width: 1280px) {
      display: flex;
      flex-direction: column;
  }
}

.p-top-banner__amount {
  color: #ffd700;
  font-weight: bold;
  line-height: 1;

    @media screen and (min-width: 1280px) {
    display: flex;
    align-items: center;

      flex-direction: column;
  }
}

.p-top-banner__number {
  font-size: 32px;
}

.p-top-banner__unit {
  font-size: 14px;
  writing-mode: vertical-rl;

    @media screen and (min-width: 1280px) {
      width: 1.5rem;
      text-orientation: upright;
    }
}

.p-top-banner__detail {
  color: #fff;
    font-size: 12px;
    white-space: nowrap;
    margin-left: 8px;

  @media screen and (min-width: 1280px) {
    display: none;
  }
}

.p-top-banner-sp-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  height: 5.2rem;
  width: 100%;
  background-color: #003faa;
  z-index: 50;
  @media screen and (min-width: 1280px) {
    display: none;
  }
}

.p-top-banner-sp {
  height: auto;
  width: 100%;
  max-width: 37.5rem;
  margin-inline: auto;
}

/* Hero Section */
.p-hero {
  padding-top: 11.2rem;

  @media screen and (min-width: 1280px) {
    padding-top: 15rem;
  }

  & > * + * {
    margin-top: 5rem;
  }
}

.p-hero__media {
  position: relative;
}


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

.p-hero__title {
  text-align: center;
  font-weight: bold;

    @media screen and (min-width: 1280px) {
      display: flex;
      flex-direction: column;
      gap: 5rem;
      margin-bottom: 5rem;
      font-size: 17px;
      font-weight: 500;
  }
}

.p-hero__copy {
  font-size: 38px;
  line-height: 1.3;

    @media screen and (min-width: 1280px) {
    font-size: 78px;
    font-weight: bold;
    line-height: 1;
  }
}

.p-hero__tag-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;


  @media screen and (min-width: 1280px) {
    margin-bottom: 5rem;
    font-size: 17px;
    font-weight: 500;
  }
}

.p-hero__tag-item {

  &:not(:last-child)::after {
    content: '/';
    margin-left: 5px;
  }
}


.p-hero__paragraph { margin-bottom: 15px; }

.p-hero__img-wrapper,
.p-hero__img {
  height: max(calc(100svh - 32rem), 30rem);
  max-height: 68rem;
}

.p-hero__img-wrapper {
    position: relative;
    border-top-right-radius: 2rem;
    border-top-left-radius: 2rem;
    width: 100%;
    overflow: hidden;
}

.p-hero__img {
  position: relative;
  left: 50%;
  height: max(calc(100svh - 32rem), 30rem);
  max-height: 68rem;
  width: fit-content;
  margin-inline: auto;
  transform: translateX(-50%);
}

.p-hero__placeholder {
  width: 100%;
}

@media screen and (min-width: 530px) {
  .p-hero__img-wrapper {
    max-height: fit-content;
  }

  .p-hero__img {
    height: fit-content;
    width: 91rem;
  }
}

@media screen and (min-width: 768px) {
  .p-hero__img-wrapper {
    border-top-right-radius: 4rem;
    border-top-left-radius: 4rem;
    height: fit-content;
    width: calc(100% - 4rem);
    max-width: 192rem;
    margin-inline: auto;
  }

  .p-hero__img {
    height: fit-content;
    max-height: none;
    width: 100%;
  }
}

@media screen and (min-width: 1280px) {
  .p-hero__img-wrapper {
    border-top-right-radius: 8rem;
    border-top-left-radius: 8rem;
    width: calc(100% - 8rem);
  }
}

.p-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 192rem;
    margin-inline: max(0rem, calc((100% - 192rem) / 2));
    z-index: 2;
    pointer-events: none;
}

.p-hero__overlay > * { pointer-events: auto; }

.p-hero__overlay-image {
    position: absolute;
    top: -5.5rem;
    right: 1.2rem;
    /* text-align: center;
    font-family: var(--font-handwriting);
    font-size: 28px;
    color: #3b5bdb;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.8); */
}

@media screen and (min-width: 768px) {
  .p-hero__overlay-image {
    right: 15rem;
  }
}

@media screen and (min-width: 1280px) {
    .p-hero__overlay-image {
      top: -8rem;
      width: 50rem;
    }
    .p-hero__layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }
    .p-hero__content { order: 1; }
    .p-hero__media { order: 2; }
    .p-hero__actions { display: flex; gap: 15px; }
    .p-hero__overlay-image {
      right: 22.5rem;
    }
}

@media screen and (min-width: 1280px) {
  .p-lead {
    margin-top: 20rem;
    margin-bottom: 15rem;
  }
}

/* Feature */
.p-feature {
  margin-top: 30px;
  background-color: var(--color-background-feature);
  border-top-left-radius: 4rem;
  border-top-right-radius: 4rem;

  @media screen and (min-width: 1280px) {
    border-top-left-radius: 8rem;
    border-top-right-radius: 8rem;
  }
}

.p-feature-card {
  position: relative;
  padding-block: 50px;
  max-width: calc(100% - 40px);
  margin-inline: auto;

  @media screen and (min-width: 1280px) {
    max-width: 1280px;
  }

  & + & {
    border-top: 1px solid #ddd;
  }
}

.p-feature-card__label {
  color: #003faa;
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
}

.p-feature-card__number {
  font-size: 28px;
}

.p-feature-card__title {
  font-weight: bold;
  line-height: 1.4;
}

.p-image {
  height: auto;
  width: 100%;
  max-width: 67rem;
  margin-inline: auto;
}

.p-image--small {
  max-width: 50rem;
}

.p-feature-card__advertisement {
  font-size: 24px;
}

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

  .p-feature-card {
    min-height: 42rem;
    width: 120rem;
  }

  .p-feature-card__button {
    margin-left: 0;
  }

  .p-image--feature-card {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 57.5rem;

    &:first-child {
      margin-top: 3rem;
    }
  }

  .p-image--pc-small {
    width: 46.8rem;
  }

  .p-feature-card__description {
    width: 57.5rem;
  }
}

.p-salary-bg {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  height: auto;
  width: 100%;
}

.p-salary-appeal {
  position: relative;
  border: .4rem solid #ffcc00;
  margin: 11rem 2rem 3rem;
  padding: 3rem 1.5rem;
  width: calc(100% - 4rem);
  font-weight: bold;
  background-color: #fff;
  box-shadow: 0 .3rem .6rem rgba(0,0,0,.16);
  text-align: center;
  z-index: 50;
}

.p-salary--margin-first {
  margin-block: 2.5rem;
}

@media screen and (min-width: 1280px) {
  .p-salary-appeal {
    margin: 14rem auto 1rem;
    padding: 18rem 9rem;
    width: 120rem;
  }
}

.p-salary {
  position: relative;
  border-radius: 15px;
  max-width: calc(100% - 40px);
  margin-inline: auto;
  background-color: var(--color-background-feature);
  box-shadow: 0 -.3rem .6rem rgba(0,0,0,.16);
  z-index: 50;


  @media screen and (min-width: 1280px) {
    border-radius: 0;
    max-width: 100%;
    box-shadow: none;
  }
}

.p-salary--color-first {
  background-color: #fff9e1;
}

.p-salary__inner {
  margin-inline: auto;
  padding-block: 30px;

  @media screen and (min-width: 1280px) {
    max-width: var(--width-inner);
  }
}

.p-salary-title__catch {
  color: #003faa;
  font-weight: bold;
}

.p-salary-title__catch--color-first {
  color: #fd9001;
}

.p-salary-title__number {
  font-size: 25px;
}

.p-salary-title__copy {
  color: #fff;
  font-size: 24px;
  letter-spacing: -.05em;
  font-weight: bold;
  background-color: #003faa;
}

.p-salary-title__copy--color-first {
  background-color: #ffcc00;
}

.p-salary__description {
  margin-bottom: 3rem;

  @media screen and (min-width: 1280px) {
    margin-bottom: 1.5rem;
  }
}

.p-salary__content {
  padding: 20px;

  @media screen and (min-width: 1280px) {
    background-color: #fff;
  }
}

.p-salary__image {
  height: auto;
  width: 100%;
  max-width: 44.5rem;
  margin-inline: auto;
}

.p-salary__reason {
  border-radius: 20px;
  margin-bottom: 5rem;
  padding: 20px;
  background-color: #fff;

  @media screen and (min-width: 1280px) {
    background-color: var(--color-background-feature);
  }
}

.p-salary-reason-list {

  & > * + * {
    margin-top: 15px;
  }
}

.p-salary-graph-title {
  position: absolute;
  top: 0;
  left: 50%;
  display: inline-block;
  border: 1px solid var(--color-primary);
  padding: 5px 20px;
  width: fit-content;
  border-radius: 15px;
  background-color: #fff;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: bold;
  transform: translate(-50%, -50%);

  &::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-primary);
    font-size: 10px;
    background: #fff;
    padding: 0 2px;
  }
}

.p-salary-graph {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 20px 15px 20px;
}

.p-salary-graph__x-axis {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;

  &:first-child {
    border-bottom: 1px solid #ddd;
  }
}

.p-salary-graph__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 16%;
  max-width: 50px;
}

.p-salary-graph__amount {
  position: absolute;
  bottom: 10px;
  line-height: 1.2;
  text-align: center;
  font-size: 12px;
}

.p-salary-graph__number {
  font-size: 14px;
}

.p-salary-graph__bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
}

.p-salary-graph__label {
  font-size: 14px;
  margin-top: 5px;
}

.p-salary-graph__bar--wdb {
  height: 100px;
  background-color: var(--color-gold);
}

.p-salary-graph__bar--other {
  background-color: #8ebdd9;
}

.p-salary__flow {
  margin-top: 3rem;
}

.p-salary__flow-title {
  margin-bottom: 3rem;
  font-size: 2.4rem;
  font-weight: bold;
}

.p-salary__flow-list,
.p-salary__flow-list-content {
  width: 100%;

  & * + * {
    margin-top: 1rem;
  }
}

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

@media screen and (min-width: 1280px) {
  .p-salary__flow-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .p-salary__flow-list-content {
    height: 14rem;
    width: 23.7rem;
    margin-top: 0;

    &:last-child {
      margin-top: 5rem;
      width: 100%;
    }
  }

  .p-salary__flow-list-content--margin-first {
    margin-right: 5rem;
  }

  .p-salary__flow-list-content-triangle {
    margin-inline: 1rem;
  }
}

.p-salary__flow-list-title {
  padding-inline: 2rem;
  width: 100%;
  background-color: #fd9001;
  color: var(--color-text-white);;
  font-weight: bold;
}

.p-salary__flow-list-title--petten-first {
  background-color: #ffcc00;
  color: var(--color-text);
  text-align: center;
}

.p-salary__flow-list-title--petten-second {
  background-color: #999;
}

.p-detail-bg-wrapper {
  position: absolute;
  top: 12.6rem;
  left: -5%;
  height: auto;
  width: 110%;
  margin-inline: auto;
  overflow: hidden;
}
@media screen and (min-width: 1280px) {
  .p-detail-bg-wrapper {
    top: -1rem;
    left: 0;
    max-height: 150rem;
    width: 100%;
  }

  .p-detail-bg-wrapper--position-adjust {
    top: 3rem;
  }
}

.p-detail-bg {
  height: auto;
  width: 100%;
}

.p-card {
  padding-top: 50px;
  border-top: 1px solid #ddd;
  border-radius: 40px;
  box-shadow: 0 -3px 6px rgba(0,0,0,.16);
}

.p-card--detail {
  position: relative;
  margin-top: calc(50dvw + 12.6rem);
  background-color: #fff;
  z-index: 50;
}
@media screen and (min-width: 1280px) {
  .p-card--detail {
    margin-top: 62rem;
  }
}

.c-speech-balloon {
  display: flex;
  justify-content: center;
  position: relative;
  border: .2rem solid #fd9001;
  border-radius: 100vmax;
  margin-inline: auto;
  padding: .5rem 2.4rem;
  width: fit-content;
  background-color: #fff;
  line-height: 1.6;

  &::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -19%;
    border-right: .3rem solid #fd9001;
    border-bottom: .3rem solid #fd9001;
    border-bottom-right-radius: .25rem;
    height: 1rem;
    width: 1rem;
    background-color: #fff;
    transform: scaleX(0.7) rotate(45deg);
  }
}

.p-card__section {
  margin-top: 50px;
}

@media screen and (min-width: 1280px) {
  .p-card__section--pc {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 4rem 7rem 1fr;
  }
}

.p-card__heading {
  & + * {
    margin-top: 30px;
  }
}

.p-card__heading--top {
  text-align: center;
}

.p-card__number {
  font-family: 'Oswald';
  font-size: 3rem;
  text-align: center;

  @media screen and (min-width: 1280px) {
    font-size: 3.5rem;
    text-align: left;
  }
}

.c-heading {
  font-weight: bold;
  font-size: 28px;
  line-height: 1.6;
}

.c-heading--secondary {
  font-size: 24px;
}

@media screen and (min-width: 1280px) {
  .p-card__number {
    grid-area: 1 / 2 / 2 / 3;
  }

  .p-card__image {
    grid-area: 1 / 1 / 4 / 2;
  }

  .p-card__heading {
    grid-area: 2 / 2 / 3 / 3;
    font-size: 3rem;
  }

  .p-card__text {
    grid-area: 3 / 2 / 4 / 3;
  }
}

/* Salary Graph (within Features) */


/* Bonus Banner (within Features) */
.p-bonus-banner {
    margin-inline: auto;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-weight: bold;
}

@media screen and (min-width: 1280px) {
  .p-bonus-banner-pc {
    margin: 0;
    width: 30rem;
  }
}

.p-bonus-banner--margin {
  margin-bottom: 3rem;
}

.p-bonus-banner--size-limit {
  max-width: 670px;
}

.p-bonus-banner--border-first {
  border-top-right-radius: 1rem;
  border-top-left-radius: 1rem;
}

.p-bonus-banner__text {
  padding: 5px 10px;
  background-color: #ffcc00;
}

.p-bonus-banner__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px;
  background-color: #fff
}

@media screen and (min-width: 1280px) {
  .c-border-pc {
    border: .2rem solid #ffcc00;
  }
}

.p-bonus-banner__star {
  color: #ffcc00;
  font-size: 24px;
}

.p-bonus-banner__star--top {
  vertical-align: top;
  font-size: 20px;
}

.p-bonus-banner__amount {
  font-family: 'Oswald';
  font-size: 90px;
  color: #fd9001;
  line-height: 1;
}

.p-bonus-banner__unit {
  font-size: 30px;
  font-weight: bold;
}

.p-bonus-banner__sub-text {
  font-size: 20px;
}

.c-triangle {
  height: 1.5rem;
  width: 3rem;
  background-color: #fd9001;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

@media screen and (min-width: 1280px) {
  .c-triangle {
    transform: rotate(-90deg);
  }
}

.p-salary__banner-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  margin-block: 3rem;
}

@media screen and (min-width: 1280px) {
  .p-salary__banner-wrapper {
    flex-direction: row;
    gap: 2.5rem;
    justify-content: center;
  }
}

.p-salary__main-banner-wrapper {
  height: fit-content;
  width: 100%;
  margin-bottom: 3rem;
  background-color: #fff;
}

.p-salary__main-banner {
  height: auto;
  width: calc(100% - 2rem);
  max-width: 50rem;
  margin-inline: auto;
}

@media screen and (min-width: 1280px) {
  .p-salary__main-banner {
    max-width: 80rem;
  }
}

.p-salary__heading {
  margin-bottom: 1.5rem;
}

/* Job Section */
.p-job__list-title { font-weight: bold; font-size: 14px; margin-bottom: 8px; }
.p-job__list-box {
    border: 1px solid #ccc;
    padding: 15px;
}

.p-img-wrapper {
  width: 100%;
  max-width: 670px;
  margin-inline: auto;
}

@media screen and (min-width: 1280px) {
    .p-job__list-title { font-size: 16px; }
}

.p-figure {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  margin-bottom: 1.6rem;
  width: 100%;
  max-width: 46.8rem;
  font-weight: bold;
}

.p-figure__top,
.p-figure__bottom {
  display: flex;
}

.p-figure__top-content,
.p-figure__bottom-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-figure__top-content {
  display: flex;
  padding: .3rem .8rem;
  width: 50%;
  background-color: #003faa;
  color: var(--color-text-white);
  font-size: 1.4rem;
}

.p-figure__top-content--color-first {
  background-color: #fd9001;
}

.p-figure__bottom-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  gap: .4rem;
  border: .1rem solid #003faa;
  padding: .8rem;
  width: 50%
}

.p-figure__bottom-content--border-first {
  border-color: #fd9001;
  border-left: none;
}

.p-figure__bottom-title {
  font-size: 1.2rem;
}

@media screen and (max-width: 361px) {
  .p-figure__bottom-title {
    min-height: 4.4rem;
  }
}

@media screen and (min-width: 1280px) {
  .p-figure__top-content,
  .p-figure__bottom-title {
    font-size: 1.7rem;
  }
}

.p-figure__bottom-amount {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  color: #1e2a77;
}

.p-figure__bottom--color-first {
  color: #fd9001;
}

.p-figure__bottom-amount-number {
  font-family: 'Oswald';
  font-size: 4rem;
  letter-spacing: .1rem;
  line-height: 1;
}

@media screen and (min-width: 1280px) {
  .p-figure__bottom-amount-number {
    font-size: 6rem;
  }
}

.p-figure__bottom-amount-unit {
  line-height: 1.4;
}

.p-figure__top--color-first {
  background-color: #fd9001;
}

.p-figure__combine {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  border-radius: 100vmax;
  height: 2.4rem;
  width: 2.4rem;
  background-color: #6a778b;
  color: var(--color-text-white);
  font-size: 2rem;
  font-weight: bold;
}

@media screen and (min-width: 1280px) {
  .p-figure__top {
    height: 4rem;
  }

  .p-figure__bottom {
    height: 14rem;
  }
}

/* Contact Section */
.p-contact {
  position: relative;
  container-type: inline-size;
  container-name: contact;
  background-color: var(--color-background-feature);
  padding: 40px 0;
  z-index: 50;
}

.p-contact__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  @container contact (width >= 540px) {
    flex-direction: row;
    justify-content: center;
    margin-inline: auto;
    padding-block: 1.2rem;
    max-width: 64rem;
  }
}

.p-contact__hours {
  margin-top: 5px;
  font-size: 12px;
  text-align: center;
}


@media screen and (min-width: 1280px) {
    .p-contact { padding: 80px 0; }

}


.p-table {
  width: 100%;
  border-top: 1px solid #ccc;
  border-collapse: collapse;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
  line-break: strict;
}

.p-table__row {
  display: grid;

@media screen and (min-width: 1280px) {
      grid-template-columns: 2fr 8fr;
}

}

.p-table__item {
  padding: 15px;
  border-bottom: 1px solid #ccc;
}

.p-table__item--header {
    text-align: left;
    background-color: #f5f5f5;
    font-weight: normal;
  }

.p-flow {
  padding: 5rem 2rem;
  background-color: #f5f5f5;
}

.p-flow__heading {
  margin-bottom: 1rem;
}

@media screen and (min-width: 1280px) {
  .p-flow {
    padding-bottom: 10rem;
    background-color: #fff;
  }

  .p-flow__heading {
    margin-bottom: 2.5rem;
  }
}

@media screen and (min-width: 1280px) {
  .p-flow-list {
    display: flex;
    gap: 2.4rem;
    justify-content: center;
    margin-bottom: 1.6rem;
  }
}

.p-flow-list-content {
  display: flex;
  position: relative;
  justify-content: space-between;
  width: 100%;
}
.p-flow-list-content:not(:last-child) > .p-flow-list-content__step::after {
  content: "";
  display: block;
  position: absolute;
  top: 6.6rem;
  left: 2.1rem;
  height: var(--after-height);
  width: 0.2rem;
  background: linear-gradient(to bottom, #003faa 0.2rem, transparent 0.2rem) 0% 0%/0.4rem 0.4rem;
}
@media screen and (min-width: 1280px) {
  .p-flow-list-content {
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    justify-content: flex-start;
  }
  .p-flow-list-content:not(:last-child) > .p-flow-list-content__step::after {
    top: 3.4rem;
    left: 10.4rem;
    height: 0.2rem;
    width: 11.5rem;
    background: linear-gradient(to right, #003faa 0.2rem, transparent 0.2rem) 0% 0%/0.4rem 0.4rem;
  }
}

.p-flow-list-content__step {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: var(--set-width);
  color: #003faa;
  font-family: 'Montserrat';
  font-size: 1rem;
  font-weight: bold;
}
@media screen and (min-width: 1280px) {
  .p-flow-list-content__step {
    font-size: 1.2rem;
  }
}

.p-flow-list-content__step-lower {
  padding-bottom: 1rem;
  font-size: 3.2rem;
  line-height: 1;
}
@media screen and (min-width: 1280px) {
  .p-flow-list-content__step-lower {
    padding: 0;
  }
}

.p-flow-list-content__text {
  padding-bottom: 1.8rem;
  width: calc(100% - 6.2rem);
}
@media screen and (min-width: 1280px) {
  .p-flow-list-content__text {
    padding: 0;
    width: 15.1rem;
  }
}

.p-flow-list-content__title {
  font-weight: bold;
}

.p-flow-list-content__step-upper,
.p-flow-list-content__text {
  padding-top: 0.6rem;
}
@media screen and (min-width: 1280px) {
  .p-flow-list-content__step-upper,
  .p-flow-list-content__text {
    padding: 0;
  }
}

.p-flow__caution {
  font-size: 1.2rem;
}

.p-navigation {
  display: flex;
  gap: 1.6rem;
  width: fit-content;
}
@media screen and (min-width: 1280px) {
  .p-navigation {
    margin-inline: auto;
  }
}

/* Footer */
.l-footer {
  position: relative;
  padding-bottom: 50px;
  background-color: #fff;
  z-index: 50;
}

.p-footer {
  padding-block: 50px ;
}

.p-footer__list {
  border-top: 1px solid #ddd;
  margin-top: 15px;
}

.p-footer__item {
  border-bottom: 1px solid #ddd;
}

.p-footer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 15px;
  font-weight: bold;
}

.p-footer__logo {
  margin-inline: auto;
  width: fit-content;
}

@media screen and (min-width: 1280px) {
  .p-footer__logo {
    height: auto;
    width: 16rem;
    margin-left: 0;
  }
}

.p-footer-external__nav,
.p-footer-external__nav-content {
  display: flex;
  align-items: center;
}

.p-footer-external__nav {
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;

  @media screen and (min-width: 1280px) {
    margin-bottom: 48px;
  }
}

.p-footer-external__nav-content {
  gap: 8px;

  &:not(:last-child)::after {
    content: "";
    display: block;
    height: 15px;
    width: 1px;
    background-color: #6a7788;
  }
}

.p-footer-external__link {
  font-size: 12px;
}

.p-footer-external__copyright {
  text-align: center;
  font-size: 12px;

  @media screen and (min-width: 1280px) {
    font-size: 13px;
  }
}

@media screen and (min-width: 1280px) {
  .p-footer-nav__list {
    display: flex;
    gap: 40px;
    border-top: none;
  }

  .p-footer-nav__item {
    border-bottom: none;
  }

  .p-footer-nav__link {
    padding: 0;

    &:hover {
      text-decoration: underline;
    }
  }
}

.c-text-link-wrapper {
  display: inline-block;
}

.c-text-link {
  display: flex;
  align-items: center;

  &:hover {
    text-decoration: underline;
  }
}

.c-text-link--color-first {
  color: #1364ef;
}

.c-text-bold {
  font-weight: bold;
}

.c-arrow {
  display: inline-block;
  position: relative;
  border-radius: 100vmax;
  height: 1.8rem;
  width: 1.8rem;
  margin-left: .5rem;
  background-color: #1364ef;

  &::before,
  &::after {
    content: "";
    position: absolute;
    top: calc(50% - .1rem);
    right: .65rem;
    border-radius: 100vmax;
    height: .2rem;
    width: .6rem;
    background-color: #fff;
    transform-origin: calc(100% - .1rem) 50%;
  }

  &::before {
    transform: rotate(45deg);
  }

  &::after {
    transform: rotate(-45deg);
  }
}

.c-arrow--color-first {
  background-color: #fff;

  &::before,
  &::after {
    background-color: #003faa;
  }
}

.c-icon {
  margin-left: .4rem;
}

@media screen and (min-width: 1280px) {
  .c-box-pc {
    border-radius: 2rem;
    padding: 5rem;
    background-color: #fff;
  }
}

@media screen and (min-width: 1280px) {
  .c-display-pc-none {
    display: none;
  }
}

@media screen and (min-width: 1280px) {
  .p-reason {
    border: .1rem solid #6a778b;
    margin-top: 5rem;
    padding-inline: 5rem;
    padding-bottom: 5rem;
  }
}

.c-margin-reset {
  margin-top: 0;
  margin-left: 0;
}

@media screen and (min-width: 1280px) {
  .c-margin-reset-pc {
    margin-block: 0;
  }
}

/* ==========================================================================
   Object > Utility (u-)
   ========================================================================== */
.u-hidden-pc { display: none !important; }
.u-hidden-sp { display: inline-block !important; }
.u-text-center { text-align: center; }
.u-fw-bold { font-weight: bold; }
.u-margin-bottom-20 { margin-bottom: 20px; }
@media screen and (min-width: 1280px) {
    .u-hidden-pc { display: inline-block !important; }
    .u-hidden-sp { display: none !important; }
    .u-text-center-pc { text-align: center; }
}
