@import 'https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,500,700&display=swap';
@import 'https://use.fontawesome.com/releases/v5.10.2/css/all.css';

:root {
  --c-needs-nav: #fff; /* ニーズタブ背景 */
  --c-input-select: #0e2331; /* タブ選択時 */
  --c-input-select1: #d9a62e; /* タブ選択時 */
  --c-input-select2: #38a1db; /* タブ選択時 */
  --c-input-select3: #db7093; /* タブ選択時 */
  --c-input-select4: #82ae46; /* タブ選択時 */
  --c-input-select5: #e17b34; /* タブ選択時 */
  --c-input-select6: #708090; /* タブ選択時 */
  --c-input: #0e469e; /* タブ通常時 */
  --c-needs-bg: #ebf0f7; /* ニーズ一覧背景 */
  --c-side_signup: #c8a605; /* 右サイド新規登録ボタン */
  --c-needs-title: #1962ab; /* ニーズ記事タイトル */
  --c-btn-contact: #00489d; /* お問い合わせボタン */
  --c-btn-contact2: #b22d00; /* 訪問・見学申し込みボタン */
  --c-btn-normal: linear-gradient(270deg, #0e469e 0%, #2860b8 50%, #0e469e 100%); /* 詳細を見る */
  --c-main: #806f16; /* footer-右側ボックス背景 */
  --c-footer-gradient: #2860b8; /* footer-contact背景 */
}

html,
body,
div,
span,
applet,
object,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font: inherit;
  line-height: inherit;
  vertical-align: baseline;
  border: 0;
}

p {
  color: #353535;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

img {
  vertical-align: middle;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: '';
  content: none;
}

input,
textarea {
  padding: 0;
  margin: 0;
}

ol,
ul {
  list-style: none;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

caption,
th {
  text-align: left;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  background-color: inherit;
  border: none;
  border-radius: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body * {
  text-size-adjust: 100%;
}

a img {
  transition-duration: 0.2s;
  transition-property: opacity;
  backface-visibility: hidden;
}

a:hover img {
  opacity: 0.8;
}

input[type='submit'],
input[type='button'] {
  box-sizing: content-box;
  box-sizing: border-box;
  box-sizing: border-box;
  appearance: button;
  cursor: pointer;
  border: none;
  border-radius: 0;
}

input[type='submit']::-webkit-search-decoration,
input[type='button']::-webkit-search-decoration {
  display: none;
}

input[type='submit']:focus,
input[type='button']:focus {
  outline-offset: -2px;
}

input[type='radio'],
input[type='checkbox'] {
  display: none;
}

input[type='radio']:checked + label {
  background: var(--c-input-select);
}

input[type='radio']:checked + label.cate01 {
  background: var(--c-input-select1);
}

input[type='radio']:checked + label.cate02 {
  background: var(--c-input-select2);
}

input[type='radio']:checked + label.cate03 {
  background: var(--c-input-select3);
}

input[type='radio']:checked + label.cate04 {
  background: var(--c-input-select4);
}

input[type='radio']:checked + label.cate05 {
  background: var(--c-input-select5);
}

input[type='radio']:checked + label.cate06 {
  background: var(--c-input-select6);
}

html {
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
  font-size: 62.5%;
}

body {
  font-size: 16px;
  font-size: 1.7rem;
  line-height: 1.8;
  color: #000;
  background: var(--c-input);
}

.pc {
  display: block;
}

.sp,
.tb {
  display: none;
}

a {
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

.btn a {
  position: relative;
  display: block;
  max-width: 330px;
  padding: 10px;
  margin: auto;
  color: #fff;
  text-align: center;
  background: var(--c-btn-normal);
  background-position: 1% 50%;
  background-size: 200% auto;
  border-radius: 30px;
  transition: all 0.3s ease-out;
}

.btn a:hover {
  color: #fff;
  background-position: 99% 50%;
}

.btn a::after,
.btn_gray a::after {
  position: absolute;
  top: calc((100% - 6px) / 2);
  right: 20px;
  width: 6px;
  height: 6px;
  content: '';
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
}

.btn_gray a {
  position: relative;
  display: block;
  max-width: 365px;
  padding: 10px;
  margin: auto;
  color: #fff;
  text-align: center;
  background: #353535;
  background-position: 1% 50%;
  background-size: 200% auto;
  border-radius: 30px;
  transition: all 0.3s ease-out;
}

.btn_gray a:hover {
  background: #666;
}

@media screen and (width <= 1000px) {
  body {
    font-size: 14px;
  }

  .pc {
    display: none;
  }

  .tb {
    display: block;
  }

  .sp {
    display: none;
  }
}

/* MAIN HEADER----------------------- */
.mainvisual__logo {
  display: flex;
  grid-column: 1 / span 8;
  gap: 10px;
}

.mainvisual__header {
  grid-column: 9 / span 4;
}

.mainvisual__logo_sme {
  display: flex;
  gap: 10px;
  width: 80%;
  max-width: 700px;
}

.mainvisual__logo_sme img {
  background: #fff;
  border-radius: 8px;
}

.mainvisual__logo_others {
  display: flex;
  gap: 5px;
  width: 40%;
}

.mainvisual__logo_others img {
  display: inline-block;
  width: auto;
  height: auto;
  max-height: 50px;
  border-radius: 5px;
}

@media screen and (width <= 1000px) {
  .mainvisual__logo_sme img {
    border-radius: 5px;
  }
}

@media screen and (width <= 767px) {
  .mainvisual__logo_sme {
    gap: 5px;
    width: 90%;
    max-width: 360px;
  }

  .mainvisual__logo_others {
    justify-content: center;
    width: 55%;
  }

  .mainvisual__logo_sme img,
  .mainvisual__logo_others img {
    border-radius: 3px;
  }
}

.mainvisual__nav {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: end;
  margin-left: auto;
}

.mainvisual__nav ul {
  display: flex;
  align-self: flex-start;
}

.mainvisual__nav a {
  display: grid;
  place-content: center;
  place-items: center;
  height: 68px;
  padding: 14px 20px;
  line-height: 1em;
  text-align: center;
  transition: all ease 0.3s;
}

.mainvisual__nav a:hover {
  opacity: 0.8;
}

.mainvisual__nav a span {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.2em;
}

.mainvisual__list a {
  width: 140px;
  font-size: 15px;
}

@media screen and (width <= 1000px) {
  .mainvisual__list a {
    width: 110px;
  }
}

.mainvisual__signup a {
  color: #fff;
  background: #000;
  border-radius: 5px;
}

.mainvisual__signup a:hover {
  background: #c8a605;
  opacity: 1;
}

.mainvisual__link a {
  padding: 12px 10px;
  margin-left: 5px;
  background: #fff;
  border-radius: 5px;
}

.mainvisual__link a:hover {
  opacity: 1;
}

.mainvisual__link a img {
  /*width: 80px;*/
}

.mainvisual__link a:hover img {
  opacity: 0.7;
}

.mainvisual__lang {
  margin-right: 5px;
}

.mainvisual__lang > li {
  display: block;
  position: relative;
  height: auto;
  margin: 0;
  padding: 0;
  padding: 10px 8px 10px 10px;
  border-top: none;
  background: #ffffff;
  color: #000000;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.mainvisual__lang > li:after {
  display: inline-block;
  position: relative;
  top: calc((100% -5px) / 2);
  bottom: 3px;
  transform: rotate(135deg);
  width: 5px;
  height: 5px;
  margin-left: 5px;
  border-top: 1px solid #666666;
  border-right: 1px solid #666666;
  content: "";
}

.mainvisual__lang li ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.mainvisual__lang li ul li {
  height: 0;
  overflow: hidden;
  background: #efefef;
  color: #333333;
  transition: 0.2s;
}

.mainvisual__lang li ul li a {
  display: block;
  height: auto;
  padding: 10px 8px 10px 10px;
}

.mainvisual__lang li ul li:after {
  content: none;
}

.mainvisual__lang li ul li:first-child {
  border-top: none;
}

.mainvisual__lang li:hover:after {
  bottom: 0;
  transform: rotate(-45deg);
  transition: 0.1s;
}

.mainvisual__lang li:hover ul li {
  height: 32px;
  overflow: visible;
}

.mainvisual__lang li ul li:hover {
  background: #d2c9ba;
  transition: 0.5s;
}

/* MAIN VS----------------------- */
.mainvisual {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: repeat(12, 1fr);
  justify-content: space-between;
  min-height: 500px;
  padding: 20px 50px;
  overflow: hidden;
  background-image: url('../images/bg_text.png'), url('../images/bg_reborn_pc.jpg');
  background-repeat: no-repeat, no-repeat;
  background-position: left 1vw bottom -1vw, center bottom;
  background-size: 31.5vw, cover;
  background-blend-mode: soft-light, normal;
}

@media screen and (width <= 1200px) {
  .mainvisual {
    gap: 10px;
    min-height: 400px;
    padding: 20px 40px;
  }
}

.mainvisual::after {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  display: block;
  width: 35%;
  height: 100%;
  content: '';
  background: url('../images/img_main.png') no-repeat center left / cover;
}

@media screen and (width <= 880px) {
  .mainvisual::after {
    width: 40%;
  }
}

.mainvisual__box {
  display: flex;
  flex-direction: column;
  grid-row-start: 2;
  grid-column: span 8;
  justify-content: center;
}

.mainvisual__titlearea {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  padding: 20px 0 30px;
}

.mainvisual__title {
  position: relative;
}

.mainvisual__subtitle {
  position: relative;
  padding: 8px 0;
  margin: 5px 0 -20px;
  font-size: clamp(1rem, 0.568rem + 2.16vw, 2.188rem);
  color: #000;
  letter-spacing: 0.1em;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.mainvisual__subtitle2 {
  color: #000;
  font-size: clamp(1rem, 0.568rem + 2.4vw, 3rem);
  text-align: right;	
}

@media screen and (width <= 1000px) {
  .mainvisual__subtitle {
    font-size: 13px;
  }
}

.mainvisual__btn {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  grid-row-start: 2;
  grid-column: 9 / span 4;
  justify-content: end;
  width: 100%;
  min-width: 200px;
  padding-left: 20px;
}

.mainvisual__btn p {
  width: fit-content;
  margin-left: auto;
}

.mainvisual__btn p + p {
  margin-top: 10px;
}

.mainvisual__btn p a {
  position: relative;
  display: block;
  padding: 15px 25px 15px 20px;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.3;
  color: #fff;
  background: #2860b8;
  border-radius: 5px;
  transition: all ease 0.3s;
}

@media screen and (width <= 1000px) {
  .mainvisual__btn p a {
    font-size: 14px;
  }
}

.mainvisual__btn p a:hover {
  background: #052e6e;
}

.mainvisual__btn p a::after {
  position: absolute;
  top: calc((100% - 8px) / 2);
  right: 10px;
  display: inline-block;
  width: 8px;
  height: 8px;
  content: '';
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transition: all ease 0.3s;
  transform: rotate(45deg);
}

.mainvisual__btn p a:hover::after {
  right: 5px;
}

.mainvisual__pagelink {
  z-index: 1;
  width: 100%;
  max-width: 280px;
  margin-top: 20px;
}

.mainvisual__pagelink a {
  position: relative;
  z-index: 3;
  display: block;
  padding: 8px 20px;
  font-weight: 500;
  color: #fff;
  background: #000;
  background-position: 1% 50%;
  background-size: 200% auto;
  border-radius: calc(1px / 0);
  transition: all 0.3s ease-out;
}

.mainvisual__pagelink a::after {
  position: absolute;
  top: calc((100% - 5px) / 2);
  right: 15px;
  width: 5px;
  height: 5px;
  margin: auto;
  content: '';
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transition: all ease 0.3s;
  transform: rotate(45deg);
}

.mainvisual__pagelink a:hover {
  background: #c8a605;
  opacity: 1;
}

.mainvisual__pagelink2 {
  z-index: 1;
  width: 100%;	
  max-width: 500px;
  margin-top: 20px;
}

.mainvisual__pagelink2 {
  display: block;
  position: relative;
  padding: 8px 20px;
  background: #ffffff;
  /*border-radius: calc(1px / 0);*/
  background-position: 1% 50%;
  background-size: 200% auto;
  color: #000000;
  transition: all 0.3s ease-out;
  font-weight: 500;
  z-index: 3;
  text-align: center;	
}

.main-signup {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.main-signup .btn_gray {
  margin-top: 2vw;
}

.main-signupL,
.main-signupR {
  padding: 2.5vw;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px 1px rgb(0 0 0 / 10%);
}

.main-signupL {
  width: calc(67% - 20px);
}

.main-signupR {
  width: 33%;
}

.main-signupR2 {
  padding: 2.5vw;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px 1px rgb(0 0 0 / 10%);
}

.main-signupR2 {
  width: 33%;
}

.main-signupL h2 {
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: bold;
}

.main-signupsttl {
  font-size: clamp(14px, 1vw, 20px);
  color: #1962ab;
}

.main-signupsttl::before {
  display: inline-block;
  width: 14px;
  height: 17px;
  margin-top: 1vw;
  margin-right: 5px;
  content: '';
  background: url('../images/icon_kaiinn.svg') no-repeat center center / contain;
}

.main-signupR {
  color: #fff;
  background: url('../images/singupR.png') #37acdd no-repeat center bottom 1px / cover;
}

.main-signupR h2 {
  margin-bottom: 1vw;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: bold;
}

.main-signupR .txt {
  font-size: clamp(14px, 1vw, 16px);
  color: #fff;
}

/* NEEDS----------------------- */
.needs-nav {
  background: var(--c-needs-nav);
}

.needs-search-title {
  margin: 5vw 0 0;
  font-size: clamp(24px, 1.875vw, 30px);
  font-weight: bold;
  color: var(--c-needs-title);
  text-align: center;
}

.needs-nav .txt {
  padding: 2vw 5vw 0;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.needs-search-select {
  padding: 8px 20px 8px 0;
  font-size: 23px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.1em;
}

.needs-nav .bd {
  background: #fff;
  border-radius: 5px;
}

.needs-nav .bg_blue {
  padding: 20px 5vw 1vw;
  margin: 0;
  font-size: 20px;
  background-color: var(--c-needs-bg);
}

.needs-search-select img {
  width: 20px;
  margin-right: 5px;
}

.needs-nav__update {
  margin-bottom: 2vw;
  text-align: center;
}

.needs-search {
  display: flex;
  gap: 0 2px;
  justify-content: center;
}

.needs-search-main {
  gap: 5px;
  max-width: 1200px;
  padding: 0 5vw;
  margin: auto;
  container-type: inline-size;
}

.needs-search-main li {
  width: calc(100% / 4);
  background-color: var(--c-input);
  border-radius: 5px 5px 0 0;
}

.needs-search-main label {
  display: block;
  height: 100%;
  padding: 10px 20px 5px;
  font-size: 12px;
  line-height: 1.3em;
  color: #fff;
  text-align: center;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  transition: all ease 0.5s;
}

@media screen and (width <= 1000px) {
  .needs-search-main label {
    padding: 10px 15px 5px;
    font-size: 12px;
  }
}

.needs-search-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0 0 20px;
}

.needs-search-sub label span {
  display: block;
  padding: 5px 20px;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  border: 1px solid #c0e4e4;
  border-radius: 100px;
}

label input:checked + span {
  color: #fff;
  background: var(--c-needs-title);
  border: 1px solid var(--c-needs-title);
}

.needs-nav li img {
  width: 48px;
  margin-bottom: 3px;
}

.needs-nav .needs-nav-btn {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 10px;
  transition: all ease 0.3s;
}

.needs-nav label:hover img {
  position: relative;
  animation: btn 0.5s ease-in-out 1 forwards;
}

@keyframes btn {
  0% {
    transform: scale(1, 1) translate(0, 0);
  }

  50% {
    transform: scale(0.98, 1.05) translate(0, -8px);
  }

  100% {
    transform: scale(1, 1) translate(0, 0);
  }

  0%,
  100% {
    opacity: 1;
  }
}

.bg_blue h3 {
  position: relative;
  margin: 8px 0;
  font-size: 18px;
  font-weight: normal;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.5s ease;
}

.bg_blue h3::before,
.bg_blue h3::after {
  position: absolute;
  width: 15px;
  height: 1px;
  content: '';
  background-color: #333;
}

.bg_blue h3::before {
  top: 48%;
  right: 15px;
  transform: rotate(0deg);
}

.bg_blue h3::after {
  top: 48%;
  right: 15px;
  transform: rotate(90deg);
}

.bg_blue h3.close::before {
  transform: rotate(45deg);
}

.bg_blue h3.close::after {
  transform: rotate(-45deg);
}

.needs-search-box {
  display: none;
  margin: 0 15px 15px;
}

@media screen and (width <= 767px) {
  .bg_blue h3 {
    padding: 10px 15px 10px 0;
    font-size: 12px;
  }

  .bg_blue h3::before,
  .bg_blue h3::after {
    right: 10px;
    width: 10px;
  }

  .bg_blue h3 span {
    width: 20px;
    height: 20px;
  }

  .bg_blue h3 img {
    width: 16px;
  }

  .needs-search-box {
    display: none;
    margin: 0 0 15px;
    font-size: 12px;
  }

  .needs-search-box span {
    width: 20px;
    height: 20px;
  }

  .needs-search-sub label span {
    display: inline;
  }
}

/* List---- */
.needs-list {
  background-color: var(--c-needs-bg);
}

.needs-item {
  position: relative;
  align-self: start;
  width: calc((100% - 60px) / 4);
  padding: 40px 20px 50px;
  background: #fff;
  border-radius: 10px;
}

@media screen and (width <= 1500px) {
  .needs-item {
    width: calc((100% - 40px) / 3);
  }
}

@media screen and (width <= 1000px) {
  .needs-item {
    width: calc((100% - 20px) / 2);
  }
}

.needs-item.is-active {
  color: white;
  background-color: black;
}

.is-hide {
  display: none;
}

.needs-listcol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 5vw 5vw;
}

/* CATEGORY---- */
.category_box_sub {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.category_box_sub2 {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/**
.category_box_sub li {
    padding: 3px 5px;
    border-radius: 5px;
    background: #f2f2f2;
    font-size: 12px;
    line-height: 1.5em;
}
**/

.category_box_sub li {
  padding: 5px 12px;
  font-size: 12px;
  line-height: 1.5em;
  background: #f2f2f2;
  border-radius: 50px;
}

.category_box_sub2 li {
  padding: 5px 12px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5em;
  background: #f2f2f2;
  border-radius: 50px;
}

@media screen and (width <= 1000px) {
  .category_box {
    font-size: 10px;
  }
}

.category_tag {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 100%;
  min-width: 80px;
  padding: 8px 20px;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1em;
  color: #fff;
  background: #353535;
  border-radius: 5px 5px 0 0;
}

.kitchen {
  background: #d9a62e;
}

.dailygoods {
  background: #38a1db;
}

.cosmehealth {
  background: #db7093;
}

.outdoorinterior {
  background: #82ae46;
}

.traditionalcrafts {
  background: #e17b34;
}

.other {
  background: #708090;
}

.category_tag_sub {
  padding: 6px 10px;
  line-height: 1em;
  border: 1px solid #d0d0d0;
  border-radius: 5px;
}

.category_new {
  padding: 6px 10px;
  margin-right: 10px;
  margin-left: auto;
  line-height: 1em;
  background: #ffea00;
  border-radius: 5px;
}

/* DETAIL---- */
.needs-ttl {
  display: flex;
  align-items: center;
  min-height: 3em;
  margin: 20px 0 12px;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: bold;
  line-height: 1.5em;
  color: var(--c-needs-title);
}

.needs-area img {
  width: 30px;
  vertical-align: top;
}

.needs-box {
  margin-bottom: 10px;
  text-align: right;
}

.needs-box p {
  font-size: 14px;
}

@media screen and (width <= 1000px) {
  .needs-box p {
    font-size: 12px;
  }
}

.needs-company {
  display: inline-block;
  line-height: 1.5em;
  border-radius: 3px;
}

.needs-city {
  line-height: 1em;
}

.needs-city span {
  display: inline-block;
  font-size: 12px;
  color: #a7a7a7;
  border-radius: 5px;
}

.needs-city span::before {
  display: inline-block;
  width: 10px;
  height: 13px;
  margin: 0 2px -2px 0;
  content: '';
  background: url('../images/icon_pin.svg') no-repeat center / contain;
}

.needs-detail {
  margin-bottom: 2vw;
  font-size: 14px;
}

.needs-detail b {
  display: block;
  margin: 20px 0 10px;
  text-align: center;
  border: 1px solid #e3e3e3;
  border-radius: 100px;
}

.needs-detail2 {
  margin-bottom: ;
  font-size: 14px;
}

.needs-detail2 b {
  display: block;
  margin: 20px 0 0;
  text-align: center;
  border: 1px solid #e3e3e3;
  border-radius: 100px;
}

.more_certification {
  margin-bottom: 30px;
}

.needs-img {
  margin-bottom: 20px;
}

.needs-img img {
  aspect-ratio: 5 / 3;
  object-fit: contain;
}

.more_area {
  position: relative;
  width: 100%;
}

.more {
  position: absolute;
  right: 20px;
  bottom: 25px;
  display: block;
  width: calc((100% - 50px) / 2);
  height: 29px;
  padding: 2px 10px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  background: var(--c-btn-normal);
  background-position: 1% 50%;
  background-size: 200% auto;
  border-radius: 30px;
  transition: all 0.3s ease-out;
}

.more.close {
  background: #666;
}

.more::before {
  position: absolute;
  top: 2px;
  right: 0;
  left: 0;
  display: inline-block;
  content: '詳細を見る';
  transition: all ease 0.3s;
}

.more.close::before {
  position: absolute;
  display: inline-block;
  content: '閉じる';
}

.more::after {
  position: absolute;
  top: calc((100% - 7px) / 2);
  right: 15px;
  display: inline-block;
  width: 6px;
  height: 6px;
  content: '';
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transition: all ease 0.3s;
  transform: rotate(135deg);
}

.more.close::after {
  transform: rotate(-45deg);
}

p.btn_contact {
  bottom: 25px;
  left: 20px;
  display: block;
  padding: 2px 10px;
  margin: 5px auto 0;
  margin-bottom: 10px !important;
  font-size: 14px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  background: var(--c-btn-contact);
  background-position: 1% 50%;
  background-size: 200% auto;
  border-radius: 5px;
  transition: all 0.3s ease-out;
}

.btn_contact a {
  position: relative;
  display: block;
  color: #fff;
}

.btn_contact a::before {
  position: absolute;
  top: calc((100% - 5px) / 2);
  left: 5px;
  display: inline-block;
  content: '';
  border: 3px solid transparent;
  border-left: 5px solid #fff;
}

.btn_contact:hover {
  background: #000;
}

p.btn_contact2 {
  bottom: 25px;
  left: 20px;
  display: block;
  padding: 2px 10px;
  margin: 5px auto 0;
  font-size: 14px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  background: var(--c-btn-contact2);
  background-position: 1% 50%;
  background-size: 200% auto;
  border-radius: 5px;
  transition: all 0.3s ease-out;
}

.btn_contact2 a {
  position: relative;
  display: block;
  color: #fff;
}

.btn_contact2 a::before {
  position: absolute;
  top: calc((100% - 5px) / 2);
  left: 5px;
  display: inline-block;
  content: '';
  border: 3px solid transparent;
  border-left: 5px solid #fff;
}

.btn_contact2:hover {
  background: #000;
}

/**
.btn_contact {
    display: block;
    position: absolute;
    bottom: 25px;
    left: 20px;
    width: calc((100% - 50px) / 2);
    margin: 0 auto 0 !important;
    padding: 2px 10px;
    border-radius: 30px;
    background: #897e6d;
    background-position: 1% 50%;
    background-size: 200% auto;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: all .3s ease-out;
}

.btn_contact a {
    display: block;
    position: relative;
}

.btn_contact a::before {
    display: inline-block;
    top: calc((100% - 12px) / 2);
    width: 15px;
    height: 12px;
    margin-right: 5px;
    background: url(../images/icon_mail.svg) no-repeat center center / cover;
    content: "";
}

.btn_contact:hover {
    background: #000000;
}

.btn_contact a {
    color: #ffffff;
}
**/
.more_txt {
  display: none;
}

.more_txt p {
  margin-bottom: 20px;
  font-size: 14px;
}

.more_txt b {
  display: block;
  margin: 20px 0 10px;
  text-align: center;
  border: 1px solid #e3e3e3;
  border-radius: 100px;
}

/**
.more_txt b {
  display: block;
  margin: 0 0 5px 0;
  padding: 0 10px;
  border-radius: 5px;
  background: #f6f6f6;
  color: #666666;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}
**/

/* SIDE SIGNUP----------------------- */
.side_signup {
  position: fixed;
  right: 0;
  bottom: 180px;
  z-index: 10;
  display: none;
}

.side_signup a {
  display: block;
  width: 58px;
  padding: 20px 15px;
  font-size: 16px;
  color: #fff;
  background: var(--c-side_signup);
  border-radius: 5px 0 0 5px;
  writing-mode: vertical-rl;
  transition: all ease 0.3s;
}

.side_signup a img {
  width: 22px;
  margin: 5px 0 0 -5px;
}

.side_signup a:hover {
  background: #000;
}

/* CONTACT----------------------- */
.contact_area {
	margin: 4vw 5vw;
    text-align: center;
    margin-top: 20px;
    padding: 3vw 2.5vw;
    border-radius: 10px;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, .1);
    background: #ffffff;
    text-align: center;
}

.contact_area h2 {
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: bold;
}

.contact_area .txt {
  margin: 1vw 0 1.3vw;
}

/* FOOTER----------------------- */
.f-go-top {
  position: fixed;
  right: 10px;
  bottom: 20px;
  z-index: 9;
  display: none;
}

.f-footer {
  padding: 50px;
  margin: 0 5vw 5px;
  color: #fff;
  text-align: center;
  background: var(--c-footer-gradient);
  border-radius: 10px;
}

.f-footer p {
  color: #fff;
}

.f-logo {
  width: 250px;
  margin: auto;
}

.f-ttl {
  margin-bottom: 10px;
  font-size: 14px;
}

.f-name {
  margin: 10px;
  font-size: 16px;
}

.f-add {
  font-size: 14px;
}

.f-add img {
  width: 15px;
  margin-right: 5px;
}

.copy {
  padding: 0 10px;
  margin-bottom: 10px;
  font-size: 10px;
  color: #fff;
  text-align: center;
}

@media screen and (width <= 767px) {
  .pc {
    display: none;
  }

  .tb {
    display: none;
  }

  .sp {
    display: block;
  }

  .h-logo {
    width: 40vw;
    max-width: 400px;
  }

  .l-header {
    padding: 20px;
  }

  .mainvisual {
    grid-template-rows: 70px auto 1fr auto;
    gap: 0;
    width: 100%;
    min-height: 600px;
    padding: 0;
    padding: 15px 0 0;
    text-align: center;
    background-image: url('../images/bg_text.png'), url('../images/bg_reborn_sp.jpg');
    background-repeat: no-repeat, no-repeat;
    background-position: center top 50px, center center;
    background-size: 70%, cover;
    background-blend-mode: soft-light, normal;
  }

  .mainvisual::after {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 230px;
    background: url('../images/img_main_sp.png') no-repeat bottom center / contain;
  }

  .mainvisual-nav {
    justify-content: end;
    padding: 0 5px;
  }

  .mainvisual-nav a {
    height: 40px;
    padding: 0;
    font-size: 12px;
    letter-spacing: 0.05em;
  }

  .mainvisual__list a span {
    font-size: 10px;
    letter-spacing: 0;
    transform: scale(80%);
  }

  .mainvisual__link a {
    padding: 0;
  }

  .mainvisual__link a img {
    /*width: 60px;*/
  }

  .mainvisual__lang li a {
    padding: 8px 10px;
    margin-right: 0;
  }

  .mainvisual__lang li:hover ul {
    width: 100%;
  }

  .mainvisual__lang li:hover ul li {
    width: 100%;
    overflow: visible;
  }

  .mainvisual__lang li ul li a {
    display: block;
    padding: 10px;
  }

  .mainvisual__lang li ul li a:hover {
    transition: 0.5s;
  }

  .mainvisual__lang li:hover::after {
    bottom: 3px;
  }

  .mainvisual__logo {
    flex-direction: column;
    grid-area: 2 / 1 / auto / span 12;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 15px;
    margin: auto;
  }

  .mainvisual__logo p {
    gap: 5px;
    height: auto;
  }

  .mainvisual__header {
    grid-column: span 12;
    padding: 0 15px;
  }

  .mainvisual__nav a {
    height: 45px;
  }

  .mainvisual__nav a span {
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 0;
  }

  .mainvisual__list a {
    width: 100px;
    font-size: 12px;
  }

  .mainvisual__title {
    justify-content: center;
    text-align: center;
  }

  .mainvisual__title_flag {
    width: 70px;
    margin-bottom: 10px;
  }

  .mainvisual__title_img {
    max-width: 500px;
  }
	
  .mainvisual__subtitle {
    padding: 10px 0;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
  }
	
  .mainvisual__subtitle2 {
    padding: 10px 0;
    font-size: 14px;
    margin-bottom: 0;
  }	

  .mainvisual__text {
    font-size: 12px;
    line-height: 1.5;
  }

  .mainvisual__box {
    grid-row-start: 3;
    grid-column: span 12;
    padding-bottom: 180px;
    margin: 20px 20px auto;
    text-align: left;
  }

  .mainvisual__btn {
    grid-row-start: 4;
    grid-column: span 12;
    padding-left: 0;
  }

  .mainvisual__btn p {
    width: 100%;
  }

  .mainvisual__btn p + p {
    margin-top: 0;
  }

  .mainvisual__btn p a {
    min-width: 300px;
    padding: 15px 25px 15px 15px;
    font-size: 14px;
    line-height: 1.3em;
    text-align: left;
    background: #00489d;
    border: none;
    border-radius: 0;
  }

  .mainvisual__pagelink {
    margin: 20px auto 0;
  }

  .mainvisual__titlearea {
    padding: 0;
  }

  .mainvisual__titlearea::before {
    left: -20px;
  }

  .mainvisual__title {
    grid-column: span 2;
  }

  .main-signupL,
  .main-signupR {
    width: 100%;
    padding: 30px 20px;
  }

  .main-signupL .txt,
  .main-signupR .txt {
    font-size: 12px;
  }

  .main-signupR2 {
    width: 100%;
    padding: 30px 20px;
  }

  .main-signupR2 .txt {
    font-size: 12px;
  }

  .main-signupR {
    padding-bottom: 100px;
    background: url('../images/singupR.png') #37acdd no-repeat center bottom -1px / cover;
  }

  .needs-nav h2 {
    margin: 50px 5vw 20px;
    font-size: 20px;
  }

  .needs-nav .txt {
    margin-bottom: 30px;
    font-size: 12px;
  }

  .needs-nav ul {
    padding: 0 5px;
  }

  .needs-nav li {
    margin: 0;
  }

  .needs-nav li img {
    width: 35px;
  }

  .needs-search-main {
    gap: 2px;
  }

  .needs-search-main li {
    min-width: auto;
  }

  .needs-item {
    width: 100%;
  }

  .needs-nav h3 {
    padding: 5px;
    font-size: 16px;
  }

  .needs-search-main label {
    min-width: auto;
    height: 100%;
    padding: 10px 2px 8px;
    font-size: 10px;
    line-height: 1.3em;
  }

  .needs-nav .needs-search-sub {
    gap: 3px;
    justify-content: center;
    padding: 0 20px 20px;
  }

  .needs-search-sub li {
    width: auto;
  }

  .needs-search-sub label span {
    padding: 2px 15px;
    font-size: 10px;
  }

  .category_box {
    padding: 5px;
  }

  .f-footer {
    padding: 20px;
  }

  .f-footer p {
    font-size: 12px;
  }

  .f-footer img {
    max-width: 150px;
  }

  .f-go-top {
    width: 60px;
  }

  .side_signup {
    bottom: 140px;
  }

  .side_signup a {
    width: 43px;
    padding: 20px 10px;
    font-size: 12px;
  }

  .main-signup-header,
  .main-signup-footer {
    padding: 30px;
  }

  .main-signup-headerL {
    width: 100%;
    padding: 20px 0 0;
  }

  .main-signup-headerR {
    width: 100%;
  }

  .main-signup-headerL .txt,
  .main-signup-headerR .txt {
    margin: 15px 0 20px;
    font-size: 12px;
  }

  .main-signup-headerL {
    padding-bottom: 30px;
    border-bottom: 1px dotted #ccc;
  }

  .main-signup-footer {
    margin-top: 15px;
  }

  .contact_area {
    margin: 6vw 5vw;
  }

  /* スマホ時にタブをスクロールする場合に追加ここから */
  .scroll_menu {
    /* タブのリストをこのclass名のdivで囲む */
    overflow-x: scroll;
  }

  .needs-search-main {
    width: 800px; /* スクロール幅 */
  }

  /* スマホ時にタブをスクロールする場合に追加ここまで */
}

/* 下記追加分 */
.needs-list {
  padding-top: 3vw;
}

.needs-box:has(.needs-company) + .needs-box:has(.needs-city) {
  margin-top: -10px;
}

.needs-box:has(.needs-city) + .needs-box:has(.needs-introduction) {
  margin-top: -10px;
}

.html-template {
  display: none;
}

/*Tag----*/
.bg_tag {
    display: none;
    padding: 0 5vw;
    background: var(--c-needs-bg);
    padding-top: 20px;
}
.bg_tag.is_enable {
    display: block;
}

.needs-main {
    padding: 3vw 5vw 0;
    background-color: var(--c-needs-bg);
}

.needs-tag {
    padding: 10px 10px 10px 20px;
    border-radius: 5px;
    background: #ffffff;
    text-align: center;
    border: 1px solid #cccccc;
}

.needs-tag__title {
    position: relative;
    font-weight: normal;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all .5s ease;
}

.needs-tag__title img {
    width: 20px;
    margin: -3px 5px 0 0;
}

.needs-tag__title::before,
.needs-tag__title::after {
    position: absolute;
    top: 48%;
    right: 15px;
    width: 15px;
    height: 1px;
    background-color: #333333;
    content: "";
}

.needs-tag__title::before {
    transform: rotate(0deg);
}

.needs-tag__title::after {
    transform: rotate(90deg);
}

.needs-tag__title.close::before {
    transform: rotate(45deg);
}

.needs-tag__title.close::after {
    transform: rotate(-45deg);
}

.needs-tag__box {
    display: none;
    margin: 15px;
}

.needs-tag__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.needs-tag__item span {
    padding: 5px 15px;
    border: 1px solid #cccccc;
    border-radius: 100px;
    color: #333333;
    font-size: 12px;
    user-select: none;
}

div:not(.more_txt) > .needs-detail + .category_box_sub {
  margin-top: -1vw;
  margin-bottom: 2vw;
}
