@charset "UTF-8";

/*
Theme Name: 森猫堂
*/

/*全体
--------------------------------------------------------------------------*/
body {
	margin: 0;
	padding: 0;
	COLOR: #111;
	FONT-SIZE:20px;
font-family: "Noto Serif JP", serif;
	font-weight: 400;
	LINE-HEIGHT: 150%;
	text-align: center;
	background: #eee;
}

/*paddingとborderをwidthに含める*/
* {	
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
  }

#con{
    width:100%;
max-width: 1920px;
	height:auto;
	margin:0 auto;
	padding:0;
	position:relative;
	text-align: center;
    background: #fff;
}

/*page-top用*/
.clearfix:after{
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
	font-size: 0;
	line-height:0;
}

img{
	border:0;
}
@media screen and (max-width:1280px){
img{
max-width: 100%;
height: auto;
width :auto;
}
}

a:link,a:visited{
	outline:0;
	color:#406ec8;
	font-weight: 500;
}

a:hover{
	outline:0;
	color: #ba9434;
}

a:hover img {
opacity: 0.8;
  -ms-filter: "alpha(opacity=80)";
}

br.br1440,br.br1280,br.br1080,br.br835,br.br640,br.br480,br.br414{
display:none;
}
@media only screen and (max-width: 1440px) {
br.br1440{
display:inherit;
}
br.nobr1440{
display:none;
}
}
@media only screen and (max-width: 1280px) {
br.br1280{
display:inherit;
}
br.nobr1280{
display:none;
}
}
@media only screen and (max-width: 1080px) {
br.br1080{
display:inherit;
}
br.nobr1080{
display:none;
}
}
@media only screen and (max-width: 835px) {
br.br835{
display:inherit;
}
br.nobr835{
display:none;
}
}
@media only screen and (max-width: 640px) {
br.br640{
display:inherit;
}
br.nobr640{
display:none;
}
}
@media only screen and (max-width: 480px) {
br.br480{
display:inherit;
}
br.nobr480{
display:none;
}
}
@media only screen and (max-width: 414px) {
br.br414{
display:inherit;
}
br.nobr414{
display:none;
}
}

/*ヘッダ
--------------------------------------------------------------------------*/
header{
width: 100%;
max-width: 1920px;
height: auto;
margin: 0 auto;
padding: 50px 0;
display: flex;
justify-content:space-between;
align-items: center;
position: fixed;
top:0;
left: 0;
left: 50%;
transform: translateX(-50%);
z-index: 9999;
transition: all 0.3s ease;
}
header img{
max-width:300px;
margin: 0 0 0 50px;
}
@media only screen and (max-width: 1280px) {
header{
padding: 20px 0;
}
}
@media only screen and (max-width: 835px) {
header img{
max-width:200px;
margin: 0 0 0 30px;
}
}
@media only screen and (max-width: 640px) {
header img{
max-width:180px;
margin: 0 0 0 20px;
}
}
@media only screen and (max-width: 414px) {
header img{
max-width:160px;
margin: 0 0 0 10px;
}
}

/*==================================================
 スクロール時に付与されるクラス
===================================================*/
header.is-scrolled {
  padding: 0;
  background: #000;
}

/* スクロール時のロゴ調整 */
header.is-scrolled img {
  max-width: 200px;
  margin: 10px 0 10px 50px;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 835px) {
header.is-scrolled img {
  margin: 10px 0 10px 30px;
}
}
@media only screen and (max-width: 640px) {
header.is-scrolled img {
max-width: 180px;
  margin: 10px 0 10px 20px;
}
}
@media only screen and (max-width: 414px) {
header.is-scrolled img {
max-width: 160px;
margin: 10px 0 10px 10px;
}
}

/* ★修正：スクロールしたときに menu-box の透過を 0.5 にする */
header.is-scrolled #menu-box {
  margin: 0;
  background: linear-gradient(-90deg, rgba(255, 255, 255, 0.4) 55%, rgba(0, 0, 0, 0.4));
  transition: all 0.3s ease;
}

/* スクロール時の文字色（白） */
header.is-scrolled menu li a:link,
header.is-scrolled menu li a:visited {
  color: #fff;
  transition: color 0.3s ease;
}

/* スクロール時の境界線（白） */
header.is-scrolled menu li span {
  border-top: 1px solid #fff;
  color: #fff;
  transition: all 0.3s ease;
}

#fv{
width: 100%;
height: auto;
margin: 0;
padding: 250px 55% 50px 50px;
background: url(https://www.fifty-one-51.com/image/fv-back.webp) no-repeat left top/70% 100%,url(https://www.fifty-one-51.com/image/fv.webp) no-repeat right top/contain,#000;
text-align: left;
}
@media only screen and (max-width: 1600px) {
#fv{
padding: 250px 50% 50px 50px;
}
}
@media only screen and (max-width: 1440px) {
#fv{
padding: 250px 45% 50px 50px;
}
}
@media only screen and (max-width: 1280px) {
#fv{
padding: 200px 35% 50px 50px;
}
}
@media only screen and (max-width: 1080px) {
#fv{
padding: 160px 15% 50px 30px;
}
}
@media only screen and (max-width: 835px) {
#fv{
padding: 110px 5% 50px 30px;
background: url(https://www.fifty-one-51.com/image/fv-back2.webp) no-repeat left top/70% 100%,url(https://www.fifty-one-51.com/image/fv.webp) no-repeat right top/cover,#000;
}
}
@media only screen and (max-width: 640px) {
#fv{
padding: 100px 5% 40px 20px;
background: url(https://www.fifty-one-51.com/image/fv-back2.webp) no-repeat left top/95% 100%,url(https://www.fifty-one-51.com/image/fv.webp) no-repeat right top/cover,#000;
}
}
@media only screen and (max-width: 414px) {
#fv{
padding: 100px 5% 40px 10px;
}
}

#fv h1{
width: 100%;
height: auto;
margin: 0 0 40px;
padding: 0;
text-align: left;
font-size: 80px;
line-height: 130%;
color: #fff;
font-weight: 500;
}
#fv p{
color: #fff;
font-size: 20px;
line-height: 150%;
margin: 0 0 30px;
text-align: left;
}
@media only screen and (max-width: 1080px) {
#fv h1{
margin: 0 0 30px;
font-size: 70px;
}
#fv p{
font-size: 18px;
margin: 0 0 30px;
}
}
@media only screen and (max-width: 835px) {
#fv h1{
line-height: 130%;
font-size: 50px;
}
#fv p{
font-size: 16px;
margin: 0 0 20px;
}
}
@media only screen and (max-width: 640px) {
#fv h1{
font-size: 45px;
}
}
@media only screen and (max-width: 480px) {
#fv h1{
font-size: 40px;
}
}

#fv-box{
display: flex;
justify-content: flex-start;
align-items: center;
}
#fv-box a:link,#fv-box a:visited{
display: block;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px,#b89a5d;
text-decoration: none;
color: #fff;
padding: 15px 70px 15px 30px;
font-size: 20px;
}
#fv-box a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px,#d0b47a;
}
#fv-box p {
margin: 0 40px 0 0;
}
@media only screen and (max-width: 1080px) {
#fv-box a:link,#fv-box a:visited{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 12px 70px 12px 30px;
font-size:18px;
}
#fv-box a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
#fv-box p {
margin: 0 20px 0 0;
}
}
@media only screen and (max-width: 640px) {
#fv-box{
flex-direction: column;
align-items: flex-start;
}
#fv-box p {
margin: 0 0 20px;
}
}

#menu-box {
  width: 70%;
  height: auto;
  margin:10px 0 0;
  padding: 20px 50px 10px 20%;
background: linear-gradient(-90deg, rgba(255, 255, 255, 0.7) 55%, rgba(0, 0, 0, 0.7));
}
@media only screen and (max-width: 1600px) {
#menu-box {
  width: 75%;
}
}

menu {
  clear: both;
  float: left;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

menu ul {
  clear: both;
  float: left;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
menu li {
  list-style-type: none;
  margin: 0 0 0 50px;
  padding: 0;
  text-align: center;
  font-size: 20px;
  line-height: 200%;
  color: #000;
  font-weight: 500;
}
menu li span{
font-size: 16px;
line-height: 100%;
font-weight: 300;
border-top:1px solid #000;
}
menu li a:link,
menu li a:visited {
  height: auto;
  text-decoration: none;
  color: #000;
  line-height: 100%;
}
menu li a:hover {
  text-decoration: underline;
}
menu img{
display: none;
}
@media only screen and (max-width: 1600px) {
menu li {
  margin: 0 0 0 40px;
  font-size: 18px;
}
}
@media only screen and (max-width: 1440px) {
menu li {
  margin: 0 0 0 25px;
  font-size: 17px;
}
}
@media only screen and (max-width:1280px) {
#menu-box{
clear: both;
float: none;
width: 100%;
height: auto;
margin: 0;
padding: 0;
position: fixed;
top:0;
left:0;
z-index: 9999;
}
menu{
clear: both;
float: left;
width: 100%;
height: auto;
height: 100vh;
margin: 0;
padding: 0;
text-align: center;
position: fixed;
top: 0;
background: rgba(0,0,0,0.7);
}
menu ul{
display:inherit;
clear: both;
float: left;
width: 100%;
height: auto;
margin: -15px 0 0;
padding: 0;
text-align: center;
flex-direction: column;
}
menu li{
display: block;
border-top:1px solid #fff;
padding: 25px 0 5px;
margin: 15px 0 0;
line-height: 200%;
}
menu li:last-of-type{
border-bottom:1px solid #fff;
padding: 25px 0 15px;
margin: 15px 0 30px;
}
menu li span{
font-size: 14px;
line-height: 200%;
border-top:1px solid #fff;
}
menu li a:link,menu li a:visited{
display: block;
text-decoration: none;
color: #fff;
padding:0;
text-align: center;
line-height: 100%;
font-size: 17px;
}
menu li a:hover{
text-decoration: underline;
}
menu img{
display: inherit;
max-width: 250px;
}
@media only screen and (max-width: 640px) {
menu li{
padding: 20px 0 5px;
}
menu img{
max-width: 200px;
}
}
@media only screen and (max-width: 480px) {
menu li{
padding: 15px 0 0px;
}
menu img{
max-width: 150px;
}
}

/*==================================================
　5-2-4 MENUがCLOSEに
===================================*/

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn4{
float: right;
  position: fixed;/*ボタン内側の基点となるためrelativeを指定*/
  background:#b89a5d;
  cursor: pointer;
    width: 50px;
    height:50px;
  border-radius: 5px;
  top:10px;
  right:10px;
  z-index: 999;
  border: 2px solid #fff;
}
/*ボタン内側*/
.openbtn4 span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 13px;
    height: 2px;
    border-radius: 5px;
  background: #fff;
    width: 45%;
  }
.openbtn4 span:nth-of-type(1) {
  top:11px; 
}
.openbtn4 span:nth-of-type(2) {
  top:17px;
}
.openbtn4 span:nth-of-type(3) {
  top:23px;
}
.openbtn4 span:nth-of-type(3)::after {
  content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top:0px;
  left:-5px;
  color: #fff;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-family: "メイリオ", Osaka, "ヒラギノ丸ゴ Pro W4", "ＭＳ Ｐゴシック";
}
@media only screen and (max-width: 640px) {
.openbtn4 span:nth-of-type(3)::after {
  content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top:0px;
  left:-5px;
  color: #fff;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-family: "メイリオ", Osaka, "ヒラギノ丸ゴ Pro W4", "ＭＳ Ｐゴシック";
}
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn4.active span:nth-of-type(1) {
    top: 12px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}
.openbtn4.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn4.active span:nth-of-type(3){
    top: 24px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn4.active span:nth-of-type(3)::after {
  content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
  top:-1px;
  left:-0px;
  font-size: 0.8rem;
  font-family: "メイリオ", Osaka, "ヒラギノ丸ゴ Pro W4", "ＭＳ Ｐゴシック";
}
/*.doneクラスがついたヘッダー*/
.dnone {
display: none;
}
/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/
.dnone.panelactive {
display: inherit;
}
}

#sp-menu{
display: none;
}
@media only screen and (max-width: 1280px) {
#sp-menu {
width: 80%;
height: auto;
margin: 30px auto 0;
padding: 0;
display: flex;
justify-content: space-between;
gap: 10px;
}
#sp-menu a {
display: flex;
align-items: center;
justify-content: center;
width: 48%;
background: #fff;
text-decoration: none;
color: #000;
padding: 5px 0;
border-radius: 5px;
font-size: 16px;
line-height: 100%;
}
#sp-menu a:last-of-type {
background: #06c755;
color: #fff;
}
menu #sp-menu img {
display: block;
max-width: 60px;
height: auto;
margin: 0 8px 0 0;
}
}
@media only screen and (max-width: 640px) {
#sp-menu {
width: 90%;
}
}
@media only screen and (max-width: 414px) {
menu #sp-menu img {
max-width: 50px;
}
}

/*メイン
--------------------------------------------------------------------------*/
main{
width: 100%;
height: auto;
margin: 0;
padding: 80px 0 0;
}
main.sub-page{
padding: 80px 15% 50px;
}
@media only screen and (max-width: 1280px) {
main.sub-page{
padding: 80px 10% 50px;
}
}
@media only screen and (max-width: 1080px) {
main{
padding: 60px 0 0;
}
main.sub-page{
padding: 60px 5% 30px;
}
}
@media only screen and (max-width: 640px) {
main{
padding: 50px 0 0;
}
main.sub-page{
padding: 50px 5% 20px;
}
}
@media only screen and (max-width: 414px) {
main{
padding: 40px 0 0;
}
main.sub-page{
padding: 40px 5% 10px;
}
}

main p{
font-size: 20px;
line-height: 180%;
margin: 0 0 40px;
text-align: left;
}
@media only screen and (max-width: 1080px) {
main p{
font-size: 19px;
}
}
@media only screen and (max-width: 835px) {
main p{
font-size: 18px;
}
}
@media only screen and (max-width: 640px) {
main p{
font-size: 17px;
}
}
@media only screen and (max-width: 480px) {
main p{
font-size: 16px;
margin: 0 0 30px;
text-align: justify;
}
}

#top-ser{
width: 100%;
height: auto;
margin: 0 0 80px;
padding: 0 5%;
}
#top-ser h2{
width: 100%;
height: auto;
margin: 0 0 30px;
padding: 0;
text-align: center;
line-height: 130%;
font-size: 50px;
font-weight: 300;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 40px/40% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 40px/40% 1px;
}
#top-ser h2 span{
font-size: 20px;
}
#top-ser img{
max-width: 20%;
}
@media only screen and (max-width: 1280px) {
#top-ser h2{
font-size:45px;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 35px/35% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 35px/35% 1px;
}
#top-ser img{
max-width: 30%;
}
}
@media only screen and (max-width: 1080px) {
#top-ser{
margin: 0 0 50px;
}
#top-ser h2{
font-size:40px;
line-height: 110%;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 25px/35% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 25px/35% 1px;
}
#top-ser h2 span{
font-size: 16px;
}
}
@media only screen and (max-width: 835px) {
#top-ser h2{
font-size:35px;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 20px/30% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 20px/30% 1px;
}
#top-ser img{
max-width: 40%;
}
}
@media only screen and (max-width: 640px) {
#top-ser h2{
margin: 0 0 10px;
}
#top-ser img{
max-width: 50%;
}
}
@media only screen and (max-width: 480px) {
#top-ser h2{
font-size:30px;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 20px/25% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 20px/25% 1px;
}
}

#top-ser-area{
width: 100%;
height: auto;
margin: 0 0 80px;
padding: 0;
display: flex;
justify-content:center;
}
.top-ser-box{
width: 46%;
background: url(https://www.fifty-one-51.com/image/top-ser1no.png) no-repeat 30px 30px,url(https://www.fifty-one-51.com/image/top-ser1.webp) no-repeat right top/contain,#000;
padding: 140px 30px 40px;
margin: 0 2%;
}
.top-ser-box:last-of-type{
background: url(https://www.fifty-one-51.com/image/top-ser2no.png) no-repeat 30px 30px,url(https://www.fifty-one-51.com/image/top-ser2.webp) no-repeat right top/contain,#000;
}
.top-ser-box img{
display: none;
}
@media only screen and (max-width: 1600px) {
.top-ser-box{
width: 48%;
background: url(https://www.fifty-one-51.com/image/top-ser1no.png) no-repeat 30px 30px/90px,url(https://www.fifty-one-51.com/image/top-ser1.webp) no-repeat right top/cover,#000;
padding: 120px 30px 40px;
margin: 0 1%;
}
.top-ser-box:last-of-type{
background: url(https://www.fifty-one-51.com/image/top-ser2no.png) no-repeat 30px 30px/90px,url(https://www.fifty-one-51.com/image/top-ser2.webp) no-repeat right top/cover,#000;
}
}
@media only screen and (max-width: 1440px) {
.top-ser-box{
width: 48%;
background: url(https://www.fifty-one-51.com/image/top-ser1no.png) no-repeat 30px 30px/90px,url(https://www.fifty-one-51.com/image/top-ser1.webp) no-repeat 70px top/cover,#000;
padding: 120px 30px 40px;
margin: 0 1%;
}
.top-ser-box:last-of-type{
background: url(https://www.fifty-one-51.com/image/top-ser2no.png) no-repeat 30px 30px/90px,url(https://www.fifty-one-51.com/image/top-ser2.webp) no-repeat 40px top/cover,#000;
}
}
@media only screen and (max-width: 1280px) {
#top-ser-area{
flex-direction: column;
}
.top-ser-box{
width: 100%;
background: url(https://www.fifty-one-51.com/image/top-ser1no.png) no-repeat 30px 30px/90px,url(https://www.fifty-one-51.com/image/top-ser1.webp) no-repeat right top/contain,#000;
padding: 120px 30px 40px;
margin: 0 0 40px;
}
.top-ser-box:last-of-type{
background: url(https://www.fifty-one-51.com/image/top-ser2no.png) no-repeat 30px 30px/90px,url(https://www.fifty-one-51.com/image/top-ser2.webp) no-repeat right top/contain,#000;
}
}
@media only screen and (max-width: 835px) {
#top-ser-area{
margin: 0 0 50px;
}
.top-ser-box{
width: 100%;
background: url(https://www.fifty-one-51.com/image/top-ser1no.png) no-repeat 20px 20px/80px,url(https://www.fifty-one-51.com/image/top-ser1.webp) no-repeat 50px top/cover,#000;
padding: 100px 20px 30px;
margin: 0 0 40px;
}
.top-ser-box:last-of-type{
background: url(https://www.fifty-one-51.com/image/top-ser2no.png) no-repeat 20px 20px/80px,url(https://www.fifty-one-51.com/image/top-ser2.webp) no-repeat 50px top/cover,#000;
}
}
@media only screen and (max-width: 640px) {
.top-ser-box{
width: 100%;
background: none;
background: url(https://www.fifty-one-51.com/image/top-ser1no.png) no-repeat 20px 20px/60px,#000;
padding: 80px 20px 20px;
margin: 0 0 40px;
}
.top-ser-box:last-of-type{
background: none;
background: url(https://www.fifty-one-51.com/image/top-ser2no.png) no-repeat 20px 20px/60px,#000;
}
.top-ser-box img{
display: inherit;
}
#top-ser .top-ser-box img{
max-width: 100%;
margin: 20px 0 0;
}
}
@media only screen and (max-width: 480px) {
#top-ser-area{
margin: 0 0 30px;
}
}

.top-ser-box h3{
width: 100%;
height: auto;
margin: 0 0 20px;
padding: 0;
text-align: left;
font-size: 45px;
line-height: 120%;
color: #fff;
font-weight: 500;
}
.top-ser-box p{
text-align: justify;
margin: 0 0 20px;
color: #fff;
}
@media only screen and (max-width: 1600px) {
.top-ser-box h3{
font-size: 40px;
}
.top-ser-box p{
font-size: 16px;
}
}
@media only screen and (max-width: 640px) {
.top-ser-box h3{
font-size: 35px;
}
}
@media only screen and (max-width: 480px) {
.top-ser-box h3{
font-size: 30px;
}
}
@media only screen and (max-width: 414px) {
.top-ser-box h3{
font-size: 26px;
}
}

.top-ser-box a:link,.top-ser-box a:visited{
display: block;
width: 40%;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px;
text-decoration: none;
color: #fff;
padding: 15px 70px 15px 30px;
font-size: 20px;
border: 1px solid #fff;
}
.top-ser-box a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px,#d0b47a;
}
@media only screen and (max-width: 1600px) {
.top-ser-box a:link,.top-ser-box a:visited{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px;
padding: 10px 70px 10px 30px;
font-size: 18px;
}
.top-ser-box a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 640px) {
.top-ser-box a:link,.top-ser-box a:visited{
width: 60%;
}
}
@media only screen and (max-width: 480px) {
.top-ser-box a:link,.top-ser-box a:visited{
width: 80%;
}
}

#riyu{
width: 100%;
height: auto;
margin: 0;
padding: 0 5% 100px;
}
#riyu h2{
width: 100%;
height: auto;
margin: 0 0 50px;
padding: 0;
text-align: center;
line-height: 130%;
font-size: 50px;
font-weight: 300;
color: #b89a5d;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 40px/25% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 40px/25% 1px;
}
@media only screen and (max-width: 1440px) {
#riyu h2{
font-size: 45px;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 35px/20% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 35px/20% 1px;
}
}
@media only screen and (max-width: 1280px) {
#riyu h2{
font-size: 40px;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 35px/20% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 35px/20% 1px;
}
}
@media only screen and (max-width: 1080px) {
#riyu{
padding: 0 5% 60px;
}
#riyu h2{
font-size:35px;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 30px/15% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 30px/15% 1px;
}
}
@media only screen and (max-width: 835px) {
#riyu h2{
font-size:30px;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 20px/15% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 20px/15% 1px;
}
}
@media only screen and (max-width: 640px) {
#riyu h2{
font-size:35px;
line-height: 110%;
margin: 0 0 30px;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 40px/20% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 40px/20% 1px;
}
}
@media only screen and (max-width: 480px) {
#riyu h2{
font-size:30px;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 40px/20% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 40px/20% 1px;
}
}
@media only screen and (max-width: 414px) {
#riyu h2{
margin: 0 0 30px;
font-size:30px;
background: url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat left 40px/15% 1px,url(https://www.fifty-one-51.com/image/top-ser-line.png) no-repeat right 40px/15% 1px;
}
}

#riyu-area{
width: 100%;
height: auto;
margin: 0;
padding: 0;
display: flex;
align-items: flex-start;
justify-content:center;
}
.riyu-box{
width: 25%;
margin: 0;
display: flex;
flex-direction: column;
justify-content:center;
align-items: center;
border-right: 1px solid #000;
}
.riyu-box:last-of-type{
border-right: none;
}
.riyu-box img{
max-height: 110px;
max-width: auto;
margin: 0 0 30px;
}
.riyu-box h3{
width: 100%;
height: auto;
margin: 0 0 30px;
padding: 0;
text-align: center;
font-weight: 400;
font-size: 30px;
line-height: 120%;
}
.riyu-box p{
text-align: center;
font-size: 20px;
margin: 0;
}
@media only screen and (max-width: 1440px) {
.riyu-box p{
font-size: 18px;
}
}
@media only screen and (max-width: 1280px) {
.riyu-box{
width: auto;
}
.riyu-box h3{
font-size:25px;
}
}
@media only screen and (max-width: 1080px) {
#riyu-area{
flex-wrap: wrap;
align-items: flex-start;
}
.riyu-box{
width: 46%;
border-right: none;
margin: 0 2% 20px;
padding: 0;
}
.riyu-box img{
margin: 0 0 20px;
}
.riyu-box h3{
margin: 0 0 20px;
}
.riyu-box p{
text-align: left;
}
}
@media only screen and (max-width: 640px) {
.riyu-box img{
max-height: 90px;
}
.riyu-box p{
font-size: 16px;
}
}
@media only screen and (max-width: 480px) {
.riyu-box{
width: 100%;
margin: 0 0 20px;
padding: 0 0 20px;
border-bottom: 1px dashed #111;
}
.riyu-box:last-of-type{
margin: 0;
padding: 0;
border-bottom: none;
}
.riyu-box img{
max-height: 90px;
}
.riyu-box:last-of-type img{
max-height: 70px;
}
}

#top-faq{
width: 100%;
height: auto;
margin: 0;
padding: 60px;
background: #000;
display: flex;
align-items: flex-start;
}
#top-faq-box{
width: 30%; 
padding: 0 4% 0 0;
flex-shrink: 0;
}
@media only screen and (max-width: 1440px) {
#top-faq{
padding: 40px 3%;
}
#top-faq-box{
width: 35%; 
}
}
@media only screen and (max-width: 1280px) {
#top-faq-box{
width: 40%; 
}
}
@media only screen and (max-width: 1080px) {
#top-faq{
flex-wrap: wrap;
}
#top-faq-box{
width: 100%; 
padding: 0;
margin-bottom: 30px;
flex-shrink: 1;
}
}

#top-faq img{
width: 0;
flex-grow: 1;
object-fit: cover;
height: auto;
}
#top-faq h4{
width: 100%;
height: auto;
margin: 0 0 30px;
padding: 0;
text-align: left;
font-size: 40px;
line-height: 120%;
font-weight: 400;
color: #fff;
}
#top-faq h4 span{
font-size: 20px;
}
#top-faq p{
text-align: justify;
color: #fff;
margin: 0 0 30px;
font-size: 16px;
line-height: 150%;
}
@media only screen and (max-width: 1440px) {
#top-faq h4{
margin: 0 0 20px;
font-size: 35px;
}
#top-faq p{
margin: 0 0 20px;
}
}
@media only screen and (max-width: 1080px) {
#top-faq h4{
font-size: 30px;
}
#top-faq h4 span{
font-size:16px;
}
#top-faq img {
width:33.3%;   /* ★修正：0になっていたベースの横幅をauto（または30%など）に戻す */
    flex-grow: 1;  /* 横幅を分配して均等にする設定を維持 */
    height: auto; /* 高さを固定 */
}
}
@media only screen and (max-width: 480px) {
#top-faq h4{
font-size: 25px;
}
}

#top-faq a:link,#top-faq a:visited{
display: block;
width: 60%;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px;
text-decoration: none;
color: #fff;
padding: 15px 70px 15px 30px;
font-size: 20px;
border: 1px solid #fff;
}
#top-faq a:hover{
color: #fff;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px,#d0b47a;
}
@media only screen and (max-width: 1440px) {
#top-faq a:link,#top-faq a:visited{
width: 70%;
font-size: 18px;
padding: 10px 70px 10px 30px;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px;
}
#top-faq a:hover{
color: #fff;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 1080px) {
#top-faq a:link,#top-faq a:visited{
width: 40%;
}
#top-faq a:hover{
color: #fff;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 640px) {
#top-faq a:link,#top-faq a:visited{
width: 50%;
}
#top-faq a:hover{
color: #fff;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 480px) {
#top-faq a:link,#top-faq a:visited{
width: 70%;
}
#top-faq a:hover{
color: #fff;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}

#toi{
width: 100%;
height: auto;
margin: 0;
padding: 0;
display: flex;
}
@media only screen and (max-width: 835px) {
#toi{
flex-direction: column;
}
}

#toi-office{
width: 45%;
padding: 30px 50px;
background: url(https://www.fifty-one-51.com/image/toi-back.webp) no-repeat right top/contain,linear-gradient(180deg,#e4e4e7 60%,#dedee1);
}
#toi h5{
width: 100%;
height: auto;
margin: 0 0 20px;
padding: 0;
text-align: left;
font-size: 40px;
line-height: 120%;
font-weight: 400;
}
#toi h5 span{
font-size: 20px;
}
#toi p{
text-align: justify;
margin: 0 0 20px;
font-size: 16px;
line-height: 150%;
}
#toi-office a:link,#toi-office a:visited{
display: block;
width: 40%;
background: url(https://www.fifty-one-51.com/image/link-arb.png) no-repeat 90% 50%/30px;
text-decoration: none;
color: #000;
padding: 15px 70px 15px 30px;
font-size: 20px;
border: 1px solid #000;
}
#toi-office a:hover{
color: #fff;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px,#d0b47a;
}
@media only screen and (max-width: 1440px) {
#toi-office{
width: 40%;
padding: 30px 2% 30px 40px;
background: url(https://www.fifty-one-51.com/image/toi-back2.webp) no-repeat right top/contain,linear-gradient(180deg,#e4e4e7 60%,#dedee1);
}
#toi h5{
font-size: 30px;
}
#toi h5 span{
font-size: 16px;
}
#toi-office a:link,#toi-office a:visited{
width: 60%;
background: url(https://www.fifty-one-51.com/image/link-arb.png) no-repeat 90% 50%/25px;
padding: 10px 70px 10px 30px;
font-size: 18px;
}
#toi-office a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 1280px) {
#toi-office{
width: 32%;
padding: 30px 2% 30px 30px;
}
#toi h5{
font-size: 25px;
margin: 0 0 10px;
}
#toi-office p{
text-align: left;
}
#toi-office a:link,#toi-office a:visited{
width: 80%;
background: url(https://www.fifty-one-51.com/image/link-arb.png) no-repeat 90% 50%/25px;
padding: 10px 50px 10px 10px;
}
#toi-office a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 1080px) {
#toi-office{
background: url(https://www.fifty-one-51.com/image/toi-back2.webp) no-repeat center top/auto 100%,linear-gradient(180deg,#e4e4e7 60%,#dedee1);
}
}
@media only screen and (max-width: 835px) {
#toi-office{
width: 100%;
padding: 20px 35% 20px 3%;
background: url(https://www.fifty-one-51.com/image/toi-back2.webp) no-repeat right top/contain,linear-gradient(180deg,#e4e4e7 60%,#dedee1);
}
}
@media only screen and (max-width: 640px) {
#toi-office{
padding: 20px 25% 20px 3%;
}
}
@media only screen and (max-width: 480px) {
#toi-office{
padding: 20px 15% 20px 3%;
}
}
@media only screen and (max-width: 414px) {
#toi-office{
padding: 20px 5% 20px 3%;
}
}

#toi-con{
width: 27%;
padding: 30px 2%;
}
#toi-con a:link,#toi-con a:visited{
display: block;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px,#b89a5d;
text-decoration: none;
color: #fff;
padding: 15px 70px 15px 30px;
font-size: 20px;
}
#toi-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px,#d0b47a;
}
@media only screen and (max-width: 1440px) {
#toi-con a:link,#toi-con a:visited{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 70px 10px 30px;
font-size: 18px;
}
#toi-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 1280px) {
#toi-con{
width: 32%;
}
#toi-con a:link,#toi-con a:visited{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 50px 10px 10px;
font-size: 18px;
}
#toi-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 835px) {
#toi-con{
width: 100%;
padding: 20px 3%;
}
#toi-con a:link,#toi-con a:visited{
width: 55%;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 50px 10px 10px;
font-size: 18px;
}
#toi-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 640px) {
#toi-con a:link,#toi-con a:visited{
width: 60%;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 50px 10px 10px;
font-size: 18px;
}
#toi-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 480px) {
#toi-con a:link,#toi-con a:visited{
width: 70%;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 50px 10px 10px;
font-size: 18px;
}
#toi-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 414px) {
#toi-con a:link,#toi-con a:visited{
width: 80%;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 50px 10px 10px;
font-size: 18px;
}
#toi-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}

#toi-tel{
width: 28%;
padding: 30px 30px 30px 2%;
display: flex;
flex-direction: column;
border-left: 1px solid #000;
}
@media only screen and (max-width: 1440px) {
#toi-tel{
width: 33%;
padding: 30px 30px 30px 2%;
}
}
@media only screen and (max-width: 1280px) {
#toi-tel{
width: 36%;
padding: 30px 20px 30px 2%;
}
}
.tel-box{
width: 100%;
display: flex;
justify-content: flex-start; 
align-items: flex-start;
margin: 0 0 20px;
}
.tel-box span{
font-size: 16px;
}
.tel-box img{
max-width: 30px;
margin: 10px 0 0;
margin-right: 15px; 
flex-shrink: 0;
}
.tel-box a:link,.tel-box a:visited{
font-size: 35px;
text-decoration: none;
text-align: left;
color: #111;
line-height: 120%;
}
.tel-box:nth-of-type(2) a:link,.tel-box:nth-of-type(2) a:visited{
font-size: 25px;
}
.tel-box a:hover{
text-decoration: underline;
}
@media only screen and (max-width: 1440px) {
.tel-box{
margin: 0 0 10px;
}
.tel-box a:link,.tel-box a:visited{
font-size: 30px;
}
.tel-box:nth-of-type(2) a:link,.tel-box:nth-of-type(2) a:visited{
font-size: 20px;
}
}
@media only screen and (max-width: 1080px) {
.tel-box img{
max-width:20px;
}
.tel-box a:link,.tel-box a:visited{
font-size: 25px;
}
.tel-box:nth-of-type(2) a:link,.tel-box:nth-of-type(2) a:visited{
font-size: 18px;
}
}
@media only screen and (max-width: 835px) {
#toi-tel{
width: 100%;
padding: 20px 3% 20px 3%;
border-left: none;
border-top: 1px solid #000;
}
}

#line{
background: #06c755;
padding: 10px 10px;
display: flex;
justify-content: flex-start; 
align-items: center;
}
#line img:first-of-type {
margin-right: 15px;
flex-shrink: 0;
}
#line img:last-of-type {
max-height: 80px;
}
@media only screen and (max-width: 1440px) {
#line{
padding: 5px 10px;
}
#line img:first-of-type {
max-height:70px;
}
#line img:last-of-type {
max-height:70px;
}
}
@media only screen and (max-width: 1080px) {
#line img:first-of-type {
max-height:60px;
}
#line img:last-of-type {
max-height:60px;
}
}
@media only screen and (max-width: 835px) {
#line{
width: 55%;
margin: 0 45% 0 0;
}
}
@media only screen and (max-width: 640px) {
#line{
width: 60%;
margin: 0 40% 0 0;
}
}
@media only screen and (max-width: 480px) {
#line{
width: 70%;
margin: 0 30% 0 0;
}
}
@media only screen and (max-width: 414px) {
#line{
width: 80%;
margin: 0 20% 0 0;
}
}

/* フェードイン(基本) */
.js-fadeUp {
  opacity: 0; 
  transform: translateY(50px);
  transition: opacity .8s, transform 1.2s; 
}
.js-fadeUp.is-inview {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s; 
}

#fv-sub{
width: 100%;
height: auto;
margin: 0;
padding: 200px 5% 80px 50px;
background: url(https://www.fifty-one-51.com/image/fv-service.webp) no-repeat right top/contain,#000;
text-align: left;
display: flex;
justify-content: flex-start;
align-items: center;
}
#fv-sub.fv-office{
background: url(https://www.fifty-one-51.com/image/fv-office.webp) no-repeat right top/contain,#000;
}
#fv-sub.fv-faq{
background: url(https://www.fifty-one-51.com/image/fv-faq.webp) no-repeat right top/contain,#000;
}
#fv-sub.fv-mail{
background: url(https://www.fifty-one-51.com/image/fv-mail.webp) no-repeat right top/contain,#000;
}
@media only screen and (max-width: 1080px) {
#fv-sub{
padding: 180px 5% 80px 40px;
background: url(https://www.fifty-one-51.com/image/fv-service.webp) no-repeat right top/contain,#000;
}
}
@media only screen and (max-width: 835px) {
#fv-sub{
padding: 160px 5% 60px 30px;
background: url(https://www.fifty-one-51.com/image/fv-service.webp) no-repeat 80px top/cover,#000;
}
#fv-sub.fv-office{
background: url(https://www.fifty-one-51.com/image/fv-office.webp) no-repeat 80px top/cover,#000;
}
#fv-sub.fv-faq{
background: url(https://www.fifty-one-51.com/image/fv-faq.webp) no-repeat 80px top/cover,#000;
}
#fv-sub.fv-mail{
background: url(https://www.fifty-one-51.com/image/fv-mail.webp) no-repeat 80px top/cover,#000;
}
}
@media only screen and (max-width: 640px) {
#fv-sub{
flex-direction: column;
align-items: flex-start;
padding: 110px 5% 40px 20px;
}
}
@media only screen and (max-width: 480px) {
#fv-sub{
padding: 100px 5% 40px 10px;
}
}

#fv-sub h1{
width: auto;
height: auto;
margin: 0 40px 0 0;
padding: 0;
text-align: left;
font-size: 50px;
line-height: 100%;
color: #fff;
font-weight: 500;
}
#fv-sub a:link,#fv-sub a:visited{
display: block;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px,#b89a5d;
text-decoration: none;
color: #fff;
padding: 15px 70px 15px 30px;
font-size: 20px;
}
#fv-sub a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px,#d0b47a;
}
@media only screen and (max-width: 1280px) {
#fv-sub h1{
margin: 0 30px 0 0;
font-size: 45px;
}
}
@media only screen and (max-width: 1080px) {
#fv-sub h1{
margin: 0 30px 0 0;
font-size: 40px;
}
#fv-sub a:link,#fv-sub a:visited{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 12px 70px 12px 30px;
font-size:18px;
}
#fv-sub a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 835px) {
#fv-sub h1{
margin: 0 30px 0 0;
font-size: 35px;
}
}
@media only screen and (max-width: 640px) {
#fv-sub h1{
margin: 0 25px 15px 0;
font-size: 30px;
}
}
@media only screen and (max-width: 480px) {
#fv-sub h1{
margin: 0 20px 15px 0;
font-size: 25px;
}
}

nav{
width: 100%;
height: auto;
margin: 0 0 80px;
padding: 0;
}
nav ul{
width: 100%;
height: auto;
margin: 0;
padding: 0;
display: flex;
align-items: flex-start;
}
nav li{
list-style: none;
font-size: 16px;
line-height: 120%;
margin: 0 15px 0 0;
padding: 0;
}
@media only screen and (max-width: 835px) {
nav li{
font-size: 14px;
}
}
@media only screen and (max-width: 414px) {
nav ul{
flex-direction: column;
}
nav li{
margin: 0 0 15px;
}
}
nav li a:link,
nav li a:visited{
  display: flex;
  align-items: center;
  border: 1px solid #000;
  padding: 5px 15px;
  background: #fff;
  color: #000;
  text-decoration: none;
}
nav li a img {
  max-width: 10px;
  height: auto;
  margin-right: 8px;
  flex-shrink: 0;
}
nav li a img.nav-hover {
  display: none;
}
nav li a:hover img.nav-normal {
  display: none;
}
nav li a:hover img.nav-hover {
  display: inline-block;
}
nav li a:hover {
  background: #d0b47a;
  color: #fff;
}

.service{
width: 100%;
height: auto;
margin: 0 0 130px;
padding: 0;
}
@media only screen and (max-width: 640px) {
.service{
margin: 0 0 90px;
}
}
@media only screen and (max-width: 414px) {
.service{
margin: 0 0 60px;
}
}

.service h2{
width: 100%;
height: auto;
margin: 0 0 30px;
padding: 0;
text-align: left;
font-size: 50px;
font-weight: 600;
line-height: 150%;
}
.service h2 span{
font-size: 30px;
font-weight: 400;
}
@media only screen and (max-width: 1280px) {
.service h2{
font-size: 45px;
}
.service h2 span{
font-size: 20px;
}
}
@media only screen and (max-width: 1080px) {
.service h2{
margin: 0 0 20px;
font-size: 40px;
}
}
@media only screen and (max-width: 640px) {
.service h2{
font-size: 30px;
}
.service h2 span{
font-size:16px;
}
}
@media only screen and (max-width: 480px) {
.service h2{
line-height: 100%;
}
.service h2 span{
display: block;
}
}

.service-pict,.service-pict2{
width: 100%;
height: auto;
margin: 0 0 50px;
padding: 100px 40px 50px;
background: url(https://www.fifty-one-51.com/image/service-pict-text1.png) no-repeat 40px 40px,url(https://www.fifty-one-51.com/image/service-pict1.webp) no-repeat right top/contain,#000;
}
.service-pict2{
background: url(https://www.fifty-one-51.com/image/service-pict-text2.png) no-repeat 40px 40px,url(https://www.fifty-one-51.com/image/service-pict2.webp) no-repeat right top/contain,#000;
}
.service-pict img,.service-pict2 img{
display: none;
}
.service-pict h3,.service-pict2 h3{
width: 100%;
height: auto;
margin: 30px 0 0px;
padding: 0;
text-align: left;
color: #fff;
font-size: 40px;
line-height: 130%;
font-weight: 500;
}
@media only screen and (max-width: 1440px) {
.service-pict,.service-pict2{
padding: 70px 30px 40px;
background: url(https://www.fifty-one-51.com/image/service-pict-text1.png) no-repeat 40px 40px/auto 30px,url(https://www.fifty-one-51.com/image/service-pict1.webp) no-repeat right top/contain,#000;
}
.service-pict2{
background: url(https://www.fifty-one-51.com/image/service-pict-text2.png) no-repeat 40px 40px/auto 30px,url(https://www.fifty-one-51.com/image/service-pict2.webp) no-repeat right top/contain,#000;
}
.service-pict h3,.service-pict2 h3{
margin: 30px 0 0px;
font-size: 35px;
}
}
@media only screen and (max-width: 1280px) {
.service-pict h3,.service-pict2 h3{
margin: 25px 0 0px;
font-size: 30px;
line-height: 120%;
}
}
@media only screen and (max-width: 1080px) {
.service-pict,.service-pict2{
margin: 0 0 30px;
}
}
@media only screen and (max-width: 835px) {
.service-pict,.service-pict2{
padding: 50px 20px 30px;
background: url(https://www.fifty-one-51.com/image/service-pict-text1.png) no-repeat 20px 30px/auto 20px,url(https://www.fifty-one-51.com/image/service-pict1.webp) no-repeat right top/contain,#000;
}
.service-pict2{
background: url(https://www.fifty-one-51.com/image/service-pict-text2.png) no-repeat 20px 30px/auto 20px,url(https://www.fifty-one-51.com/image/service-pict2.webp) no-repeat right top/contain,#000;
}
.service-pict h3,.service-pict2 h3{
margin: 20px 0 0px;
font-size: 25px;
text-align: justify;
}
}
@media only screen and (max-width: 640px) {
.service-pict img,.service-pict2 img{
display: inherit;
margin: 20px 0 0;
max-width: 100%;
}
.service-pict,.service-pict2{
padding: 10px 20px 20px;
background: none;
background: #000;
}
}
@media only screen and (max-width: 414px) {
.service-pict h3,.service-pict2 h3{
margin: 15px 0 0px;
font-size: 22px;
}
}

#service1 h4{
width: 100%;
height: auto;
margin:0 0 20px;
padding: 0 0 5px 15px;
font-size: 25px;
font-weight: 600;
line-height: 120%;
text-align: left;
border-left: 10px solid #000;
border-bottom: 1px solid #000;
}
blockquote{
width: 90%;
height: auto;
margin: 0 5% 30px;
padding: 30px;
background: #eee;
border-radius: 5px;
}
main blockquote p{
margin: 0;
font-size: 16px;
}
@media only screen and (max-width: 835px) {
#service1 h4{
font-size: 20px;
}
blockquote{
width: 100%;
margin: 0 0% 30px;
padding: 25px;
}
}
@media only screen and (max-width: 480px) {
blockquote{
padding: 20px;
}
}

main .service p.p-title{
font-size: 28px;
}
@media only screen and (max-width: 1440px) {
main .service p.p-title{
font-size: 26px;
text-align: justify;
}
}
@media only screen and (max-width: 835px) {
main .service p.p-title{
font-size: 24px;
}
}
@media only screen and (max-width: 640px) {
main .service p.p-title{
font-size: 22px;
}
}
@media only screen and (max-width: 480px) {
main .service p.p-title{
font-size: 20px;
}
}
@media only screen and (max-width: 414px) {
main .service p.p-title{
font-size: 18px;
}
}

.service-text{
width: 100%;
height: auto;
margin: 0 0 100px;
padding: 0;
}
.service-text img{
float: right;
margin: 0 0 30px 3%;
max-width: 40%;
}
main .service-text p{
text-align: justify;
}
@media only screen and (max-width: 835px) {
.service-text img{
max-width: 50%;
}
}
@media only screen and (max-width: 640px) {
.service-text{
margin: 0 0 60px;
}
.service-text img{
float:none;
margin: 0 0 30px;
max-width:70%;
}
}
@media only screen and (max-width: 480px) {
.service-text img{
max-width:80%;
}
}
@media only screen and (max-width: 414px) {
.service-text img{
max-width:90%;
}
}

.service-toi{
width: 90%;
height: auto;
margin:0 auto 0;
padding: 50px 2% 30px;
border: 1px solid #b89a5d;
}
.service-toi h5{
width: 50%;
height: auto;
margin: -70px auto 50px;
padding: 0;
background: #fff;
text-align: center;
font-size: 30px;
line-height: 100%;
font-weight: 500;
}
@media only screen and (max-width: 1600px) {
.service-toi{
width: 100%;
}
}
@media only screen and (max-width: 1280px) {
.service-toi h5{
width: 60%;
}
}
@media only screen and (max-width: 1080px) {
.service-toi h5{
width: 70%;
margin: -70px auto 30px;
}
}
@media only screen and (max-width: 835px) {
.service-toi h5{
width: 80%;
font-size: 27px;
}
}
@media only screen and (max-width: 640px) {
.service-toi h5{
width: 90%;
margin: -65px auto 20px;
font-size: 24px;
}
}
@media only screen and (max-width: 480px) {
.service-toi h5{
width: 70%;
font-size: 24px;
line-height: 110%;
}
}
@media only screen and (max-width: 414px) {
.service-toi h5{
width: 85%;
}
}

.service-toi-area{
width: 100%;
height: auto;
margin: 0;
padding: 0;
display: flex;
align-items: flex-start;
}
@media only screen and (max-width: 1080px) {
.service-toi-area{
flex-direction: column;
justify-content:center;
gap: 20px;
}
}
@media only screen and (max-width: 640px) {
.service-toi-area{
gap: 10px;
}
}

.service-con{
width: 38.3%;
padding: 0 2% 0 0;
}
@media only screen and (max-width: 1440px) {
.service-con{
width: 33.3%;
}
}
@media only screen and (max-width: 1080px) {
.service-con{
width: 100%;
}
}
.service-con a:link,.service-con a:visited{
display: block;
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px,#b89a5d;
text-decoration: none;
color: #fff;
padding: 15px 70px 15px 30px;
font-size: 20px;
}
.service-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/30px,#d0b47a;
}
@media only screen and (max-width: 1440px) {
.service-con a:link,.service-con a:visited{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 70px 10px 30px;
font-size: 18px;
}
.service-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 1280px) {
.service-con a:link,.service-con a:visited{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 50px 10px 10px;
font-size: 18px;
}
.service-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 1080px) {

}
@media only screen and (max-width: 835px) {
.service-con a:link,.service-con a:visited{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 50px 10px 10px;
font-size: 18px;
}
.service-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 640px) {
.service-con a:link,.service-con a:visited{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 50px 10px 10px;
font-size: 18px;
}
.service-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 480px) {
.service-con a:link,.service-con a:visited{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 50px 10px 10px;
font-size: 18px;
}
.service-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}
@media only screen and (max-width: 414px) {
.service-con a:link,.service-con a:visited{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#b89a5d;
padding: 10px 50px 10px 10px;
font-size: 18px;
}
.service-con a:hover{
background: url(https://www.fifty-one-51.com/image/link-ar.png) no-repeat 90% 50%/25px,#d0b47a;
}
}

.service-toi-area .tel-box{
width: 38.3%;
display: flex;
justify-content: flex-start; 
align-items: flex-start;
}
@media only screen and (max-width: 1280px) {
.service-toi-area .tel-box{
width: 33.3%;
}
}
@media only screen and (max-width: 1080px) {
.service-toi-area .tel-box{
width: 100%;
justify-content:center;
}
}
.service-toi-area .tel-box span{
font-size: 16px;
}
.service-toi-area .tel-box img{
max-width: 30px;
margin: 10px 0 0;
margin-right: 15px; 
flex-shrink: 0;
}
.service-toi-area .tel-box a:link,.service-toi-area .tel-box a:visited{
font-size: 35px;
text-decoration: none;
text-align: left;
color: #111;
line-height: 120%;
}
.service-toi-area .tel-box a:hover{
text-decoration: underline;
}
@media only screen and (max-width: 1440px) {
.service-toi-area .tel-box a:link,.service-toi-area .tel-box a:visited{
font-size: 30px;
}
}
@media only screen and (max-width: 1080px) {
.service-toi-area .tel-box img{
max-width:20px;
}
.service-toi-area .tel-box a:link,.service-toi-area .tel-box a:visited{
font-size: 30px;
}
}
@media only screen and (max-width: 414px) {
.service-toi-area .tel-box span{
font-size: 13px;
}
}

.service-toi-area .line{
width: 23.3%;
background: #06c755;
padding: 10px 10px;
display: flex;
justify-content: flex-start; 
align-items: center;
}
@media only screen and (max-width: 1440px) {
.service-toi-area .line{
width: 28.3%;
}
}
@media only screen and (max-width: 1280px) {
.service-toi-area .line{
width: 33.3%;
}
}
@media only screen and (max-width: 1080px) {
.service-toi-area .line{
width: 100%;
justify-content:center;
}
}
.service-toi-area .line img:first-of-type {
margin-right: 15px;
flex-shrink: 0;
max-height: 50px;
}
.service-toi-area .line img:last-of-type {
max-height: 50px;
}
@media only screen and (max-width: 1440px) {
.service-toi-area .line{
padding: 5px 10px;
}
.service-toi-area .line img:first-of-type {
max-height:70px;
}
.service-toi-area .line img:last-of-type {
max-height:70px;
}
}
@media only screen and (max-width: 1080px) {
.service-toi-area .line img:first-of-type {
max-height:60px;
}
.service-toi-area .line img:last-of-type {
max-height:60px;
}
}

#faq {
width: 100%;
height: auto;
margin: 0 0 100px;
}
#faq h2 {
width: 100%;
height: auto;
margin: 0 0 30px;
padding: 15px 0 15px 1em;
background: url(https://www.fifty-one-51.com/image/faq-back.png) no-repeat left top/auto 100%,#000;
color: #fff;
line-height: 100%;
font-weight: 600;
text-align: left;
font-size: 30px;
}
@media only screen and (max-width: 1080px) {
#faq h2 {
font-size: 25px;
}
}

.faq-set {
width: 100%;
height: auto;
margin: 0 0 50px;
padding: 0 0 50px;
border-bottom: 1px dashed #000;
}
@media only screen and (max-width: 1080px) {
.faq-set {
margin: 0 0 40px;
padding: 0 0 40px;
}
}

#faq h3 {
width: 100%;
height: auto;
margin: 0;
padding: 0;
text-align: left;
font-weight: 800;
font-size: 25px;
line-height: 150%;
}
#faq h3 span:first-child {
background: #b89a5d;
color: #fff;
font-size: 20px;
line-height: 100%;
margin: 4px 15px 0 0;
padding: 5px 10px;
flex-shrink: 0;
}
/* 質問文のテキスト部分 */
#faq h3 .txt {
background: none;
color: #000;
font-size: 25px;
line-height: 150%;
margin: 0;
padding: 0;
/* ─── 強引な100%指定をやめ、Flexboxの正しい縮小設定にする ─── */
flex: 1 1 auto;         /* 残りの幅をすべて使いつつ、柔軟に縮小する */
min-width: 0;           /* テキストのはみ出しをリセットする超重要命令 */
word-break: break-all;  /* 枠線内で確実に折り返す */
}
@media only screen and (max-width: 1080px) {
#faq h3 {
font-size: 25px;
}
#faq h3 .txt {
font-size: 20px;
}
}
@media only screen and (max-width: 835px) {
#faq h3 span:first-child {
font-size: 16px;
margin: 4px 10px 0 0;
}
#faq h3 {
font-size: 20px;
}
#faq h3 .txt {
font-size: 18px;
}
}
@media only screen and (max-width: 480px) {
#faq h3 span:first-child {
font-size: 13px;
}
}
#faq h3 a:link,#faq h3 a:visited {
display: flex;
align-items: flex-start;
justify-content: space-between;
text-decoration: none;
color: #000;
width: 100%;
box-sizing: border-box;
}

/* ─── アイコンの切り替え設定 ─── */
.faq-icon {
position: relative;
width: 30px; /* PC版と同じアイコンの横幅 */
height: 30px; /* PC版と同じアイコンの縦幅 */
margin-left: 20px;
margin-top: 10px; /* テキストの1行目と高さを揃える微調整 */
flex-shrink: 0;
}
.faq-icon img {
position: absolute;
top: 0;         /* 50% から 0 に変更して上揃えに */
left: 50%;
transform: translateX(-50%); /* 左右だけを中央寄せにする */
max-width: 100%;
height: auto;
display: block;
}
/* 初期状態：マイナス（閉じる）を消しておく */
.faq-icon .icon-minus {
display: none;
}
/* 質問が開いた時（.openクラスがついた時）のアイコン制御 */
.faq-set.open .faq-icon .icon-plus {
display: none;
}
.faq-set.open .faq-icon .icon-minus {
display: block;
}

/* ─── 回答エリア（アコーディオンの中身） ─── */
.faq-answer {
display: none; /* 初期状態は閉じる */
margin: 30px 0 0;
}
#faq p {
text-align: left;
font-size: 20px;
line-height: 180%;
margin: 0 15% 0 5%;
}
#faq p span {
background: #000;
color: #fff;
font-size: 20px;
line-height: 100%;
margin: 0 15px 0 0;
padding: 5px 10px;
display: inline-block;
}
@media only screen and (max-width: 1080px) {
#faq p {
font-size: 18px;
margin: 0 10% 0 0;
}
}
@media only screen and (max-width: 835px) {
#faq p {
font-size: 16px;
margin: 0 5% 0 0;
text-align: justify;
}
#faq p span {
font-size: 16px;
margin: 0 5px 0 0;
}
}
@media only screen and (max-width: 640px) {
#faq p {
margin: 0 0% 0 0;
}
}
@media only screen and (max-width: 480px) {
#faq p span {
font-size: 13px;
}
}

#office{
}

#office dl{
width: 100%;
height: auto;
margin: 0 0 60px;
padding: 0;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
}
#office dt{
width: 20%;
text-align: left;
font-size: 20px;
font-weight: 600;
line-height: 150%;
margin: 0 0 25px;
padding: 0;
}
#office dd{
width: 80%;
margin: 0 0 25px;
padding: 0 0 0 2%;
text-align: left;
line-height: 150%;
font-size: 20px;
}
@media only screen and (max-width: 1080px) {
#office dt{
font-size: 19px;
}
#office dd{
font-size: 19px;
}
}
@media only screen and (max-width: 835px) {
#office dt{
font-size: 18px;
}
#office dd{
font-size: 18px;
}
}
@media only screen and (max-width: 640px) {
#office dl{
margin: 0 0 40px;
}
#office dt{
font-weight: 800;
width: 20%;
font-size: 17px;
margin: 0 0 25px;
}
#office dd{
width: 80%;
margin: 0 0 25px;
padding: 0 0 0 2%;
font-size: 17px;
}
}
@media only screen and (max-width: 480px) {
#office dl{
flex-direction: column;
}
#office dt{
width: 100%;
font-size: 16px;
margin: 0 0 5px;
}
#office dd{
width: 100%;
margin: 0 0 15px;
padding: 0 0 15px;
font-size: 16px;
border-bottom: 1px solid #ccc;
}
}

#office iframe{
width: 100%;
height:400px;
margin: 0 0 50px;
padding: 0;
}
@media only screen and (max-width: 835px) {
#office iframe{
height:350px;
}
}
@media only screen and (max-width: 480px) {
#office iframe{
height:300px;
}
}
@media only screen and (max-width: 414px) {
#office iframe{
height:250px;
}
}

#mail{
}

.f-red{
color: #F5090D;
}

#mail dl{
width: 100%;
height: auto;
margin: 0 0 60px;
padding: 0;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
border-top: 1px solid #000;
border-right: 1px solid #000;
border-left: 1px solid #000;
}
#mail dt{
width: 25%;
text-align: left;
font-size: 20px;
font-weight: 400;
line-height: 150%;
margin: 0;
padding: 10px;
border-bottom:1px solid #000;
border-right:1px solid #000;
align-self:stretch;
}
#mail dd{
width:75%;
margin: 0;
padding: 10px 10px 10px 2%;
text-align: left;
line-height: 150%;
font-size: 20px;
border-bottom:1px solid #000;
align-self:stretch;
}
@media only screen and (max-width: 1440px) {
#mail dt{
width:30%;
}
#mail dd{
width:70%;
}
}
@media only screen and (max-width: 1080px) {
#mail dt{
font-size: 19px;
width:35%;
}
#mail dd{
font-size: 19px;
width:65%;
}
}
@media only screen and (max-width: 835px) {
#mail dt{
font-size: 18px;
width:40%;
}
#mail dd{
font-size: 18px;
width:60%;
}
}
@media only screen and (max-width: 640px) {
#mail dl{
margin: 0 0 40px;
flex-direction: column;
}
#mail dt{
font-weight: 600;
width: 100%;
font-size: 17px;
margin: 0;
padding: 10px 10px 0;
border-bottom: none;
border-right: none;
}
#mail dd{
width: 100%;
margin: 0;
padding:10px 10px 15px;
font-size: 17px;
}
}
@media only screen and (max-width: 480px) {
#mail dt{
font-size: 16px;
}
#mail dd{
font-size: 16px;
}
}

form{
clear: both;
width:100%;
height: auto;
margin: 30px auto 0;
padding: 0;
text-align: center;
}

label{
 cursor: pointer;
}
.hissu{
font-size: 12px;
border-radius: 5px;
background: #666;
color:#fff;
padding: 0 5px 1px;
margin: 0 0 0 2%;
}

textarea,input[type="text"] ,input[type="email"]{
width: 100%;
padding: 5px;
}
textarea{
width: 100%;
padding: 5px;
height: 5em;
font-size: 16px;
}

/* ─── 送信ボタンのスタイル ─── */
.submit-box {
text-align: center;
margin: 40px auto 0;
width: 100%;
}
input.wpcf7-submit {
background: #b89a5d;
color: #fff;
font-size: 20px;
font-weight: 600;
padding: 15px 80px;
border: none;
border-radius: 7px;
cursor: pointer;
transition: background 0.3s ease;
width: auto;
-webkit-appearance: none;
}
input.wpcf7-submit:hover {
background: #d0b47a;
}
@media only screen and (max-width: 480px) {
/* 既存のコードの下に追記 */
input.wpcf7-submit {
width: 100%;
padding: 15px 0;
font-size: 18px;
}
}

/*フッタ
--------------------------------------------------------------------------*/
#page-top{
	width:40px;
	height:40px;
	display:none;
	position:fixed;
	right:16px;
	bottom:16px;
	color:#fff;
} 
#page-top p{
	margin:0;
	padding:0;
	text-align:center;
	background:#b89a5d;
	transition:all 0.3s;
	color:#fff;
} 
#page-top p:hover{
	background:#d0b47a;
	color:#fff;
} 
#move-page-top{
	color:#fff;
	line-height:40px;
	text-decoration:none;
	display:block;
	cursor:pointer;
}

footer{
width: 100%;
height: auto;
margin: 0;
padding: 30px 3%;
background: #000;
display: flex;
justify-content:space-between;
align-items: center;
}
footer img{
max-width: 250px;
}
footer ul{
width: 50%;
  height: auto;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
footer li {
  list-style-type: none;
  margin: 0 0 0 50px;
  padding: 0;
  text-align: center;
  font-size: 20px;
  line-height: 200%;
  color: #fff;
  font-weight: 500;
}
footer li span{
font-size: 16px;
line-height: 100%;
font-weight: 300;
border-top:1px solid #fff;
}
footer li a:link,footer li a:visited {
  height: auto;
  text-decoration: none;
  color: #fff;
  line-height: 100%;
}
footer li a:hover {
  text-decoration: underline;
}
@media only screen and (max-width: 1600px) {
footer ul{
width:60%;
}
}
@media only screen and (max-width: 1440px) {
footer img{
max-width: 200px;
}
footer ul{
width:65%;
}
footer li {
  margin: 0 0 0 3%;
  font-size: 18px;
}
footer li span{
font-size: 14px;
}
}
@media only screen and (max-width: 1080px) {
footer img{
max-width: 150px;
}
footer ul{
width:70%;
}
}
@media only screen and (max-width: 835px) {
footer{
padding: 20px 3%;
}
footer ul{
display: none;
}
}

header.entry-header,h1.entry-title{
display: none;
}
form p{
margin: 0;
padding: 0;
}
