/*
Theme Name: KOHSEIWORKS
Theme URI: https://kohsei-works.com
Template: lightning
Author: kohseiworks
Author URI: https://kohsei-works.com
Description: KOHSEIWORKS
Tags:
Version: 1.0.0
Updated: 2025-03-07 17:25:55

*/

.wp-block-button .wp-block-button__link {
  background-color: #0A7;
}
.wp-block-button__link:hover {
  text-decoration: none;
  filter: unset !important;
  opacity: 0.8 !important;
}
.pagetop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 15px;
}
.pagetop a {
  display: block;
  background-color: #0A7;
  text-align: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  padding: 10px 20px;
  box-sizing: border-box;
  opacity: 0.5;
}
.pagetop a:hover {
  opacity: 0.4;
}
@media (min-width: 992px) {

  .header_scrolled  .site-header {
    height: 60px;
    padding-bottom: 5px;
  }
  .header_scrolled  .site-header {
    height: 60px;
    padding-bottom: 5px;
  }
  .header_scrolled .site-header--layout--nav-float .site-header-container {
    height: 100%;
  }
  .header_scrolled .site-header-logo {
      display: block;
      position: absolute;
      padding-top: 10px;
  }
  .site-header--layout--nav-float .site-header-logo {
      margin-right: 0;
      width: auto;
  }
  .header_scrolled .site-header-logo img {
      width: auto;
      height: 40px;
  }
  .header_scrolled .site-header .global-nav {
      margin-right: 0;
  }
}

.site-header {
	box-shadow: unset;
}
.header_scrolled.admin-bar .site-header {
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.ltg-slide-text-title {
	font-size: 3em;
}

.page-header {
	background-color: transparent;
	background-image: url(images/bg-page-header.jpg);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.single-post .entry-body a {
	color: #23943b;
	text-decoration: underline;
}
.single-post .entry-body .wp-block-embed__wrapper a {
	color: inherit;
	text-decoration: none;
}
.single-post .entry-body a:hover {
	opacity: 0.75;
	text-decoration: none;
}

/**
 *	コンテンツ
 */
@media screen and (max-width:768px) {
}

/**
 *  フッターマーク
 */
.footer-mark {
  display: flex;
  justify-content: flex-end;
}
.footer-mark img {
  height: 70px;
  width: auto;
}
.footer-mark a:not(:last-child) img {
  margin-right: 20px;
}

/**
 *  フッターナビ
 */
@media screen and (max-width:480px) {
  .footer-nav-list {
    display: flex;
    flex-wrap: wrap;
  }
  .footer-nav-list li {
    width: 25%;
  }
  .footer-nav-list li:last-child {
    width: 50%;
  }
  .footer-mark {
    margin-top: 30px;
    justify-content: center;
  }
}

/**
 *  TOPページ
 */
.home .site-body-container {
  margin-top: -100px;
  z-index: 1;
  background-color: rgb(255 255 255 / 0.9);
  padding-top: 60px;
  border-radius: 30px 30px 0 0;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
  padding-right: 45px;
  padding-left:45px;
}
.vk_post_imgOuter_singleTermLabel {
  display: none;
}
.sub-section .vk_post_imgOuter {
  display: none;
}
.entry-meta-data-list dt {
  background-color:#0a7;
}
.top-policy {
  padding-top: 0 !important;
}
@media screen and (max-width: 991px) {
  .home .site-body-container {
    margin-top: -60px;
  }
}
@media screen and (max-width: 781px) {
  .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    padding-left: 3% !important;
    padding-right: 3% !important;
  }
  .top-yesno .wp-block-columns {
    flex-direction: column-reverse;
  }
  .wp-block-image.top-info-img img:not([style*=object-fit]) {
    height: 100px !important;
    object-fit: cover;
  }
}
@media screen and (max-width: 480px) {
  h2 {
    font-size: 1.2em;
  }
  h3 {
    font-size: 1.1em;
  }
  h4 {
    font-size: 1em;
  }
  .ltg-slide-text-title {
    font-size: 1.3em !important;
  }
  .home .site-body-container {
    margin-top: 0;
    padding-top: 0;
  }
}

/**
 *  お知らせ
 */
.vk_post .media-img {
  width: 18% !important;
}
@media screen and (max-width:480px) {
  .vk_post .media-img {
    width: 25% !important;
  }
}
.sub-section .widget_link_list_cat ul,
.sub-section .widget_link_list_year ul {
  display: flex;
  flex-wrap: wrap;
}

.sub-section .widget_link_list_cat ul li {
  width: 50%;
}
.sub-section .widget_link_list_year ul li {
  width: 25%;
}

/**
 *  会社概要
 */
.about-block {
  width: 100%;
  max-width: 800px;
  margin: auto;
}
.about-table {
  width: 100%;
  margin: auto;
  margin-bottom: 60px;
  border: 0;
  border-top: 1px solid #ddd;
}
.about-table th, .about-table td {
  border: 0;
  border-bottom: 1px solid #ddd;
  padding: 1em;
}

.about-block iframe {
  width: 100%;
  margin: auto;
}

/**
 *	サービス
 */
.service {
  display: flex;
  flex-wrap: wrap;
}

.service h1 {
  width: 100%;
  text-align: center;
  margin: 0.6em 0;
  font-size: 3.75em;
  font-weight: 600;
  color: #070024;
}

.service .column {
  padding: 1em;
}

.service .column .card {
  padding: 3.1em 1.25em;
  text-align: center;
  background: linear-gradient(0deg, #0A7 10px, transparent 10px);
  background-repeat: no-repeat;
  background-position: 0 0.62em;
  cursor: pointer;
  box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.15);
  transition: 0.5s;
}

.service .column .card:hover {
  background-position: 0;
}

.service .column .card .icon {
  font-size: 2.5em;
  height: 2em;
  width: 2em;
  margin: auto;
  background: #0A7;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.service .column .card .icon::before {
  position: absolute;
  content: "";
  height: 1.5em;
  width: 1.5em;
  border: 0.12em solid #0A7;
  transition: 0.5s;
  border-radius: 50%;
}

.service .column .card:hover .icon::before {
  height: 2.5em;
  width: 2.5em;
}

.service .column .card h3 {
  font-size: 1.3em;
  font-weight: 600;
  margin: 1em 0 1.4em 0;
  letter-spacing: 0.3px;
}

.service .column .card p {
  line-height: 2em;
  color: #625a71;
  text-align: left;
}

/*
@media (min-width: 768px) {
  section {
    padding: 1em 7em;
  }
}
*/
@media (min-width: 768px) {
  .service .column {
    padding: 0 1em;
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }

  .service .column .card {
    padding: 5em 2em;
  }
}

/**
 *	サービス：制作の流れ
 */
.flow-block {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
}

.flow-block ul {
  padding: 0;
}

.flow-block li {
  list-style-type: none;
}

.flow-block dd {
  margin-left: 0;
}

.flow {
  position: relative;
}

.flow::before {
  content: "";
  width: 15px;
  height: 100%;
  background: #eee;
  margin-left: -129px;
  display: block;
  position: absolute;
  top: 0;
  left: 120px;
  border-radius: 20px;
}

.flow > li {
  position: relative;
}

.flow > li:not(:last-child) {
  margin-bottom: 60px;
}

.flow > li .icon {
  font-size: 0.8em;
  width: 2em;
  height: 2em;
  line-height: 2;
  text-align: center;
  font-weight: bold;
  border-radius: 100vh;
  color: #fff;
  background: #0A7;
  display: inline-block;
  margin-right: 0.3em;
}

.flow > li dl {
  padding-left: 70px;
  position: relative;
}

.flow > li dl::before,
.flow > li dl::after {
  content: "";
  display: block;
  position: absolute;
  top: 15px;
}

.flow > li dl::before {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  background: #0A7;
  border-radius: 50%;
  left: -4px;
}

.flow > li dl::after {
  width: 50px;
  border-bottom: 1px dashed #999;
  position: absolute;
  left: 5px;
}

.flow > li dl dt {
  font-size: 1.3em;
  font-weight: 600;
  color: #0A7;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
}
@media screen and (max-width:768px) {
	.flow > li dl {
		padding-left: 30px;
	}
	.flow > li dl::after {
		width: 18px;
	}
}


/**
 *  Yes/No Chart
 */
.smb-directory-structure {
  background-color: #fff;
  padding: 0.2em;
}
.smb-directory-structure p {
  margin-bottom: 0 !important;
}
.smb-directory-structure__item__list > * {
  margin-top: 6px !important;
}

.yn_box {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border-style: solid;
    border-width: 3px;
    border-color: #333;
    border-radius: 0 10px 10px 10px;
}
.yn_box .box-title {
    position: absolute;
    display: inline-block;
    top: -37px;
    left: -3px;
    padding: 0 20px;
    height: 35px;
    line-height: 35px;
    font-size: 17px;
    background-color: #333;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
    margin-top: 0;
  border-top: none;
  border-bottom: none;
  width: auto;
}
.yn_box.yn_box_1      { border-color: #62c1ce; }
.yn_box.yn_box_1 .box-title { background-color: #62c1ce; }
.yn_box.yn_box_3      { border-color: #65ba6b; }
.yn_box.yn_box_3 .box-title { background-color: #65ba6b; }
.yn_box.yn_box_3 ul    { display: flex; flex-wrap: wrap;  width: 49%; margin-right: 1%; list-style: disc; }
.yn_box.yn_box_3 ul li { width: 100%; }
.yn_box.yn_box_2      { border-color: #eb3; }
.yn_box.yn_box_2 .box-title { background-color: #eb3; }
.yn_box.yn_box_9      { border-color: #d73038; }
.yn_box.yn_box_9 .box-title { background-color: #d73038; }
.yn_box.yn_box_9 a    { color: #000 !important; }
.yn_box.yn_box_9 a:hover  { color: #d73038 !important; }
.yn_box.yn_9list ul    { display: flex; flex-wrap: wrap;  width: 49%; margin-right: 1%; list-style: disc; }
.yn_box.yn_9list ul li { width: 100%; }
.yn_flow {
    counter-reset: number;
    padding-left: 0;
}
.yn_flow > li {
  position: relative;
    list-style: none !important;
    padding: 1em 1em 1rem 3.5rem;
    margin-left: 0 !important;
    margin: 2em 0;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.yn_flow > li:before {
    position: absolute;
    counter-increment: number;
    content: counter(number);
    display: inline-block;
    background: #5c9ee7;
    color: white;
    font-family: 'Avenir', 'Arial Black', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 15px;
    border-radius: 50%;
    left: 1rem;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    top: 2rem;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.yn_flow > li img,
.yn_flow_none  li img {
    max-width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
}
.yn_point {
  position: relative;
  margin: 2em 0;
  padding: 1.5rem;
  border: solid 3px #5c9ee7;
  border-radius: 8px;
}
.yn_point .box-title {
  position: absolute;
  display: inline-block;
  top: -13px;
  left: 10px;
  padding: 0 9px;
  line-height: 1;
  font-size: 19px;
  background: #FFF;
  color: #5c9ee7;
  font-weight: bold;
}

.yn_flexbox {
  display: flex;
  align-items: flex-start;
}

.yn_faq {
  padding: 0 1em 1rem 1rem;
  margin-left: 0 !important;
  margin: 2em 0 4em;
  background: white;
  border-top: solid 5px #65ba6b;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.yn_code {
	border: 1px solid #333;
	border-radius: 3px;
	padding: 1rem;
	color: #333;
	line-height: 1.3em;
}
.yn_trouble {
  padding: 0 1em 1rem 1rem;
  margin-left: 0 !important;
  margin: 2em 0 4em;
  background: white;
  border-top: solid 5px #d73038;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.yn_faq h4,
.yn_trouble h4 {
  position: relative;
  padding-right: 4em;
  margin-top: 0 !important;
  border-top: none !important;
  background-color: #fff;
}
.yn_faq h4 {
  color: #155724 !important;
  border-bottom: 1px dotted #65ba6b !important;
}
.yn_trouble h4 {
  color: #d73038 !important;
  border-bottom: 1px dotted #d73038 !important;
}
.yn_toggle h4:hover {
  cursor: pointer;
}
/* 「+」を追加 */
.yn_toggle h4::before,
.yn_toggle h4::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 4%;
  width: 18px;
  height: 2px;
  margin: auto;
  background-color: #000;
}
.yn_toggle h4::after,
.yn_toggle h4::after {
  transform: rotate(90deg);
  transition: .3s;
}
.yn_faq.yn_toggle h4::before,
.yn_faq.yn_toggle h4::after {
  background-color: #155724 !important;
}
.yn_trouble.yn_toggle h4::before,
.yn_trouble.yn_toggle h4::after {
  background-color: #d73038 !important;
}
/* クリックしたときに「+」を「−」に変更 */
.yn_toggle h4.is-active::after {
  transform: rotate(180deg);
}

.yn_flow_none {
	list-style: none !important;
    padding: 1em 1em 1em 1em;
    margin-left: 0 !important;
    margin: 2em 0;

    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.yn_flow_none ul {
	counter-reset:number; /*数字をリセット*/
  padding-left: 1em;
}
.yn_flow_none ul > li {
	position: relative;
	list-style: none !important;
    padding: 0.5em 1em 0.5em 2em;
    margin-left: 0;
}
.yn_flow_none ul > li:before{
	/* 以下数字をつける */
	position: absolute;
	counter-increment: number;
	content: counter(number);
	/*以下数字のデザイン変える*/
	display:inline-block;
	background: #5c9ee7;
	color: white;
	font-family: 'Avenir','Arial Black','Arial',sans-serif;
	font-weight:bold;
	font-size: 15px;
	border-radius: 50%;
	left: 0;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	/*以下 上下中央寄せのため*/
	top: 1.5em;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
@media screen and (max-width:768px) {
  .yn_flow_none ul {
    padding-left: 0;
  }
  .yn_flow_none ul > li {
    padding: 0.5em 1em 0.5em 1.8em;
  }
  .yn_flow_none ul > li:before{
    left: 0;
    font-size: 13px;
    height: 20px;
    width: 20px;
    line-height: 20px;
  }
  .yn_code {
    font-size: 0.8em;
    overflow-x: scroll;
  }
}

/**
 *  お問い合わせフォーム
 */
.contact-form {
  width: 100%;
  max-width: 800px;
  margin: auto;
}
.contact-form .btn {
  position: relative;
  display: block;
  width: 100%;
  max-width: 220px;
  height: 40px;
  border-radius: 10px;
}
.contact-form .required {
  color: #e00;
  font-family: "Noto serif", serif;
  font-size: 11px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font-size: 100%;
  font-weight: normal;
}
.form-table {
  margin-bottom: 60px;
}
.form-table .confirm-text {
  font-weight: normal;
  font-size: 14px;
}
.form-table th {
  width: 22%;
}
.contact-info {
  padding: 1em;
  text-align: center;
}
.error-info {
  border-radius: 5px;
  border: 1px solid #e00;
  color: #e00;
  text-align: center;
  padding: 1em 0;
  margin: 45px auto;
  display: none;
}
.send-info {
  border-radius: 5px;
  border: 1px solid #ccc;
  text-align: center;
  padding: 1em 0;
  margin: 45px auto;
  display: none;
}
.on-input-error .error-info {
  display: block;
}
.ready-to-send .send-info {
  display: block;
}
.on-input-error .contact-info,
.ready-to-send .contact-info {
  display: none;
}

.btn-confirm:not(:disabled) {
  border: 1px solid #0a7;
  background-color: #fff;
  color: #0a7;
}
.btn-confirm:not(:disabled):hover {
  background-color: #0a7;
  color: #fff;
}
.btn-confirm:disabled,
.btn-confirm:disabled:hover {
  border: 1px solid #999;
  color: #999;
}
.btn-back {
  border: 1px solid #333;
  background-color: #fff;
  color: #333;
}
.btn-back:hover {
  background-color: #333;
  color: #fff;
}
.btn-back::before {
  display: none !important;
}
.btn-confirm:disabled,
.btn-back:disabled {
  cursor: not-allowed;
}
.btn-confirm:not(disabled),
.btn-back:not(disabled) {
  cursor: pointer;
}
.submit-block {
  display: flex;
  justify-content: center;
  max-width: 470px;
  margin: auto;
}
.submit-block .btn {
  margin: auto;
}

.contact-form .agree {
  padding: 20px;
  max-height: 300px;
  font-size: 0.8em;
  border: 1px solid #ccc;
  background-color: #fff;
  overflow-y: scroll;
}
.contact-form .agree h4 {
  font-size: 110%;
}
.contact-form .agree h5 {
  font-size: 100%;
}
.contact-form .consent {
  padding: 1em;
  text-align: center;
  font-size: 1em;
}
.ready-to-send .contact-form .agree,
.ready-to-send .contact-form .consent {
  display: none;
}
.thanks-block {
  text-align: center;
}
.form-table td.radio01 label input {
  width: 5%;
}
.form-table td.radio01 label span {
  width: 45%;
}
@media screen and (max-width:480px) {
  .form-table th,.form-table td {
    width: 100%;
    display: block;
  }
  .form-table th  {
    text-align: left;
  }
  .form-table td.radio01 label {
    flex-direction: column;
  }
  .form-table td.radio01 label > * {
    width: 100%;
  }
}