/*========================= サブページ ========================== */
.sub {
    text-align: left;
}

.sub-area {
    max-width: 700px;
    width: 90%;
    margin: 0 auto;
}

.sub-area p {
    margin-bottom: 5%;
}

.sub-header {
    position: relative;
}

.sub-title {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    height: auto;
}

.sub-title h3 > span {
    font-size: 70%;
}

.sub-message {
    padding: 3%;
    color: #fff;
    background: var(--yellow);
    text-align: left;
}

.sub-list {
    background: var(--blue);
    color: #fff;
    padding: 3%;
    text-align: left;
    margin-bottom: 3%;
}

.header-back {
    position: relative;
    width: 100vw;
    z-index: 1;
}

/*========================= lawyer ========================== */
.lawyer {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5%;
    text-align: left;
}

.lawyer img {
    width: 40%;
}

.lawyer-icon {
    width: 35%;
    position: relative;
}

.lawyer-icon img {
    width: 100%;
    margin-bottom: 8%;
}

.lawyer-name span {
    font-size: 130%;
}

.lawyer-messege {
    width: 60%;
}

.lawyer-messege h3 {
    font-size: 200%;
    margin: 3% 0;
}

.lawyer-messege p {
    /* border-left: 1px solid var(--yellow); */
    padding: 3%;
    color: var(--yellow);
}

.lawyer-table {
    width: 100%;
    margin-top: 5%;
}

.lawyer-table th {
    background: var(--blue);
    color: #fff;
    padding: 2%;
}

.lawyer-table td {
    padding: 1% 2%;  
}

/*========================= service ========================== */
.sub .service {
    background: var(--waterblue);
}

.service:before {
    background: none;
}

.service:after {
    background: none;
}

/*========================= service-child ========================== */
.service-fee {
    background: var(--waterblue);
    padding: 3% 2%;
    text-align: center;
    margin-top: 10%;
}

.service-top {
    background: #ffeed1;
    padding: 1% 3%;
    margin-top: 10%;
}

.service-top table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
    margin: 3% auto;
    /* table-layout: fixed; */
}

.service-top table > tbody tr th {
    background: var(--yellow);
    color: #fff;
    text-align: center;
    padding: 1%;
    vertical-align: middle;
    width: 30%;
}

.service-top table > tbody tr td {
    background: #fff;
    padding: 1%;
    vertical-align: middle;
}

.service-fee table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
    margin: 3% auto;
    table-layout: fixed;
}

.service-fee table > tbody tr th {
    background: var(--blue);
    color: #fff;
    text-align: center;
    padding: 1%;
    vertical-align: middle;
}

.service-fee table > tbody tr td {
    background: #fff;
    padding: 2%;
    vertical-align: middle;
}

.indent {
    padding-left:1em;
    text-indent:-1em;
    margin-left: 1em;
    text-align: left;
}

/*========================= lawyer ========================== */
.eyecatch {
    width: 100%;
    margin-bottom: 8%;
}

.day {
    background: var(--blue);
    color: #fff;
    padding: 0 2%;
    margin-bottom: 2%;
    display: inline-block;
}

/*========================= accordion ========================== */

.accordion-box {
    list-style: none;
    width: 100%;
    margin:10px auto;
}

.accordion-box dt {
    position: relative;
    cursor: pointer;
	color: #fff;
    background: var(--yellow);
    transition: all .5s ease;
	padding: 2% 8%;
	text-align: left;
	line-height: 130%;
}

.accordion-box dd {
	position: relative;
    display: none;
    background: #fff;
    padding: 3% 3% 3% 8% ;
	margin-inline-start: 0;
	text-align: left;
    border: 3px solid var(--yellow);
    box-sizing: border-box;
}

.accordion-title:before {
    position: absolute;
    content: '';
    top: 50%;
    right: 25px;
    height: 4px;
    width: 15px;
    background: #fff;
    transform: rotate(90deg);
    transition: all .3s ease-in-out;
}

.accordion-title:after {
    position: absolute;
    content: '';
    top: 50%;
    right: 25px;
    height: 4px;
    width: 15px;
    background: #fff;
    transition: all .3s ease-in-out;
}

.accordion-title.open:before {
    transform: rotate(180deg);
}

.accordion-title.open:after {
    opacity: 0;
}

/*========================= contact ========================== */
.errMes{
    margin:0 auto 40px;
}
.errMes li{
    color:#f20;
    text-align:center;
}
tr.errBlock th{
    color:#f20;
}
tr.errBlock textarea{
    border:solid 1px #f20;
}

/*========================= confirm ========================== */
.confirm p,.thanks p,.error p {
    text-align: center;
}

.confirm-table {
    width: 100%;
    border-collapse: separate;
}

.confirm-table th {
    background: var(--blue);
    color: #fff;
    padding: 3%;
    width: 50%;
}

.confirm-table td {
    padding: 3%;
    width: 50%;
}

.btn-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8% auto;
    width: 50%;
    font-weight: bold;
}

.confirm-submit-btn {
    background: var(--rightblue);
    color: #fff;
    padding: 5% 3%;
    text-align: center;
}

.back-btn {
    background: #d0d0d0;
    color: var(--blue);
    padding: 5% 3%;
    text-align: center;
}

.sub-footer {
	padding-bottom: 0;
}

/*========================= contact ========================== */
.form p {
    text-align: center;
}

.form-box {
    background: var(--blue);
    padding: 5% 3%;
    margin: 5% auto 0;
}

input[type="text"],textarea {
    width: 100%;
    background-color: #fff;
    padding: 4%;
    text-align: left;
}

.form-table {
    width: 100%;
    margin-bottom: 2%;
}

.form-tr {
    width: 100%;
    display: flex;
    margin-bottom: 3%;
    line-height: 32px;
}

.form-tr > th {
    color: #fff;
}

.form-tr > td {
    color: #000;
}

.form-tr > th,
.form-tr > td {
    width: 100%;
    display: block;
}

#user_contact {
    height: 200px;
}

.required {
    background: var(--yellow);
    padding: 6px 16px;
    margin-right: 6%;
    color: #fff;
}

.optional {
    background: var(--purple);
    padding: 6px 16px;
    margin-right: 6%;
    color: #fff;
}

.submit-btn {
    text-align: center;
    padding: 3%;
    width: 50%;
    margin: 0 auto;
    display: block;
    background: var(--rightblue);
    font-weight: bold;
    color: #fff;
    font-size: 130%;
    letter-spacing: .1rem;
}

.form-privacy {
    color: #fff;
    text-decoration: underline;
    text-align: center;
    display: block;
    margin-bottom: 5%;
}

.check-content {
    display: flex;
    color: #fff;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 2% 2%;
}

.check-list {
    margin-bottom: 1%;
    color: #fff;
}

label[for] {
    cursor: pointer;
    margin-left: 5%;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    background: #fff;
    vertical-align: sub;
    font-weight: bold;
    position: relative;
}

input[type="checkbox"]:checked:before {
    position: absolute;
    top: 1px;
    left: 6px;
    transform: rotate(50deg);
    width: 8px;
    height: 13px;
    border-right: 4px solid #000;
    border-bottom: 4px solid #000;
    content: '';
}

input[type="radio"] {
    width: 20px;
    height: 20px;
    background: #fff;
    vertical-align: sub;
    font-weight: bold;
    position: relative;
    border-radius: 50%;
}

input[type="radio"]:checked:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
}

/*========================= privacy-policy ========================== */

.privacy h3 {
    color: var(--blue);
    font-weight: bold;
    padding: 10% 0 2% 0;
    border-bottom: 3px solid var(--blue);
    font-size: 1.3em;
    margin-bottom: 1em;
}

.privacy h3:first-child {
    padding-top: 0;
}

.privacy p {
    text-align: left;
}

.privacy li  {
    text-align: left;
    list-style: circle;
    margin-left: 5%;
}