/*
Theme Name:     hoshinotax-child
Description:    
Author:         admin
Template:       hoshinotax
Version:1.0.0
*/

/* -------------------------------------------------------------------------- */
/* ヘッダー */
/* -------------------------------------------------------------------------- */
.l-header {
}

/* -------------------------------------------------------------------------- */
/* グローバルメニュー */
/* -------------------------------------------------------------------------- */
.p-global-nav {
    font-size: 16px;
    font-weight: bold;
}

.p-global-nav li > a {
    font-weight: bold;
}

/* 折りたたみ時のメニューボタン */
.c-menu-button {
    color: #523994;
}

/* 最大表示の場合、電話番号とお問い合わせのメニューは画像表示 */
@media only screen and (min-width: 1200px) {
    /* 電話番号のリンク */
    .p-global-nav .menu-tel a {
        background-image : url("img/head-tel.png");
        background-repeat : no-repeat;
        background-position : center;
        background-size : auto 60px;
        width : 125px;
      /* 以下3行はテキストを非表示にする設定 */
        text-indent : 200px;
        white-space : nowrap;
        overflow : hidden;
    }

    /* お問い合わせのリンク */
    .p-global-nav .menu-contact a {
        background-image : url("img/head-mail.png");
        background-repeat : no-repeat;
        background-position : center;
        background-size : auto 60px;
        width : 65px;
      /* 以下3行はテキストを非表示にする設定 */
        text-indent : 200px;
        white-space : nowrap;
        overflow : hidden;
    }
}

@media only screen and (min-width: 1200px) {
.p-global-nav li > a {
  position: relative;
  transition: .3s;
}
.p-global-nav li > a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: '';
  width: 0;
  height: 2px;
  background-color: #aba4d0;
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.p-global-nav li > a:hover::after {
  width: 100%;
}
}

/* -------------------------------------------------------------------------- */
/* トップページのスライダーのキャッチフレーズ、説明文ボックス */
/* -------------------------------------------------------------------------- */
.p-index-slider__item-content {
    width: 60%;
}

.p-index-slider__item-catch img {
    max-width: 100%;
    height: auto;
}

.p-index-slider__item-desc {
    color : #000 !important;
    padding-left: 20px;
    text-shadow :  1px 1px 1px white, 
                  -1px  1px 1px white, 
                   1px -1px 1px white, 
                  -1px -1px 1px white !important;
}

/* -------------------------------------------------------------------------- */
/* トップページのニュースティッカー */
/* -------------------------------------------------------------------------- */
.p-news-ticker__item-date {
    color: #fff !important;
}

.p-news-ticker__item a:hover {
    color: #523994;
}

/* -------------------------------------------------------------------------- */
/* トップページのキャッチフレーズ */
/* -------------------------------------------------------------------------- */
.p-index-content01__catch img {
    max-width: 100%;
    height: auto;
}

/* -------------------------------------------------------------------------- */
/* トップページのショーケース */
/* -------------------------------------------------------------------------- */
.p-showcase {
    color : #333;
}

.p-showcase__catch img {
    max-width: 100%;
    height: auto;
}

.p-showcase__content {
    position: absolute;
    top: 50%;
}

.p-showcase .p-showcase__image {
    position: absolute;
    top: 20%;
}

.p-showcase--reverse .p-showcase__image {
    position: absolute;
    top: 50%;
}

.p-button {
    text-align : left;
    padding-left : 30px;
    background : none !important;
    background-image : url("img/showcase-btn.png") !important;
    background-repeat : no-repeat !important;
    background-size : 100% 100% !important;
}

/* -------------------------------------------------------------------------- */
/* トップページのアクセスマップ */
/* -------------------------------------------------------------------------- */
#access-map {
    padding : 30px 0 0 0;
}
#access-map .post_col-2.gmap{ position:relative; aspect-ratio:4 / 3; }

@media screen and (min-width: 1024px) {
    #access-map .post_col-2:first-child {
        width: 40%;
    }
    #access-map .post_col-2:last-child {
        width: 60%;
    }
}

/* -------------------------------------------------------------------------- */
/* トップページの連絡先 */
/* -------------------------------------------------------------------------- */
#contact-info {
    padding : 30px 0;
}

#contact-info .l-inner {
    max-width : 900px;
}

#contact-info .post_row {
    padding-top : 2em;
    background : #f2f2f2;
}


#contact-info .post_col {
    text-align : center;
}

#contact-info .logo-box {
    text-align : left;
    margin-left : 10px;
}

#contact-info .logo-box img {
    margin : 40px 0 10px 0;
}

/* -------------------------------------------------------------------------- */
/* ブログ */
/* -------------------------------------------------------------------------- */
.p-page-header__date {
    font-size: 24px;
}

/* -------------------------------------------------------------------------- */
/* 固定ページのヘッダー */
/* -------------------------------------------------------------------------- */
.p-page-header__inner {
    top : 40%;
    text-shadow :  1px  1px 10px white, 
                  -1px  1px 10px white, 
                   1px -1px 10px white, 
                  -1px -1px 10px white !important;
}

.p-page-header__inner span.title_main {
    padding : 0 5px;
    background-image : url("img/catch-bg1.png");
    background-repeat : no-repeat;
    background-size : 100% 40%;
    background-position : bottom;
	font-weight: bold;
}

.p-page-header__inner span.title_sub {
    font-family: Verdana, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	font-weight: bold;
}

/* -------------------------------------------------------------------------- */
/* 共通 */
/* -------------------------------------------------------------------------- */
div.nav_button {
    text-align : center;
}

div.nav_button .q_button {
    background-color : #aba4d0;
    padding: 1.5em 1.5em;
    box-shadow : none;
}

div.nav_button .q_button:hover, 
div.nav_button .q_button:focus {
    background-color: #523994;
    box-shadow : none;
}

div.nav_button a {
    color : #fff;
}

h3.normal-title {
    text-align: center;
    font-size : 28px;
    color: #f4abb5;
    margin: 30px 0;
    line-height: 2.2;
}

h3.normal-title span {
    border-top: 1px solid #f4abb5;
    border-bottom: 1px solid #f4abb5;
    padding: 15px 0;
    color: #f4abb5;
}

a img {
  -webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
          transition: all 0.5s ease;
}

a:img{
 transition: 1.0s;
}

a:hover img{
 opacity: 0.5;
}

a.pink:hover {/*マウスをのせたとき*/
    color:#f4334d;
    font-style:normal;
	text-decoration: none;
}

/* -------------------------------------------------------------------------- */
/* 税理士紹介 */
/* -------------------------------------------------------------------------- */
div.profile-detail {
    font-size: 16px;
    line-height: 2.2;
}

table.profile-detail {
    margin : 0;
}

table.profile-detail td {
    font-size: 16px;
    border : none;
    padding : 0 10px 0 0;
}

div.accountant-desc {
    font-size: 16px;
    line-height: 2.2;
    text-align: center;
}

/* -------------------------------------------------------------------------- */
/* 取り扱い業務 */
/* -------------------------------------------------------------------------- */
h3.biz-title {
    text-align : center;
    font-size : 28px;
    margin : 60px 0 20px;
    color : #523994
}

h3.biz-title .biz-title-num {
    vertical-align: top;
    position: relative;
    top: -0.1em;
}

h3.biz-title .biz-title-sep {
    font-size : 150%;
    background-image : url("img/business-title-sep.png");
    background-repeat : no-repeat;
    background-position : center;
}

h3.biz-title .biz-title-name {
    vertical-align: bottom;
    position: relative;
    top: 0.1em;
}

div.biz-desc {
    font-size: 16px;
    line-height: 2.2;
    text-align: center;
}

/* -------------------------------------------------------------------------- */
/* 契約の流れ */
/* -------------------------------------------------------------------------- */
/* テキストのセル(左側) */
.agreement-content {
    border: 1px solid #aba4d0;
    padding: 20px;
}

.agreement-col {
    width: 100%;
}

/* 連絡先のセル(右側) */
.agreement-contact {
    color: #fff;
    font-size: 24px;
    text-align: center;
    background: #aba4d0;
    padding: 55px 70px 65px 70px;
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto;
}
.p-entry__body .agreement-contact a {
    color: #fff;
}
.p-entry__body .agreement-contact a:hover {
    color: #523994;
}
.agreement-tel {
    padding-bottom: 10px;
    border-bottom: 2px solid #fff;
}
.agreement-mail {
    padding-top: 10px;
}

.p-entry__body a.agreement-contact-btn {
    text-align : center;
    margin-top: 10px;
    color: #523994;
    font-size: 14px;
    display: inline-block;
    max-width: 100%;
    width: 350px;
    /* height+padding-top=45にすると丁度良い */
    height: 34px;
    padding-top : 11px;
    background-image : url("img/contact-btn.png");
    background-repeat : no-repeat;
    background-size : 100% 100%;
}
.p-entry__body a.agreement-contact-btn:hover {
    color: #f4334d
}

/* イメージのセル(右側) */
.agreement-img {
    text-align: center;
}

/* 下向き矢印セル(左側) */
.agreement-next-flow {
    margin-top: 0;
    text-align : center;
}

/* 空の矢印セル(→側) */
.agreement-empty {
    height: 0;
    margin: 0;
}

/* 下向き矢印の調整用 */
.agreement-spacer {
    display: none;
}

@media screen and (min-width: 1200px) {
    .agreement-col {
        width: 50%;
    }
    .agreement-content {
        padding: 35px 97px 55px 55px;
    }
    .agreement-img {
        left: -82px;
        top: 120px;
    }
    .agreement-next-flow {
        margin-top: 30px;
    }
    .agreement-spacer {
        display: block;
        height: 14px;
    }
}

/* -------------------------------------------------------------------------- */
/* 税理士費用 */
/* -------------------------------------------------------------------------- */
ul.fee-desc {
    list-style-type: disc;
}

ul.fee-desc li {
    font-size: 16px;
    margin-bottom: 30px;
}

div.fee-note {
    font-size: 12px;
    line-height: 2.2;
}

div.fee-table {
    margin : 0 auto;
    margin-top : 30px;
    max-width: 800px;
}

div.fee-table table {
    margin : 0 auto;
}

div.fee-table th {
    background-color: #aba4d0;
    color: #fff;
    font-size: 16px;
}

div.fee-table tr.border-row td,
div.fee-table td.border-row {
    border-bottom: 1px solid #aba4d0;
}

div.fee-table td {
    vertical-align: middle;
}

div.fee-table tr th:first-child,
div.fee-table tr td:first-child {
    border-left: none;
}

div.fee-table tr th:last-child,
div.fee-table tr td:last-child {
    border-right: none;
}

div.fee-table ul.fee-desc li {
    font-size: 14px;
    margin-bottom: 5px;
}

div.post_row div.fee-appendix1 {
    width: 10%;
    text-align: right;
}

div.post_row div.fee-appendix2 {
    width: 90%;
}

div.tax{
    text-align:right;
	margin:5px;
}

a.anchor:hover{
    color:#f4334d;
}

/* -------------------------------------------------------------------------- */
/* 問合せフォーム */
/* -------------------------------------------------------------------------- */
.wpcf7 {
    background: #fff;
    border: none;
    width: 100%;
    max-width: 840px;
    margin: 0 auto !important;
}

.wpcf7 form {
    margin: 5em 1.5em 0;
}

.contact-form-note {
    padding-bottom: 28px;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #ff0000;
    text-align: center;
}

.contact-form {
    line-height: 2.2;
    padding: 50px 0 0;
    border-top: 1px solid #d7dde0;
}

div.contact-form > div {
    margin-bottom: 40px;
}

.contact-form-row:after {
    content: "";
    display: block;
    clear: both
}

.contact-form-row .contact-form-label {
    float: left;
    width: 25%;
    padding-top: 17px;
}

.contact-form-row .item-name {
    padding-left: 1.5em;
    font-weight: bold;
}

.contact-form-row .contact-form-required .item-name {
    padding-left: 0.2em;
}

.contact-form-row .contact-form-required .item-name:before {
    content: "※ ";
    color: #ff0000;
}

.contact-form-row .contact-form-input {
    float: left;
    width: 75%;
}

.contact-form-multi-ans .wpcf7-form-control-wrap {
    margin-left: 10px;
}

.wpcf7-form-control-wrap input[type=text],
.wpcf7-form-control-wrap input[type=tel],
.wpcf7-form-control-wrap input[type=email],
.wpcf7 textarea {
    height: 60px;
    padding: 16px 28px;
    background-color: #f0f3f5;
    font-size: 14px;
    border-width: 0;
}

.wpcf7 textarea {
    height: auto;
}

.wpcf7-radio {
    padding-top: 17px;
    display: inline-block;
}

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    max-width: 100%;
}

.wpcf7 .wpcf7-list-item {
    display: inline-block;
}

.contact-form-multi-ans {
    margin-top: 57px;
}

.contact-form-multi-ans div {
    margin-bottom: 20px;
}

.contact-form-multi-ans div:last-child {
    margin-bottom: 0;
}

.contact-form .contact-form-desc {
    padding-top: 23px;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.wpcf7 .acceptance-check {
    color: #523994;
    margin-left: -10px;
}

.wpcf7 .acceptance-check .wpcf7-list-item-label {
    font-size: 16px;
}

.wpcf7 .wpcf7-submit {
    background-color : #aba4d0;
}

.wpcf7 .wpcf7-submit:hover, 
.wpcf7 .wpcf7-submit:focus {
    background-color: #523994;
}

div.wpcf7-response-output {
    padding: 1em 1em;
}

/* -------------------------------------------------------------------------- */
/* フッター */
/* -------------------------------------------------------------------------- */
.l-footer {
    padding-top : 0;
}

.l-footer__inner {
    display : none;
}

.p-copyright {
    color : #333;
}
