@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #244380;
    --accent-color: #ec3516;
    --link-color: #000;
    --linkhover-color: #000;
    --back-color: #f0f6fa;
    --border-color: #244380;
    --white-color: #fff;
}

body {
    font-family: "Noto Sans JP", sans-serif;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
    vertical-align: bottom;
}
a {
    display:block;
    color: var(--link-color);
}
a:hover {
    color: var(--linkhover-color);
}
.text_right {
    text-align: right;
}
.text_left {
    text-align: left;
}
.text_center {
    text-align: center;
}
.col {
    margin-left: 3%;
}
.fontSize18 {
    font-size: 1.8rem;
}
.fontSize20 {
    font-size: 2rem;
}
.fontSize22 {
    font-size: 2.2rem;
}
.fontColor01 {
    color: var(--accent-color);
}
.fontColor02 {
    color: var(--base-color);
}
.fontBold {
    font-weight: bold;
}
.fontSize14 {
    font-size: 1.4rem;
}

.adText p {
    margin-bottom: 0;
    text-decoration: none;
}
.adText p a {
    display: inline;
}

.sp {
    display: none;
}

.sp_tel {
    text-decoration: none;
    color: #000;
}

.tel {
    display: inline;
}

.line-box {
    padding: 0 5rem 4rem 5rem;
    background: #fff;
}
.line-box__text {
    border: 1px solid var(--accent-color);
    padding: 2rem 3rem;
    margin-top: -2rem;
}

@media (min-width: 751px) {
    a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    }
}

.acc01 {
    color: var(--accent-color);
}
.acc02 {
    color: var(--base-color);
}

.ol_01 {
    padding-left: 2rem;
}
.ol_01 li {
    list-style: disc;
    margin-bottom: 0.5rem;
}
.ol_00 li {
    list-style: none;
    margin-bottom: 0.3rem;
    margin-left: -0.5em;
}

.flex {
    display: flex;
}
.flex_c {
    display: flex;
    justify-content: center;
}
.fl_Rimg {
    margin-left: 2rem;
}
.od01 {
    order: 1;
}
.od02 {
    order: 2;
}


@media screen and (max-width: 768px){
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    .sp_bg {
        background: #fff;
    }
    .sp_btnCenter {
        margin: 0 auto;
        width: 240px;
    }
    .inpage {
        padding: 0 2rem;
    }
    .flex {
        flex-flow: column;
    }
    .fl_Rimg {
        margin-left: 0;
    }
    .od01 {
        order: 2
    }
    .od02 {
        order: 1;
    }
    .line-box {
        padding: 0 2rem 2rem 2rem;
    }
    .line-box__text {
        padding: 2rem;
    }
}

/*矢印
-------------------------------------*/

.btn_allow img {
    max-width: 35px;
    width: 100%;
}

.cp_arrows {
    padding-right: 1.5rem;
  }
  .cp_arrows span {
    display: inline-block;
    background: var(--base-color);
    border-radius: 100%;
    margin-bottom: 10px;
    width:37px;
    height: 37px;
  }
  /*矢印の縦線*/
  .cp_arrows [class*='cp_arrow'] {
    position: relative;
    vertical-align: middle;
    left: -3px;
    display: inline-block;
    width: 2px;
    height: 17px;
    background: #ffffff;
    border-radius: 4px;
    margin: 0 20px;
  }
  /*矢印の＜の部分*/
  .cp_arrows [class*='cp_arrow']:before,
  .cp_arrows [class*='cp_arrow']:after {
    position: absolute;
    content: '';
    top: -2.4px;
    width: 2px;
    height: 14px;
    background: #ffffff;
    border-radius: 4px;
  }
  .cp_arrows [class*='cp_arrow']:before {
    left:4px;
    transform: rotate(-45deg);
  }
  .cp_arrows [class*='cp_arrow']:after {
    right: 4px;
    transform: rotate(45deg);
  }
  /*それぞれの角度*/
  .cp_arrows .cp_arrow_left {
    transform: rotate(-90deg);
  }
  .cp_arrows .cp_arrow_right {
    transform: rotate(90deg);
  }

  @media screen and (max-width: 768px){
    .btn_allow img {
        max-width: 25px;
        width: 100%;
    }
}

/*boxボックス
-------------------------------------*/
.box-red-c{
    border:2px solid var(--accent-color);
    text-align: center;
    color: var(--accent-color);
    padding:0.3em 0.5em;
    font-weight: bold;
}
 @media screen and (max-width: 768px){
    .box-red-c{
        text-align: left;
          padding:0.8em 0.5em;
    }
 }

/*ボタン
-------------------------------------*/

.page-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1.1rem 29px 1.1rem 60px;
    color: var(--base-color);
    border: 1px solid var(--base-color);
    border-radius: 1rem;
    font-weight: bold;
    background-color: #fff;
    width: 170px;
    text-decoration: none;
}

.page-button::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--base-color);
    border-radius: 20px;
  }

.page-button::after {
    content: '';
    transform: rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
.page-button-center {
    margin: 0 auto;
    max-width: 260px;
    width: 100%;
}
.pd-t40 {
    padding-top: 40px !important
}



/*余白
-------------------------------------*/
.pd-t0 {
    padding-top: 0 !important
}
.pb-b0 {
    padding-bottom: 0 !important
}
.pb-b10 {
    padding-bottom: 10px !important
}
.pb-b20 {
    padding-bottom: 20px !important
}
.pb-b30 {
    padding-bottom: 30px !important
}
.pb-b40 {
    padding-bottom: 40px !important
}
.pd-b45 {
    padding-bottom: 45px !important
}
.pd-60 {
    padding-bottom: 60px !important
}
.pb-b60 {
    margin-bottom: 60px !important
}
.pdL00 {
    padding-left: 0 !important
}
.pd-PC-R {
    padding-right: 4rem !important
}
.mb-b0 {
    margin-bottom: 0 !important
}
.mt0 {
    margin-top: 0 !important
}
.mt30 {
    margin-top: 30px !important
}
.mb-b05 {
    margin-bottom: 5px !important
}
.mb-b10 {
    margin-bottom: 10px !important
}
.mb-b20 {
    margin-bottom: 20px !important
}
.mb-b50 {
    margin-bottom: 50px !important
}
.mb-b70 {
    margin-bottom: 70px !important
}
@media screen and (max-width: 768px){
.pd-t30 {
    padding-top: 30px !important
}
}
.pd-t40 {
    padding-top: 40px !important
}

@media screen and (max-width: 768px){
    .mt-t40 {
        margin-top: 40px !important
    }
    .pb-b20 {
        padding-bottom: 10px !important
    }
    .pd-b45 {
        padding-bottom: 22px !important
    }
    .pb-b60 {
        margin-bottom: 3rem !important
    }
    .mt30 {
        margin-top: -4rem !important
    }
    .mb-b20 {
        margin-bottom: 5rem !important
    }
    .mb-b70 {
        margin-bottom: 3rem !important
    }
    .pd-PC-R {
        padding-right: 0 !important
    }
    .pd-SP-b20 {
        padding-bottom: 2rem !important
    } 
}


/*見出し
-------------------------------------*/
h2 {
    letter-spacing: 0.03em;
}

.midashi01 {
    color: var(--base-color);
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}


/*ヘッダー
-------------------------------------*/
.header {
    padding: 1rem 3rem 1rem 3rem;
    letter-spacing: 0.1em;
    width: auto;
}
.header h1 img {
    max-width: 500px;
    width: 100%;
    margin-top:0.5rem;
}
.header-logo-text,
.header-box-text {
    font-size:1rem;
}
.header-box-text {
    text-align: right;
}

.header-box-inner {
    display: flex;
    justify-content: flex-end;
}

.header-box-free p {
    background-color: #ffee21;
    font-weight: bold;
    padding: 0.5rem 0.7rem 0.5rem 0.9rem;
    font-size: 1.4375rem;
    margin-right: 15px;
    text-align: center;
    width: auto;
}
.header-box-free span {
    color: var(--accent-color);
}
p.tel {
    color: var(--accent-color);
    font-size:3.0625rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    line-height: 1;
}
p.tel a {
    color: var(--accent-color);
}
.time {
    font-size:1.1875rem;
    font-weight: bold;
    padding-left: 0.3rem;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
.navi_bgLine {
    background-color: var(--back-color);
    padding: 1.5rem 0 1.5rem 0;
}

nav li {
	flex: 1 0 auto;
    border-right: 2px solid var(--base-color);
    padding: 0.5rem 2rem;
}
nav li:last-child {
    border:0;
    padding-right: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
    font-weight: bold;
    letter-spacing: 0.15em;
    color: var(--base-color);
    display: block;
}
nav a:hover {
    background-color: var(--back-color);
}

nav li:first-child {
    padding-left: 0;
}

@media screen and (min-width: 768px){
    /* PC時はMENUボタンを非表示 */
    #open,#close {
        display: none !important;
    }

    #navi {
        display: block !important;
    }
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 0;
    padding: 1% 3% 2% 3%;
}
.header .col {
    margin-left: 0;
}
.header h1 img {
    width: 80%;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/common/button.svg) var(--base-color) center center;
    background-repeat: no-repeat;
    background-size: 62%;
    width: 55px;
    height: 55px;
    position: absolute;
    top: 20px;
    right: 12px;
    border-radius: 5px;
}
#close  {
    display: block;background: url(../img/common/cross_hoso.svg) var(--base-color) center center;
    background-repeat: no-repeat;
    background-size: 62%;
    width: 55px;
    height: 55px;
    position: absolute;
    top: 20px;
    right: 12px;
    border-radius: 5px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
.navi_bgLine {
    padding: 0;
}
.navi_bgLine .col{
    margin: 0;
}
.header-box {
    display: none;
}
.header-box-free p {
    margin: 0 auto 0.5rem auto;
    width: 75%;
}
nav ul {
    display: block;
    padding: 0 6rem 2rem 6rem;
}
nav li {
    border-right: 0;
    border-bottom: 1px dotted var(--base-color);
    line-height: 1;
    margin: 0;
}
nav a {
    padding: 2rem 0;
}

p.tel {
    padding-top: 1rem;
}
nav li:last-child {
    padding-left: 0;
}

}


/*メイン画像
-------------------------------------*/
.main_img {
    width: 100%;
    height: 620px;
    position: relative;
    margin-bottom: 3rem;
}
.main_img-text {
    padding: 15rem 0 15rem 0;
    position: relative;
    z-index: 5;

}
.main_img-text dl dt p {
    background-color: #fff;
    max-width: 520px;
    width: 100%;
    font-size: 4rem;
    font-weight: bold;
    color: var(--base-color);
    letter-spacing: 0.1em;
    text-align: center;
    padding: 1rem 3rem;
    margin-bottom: 2rem;
    line-height: 1;
}
.main_img-text dl dd {
    font-size: 2rem;
    font-weight: bold;
    width: 510px;
    text-align: center;
    padding-top: 2.5rem;
    line-height: 2;
    letter-spacing: 0.1em;
}


@media screen and (max-width: 768px){
    .main_img {
        padding: 0;
        height: 370px;
        margin: 0;
    }
    .main_img-text {
       padding: 0;
       text-align: center;
       position: relative;
       top: 220px;
       left: 0;
    }
    .main_img-text dl {
        width: 66%;
     }
     .main_img-text dl dt p {
        margin: 0 auto 0.8rem 0;
        font-size: 2rem;
        padding: 0.5rem 0.5rem 0.8rem 0.5rem;
        width: auto;
    }
    .main_img-text dl dd {
        font-size: 1.3rem;
        width: 100%;
        margin: 0;
        padding-top: 0.5rem;
        line-height: 1.7;
    }
}



/*CSSスライドショー設定
---------------------------------------------------------------------------*/
/*１枚目*/
@keyframes slide1 {
	0% {opacity: 0;}
	10% {opacity: 1;}
	40% {}
	50% {opacity: 1;}
	60% {opacity: 0;}
	100% {opacity: 0;}
}
/*２枚目*/
@keyframes slide2 {
	0% {opacity: 0;}
	25% {opacity: 0;}
	35% {opacity: 1;}
	65% {}
	75% {opacity: 1;}
	85% {opacity: 0;}
	100% {opacity: 0;}
}
/*3枚目*/
@keyframes slide3 {
	0% {opacity: 0;}
	50% {opacity: 0;}
	60% {opacity: 1;}
	80% {opacity: 1;}
	90% {opacity: 0;}
	100% {opacity: 0;}
}

/*mainimg
---------------------------------------------------------------------------*/
/*画像ブロック*/
.main-slide {
    position: absolute;
    top: 10px;
    right: 0;
    max-width: 1000px;
    width: 100%;
}
#slide {
	clear: left;
	text-indent: -9999px;
	/*position: fixed;	スクロールしても固定表示させる指定*/
	position: relative;
	top: 0px;
	width: 100%;
	/*height: 100%;*/
	height: 620px;	/*※スライドショー解説用に追加*/
	margin-bottom: 30px;	/*※スライドショー解説用に追加*/
}
/*３枚画像の共通設定*/
.slide1,.slide2,.slide3 {
	animation-duration: 8s;	/*実行する時間。「s」は秒の事。*/
	animation-iteration-count:infinite;		/*実行する回数。「infinite」は無限に繰り返す意味。*/
	position: absolute;left:0px;top:0px;width: 100%;height: 100%;
	animation-fill-mode: both;
	animation-timing-function: linear;
}
/*土台画像*/
.slide0 {
	background: url(../img/top/pc_main_img01.png) no-repeat center center/cover;
	position: relative;width: 100%;height: 100%;
}
/*１枚目*/
.slide1 {
	background: url(../img/top/pc_main_img02.png) no-repeat center center/cover;
	animation-name: slide1;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*２枚目*/
.slide2 {
	background: url(../img/top/pc_main_img03.png) no-repeat center center/cover;
	animation-name: slide2;		/*上で設定しているキーフレーム（keyframes）の名前*/
}

@media screen and (max-width: 768px){

.main-slide {
    width: 100%;
    top: 0;
}

#slide {
	height: 240px;	/*※スライドショー解説用に追加*/
}

/*土台画像*/
.slide0 {
    background: url(../img/top/pc_main_img02.png) no-repeat top center/cover;
	animation-name: slide1;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*１枚目*/
.slide1 {
	background: url(../img/top/pc_main_img03.png) no-repeat top center/cover;
	animation-name: slide2;		/*上で設定しているキーフレーム（keyframes）の名前*/
}

}



/*メインコンテンツ
-------------------------------------*/
main, footer {
    letter-spacing: 0.03em;
    line-height: 2;
    clear: both;
}

section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.box-back {
	background-color: var(--back-color);
}

@media screen and (max-width: 768px){
    main, footer {
        letter-spacing: 0.03em;
        line-height: 1.5;
    }

    section {
        margin: 0;
    }
}

/*キャッチコピー
-------------------------------------*/
.catch {
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
    padding-bottom: 5rem;
}
.catch-photo {
    width: 100%;
    max-width: 450px;
    z-index: 5;
}
.catch-text {
    width: 100%;
    position: relative;
    top:60px;
    left:-50px;
    background-color: #fff;
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    z-index: 3;
}
.catch-map {
    width: 1bold%;
    max-width: 390px;
    position: relative;
    top: 10rem;
    right:50px;
    z-index: 4;
    margin-left: -20px;
}
.catch-map img {
    width: 100%;
}

.catch-text-mg {
    margin-left: 100px;
    padding-right: 5%;
    padding-bottom: 10rem;
}
.catch h2 {
    padding-bottom: 1rem;
    font-weight: bold;
    font-size: 1.6875rem;
    margin-top: -73px;
    padding-bottom: 3rem;
}
.catch h2 span {
    padding-bottom: 1rem;
    font-size: 9.1875rem;
    color: var(--base-color);
}
.catch-text-mg-midashi {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--base-color);
}
.under {
    border-bottom: 0.4rem solid var(--base-color);
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
}
.left {
	text-align: left;
}


@media screen and (max-width: 768px){
    .catch {
        display: block;
    }
    .catch-photo, .catch-map {
        display: none;
    }
    .catch h2 {
        position: relative;
        top: 0;
        left: 1.5rem;
        z-index: 5;
        font-size: 0.7rem;
        color: var(--base-color);
        width: 50%;
    }
    .catch h2 span {
        font-size: 4.5rem;
    }
    .sp_catch-img {
        position: relative;
        top: -70px;
        left: 0;
        z-index: 2;
        margin-bottom: -50px;
    }
    .catch h2 {
        margin: 0;
        z-index: 5;
    }
    .catch-text {
        display: block;
        top:0;
        left: 0;
        margin: 0;
        background: none;
    }
    .catch-text-mg {
        margin-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    .catch-text-mg-midashi {
        padding: 2rem;
    }
    .catch-text-mg p {
        padding: 0 2rem;
        line-height: 1.8;
    }
    .catch-text-mg-messege p {
        font-size: 1.6rem;
        line-height: 1.5;
    }
    .sp .header-box-inner {
        display: block;
        text-align: center;
        width: 80%;
        margin: 0 auto;
        padding: 1.5rem 0 0.5rem 0;
    }
}

/* 相談
-------------------------------------*/
.soudan {
	background: url(../img/top/soudan_bg.jpg) left top;
    background-repeat: no-repeat;
    background-size:contain;
    padding: 5rem 0 5rem 0;
    margin: 0;
}
.soudan-menu {
    display: flex;
    align-items: stretch;
    padding-bottom: 3rem;
}
.soudan-midashi {
    max-width: 720px;
    width: 100%;
    margin: 0 auto 5rem auto;
}
.soudan-midashi p {
    background-color: #fff;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--base-color);
    padding: 1rem 2rem 1.2rem 2rem;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}
.soudan-menu-box {
    background-color: #fff;
    border: 2px solid var(--base-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 4rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
}

.soudan-menu .col.span-3 {
    margin-left: 2%;
}
.soudan-menu .col.span-3:first-child {
    margin-left:0;
}


.soudan-menu h3 {
    font-weight: bold;
    letter-spacing: 0.05em;
}

.soudan-menu-img {
    padding: 4rem 0 1rem 0;
}
.soudan-menu-text {
    text-align: left;
    font-size: 1.2rem;
    padding: 0 0.5rem;
}

.soudan-menu-img img {
    height: 92px;
    width: auto;
    vertical-align: bottom;
}

.soudan-menu-img img.small_img {
    width: 80%;
}


.soudan-menu-box h3 {
    display: inline-block;
    position: relative;
}
.soudan-menu-box h3:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -18px; /*下線の上下位置調整*/
    display: inline-block;
    width: 90px; /*下線の幅*/
    height: 2px; /*下線の太さ*/
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translate(-50%); /*位置調整*/
    background-color: var(--base-color); /*下線の色*/
}

.soudan-menu-box a {
    color: #000;
    padding: 0;
}

.soudan-allow {
    flex-grow: 1;
}

.soudan-btnArea {
    padding-bottom: 5rem;
}
.soudan-btn {
    background-color: var(--base-color);
    padding: 2rem 3rem 2rem 5rem;
    color: #fff;
    text-align: left;
    display: flex;
    justify-content: space-between;
    border-radius: 7px;
    width: 85%;
}
.soudan-btnArea a {
    text-decoration: none;
    width: 100%;
}
.btn02 {
    margin-left: 1rem;
}
.soudan-btn-text {
    width: 60%;
    padding: 5% 5% 5% 0;
}
.soudan-btn-text h3 {
    font-weight: bold;
    font-size: 2.6rem;
    line-height: 1.7;
    letter-spacing: 0.1em;
    padding-bottom: 1rem;
}
.soudan-btn-text h3 span {
    font-size: 3.5rem;
}
.soudan-btn-text p {
    line-height: 1.7;
    font-size: 1.8rem;
}
.soudan-btn-img {
    width: 55%;
    max-width: 585px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px){
    .soudan {
        background: url(../img/top/sp_soudan_bg.jpg) left top;
        background-repeat: no-repeat;
        background-size:contain;
        padding:3rem 1.5rem;
        margin: 0;
    }
    .soudan-midashi {
        margin: 0 auto 3rem auto;
    }
    .soudan-midashi p {
        font-size: 1.7rem;
        padding: 0.5rem;
    }
    .soudan-menu {
        flex-direction:row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-bottom: 1rem;
    }
    .soudan-menu .span-3 {
        flex: 0 0 48%;
        max-width: 48%;
    }
    .soudan-menu .col.span-3:nth-child(odd) {
        margin-left:0;
    }
    .soudan-menu-box {
        margin-left: 0;
        padding: 2.5rem 1rem 1rem 1rem;
    }
    .soudan-menu-text {
        padding: 0 0 2rem 0;
        font-size: 1.5rem;
    }
    .soudan-menu-box h3 {
        font-size: 1.5rem;
    }
    .soudan-menu-img {
        padding: 2.5rem 0 0 0;
    }
    .soudan-menu-img img {
        width: 50%;
    }
    .soudan-btn {
        padding: 1rem 1.5rem 1rem 2.5rem;
        width: 89%;
    }
    .soudan-btnArea {
        padding: 0 0 2rem 0;
    }

    .soudan-btnArea .col {
        margin: 0 0 1.5rem 0;
    }
    .soudan-btn-text h3 {
        font-size: 1.8rem;
        padding: 0;
        line-height: 1.5;
    }
    .soudan-btn-text h3 span {
        font-size: 2.5rem;
    }
    .soudan-btn-text p {
        font-size: 1.5rem;
        line-height: 1.5;
    }
}

/*無料相談
-------------------------------------*/
.freeSoudan {
    background-color: var(--base-color);
    margin: 10rem 0 0 0;
    width: 100vw;
}
.freeSoudan-box {
    background-color: #fff;
    max-width: 780px;
    width: 100%;
    margin: -9rem auto 3rem auto;
    border: 2px solid var(--base-color);
    border-radius: 7px;
    padding: 4.5rem 8rem 5rem 5rem;
    display: flex;
    justify-content: space-between;
}
.freeSoudan-box-img {
    width:100%;
    max-width: 280px;
    text-align: center;
}
.freeSoudan-box-img dl {
    font-weight: bold;
}
.freeSoudan-box-img dl dd{
    margin: 0;
}
.freeSoudan-box-text {
    padding-left: 6rem;
    font-weight: 700;
    text-align: center;
}
.freeSoudan-box-text h3 {
    font-size: 3.6rem;
    font-weight: 730;
    letter-spacing: 0.1em;
    display: inline-block;
    position: relative;
    margin-bottom: 2.5rem;
}
.freeSoudan-box-text h3:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -18px; /*下線の上下位置調整*/
    display: inline-block;
    width: 90px; /*下線の幅*/
    height: 2px; /*下線の太さ*/
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translate(-50%); /*位置調整*/
    background-color: var(--base-color); /*下線の色*/
}
.telBox {
    text-align: center;
    padding: 0.5rem 0 0 0;
}
.telBox p {
    line-height: 1.2;
}
.telBox-number {
    font-size: 4.4rem;
    padding-bottom: 1rem;
    margin: 0;
}
.telBox-number .sp_tel {
    font-size:4.4rem;
    text-decoration: none;
    color: var(--accent-color);
}
.sp_freeSoudan {
    display: none;
}

@media screen and (max-width: 768px){
    .freeSoudan {
        margin: 0.5rem 0 3rem 0;
        padding: 2rem 0;
    }
    .sp_freeSoudan {
        display: block;
        background: url("../img/top/sp_sasaki.jpg") left top no-repeat;
        background-size: cover;
        padding: 17rem 2rem 5rem 2rem;
        text-align: center;
    }
    .sp_freeSoudan p {
        background: #fff;
        color: var(--base-color);
        font-weight: bold;
        padding: 0.3rem 0;
        margin-bottom: 1rem;
    }
    p.sp_freeSoudan-name {
        color: #000;
        font-size: 1.2rem;
        margin: 0 5rem;
    }
    .freeSoudan-box {
        width: 83%;
        display: block;
        padding: 1.5rem;
        margin: 0 auto;
    }
    .freeSoudan-box-img {
        display: none;
    }
    .freeSoudan-box-text h3 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    .freeSoudan-box-text {
        padding: 1.5rem 0.8rem 1.5rem 0.8rem;
        line-height: 1.7;
        text-align: center;
    }
    .freeSoudan-box-text img {
        width: 80%;
        margin: 2rem auto 0 auto;
    }
    .freeSoudan-box-text dl dd {
        margin: 0;
    }
    .freeSoudan-box-text .text_left {
        text-align: center;
    }
    .telBox-number {
        font-size: 4rem;
    }
    .telBox-number .sp_tel {
        font-size:3rem;
    }
}

/*事務所アクセス
-------------------------------------*/
.company-box {
    display: flex;
}
.company-img {
    width: 800px;
}
.company-text {
    padding-left:7rem;
    max-width: 730px;
    width: 100%;
}
.company-text-adress {
    padding-bottom: 5rem;
}
.map {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
}
.map iframe {
    width: 100%;
    height: 100%;
    vertical-align: bottom;
}

@media screen and (max-width: 768px){
    .company {
        padding: 0;
    }
    .company-box {
        display: block;
    }
    .company-img {
        width: 100%;
    }
    .company-text {
        padding: 0;
    }
    .company-text-adress {
        padding: 3rem 2rem 3rem 2rem;
    }
}


/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color);
    padding: 5rem 0 0 0;
}
.footer-box .footer-box-inbox {
    display: flex;
    justify-content: space-between;
}

.footer-box {
    padding-bottom: 8rem;
}
h2.footer-box-midashi {
    max-width: 316px;
    width: 100%;
    padding-bottom: 1rem;
}
.footer-box-linkBox {
    display: flex;
    width: 50%;
}
.footer-box-link {
    width: 50%;
}
.footer-box-link li {
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.footer-box-link li a {
    text-decoration: none;
    color: var(--base-color);
}
.footer-box-link li ul {
    margin: 0 0 0 2rem;
}
.footer-box-link li ul li {
    margin-bottom: 0;
    list-style: disc;
}
.footer-box-link li ul li a {
    color: #000;
}
.companyMemo {
    background-color: #fff;
    padding: 5rem 0;
}
.companyMemo dl dt {
    font-size: 1.4rem;
    color: var(--base-color);
    font-weight: bold;
}
.companyMemo dl dd {
    font-size: 1.3rem;
    padding-bottom: 1rem;
    margin: 0;
}


@media screen and (max-width: 768px){
    footer {
        padding: 4rem 0 0 0;
    }
    .footer-box {
        padding-bottom: 4rem;
    }
    .footer-box .footer-box-inbox {
        display: block;
        padding: 0 2rem;
    }
    h2.footer-box-midashi {
        max-width: 80%;
        margin: 0 auto;
    }
    .footer-box-linkBox {
        width: 100%;
    }
    .footer-box .footer-box-inbox p {
        line-height: 1.5;
    }
    .footer-box .footer-box-inbox .page-button {
        margin: 0 auto 5rem auto;
    }
    .footer-box-link {
        width: 50%;
        padding-left: 1.5rem;
        justify-content: space-between;
    }
    .footer-box-link li {
        font-size: 1.3rem;
        line-height: 1.5;
    }
    .companyMemo {
        padding: 2rem;
        line-height: 1.5;
    }
    .companyMemo dl dt {
        padding-bottom: 1rem;
    }
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--base-color);
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 70px;
    right: 30px;
    text-align: center;
    cursor: pointer;
}

[class*='scp_arrow'] {/*矢印の背景設定*/
    background-color: var(--base-color);
}

#pagetop p {
    padding-top: 1rem;
    font-size: 1.1rem;
    color: var(--base-color);
    font-weight: bold;
    line-height: 1.5rem;
}


@media screen and (max-width: 768px){
    #pagetop {
        display: none !important
    }
}



/* ページ見出し
-------------------------------------*/

.heading-container {
    background-color: var(--base-color);
    padding: 5rem;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.heading-content {
    display: flex;
    align-items: center;
}

.icon {
    width: 83px;
    height: 83px;
    margin-right:4rem;
}
.icon_w {
    width:150px;
    height: 50px;
    margin-right:4rem;
}

.text-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    color: #fff;
}

.text-content h2 {
    font-size: 3.5rem;
    font-weight: bold;
    letter-spacing:0.1em;
}

.text-content p {
    text-align: center;
    letter-spacing:0.2rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .heading-container {
        padding: 2rem;
    }
    .icon {
        width: 40px;
        height: 40px;
        margin-right: 2rem;
    }
    .text-content h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        letter-spacing: 0.1em;
    }
    .text-content p {
        font-size: 1rem;
        letter-spacing: 0.15rem;
    }
}


/* パンくずリスト
-------------------------------------*/

.breadcrumb {
    display: flex;
    gap: 0 1rem;
    list-style: none;
    padding: 0;
    font-size: .9em;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .3em;
    height: .3em;
    margin-left: 1rem;
    border-top: 1px solid var(--base-color);
    border-right: 1px solid var(--base-color);
    content: '';
}

.breadcrumb a {
    color: var(--base-color);
}
.breadcrumb li:last-child a {
    color:#000;
    text-decoration: none;
}


@media (max-width: 768px) {
    .breadcrumb {
        padding: 0;
        margin-bottom: -1rem;
    }
}




/* ページメニュー
-------------------------------------*/
.page-menu {
    margin: 5rem 0;
    padding: 3rem 0;
}

.page-menu li {
    background: var(--base-color);
    border-radius: 5px;
    text-align: center;
    padding: 2rem 1.5rem 0rem 1.5rem;
    margin-left: 2.3rem;
    width: 30%;
}
.page-menu li a {
    display: block;
    text-decoration: none;
}
.page-menu li:hover {
    background: #132547;
}
.page-menu li:first-child {
    margin-left: 0;
}
.page-menu-midashi {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding-bottom: 1rem;
}
.page-menu-allow {
    text-align: right;
    margin-bottom: 0;
}
.page-menu-img {
    margin-bottom: -1rem;
}
.page-menu li img {
    height: 60px;
}
.page-menu li .page-menu-allow img {
    width: 12%;
}
.page-menu li img.small-img {
    height: 40px;
    margin: 10px 0;
}
@media (max-width: 768px) {
    .page-menu {
        padding: 0;
        margin: 0 0 70px 0;
    }
    .page-menu li {
        margin-left: 0;
        width: 100%;
        padding: 2rem 0;
        background: url(../img/common/page-menu_allow.svg) right 15px center no-repeat var(--base-color);
        background-size: 8%;
    }
    .page-menu-midashi {
        padding-bottom: 0;
        margin: 0;
    }
    .page-menu-img,.page-menu-allow {
        display: none;
    }
}

/* ページ共通
-------------------------------------*/
.inpage_midashi {
    padding: 5rem 0 9rem 0;
}
.inpage_midashi h3 {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--base-color);
    letter-spacing: 0.1em;
    display: inline-block;
    position: relative;
    margin:0 auto;
}
.inpage_midashi h3:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -18px; /*下線の上下位置調整*/
    display: inline-block;
    width: 90px; /*下線の幅*/
    height: 2px; /*下線の太さ*/
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translate(-50%); /*位置調整*/
    background-color: var(--base-color); /*下線の色*/
}

.inpage_menu {
    border: solid 1px var(--base-color);
    background-color: var(--back-color);
    border-radius: 5px;
}
.inpage_menu ul {
    display: flex;
    padding: 1.5rem;
    margin: 0;
}
.inpage_menu ul li {
    border-left: solid 2px var(--base-color);
    padding: 0.5rem 2rem;
    font-weight: bold;
    margin: 0;
}
.inpage_menu ul li.current {
    background-color: var(--base-color);
    color: #fff;
    border-radius: 5px;
    border: 0;
}
.inpage_menu ul li.current + li {
    border: 0;
    padding-left: 3rem;
}
.inpage_menu ul li a {
    color: #000;
    text-decoration: none;
}
.inpage_menu ul li a:hover {
    color: var(--base-color);
}

/* 見出し */
.inpage_midashi_second {
    font-size: 2.7rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    display: inline-block;
    position: relative;
    margin:0 auto 8rem 0;
}
.inpage_midashi_second:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -25px; /*下線の上下位置調整*/
    display: inline-block;
    width: 90px; /*下線の幅*/
    height: 2px; /*下線の太さ*/
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translate(-50%); /*位置調整*/
    background-color: var(--base-color); /*下線の色*/
}
.inpage_midashi_third {
    background: var(--base-color);
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    padding: 1rem;
    letter-spacing: 0.1em;
    border-radius: 5px;
    margin-bottom: 3rem;
}
.text_midashi01 {
    font-size: 2rem;
    font-weight: bold;
    padding-bottom: 0.3rem;
}
.text_midashi02 {
    font-size: 2rem;
    font-weight: bold;
}

/* 画像 */
.img_send {
    width: 600px;
}
.img_send-text {
    width: 600px;
    padding-left: 4rem;
}

/* 影つきボックス */
.box-shadow {
    text-align: center;
    border: 1px solid var(--base-color);
    border-radius: 5px;
    box-shadow: 6px 7px 0px 0px var(--base-color);
    margin-top: 7rem;
    padding: 3rem 4rem;
}
.contact .box-shadow {
    text-align: center;
    border: 1px solid var(--base-color);
    border-radius: 5px;
    box-shadow: 6px 7px 0px 0px var(--base-color);
    margin: 7rem 0 4rem 0;
    padding: 1.5rem 0 2.5rem 0;
}
.box-shadow-send {
    display: flex;
    justify-content: space-between;
}
.box-shadow-send-text {
    width: 55%;
    padding-right: 4%;
}
.box-shadow-send-img {
    max-width: 520px;
    width: 100%;
}
.box-shadow-send-img img {
    width: 100%;
}

/* リスト */
.list01 {
    text-align: left;
    list-style: none;
}
.list01 li {
    margin: 0 0 1rem 0;
}
.list01 li:before {
    content:  "";
    width:  1.3rem;
    height:  1.3rem;
    display:  inline-block;
    background-color: var(--base-color);
    border-radius:  50%;
    position:  relative;
    margin-right: 5px;
}


/* 相談事例 */
.jirei_midashi h3 {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: #ffeeed;
    color: var(--accent-color);
    font-weight: bold;
    text-align: center;
    font-size: 2.7rem;
    letter-spacing: 0.1em;
    padding: 5rem 2rem 0rem 2rem;
    border-radius: 5px;
}
.jirei_ex {
    background: #ffeeed;
    margin-top: -1rem;
    margin-bottom: -15rem;
    padding-bottom: 20rem;
}
.jirei_ex_and {
    background: #ffeeed;
    margin-top: -1rem;
    padding-bottom: 10rem;
}
.jirei_box {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 7rem 0 0 0;
}
.jirei_box-container {
    background: #fff;
    margin: -5rem 5rem 0 5rem;
    padding: 6rem 5rem 4rem 5rem;
    display: flex;
    justify-content: space-between;
}
.no_midashi {
    margin: 0 !important;
    padding: 4rem 5rem 4rem 5rem !important;
}
.jirei_box dl {
    border: 1px solid var(--accent-color);
    background: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    font-size: 2rem;
    font-weight: bold;
    width: 600px;
    position: relative;
    z-index: 100;
}
.jirei_box dl dt {
    background: var(--accent-color);
    color: #fff;
    padding: 0.5rem 2rem;
    width: 140px;
    text-align: center;
    display: block;
}
.jirei_box dl dd {
    padding: 0.5rem 0 0.5rem 0;
    display: block;
    text-align: center;
    width: 420px;
    margin: 0;
}
.jirei_text {
    width: 60%;
    padding-right: 5%
}
.jirei_img {
    max-width: 440px;
    width: 100%;
}
.jirei_box-container h4 {
    font-weight: bold;
    border-bottom: 1px solid var(--accent-color);
    padding: 1rem 0 2rem 0;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    font-size: 1.8rem;
}

/* ボックススタイル */
.color_inbox {
    border: 1px solid var(--accent-color);
    background-color: #ffeeed;
    padding: 2em 4rem;
    margin-bottom: 3rem;
}
.color_inbox-container {
    display: flex;
    justify-content: space-between;
}
.color_inbox-right img {
    max-width: 520px;
    margin-left: 3rem;
}

@media (max-width: 768px) {
    .inpage_midashi {
        padding: 4rem 0 4rem 0;
    }
    .inpage_midashi h3 {
        font-size: 2.5rem;
    }
    /* 画像 */
    .img_send {
        width: 100%;
        margin-bottom: 2rem;
    }
    .img_send-text {
        width: 100%;
        padding-left: 0;
    }
    .jirei_img {
        margin: 3rem 0 1rem 0;
    }
    /* 影つきボックス */
    .box-shadow {
        text-align: center;
        border: 0;
        box-shadow: none;
        margin-top:4rem;
        padding: 0;
    }
    .box-shadow-send {
        display: block;
        justify-content: space-between;
    }
    .box-shadow-send-text {
        width: 100%;
        padding-right: 0;
    }
    .box-shadow-send-img {
        width: 100%;
        margin-top: 3rem;
    }
    .box-shadow-send-img img {
        width: 100%;
    }
    .jirei_ex {
        padding-bottom: 10rem;
    }
    .jirei_ex_and {
        padding-bottom: 3rem;
    }

    .jirei_midashi h3 {
        width: 100%;
        padding: 5rem 0 2rem;
        font-size: 2.3rem;
    }
    .jirei_box {
        width: 100%;
        margin: 0;
        padding: 2rem 0 0 0;
    }
    .jirei_box-container {
        background: #fff;
        margin: -5rem 0 0 0;
        padding: 6rem 2rem 3rem 2rem;
        display: block;
        justify-content: space-between;
    }
    .no_midashi {
        margin: 0 0 2rem 0 !important;
        padding: 2rem !important;
    }
    .jirei_box dl {
        width: auto;
        margin:0 1rem 1.5rem 1rem;
        display: block;
        text-align: center;
    }
    .jirei_box dl dt {
        font-size: 1.8rem;
        width: auto;
    }
    .jirei_box dl dd {
        font-size: 1.7rem;
        width: 100%;
        margin: 0;
    }
    .jirei_text {
        width: auto;
        padding-right: 0;
    }
    .inpage_menu {
        display: none;
    }
    .inpage_midashi_second {
        font-size: 2rem;
        margin:0 auto 6rem 0;
    }

    .text_midashi01 {
        padding-bottom: 0;
        text-align: left;
        font-size: 1.7rem;
    }
    .inpage_midashi_third {
        margin: 2rem 0;
        text-align: left;
        font-size: 1.7rem;
    }
    .jirei_box-container h4 {
        font-size: 1.8rem;
        line-height: 1.7;
    }

    /* ボックススタイル */
    .color_inbox {
        padding: 1em;
    }
    .color_inbox-container {
        display: block;
    }
    .color_inbox-right img {
        width: 100%;
        margin-left: 0
    }
}


/* 相続・遺言
-------------------------------------*/
.souzoku-top {
    margin: 0;
}
.souzoku-top-menu,
.touki-top-menu {
    display: flex;
    flex-wrap: wrap;
    padding-top: 2rem;
    padding-bottom: 0;
    margin-bottom: 0;
    gap:3rem;
}
.souzoku-top-menu li,
.touki-top-menu li {
    border: 1px solid var(--base-color);
    border-radius: 5px;
    padding: 2rem;
    width: calc((100% - 12rem) / 2);
}
.souzoku-top-menu li:nth-child(2n){
    margin-right: 0;
}
.souzoku-top-menu-midashi,
.touki-top-menu-midashi {
    background: var(--base-color);
    padding: 0.5rem 1rem 0.5rem 2rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}
.souzoku-top-menu-midashi:hover,
.touki-top-menu-midashi:hover {
    background: #132547;
}
.souzoku-top-menu-midashi a,
.touki-top-menu-midashi a {
    background: url(../img/common/menu_allow.svg) right 1rem center no-repeat;
    background-size:6%;
    color: #fff;
    font-weight: bold;
    font-size: 2.3rem;
    display: block;
    text-decoration: none;
}
.souzoku-top-menu a img:hover,
.touki-top-menu a img:hover {
    opacity: 0.8;
}
.souzoku-top-menu li p,
.touki-top-menu li p {
    padding-top: 1.5rem;
    font-size: 1.4rem;
    letter-spacing: 0.01rem;
}

@media (max-width: 768px) {
    .souzoku-top-menu-midashi,
    .touki-top-menu-midashi {
        padding: 0.5rem 1.5rem;
    }
    .souzoku-top-menu-midashi a,
    .touki-top-menu-midashi a {
        font-size: 2rem;
        padding: 1rem 0;
    }
    .souzoku-top-menu li,
    .touki-top-menu li {
        border: 0;
        margin-right: 0;
        margin-bottom:0;
        padding: 0;
        width: 100%;
    }
    .souzoku-top-menu li:last-child,
    .touki-top-menu li:last-child {
        margin:0;
    }
    .souzoku-top-menu li p,
    .touki-top-menu li p {
        font-size: 1.5rem;
        width: auto;
        margin-top: 2rem;
    }
}


/* ご相談の流れ
-------------------------------------*/
.flow-top {
    margin: 0;
}
.flow01 {
    display: flex;
    padding-top: 5rem;
}
.flow01 .flow_img {
   max-width: 600px;
   width: 100%;
   margin-right: 5rem;
}
.flow {
    display: flex;
    flex-wrap: wrap;
    padding-top: 5rem;
}
.flow li {
    width: calc(50% - 2rem);
    margin-right: 3rem;
    margin-bottom: 3rem;
}
.flow li img {
    margin-bottom: 2rem;
}
.flow li:nth-child(2n) {
    margin-right: 0;
}
.flow_midashi {
    font-weight: bold;
    color: var(--base-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .flow01 {
        flex-wrap: wrap;
        padding-top: 2rem;
    }
    .flow01 .flow_img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
    }
    .flow li {
        width: 100%;
        margin-right: 0;
    }
    .flow li:last-child {
        margin:0;
    }
}

/* 代表紹介
-------------------------------------*/
.profile {
    margin-top: 0;
    padding-top: 0
}
.profile-tokucyo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 5rem;
}
.profile-tokucyo li {
    flex: 1; /* 各ボックスを均等に広げる */
    margin-right: 3rem;
    padding-bottom: 1rem;
}
.profile-tokucyo li:nth-child(3n) {
    margin-right:0;
}
.profile-tokucyo li img {
    margin-bottom: 2rem;
}
.profile-tokucyo-midashi {
    font-weight: bold;
    color: var(--base-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.daihyou {
    display: flex;
    justify-content: space-between;
}
.daihyou-text {
    text-align: center;
    width: 95%;
    padding-right: 5%;
}
.daihyou-text dt {
    font-weight: bold;
    font-size: 2.2rem;
}
.daihyou-text dt {
    line-height: 1.5;
}
.daihyou-text dt p {
    padding-top: 1rem;
}
.daihyou-text dt span {
    font-size: 1.6rem;
}
.daihyou-text dd {
    padding-bottom: 1rem;
    margin: 0;
}
.daihyou-img {
    max-width: 320px;
    width: 100%;
    padding-top: 2rem;
}
.daihyou-img img {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .profile-tokucyo {
        display: block;
        padding-top: 2rem;
    }
    .profile-tokucyo li {
        width: 100%;
        margin-right: 0;
    }
    .daihyou {
        display: block;
    }
    .daihyou-text {
        width: 100%;
        padding-right: 0;
    }
    .daihyou-text dd {
        text-align: left;
        margin: 0;
    }
}


/* 事務所アクセス
-------------------------------------*/
.access .map {
    aspect-ratio: 16 / 10;
}
.access-road {
    padding: 7rem 0 5rem 0;
}
.access-road ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.access-road ul li {
    width: calc((100% - 30px) / 2);
    margin: 0;
}
.access-road ul li img {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .access .company-text-adress {
        padding: 3rem 0 0 0;
    }
    .access-road {
        padding: 3rem 0 0 0;
    }
    .access-road ul li {
        width: 100%;
    }
}

/* 問い合わせフォーム
-------------------------------------*/

.p-form {
    padding: 1rem 5rem 4rem 5rem;
   background: var(--back-color);
   margin-top: 4rem;
  }
  
  .p-form input[type=checkbox],
  .p-form input[type=radio] {
    position: relative;
    border: 1px solid #000;
    cursor: pointer;
    line-height: 0;
    margin: 0.3rem 0.5rem 0 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: text-top;
    height: 2rem;
    width: 2rem;
    border-radius: 0.3rem;
    -webkit-appearance: none;
    background: #fff;
    display: inline-block;
  }
  
  .p-form input[type=radio] {
    border-radius: 50%;
  }
  
  .p-form input[type=checkbox]:hover,
  .p-form input[type=radio]:hover {
    opacity: 1;
  }
  
  .p-form input[type=checkbox]:checked:before,
  .p-form input[type=radio]:checked:before {
    opacity: 1;
  }
  
  .p-form input[type=checkbox]:before {
    position: absolute;
    content: "";
    top: -8px;
    left: 10px;
    width: 8px;
    height: 24px;
    border: solid var(--base-color);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 2;
    opacity: 0;
    -webkit-transition: 0.2s;
    transition: 0.2s;
  }
  
  .p-form input[type=radio]:before {
    position: absolute;
    content: "";
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    background: var(--base-color);
    border-radius: 50%;
    z-index: 2;
    opacity: 0;
    -webkit-transition: 0.2s;
    transition: 0.2s;
  }
  
  .p-form .ipt {
    width: 100%;
    padding: 1.4rem 2.5rem;
    border: none;
    background: #fff;
    outline: none;
    border: none;
    border-radius: 1rem;
  }
  
  .p-form .ipt.medium {
    max-width: 32rem;
  }
  
  .p-form .ipt.are {
    max-width: 100%;
    height: 18rem;
  }
  
  @media screen and (max-width: 768px) {
    .p-form {
      padding-bottom: 0;
    }
    .p-form .ipt {
      padding: 1rem 1.5rem;
    }
    .p-form .ipt.medium {
      max-width: calc(100% - 3em);
    }
  }
  .p-form .adress-text {
    min-width: 3em;
    text-align: center;
    display: inline-block;
  }
  
  .p-form_ctrl {
    padding: 0 0 4rem;
  }
  
  @media screen and (min-width: 769px) {
    .p-form_ctrl {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
      flex-flow: row wrap;
      padding: 2rem 0;
    }
  }
  .p-form_ctrl__lbl {
    width: 23rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding: 0.3rem 2rem 0.5rem 0;
  }
  
  .p-form_ctrl__lbl label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    font-size: 1.6rem;
    line-height: 1.875;
  }
  
  .p-form_ctrl__lbl .req,
  .p-form_ctrl__lbl .no-req {
    display: inline-block;
    color: #fff;
    background-color:var(--accent-color);
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: 0.03em;
    padding: 0.7rem 1rem 0.9rem;
    border-radius: 0.5rem;
    font-weight: 400;
  }
  
  .p-form_ctrl__lbl .no-req {
    background-color: #999999;
  }
  
  @media screen and (max-width: 767px) {
    .p-form_ctrl__lbl {
      padding: 0 0 1.5rem 0;
    }
    .p-form_ctrl__lbl label {
      -webkit-box-pack: start;
      -ms-flex-pack: start;
      justify-content: flex-start;
      gap: 1rem;
    }
  }
  .p-form_ctrl__ctn {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
  
  @media screen and (max-width: 768px) {
    .p-form_ctrl__ctn {
      width: 100%;
    }
  }
  .p-form_privacy {
    padding: 0;
    margin: 3.6rem 0 0;
  }
  
  .p-form_privacy__wrap {
    background-color: #fff;
    padding: 3rem 2rem 3rem 4rem;
  }
  
  .p-form_privacy__in {
    padding: 0 1.5rem 0 1.5rem;
    height: 24rem;
    overflow-y: auto;
    line-height: 1.625;
  }
  
  .p-form_privacy__in::-webkit-scrollbar {
    width: 1rem;
  }
  
  .p-form_privacy__in::-webkit-scrollbar-track {
    border-radius: 2rem;
    background-color: #ddd;
  }
  
  .p-form_privacy__in::-webkit-scrollbar-thumb {
    background: var(--base-color);
    border-radius: 2rem;
  }
  
  .p-form_privacy__in h3 {
    font-weight: 700;
    position: relative;
    margin-top: 1.5em;
    margin-bottom: 0.3em;
    padding-left: 1.3em;
    font-size: 1.2em;
  }
  
  .p-form_privacy__in h3::after {
    position: absolute;
    top: 0;
    left: 0;
    content: "■";
    color: var(--base-color);
    display: inline;
  }
  
  @media screen and (max-width: 767px) {
    .p-form {
        padding: 2rem;
    }
    .p-form_privacy {
      margin: 1rem 0 0;
    }
    .p-form_privacy__wrap {
      padding: 2rem 1rem 2rem 2rem;
    }
    .p-form_privacy__in {
      padding: 0 1rem 0 0;
      font-size: 1.4rem;
      height: 20rem;
    }
    .p-form_ctrl__ctn {
        margin: 0;
    }
    .p-form_ctrl {
        margin: 0;
        padding: 0 0 1rem 0;
    }
    .p-form_consent {
        font-size: 0.8em;
    }
    .flex_c label {
        margin: 0.3rem 0 0 0 !important
    }
  }
  .p-form_consent {
    background-color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
  }
  
  .p-form_consent__text {
    margin-bottom: 1.5rem;
  }
  
  .p-form_consent__text a {
    color: #6CBB5A;
    font-weight: bold;
    text-decoration: underline;
  }
  
  .contact_sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1.1rem 3rem 1.1rem 4rem;
    color: var(--base-color);
    border: 1px solid var(--base-color);
    border-radius: 1rem;
    font-weight: bold;
    background: var(--base-color);
    width: 170px;
    text-decoration: none;
    margin: 4rem auto 1rem auto;
}
.contact_sub input {
   border: 0;
   font-size: 2rem;
   font-weight: bold;
   margin: 0 0 0 -1rem;
   color:  #fff;
   width: 100%;
}
.contact_sub:hover {
    color:  #fff;
    background: #fff;
 }
 .contact_sub:hover input{
    color:  var(--base-color);
 }

.contact_sub::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 20px;
  }
.contact_sub:hover::before {
    background-color: var(--base-color);
}

.contact_sub::after {
    content: '';
    transform: rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--base-color);
    border-right: 2px solid var(--base-color);
}
.contact_sub:hover::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
.flex_c label {
    margin: -0.4rem 0 0 0;
    padding-left:0.5rem;
}
.meisai {
    background-color: var(--back-color);
    margin: -1rem 0 2rem 0;
    padding: 1rem 2rem 0.3rem 2rem;
}
.meisai {
    background-color: #f3f0f0;
    margin: -1rem 0 2rem 0;
    padding: 1.5rem 2rem 0.1rem 2rem;
}
.meisai ul li {
    margin: 0 0 0 0.5rem;
    }
.meisai ul li:last-child {
    margin-bottom: 0;
}
.space {
    padding-left: 1em;
}
@media screen and (min-width: 768px) {
    .p-form_btn .btn-form:hover {
        opacity: 0.7;
    }
}
@media screen and (max-width: 767px) {
    .p-form_btn {
        margin-top: 2rem;
    }
    .meisai {
        padding: 1.5rem 1rem 0.1rem 1rem;
        font-size: 1.5rem;
    }
    .space {
        padding-left: 0;
    }
}


