@charset "UTF-8";
/* ------------------------------
TOPページ用css
------------------------------ */
.home #header{
	background-image: url(../img/top_main_visualv2.jpg);
	background-size: cover;
	background-position:  50% 0%;
	height: 412px !important;
	    min-height: 412px !important;
	overflow: hidden !important;
}
.home #header .copy{
	position: absolute;
	width: 80%;
	height: 60%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin:auto;
}
.home #header .copy h2{
	/*margin-bottom: 50px;*/
	font-size:34px;
	font-size:3.4rem;
	letter-spacing: 0.2em;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: bold;
	line-height: 1.8;

}
.home #header .copy p{
	font-size:14px;
	font-size:1.4rem;
	letter-spacing: 0.1em;
	line-height: 1.8;
}
.home #header .copy a.btn{
	display: block;
	max-width: 320px;
	height: 60px;
	margin:25px auto;
	color: #fff;
	letter-spacing: 0.1em;
	background-color: #0fae78;
	line-height: 60px;

	background-image: url(../img/arrow_white_right.png);

	background-repeat: no-repeat;
	background-size: 8px auto;
	background-position: 95% 50% ;
	transition: background-color 0.3s ease 0.1s;
}
.home #header .copy a.btn:hover{
	background-color: rgba(15, 174, 120, 0.6);
}
.home #header .inquiryBox{
	position: absolute;
	width: 270px;
	bottom: 55px;
	right: 55px;
	padding:25px 25px 15px 25px ;
	background-color: #3d4042;
	z-index: 100;

	font-size:12px;
	font-size:1.2rem;
	letter-spacing: 0.2em;
}
.home #header .inquiryBox h3{
	position: relative;
	margin-bottom: 35px;
	font-size:11px;
	font-size:1.1rem;
	font-weight: normal;
}
.home #header .inquiryBox h3:before{
	position: absolute;
	bottom: -15px;
	left: 0;
	right: 0;
	margin: 0 auto;
	content: " ";
	border-bottom: solid 1px #fff;
	width: 15px;
}
.home #header .inquiryBox .number{
	line-height: 1.3;
}
.home #header .inquiryBox .tel{
	font-size:17px;
	font-size:1.7rem;
	vertical-align: middle;
}
.home #header .inquiryBox .text{
	margin:15px 0;
	font-size:11px;
	font-size:1.1rem;
	line-height: 1.6;
	text-align: left;
	letter-spacing: 0.1em;
}

.home #header .inquiryBox .btn{
	display: block;
	width: 100%;
	margin-top:10px;
	padding:10px 0;
	font-size:13px;
	font-size:1.3rem;
	letter-spacing: 0.6em;
	color: #000;
	background-color: #fff;
	line-height: 1;
	font-weight: bold;
	transition: opacity 0.3s ease 0.1s;

}
.home #header .inquiryBox .btn:hover{
	opacity: 0.7;
}
.home #header .inquiryBox .btn span{
	display: inline-block;
	padding:5px 0 5px 35px;
	background-image: url(../img/ico_2person.png);
	background-repeat: no-repeat;
	background-size: 30px auto;
	background-position: 0px 50% ;

}

.home #header .scroll{
	display: none;
	position: absolute;
	bottom: 90px;
	left: 0;
	right: 0px;
	/*display: block;*/
	text-align: center;
}
.home #header .scroll img{
	width: 41px;
	height: auto;
	animation: fluffy1 3s ease infinite;
	z-index: 1000;
}
@keyframes fluffy1 {
	0% { transform:translateY(0) }
	5% { transform:translateY(0) }
	10% { transform:translateY(0) }
	20% { transform:translateY(-10px) }
	25% { transform:translateY(0) }
	30% { transform:translateY(-5px) }
	50% { transform:translateY(0) }
	100% { transform:translateY(0) }
}

/* --------------------------- 成功するクリニックの条件とは */
.home #main .success{
	min-height: 544px;
	margin: 50px 55px;
	padding: 90px 0 0 0;
	background-image: url(../img/top_bg_success.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 0%;
	color: #fff;
	text-align: center;
}
.home #main .success h3{
	position: relative;
	margin-bottom: 80px;
	font-size: 22px;
	font-size: 2.2rem;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	letter-spacing: 0.2em;
}
.home #main .success h3:before{
	position: absolute;
	bottom: -25px;
	left: 0;
	right: 0;
	margin: 0 auto;
	content: " ";
	border-bottom: solid 1px #fff;
	width: 15px;
}
.home #main .success p{
	font-size:14px;
	font-size:1.4rem;
	letter-spacing: 0.15em;
}
.home #main .success a.btn{
	display: block;
	width: 270px;
	height: 60px;
	margin:55px auto 0 auto;
	border:solid 1px #fff;
	font-size: 16px;
	font-size: 1.6rem;
	color: #fff;
	line-height: 60px;
	letter-spacing: 0.2em;
	transition: background-color 0.3s ease 0.2s;
	background-image: url(../img/arrow_white_right.png);
	background-repeat: no-repeat;
	background-size: 8px auto;
	background-position: 238px 50% ;
}
.home #main .success a.btn:hover{
	background-color: rgba(255, 255, 255, 0.2);
}

/* --------------------------- 開業ドクターからの声 */
.home #main #serviceLink{
	margin-bottom: 0;
}
.home #main .doctorVoice{
	padding:80px 0;
	overflow: hidden;
}
.home #main .doctorVoice h3{
	position: relative;
	margin-bottom: 70px;
	font-size:22px;
	font-size:2.2rem;
	letter-spacing: 0.2em;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: bold;
	line-height: 1.8;
	text-align: center;
}
.home #main .doctorVoice h3:before{
	position: absolute;
	bottom: -30px;
	left: 0;
	right: 0;
	margin: 0 auto;
	content: " ";
	border-bottom: solid 1px #000;
	width: 15px;
}

.home #main .doctorVoice .tag{
	margin-bottom: 60px;
	padding:15px 5% 15px 5% ;
	margin-bottom:60px;
	background-color: #f8f8f8;
	text-align: center;
}
.home #main .doctorVoice .tag li{
	list-style: none;
	display: inline-block;
}
.home #main .doctorVoice .tag li.current a{
	text-decoration: underline;
}
.home #main .doctorVoice .tag a{
	color: #000;
}
.home #main .doctorVoice .tag a:hover{
	color: #999;
}
.home #main .doctorVoice .tag li + li:before{
  content: "/";
  margin: 0 0.7em;
}

.home #main .doctorList{
	max-width: 1170px;
	margin:60px auto 60px auto;
}
.home #main .doctorVoice a.btn{
	display: block;
	max-width: 270px;
	height: 60px;
	margin:25px auto;
	color: #000;
	letter-spacing: 0.1em;
	border: solid 1px #000;
	line-height: 60px;

	background-image: url(../img/arrow_black_right.png);

	background-repeat: no-repeat;
	background-size: 8px auto;
	background-position: 95% 50% ;
	transition: background-color 0.3s ease 0.1s;
	text-align: center;
}
.home #main .doctorVoice a.btn:hover{
	background-color: rgba(0, 0, 0, 0.1);
}


/*トップ会社*/

.home #header .main_company {
    display: grid !important;
    grid-template-columns: repeat(3, 180px) !important;
    justify-content: center !important;
    gap: 24px 28px !important;
    max-width: 620px !important;
    margin: 20px auto 0 !important;
}

.home #header .main_company dl {
    display: block !important;
    width: 180px !important;
    height: 180px !important;
    margin: 0 !important;
    padding: 28px 10px !important;
    background-color: #0c8e62 !important;
    border-radius: 50% !important;
}

.home #header .main_company dl a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    color: #fff !important;
    text-align: center !important;
}

.home #header .main_company dt {
    font-size: 25px;
    padding: 10px 0;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.home #header .main_company dd {
    font-size: 25px;
    line-height: 1.3em;
}

/* --------------------------- トップニュース */
.home #header #newsTopics2{
	max-width: 1170px;
	margin: 30px auto 15px auto;
	background-color: rgb(255,255,255,0.75);
	background-color: rgba(255,255,255,0.75);
    padding: 15px;
}
.home #header #newsTopics2 h3{
	position: relative;
	margin-bottom: 10px;
	font-size:22px;
	font-size:2.2rem;
	letter-spacing: 0.2em;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: bold;
	line-height: 1;
	text-align: center;
	    color: #22282d;
}
/*.home #header #newsTopics2 h3:before{
	position: absolute;
	bottom: -20px;
	left: 0;
	right: 0;
	margin: 0 auto;
	content: " ";
	border-bottom: solid 1px #000;
	width: 15px;
}*/
.home #header #newsTopics2 a.btn{
	display: block;
	max-width: 270px;
	height: 60px;
	margin:25px auto;
	color: #000;
	letter-spacing: 0.1em;
	border: solid 1px #000;
	line-height: 60px;

	background-image: url(../img/arrow_black_right.png);

	background-repeat: no-repeat;
	background-size: 8px auto;
	background-position: 95% 50% ;
	transition: background-color 0.3s ease 0.1s;
	text-align: center;
}
.home #header #newsTopics2 a.btn:hover{
	background-color: rgba(0, 0, 0, 0.1);
}

#tab-box > div {
  display: none;
}
#tab-box > div.active {
  display: block;
}
.home .newsTTL li.active{
	width: 34%;
	background-color: transparent;
	border-bottom: solid 2px #0fae78;
}
.home .newsTTL li{
	transition: color 0.3s ease 0.1s;
}
.home .newsTTL li:hover{
	cursor: pointer;
	color: #0fae78;
}


/* --------------------------- ニュース＆トピックス */
.home #main #newsTopics{
	max-width: 1170px;
	margin:100px auto 50px auto;
}
.home #main #newsTopics h3{
	position: relative;
	margin-bottom: 45px;
	font-size:22px;
	font-size:2.2rem;
	letter-spacing: 0.2em;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: bold;
	line-height: 1;
	text-align: center;
}
.home #main #newsTopics h3:before{
	position: absolute;
	bottom: -20px;
	left: 0;
	right: 0;
	margin: 0 auto;
	content: " ";
	border-bottom: solid 1px #000;
	width: 15px;
}
.home #main #newsTopics a.btn{
	display: block;
	max-width: 270px;
	height: 60px;
	margin:25px auto;
	color: #000;
	letter-spacing: 0.1em;
	border: solid 1px #000;
	line-height: 60px;

	background-image: url(../img/arrow_black_right.png);

	background-repeat: no-repeat;
	background-size: 8px auto;
	background-position: 95% 50% ;
	transition: background-color 0.3s ease 0.1s;
	text-align: center;
}
.home #main #newsTopics a.btn:hover{
	background-color: rgba(0, 0, 0, 0.1);
}

#tab-box > div {
  display: none;
}
#tab-box > div.active {
  display: block;
}
.home .newsTTL li.active{
	width: 34%;
	background-color: transparent;
	border-bottom: solid 2px #0fae78;
}
.home .newsTTL li{
	transition: color 0.3s ease 0.1s;
}
.home .newsTTL li:hover{
	cursor: pointer;
	color: #0fae78;
}


/* Books Magazine */

#booksMagazine{
	font-size: 0;
}
#booksMagazine h3{
}
#booksMagazine h3{
	position: relative;
	margin-bottom: 90px;
	font-size:22px;
	font-size:2.2rem;
	letter-spacing: 0.2em;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: bold;
	line-height: 1;
	text-align: center;
}
#booksMagazine h3:before{
	position: absolute;
	bottom: -25px;
	left: 0;
	right: 0;
	margin: 0 auto;
	content: " ";
	border-bottom: solid 1px #000;
	width: 15px;
}
#booksMagazine .books,
#booksMagazine .magazine{
	display: inline-block;
	width: 50%;
	padding:50px 0px;
	font-size:10px;
	font-size:1.0rem;
	vertical-align: top;
}
#booksMagazine .books{
	padding-left:5%;
	background-color: #f5f5f5;
}
#booksMagazine .magazine{
	padding-right:5%;
	background-color: #fafafa;
}
#booksMagazine .carousel{
	position: relative;
	width: 85%;
	max-width: 540px;
	margin:0 auto;
	margin-bottom:20px;
}
#booksMagazine ul.bookList{
	margin-left: auto;
	margin-right: auto;
	list-style: none;
	font-size: 0;
}

#booksMagazine .bookList li {
	display: inline-block;
	max-width: 130px;
	height: 280px;
	margin: 0 25px;
	text-align: center;
	line-height: 1.8;
	font-size:10px;
	font-size:1.0rem;
}
#booksMagazine .bookList li:last-child {
	margin-right: 0px;
}
#booksMagazine .bookList li img{
	width: auto;
	margin-bottom:10px;
}
#booksMagazine .bookList li span{
	display: inline-block;
	margin-top:5px;
	padding:5px 7px ;
	background-color: #6b6b6b;
	color: #fff;
	font-weight: bold;
	letter-spacing: 0.01em;
	line-height: 1;
}
#booksMagazine .carousel .arrow li{
	position: absolute;
	top: 50%;
	margin-top:-17px;
	list-style: none;
}
#booksMagazine .carousel .arrow li.left{
	left: 0;
}
#booksMagazine .carousel .arrow li.right{
	right: 0px;
}
#booksMagazine .carousel .arrow li img{
	width: auto;
	height: 34px;
}

#booksMagazine a{
	color: #000;
}
#booksMagazine a.btn{
	display: block;
	max-width: 270px;
	height: 60px;
	margin:25px auto 0px auto;
	color: #000;
	font-size:16px;
	font-size:1.6rem;
	letter-spacing: 0.1em;
	border: solid 1px #000;
	line-height: 60px;

	background-image: url(../img/arrow_black_right.png);

	background-repeat: no-repeat;
	background-size: 8px auto;
	background-position: 95% 50% ;
	transition: background-color 0.3s ease 0.1s;
	text-align: center;
}
#booksMagazine a.btn:hover{
	background-color: rgba(255, 255, 255, 0.9);
}


/* ---------------------------------------------------------------------------- 

▼▼▼ ウィンドウサイズ1170px以下にのみ適用されるcss ▼▼▼

---------------------------------------------------------------------------- */
@media only screen and (max-width: 1170px) {
.home #header .copy{
    width: 800px;
}
.home #header .inquiryBox{
	position: absolute;
	width: 30%;
	max-width: 270px;
	height: auto;
	bottom: 10px;
	right: 10px;
	padding:20px 15px ;
	background-color: rgba(0, 0, 0, 0.5);
}

.home #main .success{
	margin-left: 5%;
	margin-right: 5%;
}

.home #main .doctorList{
	margin-left: 5%;
	margin-right: 5%;
}

.home #main #newsTopics{
	margin-left: 5%;
	margin-right: 5%;
}



#booksMagazine .books,
#booksMagazine .magazine{
	display: block;
	width: 100%;
}
#booksMagazine .books{
	padding-left:0%;
}
#booksMagazine .magazine{
	padding-right:0%;
}
#booksMagazine .carousel{
	max-width: 800px;
}
#booksMagazine .bookList {
	padding:10px;
}
#booksMagazine .bookList li {
	max-width: 28%;
	height: auto;
	margin-left: 2%;
	margin-right: 2%;
}
#booksMagazine .bookList li img{
	width: 100%;
	height: auto;
}



}



/* ---------------------------------------------------------------------------- 

▼▼▼ ウィンドウサイズ768px以下にのみ適用されるcss ▼▼▼

---------------------------------------------------------------------------- */

@media screen and (max-width: 768px){
.home #header{
	background-position: 15% 0%;
}
.spBox {
	position: absolute;
	width: 100%;
	height: 60%;
	top: 0;
	bottom: 50px;
	right: 0;
	left: 0;
	margin: auto 0;
}
.home #header {
    min-height: 890px;
}
.home #header .copy{
	position: static;
	width: 100%;
	height: auto;
	padding: 2% 3% 0 3%;
}
.home #header .copy h2{
	margin-bottom: 15px;
	font-size: 4.5vw;
	letter-spacing: 0.1em;
	line-height: 1.4;
}
.home #header .copy p{
	/*display: none;*/
	font-size:12px;
	font-size:1.2rem;
}
.home #header .main_company dl{
    width: 40vw;
    height: 40vw;
    margin: 2vw;
    padding: 2vw;
}
.home #header .main_company dt{
    font-size: 5vw;
    padding: 6vw 0 2vw;
}
.home #header .main_company dd{
	font-size: 3.5vw;
}


.home #header .copy a.btn{
	margin:0 auto;
}

.home #header .inquiryBox{
	display: block;
	position: static;
	width: 100%;
	max-width: 100%;
	height: auto;
	bottom: 0px;
	right: 0px;
	padding:0px 3%;
	background-color: transparent;
}
.home #header .inquiryBox h3{
	display: none;
}
.home #header .inquiryBox h3:before{
	display: none;
}
.home #header .inquiryBox .text{
	display: none;
}
.home #header .inquiryBox .btn{
	display: block;
	width: 100%;
	max-width: 320px;
	height: auto;
	margin:10px auto 0 auto;
	padding:10px 0;
	font-size:11px;
	font-size:1.1rem;
	letter-spacing: 0em;
}


.home #main .success{
	margin: 25px 0;
	padding: 80px 3% 50px 3%;
}

.home #main .doctorList{
	margin-left: 3%;
	margin-right: 3%;
}
.home #main .doctorVoice .tag ul{
	line-height: 1.8;
}

.home #main #newsTopics{
	margin-left: 3%;
	margin-right: 3%;
}
	
#booksMagazine ul.bookList .slick-arrow{
	overflow:hidden;
}



}

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

.home #header .scroll{
	display: none;
	padding-right: 3%;
	text-align: right;
}

}

.home #header {
    height: auto !important;
    min-height: 920px !important;
    overflow: visible !important;
}

.home #header .spBox,
.home #header .copy {
    height: auto !important;
    overflow: visible !important;
}

.home #header .copy h2 {
    position: relative !important;
    top: 35px !important;
    margin: 0 auto 35px !important;
    z-index: 2 !important;
}

.home #header .main_company {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    max-width: 860px !important;
    margin: 55px auto 25px !important;
}

.home #header .main_company dl {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 150px !important;
    height: 150px !important;
    padding: 12px !important;
    margin: 0 !important;
    background-color: #0c8e62 !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    flex: 0 0 150px !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

.home #header .main_company dl:nth-child(1),
.home #header .main_company dl:nth-child(2),
.home #header .main_company dl:nth-child(3),
.home #header .main_company dl:nth-child(4),
.home #header .main_company dl:nth-child(5),
.home #header .main_company dl:last-child {
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    float: none !important;
    clear: none !important;
}

.home #header .main_company dl a {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    color: #fff !important;
    text-align: center !important;
}

.home #header .main_company dt {
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif !important;
}

.home #header .main_company dd {
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.home #header .btn_jisseki {
    display: none !important;
}

/* トップのタイトル・丸グループ・NEWSをまとめて少し下げる */

.home #header .copy h2 {
    position: relative !important;
    top: 100px !important;
    margin-bottom: 100px !important;
}

.home #header .main_company {
    margin-top: 150px !important;
}

.home #header #newsTopics2 {
    margin-top: 70px !important;
}

#footer ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

#footer li {
    list-style: none;
}

.footer-company {
  text-align: center;
  margin-bottom: 30px;
}

.footer-address {
  display: flex;
  justify-content: center;
  gap: 80px;
  text-align: center;
}

.address-box {
  max-width: 400px;
}

#footerCorpinfo {
  padding: 60px 0;
}

.footer-address {
  display: flex;
  justify-content: center;
  gap: 100px;
}

ul.sns-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; /* スマホ対応 */
}

ul.sns-list li img {
  width: 200px;
  transition: 0.3s;
}

ul.sns-list li img:hover {
  transform: scale(1.05);
}

#footerBanner .banner ul.sns-list {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  list-style: none !important;
}

#footerBanner .banner ul.sns-list li {
  list-style: none !important;
}

#footerBanner .banner ul.sns-list li img {
  width: 180px !important;
  height: auto !important;
  display: block;
}

/* トップのタイトル・丸グループ・NEWSをまとめて少し下げる */

.home #header .copy h2 {
    position: relative !important;
    top: 100px !important;
    margin-bottom: 100px !important;
}

.home #header .main_company {
    margin-top: 120px !important;
}

.home #header #newsTopics2 {
    margin-top: 50px !important;
}

.home #header .copy {
  top: 70px !important;
  bottom: auto !important;
  height: auto !important;
}

#footerBanner .banner ul.sns-list {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  gap: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

#footerBanner .banner ul.sns-list li {
  display: inline-block !important;
  list-style: none !important;
}

#footerBanner .banner ul.sns-list li img {
  width: 180px !important;
  height: auto !important;
  display: block;
}

#footerBanner .banner {
  width: 100% !important;
}

#footerBanner .banner ul.sns-list {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 16px !important;
}

#footerBanner .banner ul.sns-list li {
  display: block !important;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#footerBanner .banner ul.sns-list li img {
  width: 190px !important;
  max-width: 190px !important;
  height: auto !important;
  display: block !important;
}

.keishoList ul {
  max-height: 400px;   /* 高さ調整（ここ自由に変えられる） */
  overflow-y: auto;    /* 縦スクロール */
  overflow-x: hidden;  /* 横は出さない */
}
/* フッター左下のリストを中央寄せ */
footer ul {
  text-align: center;
}

footer ul li {
  display: block;
  margin: 8px 0;
}

footer .wrap {
  text-align: center;
}

footer ul {
  display: inline-block;
  text-align: left;
}
#footerContact ul {
  display: flex;
  justify-content: center; /* 全体を中央に */
  gap: 80px;               /* 左右の間隔 */
  padding: 0;
  margin-top: 40px;
}

#footerContact ul li {
  list-style: none;
  width: 320px;           /* 左右の幅を揃える */
  text-align: center;     /* 中の文字も中央 */
}

/* 電話番号の見た目調整 */
#footerContact .number {
  line-height: 1.8;
}

/* ボタンを縦に揃える */
#footerContact .form .btn {
  display: block;
  margin: 10px auto;
  width: 100%;
  max-width: 260px;
}

#footerContact ul li.form {
  display: flex;
  flex-direction: column;
  align-items: center; /* ←これが核心 */
}
#footerContact {
  padding-top: 60px;   /* ←今より小さく */
  padding-bottom: 60px;
}
#footerContact .wrap {
  margin-top: -30px;
}

.shoukeiWrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.shoukeiBox {
  width: 48%;
}

@media screen and (max-width: 768px) {
  .shoukeiWrap {
    display: block;
  }

  .shoukeiBox {
    width: 100%;
    margin-bottom: 30px;
  }
}

.shoukeiBox p {
  line-height: 1.2;
}

.shoukeiListWrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}

.shoukeiListBox {
  width: 48%;
}

.shoukeiListBox ul {
  list-style: none;
  padding: 0;
}

.shoukeiListBox li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.shoukeiListWrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.shoukeiListBox {
  width: 48%;
}

.shoukeiListBox ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shoukeiListBox li {
  line-height: 1.6;
  margin-bottom: 10px;
}

.shoukeiListWrap {
  display: flex !important;
  justify-content: space-between;
  gap: 40px;
}

.shoukeiListBox {
  width: 48% !important;
}

.taxService h3 {
  margin-bottom: 0;
}

.home #header .main_company dl {
  transition: all 0.3s ease;
  cursor: pointer;
}

.home #header .main_company dl:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.25);
  filter: brightness(1.01);
}