/*****************************************************************
@メディアクエリ
xs:767pxまで適用
*****************************************************************/
/*.cd-fixed-bg.cd-bg-1 {
  background-image: url("../img/back-img_sp.png");
  width: 100%;
  background-color: #fce7de;
}*/

#page-top {
  width: 15%;
}

.breadcrumbs {
  margin-bottom: 1rem;
}

/***---------------------------------------------------------***
ヘッダー
****---------------------------------------------------------***/
header {
  padding: 0;
}

#contact-xs {
  width: 70%;
  margin: 2rem auto;
  background-color: unset;
  border-top: unset;
}

.inner-block {
  padding: 0px 30px;
}

.c-header {
  height: 80px;
}

.c-header .logo {
  width: 75%;
}

.c-menu li a {
  padding: 22px 30px;
}

/***---------------------------------------------------------***
ヘッダー　ドロップダウンメニュー　
****---------------------------------------------------------***/

.has-child ul li a {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
}

nav {
  padding: 0;
}

nav ul {
  display: block;
}

.has-child ul,
.has-child ul ul {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  visibility: visible;
  /*JSで制御するため一旦表示*/
  opacity: 1;
  /*JSで制御するため一旦表示*/
  display: none;
  /*JSのslidetoggleで表示させるため非表示に*/
  transition: none;
  /*JSで制御するためCSSのアニメーションを切る*/
}

nav ul li a {
  border-bottom: 1px solid #ccc;
}

.has-child ul li:last-child a {
  border-radius: unset;
}


/*矢印の位置と向き*/
.has-child::before {
  left: unset;
  right: 1.5rem;
  top: 20px;
  border-top: 2px solid #f08b75;
  border-right: 2px solid #f08b75;
  transform: rotate(135deg);
}

.has-child.active::before {
  transform: rotate(-45deg);
}

/***---------------------------------------------------------***
お知らせ・新着情報
****---------------------------------------------------------***/
.topics-list .topics {
  padding: 2rem 1.5rem 3rem 1.5rem;
  font-size: 1.1rem;
}

.topics-list .topics li {
  display: block;
  width: 100%;
}

.topics-list .topics li .date {
  display: block;
  margin-bottom: 0.5rem;
}

/*#notice .topics-list .wp-pagenavi .pages {
  padding: 0rem 0.5rem;
  font-size: 0.9rem;
}

#notice .topics-list .wp-pagenavi a,
#notice .topics-list .wp-pagenavi span {
  padding: 0.5rem 1rem;
}*/

.wp-pagenavi .pages {
  padding: 0rem 0.5rem;
  font-size: 0.9rem;
}

.wp-pagenavi a,
.wp-pagenavi span {
  padding: 0.5rem 1rem;
}


#single_wrap .back-style {
  padding: 1.5rem;
}

/*「本文」の設定*/
#single_wrap p {
  line-height: 2em;
}

#single_wrap .img {
  width: 100%;
}

.topics-list .topics li .cat {
  margin-bottom: 0.5rem;
}

/***---------------------------------------------------------***
業務案内
****---------------------------------------------------------***/
.custom-button {
  height: auto;
}

.custom-button h1 {
  font-size: 1.5rem;
}

.custom-button h2 {
  margin-bottom: 4rem;
  font-size: 1.6rem;
  height: auto;
}

.custom-button h2 span {
  padding: 3rem 2rem;
}

.custom-button p {
  font-size: 1.2rem;
}

.custom-btn .m-bottom-5 {
  margin-bottom: 2rem;
}

.gyomu-title.m-bottom-5 {
  margin-bottom: 5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

/* 1番上のボタンのみ幅100％ */
.custom-btn.flex-wrap #gyomu-custom div:nth-of-type(1) {
  width: 100%;
}

.custom-btn.flex-wrap #gyomu-custom div:nth-of-type(1) .custom-button p {
  width: 100%;
  margin: 2rem auto 0 auto;
  font-size: 1.2rem;
}



/***---------------------------------------------------------***
ご挨拶
****---------------------------------------------------------***/
.container {
  width: 90%;
  margin: 0 auto;
}

.container .jimusyo-text {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.8em;
  /*opacity: 0;*/
  /*display: contents;*/
}

.container .small-image {
  width: 35%;
}

.container .jimusyo-text.large-font {
  font-size: 1.2rem;
}

/***---------------------------------------------------------***
トップ画像(トップ文字スライドショー)
****---------------------------------------------------------***/
.text {
  width: 100%;
  font-size: 1.2rem;
  top: 65%;
  left: 0;
  transform: none;
  padding: 1rem;
}

@media screen and (min-width:570px) and (max-width:767px) {
  .text {
    font-size: 1.7rem;
    padding: 2rem;
    line-height: normal;
  }
}

@media screen and (min-width:450px) and (max-width:569px) {
  .text {
    font-size: 1.5rem;
    padding: 1rem;
  }
}

@media screen and (min-width:300px) and (max-width:380px) {
  .text {
    font-size: 1.1rem;
    top: 66%;
    padding: 0.5rem;
  }
}

@media screen and (max-width:299px) {
  .text {
    font-size: 0.9rem;
    top: 67%;
    padding: 0.5rem;
  }
}

/***---------------------------------------------------------***
ボタン
****---------------------------------------------------------***/
.base-btn {
  width: 80%;
}

.wave-btn {
  padding: 20px 0;
}

.base-btn .wave-btn span {
  font-size: 1.2rem;
}

/***---------------------------------------------------------***
フッター
****---------------------------------------------------------***/
footer .m-top-4rem {
  margin-top: 4rem;
}

footer .m-left-0 {
  margin-left: auto;
  margin-right: auto;
}

footer p {
  text-align: center;
  margin-bottom: 5%;
  margin-top: 5%;
  line-height: 2rem;
}

footer .right-img {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

footer a.contact-button {
  font-size: 1.4rem;
  padding: 1.5rem 1rem;
  border-radius: 10px;
  border: 5px solid #c7583f;
  margin-bottom: 10%;
  box-sizing: border-box;
}

.sns-icon {
  margin: 0 auto;
}

/***---------------------------------------------------------***
トップ画像(当事務所について・業務内容・料金案内)
****---------------------------------------------------------***/
.centered-text {
  width: 100%;
}

.centered-text h1 {
  font-size: 2rem;
}

.top-image {
  height: 300px
}

.top-image img {
  height: 300px;
  object-fit: cover;
}

/***---------------------------------------------------------***
コンテンツ(業務案内・料金案内)
****---------------------------------------------------------***/
.contents {
  width: 90%;
  border-radius: 20px;
  padding: 2rem 1rem;
}

table {
  width: 100%;
}

.m-btm-rem {
  margin-bottom: 5rem;
}

#ryokin .table-scroll table {
  min-width: 767px;
}

#ryokin .contents .text-bun {
  margin: 1rem 10px 0rem 10px;
}

#ryokin .contents .img {
  width: 95%;
  margin: 0rem auto;
}

/***---------------------------------------------------------***
トップページボタン(業務案内・料金案内)
****---------------------------------------------------------***/
/*
.slider-button a {
  padding: 1.5rem 0rem 1.5rem 3rem;
}

.slider-button a span {
  font-size: 1.4rem;
}

.slider-button a:before {
  left: 1.8rem;
}

.slider-button a:after {
  width: 4.2rem;
  height: 4.2rem;
}*/

#wrap2 .slider-img {
  height: 8rem;
  margin-bottom: 2rem;
}

#wrap2 img {
  width: 100px;
  height: 100px;
  top: 13%;
  right: 3%;
  border-radius: 200px;
}

#wrap2 .slider-img p {
  font-size: 1.4rem;
}

/***---------------------------------------------------------***
コンテンツ(業務案内・料金案内)
****---------------------------------------------------------***/
.contents h1 {
  font-size: 1.7rem;
}

.contents .subheading {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  width: 100%;
  padding: 13px 10px;
}

/***---------------------------------------------------------***
お問い合わせ
****---------------------------------------------------------***/
#contact h2 {
  font-size: 1.2rem;
}

#contact .m-bottom-5 {
  margin-bottom: 10%;
}

#tel .info-frame .flex-wrap {
  padding: 4%;
}

#tel .info-frame .tel p {
  font-size: 2.1rem;
  text-align: center;
}

/***---------------------------------------------------------***
お問い合わせ 確認画面
****---------------------------------------------------------***/
#confirm .form {
  width: 90%;
  padding: 8%;
  margin-top: 10%;
}

#confirm .form .form_btn p input {
  width: 100%;
  padding: 1rem;
}