/*
	Theme Name: WerkStatt Child Theme
	Theme URI: http://themeforest.net/user/fuelthemes
	Description: <strong>A Premium theme for magazine, editor, community and more! WordPress Theme by <a href="http://www.themeforest.net/user/fuelthemes">fuelthemes</a></strong> – Update notifications available on Twitter and Themeforest <a href="http://twitter.com/anteksiler">Follow us on twitter</a> – <a href="http://themeforest.net/user/fuelthemes">Follow us on Themeforest</a>
	Version: 1.0.0
	Author: fuelthemes
	Template: werkstatt
	Text Domain: werkstatt
*/

.thb-page-header h1{
	        font-size: 36px;
}

.thb-page-header{
	margin-bottom: 60px;
}

body .pagination-style1{
	max-width:100%;
}

.blog-container .post-gallery.parallax{
	min-height : 0;
	padding : 0;
}

.zero-margin{
	margin-bottom:0!important;
}

.thb-portfolio-filter.style2{
	margin: 30px;
}

input[type=submit].masonry_btn, .button.masonry_btn, .btn.masonry_btn{
	margin-bottom: 50px;
}

body{
	color:#222222;
}

.thb-portfolio {
  max-width: none !important;
  overflow: hidden;
	margin-left: 0!important;
	margin-right: 0!important;
}

/* 横線 */
.portfolio-link h2::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 30px;
  height: 1px;
  background: #fff;
  transform: translateY(-50%);
}

/* 矢印の先端 */
.portfolio-link h2::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

/* 以前spanにつけた矢印は消す */
.portfolio-link h2 span::before,
.portfolio-link h2 span::after {
  content: none !important;
}

.float-title h4 {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-right: 0;
}

.float-title h4 a {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

/* 横線 */
.float-title h4 a::before {
  content: "";
  position: absolute;
  right: 0px;
  top: 50%;
  width: 22px;
  height: 1px;
  background: #fff;
  transform: translateY(-50%);
}

/* 矢印先端 */
.float-title h4 a::after {
  content: "";
  position: absolute;

  /* 既存CSSを解除 */
  left: auto;
  bottom: auto;

  right: 0;
  top: 50%;

  width: 8px;
  height: 8px;

  border: 0;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;

  box-sizing: border-box;

  margin-top: -4px;
  transform: rotate(45deg);
  transform-origin: center;
}

.float-title h4 a:hover::after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.float-title h6 a::after{
	border-bottom:none;
}

.thb-image-slider .slick-list {
    overflow: hidden !important;
}

.thb-image-slider figure.slick-slide {
    transform-origin: center center;
    will-change: transform;
}

/* 画像のはみ出しを隠す */
.portfolio-link .portfolio-inner {
    overflow: hidden;
}

/* 通常時 */
.portfolio-link .thb-placeholder img {
    transform: scale(1);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* hover時 */
.portfolio-link:hover .thb-placeholder img {
    transform: scale(1.08);
}

.thb-portfolio .type-portfolio.style2:hover .portfolio-inner img, .thb-portfolio .type-portfolio.style2:hover .portfolio-inner .thb-placeholder{
	opacity: 1;
}

.zoom-card .vc_single_image-wrapper {
    display: block;
    width: 100%;
    overflow: hidden;
}

.zoom-card .vc_single_image-wrapper img {
    display: block;
    width: 100%;
    height: auto;

    transform: scale(1);
    transition: transform 0.5s ease;
}

/* カラム全体にhoverしたとき画像を拡大 */
.zoom-card:hover .vc_single_image-wrapper img {
    transform: scale(1.08);
}

#nav_menu-4{
	margin-bottom: 80px;
}

.thb-close svg g {
}

.thb-close svg path {
    transform: scale(1.25);
    transform-origin: center;
    transform-box: fill-box;
    vector-effect: non-scaling-stroke;
}

/* ==============================
   モバイルメニュー：ロゴ項目
============================== */

#menu-item-509 {
    width: 100%;
    height: auto;
    margin-bottom: 35px;
}

/*
 * link_inner の transform は絶対に上書きしない
 * Werkstattのスライドアニメーションに使われるため
 */
#menu-item-509 .link_container,
#menu-item-509 .link_inner {
    width: 100%;
    height: auto;
}

/* ロゴを表示するリンク領域 */
#menu-item-509 a {
    display: block !important;
    width: 220px !important;
    height: 60px !important;

    background-image: url("https://warq-designlab.com/wp-content/uploads/2026/07/web-logo.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;

    line-height: 1 !important;
}

/* ナビゲーションラベルに入れたimgは非表示 */
#menu-item-509 .nav-link-mask {
    display: none !important;
}

/* テーマ側の文字表示も不要 */
#menu-item-509 a::before,
#menu-item-509 a::after {
    content: none !important;
}

.thb-mobile-menu .menu_arrow{
	    fill: #e72418;
}

.footer-links a:before, .footer .widget ul li a:before, .thb-secondary-menu li a:before{
	background: #e72418;
}

/* ボタンエリア */
#wpcf7cpcnf .wpcf7cp-btns {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 20px !important;

    margin-top: 40px !important;
    margin-bottom: 20px !important;
}

/* ボタン共通 */
#wpcf7cpcnf .wpcf7cp-cfm-edit-btn,
#wpcf7cpcnf .wpcf7cp-cfm-submit-btn {
    -webkit-appearance: none !important;
    appearance: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 180px !important;
    height: 56px !important;

    margin: 0 !important;
    padding: 0 30px !important;

    border-radius: 0 !important;

    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;

    cursor: pointer !important;

    transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* 修正ボタン */
#wpcf7cpcnf .wpcf7cp-cfm-edit-btn {
    background: #fff !important;
    color: #e72418 !important;
		border-radius: 200px!important;
    border: 1px solid #e72418 !important;
}

/* この内容で送信 */
#wpcf7cpcnf .wpcf7cp-cfm-submit-btn {
    background: #e72418 !important;
    color: #fff !important;
		border-radius: 200px;
    border: 1px solid #e72418 !important;
		border-radius: 200px!important;
}

/* hover */
#wpcf7cpcnf .wpcf7cp-cfm-edit-btn:hover {
    background: #f7f7f7 !important;
    color: #e72418 !important;
}

#wpcf7cpcnf .wpcf7cp-cfm-submit-btn:hover {
    opacity: 0.75;
}

#wpcf7cpcnf::before {
    content: "入力内容のご確認";
    display: block;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 15px;
}

#wpcf7cpcnf::after {
    content: "以上の内容でよろしければ「送信」ボタンを押してください。";
    display: block;
}

.thb-portfolio.masonry .portfolio-link {
				padding-left: 0;
				padding-right: 0;
    }

.thb-portfolio.masonry .portfolio-link:hover h2{
			color: #fff;
		}

.home .thb-portfolio.masonry .portfolio-link {
		    margin-bottom: 0px !important;
		}

input[type=submit], .button, .btn{
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="password"],
.wpcf7-form-control-wrap input[type="date"],
.wpcf7-form-control-wrap input[type="datetime"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="number"],
.wpcf7-form-control-wrap input[type="search"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap input[type="time"],
.wpcf7-form-control-wrap input[type="url"],
.wpcf7-form-control-wrap textarea {
    margin-bottom: 0 !important;
}

/* 各フォーム間の余白 */
.wpcf7-form .form-row {
    margin-bottom: 40px !important;
}

/* textareaの背景線を削除 */
.wpcf7-form .form-field textarea {
    background: #fff !important;
    border: 1px solid #ccc !important;
}

.form-field {
    width: 100% !important;
    min-width: 0;
}

.form-field .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

.form-label > p {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 !important;
}

.form-label > p > br {
    display: none !important;
}

.form-label label {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
}

.form-label .required,
.form-label .optional {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

/* 1項目全体 */
.form-row {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: 60px;
    align-items: center;
    width: 100%;
}

/* 左側 */
.form-label {
    display: flex;
    align-items: center;
    gap: 20px;
}

.form-label label {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* 必須 */
.form-label .required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    background: #E72418 !important;
    color: #fff;

    font-size: 11px;
    line-height: 1;
    padding: 8px 12px;
}

/* 任意 */
.form-label .optional {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    background: #999;
    color: #fff;

    font-size: 14px;
    line-height: 1;
    padding: 10px 14px;
}

/* CF7のspanを横幅いっぱいに */
.form-field .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* input / select / textarea */
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #ccc;
    border-radius: 0;
    background-color: #fff;

    font-size: 18px;
    padding: 0 38px;

    outline: none;
}

/* 1行入力 */
.form-field input,
.form-field select {
    height: 76px;
}

/* テキストエリア */
.form-field textarea {
    min-height: 220px;
    padding-top: 25px;
    padding-bottom: 25px;
    resize: vertical;
}

/* placeholder */
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #c8c8c8;
    opacity: 1;
}

/* フォーカス */
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #777;
}

/* select */
.form-field select {
    -webkit-appearance: none;
    appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 30px center;
    padding-right: 65px;
}

/* 送信ボタン */
.form-submit {
}

.form-submit input[type="submit"] {
    border: 0;
    background: #111;
    color: #fff;
    cursor: pointer;
}

input[type=submit], .button, .btn{
	height:56px;
}

select{
	padding: 10px;
}

.flow-row {
    position: relative !important;
    overflow: visible !important;
}

.flow-row::after {
    content: "" !important;
    display: block !important;
    clear: none !important;
    position: absolute !important;

    width: 30px !important;
    height: 20px !important;
    background: #ed1c24 !important;

    clip-path: polygon(0 0, 100% 0, 50% 100%);

    /* row全体の中央 */
    left: 50%;
    transform: translateX(-50%);

    /* 上下のrowの間 */
    bottom: -35px;

    z-index: 9999;
}

.flow-row:last-child::after {
    display: none !important;
}

.step{
	min-height:135px;
	display: flex;
  flex-direction: column;
  justify-content: center;
}

a{
	color:#e72418;
}

tr, table:not(.variations):not(.shop_table):not(.group_table) tbody tr:nth-child(even){
	border-bottom: 1px solid rgba(0,0,0,.1)
}

tr td, tr th,
table:not(.variations):not(.shop_table):not(.group_table) tbody th,
table:not(.variations):not(.shop_table):not(.group_table) tbody td{
	padding: 20px 0;
}

.home .wpb_column > .vc_column-inner > .wpb_wrapper {
	position: relative;
}

.float-title {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	margin: 0 !important;
	box-sizing: border-box;
	padding: 30px 20px;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10;
}

.float-title a{
	color:#fff;
	width:100%;
}

.float-title a::after{
}

.float-title h4 {
	margin: 0;
	color: #fff;
}

.float-title h6 {
	color: #fff;
}

/* ポートフォリオのアイキャッチを正方形にする */
.portfolio-link .portfolio-inner {
    padding-bottom: 100% !important;
}

/* 画像を正方形いっぱいにトリミング */
.portfolio-link .thb-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.portfolio-link .thb-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 各ポートフォリオを正方形の領域にする */
.portfolio-link .portfolio-holder {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

/* 写真を正方形いっぱいに表示 */
.portfolio-link .portfolio-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 0 !important;
}

.portfolio-link .thb-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.portfolio-link .thb-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* タイトルの黒帯 */
.portfolio-link .portfolio-holder > h2 {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    margin: 0;
    padding:  30px 50px 30px 20px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: left;

    z-index: 10;
}

.thb-portfolio .type-portfolio.style2 h2{
	margin-bottom:0;
	justify-content: left;
}

.portfolio-title.style2 h1{
	margin-bottom:0;
}

table:not(.variations):not(.shop_table):not(.group_table) tbody tr:nth-child(even){
	    background-color: transparent;
}

.wp-block-table td, .wp-block-table th{
	border: 1px solid #ccc;
	border-left: none;
    border-right: none;
}

table:not(.variations):not(.shop_table):not(.group_table) tbody{
	border:none;
}

.portfolio-detail .post-content {
    max-width: 1400px;
	width:80%;
    margin: 0 auto 0 auto;
}

.portfolio-detail .post-content h1,
.portfolio-detail .post-content h2,
.portfolio-detail .post-content h3,
.portfolio-detail .post-content h4,
.portfolio-detail .post-content h5{
	color:#1f1f1f;
}

.portfolio-detail .post-content h6{
	color:#999999;
}


.portfolio-detail .post-content figure{
	margin-bottom: 1.55rem;
}

/* Slick初期化後にフェードイン */
.thb-image-slider.slick-initialized {
  visibility: visible;
  animation: sliderFadeIn 1.5s ease-out forwards;
}

@keyframes sliderFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.btn:not(.thb-text-style):not(.thb-border-style):not(.thb-fill-style):not(.thb-solid-border):not(.thb-border-line-style):hover{
	background:#fff;
}

.pagination-style1{
	max-width:66.66667%;
	flex: 0 0 66.66667%;
	margin:0 auto;
}

.flow-step h3{
	color:#fff;
	margin-bottom:0;
	font-size:18px;
}

.flow-step h3.step-number{
	font-size:36px;
}

.h-black h1,
.h-black h2,
.h-black h3,
.h-black h4,
.h-black h5,
.h-black h6{
	color:#222222;
}

.home-works .thb-portfolio .column, .home .columns{
	padding-left:0;
	padding-right:0;
}

.home-works .thb-portfolio.row{
	margin-left:0;
	margin-right:0;
}

#mobile-menu.style2{
	z-index:9999;
}

.page-image-area{
	min-height:500px;
}

.line-height-heading h2{
	line-height: 1.6;
}

.page-padding{
	padding-bottom: 0;
}

.page-hero{
	position:relative;
}

.page-title{
	position: absolute;
    left: 0;
    bottom: 0;
}

.page-title h1{
	font-size: 24px;
}

.page-title h1, .page-title h6{
	color:#fff;
}

.hero-copy{
	position: absolute;
    top: 40%;
    right: 5%;
}

.hero-copy h2{
	font-size:32px;
	line-height: 1.6;
	color:#fff;
	text-shadow: 0 0 20px #555;
}

body p{
	font-size:16px;
	color:#222222;
}

body #scroll_to_top.active{
	bottom: 90px;
}

.fixed-spec {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(580px, calc(100% - 40px));
  padding: 16px 28px;
  color: #E72418;
  background-color: #efefef;
  box-sizing: border-box;
}

.fixed-spec__list {
  margin: 0;
}

.fixed-spec__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;

  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.fixed-spec__row dt,
.fixed-spec__row dd {
  margin: 0;
}

.fixed-spec__row dt {
  font-weight: 700;
}

.fixed-spec__row dt::after {
  content: "：";
  float: right;
}

.fixed-spec__row dd {
  font-weight: 500;
}

.sp-only {
  display: none;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .fixed-spec {
	left:0px;
    right: 0px;
    bottom: 0px;

    width: 100%;
    padding: 12px 16px;
  }

  .fixed-spec__row {
    grid-template-columns: 95px 1fr;
    gap: 8px;

    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.04em;
  }

  .sp-only {
    display: block;
  }
}

.thb-mobile-menu a, .thb-mobile-menu .sub-menu li a{
	 font-size: 27px;
     line-height: 1.8;
}

body #scroll_to_top svg{
	fill:#E72418!important;
}

#scroll_to_top:hover svg{
	fill: #fff!important;
}

body #scroll_to_top{
	border-color: #E72418!important;
}

body #scroll_to_top:hover{
	border-color: #E72418!important;
    background-color: #E72418!important;
}

#mobile-menu.light .thb-mobile-menu .menu_arrow{
	fill: #fff;
}

#mobile-menu .menu-footer p{
	color:#e72418;
}

.footer.light .footer-links a:before, .footer.light .widget ul li a:before, .footer.light .thb-secondary-menu li a:before, .thb-secondary-menu .footer.light li a:before{
	background: #ffffff;
}

#mobile-menu.light .thb-close path {
    stroke: #fff;
}

.hero{
	position: relative;
}

.hero_news{
	position: absolute;
	bottom:0;
	left:0;
	width:100%;
	background-color: rgba(0, 0, 0, 0.5);
	margin:0!important;
}

.hero_news .post.style9{
	padding:5px 0;
}

.hero_news h2{
	font-size:18px;
	color:#fff;
}

.hero_news .post.style9 h5{
	font-size:16px;
	font-weight: bold;
	color:#fff;
}

h1,
h2,
h3,
h4,
h5,
h6{
	color:#E72418;
}

.home .post .post-meta{
	font-size: 14px!important;
	color:#fff;
	opacity:1!important;
	max-width:150px!important;
}

.home .post.style9{
	border-bottom:none;
}
.home .post.style9:after{
	display:none;
}

.header .thb-header-button{
	border: none;
	font-weight:bold;
	box-sizing: border-box;
	border: 1px solid #ef173b;
}

.header .thb-header-button:hover{
	background-color: #fff!important;
	border: 1px solid #ef173b;
	color:#ef173b;
}

.red-bg h1,
.red-bg h2,
.red-bg h3,
.red-bg h4,
.red-bg h5,
.red-bg h6{

}

.in-padding>div{
	padding:50px 80px;
}

.in-padding-small>div{
	padding:20px 60px;
}

.lr-padding{
}

.home .page-padding{
	padding-bottom:0;
}

/* 初期化前は非表示 */
.thb-image-slider:not(.slick-initialized) {
  visibility: hidden;
}

.grecaptcha-badge{
	z-index:-9999;
	visibility: hidden;
}

.top_title h2{
	font-size:40px;
}

body{
	font-family: "futura-pt", Noto Sans, sans-serif;
	font-weight: 300;
}

.menu-item a{
	letter-spacing: 0.1em;
	font-family: "futura-pt", Noto Sans, sans-serif;
	font-weight: 500;
}

h1, h2, h3, h4, h5, h6{
	letter-spacing: 0.1em;
	font-family: "futura-pt", Noto Sans, sans-serif;
	font-weight: 600;
}

h1, h2, h3, h4, h5, h6{
	letter-spacing: 1px;
}


h1{
	font-size: 32px;
}

h2{
	font-size: 28px;
}

h3{
	font-size: 24px;
}

h4{
	font-size: 20px;
}

h5{
	font-size: 16px;
}

h6{
	font-size: 14px;
}

li{
	font-size: 14px;
	line-height: 2;
}

footer p, .widget p, .widget{
	font-size: 14px;
}

p, .portfolio-title h4 div{
	font-size: 15px;
	line-height: 2;
	font-family: "futura-pt", Noto Sans, sans-serif;
	font-weight: 300;
}

label{
	font-size: 14px;
}

body .wpcf7-spinner{
	display:none;
}

body input[type="submit"], body .button, body .btn{
	border: 2px solid #111;
	border-radius:100px;
}

body input[type="submit"]:hover, body .button:hover, body .btn:hover{
	background-color: #fff;
	color: #111;
	border: 1px solid #111;
}

p:has(input[type="submit"]){
	text-align: center;
}

body .vc_btn3.vc_btn3-color-black, body .vc_btn3.vc_btn3-color-black.vc_btn3-style-flat{
	color: #fff;
	background-color: #111;
	border: 2px solid #111;
}

body .vc_btn3.vc_btn3-color-black.vc_btn3-style-flat:focus, body .vc_btn3.vc_btn3-color-black.vc_btn3-style-flat:hover, body .vc_btn3.vc_btn3-color-black:focus, body .vc_btn3.vc_btn3-color-black:hover{
	color: #111;
	background-color: #fff;
	border: 2px solid #111;
}

#sb_instagram .sb_instagram_header, .sb_instagram_header{
	padding: 0 0 12px 0;
}

body #sb_instagram #sbi_load .sbi_load_btn, body #sb_instagram .sbi_follow_btn a{
	color: #fff!important;
}

.blog-container .thb-page-header{
	margin-top: 60px;
}

.crown_img img{
	width: 50px;
	height: 50px;
}

body #scroll_to_top{
	border-color: #111;
}

body #scroll_to_top svg{
	fill: #111;
}

body #scroll_to_top:hover{
	border-color: #111;
	background-color: #111;
}

body .vc_btn3.vc_btn3-color-inverse.vc_btn3-style-outline{
	color: #111;
	border-color: #111;
	font-weight: 500;
	min-width:150px;
}

input[type="submit"].thb-border-style, .button.thb-border-style, .btn.thb-border-style{
	font-weight: 500;
}

body .vc_btn3.vc_btn3-color-inverse.vc_btn3-style-outline:focus, body .vc_btn3.vc_btn3-color-inverse.vc_btn3-style-outline:hover{
	border-color: #111;
	background-color: #111;
}

h1,h2,h3,h4,h5{
	letter-spacing: 1.5px;
}

.overlay_text a::after{
	display:none;
}

.overlay_text a:hover{
	color: #f5cd1e;
}

.link_wrapper:hover .overlay_text a{
	color: #f5cd1e;
}

.link_wrapper .wpb_wrapper{
	display: table;
	position: relative;
}

.white_text a{
	color: #ffffff;
}

.overlay_text{
    position: absolute;
    display: table-cell;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
	text-align: center;
}

.overlay_text h2{
	font-size: 3rem;
}

#mobile-menu .thb-close path{
	stroke: #e72418;
}

#mobile-menu .menu-footer{
	color: #111111;
}

.thb-portfolio .type-portfolio.title-center .portfolio-link{
	background: rgba(245, 205, 30, 0.7);
}

#mobile-menu{
	background: #f5cd1e;
}

.thb-mobile-menu a{
	color: #111111;
}

#scroll_to_top{
	border: 1px solid #777777;
}

#scroll_to_top svg{
	fill: #777777;
}

.pc{
	display: flex;
}

.sp{
	display: none;
}

.hero{
	position: relative;
}

.hero_title{
	position:absolute;
	left:0;
	bottom:0;
}

.hero_title p{
	font-size: 8vw;
	font-weight: 500;
	color:#ffffff;
	width: 100%;
	text-align: left;
	line-height: 1;
	margin-left:30px;
	letter-spacing: 0.05em;
}

.padding-1 .portfolio-holder{
	    padding-bottom: 100%;
}

.padding-2 .portfolio-holder{
	    padding-bottom: 200%;
}

@media screen and (max-width: 768px) {
	.pc{
		display: none;
	}

	.sp{
		display: flex;
	}

	.hero_title p{
		font-size: 15vw;
		width: 100%;
		text-align: left;
		padding-left: 20px;
		box-sizing: border-box;
		margin-left: 0;
		letter-spacing: 0.05em;
	}

	.type-portfolio.medium-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

	.mobile-menu-top ul li{
		margin-bottom: 10px;
	}

	.thb-portfolio .type-portfolio:hover .portfolio-link, .thb-portfolio .type-portfolio.swiper-slide-active .portfolio-link, .thb-portfolio .type-portfolio.current .portfolio-link{
		opacity:0;
	}

	.top_title h2{
		font-size:36px;
	}

	.sp-img-h300>div{
		padding: 150px 0;
	}

	.page-image-area{
		min-height: auto;
	}

	.in-padding>div{
		padding:50px 50px;
	}

	.row.mobile-reverse {
    flex-direction: column-reverse !important;
  }

tbody,
tr,
th,
td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
  }

tr {
    padding: 24px 0;
    border-bottom: 1px solid #ddd;
  }

th {
    padding: 0 0 10px 0 !important;
    border: none !important;
    text-align: left;
  }

td {
    padding: 0 !important;
    border: none !important;
  }

	.step{
		min-height:auto;
		padding:20px 0;
	}

	.flow-step{
		margin-bottom: 30px;
	}

	.step-content>div{
		padding-right: 0px !important;
		padding-left: 0px !important;
	}
	
}

	@media screen and (max-width: 767px) {

	    .form-row {
	        display: block;
	        margin-bottom: 30px;
	    }

	    .form-label {
	        margin-bottom: 12px;
	        gap: 12px;
	    }

	    .form-label label {
	        font-size: 16px;
	    }

	    .form-label .required,
	    .form-label .optional {
	        font-size: 12px;
	        padding: 7px 10px;
	    }

	    .form-field input,
	    .form-field select {
	        height: 58px;
	        padding-left: 18px;
	        padding-right: 45px;
	    }

	    .form-field textarea {
	        padding: 18px;
	    }

	    .form-field select {
	        background-position: right 18px center;
	    }

	    .form-submit {
	        margin-left: 0;
	    }

			/* 1項目を縦並びに */
    .wpcf7-form .form-row {
        display: block !important;
        width: 100% !important;
        margin-bottom: 32px !important;
    }

    /* 項目名＋必須・任意 */
    .wpcf7-form .form-label {
        display: block !important;
        width: 100% !important;
        margin-bottom: 12px !important;
    }

    /* CF7が自動生成するp */
    .wpcf7-form .form-label > p {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 14px !important;
        margin: 0 !important;
    }

    .wpcf7-form .form-label > p > br {
        display: none !important;
    }

    /* 項目名 */
    .wpcf7-form .form-label label {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        font-size: 16px;
        line-height: 1.6;
    }

    /* 必須・任意 */
    .wpcf7-form .required,
    .wpcf7-form .optional {
        flex-shrink: 0 !important;
        width: auto !important;
        margin: 0 !important;
        padding: 7px 12px;
        font-size: 13px;
        line-height: 1;
    }

    /* 入力欄側 */
    .wpcf7-form .form-field {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .wpcf7-form .form-field .wpcf7-form-control-wrap {
        display: block !important;
        width: 100% !important;
    }

    .wpcf7-form .form-field input,
    .wpcf7-form .form-field select,
    .wpcf7-form .form-field textarea {
        display: block !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    /* input / select の高さ */
    .wpcf7-form .form-field input,
    .wpcf7-form .form-field select {
        height: 58px;
        padding-left: 18px;
        padding-right: 45px;
    }

    /* select矢印 */
    .wpcf7-form .form-field select {
        background-position: right 20px center;
    }

    /* textarea */
    .wpcf7-form .form-field textarea {
        min-height: 180px;
        padding: 18px;
        background: #fff !important;
    }

		table.price-table {
    display: table !important;
    width: 100% !important;
  }

  table.price-table thead {
    display: table-header-group !important;
  }

  table.price-table tbody {
    display: table-row-group !important;
  }

  table.price-table tr {
    display: table-row !important;
    width: auto !important;
  }

  table.price-table th,
  table.price-table td {
    display: table-cell !important;
    width: 50% !important;
    box-sizing: border-box;
		padding: 18px 16px !important;
  }

	.thb-portfolio.masonry .portfolio-link {
	    }

			#wpcf7cpcnf .wpcf7cp-btns {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;

        margin-top: 30px !important;
    }

    #wpcf7cpcnf .wpcf7cp-cfm-edit-btn,
    #wpcf7cpcnf .wpcf7cp-cfm-submit-btn {
        width: 100% !important;
        min-width: 0 !important;
        height: 54px !important;

        padding: 0 20px !important;
    }

		.header{
			 padding: 20px 20px!important;
		}

		.footer{
			 padding: 40px 40px 60px 40px;
		}

		body #scroll_to_top.active{
			bottom: 130px;
		}

		.sp-center h6, .sp-center h2{
			text-align: center;
		}
		
    .hero-copy {
        position: absolute;
        top: 120px;
        right: 30px;
        left: auto;
    }

    .hero-copy h2 {
        display: flex;
        flex-direction: row;
        gap: 3px;

        margin: 0;
        font-size: 24px;
        line-height: 1.8;
        color: #fff;
        text-shadow: 0 0 20px #999;

        writing-mode: horizontal-tb;
    }

    .hero-copy h2 span {
        writing-mode: vertical-rl;
        -webkit-writing-mode: vertical-rl;
        text-orientation: upright;
        white-space: nowrap;
    }

		body .hero_news{
			padding-top: 30px !important;
			padding-right: 30px !important;
			padding-bottom: 30px !important;
			padding-left: 30px !important;
		}

		#scroll_to_top{
			right: 20px;
		}

		.float-title h4{
			font-size: 16px;
		}

		.float-title h6{
			font-size: 12px;
			margin-bottom: 5px;
		}

		.float-title{
			padding: 20px 20px;
		}

		.thb-portfolio .type-portfolio.style2 h2{
			padding: 15px 20px;
			font-size: 18px;
		}

		.zoom-card .vc_single_image-wrapper {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 3;
	overflow: hidden;
}

.zoom-card .vc_single_image-wrapper img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}
		
body .page-title {
    padding-top: 15px !important;
    padding-right: 30px !important;
    padding-bottom: 15px !important;
    padding-left: 30px !important;
}
		
body .page-sub-title{
	 margin-bottom: 5px !important;
}
		
body .page-hero>div>div{
	padding-top: 150px !important;
    padding-bottom: 150px !important;
}
		
.thb-mobile-menu a, .thb-mobile-menu .sub-menu li a{
	 font-size: 21px;
     line-height: 1.8;
}
		
		.post.style9 .post-meta{
			font-size:14px;
			margin-bottom:10px;
		}
		
		.blog-container .small-12 .post-content-container{
	padding-left: .625rem;
    padding-right: .625rem;
		}
		
		.portfolio-link h2::after,
		.portfolio-link h2::before{
			display:none;
		}

}

@media screen and (max-width: 640px) {
		.blog-container .small-12{
		padding-left: 10%;
		padding-right: 10%;
	}
}
