/*----------------------------
    Contact Form
----------------------------*/
body {
  background-color: #F0F3F4;
}

.contact footer {
  background-color: #F0F3F4;
}

.contact.partner-top footer {
  background-color: #fff;
}

.contact .section-title .en {
  color: #171717;
}

.contact .section-title .ja {
  opacity: 1;
  transform: none;
}

.contact-lead {
  margin-top: 60px;
  margin-bottom: 75px;
}
@media only screen and (max-width: 767px) {
  .contact-lead {
    margin-top: 30px;
    margin-bottom: 70px;
  }
}

.contact-lead__subtitle {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: #171717;
  margin-bottom: 30px;
}
@media only screen and (max-width: 767px) {
  .contact-lead__subtitle {
    font-size: 20px;
    margin-bottom: 15px;
  }
}

.contact-lead__text {
  font-size: 16px;
  line-height: 2;
  color: #171717;
  margin-bottom: 8px;
}
@media only screen and (max-width: 767px) {
  .contact-lead__text {
    font-size: 14px;
    line-height: 2;
  }
}

.contact-lead__note {
  font-size: 13px;
  line-height: 1.6;
  color: #F4404B;
}
@media only screen and (max-width: 767px) {
  .contact-lead__note {
    font-size: 12px;
  }
}

.contact-form__container {
  background-color: var(--color-white, #fff);
  border-radius: 12px;
  padding: 55px 75px 100px 75px;
  width: 100%;
  max-width: 950px;
  margin: 0 auto 150px auto;
}

@media only screen and (max-width: 767px) {
  .contact-form__container {
    padding: 30px 16px;
    margin-bottom: 75px;
  }
}

.partner .contact-form__container {
  margin-bottom: 75px;
}

.partner .contact-form__container.last {
  margin-bottom: 150px;
}
@media only screen and (max-width: 767px) {
  .partner .contact-form__container.last {
    margin-bottom: 75px;
  }
}

.contact-form__section-title + .contact-form__container {
  margin-top: 20px;
}
@media only screen and (max-width: 767px) {
  .contact-form__section-title + .contact-form__container {
    margin-top: 30px;
  }
}

.contact-form__section-title {
  max-width: 950px;
  width: 100%;
  margin-inline: auto;
  font-size: 24px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}
@media only screen and (max-width: 767px) {
  .contact-form__section-title {
    font-size: 20px;
  }
}

.form-sub-title {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  margin: 0;
}

/*----------------------------
    Form Groups
----------------------------*/
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media only screen and (max-width: 767px) {
  .contact-form {
    gap: 20px;
  }
}

.form-group {
  display: flex;
  align-items: flex-start;
}
@media only screen and (max-width: 767px) {
  .form-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media only screen and (max-width: 767px) {
  .form-group--subtitle {
    margin-top: 20px;
  }
}

.form-label {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black, #333);
  width: 225px;
  flex-shrink: 0;
  padding-top: 12px;
}
@media only screen and (max-width: 767px) {
  .form-label {
    font-size: 14px;
    width: 100%;
    padding-top: 0;
  }
}

.form-label .required {
  color: #F4404B;           
  font-size: 0.55em;       
  vertical-align: super;
  line-height: 1;          
  margin-left: 2px;
  font-weight: normal;
}

.form-input__wrap {
  flex-grow: 1;
  width: 100%;
}

.form-input__col2 {
  display: flex;
  gap: 15px;
  width: 100%;
}
@media only screen and (max-width: 767px) {
  .form-input__col2 {
    gap: 15px;
  }
}

.form-input__unit {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.form-input__unit .form-control {
  flex: 1;
  width: 100%;
}

.form-input__unit-text {
  font-size: 15px;
  color: #333;
  white-space: nowrap;
  flex-shrink: 0;
}
@media only screen and (max-width: 767px) {
  .form-input__unit-text {
    font-size: 14px;
  }
}

@media only screen and (max-width: 767px) {
  .form-input__unit {
    gap: 8px;
  }
}

/*----------------------------
    Form Controls (Inputs, Select, Textarea)
----------------------------*/
.form-control {
  display: block;
  background-color: #f2f4f5;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #333;
  font-size: 16px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  outline: none;
}
@media only screen and (max-width: 767px) {
  .form-control {
    font-size: 14px;
  }
}
.form-control::placeholder {
  color: #a0a0a0;
}
.form-control:focus {
  background-color: #fff;
  border-color: var(--color-palette-blue, #0056b3);
}

.form-select__wrap {
  position: relative;
  margin-top: 12px;
}

.form-select__wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: #2b2b2b;
  border-radius: 8px;
  pointer-events: none;
  z-index: 1;
}
.form-select__wrap::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 20px;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  pointer-events: none;
  z-index: 2;
}

.form-select {
  appearance: none;
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  .form-select,
  .form-select option {
    font-size: 14px;
  }
}

.form-select:invalid,
.form-select:has(option[value=""]:checked) {
  color: #a0a0a0;
}

.form-textarea {
  height: 270px;
  resize: vertical;
}
@media only screen and (max-width: 767px) {
  .form-textarea {
    height: 250px;
  }
}

.dynamic-checkbox-container .form-textarea {
  height: 208px;
}
@media only screen and (max-width: 767px) {
  .dynamic-checkbox-container .form-textarea {
    height: 140px;
  }
}

.form-radio-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 8px;
}

.form-radio {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.form-radio__input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  outline: none;
}

.form-radio__text {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: #333;
}
@media only screen and (max-width: 767px) {
  .form-radio__text {
   font-size: 14px;
  }
}

.form-radio__text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #F0F3F4;
  transition: background-color 0.2s ease;
}

.form-radio__text::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%) scale(0);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
  transition: transform 0.2s ease;
}

.form-radio__input:checked + .form-radio__text::before {
  background-color: #333;
}

.form-radio__input:checked + .form-radio__text::after {
  transform: translateY(-50%) scale(1);
}

.dynamic-checkbox-container {
  margin-top: 24px;
}

.form-guide-text {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
  .form-guide-text {
    font-size: 14px;
  }
}

.other-job-wrap {
  margin-top: 24px;
}

.form-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
}

.form-checkbox__input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  outline: none;
}

.form-checkbox__text {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.form-checkbox__text::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background-color: #f2f4f5;
  transition: background-color 0.2s ease;
}

.form-checkbox__text::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.form-checkbox__input:checked + .form-checkbox__text::before {
  background-color: #333;
}

.form-checkbox__input:checked + .form-checkbox__text::after {
  transform: rotate(45deg) scale(1);
}

.form-file {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-file__label {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.form-file__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.form-file__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2A2A2A;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

.form-file__label:hover .form-file__btn {
  background-color: #444;
}

.form-file__name {
  font-size: 14px;
  color: #171717;
}

.form-file__notes {
  margin-top: 16px;
}

.form-file__note {
  font-size: 13px;
  line-height: 1.3;
  color: #909090;
  margin: 0;
}

.form-note {
  font-size: 13px;
  color: #909090;
  margin-top: 6px;
}
@media only screen and (max-width: 767px) {
  .form-note {
    font-size: 12px;
  }
}

.mt-12 {
  margin-top: 12px;
}
@media only screen and (max-width: 767px) {
  .sp-mt-12 {

  }
}

.mt-30 {
  margin-top: 30px;
}
@media only screen and (max-width: 767px) {
  .sp-mt-30 {
    margin-top: 20px;
  }
}

/* ── Privacy Box ── */
.privacy-box {
  border: 1px solid #909090;
  border-radius: 10px;
  padding: 40px;
  margin-top: 60px;
  background-color: #fff;
}
@media only screen and (max-width: 767px) {
  .privacy-box {
    padding: 50px 16px 30px 16px;
    margin-top: 20px;
  }
}

.privacy-box__title {
  font-size: 14px;
  text-align: center;
  margin-bottom: 30px;
}
@media only screen and (max-width: 767px) {
  .privacy-box__title {
    text-align: left;
  }
}

.privacy-box__content {
  max-height: 400px;
  overflow-y: auto;
  font-size: 12px;
  color: #555;
  line-height: 1.7;
  padding-right: 8px;
}

.privacy-box__content::-webkit-scrollbar {
  width: 6px;
}
.privacy-box__content::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.form-submit__wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.contact-submit-btn {
  width: 408px;
}
@media only screen and (max-width: 767px) {
  .contact-submit-btn {
    width: 100%;
    padding: 12px 12px 12px 20px;
    align-items: center;
  }
}

.contact-submit-btn .btn__text {
  font-size: 16px;
  height: 1.2em;
  line-height: 1.2;
}
@media only screen and (max-width: 767px) {
  .contact-submit-btn .btn__text {
    font-size: 14px;
    height: 2.8em;
    line-height: 1.4;
    text-align: left;
  }
}

.contact-submit-btn .btn__text-item {
  height: 1.2em;
  line-height: 1.2;
}
@media only screen and (max-width: 767px) {
  .contact-submit-btn .btn__text-item {
    height: 2.8em;
    line-height: 1.4; 
  }
}

@media (hover: hover) {
  .contact-submit-btn:hover .btn__text-inner {
    transform: translateY(-1.2em);
  }
}

@media only screen and (max-width: 767px) {
  .contact-submit-btn .btn__icon {
    flex-shrink: 0;
  }
}


/*----------------------------
    Contact Form(Confirm)
----------------------------*/
.contact-form--confirm .contact-form__container {
  padding: 45px 90px;
  margin-bottom: 0;
}
@media only screen and (max-width: 767px) {
  .contact-form--confirm .contact-form__container {
    padding: 20px 15px;
  }
}


.contact-form--confirm .form-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 5px 0;
}

.contact-form--confirm .form-group--top {
  align-items: flex-start;
}

.contact-form--confirm .contact-form__body .form-group:last-child {
  margin-bottom: 0;
}

.contact-form--confirm .form-label {
  font-size: 14px;
  color: #909090;
  padding-top: 0;
}

.contact-form__confirm-value {
  font-size: 16px;
  line-height: 1.6;
  color: #171717;
  margin: 0;
  word-break: break-word;
}
@media only screen and (max-width: 767px) {
  .contact-form__confirm-value {
    font-size: 14px;
  }
}

.contact-form__confirm-value--address p {
  margin: 0 0 12px;
}
@media only screen and (max-width: 767px) {
  .contact-form__confirm-value--address p {
    margin: 0 0 6px;
  }
}

.contact-form__confirm-value--address p:last-child {
  margin-bottom: 0;
}

.contact-form__confirm-value--textarea {
  line-height: 2;
}

.contact-form__submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 40px 0 128px 0;
  width: 100%;
}
@media only screen and (max-width: 767px) {
  .contact-form__submit-wrap {
    margin: 30px 0 70px 0;
  }
}

.contact-form__submit-wrap .contact-submit-btn {
  width: 300px;
  max-width: 300px;
  padding-left: 110px;
  height: 60px;
}

@media only screen and (max-width: 767px) {
  .contact-form__submit-wrap .contact-submit-btn .btn__text {
    font-size: 16px;
    height: 1.2em;
  }
  .contact-form__submit-wrap .contact-submit-btn .btn__text-item {
    height: 1.2em;
    line-height: 1.2;
  }
}

.btn-confirm-back {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  height: 60px;
  background-color: #fff;
  color: #333;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-confirm-back__icon {
  position: absolute;
  left: 10px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: #F0F3F4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.btn-confirm-back__icon::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #171717;
  border: none;
  transform: rotate(0deg);
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) {
  .btn-confirm-back:hover .btn-confirm-back__icon::before {
    width: 7px;
    height: 7px;
    border-radius: 0;
    background-color: transparent; 
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: scaleY(1.2) rotate(-45deg);
    margin-left: 3px;
    transition: none;
  }
}

.btn-confirm-back:hover .btn-confirm-back__icon {
  background-color: #484848;
}

.personal-confirm .contact-form--confirm {
  gap: 20px;
}
@media only screen and (max-width: 767px) {
  .personal-confirm .contact-form--confirm {
    gap: 30px;
  }
}
.personal-confirm .contact-form__container {
  margin-bottom: 50px;
}
@media only screen and (max-width: 767px) {
  .personal-confirm .contact-form__container {
    margin-bottom: 40px;
  }
}
.personal-confirm .contact-form__container.last {
  margin-bottom: 10px;
}
.personal-confirm .contact-form__section-title + .contact-form__container {
  margin-top: 0;
}

/*----------------------------
    Contact Form(Thanks)
----------------------------*/
.btn-thanks-back {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  height: 60px;
  background-color: #2A2A2A;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-thanks-back__icon {
  position: absolute;
  left: 10px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: #484848;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.btn-thanks-back__icon::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #fff;
  border: none;
  transform: rotate(0deg);
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) {
  .btn-thanks-back:hover .btn-thanks-back__icon::before {
    width: 7px;
    height: 7px;
    border-radius: 0;
    background-color: transparent; 
    border-top: 2px solid #171717;
    border-left: 2px solid #171717;
    transform: scaleY(1.2) rotate(-45deg);
    margin-left: 3px;
    transition: none;
  }
}

.btn-thanks-back:hover .btn-thanks-back__icon {
  background-color: #fff;
}

/*----------------------------
    Contact Top
----------------------------*/
.section-contact-top {
  margin-bottom: 130px;
}
@media only screen and (max-width: 767px) {
  .section-contact-top {
    margin-bottom: 100px;
  }
}

.section-contact-top .contact-lead {
  margin-bottom: 100px;
}
@media only screen and (max-width: 767px) {
  .section-contact-top .contact-lead {
    margin-bottom: 30px;
  }
}

.section-contact-top .contact-lead__text {
  margin-bottom: 0;
}

.contact-top__container {
  width: 100%;
  margin: 0 auto;
}

.contact-top__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px; /* 【PC】カード間の余白を上下左右40pxで均等に（元 40px 50px） */
  list-style: none;
  padding: 0;
  margin: 0;
}
@media only screen and (max-width: 767px) {
  .contact-top__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.contact-top__item {
  display: flex;
}

.contact-top__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 220px;
  background-color: #fff;
  border-radius: 5px;
  padding: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media only screen and (max-width: 767px) {
  .contact-top__card {
    padding: 30px 20px;
    min-height: 180px;
  }
}

.contact-top__card .btn__icon-square {
  background-color: #484848;
}

.contact-top__card .btn__icon-circle {
  background-color: #fff;
}
@media only screen and (max-width: 767px) {
  .contact-top__card .btn__icon-circle {
    border-radius: 3px;
    height: 5px;
    width: 5px;
  }
}

.contact-top__card .btn__icon {
  position: absolute;
  right: 24px;
  bottom: 24px;
}
@media only screen and (max-width: 767px) {
  .contact-top__card .btn__icon {
    right: 10px;
    bottom: 10px;
  }
}

.contact-top__card-title {
  font-size: 24px;
  font-weight: 400;
  color: #171717;
  margin: 0 0 16px;
  line-height: 1.4;
}
@media only screen and (max-width: 767px) {
  .contact-top__card-title {
    font-size: 20px;
  }
}

.contact-top__card-text {
  font-size: 16px;
  color: #555;
  line-height: 2;
  margin: 0;
}
@media only screen and (max-width: 767px) {
  .contact-top__card-text {
    font-size: 14px;
    margin-bottom: 15px;
  }
}

.contact-top__card--has-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
}

/* 外部リンク付きのカード（都庁北展望室）：外部リンク以外はカード全体をメインリンクのクリック・ホバー範囲にする */
.contact-top__card--has-link .contact-top__card-main-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.contact-top__card--has-link .contact-top__card-sub {
  position: relative;
  z-index: 2;
  pointer-events: none;
  cursor: auto;
}
.contact-top__card--has-link .contact-top__external-link {
  pointer-events: auto;
}

.contact-top__card-main-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 50px 50px 16px;
  text-decoration: none;
}
@media only screen and (max-width: 767px) {
  .contact-top__card-main-link {
    padding: 24px 24px 12px;
  }
}

.contact-top__card-sub {
  padding: 0 50px 50px;
  margin-top: -12px;
  z-index: 2;
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  .contact-top__card-sub {
    padding: 0 20px 24px;
    margin-bottom: 25px;
  }
}

.contact-top__external-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #171717;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-top__external-link:hover {
  opacity: 0.7;
}

.contact-top__external-icon {
  stroke: #171717;
}

.contact-top__note {
  margin-top: 50px;
}
@media only screen and (max-width: 767px) {
  .contact-top__note {
    margin-top: 20px;
  }
}

.contact-top__note-text {
  font-size: 12px;
  line-height: 1.75;
  color: #171717;
  margin: 0;
}

@media (hover: hover) {
  /* 外部リンク付きのカード（都庁北展望室）は、カード全体ではなくメインリンクのホバー時だけ矢印の四角の色を変える
     （下の外部リンク部分をホバーすると --hover-color が未設定のまま四角が透明になり、白い矢印が見えなくなっていたため） */
  .contact-top__card:not(.contact-top__card--has-link):hover .btn__icon-square,
  .contact-top__card-main-link:hover .btn__icon-square {
    background-color: var(--hover-color);
  }

  .contact-top__card:not(.contact-top__card--has-link):hover .btn__icon-circle,
  .contact-top__card-main-link:hover .btn__icon-circle {
    background: transparent;
  }

  .contact-top__card:not(.contact-top__card--has-link):hover .btn__icon-circle::after,
  .contact-top__card-main-link:hover .btn__icon-circle::after {
    opacity: 1;
    transform: scale(1);
    background-image: url(../img/icon_arrow_white.svg);
  }
}

/*----------------------------
    Partner Top
----------------------------*/
body.partner-top {
  background-color: #fff;
}

.section-partner-top {
  margin-bottom: 150px;
}
@media only screen and (max-width: 767px) {
  .section-partner-top {
    margin-bottom: 100px;
  }
}

.section-partner-top .contact-lead {
  margin-bottom: 40px;
}
@media only screen and (max-width: 767px) {
  .section-partner-top .contact-lead {
    margin-bottom: 70px;
  }
}

.partner-top__container {
  width: 100%;
  margin: 0 auto;
}

.partner-top__sub-note {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
  .partner-top__sub-note {
    font-size: 14px;
  }
}

.partner-top__section {
  margin-top: 100px;
}
@media only screen and (max-width: 767px) {
  .partner-top__section {
    margin-top: 70px;
  }
}

.partner-top__section-title {
  font-size: 24px;
  font-weight: 400;
  color: #171717;
  margin: 0 0 50px;
}
@media only screen and (max-width: 767px) {
  .partner-top__section-title {
    font-size: 20px;
    margin: 0 0 30px;
  }
}

.partner-top__entry-list {
  display: grid;
  grid-template-columns: repeat(2, 450px);
  justify-content: start;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media only screen and (max-width: 767px) {
  .partner-top__entry-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.partner-top__entry-item {
  padding: 20px;
  background-color: #F0F3F4;
  position: relative;
  border-radius: 10px;
}

.partner-top__entry-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-top__entry-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.partner-top__entry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.partner-top__entry-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0px 40px 0px;
}

.partner-top__entry-title {
  font-size: 14px;
  font-weight: 400;
  color: #171717;
  line-height: 1.4;
  padding-right: 40px;
}
@media only screen and (max-width: 767px) {
  .partner-top__entry-title {
    font-size: 16px;
  }
}

.partner-top__entry-body .btn__icon {
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.partner-top__entry-card .btn__icon-square {
  background-color: #484848;
}

.partner-top__entry-card .btn__icon-circle {
  background-color: #fff;
}
@media only screen and (max-width: 767px) {
  .partner-top__entry-card .btn__icon-circle {
    border-radius: 3px;
    height: 5px;
    width: 5px;
  }
}

@media (hover: hover) {
  .partner-top__entry-item:hover .btn__icon-square {
    background-color: var(--hover-color);
  }

  .partner-top__entry-item:hover .btn__icon-circle {
    background: transparent;
  }

  .partner-top__entry-item:hover .btn__icon-circle::after {
    opacity: 1;
    transform: scale(1);
    background-image: url(../img/icon_arrow_white.svg);
  }
}

.partner-top__job-card {
  background-color: #f7f7f7;
  border-radius: 12px;
  padding: 30px 50px;
}
@media only screen and (max-width: 767px) {
  .partner-top__job-card {
    padding: 18px 20px 20px;
  }
}

.partner-top__job-list {
  margin: 0;
  padding: 0;
}

.partner-top__job-item {
  display: grid;
  grid-template-columns: 480px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid #e5e5e5;
}
@media only screen and (max-width: 767px) {
  .partner-top__job-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.partner-top__job-item:first-child {
  padding-top: 0;
}

.partner-top__job-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.partner-top__job-label {
  font-size: 20px;
  font-weight: 400;
  color: #171717;
  margin: 0;
}
@media only screen and (max-width: 767px) {
  .partner-top__job-label {
    font-size: 18px;
  }
}

.partner-top__job-detail {
  margin: 0;
}

.partner-top__job-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-top__job-detail li {
  position: relative;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  padding-left: 20px;
  margin-bottom: 4px;
}

.partner-top__job-detail li:last-child {
  margin-bottom: 0;
}

.partner-top__job-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background-color: #2A2A2A;
  border-radius: 3px;
}

.partner-top__category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media only screen and (max-width: 767px) {
  .partner-top__category-list {
    gap: 20px;
  }
}

.partner-top__category-accordion {
  background-color: #f7f7f7;
  border-radius: 12px;
  overflow: hidden;
}

.partner-top__category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 50px;
  font-weight: 400;
  font-size: 20px;
  color: #171717;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
@media only screen and (max-width: 767px) {
  .partner-top__category-header {
    padding: 20px 15px;
  }
}

.partner-top__category-arrow {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: #2b2b2b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.partner-top__category-arrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: rotate(135deg);
  margin-top: -3px;
}

.partner-top__category-content {
  padding: 0 50px 15px;
}
@media only screen and (max-width: 767px) {
  .partner-top__category-content {
    padding: 0 20px 15px;
  }
}

.partner-top__category-block {
  margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
  .partner-top__category-block {
    margin-bottom: 15px;
  }
}


.partner-top__category-accordion.is-open .partner-top__category-arrow::before {
  transform: rotate(-45deg);
  margin-top: 3px;
}

.partner-top__category-block:last-child {
  margin-bottom: 0;
}

.partner-top__category-sub-title {
  position: relative;
  font-size: 14px;
  color: #171717;
  padding-left: 20px;
  margin: 0 0 12px;
}

.partner-top__category-sub-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background-color: #2A2A2A;
  border-radius: 3px;
}

.partner-top__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 20px;
}

.partner-top__tag {
  display: inline-block;
  background-color: #fff;
  font-size: 13px;
  color: #484848;
  padding: 5px 15px;
  border-radius: 5px;
}

@media (hover: hover) {
  .partner-top__entry-card:hover::after {
    background: var(--hover-color);
    transform: scale(1.0667);
  }
}

/* パートナー募集業種 余白統一（青：20px／緑：12px） */
.partner-top__category-header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.partner-top__category-content {
  padding-bottom: 28px;
}
.partner-top__category-block {
  margin-bottom: 12px;
}
.partner-top__tags {
  padding-bottom: 8px;
}
.partner-top__category-block:last-child {
  margin-bottom: 0;
}
.partner-top__category-block:last-child .partner-top__tags {
  padding-bottom: 0;
}
.partner-top__category-block:last-child .partner-top__category-sub-title:last-child {
  margin-bottom: 0;
}
