/*Common*/
.section p, .lead p, p.lead, .works p {
  line-height: 180%;
}
/*Pagenation*/
.pagenation .navigation {
  border-top: 1px solid var(--border-default);
  padding-top: 32px;
}
a.page-numbers {
  background: #FFF;
  color: #000;
  padding: 12px 16px;
  border-radius: 2px;
  border: 1px solid #f5f5f5;
}
.page-numbers.current {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 2px;
  border: 1px solid #f5f5f5;
}
.page-numbers.dots {
  padding: 6px 16px;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}
/*Company*/
.company-section-title {
  font-family: Roboto;
  font-size: var(--heading-M);
  font-weight: 700;
  border-bottom: 1px solid var(--border-default);
  padding-bottom: var(--spacing-XS);
}
.horizontal-row dl {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}
.horizontal-row dt {
  width: 150px;
}
.horizontal-row dd {
  width: calc(100% - 150px);
}
.company-group-list {
  display: flex;
  justify-content: flex-start;
  margin-top: var(--spacing-L);
  gap: var(--spacing-L);
}
.company-group-list li {
  width: 180px;
}
.company-group-list li img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border-default);
}
@media(max-width:767px) {
  .horizontal-row dl {
    flex-flow: column;
    margin-bottom: var(--spacing-S);
  }
  .horizontal-row dt {
    width: 100%;
    font-weight: 500;
  }
  .horizontal-row dd {
    width: 100%;
  }
}
.table-history {
  width: 100%;
}
.table-history th {
  font-family: Roboto;
  font-size: var(--text-XL);
  font-weight: 700;
  line-height: 0;
  border-bottom: 1px solid var(--border-default);
  background: #f5f5f5;
  padding: 16px;
}
.table-history td {
  border-bottom: 1px solid var(--border-default);
  background: #fff;
  padding: 16px;
}
.table-history th:last-child {
  border-bottom: none;
}
.table-history tr:last-child > * {
  border-bottom: none;
}
.company-access {
  display: flex;
}
.company-access h3 {
  font-size: var(--heading-XXS);
  font-weight: 500;
  margin-bottom: var(--spacing-XXS);
}
.company-access__text {
  width: 50%;
  padding-right: 40px;
}
@media(max-width:767px) {
  .company-access {
    flex-flow: column;
    border-bottom: 1px solid var(--border-default);
    padding-bottom: var(--spacing-L);
  }
  .company-access__text {
    width: 100%;
    padding-right: 0px;
    margin-bottom: var(--spacing-XS);
  }
  .company-access__map iframe {
    width: 100% !important;
  }
}
/*FAQ*/
.faq-cat-title {
  font-size: var(--heading-S);
  font-weight: 700;
  border-bottom: 1px solid var(--border-default);
  padding-bottom: 24px;
}
.question {
  color: var(--primary);
  font-size: var(--text-L);
  font-weight: 400;
  margin-bottom: var(--spacing-XXS);
}
.question, .answer {
  position: relative;
  padding-left: 32px;
  line-height: 160%;
}
.question:before {
  content: "Q";
  color: var(--primary);
  position: absolute;
  top: 0px;
  left: 0px;
  font-family: Roboto;
  font-weight: 700;
  font-size: 2.4rem;
}
.answer:before {
  content: "A";
  color: #000;
  position: absolute;
  top: 0px;
  left: 0px;
  font-family: Roboto;
  font-weight: 700;
  font-size: 2.4rem;
}
.faq-list li {
  padding: 24px 0px 24px 0px;
  border-bottom: 1px solid var(--border-default);
}
/*Works*/
.works.small-cntr img {
  border-radius: 6px;
}
.works .other-contents img {
  border-radius: 6px;
  margin-top: 40px;
}
.works time {
  font-family: Roboto;
  font-size: var(--text-M);
  color: #888888;
  margin-right: 8px;
}
.works .tag {
  position: relative;
  font-size: var(--text-S);
  color: var(--primary);
  margin-right: 8px;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-XXS);
}
.category-list .icon {
  font-size: var(--text-S);
  white-space: nowrap;
}
.current .icon.works {
  color: #000;
  background: #FFF;
  border: 1px solid var(--border-default);
}
.works-content-cntr a{
	color:var(--primary);
	text-decoration: underline;
}
/*philosophy*/
.philosophy h2 {
  font-family: Roboto;
  font-weight: 700;
  font-size: var(--heading-L);
  border-bottom: 1px solid var(--border-default);
  padding-bottom: var(--spacing-XS);
}
.philosophy h3 {
  font-size: var(--heading-M);
  font-weight: 500;
  margin-bottom: var(--spacing-XS);
  line-height: 130%;
}
.philosophy h4 {
  font-size: var(--heading-XS);
  font-weight: 400;
  margin-bottom: var(--spacing-XS);
  line-height: 130%;
}
.signature {
  text-align: right;
}
.signature .position {
  font-size: var(--text-S);
}
.signature .name {
  font-size: var(--text-L);
}
/*Contact*/
.contact-section-title {
  font-size: var(--heading-S);
  font-weight: 700;
  border-bottom: 1px solid var(--border-default);
  padding-bottom: var(--spacing-S);
}
.contact p {
  line-height: 180%;
}
.contact .tel a {
  font-size: var(--text-XXL);
  font-family: Roboto;
  font-weight: 700;
  color: var(--secondary);
  line-height: 0;
}
.contact-link-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-S);
}
@media(max-width:767px) {
  .contact-link-list {
    grid-template-columns: repeat(1, 1fr);
  }
}
.contact .c-button--white {
  padding: 24px 24px;
  display: block;
  font-size: var(--text-M);
  font-weight: 400;
  color: #000;
  border-radius: 6px;
  vertical-align: middle;
  text-decoration: none;
  width: 100%;
  position: relative;
  background: #FFF;
}
.contact .c-button--white:before {
  content: '→';
  color: #e34288;
  position: absolute;
  top: 24px;
  right: 19px;
  bottom: 0;
  margin: auto;
  font-size: 14px;
  transition: all .2s ease-out;
}
.contact .c-button--white:hover {
  color: var(--primary);
}
.contact .c-button--white:hover:before {
  transform: translateX(10px)
}
/*News*/
.current .icon.news {
  color: #000;
  background: #FFF;
  border: 1px solid var(--border-default);
}
.single-content-cnt img {
  margin-bottom: var(--spacing-L);
}
.single-content-cnt p {
  margin-bottom: var(--spacing-S);
}

.single-content-cnt a{
	color:var(--primary);
	text-decoration: underline;
}
/*Service*/
.service h2 {
  font-weight: 700;
  font-size: var(--heading-M);
  padding-bottom: var(--spacing-XS);
  line-height: 140%;
  text-align: center;
}
.service-section-title {
  font-family: Roboto;
  font-size: var(--heading-L);
  font-weight: 700;
  border-bottom: 1px solid var(--border-default);
  text-align: left !important;
}

.service-img{
	width:950px;
	margin:0 auto;
}

.service-list-cntr h3 {
  font-weight: 500;
  font-size: var(--heading-S);
  line-height: 140%;
}
@media(max-width:767px) {
  .service h2 {
    font-size: var(--heading-M);
    text-align: left;
  }
	
.service-img{
	width:100%;
	margin:0 auto;
}
}
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-S);
}
.event-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-S);
}
.service-list li, 
.event-list li{
  width: 100%;
 height: auto;
  border-radius: 6px;
  background: #fff;
    padding:var(--spacing-S);
}

.service-list li .name, 
.event-list li .name{
  font-size: var(--heading-XS);
    color:var(--primary);
    font-weight: 500;
}

@media(max-width:767px) {
    .service-list {
  grid-template-columns: repeat(2, 1fr);
}
.event-list {
  grid-template-columns: repeat(1, 1fr);
}
}


.service-flow-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 50px 0px;
}
.service-flow-list dt {
  width: 30%;
  position: relative;
}
.service-flow-list dt:after {
  content: "";
  position: absolute;
  bottom: -54px;
  left: calc(50% - 10px);
  border: 16px solid transparent;
  border-top: 20px solid var(--primary); /* 好みで色を変えてください */
}
.service-flow-list dt.end:after {
  content: none;
}
.service-flow-list dt img {
  border-radius: 6px;
}
.service-flow-list dd {
  width: 70%;
  padding-left: 40px;
}
.service-flow-list .step {
  font-family: Roboto;
  font-size: var(--text-L);
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
}
.service-flow-list h3 {
  font-weight: 500;
  font-size: var(--heading-S);
  line-height: 140%;
}
@media(max-width:767px) {
  .service-flow-list {
    flex-flow: column;
    gap: 24px 0px;
  }
  .service-flow-list dt {
    width: 100%;
  }
  .service-flow-list dt:after {
    content: none;
  }
  .service-flow-list dt.end:after {
    content: none;
  }
  .service-flow-list dd {
    width: 100%;
    padding-left: 0px;
  }
  .service-flow-list h3 {
    font-weight: 500;
    font-size: var(--heading-XS);
    line-height: 130%;
  }
}
/*Form*/
.c-form {
  background: #fff;
  padding: var(--spacing-L);
  border-radius: 6px;
}
.c-form__group {
  display: flex;
  margin-bottom: var(--spacing-S);
}
.c-form__group label {
  width: 30%;
  color: black;
  font-weight: 500;
}
.c-form__group .form-object {
  width: 70%;
}
.c-form__group input:not(.c-button) {
  border: 1px solid #e5e5e5;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-size: var(--text-M);
  color: black;
  position: relative;
  padding: 12px;
  width: 100%;
}
.c-form__group textarea {
  height: 250px;
  width: 100%;
  float: right;
  border: 1px solid #e5e5e5;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-size: 16px;
  color: black;
  resize: none;
  padding: 12px;
}
.c-form__group label.require:after {
  content: "必須";
  display: block;
  font-size: var(--text-XS);
  line-height: 1;
  color: #fff;
  background-color: red;
  padding: 4px 0px;
  font-weight: 400;
  border: 1px solid red;
  width: 30px;
  text-align: center;
  margin-top: var(--spacing-XXS);
}
@media(max-width:767px) {
  .c-form__group {
    flex-flow: column;
    margin-bottom: var(--spacing-M);
  }
  .c-form__group label {
    width: 100%;
    margin-bottom: var(--spacing-XXS);
  }
  .c-form__group .form-object {
    width: 100%;
  }
  .c-form__group label.require:after {
    display: inline-block;
    margin-top: 0;
    margin-left: var(--spacing-XXS);
  }
}
.c-form__group button {
  border: none;
}
.c-form__group.submit {
  display: flex;
  justify-content: center;
  margin-bottom: 0px;
  border-top: 1px solid var(--border-default);
  padding-top: 24px;
  gap: 24px;
}
input::placeholder, textarea::placeholder {
  color: #ccc;
}
.mw_wp_form .error {
  font-size: var(--text-XS) !important;
  font-weight: 500 !important;
  color: red !important;
  display: block !important;
}
/*個人情報・セキュリティ*/
.privacy h3 {
  font-size: var(--heading-XXS);
  font-weight: 500;
}

/*WOW対策*/
.preload .wow.fadeInUp {
	opacity: 0 !important;
}


/*---------------------年賀ページやLPなどのCSSは以下に記述--------------------------*/