/*
Temlate: care-biz-page
Theme Name: care-biz
Author: Yuiko
Version: 1.00
*/
@charset "UTF-8";

/*
----- INDEX PAGE -----
*/

.img-center {
    text-align: center;
}
.phone-top-img {
    margin: 0 auto;
    text-align: center;
    width: 100%;
}
.img-center-top {
    width: 60%;
}
@media (min-width: 500px) {
    .phone-top-img {
        display: none;
    }
}
@media (max-width: 500px) {
    .mobile-top-none{
        display: none;
    }
}
.flex-box {
    display: flex;
    gap: 40px;
    align-items: center;
}
.flex-box-left-img {
    width: 40%;
	object-fit:contain;
}
.flex-box-60 {
    width: 60%;
}
.dotted {
    padding: 40px;/*内側の余白*/
	background: none;/*元のボックス背景色なし*/
	border:1px solid #ccc ;/*線の太さ・種類・色*/
	position: relative;/*配置（基準）*/
}
.dotted :after {
    background-color: #FFF6FA;/*ずらしたボックスの背景色*/
	border:none;
	content: '';
	position: absolute;/*配置（ここを動かす）*/
	top: 7px;/*上から7pxずらす*/
	left: 7px;/*左から7pxずらす*/
	width: 100%;
	height: 100%;
	z-index: -1;
}
.flex-box-photo-3 {
    display: flex;
    gap: 20px;
}
@media (max-width: 767px) {
	.dotted {
		padding: 15px;
	}
    .flex-box {
        display: block;
    }
    .flex-box-60 {
        width: 100%;
        padding-top: 20px;
        padding-bottom: 40px
    }
    .flex-box-left-img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
    iframe {
        width: 100%;
    }
    .flex-box-photo-3 {
        display: block;
    }
    .photo-set {
        margin-bottom: 20px;
    }
}
.news-feed {
    display: flex;
    gap: 40px;
    padding: 40px;
    background-color: #fadce9;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
}
.news-feed:after {
    position: absolute;
	content: "";
	width: 95%;
	height: 10px;
	top: 0.5em;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0 auto;
	border-top: dotted 10px #fff; /*ドットの形・大きさ・色*/
}
.news-ul {
    background-color: #fff;
    width: 100%;
    padding: 30px 20px;
}
.news-ul li {
    border-bottom: 1px solid #a9a9a9;
    margin-bottom: 15px;
    padding-bottom: 15px;
}
.news-title {
    white-space: nowrap;
}
@media (max-width: 767px) {
    .news-feed {
        display: block;
    }
    .news-title {
        margin-bottom: 10px;
    }
}
/*
------ Service Page
*/ 
.page-top-img-box {
    height: 350px;
}
.page-top-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}
@media (min-width: 767px) {
	.page-top-img {
		object-position: 0px,-150px;
	}
}
.staff-photo {
    text-align: center;
    padding: 20px 0;
}
.staff-photo-img {
    height: 300px;
    border-radius: 50%;
}
.comment {
    padding: 20px;
    border-radius: 30px;
    margin-top: 20px;
}
/* フローチャート */
.stepbar {
    margin: 0 auto;
    width: 100%;
  }
  
  .stepbar .stepbarwrap {
    margin: 2em 0;
    position: relative;
  }
  
  .stepbar .stepbarwrap .steptitle {
    display: inline-flex;
    align-items: center;
  }
  
  .stepbar .stepbarwrap .steptitle .stepcircle {
    display: inline-block;
    width: 3em;
    height: 3em;
    content: "";
    border-radius: 50%;
    background-color: #a18266;
    color: #fff;
    text-align: center;
  }
  
  .stepbar .stepbarwrap .steptitle .stepcircle span {
    display: inline-block;
    line-height: 1.2em;
    font-size: 1.3em;
    font-weight: bold;
    position: relative;
    top: 0.6em;
  }
  
  .stepbar .stepbarwrap .steptitle .title {
    margin: 0.5em;
    font-weight: bold;
    font-size: 1.2em;
  }
  
  .stepbar .stepbarwrap .steptxt {
    padding-left: 3.5em;
  }
  
  .stepbar .stepbarwrap .steptxt .txt {
    font-size: 16px;
    line-height: 1.7;
  }
  
  .stepbar .stepbarwrap .stepline {
    width: 1px;
    height: calc(100% + 1em);
    background-color: #a18266;
    position: absolute;
    top: 1em;
    left: 1.5em;
    z-index: -1;
  }
  
  .stepbarwrap:last-of-type .stepline:last-of-type {
    display: none;
  }
  
  @media screen and (max-width: 960px) {
    .stepbar {
      width: 100%;
    }
    .stepbar .stepbarwrap .stepline {
        width: 0px;
    }
    .stepbar .stepbarwrap .steptxt{
        padding: 10px;
    }
    .stepbar .stepbarwrap .steptitle {
        display: block;
    }
    .stepbar .stepbarwrap .steptitle .title {
        padding-bottom: 10px;
        font-weight: bold;
        font-size: 1.2em;
        border-bottom: 1px solid #a18266;
      }
  }
  /*
  ------ 法人概要
  */

  table {
    margin-top: 0px;
    margin-bottom: 60px;
    width: 100%;
}
th,td {
    padding: 10px;
    border-bottom: 1px solid #a9a9a9;
    border-top: 1px solid #a9a9a9;
}
th {
    background-color: #FFF6FA;
    white-space: nowrap;
}
@media (max-width: 767px) {
    th,td {
        display: block;
        width: 100%;
        border: none;
    }
    th {
        border-bottom: 1px solid #a9a9a9;
    }
    td {
        padding-bottom: 40px;
    }
}

/*
-----　コンタクトフォーム
*/
/* コンタクトフォームテスト */
#cf-tbl{
    width: 800px;
        margin: 0 auto;
    }
    
    #cf-tbl table{
    width: 100%;
    border-collapse: collapse;
    border: solid #CCC;
    border-width: 1px;
    color: #444;
    }
    #cf-tbl table tr th,
    #cf-tbl table tr td{
    padding: 0.5em;
    text-align: left;
    vertical-align: top;
    border: solid #CCC;
    border-width: 1px;
    vertical-align: middle;
    }
    #cf-tbl table tr th{
    width: 35%;
    background: #eee;
    }
    @media screen and (max-width:768px){
    #cf-tbl{
    width: auto;
    }
    
    #cf-tbl table,
    #cf-tbl table tbody,
    #cf-tbl table tr,
    #cf-tbl table tr th,
    #cf-tbl table tr td{
    display: block;
    }
    
    #cf-tbl table{
    width: auto;
    border-width: 0 0 1px 0;
    }
    
    #cf-tbl table tr th,
    #cf-tbl table tr td{
    width: auto;
    padding: 3% 5%;
    }
    
    #cf-tbl table tr td{
    border-width: 0px 1px 0px 1px;
    }
    }
    /*「必須」文字デザイン*/
    .required{
    font-size:.8em;
    padding: 5px;
    background: #F57500;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
    }
    
    /*「任意」文字デザイン*/
    .optional{
    font-size:.8em;
    padding: 5px;
    background: #000080;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
    }
    
    /* 入力項目を見やすく */
    input.wpcf7-form-control.wpcf7-text,
    textarea.wpcf7-form-control.wpcf7-textarea {
        width: 50%;
        padding: 8px 15px;
        margin-right: 10px;
        margin-top: 10px;
        border: 1px solid #d0d5d8;
        border-radius: 3px;
        background-color: #eff1f5;
    }
    textarea.wpcf7-form-control.wpcf7-textarea {
        height: 200px;
        width: 80%
    }
    
    /* 「送信する」ボタン */
    input.wpcf7-submit {
        display: block;
        padding: 15px;
        width: 400px;
        background: #ffaa56;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        border-radius: 2px;
        margin: 15px auto 0
    }
    @media screen and (max-width:768px){
    input.wpcf7-submit {
    width: auto;
    }
    }
    
    input.wpcf7-submit:hover {
        box-shadow: 0 15px 30px -5px rgba(0,0,0,.15), 0 0 5px rgba(0,0,0,.1);
        transform: translateY(-4px);
        opacity:0.7;
    }
    /* エラーメッセージを見やすく */
    span.wpcf7-not-valid-tip,
    .wpcf7-response-output.wpcf7-validation-errors {
        color: red;
        font-weight: 600;
    }
    
    .contact-riyoukiyaku-box {
        height:300px;
        overflow: auto;
        padding: 10px;
        border: solid 1px #bdbdbd;
        margin-top:40px;
        width: 800px;
        margin: 0 auto;
    }
    @media screen and (max-width:768px){
        .contact-riyoukiyaku-box {
            width: auto;
    }
    }
     /*採用ボタンアニメ*/
.anime_btn_box{
    margin-bottom: 20px;
  }
  #anime_btn_animation .anime_btn {
    display: block;
    width: fit-content;
    white-space: nowrap;
    padding: 0 15px;
    line-height: 78px;
    border-radius: 39px;
    text-decoration: none;
    background-color: #ffff66;
    color: #000;
    text-align: center;
    animation: btn_animation 1.5s infinite;
  }
  .anime_btn:hover {
    transform: scale(1.1,1.1);
  }