/*
Template: IT-STUDIO
Theme Name: IT-STUDIO_child
Description: New Material Design Theme
Version: 8.30
Author:	IT-STUDIO
Theme URI: https://it-studio.jp/
Domain Path: /languages
*/


@media only screen and (-webkit-min-device-pixel-ratio: 2), (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx){
    html {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    }

#comments .w-form-row.for_checkbox {
    display: none;
}
html { scroll-behavior: smooth;}

.white,.white h1,.white h2,.white h3,.white h4,.white h5,.white h6,.white p{
    color:#fff;
}
.margin0,.margin0 p,.margin0 h1,.margin0 h2,.margin0 h3,.margin0 h4,.margin0 h5,.margin0 h6 {
    margin-bottom: 0 !important;
}
.circle img {
    border-radius: 50%;
}
.circle {
    margin-bottom: 5px;
}
::selection {
    color: silver;
    background:#E3F2FD;
}
::-moz-selection {
    color: silver;
    background:#E3F2FD;
}

.keep h1,.keep h2,.keep h3,.keep h4,.keep h5,.keep h6,.keep p{
    word-break: keep-all !important;
}
.shadow h1,.shadow h2,.shadow h3,.shadow h4,.shadow h5,.shadow h6,.shadow p,.shadow{
    text-shadow: 1px 1px 5px #333;
}
.relative{
    position: relative;
}

span.small{
    font-size: 0.9rem;
}
.line-head h2 {
    text-align: center;
    position: relative;
    display: table;
    margin: 0 auto;
}
.line-head h2:before {
    right: 100%;
    margin-right: 1rem;
}
.line-head h2:after {
    left: 100%;
    margin-left: 1rem;
}
.line-head h2:before, .line-head h2:after {
    content: '';
    display: inline-block;
    vertical-align: top;
    position: absolute;
    top: 50%;
    height: 0;
    width: 2rem;
    border-top-width: 1px;
    border-top-style: solid;
    border-color: inherit;
}
.line-head h2>* {
    display: inline-block;
    vertical-align: top;
    line-height: inherit !important;
    margin: 0;
}

@media (max-width: 767px){
.padding0 .wpb_column.vc_column_container {
    margin-bottom: 0 !important;
}
}
@media (min-width: 600px){
br.br-sp {
    display: none; 
}
}
@media (max-width: 600px){
br.br-pc {
    display: none;
}
}




/*Responsive Fix*/
@media screen and (max-width: 600px){
	section.l-section {
    padding-left: 1rem;
    padding-right: 1rem;
}
.l-section.height_small, .l-section.height_medium {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}
}
@media (max-width: 480px){
    .post_navigation.layout_simple .order_first {
        padding: 0 0 7px 30px;
    }
    .post_navigation.layout_simple .order_second {
        padding: 0 30px 7px 0;
    }
    }

/*Header*/
.l-header.bg_transparent:not(.sticky) {
    background: linear-gradient(rgba(0,0,0,0.5), transparent) repeat-x !important;
}

/*Blog-single*/
.blogrow .entry-title {
    position: absolute;
    bottom: 10%;
    z-index: 10;
    color: #fff;
    margin-left: 15px;
    margin-right: 20px;
}
.blogrow .w-hwrapper.align_left.valign_top.wrap {
    position: absolute;
    bottom: 4%;
    z-index: 12;
    color: #fff;
    margin-left: 15px;
    line-height: 22px;
}
.blogrow .w-post-elm.post_image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
}
.blogrow .w-hwrapper .material-icons {
    font-size: 1.2rem;
}
.blogrow .post_image img {
    height: 500px;
    object-fit: cover;
}
@media (max-width: 480px) {
.single-post .toukou img {
      margin-left: -32px;
      max-width: 100vw;
}
.blogrow .w-post-elm.post_image.stretched {
    margin-left: -25px;
    margin-right: -25px;
    margin-top: -20%;
}
.blogrow .w-hwrapper.align_left.valign_top.wrap {
    bottom: 0%;
}
.blogrow .post_image img {
    height: 400px;
}
}

/* POPULAR POST */
.popular-posts ul li{
    background: none;
    overflow: hidden;
    clear: both;
    margin: 0;
    padding: 0 0 1.0em 0;
}
.popular-posts img{
    width: 25%;
    float: left;
    padding: 0;
    border: solid 1px #ccc;
    background-color: #fff;
    margin-right: 5px;
}
.popular-posts .wpp-post-title, .popular-posts .post-stats {
    width: 70%;
    float: left;
    padding-left: 4px;
}
ul.wpp-list {
    list-style-type: none;
}
a.wpp-post-title {
    line-height: 1rem !important;
    word-wrap: break-word;
    padding: 0;
    margin: 0;
    font-size: 0.8rem !important;
}
.popular-posts ul li {
    background: none;
    overflow: hidden;
    clear: both;
    line-height: 1.5em;
    margin-bottom: 5px;
    position: relative;
}
.wpp-views {
    color: #666;
    text-align: right;
    display: block;
    font-size: 0.8rem;
}


/* Specify */
th.w15 {
    width: 200px;
}
@media (max-width: 680px) {
th.w15 {
    width: 35%;
}
}


/*Contact Form*/
.contact-form {
    box-shadow: 2px 2px 10px #eee;
}
.wpcf7-spinner {
    position: absolute;
    right: 0;
}
input.wpcf7-text.wpcf7c-conf,textarea.wpcf7c-conf,input.wpcf7c-conf-hidden.wpcf7c-conf {
    background: #e7f0fe !important;
    border:none !important;
}
input[disabled] {
    opacity: 1 !important;
}
.row, .row2 {
    position: relative;
    margin-bottom: 5px;
    display: table;
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding: 0 0 5px 10px;
}
.wpcf7 span.required2 {
    color: #E91E63;
    font-size: 1.1rem;
    margin-right: 2px;
}
span.c-title {
    width: 200px;
    display: table-cell;
    position: relative;
    top: 18px;
    font-weight:bold;
    padding-left: 10px;
}
span.c-title2 {
    display: inline-block;
    font-weight: bold;
    margin-right: 15px;
    padding: 10px 5px;
}
.wpcf7-form-control-wrap {
    position: relative;
    display: table-cell;
}
span.wpcf7-form-control-wrap.acceptance {
    display: block;
}
.wpcf7-confirm.wpcf7c-elm-step1.wpcf7c-btn-confirm {
    display: block;
    margin: 0 auto;
    margin-top: 10px;
    width: 250px;
    font-family: 'fontawesome';
    padding: 0.8em 1.8em;
    font-size: 1rem;
}
.required span.c-title:before,.required .address:before {
    content: '必須';
    background: #E49496;
    color: #fff;
    font-size: 11px;
    line-height: 11px;
    padding: 2px 5px;
    position: absolute;
    top: -14px;
    border-radius: 2px;
}
.row2.required .c-title:before {
    top: 0px;
}
.wpcf7 .ajax-loader {
    position: absolute;
    right: 80px;
}
.c-submit {
    display: flex;
    justify-content: center;
}
.f7c-wrap {
    margin-bottom: 220px;
	line-height: 1.5rem;
}
#contact-table span.small2 {
    display: block;
    font-size: 0.8rem;
    line-height: 1;
    margin-bottom: 5px;
}
input.wpcf7-form-control.has-spinner.wpcf7-submit {
    width: 300px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 1.2rem;
}
input.wpcf7-form-control.has-spinner.wpcf7-submit:hover {
    color: #fff !important;
}
input.wpcf7-form-control.wpcf7-text {
    margin-top: 10px;
    margin-bottom: 10px;
}
.wpcf7-form input:not([type="submit"]), .wpcf7-form textarea, .wpcf7-form select {
    margin-top: 0.8rem;
    margin-bottom: 0.6rem;
}
@media (max-width: 480px) {
span.c-title {
    width: 100px;
    font-size: 13px;
    padding-left: 0;
    line-height: 20px;
}
input.wpcf7-form-control.wpcf7-submit {
    width: 100%;
}
textarea.wpcf7-form-control.wpcf7-textarea {
    font-size: 13px;
    line-height: 20px;
}
input.wpcf7-form-control,span.c-title.add,p.address,span.wpcf7-list-item-label {
    font-size: 13px;
}
span.wpcf7-list-item {
    display: block;
    margin: 10px 0px;
}
.contact-cta {
    width: 85vw;
    top: 140px;
}
input.wpcf7-submit.wpcf7c-elm-step2 {
    display: block;
    margin-top: 10px;
    left: -5px;
}
}

/*Radio*/
input[type="radio"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

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

span.wpcf7-list-item-label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 5px 0;
}
span.wpcf7-list-item-label::before {
    display: block;
    content: "";
    border-radius: 50%;
    border: 2px solid #286aa6;
    width: 18px;
    height: 18px;
    margin-right: 10px;
}
span.wpcf7-list-item-label::after {
    display: block;
    position: absolute;
    content: "";
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background-color: #286aa6;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}
.wpcf7-acceptance .wpcf7-list-item-label:before {
    display: none;
}
input[type="radio"]:checked + span.wpcf7-list-item-label::after {
  display: block;
}
