/*-------------------------
  共通
-------------------------*/
a{
  transition: 0.3s ease;
}

a:hover{
  opacity: 0.8;
}

:root :where(.wp-block-button.is-style-unitone-5093) .wp-block-button__link{
  padding-right: 45px;
}

:root :where(.wp-block-button.is-style-unitone-5822) .wp-block-button__link::after {
  background-color: #009EEB !important;
}

:root :where(.wp-block-heading.is-style-unitone-5078){
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-bottom-color: #EF9D3B;
}

:root :where(.wp-block-heading.is-style-unitone-5078).blue_under {
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-bottom-color: #EF9D3B;
}

:root :where(.wp-element-button, .wp-block-button__link){
  border-radius: 60px !important;
}

:root :where(.wp-block-heading.is-style-unitone-5075)::before {
  height: 3px !important;
  width: var(--unitone--underbar-width);
  background-color: #EF9D3B !important;
  border-radius: 30px;
}

:root :where(:is(.wp-block-heading, .wp-block-post-date, .wp-block-post-title).is-style-unitone-5096)::before {
  height: 3px !important;
  border-radius: 30px;
}

body .is-style-vk-heading-both_ends::before,body .is-style-vk-heading-both_ends::after,body .editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-both_ends::before,body .editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-both_ends::after {
  border-bottom: 2px solid #ccc;
}

main.unitone-section > [data-unitone-layout~=gutters] {
  padding-bottom: 0px;
}

.page-template-default main.unitone-section > [data-unitone-layout~=gutters]{
  padding-top: 0;
}

/* .home main [data-unitone-layout~=container] {
  box-sizing: border-box;
} */

ul.is-style-vk-check-circle-mark{
  padding-inline-start: 1.5em !important;
}

.page-template-default main header{
  display: none;
}



@media (max-width: 782px) {
 .wp-block-media-text>.wp-block-media-text__content {
   padding-top: 16px;
   padding-left: 0;
   padding-right: 0;
 }
}

/* 表示・非表示 */
.pc_only {
  display: block !important;
}

@media (max-width: 782px) {
  .pc_only {
    display: none !important;
  }
}

.sp_only {
  display: none !important;
}

@media (max-width: 782px) {
  .sp_only {
    display: block !important;
  }
}

/* 整列 */
.ta_c{
  text-align: center;
}
.block-center{
  display: table;
  margin: 0 auto;
}

@media (max-width: 782px){
  .sp_ta_l{
    text-align: left !important;
  }
  .sp_jc_c{
    justify-content: center !important;
  }
}

/* 余白 */
.gap_0{
  gap: 0 !important;
}

@media (max-width: 782px){
  .sp_gap_0{
    gap: 0px !important;
  }
  .sp_gap_10{
    gap: 10px !important;
  }
  .sp_gap_60{
    gap: 60px !important;
  }
  .sp_mt_0{
    margin-top: 0 !important;
  }
  .sp_pl_0 {
    padding-left: 0 !important;
  }
  .sp_pr_0 {
    padding-right: 0 !important;
  }
  .sp_pt_0 {
    padding-top: 0 !important;
  }
}



/*  タイトル */
.title_typeA {
  position: relative;
  color: #333333;
  z-index: 10;
  text-align: center;
  margin-bottom: clamp(20px, 10vw + 1rem, 40px);
  font-size: clamp(20px, 8vw + 0.5rem, 32px);
}

.title_typeA span {
  display: block;
  color: #8bd7fa;
  font-size: clamp(18px, 5vw + 1rem, 24px);
}

.title_typeB {
  color: #333;
  font-size: 32px;
  border-bottom: 3px solid #ccc;
  padding-bottom: 8px;
}

.title_typeB span {
  display: inline-block;
  color: #c5edff;
  font-size: 24px;
  margin-left: 10px;
  position: relative;
}
.title_typeB::before{
  content: '';
  position: absolute;
  inset: auto auto -2.8px 0;
  height: 3px;
  width: 33%;
  background-color: #009EEB;
}
@media (max-width: 767px){
  .title_typeB {
    color: #333;
    font-size: 24px;
  }
  .title_typeB span {
    font-size: 20px;
  }
}

/* 矢印 */
.arrow-down {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 25px solid #EF9D3B;
}

/* アンダーライン */
.under-line{
  background: linear-gradient(
    to top,
    #EF9D3B 0%, 
    #EF9D3B 4px, 
    transparent 4px,
    transparent 100%
  );
  background-size: 100% 100%;
  display: inline;
  padding-bottom: 5px;
}


/* ダミータグを画像に追加 */
.dummy {
  position: relative;
  display: inline-block;
}

.dummy img {
  display: block;
  width: 100%;
  height: auto;
}

.dummy::after {
  content: "未確定";
  position: absolute;
  bottom: 0px;
  right: 0px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  background-color: magenta;
  padding: 4px 12px;
  pointer-events: none;
}

/* ボタン */
.btn_typeA a{
  background-color: #fff !important;
  border: 2px solid #009EEB;
  color: #009EEB !important;
  gap: 10px !important;
  padding-left: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: 0.3s ease;
}
.btn_typeA a::before{
  background-color: transparent !important;
}
.btn_typeA a:hover{
  background-color: #009EEB !important;
  color: #fff !important;
}
.is-style-unitone-5822 .wp-block-button__link::after {
  background-color: #009EEB;
}
.btn_typeA a:hover::after{
  background-color: #fff !important;
}

.wp-block-buttons:not(.btn_typeA) .is-style-unitone-5822 a{
  gap: 15px !important;
  padding-left: 30px;
  background-color: #009EEB;
}

@media screen and (max-width: 782px){
  .btn_typeA{
    margin-top: 0;
  }
}

/* 流れ */
.flow {
  counter-reset: column-counter;
}

.flow .wp-block-column {
  counter-increment: column-counter;
  position: relative;
  padding-top: 20px;
}

.flow .wp-block-column::before {
  content: counter(column-counter);
  position: absolute;
  top: -35px;
  left: 20px;
  font-size: 55px;
  font-weight: bold;
  color: #009EEB;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: #FFF;
  paint-order: stroke fill;
  z-index: 1;
}


/* カード型フロー */
.step-flow {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 20px auto;
  justify-content: flex-start;
}

.step-item {
  flex-basis: calc(33.333% - 40px);
  margin: 0 20px 40px 20px !important;
  position: relative;
}

.step-item:nth-child(3n + 1) {
    margin-left: 0 !important;
}

.step-item:nth-child(3n) {
    margin-right: 0 !important;
}

.step-card {
  background-color: #f0f8ff;
  border: 1px solid #cceeff;
  padding: 15px;
  border-radius: 8px;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-block-end: 40px !important;
}

.step-item::after {
  content: '';
  position: absolute;
  z-index: 10;
}

.step-item:not(:last-child)::after {
  top: 50%;
  right: -30px; 
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #007bff;
  display: block; 
}

.step-item:last-child::after {
  content: none;
}

@media (max-width: 768px) {
  .step-flow {
    display: block;
  }
  .step-item {
    flex-basis: 90%; 
    margin: 0 0 40px 0 !important;
  }
  .step-card {
    margin-block-end: 50px !important;
  }
  .step-item:not(:last-child)::after {
    content: '';
    right: 50%;
    bottom: -35px;
    top: auto;
    transform: translateX(50%);
    width: 0;
    height: 0;
    border-top: 15px solid #007bff;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    border-bottom: none;
    display: block;
  }
  .step-item:last-child::after {
    content: none;
  }
}




/* 吹き出し全体の設定 */
.speech-bubble {
  width: 100%;
  background-color: #ff8c00; 
  color: #fff;
  padding: 12px;
  border-radius: 5px;
  display: inline-block;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 20px 20px 0 20px;
  border-style: solid;
  border-color: #ff8c00 transparent transparent transparent;
}



/*-------------------------
  ヘッダー
-------------------------*/
header.site-header{
  position: fixed;
  top: 0;
  z-index: 100;
  background-color: #fff;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main{
  padding-top: 85px !important;
}

.wp-block-navigation:where(.is-style-unitone,.is-style-unitone-accordion):not(.has-background) .wp-block-navigation__submenu-container {
  background-color: #fff;
  color: #333;
}
.wp-block-navigation-submenu li{
  border-bottom: 1px solid #d8d8d8;
}
.wp-block-navigation-submenu li:last-of-type{
  border-bottom: none;
}

.header_nav_sp{
  display: none !important;
}

@media (min-width: 860px){
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    background-color: inherit;
    display: block;
    position: relative;
    width: 100%;
    z-index: auto;
  }
}
@media (max-width: 860px){
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
     display: block;
  }
  .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content{
    display: none !important;
  }
  .header_nav_pc{
    display: none !important;
  }
  .header_nav_sp{
    display: block !important;
  }
  .wp-block-navigation__container{
    text-align: center;
  }
	.header_nav_sp li {
		text-align: left;
	}
  .header_nav_sp li a{
    font-size: 16px;
  }
  .header_nav_sp .nav_business-content a{
    padding-bottom: 0px !important;
    display: flex;
    align-items: center;
    padding: 0 1em; 
  }
  .header_nav_sp .nav_business-content a::before,
  .header_nav_sp .nav_business-content a::after {
    content: "";
    height: 1px;
    background-color: #333;
    flex-grow: 1;
  }

  .header_nav_sp .nav_business-content a::before {
    margin-right: 1em;
  }

  .header_nav_sp .nav_business-content a::after {
    margin-left: 1em;
  }

  .header_nav_sp .header_nav_sp_sub_item a{
    font-size: 14px;
    padding-bottom: 5px !important;
    font-weight: 500;
  }
  .header_nav_sp li.header_nav_sp_sub_item:not(:has(~ li.header_nav_sp_sub_item)) a {
    padding-bottom: 30px !important;
  }
}


/*-------------------------
  フッター
-------------------------*/
.home .site-footer-breadcrumbs{
  display: block !important;
}

@media (max-width: 860px){
  .footer_nav_contents{
    display: none !important;
  }
  .footer_contents{
    padding: 24px;
    justify-content: center;
  }
}

.cta .title_typeA{
  margin-bottom: 10px;
}

.wp-block-buttons.cta_btn .is-style-unitone-5822 a{
  padding-left: 48px;
  font-size: 18px;
}
@media screen and (max-width: 782px){
  .wp-block-buttons.cta_btn .is-style-unitone-5822 a{
    padding: 16px 16px 16px 20px;
    font-size: 16px;
  }
}

@media screen and (max-width: 782px){
  body .cta .is-style-vk-heading-both_ends::before,body .is-style-vk-heading-both_ends::after,body .editor-styles-wrapper .block-editor-block-list__layout{
    border: none;
  }
}




/*-------------------------
  トップ
-------------------------*/
.home .cta_spacer{
	display: none;
}

.home .wp-block-post-content .kv h2{
  text-shadow: 
  0 0 10px #fff,
  0 0 20px #fff,
  0 0 40px rgba(255, 255, 255, 0.8),
  0 0 60px rgba(255, 255, 255, 0.6),
  0 0 80px rgba(255, 255, 255, 0.4);
}

.home .wp-block-post-content .kv .kv_content{
  transition: 0.3s ease;
}

.home .wp-block-post-content .kv .kv_content h2 span {
  font-size: 24px;
  transform: translateY(-4px);
  display: inline-block;
}

@media screen and (max-width: 920px){
  .home .wp-block-post-content .kv img{
    object-position: 75% 50%;
    transition: 0.3s ease;
  }
  .home .wp-block-post-content .kv .kv_content{
    margin-top: 220px;
    padding-left: 10px;
  }
}


/* ---事業内容--- */
.top_business-details{
  background-image: url(/wp-content/uploads/2025/12/top_detail_bg.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
}
.top_business-details_sub_num .service-number {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 1em;
  position: relative;
}

.service-content-block {
	position: static;
}

.top_business-details_sub_num {
	position: absolute;
	top: -40px;
}

.top_business-details_sub_num .service-label {
  font-size: 12px;
  color: #EF9D3B;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1;
}

.top_business-details_sub_num .number {
  font-size: 48px;
  color: #EF9D3B;
  font-weight: bold;
  line-height: 1;
}

@media screen and (max-width: 782px){
  .top_business-details_sub_num .service-label {
    font-size: 20px;
  }
  .top-service-wrap {
	gap: 80px;
  }
  .top_business-details_sub_num{
    display: table;
    margin: 0 auto;
    width: 100%;
  }
  .top_business-details_sub_num .service-label {
    padding-right: 5px;
  }
  .top_business-details_sub_num .service-number::after {
    display: none;
  }
}


/* ---プロフィール--- */
.top_profile_note_wrap{
  margin-top: -65px !important;
  z-index: 0;
}

.top_profile_title{
  position: relative;
  z-index: 1;
}

.profile-info-tag {
  font-weight: bold;
}

.profile-info-tag span {
  position: relative;
  display: inline-block;
  padding: 0.3rem 0.4rem 0.3rem 2rem;
  color: #fff;
  border-radius: 100vh 0 0 100vh;
  background: #EF9D3B;
  margin-right: 8px;
  margin-bottom: 8px;
}

.profile-info-tag span:before {
  position: absolute;
  top: calc(50% - 7px);
  left: 10px;
  width: 14px;
  height: 14px;
  content: '';
  border-radius: 50%;
  background: #fff;
}

@media screen and (max-width: 782px){
  .top_profile_title{
    font-size: 20px;
    justify-content: center;
  }
  .top_profile_title::before,
  .top_profile_title::after{
    display: none;
  }
}


/* 付箋 */
.fusen {
  display: inline-block;
  position: relative;
  padding: .5em 1em;
  border-right: 27px solid #EF9D3B;
  background-color: #f5f5f5;
  color: #333333;
}
.fusen::before {
  position: absolute;
  bottom: 2px;
  right: -20px;
  z-index: -1;
  transform: rotate(5deg);
  width: 100%;
  height: 50%;
  background-color: #d0d0d0;
  content: "";
  filter: blur(4px);
}

/* ノート風背景 */
.notebook {
  --lh: 40px;
  --top-space: 8px;
  --line-color: rgba(0, 0, 0, 0.12);
  background-image: linear-gradient(to bottom, var(--line-color) 1px, transparent 1px) !important;
  background-size: 100% var(--lh) !important;
  background-repeat: repeat !important;
  background-position: 0 0 !important;
  padding-top: var(--top-space) !important;
  padding-bottom: var(--lh) !important;
  line-height: var(--lh) !important;
}

.notebook p, 
.notebook h3,
.notebook .unitone-div,
.notebook .wp-block-column {
  margin: 0 !important;
  line-height: var(--lh) !important;
  min-height: var(--lh) !important;
}

.notebook .wp-block-columns {
  gap: 0 !important;
}
/* --------------------------------------------------
   ここからメディアクエリ：--lh の数値を変えるだけで調整完了
-------------------------------------------------- */
@media (max-width: 900px) {
  .notebook {
    --lh: 38px;
  }
}
@media (max-width: 782px) {
 	.notebook .wp-block-column {
		padding: 0 20px !important;
	}
}
@media (max-width: 700px) {
  .notebook {
    --lh: 35.8px;
  }
}
@media (max-width: 428px) {
  .notebook {
    --lh: 32.3px;
  }
}
@media (max-width: 415px) {
  .notebook {
    --lh: 31px;
  }
}
@media (max-width: 393px){
	.notebook {
		--lh: 31.5px;
	}
}
@media (max-width: 390px) {
	.notebook {
    --lh: 34px;
  }
}
@media (max-width: 376px) {
	.notebook {
    --lh: 32.6px;
  }
}
@media (max-width: 360px) {
	.notebook {
    --lh: 34px;
  }
}


.profile_img_02{
  position: absolute;
  top: -138px;
  transform: rotate(-8deg);
}

.profile_img_03 {
  position: absolute;
  top: -120px;
  transform: rotate(5deg);
}

.profile-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  grid-template-areas:
    "tl tr"
    "bl br";
  gap: 16px;
}

.profile-grid > img{
  display: block;
  width: 50%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
}

.profile-grid.-tilt > img{
  transform: translate(var(--dx,0), var(--dy,0)) rotate(var(--rot,0deg));
  transition: transform .2s ease;
}
@media (prefers-reduced-motion: reduce){
  .profile-grid.-tilt > img{ transition: none; }
}

.profile-grid.-square > img{
  aspect-ratio: 1 / 1;
  object-fit: cover;
}


/* .profile_img_01{
  transform: translate(100px,5px);
  transform: rotate(-0.5deg);
}

.profile_img_02{
  transform: translate(-126px,-3px);
  transform: rotate(1.9deg);
}

.profile_img_03{
  transform: translate(-126px,-3px);
  transform: rotate(1.9deg);
}

.profile_img_04{
  transform: translate(104px,1px);
  transform: rotate(-2.1deg);
} */



.slider-wrapper { 
  overflow: hidden;
  background-color: #fff;
  padding: 30px;
  padding-bottom: 35px;
}

.js-wp-swiper-patch { 
  display: block !important;
  position: relative; 
  width: 100%;
}
.js-wp-swiper-patch > .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  transform: translate3d(0,0,0);
  will-change: transform;
}
.js-wp-swiper-patch .swiper-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}

.js-wp-swiper-patch .swiper-slide * { 
  max-width: 100%; 
}

.js-wp-swiper-patch .swiper-slide { 
  min-height: 80px; 
}

.swiper-button-next,.swiper-button-prev {
  display: none !important;
}

.swiper-pagination.swiper-pagination-fraction:not(.swiper-pagination-bullets) {
  position: absolute;
  left:0;
  right: 0;
  width: 100% !important;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: -19px !important;
  background-color: #fff !important;
  padding: 12px 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-variant-numeric: tabular-nums;
  gap: 0.4em;
  color: #333;
}

.swiper-pagination-fraction .swiper-pagination-current,
.swiper-pagination-fraction .swiper-pagination-total{
  font-weight: 600;
}
.swiper-pagination-fraction::before,
.swiper-pagination-fraction::after{
  content:"";
  height:1px;
  width: 1%;
  background: #333;
  margin: 0 10px;
}

.js-wp-swiper > .swiper-wrapper { display:flex !important; }
.js-wp-swiper .swiper-slide { flex:0 0 100% !important; width:100% !important; }



@media (min-width: 782px) {
  .wp-block-columns.is-layout-flex {
    align-items: stretch !important;
  }

  .wp-block-columns.is-layout-flex > .wp-block-column.is-vertically-aligned-top {
    align-self: stretch !important;
  }

  .wp-block-columns.is-layout-flex > .wp-block-column.top_business_content_item {
    display: flex !important;
    flex-direction: column !important;
  }

  .top_business_content_item .wp-block-buttons {
    margin-top: auto !important;
  }
}


/* 取り組み実績 */
.top_profile_title.top_news{
  border-bottom: none;
}

.case_item_br{
  display: none;
}
@media (max-width: 1165px){
 .case_item_br{
    display: block;
  }
}

.top_case .wp-block-columns.is-layout-flex > .wp-block-column {
  display: flex;
  flex-direction: column;
}

.top_case .wp-block-columns.is-layout-flex > .wp-block-column > [data-unitone-layout^="decorator"] {
  flex-grow: 1;
}


/*  トップお知らせ一覧 */
/* .top_news_title{
  margin-block-start: -75px !important;
} */
.top_news_list ul li{
  margin-top: 0 !important;
}
.top_news_list ul li {
  padding-top:10px;
}
.top_news_list .wp-block-query-no-results{
  margin-bottom: 20px;
}
@media (max-width: 782px){
  .top_news_list ul li {
    padding-top: 0px;
  }
}


/*-------------------------
  下層共通
-------------------------*/
.unitone-breadcrumbs a {
	text-decoration: none;
}

.recommend-sec{
  overflow: hidden
}

.recommend-sec h3{
  background-color: #009EEB;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

.under_header_height,
.under_header_height .sp_only img{
  max-height: 350px;
}


/*-------------------------
  会社概要
-------------------------*/
.about .cta_spacer{
  display: none;
}

#value-three .value-number {
  font-size: 35px;
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 50%;
  text-align: center;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}


/*-------------------------
  女性管理職育成推進の企画・立案
-------------------------*/
.women-leadership-development .step-item::after{
  display: none;
}


/*-------------------------
  お知らせ
-------------------------*/
li.category-news {
  padding-top: 24px;
  padding-bottom: 20px;
}
@media (max-width: 782px){
  li.category-news {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}


.promotion .step-item.no-arrow::after{
  display: none;
}

/*-------------------------
  お問い合わせフォーム
-------------------------*/
.contact .cta_spacer{
  display: none;
}
body .wpcf7 {
  background: none;
  border: none;
  max-width: 900px;
  margin: 0 auto 32px;
}

table.CF7_table {
  border-collapse: collapse;
  width: 100%;
}

table.CF7_table tr th {
  text-align: left;
  width: 30%;
}

/*入力欄*/
.CF7_table input.wpcf7-form-control, 
.CF7_table textarea {
  border: 1px solid #d8d8d8;
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 10px;
}

.wpcf7-form-control .wpcf7-list-item:not(:first-of-type) {
  margin-left: 12px;
}

@media screen and (max-width: 782px) {
  .wpcf7-form-control .wpcf7-list-item {
    margin-left: 0 !important;
    display: block;
  }
}

.CF7_table select {
  border: 1px solid #d8d8d8;
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 6px;
}

.CF7_table ::placeholder {
  color:#797979;
}

.wpcf7 .CF7_table .wpcf7-form-control.wpcf7-checkbox {
  border: none;
  padding: 0;
  padding-bottom: 10px;
  display: block;
}

.wpcf7 .CF7_table .wpcf7-form-control.wpcf7-checkbox span{
  margin-right: 15px;
}

/*「必須」文字*/
.CF7_req {
  font-size:.9em;
  padding: 5px;
  background: #EF9D3B;
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}

/*「任意」文字*/
.CF7_unreq {
  font-size:.9em;
  padding: 5px;
  background: #bdbdbd;
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}

.wpcf7 .CF7_table .wpcf7-form-control {
  padding: 8px 4px;
  border: 1px solid #d8d8d8;
  width: 100%;
}

.wpcf7 .CF7_table .wpcf7-radio {
  border: none;
}

.wpcf7 .CF7_table .wpcf7-radio label {
  display: flex;
}

.wpcf7 .wpcf7-radio .wpcf7-list-item.first {
  margin-left: 0;
}

.wpcf7-radio > span:not(:last-of-type) {
  margin-right: 8px;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #dc3232;
}

.wpcf7 .wpcf7-submit {
  background-color: #009EEB;
  -webkit-appearance: none;
  width: 200px;
  padding: 12px;
	margin-top: 30px;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
  border: none;
}

.wpcf7-spinner {
  display: block !important;
}

.wpcf7-list-item {
  margin: 0 !important;
}

.l-contents .wpcf7-form .wpcf7-response-output {
  border: none;
  color: #003b94;
  text-align: center;
}

.privacy-policy {
  margin-top: 8px;
}

.privacy-policy h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

.privacy-content {
  height: 250px;
  overflow-y: scroll;
  padding: 16px;
  border: 1px solid #333;
  margin-bottom: 32px;
}

.privacy-content h4 {
  margin: 24px 0 8px;
  font-size: 18px;
}

@media screen and (max-width: 1024px) {
  .CF7_table tr:not(:last-of-type) {
    margin-bottom: 20px;
  }

  table.CF7-table tr th,
  table.CF7-table tr td {
    padding-bottom: 8px;
  }

  table.CF7_table tr,
  table.CF7_table tr th,
  table.CF7_table td {
    display: block;
    width: 100%;
    line-height: 2.5em;
  }

  table.CF7_table tr th{
    margin-bottom: 10px;
  }
}

.comment-respond{
  display: none;
}

.wpcf7-not-valid-tip {
  font-size: 14px !important;
  transform: translateY(-10px);
}

@media screen and (min-width: 1024px){
  .CF7_table tr:has(.wpcf7-not-valid) th p {
    position: relative;
    top: -14px;
  }
}

