@charset "UTF-8"; 
/* リセットCSS
-------------------------------------------------------------- */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	min-width: 0;
	min-height: 0;
}
::before , ::after {
	box-sizing: inherit;
}
button {
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	vertical-align: middle;
	text-align: inherit;
	font: inherit;
	-webkit-appearance: none;
	appearance: none;
}
/* 共通部分
-------------------------------------------------------------- */
header {
}
a{
	color: #fb4b23;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 0;
}

img {
	vertical-align: middle;
	border-style: none;
}

ul {
	list-style: none;
}

*, *:before, *:after {
	box-sizing: border-box;
}
body {
	overflow-x: hidden;
	background:#ffec04;
	background:#fff;
	background-image: url("../image/bgimage.png");
	background-repeat: repeat;
	font-family: 'Kosugi Maru', sans-serif;
	color: #333;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
    letter-spacing: 0.1em;
}

.wrap{
	overflow: hidden;
}
/* 共通部分 ボタン
-------------------------------------------------------------- */
.btn,
a.btn,
button.btn {
	margin: 10 auto;
	font-size: 0.8rem;
	font-weight: 100;
	line-height: 1.5;
	position: relative;
	display: inline-block;
	padding: 0.1rem 0.5rem;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	letter-spacing: 0.1em;
	color: #212529;
	border-radius: 0.5rem;
}

.btn--red,
a.btn--red{
	color: #fff;
	background-color: #ff4444;
}

.btn--red:hover,
a.btn--red:hover {
	color: #ff4444;
	background: #ffee00;
}

a.btn--radius {
	border-radius: 100vh;
}

.btn--marginr{
	text-align: right;
	margin-top: 2rem;
}
.btn--center{
	text-align: center;
	margin: 2rem;
}
.btn--sentence{
	text-align: left;
	margin: 0;
	padding: 0;
}

/* メニュー
-------------------------------------------------------------- */
/* ハンバーガーメニュー MENUがCLOSEに */
/* ボタン外側 */
.openbtn{
	position: fixed;
	background:#50aa00;
	cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 5px;
	right: 0px;
	z-index: 100;
}
.openbtn:hover {
	background: #50aa00;
}
/* ボタン内側 */
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
	background: #fff;
  	width: 45%;
  }


.openbtn span:nth-of-type(1) {
	top:13px;	
}

.openbtn span:nth-of-type(2) {
	top:19px;
}

.openbtn span:nth-of-type(3) {
	top:25px;
}

.openbtn span:nth-of-type(3)::after {
	content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
	position: absolute;
	top:5px;
	left:-2px;
	color: #fff;
	font-size: 0.6rem;
	text-transform: uppercase;
}

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

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(3)::after {
	content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
	top:5px;
	left:4px;
}
/* メニューのスタイリング */
.gnavi{
}
.gnavi li a{
    display: block;
    padding:10px 5px;
    text-decoration: none;
    color: #000;
}

.gnavi li{
    margin-bottom:20px;
}
.gnavi li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}
.gnavi li.current a,
.gnavi li a:hover{
	color:#eb6100;
}
.gnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 1%;
    /*線の形状*/
    width: 100%;
    height: 2px;
    background:#eb6100;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}
/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}
.menu {
	/* メニューを縦に */
	display: flex;
	flex-direction: column;
	position: fixed;
	/* メニューの位置マイナス指定で画面外に */
	top: 0px;
	right: -100%;
	width: 100%;
	height: 100vh;
	background-color: rgba(80, 170, 0, .9);
	background-color: rgba(255, 255, 255, .9);
	color: #000;
	z-index: 99;
	transition: .3s;
}
.menu-list {
	/* メニューテキスト位置をリスト内中心に */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.menu-list a {
	color: #000;
}
/* メニューオープン時位置0にして画面内に */
.menu.active {
	position: fixed;
	right: 0;
}
.logo {
	margin : 0 auto;
}
/* 520px以上はハンバーガーボタン非表示、ヘッダー固定 */
@media screen and (min-width: 959px) {
	.openbtn{
		display: none;
	}
	.btn {
		display: none;
	}
	.menu {
		/* メニューを横に */
		display: flex;
		flex-direction: row;
/*		position: relative;
*/		top: 0;
		right: 0;
		width: 100%;
		height: 5rem;
		border-bottom: 5px solid #000;
		background-color: rgba(255, 255, 255, .9);
		color: #000;
	}
	.menu-list {
		font-size:0.8rem;
	}
	.menu-list a {
		color: #000;
	}
/*	.menu-list:hover {
		background-color: rgba(80, 170, 0, .9);
		color: #fff;
	}
	.menu-list a:hover {
		color: #fff;
	}
*/	.gnavi li a{
	    color: #000;
	}
	.gnavi li.current a,
	.gnavi li a:hover{
		color:#eb6100;
	}
	.gnavi li a::after {
	    /*線の形状*/
	    background:#eb6100;
	}
	.box-helper{
		margin: 0 auto;
		padding: 4vw 4vw;
	}
}
/* メインビジュアルなど
-------------------------------------------------------------- */
.main-visual{
	width:100%
	margin: 0 auto;
	margin-top: 5rem;
}
.main-visual img{
	width:100%
}
.about{
	width: 100%;
	height: 800px;
	margin: 0 auto;
	padding: 5rem 2rem;
	font-size: 2rem;
	text-align: center;
}
.elm_title{
	text-align: center;
	padding: 2rem;
	margin-top: 5rem;
}
.elm_title_midashi{
	width: 250px;
	margin: 0 auto;
	color: #f55;
}
.elm_title h2 {
	position: relative;
	padding: 1rem 1.5rem;
	font-size: 1.5rem;
	font-weight: bold;
}
.elm_title h2::before,
.elm_title h2::after {
	position: absolute;
	top: 1.5rem;
	height: 1.8rem;
	content: '';
}
.elm_title h2::before {
	border-left: solid 3px;
	left: 0;
	transform: rotate(-30deg);
}
.elm_title h2::after {
	border-right: solid 3px;
	right: 0;
	transform: rotate(30deg);
}
.elm_title h3 {
	color: #4a3e42;
	font-size: 1rem;
}
.elm_title p{
	margin-top: 1rem;
	margin-bottom:1rem;
	font-size:1.2rem;
}
.elm_image{
	width:100%;
}
.triangle{
	border-top: 50px solid #2e98e5;
	border-right: 50px solid transparent;
	border-left: 50px solid transparent;
	margin: 0 auto;
	width: 20px;
	margin: 2rem auto;
}
.elm_detail{
	margin-bottom:2rem;
}
.elm_detail h1{
	color: #4a3e42;
/*  padding: 0.5em 0.5em 0.5em 1.8em;*/
	margin-bottom: 0;
}
.elm_detail h2{
	position: relative;
	line-height: 1.4;
	padding: 0.5em 0.5em 0.5em 1.8em;
	margin:2em 0 0.5em 0;
    border: 1px #aaa solid;
    border-radius: 5px;
}
.elm_detail ul{
  padding: 0.5em 0.5em 0.5em 1.8em;
}
.elm_detail h2:before{
	font-family: "Font Awesome 5 Free";
	content: "\f14a";
	font-weight: 900;
	position: absolute;
	left : 0.5em; /*左端からのアイコンまでの距離*/
}
.elm_detail ul{
	list-style: circle;
	margin-left: 3rem;
}
.about-inner{
	width:100%;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.access-flex{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	flex-wrap: wrap;
	min-width: 400px;
}
.access-flex img{
	padding:2rem;
	width:400px;
	height:400px;
}
.access-flex iframe{
	padding:2rem;
}
.access-inner{
	width: 1000px;
	margin: 0 auto;
	padding: 1rem;
}
.privasy-inner{
	width:100%
	margin: 0 auto;
	padding: 5rem;
}
.flow-inner{
	width: 900px;
	margin: 0 auto;
	padding: 1rem;
}
.flow-inner-parts{
	background-color: #ffc600;
	border-radius: 8vh;
	text-align: center;
	margin: 0 auto;
}
.flow-inner-parts h1{
	text-align:center;
}
.flow-inner-parts p{
	text-align:center;
	font-size:1.2rem;
}
.flow-inner-parts img{
	text-align: center;
	margin: 0 auto;
}
.flow-day-inner-parts{
	background-color: #a2f573;
	border-radius: 8vh;
	text-align: center;
	margin: 0 auto;
}
.flow-day-inner-parts h1{
	text-align:center;
}
.flow-day-inner-parts p{
	text-align:center;
	font-size:1.2rem;
}
.flow-day-inner-parts img{
	text-align: center;
	margin: 0 auto;
}
.arrow{
	width:100%;
	margin-top: 1rem;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.elm_note{
}
/* コンテンツ
-------------------------------------------------------------- */
.works{
	width: 60%;
	text-align: center;
	margin: 0 auto;
}
.works-inner{
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
	padding: 2rem;
	text-align: center;
	margin: 0 auto;
	gap: 3rem 1rem; /* 余白 */
}
.works-inner-parts{
	width: 230px;
}
.works-inner-parts h1{
	margin-top: 1rem;
	font-size: 1rem;
	font-weight: bold;
}
.works-inner-parts p{
	font-size: 0.8rem;
	text-align: left;
}
div.works-inner-parts span:before {content:"\0bb";}
/* お問い合わせ
-------------------------------------------------------------- */
.contact-title {
	width: 100%;
	margin: auto;
	height: 60%;
}

.contact-title ol{
	width: 100%;
	text-align: left;
	padding-left: 10rem;
}

.contact-inner{
	width: 60%;
	height: auto;
	margin: 0 auto;
	padding: 5rem 0;
	background-color: #fff;
	display: flex;
	flex-direction: column;
}

.contact-inner p{
	color: #000;
	font-size: 1rem;
	font-weight: bold;
	width:100%;
	padding-left: 25px;
}

.contact-inner h1{
	color: #000;
	font-size: 1.5rem;
	font-weight: bold;
	width:100%;
	padding: 0;
/*	border-top: 1px solid #333;
*/}

.contact-tel{
	float: left;
}
.font-red {
	color: #f00;
}

.contact-flex{
	display: flex;
	flex-direction: row;
	padding: 0;
	margin: 0 auto;
	width: 50rem;
	font-size: 1.5rem;
}
.contact-item-l{
    flex-basis: 8rem;
	text-align: right;
}
.contact-item-r{
    flex-basis: 30rem;
	text-align: left;
}

.font-red {
	color: #f00;
}
/* フォーム */
form div {
    margin-bottom: 14px;
}
label {
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: block;
}
input[type="text"],
input[type="email"],
textarea {
    background: rgba(255,255,255,10);
    border: 1px #aaa solid;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 240px;
}
textarea {
    width: 100%;
    max-width: 480px;
    height: 10rem;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
    line-height: 1;
}

.button {
	font-size: 1.375rem;
	color: #fff;
	border-radius: 10px;
	padding: 18px 32px;
	background: #aaa;
}
.button:hover {
	background: #eb6100;
}
/* フッター
-------------------------------------------------------------- */
.footer-inner{
	width: 100%;
	height: 300px;
	padding: 45px;
	color: #fff;
	background-color: #50aa00;
	background-image: url("../image/footer_image.png");
	background-size: cover;
/*	background-position: center top;*/
background-position: bottom;
      background-image   : url("../image/footer_image2.png");
      background-repeat  : no-repeat;
}
.footer-flex{
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding: 0;
}
.footer-flex-right{
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	padding: 0;
	border-top: 1px solid #afa;
}
.footer-menu{
	font-size: 0.8rem;
	width: 20%;
	line-height: 2rem;
}
.footer-menu-right{
	font-size: 0.8rem;
	width: auto;
	padding-left: 2rem;
	line-height: 2rem;
}
.footer-menu-bottom{
	font-size: 0.8rem;
	width: 25%;
	line-height: 2rem;
	text-align: center;
}
.footer-menu span{
	font-size: 0.7rem;
}
div.footer-menu p:before {content:"\0bb";}
div.footer-menu span:before {content:"\a0";}

.footer-inner a{
	color: #fff;
}
/* サンクスページ
-------------------------------------------------------------- */
.box{
	margin : 0 auto;
	width: 70%;/* ボックスの横幅を指定 */
	height: 800px;
	left: 320px;
	width: calc(100% - 320px);
	margin: 0;
	padding: 0;
	position: relative;
	padding: 5rem;
	background: #fff;
	color: #000;
	text-align: left; /* テキストを中央寄せに指定 */
}
.box small{
	line-height:1.5rem;
	text-align: left;
}
.box h2 {
	font-size: 3rem;
	font-weight: normal;
	color: #000;
	width: 100%;
}
p.msg {
	color: #dd0000;
	margin: 0;
	font-size: 1rem;
	font-weight: bold;
	position:absolute;
	width:90%;
	padding-left: 25px;
	padding-top: 25px;
}
span.msg {
	color: #dd0000;
}
/* 改装ロゴ
-------------------------------------------------------------- */
.logo_body{
	height: 400px;
	width:100%;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}
/* 波線テスト
-------------------------------------------------------------- */
.namibg{
	background-image: url("../image/wave.svg");
	width: 100%;
}
/* タブレット表示
-------------------------------------------------------------- */
@media screen and (max-width: 960px) {
.main-visual{
	margin-top: 0;
	}
body {
	background-image: url("../image/bgimage_tablet.png");
}
.about{
	text-align: left;
	}
.contact-title ol{
	padding-left: 1rem;
	}
.box{
	top: 0;
	left: 0;
	width: 90%;/* ボックスの横幅を指定 */
	padding: 2rem 0 0 2rem;
	height: 110vw;
	}
.works{
	width: 100%;
	}
.works-inner{
	justify-content: center;
	}
.flow-inner{
	width: 100%;
	margin: 0 auto;
	padding: 1rem;
	}
.flow-inner-parts{
	border-radius: 1vh;
	}
.flow-inner-parts img{
	width: 80%;
}
.flow-day-inner-parts{
	border-radius: 1vh;
	}
.flow-day-inner-parts img{
	width: 80%;
	}
.access-inner{
	width: 500px;
	padding:0;
	margin: 0 auto;
	justify-content: center;
	}
}
/* スライドイン
-------------------------------------------------------------- */
.slide-in-element {
  opacity: 0; /* 初期状態は非表示 */
  transform: translateY(+10%); /* 初期状態で左に移動 */
  transition: all 0.5s ease-in-out; /* スライドインのアニメーション */
}

.slide-in-element.active {
  opacity: 1; /* 表示状態 */
  transform: translateY(0); /* 元の位置に戻る */
}
/* スマホ表示
-------------------------------------------------------------- */
@media screen and (max-width: 520px) {
.main-visual{
	margin-top: 0;
	}
body {
	background-image: url("../image/bgimage_sumaho.png");
}
.logo_body{
	height: 200px;
}
.elm_title{
	margin-top: 2rem;
}
.about{
	height: 500px;
	padding: 4rem 1rem;
	font-size: 1rem;
	text-align: left;
	}
.works-inner{
	padding: 0;
	gap: 3rem 1rem; /* 余白 */
	margin-top: 1rem;
	justify-content: center;
}
.flow-inner{
	width: 100%;
	margin: 0 auto;
	padding: 1rem;
	}
.flow-inner-parts{
	border-radius: 1vh;
}
.flow-day-inner-parts{
	border-radius: 1vh;
}
.access-inner{
	width: 100%;
	padding:0;
	margin:0;
	justify-content: center;
}
.access-inner p{
	margin-left:1rem;
}
.access-inner h3{
	margin-left:1rem;
}
.access-flex img{
	width: 100%;
}
.privasy-inner{
	margin-top: 0;
	padding: 2rem;
}
.contact-inner{
	width: 100%;
}
.contact-title ol{
	padding-left: 3rem;
}
.footer-inner{
	height: auto;
	padding: 45px;
	}
.footer-flex{
	flex-direction: column;
	justify-content: center;
	padding: 0;
	}
.footer-menu{
	width: 100%;
	}
.footer-flex-right{
	flex-direction: column;
	justify-content: flex-start;
	padding: 0 auto;
	}
.footer-menu-right{
	padding-left: 0rem;
	}
.footer-menu-bottom{
	width: 100%;
	}
.box{
	top: 0;
	left: 0;
	width: 90%;/* ボックスの横幅を指定 */
	padding: 2rem 0 0 2rem;
	height: 800px;
	}
}