@charset "UTF-8"

/*
	Theme Name: unitedstars
*/


/*base*/

*,*::before,*::after,li{
	box-sizing: border-box!important;
}

html,body {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight:400;
	margin:0;
	padding:0;
	position: relative;
}

ul:not(.note){margin:0; padding:0; list-style-type: none;}
p{font-size:16px; line-height:1.6; color:var(--blk); margin:1em 0;font-weight: 400;}
p,li{font-size:16px;}
img {max-width: 100%;}
a,a:link,a:visited{text-decoration: none;}
a:hover {opacity:0.6; transition: 0.3s;}


h2,h3,h4,h5,h2 span,h3 span,h4 span,h5 span{font-weight:500;}

.pconly{display:none;}
.sponly{display:block;}

@media only screen and (min-width: 700px){
	.pconly{display:block;}
	.sponly{display:none;}
}

span.br{display:inline-block;}

.br-sp {display: block;}
.br-pc {display: none;}

@media screen and (min-width: 700px){
.br-sp {display: none;}
.br-pc {display: block;}
}

.center{text-align:center;}
.left{text-align:left;}
.right{text-align:right;}

@media (max-width: 700px){
.center-sp{text-align:center;}
}

.flex,.flex-sp{
	display:flex;
	justify-content: center;
	align-content: center;
}
@media (max-width: 700px){
	.flex:not(.reverse){flex-direction: column;}
	.flex.reverse{flex-direction: column-reverse;}
	}

.note{
	color: var(--blk);
	margin:0; 
	padding:1rem 0;
	text-align: left;
	font-size:1rem;
	list-style-type: none;
}
.note li{
	position: relative;
	text-indent: -1em;
	padding-left: 1em;
}
.note>li:before{
	content:"※";
	left:0;
}


:root{
	--blue:#3c758e;
	--lblue:#dfe6ea;
	--pink:#ea345f;
	--blk:#000;
	--size52:clamp(2.25rem, 2.424vw + 1.765rem, 3.25rem);
	--size40:clamp(2rem, 1.786vw + 1.643rem, 2.5rem);
	--size42:clamp(1.375rem, 3.333vw + 0.583rem, 2.625rem);
	--size36:clamp(1.25rem, 1.818vw + 0.886rem, 2.25rem);
	--size32:clamp(1.375rem, 1.136vw + 1.148rem, 2rem);
	--size24:clamp(1.125rem, 0.682vw + 0.989rem, 1.5rem);
	--size22:clamp(1.125rem, 0.455vw + 1.034rem, 1.375rem);
}



/*Contactform用調整*/
.wpcf7 p,.wpcf7,.wpcf7 select, .wpcf7 .wpcf7-list-item-label{font-size:16px;}

.wpcf7{
    margin-top: 2rem;
}

.wpcf7-form-control.wpcf7-text{
	width: 100%;
	height: 30px;
	margin: 0.5rem 0 1rem;
	border: solid 2px #000;
}

.wpcf7-form-control.wpcf7-textarea{
	width: 100%;
	margin: 0.5rem 0 1rem;
	border: solid 2px #000;
}

.submit{
	margin: 2rem 0;
	text-align: center;
}

.wpcf7-submit{
	padding: 6px 46px 6px 40px;
	background: #fff;
	font-size: 18px;
	cursor: pointer;
	transition: 0.3s;
}

.submit p{
	display: inline-block;
	position: relative;
}



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


/*レイアウト*/

body:not(.home){
	display:flex;
	flex-flow:column;
	min-height:100vh;
}

main{overflow: hidden;}

main:not(.home main){
	flex:1;
	margin-top: 80px;
}


section .inner{
	max-width:980px;
	padding:80px 20px;
	margin:0 auto;
	box-sizing: border-box;
}

@media (max-width: 700px){
	section .inner{padding:60px 20px;}
}

.archive section .inner,.single section .inner{
	padding:60px 20px 80px 20px;
}

@media (max-width: 700px){
	.archive section .inner,.single section .inner{
	padding:30px 20px 60px 20px;}
}



/*ヘッダー*/

.header{
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 10px;
	z-index: 99;
	display:flex;
	justify-content: space-between;
	align-items: center;
	transition: 0.5s;
}

.header:not(.home .header){
	background:rgba(60 ,117 ,142, 0.8);
}

header.scroll-nav{
	background:rgba(60 ,117 ,142, 0.8);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}


.h-logo{transition: 0.5s;}

.h-logo img{
	max-width: 90px;
	margin-left: 10px;
	vertical-align:bottom;
	transition: 0.5s;
}

header.scroll-nav .h-logo img{max-width: 60px;}

.h-menu{
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 18px;
}


.menu-btn {
	position: relative;
	display: flex;
	height: 50px;
	width: 50px;
	border-radius: 50%;
	margin-left: 10px;
	justify-content: center;
	align-items: center;
	z-index: 90;
	transition: 0.5s;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 28px;
    border-radius: 3px;
    background-color: #fff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 10px;
}
.menu-btn span:after {
    top: 10px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

.menu-btn:hover,.menu-btn:active,.menu-btn:focus{background-color:rgba(0,0,0,0.3);}

#menu-btn-check:checked ~ .menu-btn{background-color:rgba(0,0,0,0.3);}

.menu-btn p{
    font-size: 12px;
    color: #fff;
	padding-top:36px;
}

.menu-inner {
	width: 80%;
	height: 100%;
	position: fixed;
	top: 0;
	right: -100%;
	z-index: 80;
	background-color: var(--blk);
	transition: all 0.5s;
}

.menu-inner ul {
    padding: 70px 30px 30px;
}
.menu-inner ul li {
    list-style: none;
}
.menu-inner ul li a {
	display: block;
	width: 100%;
	font-size: 18px;
	box-sizing: border-box;
	color:#ffffff;
	text-decoration: none;
	padding: 15px 10px;
	margin: 6px 0;
	position: relative;
}
.menu-inner ul li a::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 10px;
    top: 21px;
}

.menu-inner ul li a:hover{
	background-color: rgba(0,0,0,0.3);
}

#menu-btn-check:checked ~ .menu-inner {
    right: 0;
}

.menu-inner ul li span{
	font-size:0.8rem;
	padding-left:10px;
}





/*tt*/

.tt{
	font-family: "Outfit", sans-serif;
	font-weight:bold;
}


/*btn*/

.btn a{
	text-align: center;
	display: inline-block;
	margin: 0 auto;
	border: 2px solid #000;
	position: relative;
	color: #000;
	padding: 10px 50px 10px 46px;
	margin-top: 10px;
	font-size: 16px;
	font-family: "Outfit", sans-serif;
	font-weight:600;
	transition: 0.3s;
}

.btn a:hover,.nav-links a:hover,.wpcf7-submit:hover{background: #a6bfcd;}

.btn.pink a{
	color:var(--pink);
	border: 2px solid var(--pink);
}

.btn a::after,.submit p::after{
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 20px;
	width: 8px;
	height: 8px;
	margin: auto;
	border-top: 2px solid #000;
	border-right: 2px solid #000;
	transform: rotate(45deg);
}

.submit p::after{right: 90px;}

.btn.pink a::after{
	border-top: 2px solid var(--pink);
	border-right: 2px solid var(--pink);
}

.btn.pink a:hover{background:#ffeaf2;}

.two-btn.flex{
	justify-content: center;
	gap: 30px;
}




/*mv*/

#mv{position: relative;}

#mv .sub{position:absolute;}


/*CTA*/

.cta{
	background: var(--lblue);
	position: relative;
}

.cta .tt{
	position: absolute;
	font-size: var(--size52);
	margin: auto;
	left: 0;
	right: 0;
	top: -30px;
}

.cta p{
	text-align: center;
	margin-bottom: 3rem;
	line-height: 2;
}

@media only screen and (max-width: 700px) {
	.cta p{text-align:left;}
}



/*フッター*/

footer{background: var(--blue);}

.d-footer{
	padding: 2rem;
	justify-content: flex-start;
}

.d-footer>.flex{
	width: 70%;
	justify-content: flex-start;
}

.d-footer ul li{
	margin-bottom: 0.5rem;
}

.d-footer p,.d-footer a{color:#fff;}

.d-footer ul li a{
    padding-bottom: 2px;
    background-image: linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0 1px;
    transition: background-size 0.3s;

}

.d-footer ul li a:hover {
    background-position: bottom left;
    background-size: 100% 1px;
}


.f-logo img{
	width: 120px;
	margin-right: 40px;
}

a.f-logo{display: inline-block;}

p.copy{
	font-size:14px;
	color:#fff;
	padding: 0.8rem 0 1.4rem;
	margin: 0 2rem;
	border-top: solid 1px #fff;
}

@media (max-width: 700px){
	.d-footer{align-items: flex-start;}

	.d-footer>.flex{width:100%;}

	.d-footer>div:first-child{margin-bottom:1rem;}

	.btn.right{text-align:center;}

}





/*下層共通*/

.page:not(.home) h1{
	font-size: var(--size52);
	margin-top: 0;
}


/*ぱんくず*/

.bread{padding-bottom: 3rem;}

.bread ul{list-style: none;}

.bread li{
	display: inline;
	font-size:14px;
	color:#666;
	font-weight: normal;
}

.bread li a{
    color: inherit;
    text-decoration: none;
  }
.bread li + li:before{
    content: ">";
    margin:.5em;
}

.bread li:last-child{color:var(--blk);}



/*カスタム投稿_single　＋　インフォメーション一覧*/

.info-detail .post-head.flex{
	justify-content: space-between;
}

.post-img{
	width:60%;
	margin-bottom: 2rem;
}

@media only screen and (max-width: 700px) {
	.post-img{width:100%;}
}

.post-img img{
	max-height: 400px;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.post-tt .tt{font-size: var(--size42);}

.post-tt .data,time{
    font-family: "Outfit", sans-serif;
    font-weight: bold;
    text-align: right;
    font-size: var(--size22);
}

.post-tt .data{margin-top: .5rem;}

@media only screen and (max-width: 700px) {
	.post-tt .data{text-align:left;}
}

time{font-size:18px;}

.post-txt h1{
	font-size: var(--size32);
	color: var(--blue);
	padding-bottom: .5rem;
	border-bottom: solid 2px #000;
}

.post-txt .cat{margin:3rem 0;}

.cat a,.archive ul.cat li{
	background: #eee;
	color: #666;
	padding: 5px 10px;
}

ul.cat{
	display: flex;
	gap: 10px;
}

ul.cat li{
	display:inline-block;
	font-size: 13px;
	padding:2px 4px 4px;
}

.info-list .flex,.info-list .flex-sp{
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

@media only screen and (max-width: 700px) {
	.info-list .flex{flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	}
}

.info-list .flex{
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: solid 2px #000;
	position: relative;
}

.info-list .flex::after{
	content: "";
	position: absolute;
	bottom: 2px;
	right: -10px;
	width: 20px;
	height: 20px;
	margin: auto;
	border-bottom: 2px solid #000;
	transform: rotate(45deg);
}

.info-tt{max-width: 60%;}

@media only screen and (max-width: 700px) {
	.info-tt{max-width: 100%;}
}


.archive .contents-header h2{
	font-size:var(--size52);
	margin-top: 1rem;
}


/*ページネーション*/

.nav-links{
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 3rem;
}

.nav-links .prev,.nav-links .next{
	font-family: "Outfit", sans-serif;
	border: solid 2px #000;
	padding: 4px 8px;
	color: #000;
}

.nav-links .page-numbers:not(.prev,.next){
	padding: 4px 12px;
	background: var(--lblue);
	color: #000;
}

.nav-links .page-numbers.current{
	padding: 4px 12px;
	background:none;
}



/*事業案内、各事業ページ*/

.service .bread{padding-bottom:0;}

.service .bread .inner{padding: 60px 20px 30px 20px;}

.service-header{
	position: relative;
	margin-bottom:3rem;
}

.service-header h1{
	max-width: 980px;
	margin: 0 auto 1rem;
	padding: 0 20px;
}

.service-header .flex{
	justify-content: flex-start;
	max-width: 980px;
	margin: 0 auto;
	padding: 0 20px;
}

ul.service-menu{
    border-left: solid 2px #000;
    padding-left: 1rem;
}

.service-menu li{
	margin-bottom: 12px;
}

.service-menu li a{
	color:#000;
	padding-bottom: 2px;
	background-image: linear-gradient(var(--blue), var(--blue));
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: 0 1px;
	transition: background-size 0.3s;

}

.service-menu li a:hover {
	color:var(--blue);
	background-position: bottom left;
	background-size: 100% 1px;
}

.service-menu li.current a{
	color:var(--blue);
}

.service-header-txt{
	position: absolute;
	width: 60%;
	background: var(--lblue);
	padding: 2rem;
	right: 0;
	top: 90px;
}


@media only screen and (max-width: 700px) {
	.service-header-txt{
	position: relative;
	width: 100%;
	box-sizing: border-box;
	top:0;
	margin-bottom: 2rem;
	}
}

.service .bnr{
	position: relative;
	text-align: center;
}

.service .bnr img{
	max-height: 500px;
	width: 100%;
	object-fit: cover;
}

.service .bnr .tt-wrap{
	position: absolute;
	bottom: -90px;
	width: 100%;
	max-width: 980px;
	margin: auto;
	left: 0;
	right:0;
	text-align: left;
	padding: 0 20px;
	box-sizing: border-box;
}

@media only screen and (max-width: 700px) {
	.service .bnr .tt-wrap{bottom: -72px;}
}


.service .bnr h2{
	font-size: var(--size52);
	font-weight: bold;
	color:var(--blue);
	text-shadow: 0 0 14px #fff;
}

.service .bnr h2 span{
	font-size:16px;
	display: block;
	color: #000;
}

.service-detail h3.pink{
	color:var(--pink);
	margin: 2rem 0;
}

.service-detail .flex{
	margin-top: 3rem;
	gap: 40px;
}

.service-detail .flex h3{
	color:var(--blue);
	margin-top: 0;
}

.service-detail .flex .center{width: 40%;}

.service-detail .flex li:not(.center){width:60%;}

@media only screen and (max-width: 700px) {
	.service-detail .flex .center{width: 100%;}
	.service-detail .flex li:not(.center){width:100%;}
}

.service-detail .flex .center img{
	width: 100%;
	max-width: 400px;
}







/*固定ページ*/
.header-wrap{
	position: relative;
}
.page_thumbnail{
	display: block;
	height: 400px;
	width:100%;
	margin:0 auto;
	background-size:cover;
	background-position:left;
}

.header-wrap h2{
	position: absolute;
	top: 50%;
	left: 3em;
}






/*私たちについて*/

#about{position:relative;}

#about .bgimg1{
	position: absolute;
	z-index: -1;
	width: 60%;
	max-width:340px;
	opacity: 0.3;
	top: -30px;
	left: -40px;
}

#about .bgimg2{
	position: absolute;
	bottom: -20px;
	right: -20px;
	opacity: 0.3;
	width: 40%;
	max-width: 240px;
}

#about .inner{
	max-width: 800px;
}

#about p{
	line-height: 2;
}


table.tbl-1 {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	color:var(--blk);
	margin: 3rem 0;
}

.tbl-1 tr {
	table-layout: fixed;
	display: flex;
	position: relative;
	border-bottom: 2px dotted var(--dbrwn);
}

.tbl-1 th {
	color: var(--dbrwn);
	text-align:left;
	font-weight: normal;
	width:20%;
}

.tbl-1 th,.tbl-1 td{
	padding: 16px 0 18px;
	line-height: 1;
}

.tbl-1 th,.tbl-1 td{margin: 0 0 -1px;}

@media only screen and (max-width: 700px) {
	.tbl-1 tr{flex-direction:column;}
	.tbl-1 th,.tbl-1 td {display: block;}
	.tbl-1 th {width:100%;}
	.tbl-1 td{padding-top: 0;}
}



/*404エラー*/

#error h2{
	font-size: var(--size36);
	color: var(--dbrwn);
	border-bottom: 2px dotted var(--dbrwn);
}


